[go: up one dir, main page]

CN108932261B - Method and device for updating business data processing information table of knowledge base - Google Patents

Method and device for updating business data processing information table of knowledge base Download PDF

Info

Publication number
CN108932261B
CN108932261B CN201710382090.9A CN201710382090A CN108932261B CN 108932261 B CN108932261 B CN 108932261B CN 201710382090 A CN201710382090 A CN 201710382090A CN 108932261 B CN108932261 B CN 108932261B
Authority
CN
China
Prior art keywords
processing rule
time sensitivity
sensitivity factor
processing
service data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710382090.9A
Other languages
Chinese (zh)
Other versions
CN108932261A (en
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to CN201710382090.9A priority Critical patent/CN108932261B/en
Publication of CN108932261A publication Critical patent/CN108932261A/en
Application granted granted Critical
Publication of CN108932261B publication Critical patent/CN108932261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation
    • G06N5/022Knowledge engineering; Knowledge acquisition
    • G06N5/025Extracting rules from data
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

According to the present invention, there is provided a method for updating a business data processing information table of a knowledge base of an intelligent factory, comprising: acquiring correction quantity of time sensitivity factor corresponding to processing rule of service data in service data processing information table; reading a historical time sensitivity factor of the processing rule; updating the time sensitivity factor of the processing rule using the correction amount of the acquired time sensitivity factor and the read historical time sensitivity factor; reading the credibility of the processing rule from the knowledge base; calculating a ranking parameter of the processing rule based on the updated time sensitivity factor and the read confidence level; and updating the processing rule and the ordering of the service data corresponding to the processing rule in the service data processing information table according to the calculated ordering parameter.

Description

对知识库的业务数据处理信息表进行更新的方法和装置Method and device for updating business data processing information table of knowledge base

技术领域technical field

本发明涉及一种对智能工厂的知识库的业务数据处理信息表进行更新的方法和装置,能够利用业务数据的处理规则的可信度和时间敏感度因子对该处理规则和与该处理规则对应的业务数据进行排序的更新,从而对智能工厂的知识库的业务数据处理信息表进行更新。The invention relates to a method and device for updating a business data processing information table of a knowledge base of an intelligent factory, which can use the credibility and time sensitivity factors of the business data processing rules to correspond to the processing rules Sort and update the business data of the smart factory, thereby updating the business data processing information table of the knowledge base of the smart factory.

背景技术Background technique

知识库(Knowledge Base),又称为智能数据库或人工智能数据库。知识库是知识工程中结构化、易操作、易利用、全面有组织的知识集群,是针对某一(或某些)领域问题求解的需要,采用某种(或若干)知识表示方式在计算机存储器中存储、组织、管理和使用的互相联系的知识片集合。这些知识片包括与领域相关的理论知识、事实数据,由专家经验得到的启发式知识,如某领域内有关的定义、定理和运算法则以及常识性知识等。Knowledge Base, also known as intelligent database or artificial intelligence database. The knowledge base is a structured, easy-to-operate, easy-to-use, comprehensively organized knowledge cluster in knowledge engineering. It is aimed at the needs of solving problems in a certain (or some) fields, and uses a certain (or several) knowledge representation methods in the computer memory. A collection of interconnected pieces of knowledge stored, organized, managed, and used in . These pieces of knowledge include domain-related theoretical knowledge, factual data, and heuristic knowledge obtained from expert experience, such as definitions, theorems, algorithms, and common sense knowledge related to a certain domain.

如图1所示,在智能工厂中,连接到智能网关的设备不仅有经由工业网关而与其相连的传统的PLC(可编程逻辑控制器)、传感器等设备,而且还有一些与其直接连接的新型传感器、摄像头等设备。新型设备带来了业务数据的丰富多样,如视频、音频和语音数据,温度、湿度、转速等等。另外,随着定制化生产的发展,业务问题与业务规则也势必越来越复杂。为适应这样的形势,可以将知识库应用于工厂(私有云)内及工厂外的公有云内以增加灵活性。As shown in Figure 1, in the smart factory, the devices connected to the smart gateway include not only the traditional PLC (programmable logic controller) and sensors connected to it via the industrial gateway, but also some new types of devices directly connected to it. Sensors, cameras, etc. New devices bring a variety of business data, such as video, audio and voice data, temperature, humidity, rotational speed, and so on. In addition, with the development of customized production, business problems and business rules are bound to become more and more complex. In order to adapt to this situation, the knowledge base can be applied in the factory (private cloud) and in the public cloud outside the factory to increase flexibility.

中国专利公开CN103177092A提出了一种对知识库数据进行更新的方案。如图4所示,根据该方案,在步骤S110,获取用户对数据信息的反馈信息;在步骤S120,读取数据信息对应的可信度、反馈次数及反馈信息;在步骤S130,根据所述数据信息对应的可信度、反馈次数及所述反馈信息来更新所述可信度。通过该方案,可有效提高数据访问的准确率。知识库更新可信度的方法为B=(b*k*cl+c*c2)/(k*c1+c2)(其中b和k分别为读取到的所述数据信息对应的可信度及反馈次数,c为用户对所述数据信息的反馈信息,c1,c2为权值,B为更新后的可信度)。另外,可以根据可信度的大小,对所述数据信息进行重新排序。当访问知识库中的数据信息时,可按照可信度由大到小的顺序依次查询数据信息。当首次查找到匹配的数据信息后,该数据信息便为所有匹配的数据信息中可信度最大的数据信息。Chinese patent publication CN103177092A proposes a scheme for updating knowledge base data. As shown in Figure 4, according to this solution, in step S110, the feedback information of the user on the data information is obtained; in step S120, the credibility, feedback times and feedback information corresponding to the data information are read; The credibility level corresponding to the data information, the number of feedbacks and the feedback information are used to update the credibility level. Through this solution, the accuracy of data access can be effectively improved. The method for updating the credibility of the knowledge base is B=(b*k*cl+c*c2)/(k*c1+c2) (where b and k are respectively the corresponding credibility of the read data information and feedback times, c is the user's feedback information on the data information, c1 and c2 are weights, and B is the updated credibility). In addition, the data information may be reordered according to the degree of credibility. When accessing the data information in the knowledge base, the data information can be queried in descending order of reliability. When the matching data information is found for the first time, the data information is the most reliable data information among all the matching data information.

在上述的现有技术的方案中,仅按照可信度的大小对知识库中的数据信息进行排序。但是,在智能工厂生产中通常存在这样的情况:虽然可信度不高,但如果出现必须得到及时处理。例如一些时间紧迫型的任务,如警报的处理需要尽可能快速地响应,警报信息可能根据紧迫程度进行分类,如一级警报、二级警报、三级警报等,每级警报对应的响应时间不同。因此,仅按照可信度的大小的已有排序方式可能存在时间响应不及时的风险。In the above solutions of the prior art, the data information in the knowledge base is only sorted according to the degree of reliability. However, there is usually such a situation in the production of smart factories: although the reliability is not high, it must be dealt with in time if it occurs. For example, some time-critical tasks, such as alarm processing, need to respond as quickly as possible. Alarm information may be classified according to urgency, such as first-level alarm, second-level alarm, third-level alarm, etc. The corresponding response time of each level of alarm is different. Therefore, there may be a risk that the time response will not be timely in the existing sorting method only according to the degree of credibility.

发明内容Contents of the invention

为了克服现有技术的上述缺陷提出了本发明。因此,本发明的目的之一是提出一种对智能工厂的知识库的业务数据处理信息表进行更新的方法和装置,能够利用业务数据的处理规则的可信度和时间敏感度因子对该处理规则和与该处理规则对应的业务数据进行排序的更新,从而对智能工厂的知识库的业务数据处理信息表进行更新。The present invention has been proposed in order to overcome the above-mentioned drawbacks of the prior art. Therefore, one of the purposes of the present invention is to propose a method and device for updating the business data processing information table of the knowledge base of the smart factory, which can utilize the credibility and time sensitivity factors of the business data processing rules to process The rule and the business data corresponding to the processing rule are sorted and updated, so as to update the business data processing information table of the knowledge base of the smart factory.

根据本发明,提出了一种对智能工厂的知识库的业务数据处理信息表进行更新的方法,包括:获取与业务数据处理信息表中的业务数据的处理规则对应的时间敏感度因子的修正量;读取该处理规则的历史时间敏感度因子;利用所获取的时间敏感度因子的修正量与所读取的历史时间敏感度因子,更新该处理规则的时间敏感度因子;从所述知识库读取该处理规则的可信度;基于更新后的时间敏感度因子与所读取的可信度,来计算该处理规则的排序参数;以及根据所计算出的排序参数,对所述业务数据处理信息表中的该处理规则和与该处理规则对应的业务数据的排序进行更新。According to the present invention, a method for updating the business data processing information table of the knowledge base of the smart factory is proposed, including: obtaining the correction amount of the time sensitivity factor corresponding to the processing rule of the business data in the business data processing information table ; Read the historical time sensitivity factor of the processing rule; update the time sensitivity factor of the processing rule by using the obtained correction amount of the time sensitivity factor and the read historical time sensitivity factor; from the knowledge base Read the credibility of the processing rule; calculate the sorting parameter of the processing rule based on the updated time sensitivity factor and the read credibility; and according to the calculated sorting parameter, sort the business data The processing rule in the processing information table and the sorting of the business data corresponding to the processing rule are updated.

优选地,所述业务数据处理信息表包括:业务数据、业务数据的处理规则、处理规则的可信度、以及处理规则的时间敏感度因子。Preferably, the business data processing information table includes: business data, business data processing rules, credibility of the processing rules, and time sensitivity factors of the processing rules.

优选地,所述时间敏感度因子越小,所述业务数据的处理规则和与该处理规则对应的业务数据的排序越靠前;所述时间敏感度因子越大,所述业务数据的处理规则和与该处理规则对应的业务数据的排序越靠后。Preferably, the smaller the time sensitivity factor, the higher the ranking of the business data processing rule and the business data corresponding to the processing rule; the larger the time sensitivity factor, the higher the ranking of the business data processing rule. The lower the ranking of the business data corresponding to the processing rule.

优选地,所述处理规则的排序参数与智能工厂所处的行业的行业系数有关。Preferably, the sorting parameters of the processing rules are related to the industry coefficient of the industry in which the smart factory is located.

优选地,所述业务数据是通过查询业务数据处理信息表而得到的针对该业务数据的排序靠前的处理规则来处理的。Preferably, the business data is processed by the top-ranked processing rules for the business data obtained by querying the business data processing information table.

优选地,所述时间敏感度因子的修正量是从包括传感器和摄像头的设备获得的。Preferably, the correction amount of the time sensitivity factor is obtained from a device including a sensor and a camera.

另外,根据本发明,还提出了一种对智能工厂的知识库的业务数据处理信息表进行更新的装置,包括:获取与业务数据处理信息表中的业务数据的处理规则对应的时间敏感度因子的修正量的单元;读取该处理规则的历史时间敏感度因子的单元;利用所获取的时间敏感度因子的修正量与所读取的历史时间敏感度因子,更新该处理规则的时间敏感度因子的单元;从所述知识库读取该处理规则的可信度的单元;基于更新后的时间敏感度因子与所读取的可信度,来计算该处理规则的排序参数的单元;以及根据所计算出的排序参数,对所述业务数据处理信息表中的该处理规则和与该处理规则对应的业务数据的排序进行更新的单元。In addition, according to the present invention, a device for updating the business data processing information table of the knowledge base of the smart factory is also proposed, including: acquiring the time sensitivity factor corresponding to the processing rule of the business data in the business data processing information table The unit of the correction amount; read the unit of the historical time sensitivity factor of the processing rule; use the obtained correction amount of the time sensitivity factor and the read historical time sensitivity factor to update the time sensitivity of the processing rule a unit of factor; a unit of reading the confidence level of the processing rule from the knowledge base; a unit of calculating the ranking parameter of the processing rule based on the updated time sensitivity factor and the read confidence level; and A unit for updating the sorting of the processing rule and the business data corresponding to the processing rule in the business data processing information table according to the calculated sorting parameter.

发明效果Invention effect

根据本发明,能够利用业务数据的处理规则的可信度和时间敏感度因子对该处理规则和与该处理规则对应的业务数据进行排序的更新,从而对智能工厂的知识库的业务数据处理信息表进行更新。由此,在对业务处理进行处理时,能够以这样排序后的靠前的处理规则对业务数据进行处理,因此能够考虑到时间紧迫性等对业务数据进行处理。According to the present invention, the credibility and time sensitivity factor of the processing rules of business data can be used to sort and update the processing rules and the business data corresponding to the processing rules, so as to process information of the business data in the knowledge base of the smart factory The table is updated. Thus, when processing business processing, the business data can be processed with such sorted first processing rules, so the business data can be processed in consideration of time urgency and the like.

附图说明Description of drawings

通过参考附图的详细描述,本发明的上述目的和优点将变得更清楚,其中:The above objects and advantages of the present invention will become clearer by referring to the detailed description of the accompanying drawings, in which:

图1是用于说明智能工厂内的装置配置和知识库配置的示意图。FIG. 1 is a schematic diagram for explaining device configuration and knowledge base configuration in a smart factory.

图2是示出了根据本发明的由服务器对知识库中的业务数据进行处理的方法的流程图。Fig. 2 is a flowchart showing a method for processing business data in a knowledge base by a server according to the present invention.

图3是示出了根据本发明的对知识库中的业务数据处理信息表进行更新的方法的流程图。Fig. 3 is a flowchart showing a method for updating a business data processing information table in a knowledge base according to the present invention.

图4是示出了现有技术的对数据信息的可信度进行更新的方法的流程图。Fig. 4 is a flowchart showing a method for updating the credibility of data information in the prior art.

具体实施方式Detailed ways

下面将参考附图描述本发明的优选实施例。在附图中,相同的元件将由相同的参考符号或数字表示。此外,在本发明的下列描述中,将省略对已知功能和配置的具体描述,以避免使本发明的主题不清楚。Preferred embodiments of the present invention will be described below with reference to the accompanying drawings. In the drawings, the same elements will be denoted by the same reference symbols or numerals. Also, in the following description of the present invention, detailed descriptions of known functions and configurations will be omitted to avoid making the subject matter of the present invention unclear.

根据本发明,可以在智能工厂的知识库中的业务数据处理信息表中,针对业务数据及其处理规则,增加响应时间的字段,单位可以诸如为毫秒。可以将此响应时间规定为时间敏感度因子T。某条数据信息对时间越敏感,则T越小且T>0。T的数值可以表明此条数据信息在时间上紧迫的级别。According to the present invention, in the business data processing information table in the knowledge base of the smart factory, a response time field may be added for business data and its processing rules, and the unit may be, for example, milliseconds. This response time can be specified as the time sensitivity factor T. The more sensitive a piece of data information is to time, the smaller T is and T>0. The value of T can indicate the level of time urgency of this piece of data information.

下表1示出了智能工厂的知识库中的业务数据处理信息表的一个示例,其中添加了时间敏感度因子T。Table 1 below shows an example of a business data processing information table in the knowledge base of a smart factory, where a time sensitivity factor T is added.

表1Table 1

如表1所示,针对业务数据及其处理规则(根据业务数据的特点规定的处理方法)设置有可信度B和时间敏感度因子T。As shown in Table 1, a reliability B and a time sensitivity factor T are set for business data and its processing rules (processing methods specified according to the characteristics of business data).

关于时间敏感度因子T的值,可以事先为不同的业务数据的处理规则设定各自的初始值,然后,可以根据从传感器和摄像头等设备接收到的T值的修正值来对其进行更新。Regarding the value of the time sensitivity factor T, respective initial values can be set in advance for different business data processing rules, and then can be updated according to the correction value of the T value received from devices such as sensors and cameras.

T值的更新值Tnew可以按照以下公式1来计算。The update value T new of the T value can be calculated according to the following formula 1.

Tnew=T。ld+x 公式1T new = T . ld +x formula 1

这里,Told为当前读取到的所述数据信息的时间敏感度因子,x为从传感器和摄像头等设备接收到的业务数据的处理规则的时间敏感度因子的修正量。Here, T old is the time sensitivity factor of the currently read data information, and x is the correction amount of the time sensitivity factor of the business data processing rules received from devices such as sensors and cameras.

针对业务数据的排序参数F可以根据诸如以下公式2来计算The sorting parameter F for business data can be calculated according to formula 2 such as the following

F=B+C/T 公式2F=B+C/T Formula 2

这里,C为智能工厂所处的行业的行业系数,这里,行业系数可根据制造行业对时间紧迫型任务占全部任务的百分比而定,C>0且为常数;B为可信度;T为前面所提到的时间敏感度因子。Here, C is the industry coefficient of the industry in which the smart factory is located. Here, the industry coefficient can be determined according to the percentage of time-critical tasks in the manufacturing industry to all tasks. C>0 and is a constant; B is credibility; T is The aforementioned time sensitivity factor.

根据本发明,增加时间敏感度因子T作为排序依据。这里,排序参数F越大则业务数据及其处理规则的排序越靠前。根据公式2可知,在可信度B确定的情况下,时间敏感度因子T越大,即对时间越不敏感(较为不紧急),则排序参数F越小,即,业务数据及其处理规则的排序越靠后,相反,时间敏感度因子T越小,即对时间越敏感(较为紧急),则排序参数F越大,即,业务数据及其处理规则排序越靠前。According to the present invention, the time sensitivity factor T is added as the sorting basis. Here, the larger the sorting parameter F is, the higher the sorting of the business data and its processing rules is. According to formula 2, when the reliability B is determined, the larger the time sensitivity factor T is, that is, the less sensitive to time (less urgent), the smaller the sorting parameter F is, that is, the business data and its processing rules On the contrary, the smaller the time sensitivity factor T is, that is, the more sensitive to time (more urgent), the larger the sorting parameter F is, that is, the higher the sorting of business data and its processing rules.

图2是示出了根据本发明的由服务器对知识库中的业务数据进行处理的方法的流程图。Fig. 2 is a flowchart showing a method for processing business data in a knowledge base by a server according to the present invention.

如图2所示,在步骤201,服务器接收由设备(例如传感器、摄像头)上传的业务数据(Di)。As shown in FIG. 2, in step 201, the server receives service data (Di) uploaded by a device (such as a sensor, a camera).

在步骤203,服务器根据知识库中的业务数据处理信息表确定针对上传的该业务数据的处理规则(Ri)。处理规则的含义是:如果业务数据满足某个条件则进行某项处理。处理规则是某个业务数据的规则。这里,需要指出的是,对于具有不同的处理规则的相同的业务数据,根据本发明所确定的处理规则为业务数据处理信息表中的针对该业务数据的排序靠前的处理规则。稍后,将结合实施例对其进行具体描述。In step 203, the server determines the processing rule (Ri) for the uploaded business data according to the business data processing information table in the knowledge base. The meaning of a processing rule is: if the business data meets a certain condition, a certain processing is performed. A processing rule is a rule for a certain business data. Here, it should be pointed out that, for the same business data with different processing rules, the processing rule determined according to the present invention is the processing rule with the highest ranking for the business data in the business data processing information table. Later, it will be specifically described with reference to examples.

最后,在步骤205,服务器根据所确定的业务规则来处理上传的该业务数据(Di)。Finally, in step 205, the server processes the uploaded business data (Di) according to the determined business rules.

图3是示出了根据本发明的对知识库中的业务数据处理信息表进行更新的方法的流程图。Fig. 3 is a flowchart showing a method for updating a business data processing information table in a knowledge base according to the present invention.

在步骤301,服务器从设备(例如传感器、摄像头)获取业务数据的处理规则对应的时间敏感度因子的修正量(x)。In step 301, the server obtains the correction amount (x) of the time sensitivity factor corresponding to the processing rule of the service data from the device (eg, sensor, camera).

在步骤303,服务器读取该处理规则的历史时间敏感度因子(Told)In step 303, the server reads the historical time sensitivity factor (T old ) of the processing rule

在步骤305,服务器利用在步骤301所获取的修正量与在步骤303所读取的历史时间敏感度因子,按照诸如前面的公式1,可以更新业务数据处理信息表中的该处理规则的时间敏感度因子(更新为Tnew)。In step 305, the server can update the time sensitivity of the processing rule in the business data processing information table by using the correction amount obtained in step 301 and the historical time sensitivity factor read in step 303, such as the previous formula 1 degree factor (updated to T new ).

在步骤307,服务器从知识库的业务数据处理信息表中,读取该处理规则的可信度(Bi)。In step 307, the server reads the credibility (Bi) of the processing rule from the business data processing information table in the knowledge base.

在步骤309,基于在步骤305中更新后的时间敏感度因子与在步骤307所读取的可信度,按照前述的公式2来计算针对该处理规则的排序参数F。In step 309 , based on the time sensitivity factor updated in step 305 and the reliability read in step 307 , the sorting parameter F for the processing rule is calculated according to the aforementioned formula 2.

在步骤311,基于步骤309中所计算出的排序参数F,按照排序参数F由大到小的顺序对业务数据处理信息表的该处理规则和与其对应的业务数据的排序进行更新。In step 311 , based on the sorting parameter F calculated in step 309 , the processing rule of the business data processing information table and the sorting of the corresponding business data are updated in descending order of the sorting parameter F.

根据上述实施例,能够根据处理规则的时间紧迫性并结合其可信度对业务数据及其处理规则的排序进行更新,便于针对业务数据,从业务数据处理信息表查询到排序靠前的考虑到时间紧迫性的处理规则,并利用该处理规则来对业务数据进行处理。According to the above-mentioned embodiment, the ranking of business data and its processing rules can be updated according to the time urgency of the processing rules combined with its credibility, which is convenient for business data, from the business data processing information table to the consideration of the top ranking Time-critical processing rules, and use the processing rules to process business data.

下面,将举例对业务数据处理信息表的业务数据及其处理规则的排序进行更新的第一实施例和第二实施例进行说明。Next, the first embodiment and the second embodiment of updating the sorting of the business data and the processing rules thereof in the business data processing information table will be described as examples.

第一实施例first embodiment

假设在智能工厂进行零部件生产时,摄像头实时监控某段传送带上零部件的移动状态。Assume that during the production of parts in a smart factory, the camera monitors the movement status of parts on a certain section of the conveyor belt in real time.

针对该场景,智能工厂的知识库中的初始的业务数据处理信息表如下表2所示。For this scenario, the initial business data processing information table in the knowledge base of the smart factory is shown in Table 2 below.

表2Table 2

如表2所示,业务数据包括以下的事实1、事实2和事实3等。As shown in Table 2, the business data includes the following fact 1, fact 2 and fact 3, etc.

事实1:100帧图像中,运动轨迹是一条近似直线,偏移值小于等于0.5cm。Fact 1: In 100 frames of images, the motion trajectory is an approximate straight line, and the offset value is less than or equal to 0.5cm.

事实2:100帧图像中,运动轨迹是一条近似直线,偏移值大于0.5cm且小于1cm。Fact 2: In 100 frames of images, the motion trajectory is an approximate straight line, and the offset value is greater than 0.5cm and less than 1cm.

事实3:100帧图像中,运动轨迹是一条曲线。Fact 3: In 100 frames of images, the motion track is a curve.

针对业务数据的处理规则包括以下的处理规则1、处理规则2和处理规则3等。The processing rules for business data include the following processing rule 1, processing rule 2, and processing rule 3, etc.

处理规则1:如果轨迹是一条曲线,则发出二级警报。Processing rule 1: If the trajectory is a curve, issue a secondary alarm.

处理规则2:如果轨迹是一条近似直线且偏移值大于0.5cm且小于1cm,则发出一级警报。Processing rule 2: If the trajectory is an approximate straight line and the deviation value is greater than 0.5cm and less than 1cm, a first-level alarm will be issued.

处理规则3:如果轨迹是一条近似直线且偏移值小于等于0.5cm,则发出正常通知。Processing rule 3: If the trajectory is an approximate straight line and the offset value is less than or equal to 0.5cm, a normal notification will be issued.

二级警报比一级警报需要更快速的响应。Level 2 alerts require a faster response than Level 1 alerts.

针对处理规则1的可信度和时间敏感度因子分别为:0.9、10The reliability and time sensitivity factors for processing rule 1 are: 0.9, 10, respectively

针对处理规则2的可信度和时间敏感度因子分别为:0.89、40。The reliability and time sensitivity factors for processing rule 2 are: 0.89, 40, respectively.

针对处理规则3的可信度和时间敏感度因子分别为:0.9、100。The reliability and time sensitivity factors for processing rule 3 are: 0.9, 100, respectively.

这里,时间敏感度因子10、40、100代表10毫秒、40毫秒、100毫秒内须对此业务数据进行响应。如表2所示,根据排序参数F从大到小的顺序对业务数据处理信息表的业务数据及其处理规则进行了排序。Here, the time sensitivity factors of 10, 40, and 100 represent that the service data must be responded within 10 milliseconds, 40 milliseconds, and 100 milliseconds. As shown in Table 2, the business data and their processing rules in the business data processing information table are sorted according to the sorting parameter F from large to small.

下面,将描述如何根据本发明对业务数据处理信息表的业务数据的排序进行更新。Next, how to update the sorting of the service data in the service data processing information table according to the present invention will be described.

如前面已经说明过的,可以利用前述的公式1来更新时间敏感度因子,并利用前述的公式2来计算针对业务数据的排序参数F。这里,为了便于计算,可以将公式2中的行业系数C的值设为1。As explained above, the aforementioned formula 1 can be used to update the time sensitivity factor, and the aforementioned formula 2 can be used to calculate the sorting parameter F for service data. Here, for the convenience of calculation, the value of the industry coefficient C in Formula 2 can be set to 1.

当决定对处理规则2的时间敏感度因子T进行更新时,服务器会从传感器或摄像头等设备接收时间敏感度因子的修正量x=-30。When deciding to update the time sensitivity factor T of processing rule 2, the server will receive the correction value x=-30 of the time sensitivity factor from devices such as sensors or cameras.

根据前述的公式1可以计算出针对处理规则2的Tnew=40-30=10,然后计算针对处理规则2的排序参数F=B+1/T=0.99。接着,根据排序参数F的大小,对其中的业务数据进行重新排序,生成更新后的业务数据处理信息表,如表3所示。T new =40−30=10 for the processing rule 2 can be calculated according to the foregoing formula 1, and then the sorting parameter F=B+1/T=0.99 for the processing rule 2 can be calculated. Next, according to the size of the sorting parameter F, the business data in it are re-sorted, and an updated business data processing information table is generated, as shown in Table 3.

表3table 3

如上表3所示,如果仅按照可信度的大小对数据信息进行排序,序号1001的业务数据在数据表中将位于序号2000的业务数据之后,查询序号1001的业务数据所花费时间将大于查询序号2000的业务数据所花费时间。As shown in Table 3 above, if the data information is only sorted according to the degree of credibility, the business data with serial number 1001 will be located after the business data with serial number 2000 in the data table, and the time spent querying the business data with serial number 1001 will be longer than querying The time spent on the service data of sequence number 2000.

因此,根据该实施例,在增加时间敏感度因子后,查询可信度0.89的警报信息(序号1001)所花费时间将会小于查询可信度0.9的正常通知(序号2000)所花费时间,有利于知识库系统更快速地处理特定的时间敏感型的信息。Therefore, according to this embodiment, after increasing the time sensitivity factor, the time spent inquiring about the alarm information (sequence number 1001) with a reliability of 0.89 will be less than the time spent inquiring about the normal notification (serial number 2000) with a reliability of 0.9. It is beneficial for the knowledge base system to process specific time-sensitive information more quickly.

根据该实施例,在如上那样对知识库的业务数据处理信息表进行更新之后,当访问知识库中的数据信息(业务数据及其处理规则)时,可按照排序参数F值由大到小的顺序依次查询数据信息。当首次查找到匹配的数据信息后,该数据信息便为所有匹配的数据信息中可以兼顾可信度与时间响应的数据信息。According to this embodiment, after updating the business data processing information table of the knowledge base as above, when accessing the data information (business data and its processing rules) in the knowledge base, it can be sorted according to the value of the parameter F from large to small Query data information sequentially. When the matching data information is found for the first time, the data information is the data information that can take both reliability and time response into account among all the matching data information.

根据该实施例,增加时间敏感度因子能够及时响应智能工厂中的时间紧迫型任务。并且随着对时间敏感度因子的不断反馈修正,可以使整个系统的及时响应率得到提升。According to this embodiment, increasing the time sensitivity factor enables a timely response to time-critical tasks in a smart factory. And with the continuous feedback correction of the time sensitivity factor, the timely response rate of the entire system can be improved.

第二实施例second embodiment

假设在智能工厂进行零部件生产时,摄像头实时监控某段传送带上零部件的移动状态。Assume that during the production of parts in a smart factory, the camera monitors the movement status of parts on a certain section of the conveyor belt in real time.

针对该场景,智能工厂的知识库中的初始的业务数据处理信息表如下表4所示。For this scenario, the initial business data processing information table in the knowledge base of the smart factory is shown in Table 4 below.

表4Table 4

如表4所示,业务数据包括以下的事实1、事实2和事实3等。As shown in Table 4, the business data includes the following fact 1, fact 2 and fact 3, etc.

事实1:100帧图像中,运动轨迹是一条近似直线,偏移值小于等于0.5cm。Fact 1: In 100 frames of images, the motion trajectory is an approximate straight line, and the offset value is less than or equal to 0.5cm.

事实2:100帧图像中,运动轨迹是一条近似直线,偏移值大于0.5cm且小于1cm。Fact 2: In 100 frames of images, the motion trajectory is an approximate straight line, and the offset value is greater than 0.5cm and less than 1cm.

事实3:100帧图像中,运动轨迹是一条曲线。Fact 3: In 100 frames of images, the motion track is a curve.

针对业务数据的处理规则包括以下的处理规则1、处理规则2、处理规则3和处理规则4等。The processing rules for business data include the following processing rule 1, processing rule 2, processing rule 3, and processing rule 4, etc.

处理规则1:如果轨迹是一条曲线,则发出三级警报。Processing rule 1: If the trajectory is a curve, a three-level alarm is issued.

处理规则2:如果轨迹是一条近似直线且偏移值大于0.5cm且小于1cm,则发出一级警报。Processing rule 2: If the trajectory is an approximate straight line and the deviation value is greater than 0.5cm and less than 1cm, a first-level alarm will be issued.

处理规则3:如果轨迹是一条近似直线且偏移值大于0.5cm且小于1cm,则发出二级警报。Processing rule 3: If the trajectory is an approximate straight line and the deviation value is greater than 0.5cm and less than 1cm, a secondary alarm will be issued.

处理规则4:如果轨迹是一条近似直线且偏移值小于等于0.5cm,则发出正常通知。Processing rule 4: If the trajectory is an approximate straight line and the offset value is less than or equal to 0.5cm, a normal notification will be issued.

二级警报比一级警报需要更快速的响应,并且三级警报比二级警报需要更快速的响应。Level 2 alerts require a faster response than Level 1 alerts, and Level 3 alerts require a faster response than Level 2 alerts.

针对处理规则1的可信度和时间敏感度因子分别为:0.9、10The reliability and time sensitivity factors for processing rule 1 are: 0.9, 10, respectively

针对处理规则2的可信度和时间敏感度因子分别为:0.89、40。The reliability and time sensitivity factors for processing rule 2 are: 0.89, 40, respectively.

针对处理规则3的可信度和时间敏感度因子分别为:0.85、40。The reliability and time sensitivity factors for processing rule 3 are: 0.85, 40, respectively.

针对处理规则4的可信度和时间敏感度因子分别为:0.8、100。The reliability and time sensitivity factors for processing rule 4 are: 0.8, 100, respectively.

这里,时间敏感度因子10、40、100代表10毫秒、40毫秒、100毫秒内须对此业务数据进行响应。如表4所示,根据排序参数F从大到小的顺序对业务数据处理信息表的业务数据及其处理规则进行了排序。Here, the time sensitivity factors of 10, 40, and 100 represent that the service data must be responded within 10 milliseconds, 40 milliseconds, and 100 milliseconds. As shown in Table 4, the business data and its processing rules in the business data processing information table are sorted according to the sorting parameter F from large to small.

下面,将描述如何根据本发明对业务数据处理信息表的业务数据的排序进行更新。Next, how to update the sorting of the service data in the service data processing information table according to the present invention will be described.

如前面已经说明过的,可以利用前述的公式1来更新时间敏感度因子,并利用前述的公式2来计算针对业务数据的排序参数F。这里,为了便于计算,可以将公式2中的行业系数C的值设为1。As explained above, the aforementioned formula 1 can be used to update the time sensitivity factor, and the aforementioned formula 2 can be used to calculate the sorting parameter F for service data. Here, for the convenience of calculation, the value of the industry coefficient C in Formula 2 can be set to 1.

当决定对处理规则3的时间敏感度因子T进行更新时,服务器会从传感器或摄像头等设备接收时间敏感度因子的修正量x=-30。When deciding to update the time sensitivity factor T of processing rule 3, the server will receive a correction value x=-30 of the time sensitivity factor from devices such as sensors or cameras.

根据前述的公式1可以计算出针对处理规则3的Tnew=40-30=10,然后计算针对处理规则2的排序参数F=B+1/T=0.95。接着,根据排序参数F的大小,对其中的业务数据进行重新排序,生成更新后的业务数据处理信息表,如表5所示。T new =40−30=10 for the processing rule 3 can be calculated according to the aforementioned formula 1, and then the sorting parameter F=B+1/T=0.95 for the processing rule 2 can be calculated. Next, according to the size of the sorting parameter F, the business data in it are re-sorted, and an updated business data processing information table is generated, as shown in Table 5.

表5table 5

如表5所示,如果针对具有相同事实2的不同规则2和3,仅对规则3修改了时间敏感度因子T,则针对事实2、规则3的序号变为1010。即,重新排序后,排序变更为事实2、规则2之前。由此,在利用事实2对业务数据处理信息表进行查询时,会得到排序序号为1010的记录。然后,可以利用排序在前面的处理规则3而非排序在后面的规则2对事实2进行处理。As shown in Table 5, if the time sensitivity factor T is only modified for rule 3 for different rules 2 and 3 with the same fact 2, the sequence numbers for fact 2 and rule 3 become 1010. That is, after reordering, the ordering changes to be before fact 2 and rule 2. Thus, when querying the business data processing information table using Fact 2, the record with the sort number 1010 will be obtained. Then, Fact 2 can be processed by using the processing rule 3 which is sorted earlier than the rule 2 which is sorted later.

因此,根据该第二实施例,针对具有不同的处理规则的相同业务数据,有利于知识库系统更快速地利用特定的时间敏感型的处理规则来处理业务数据。Therefore, according to the second embodiment, for the same business data with different processing rules, it is beneficial for the knowledge base system to process business data more quickly using specific time-sensitive processing rules.

另外,需要指出的是,本公开的技术可以硬件和/或软件(包括固件、微代码等)的形式来实现。另外,本公开的技术可以采取存储有指令的计算机可读介质上的计算机程序产品的形式,该计算机程序产品可供指令执行系统(例如,一个或多个处理器)使用或者结合指令执行系统使用。在本公开的上下文中,计算机可读介质可以是能够包含、存储、传送、传播或传输指令的任意介质。例如,计算机可读介质可以包括但不限于电、磁、光、电磁、红外或半导体系统、装置、器件或传播介质。计算机可读介质的具体示例包括:磁存储装置,如磁带或硬盘(HDD);光存储装置,如光盘(CD-ROM);存储器,如随机存取存储器(RAM)或闪存;和/或有线/无线通信链路。In addition, it should be pointed out that the technology of the present disclosure can be implemented in the form of hardware and/or software (including firmware, microcode, etc.). Additionally, the technology of the present disclosure may take the form of a computer program product on a computer-readable medium having instructions stored thereon for use by or in connection with an instruction execution system (e.g., one or more processors) . In the context of the present disclosure, a computer-readable medium is any medium that can contain, store, convey, propagate or transport instructions. For example, a computer readable medium may include, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of computer-readable media include: magnetic storage devices, such as magnetic tape or hard disk (HDD); optical storage devices, such as compact discs (CD-ROM); memory, such as random access memory (RAM) or flash memory; and/or wired / wireless communication link.

以上列举了若干具体实施例来详细阐明本发明,这些个例仅用于说明本发明的原理及其实施方法,而非对本发明的限制,在不脱离本发明的精神和范围的情况下,本领域的技术人员还可以做出各种变形和改进。因此,本发明不应由上述实施例来限定,而应由所附权利要求及其等价物来限定。Several specific examples have been listed above to illustrate the present invention in detail. These individual examples are only used to illustrate the principle of the present invention and its implementation method, rather than to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention Various modifications and improvements can also be made by those skilled in the art. Accordingly, the invention should not be limited by the above-described embodiments, but by the appended claims and their equivalents.

Claims (6)

1. A method of updating a business data processing information table of a knowledge base of an intelligent plant, comprising:
acquiring correction quantity of time sensitivity factor corresponding to processing rule of service data in service data processing information table;
reading a historical time sensitivity factor of the processing rule;
updating the time sensitivity factor of the processing rule using the correction amount of the acquired time sensitivity factor and the read historical time sensitivity factor;
reading the credibility of the processing rule from the knowledge base;
calculating a ranking parameter of the processing rule based on the updated time sensitivity factor and the read confidence level; and
updating the processing rule and the ordering of the business data corresponding to the processing rule in the business data processing information table according to the calculated ordering parameter,
under the condition that the credibility is determined, the smaller the time sensitivity factor is, the earlier the processing rule of the service data and the sequence of the service data corresponding to the processing rule are; the larger the time sensitivity factor is, the later the processing rule of the service data and the sequence of the service data corresponding to the processing rule are.
2. The method of claim 1, wherein,
the service data processing information table includes: business data, processing rules for the business data, trustworthiness of the processing rules, and time sensitivity factors for the processing rules.
3. The method of claim 1, wherein,
the ordering parameter of the processing rule is related to an industry coefficient of an industry in which the intelligent factory is located.
4. The method of claim 2, wherein,
the service data is processed by a processing rule for the service data, which is obtained by querying a service data processing information table and is ranked forward.
5. The method of claim 1, wherein,
the correction of the time sensitivity factor is obtained from a device comprising a sensor and a camera.
6. An apparatus for updating a business data processing information table of a knowledge base of an intelligent plant, comprising:
a unit that acquires a correction amount of the time sensitivity factor corresponding to a processing rule of the service data in the service data processing information table;
a unit for reading a historical time sensitivity factor of the processing rule;
a unit that updates the time sensitivity factor of the processing rule using the correction amount of the acquired time sensitivity factor and the read history time sensitivity factor;
a unit for reading the credibility of the processing rule from the knowledge base;
a unit that calculates an ordering parameter of the processing rule based on the updated time sensitivity factor and the read confidence level; and
a unit for updating the processing rule and the sequence of the service data corresponding to the processing rule in the service data processing information table according to the calculated sequence parameter,
under the condition that the credibility is determined, the smaller the time sensitivity factor is, the earlier the processing rule of the service data and the sequence of the service data corresponding to the processing rule are; the larger the time sensitivity factor is, the later the processing rule of the service data and the sequence of the service data corresponding to the processing rule are.
CN201710382090.9A 2017-05-25 2017-05-25 Method and device for updating business data processing information table of knowledge base Active CN108932261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710382090.9A CN108932261B (en) 2017-05-25 2017-05-25 Method and device for updating business data processing information table of knowledge base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710382090.9A CN108932261B (en) 2017-05-25 2017-05-25 Method and device for updating business data processing information table of knowledge base

Publications (2)

Publication Number Publication Date
CN108932261A CN108932261A (en) 2018-12-04
CN108932261B true CN108932261B (en) 2023-08-15

Family

ID=64450986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710382090.9A Active CN108932261B (en) 2017-05-25 2017-05-25 Method and device for updating business data processing information table of knowledge base

Country Status (1)

Country Link
CN (1) CN108932261B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1335574A (en) * 2001-09-05 2002-02-13 罗笑南 Intelligent semantic searching method
JP2007034674A (en) * 2005-07-27 2007-02-08 Fujitsu Ltd Incident management program
WO2007101973A2 (en) * 2006-03-08 2007-09-13 True Knowledge Limited Knowledge repository
CN102103598A (en) * 2009-12-21 2011-06-22 同济大学 Reliable search method base on content trust
CN102142035A (en) * 2011-03-31 2011-08-03 百度在线网络技术(北京)有限公司 Method and equipment for sequencing multiple character information records
CN103177092A (en) * 2013-03-08 2013-06-26 深圳先进技术研究院 Data updating method and system of knowledge base and knowledge base
US8583467B1 (en) * 2012-08-23 2013-11-12 Fmr Llc Method and system for optimized scheduling of workflows
CN103428160A (en) * 2012-05-15 2013-12-04 上海博路信息技术有限公司 Queuing service system based on voice
CN106294414A (en) * 2015-05-25 2017-01-04 腾讯科技(深圳)有限公司 Data reordering method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8245234B2 (en) * 2009-08-10 2012-08-14 Avaya Inc. Credit scheduler for ordering the execution of tasks
US20140067486A1 (en) * 2012-08-29 2014-03-06 International Business Machines Corporation Systems, methods, and computer program products for prioritizing information

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1335574A (en) * 2001-09-05 2002-02-13 罗笑南 Intelligent semantic searching method
JP2007034674A (en) * 2005-07-27 2007-02-08 Fujitsu Ltd Incident management program
WO2007101973A2 (en) * 2006-03-08 2007-09-13 True Knowledge Limited Knowledge repository
CN102103598A (en) * 2009-12-21 2011-06-22 同济大学 Reliable search method base on content trust
CN102142035A (en) * 2011-03-31 2011-08-03 百度在线网络技术(北京)有限公司 Method and equipment for sequencing multiple character information records
CN103428160A (en) * 2012-05-15 2013-12-04 上海博路信息技术有限公司 Queuing service system based on voice
US8583467B1 (en) * 2012-08-23 2013-11-12 Fmr Llc Method and system for optimized scheduling of workflows
CN103177092A (en) * 2013-03-08 2013-06-26 深圳先进技术研究院 Data updating method and system of knowledge base and knowledge base
CN106294414A (en) * 2015-05-25 2017-01-04 腾讯科技(深圳)有限公司 Data reordering method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于时空关系和关联规则挖掘的上下文信息缺失插补研究;王玉祥 等;电子与信息学报;第82卷(第12期);第2913-2917页 *

Also Published As

Publication number Publication date
CN108932261A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
CN107229518B (en) Distributed cluster training method and device
US20190163752A1 (en) Live video recommendation by an online system
US20170076198A1 (en) High-capacity machine learning system
US9021056B2 (en) Metadata prediction of objects in a social networking system using crowd sourcing
US20160350675A1 (en) Systems and methods to identify objectionable content
JP2009507276A5 (en)
CN110663030A (en) Edge device, system and method for processing extreme data
US10630632B2 (en) Systems and methods for ranking comments
TW201346605A (en) Information processing device, information processing method, information processing program product and recording medium
CN109978642A (en) A kind of information recommendation method, device and communication equipment
CN115409579A (en) Meta-learning-based responsive recommendation method, system and equipment
JP2019053409A (en) Addition device, addition method, addition program and model
CN112528103B (en) Method and device for recommending an object
CN108932261B (en) Method and device for updating business data processing information table of knowledge base
CN112101740A (en) Method, device, equipment and storage medium for determining production plan
CN111626800A (en) Commodity order processing method and device
CN113836425A (en) Movie recommendation method, device and equipment based on heteromorphic image attention network
CN110955840B (en) Joint optimization of notifications and pushes
CN111143568A (en) Buffering method, device, equipment and storage medium for paper classification
CN115391710A (en) Method and device for evaluating social media account influence based on graph neural network
US10360498B2 (en) Unsupervised training sets for content classification
CN114329175A (en) Information recommendation method, system, storage medium and server
US20250245079A1 (en) Self-forming communication and control system
Radamski et al. Adaptive Flow Timeout Management in Software-Defined Optical Networks
CN119155355B (en) Communication performance optimization method and system based on Internet of Things

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