CN107301234A - A kind of voice and word interactive system based on regulation and control atypia data - Google Patents
A kind of voice and word interactive system based on regulation and control atypia data Download PDFInfo
- Publication number
- CN107301234A CN107301234A CN201710499493.1A CN201710499493A CN107301234A CN 107301234 A CN107301234 A CN 107301234A CN 201710499493 A CN201710499493 A CN 201710499493A CN 107301234 A CN107301234 A CN 107301234A
- Authority
- CN
- China
- Prior art keywords
- voice
- word
- request
- data
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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/24—Querying
- G06F16/248—Presentation of query results
-
- 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/24—Querying
- G06F16/245—Query processing
- G06F16/2452—Query translation
- G06F16/24522—Translation of natural language queries to structured queries
-
- 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/33—Querying
- G06F16/3331—Query processing
- G06F16/3332—Query translation
-
- 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/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
-
- 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/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
- G06F16/3343—Query execution using phonetics
-
- 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/374—Thesaurus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/72—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for transmitting results of analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Acoustics & Sound (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Strategic Management (AREA)
- General Health & Medical Sciences (AREA)
- Marketing (AREA)
- Multimedia (AREA)
- Entrepreneurship & Innovation (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Educational Administration (AREA)
- Development Economics (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (AREA)
- Signal Processing (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- Primary Health Care (AREA)
- Artificial Intelligence (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明涉及一种基于调控非典型数据的语音和文字交互系统,解决的是操作繁琐、准确度低的技术问题,通过采用包括主系统登录模块,语音文字识别系统,调控非典型数据字典建设模块以及告警输出模块;语音文字识别系统包括语音和文字配置模块及语音和文字识别模块;所述语音和文字配置模块用于配置输入数据,输入数据包括语音及文字;所述语音和文字识别模块用于制定专家策略,最大化匹配对比源与输入数据,将匹配结果与专家策略对比分析,得出分析结果;所述调控非典型数据字典建设模块用于建立调控非典型数据字典,调控非典型数据字典用于作为对比源的技术方案,较好的解决了该问题,可用于智能电网中。
The invention relates to a voice and text interactive system based on regulation and control of atypical data, which solves the technical problems of cumbersome operation and low accuracy. By adopting a main system login module and a speech and text recognition system, the atypical data dictionary construction module is controlled. And an alarm output module; the voice and text recognition system includes a voice and text configuration module and a voice and text recognition module; the voice and text configuration module is used to configure input data, and the input data includes voice and text; the voice and text recognition module is used To formulate an expert strategy, maximize the matching and comparison source and input data, compare and analyze the matching result with the expert strategy, and obtain the analysis result; the regulation and control atypical data dictionary construction module is used to establish a regulation and control atypical data dictionary, regulate The dictionary is used as a technical solution for comparison sources, which solves this problem well and can be used in smart grids.
Description
技术领域technical field
本发明涉及智能电网领域,具体涉及一种基于调控非典型数据的语音和文字交互系统。The invention relates to the field of smart grids, in particular to a voice and text interactive system based on regulating atypical data.
背景技术Background technique
近几年来,我国电力事业处于蓬勃发展时期,取得了举世瞩目的成就。为了促进电网的可持续发展,电网调度自动化领域正面临技术革新,而智能调度成为其发展的新方向。调控指令是电网调度日常生产的重要工作,同时也是发电厂、变电站等运行部门重要的工作内容,调控指令的正确与否直接关系着操作的正确与否,关系到设备、人身和电网安全。电气误操作可能造成设备损坏、人身伤亡,甚至引起电网振荡瓦解,导致大面积停电等严重后果。In recent years, my country's electric power industry has been in a period of vigorous development and has achieved remarkable achievements. In order to promote the sustainable development of the power grid, the field of power grid dispatching automation is facing technological innovation, and intelligent dispatching has become a new direction of its development. Regulatory instructions are an important task in the daily production of power grid dispatching, and are also an important part of the work of operating departments such as power plants and substations. The correctness of regulatory instructions is directly related to the correctness of operations, and is related to equipment, personal and grid safety. Electrical misoperation may cause equipment damage, personal casualties, and even cause grid oscillation and disintegration, leading to serious consequences such as large-scale power outages.
不断扩大的电力系统需要更多的监控信息,电网调度人员的日常工作强度随之增加,造成或导致处理突发事故的能力随之减弱。目前的电网调度的调控运行、调控管理与非典型数据需要人工进行判断分析和比对,存在操作繁琐、准确度低的问题。因此,提供一种基于调控非典型数据的语音和文字交互系统就很有必要。The ever-expanding power system requires more monitoring information, and the daily work intensity of power grid dispatchers increases accordingly, which weakens the ability to deal with unexpected accidents. At present, the control operation, control management and atypical data of power grid dispatching need to be judged, analyzed and compared manually, which has the problems of cumbersome operation and low accuracy. Therefore, it is necessary to provide a voice and text interaction system based on regulating atypical data.
发明内容Contents of the invention
本发明所要解决的技术问题是现有技术中存在的操作繁琐、准确度低的技术问题。提供一种新的基于调控非典型数据的语音和文字交互系统,该基于调控非典型数据的语音和文字交互系统具有操作简单、准确度高的特点。The technical problem to be solved by the invention is the technical problem of cumbersome operation and low accuracy existing in the prior art. A new voice and text interactive system based on regulating atypical data is provided, and the voice and text interactive system based on regulating atypical data has the characteristics of simple operation and high accuracy.
为解决上述技术问题,采用的技术方案如下:In order to solve the above technical problems, the technical scheme adopted is as follows:
一种基于调控非典型数据的语音和文字交互系统,所述语音和文字交互系统包括主系统登录模块,语音文字识别系统,调控非典型数据字典建设模块以及告警输出模块;所述主系统登录模块用于验证语音和文字交互系统使用者身份;所述语音文字识别系统包括语音和文字配置模块及语音和文字识别模块;所述语音和文字配置模块用于配置输入数据,输入数据包括语音及文字;所述语音和文字识别模块用于制定专家策略,最大化匹配对比源与输入数据,将匹配结果与专家策略对比分析,得出分析结果;所述调控非典型数据字典建设模块用于建立调控非典型数据字典,调控非典型数据字典用于作为对比源;所述告警输出模块用于与语音和文字交互系统使用者完成信息交互,将分析结果传输给语音和文字交互系统使用者。A voice and text interactive system based on regulation and control of atypical data, the voice and text interaction system includes a main system login module, a voice and text recognition system, a regulation and control atypical data dictionary construction module and an alarm output module; the main system login module It is used to verify the user identity of the voice and text interactive system; the voice and text recognition system includes a voice and text configuration module and a voice and text recognition module; the voice and text configuration module is used to configure input data, and the input data includes voice and text The voice and text recognition module is used to formulate expert strategies, maximize the matching comparison source and input data, compare and analyze the matching results with expert strategies, and obtain analysis results; the regulation and control atypical data dictionary construction module is used to establish regulation and control The atypical data dictionary is adjusted and used as a comparison source; the alarm output module is used to complete information interaction with the voice and text interaction system users, and transmit the analysis results to the voice and text interaction system users.
本发明的工作原理:本发明通过在智能调度系统中引入语音和文字的人机交互技术能够为调度人员提供更多的调度信息,通过语音完成调度人员与调度系统之间的信息交换。具体为,语音和文字交互系统使用者可以进行调控非典型数据字典建设和配置。导入调控非典型数据字典,进入对调度命令的语音和文字的监听阶段。当有语音或者文字等信息输入时,这些信息包括调度日志、操作票、发令语音和计划停运申请表等,系统会将输入的待识别语音和文字与调控非典型数据字典的关键词和句式结构进行最大限度匹配,结合系统制定的专家策略和当前的电网运行状态进行分析校对,将分析结果以结构化数据的格式发送给系统后台,系统后台经过查询与分析之后将结果反馈给交互程序,结果会以告警等的形式传递给语音和文字交互系统使用者。The working principle of the present invention: the present invention can provide dispatchers with more dispatching information by introducing the human-computer interaction technology of voice and text into the intelligent dispatching system, and complete the information exchange between the dispatcher and the dispatching system through voice. Specifically, users of the voice and text interaction system can regulate the construction and configuration of atypical data dictionaries. Import and control atypical data dictionaries, and enter the stage of listening to the voice and text of dispatch commands. When information such as voice or text is input, the information includes dispatch logs, operation tickets, command voices, and application forms for planned outages, etc. Match the structure to the maximum extent, analyze and check the expert strategy formulated by the system and the current power grid operation status, and send the analysis results to the system background in the format of structured data, and the system background will feed back the results to the interactive program after query and analysis , the result will be transmitted to the user of the voice and text interaction system in the form of an alarm.
上述方案中,为优化,进一步地,所述包括主系统登录模块包括权限模块,所述权限模块包括身份数据输入单元、身份数据库,身份数据匹配模块;In the above solution, for optimization, further, the main system login module includes a permission module, and the permission module includes an identity data input unit, an identity database, and an identity data matching module;
所述身份数据输入单元包括数据采集装置,用于采集语音和文字交互系统使用者的身份信息,身份信息包括指纹信息、瞳孔信息、声音信息或文字密码信息;The identity data input unit includes a data collection device for collecting identity information of users of the voice and text interactive system, and the identity information includes fingerprint information, pupil information, voice information or text password information;
所述身份数据库用于预先存储权限分级所对应的身份数据;The identity database is used for pre-storing identity data corresponding to authority classification;
所述身份数据匹配模块用于匹配身份数据与身份数据库。The identity data matching module is used to match the identity data with the identity database.
进一步地,所述身份数据匹配模块包括实体转换单元,数据反射单元,匹配验证单元及自定义特性定义单元;Further, the identity data matching module includes an entity conversion unit, a data reflection unit, a matching verification unit and a custom characteristic definition unit;
所述实体转换单元用于将身份数据输入单元采集的身份信息定义为实体;The entity conversion unit is used to define the identity information collected by the identity data input unit as an entity;
所述自定义特性单元将验证逻辑封装为自定义特性;The self-defined characteristic unit encapsulates verification logic as a self-defined characteristic;
所述数据反射单元根据实体通过反射获得字段值、对应的自定义特性值;The data reflection unit obtains field values and corresponding custom characteristic values through reflection according to entities;
所述匹配验证单元用于将字段值与自定义特性值进行验证。The matching verification unit is used to verify the field value and the custom characteristic value.
进一步地,所述告警输出模块包括报警模块与输出模块,所述报警模块用于将异常状态通知语音和文字交互系统使用者;所述输出模块用于将语音和文字交互系统所有信息输出给语音和文字交互系统使用者。Further, the alarm output module includes an alarm module and an output module, the alarm module is used to notify the user of the voice and text interaction system of the abnormal state; the output module is used to output all information of the voice and text interaction system to the voice and text interaction system users.
进一步地,所述语音和文字识别模块包括连接装置,连接装置用于连接语音和文字交互系统与语音和文字交互系统使用者,所述连接装置包括存储介质、处理器,存储介质存储有双向处理程序,双向处理程序包括单向及反向程序,所述处理器用于执行双向处理程序,以完成下列步骤:Further, the speech and text recognition module includes a connection device, which is used to connect the speech and text interaction system and the speech and text interaction system user, and the connection device includes a storage medium and a processor, and the storage medium stores two-way processing Program, two-way processing program comprises one-way and reverse program, and described processor is used for carrying out two-way processing program, to complete following steps:
判断请求流向,请求流向语音和文字交互系统使用者到语音和文字交互系统,执行单向程序,请求流向为语音和文字交互系统到语音和文字交互系统使用者,执行反向程序;Judging the request flow direction, the request flows from the voice and text interaction system user to the voice and text interaction system, and executes the one-way procedure, and the request flow direction is from the voice and text interaction system to the voice and text interaction system user, and executes the reverse procedure;
单向程序单程仅根据语音和文字交互系统使用者请求访问语音和文字交互系统一次;反向程序将语音和文字交互系统请求发送给语音和文字交互系统使用者,并根据语音和文字交互系统使用者的响应仅访问语音和文字交互系统一次。The one-way program only visits the voice and text interaction system once according to the voice and text interaction system user’s request; the reverse program sends the voice and text interaction system request to the voice and text interaction system user, and uses it according to the voice and text interaction system The respondent accesses the voice and text interaction system only once.
进一步地,所述单向程序包括,连接装置过滤来自语音和文字交互系统使用者的重复请求,将首次接收到的请求发送给语音和文字交互系统;Further, the one-way procedure includes that the connecting device filters repeated requests from users of the voice and text interaction system, and sends the request received for the first time to the voice and text interaction system;
(A)t时刻,接收来自语音和文字交互系统使用者的请求,查阅判断t时刻接收的请求为连接装置首次接收,执行步骤(B),t时刻接收的请求不为连接装置首次接收,执行步骤(D);(A) At time t, receive a request from the user of the voice and text interaction system, check and judge that the request received at time t is the first time received by the connection device, execute step (B), the request received at time t is not the first time received by the connection device, execute step (D);
(B)将步骤(A)中的请求发出到语音和文字交互系统,并将t时刻接收的请求作为历史请求加入请求序列;(B) Send the request in step (A) to the voice and text interaction system, and add the request received at time t as a historical request to the request sequence;
(C)语音和文字交互系统返回指令,连接装置接收到语音和文字交互系统的返回结果,并将返回结果加入返回序列,返回序列与步骤(B)中的请求序列相对应;(C) The voice and text interaction system returns instructions, and the connection device receives the return result of the voice and text interaction system, and adds the returned result to the return sequence, which corresponds to the request sequence in step (B);
(D)连接装置处理查找请求序列中与t时刻接收的请求相同的历史请求,并查找返回队列中与历史请求对应的返回结果;(D) The connection device processes the historical request in the search request sequence that is the same as the request received at time t, and searches for the return result corresponding to the historical request in the return queue;
(E)将返回队列中的返回结果发送给t时刻请求对应的语音和文字交互系统节点。(E) Send the return result in the return queue to the voice and text interaction system node corresponding to the request at time t.
进一步地,所述反向程序包括,连接装置接收来自语音和文字交互系统的请求,将请求发送给语音和文字交互系统使用者,连接装置接收到语音和文字交互系统使用者的响应后,过滤来自语音和文字交互系统使用者的响应,将首次接收到的响应返回给语音和文字交互系统;Further, the reverse procedure includes that the connection device receives the request from the voice and text interaction system, sends the request to the user of the voice and text interaction system, and after the connection device receives the response from the voice and text interaction system user, filters Response from the voice and text interaction system user, returning the first received response to the voice and text interaction system;
(a)连接装置收到来自语音和文字交互系统的请求,将请求发送到语音和文字交互系统使用者,并将请求加入请求队列;(a) The connection device receives the request from the voice and text interactive system, sends the request to the voice and text interactive system user, and adds the request to the request queue;
(b)连接装置t时刻接收到来自语音和文字交互系统使用者中的响应结果,查阅判定响应结果为首次接收的步骤(a)的请求对应的响应结果,执行(c),查阅判定响应结果不为首次接收的步骤(a)的请求对应的响应结果,连接装置将t时刻接收的响应结果加入返回队列,返回队列与请求队列相对应;(b) The connection device receives the response result from the user of the voice and text interaction system at time t, and consults the response result corresponding to the request in step (a) that is determined to be received for the first time, executes (c), and consults the determination response result If it is not the response result corresponding to the request of step (a) received for the first time, the connection device adds the response result received at time t to the return queue, and the return queue corresponds to the request queue;
(c)连接装置把t时刻接收的响应结果作为请求返回给语音和文字交互系统。(c) The connection device returns the response result received at time t to the voice and text interaction system as a request.
进一步地,所述输入数据包括调度日志、操作票、发令语音及计划停运申请表。Further, the input data includes scheduling logs, operation tickets, command voices and planned outage application forms.
进一步地,所述语音和文字交互系统用于智能电网。Further, the voice and text interaction system is used for smart grid.
本发明通过在语音和文字识别模块中加入一种连接装置与告警输出模块连接,用于处理多个使用者同时向交互系统发出请求,或者交互系统同时向多个使用者发布命令的情况。The invention adds a connecting device to the voice and character recognition module to connect with the alarm output module, and is used to deal with the situation that multiple users send requests to the interactive system at the same time, or the interactive system issues commands to multiple users at the same time.
语音和文字交互系统的数据依托去中心化的 P2P 网络对网络中的所有节点开放,语音和文字交互系统使用者可以通过公开的接口参与电网调度。语音和文字交互系统依靠现代密码学的非对称加密技术,保证了交易信息的安全性,依赖一种称为工作量证明机制的共识过程确保证了语音和文字交互系统数据的不可篡改。语音和文字交互系统的数据在 P2P 网络中分布式产生、分布式传播、分布式存储,每一个节点都存储了完整的数据记录。因此如果部分节点出现故障,只要存在一个正常运行的节点,都不会影响区块数据的更新。The data of the voice and text interaction system is open to all nodes in the network relying on the decentralized P2P network, and users of the voice and text interaction system can participate in power grid scheduling through the open interface. The voice and text interaction system relies on the asymmetric encryption technology of modern cryptography to ensure the security of transaction information, and relies on a consensus process called workload proof mechanism to ensure that the data of the voice and text interaction system cannot be tampered with. The data of the voice and text interaction system is generated, disseminated, and stored in a distributed manner in the P2P network, and each node stores a complete data record. Therefore, if some nodes fail, as long as there is a normal operating node, it will not affect the update of block data.
本发明的有益效果:Beneficial effects of the present invention:
效果一,通过在智能调度系统中引入语音和文字的人机交互技术,能够为调度人员提供更多的调度信息,通过语音完成调度人员与调度系统之间的信息交换,从而显著降低调度人员的工作强度;Effect 1. By introducing voice and text human-computer interaction technology into the intelligent dispatching system, more dispatching information can be provided to dispatchers, and the information exchange between dispatchers and the dispatching system can be completed through voice, thereby significantly reducing the dispatcher's workload. Intensity of work;
效果二,有效提升电力调度的工作效率;The second effect is to effectively improve the efficiency of power dispatching;
效果三,交互效果准确方便;Effect 3, the interaction effect is accurate and convenient;
效果四,通过采用连接装置,使得一对多、多对一均能够快速处理而不出错。Effect 4: By using the connecting device, one-to-many and many-to-one can be quickly processed without error.
附图说明Description of drawings
下面结合附图和实施例对本发明进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
图1,实施例1中工作流程示意图。Fig. 1 is a schematic diagram of the workflow in Example 1.
图2,实施例1中连接装置连接示意图。Fig. 2 is a schematic diagram of the connection of the connection device in Embodiment 1.
图3,实施例1中语音和文字交互系统的系统示意图。Fig. 3 is a system schematic diagram of the voice and text interaction system in Embodiment 1.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
实施例1Example 1
本实施例提供一种基于调控非典型数据的语音和文字交互系统,语音和文字交互系统可用于智能电网,如图3,所述语音和文字交互系统包括主系统登录模块,语音文字识别系统,调控非典型数据字典建设模块以及告警输出模块;所述主系统登录模块用于验证语音和文字交互系统使用者身份;所述语音文字识别系统包括语音和文字配置模块及语音和文字识别模块;所述语音和文字配置模块用于配置输入数据,输入数据包括语音及文字;所述语音和文字识别模块用于制定专家策略,最大化匹配对比源与输入数据,将匹配结果与专家策略对比分析,得出分析结果;所述调控非典型数据字典建设模块用于建立调控非典型数据字典,调控非典型数据字典用于作为对比源;所述告警输出模块用于与语音和文字交互系统使用者完成信息交互,将分析结果传输给语音和文字交互系统使用者。This embodiment provides a voice and text interactive system based on regulation and control of atypical data. The voice and text interaction system can be used in smart grids, as shown in Figure 3. The voice and text interaction system includes a main system login module, a voice and text recognition system, Regulating the atypical data dictionary construction module and the alarm output module; the main system login module is used to verify the user identity of the voice and text interactive system; the voice and text recognition system includes a voice and text configuration module and a voice and text recognition module; The voice and text configuration module is used to configure input data, and the input data includes voice and text; the voice and text recognition module is used to formulate expert strategies, maximize matching and comparison sources and input data, and compare and analyze matching results with expert strategies, Obtain the analysis results; the regulation and control atypical data dictionary construction module is used to establish the regulation and control atypical data dictionary, and the regulation and control atypical data dictionary is used as a comparison source; the described alarm output module is used to complete the interaction with the voice and text interaction system users Information interaction, which transmits the analysis results to users of the voice and text interaction system.
本实施例的工作流程:语音和文字交互系统使用者可以进行调控非典型数据字典建设和配置。导入调控非典型数据字典,进入对调度命令的语音和文字的监听阶段。当有语音或者文字等信息输入时,这些信息包括调度日志、操作票、发令语音和计划停运申请表等,系统会将输入的待识别语音和文字与调控非典型数据字典的关键词和句式结构进行最大限度匹配,结合系统制定的专家策略和当前的电网运行状态进行分析校对,将分析结果以结构化数据的格式发送给系统后台,系统后台经过查询与分析之后将结果反馈给交互程序,结果会以告警等的形式传递给语音和文字交互系统使用者。Workflow of this embodiment: users of the voice and text interaction system can control the construction and configuration of atypical data dictionaries. Import and control atypical data dictionaries, and enter the stage of listening to the voice and text of dispatch commands. When information such as voice or text is input, the information includes dispatch logs, operation tickets, command voices, and application forms for planned outages, etc. Match the structure to the maximum extent, analyze and check the expert strategy formulated by the system and the current power grid operation status, and send the analysis results to the system background in the format of structured data, and the system background will feed back the results to the interactive program after query and analysis , the result will be transmitted to the user of the voice and text interaction system in the form of an alarm.
语音和文字识别模块中的最大匹配的工作流程包括:The maximum matching workflow in the Speech and Text Recognition module includes:
(A)识别系统初始化,包括初始化COM平台;(A) identification system initialization, including initializing the COM platform;
(B)导入输入数据;(B) importing input data;
(C)创建识别引擎对象,识别引擎对象为语音识别引擎对象及文字识别引擎对象,启动识别引擎;判定识别引擎工作状态,识别引擎工作状态为工作态,则执行步骤(D);识别引擎工作状态为休眠态,则执行步骤(B);(C) Create a recognition engine object, the recognition engine object is a speech recognition engine object and a text recognition engine object, start the recognition engine; determine the working state of the recognition engine, and the working state of the recognition engine is the working state, then perform step (D); the recognition engine works If the state is dormant, execute step (B);
(D)建立消息通知机制,包括发送自定义信息激活信息函数,根据信息函数载入并激活语法规则;(D) Establish a message notification mechanism, including sending custom information to activate the information function, and loading and activating grammar rules according to the information function;
(E)语法规则包括关键词、句式结构,将输入数据中的语音与语法规则中的关键词及句式结构进行最大限度匹配;判定匹配结果,匹配成功,执行步骤(F);匹配失败,执行步骤(B);(E) The grammatical rules include keywords and sentence structures, and match the speech in the input data with the keywords and sentence structures in the grammatical rules to the maximum; determine the matching result, if the matching is successful, execute step (F); if the matching fails , execute step (B);
(F)将匹配结果定义为语音识别输出结果,将语音识别输出结果以文本形式输出,卸载COM平台。(F) Defining the matching result as the speech recognition output result, outputting the speech recognition output result in text form, and uninstalling the COM platform.
具体地,所述包括主系统登录模块包括权限模块,所述权限模块包括身份数据输入单元、身份数据库,身份数据匹配模块;所述身份数据输入单元包括数据采集装置,用于采集语音和文字交互系统使用者的身份信息,身份信息包括指纹信息、瞳孔信息、声音信息或文字密码信息;所述身份数据库用于预先存储权限分级所对应的身份数据;所述身份数据匹配模块用于匹配身份数据与身份数据库。Specifically, the main system login module includes a permission module, and the permission module includes an identity data input unit, an identity database, and an identity data matching module; the identity data input unit includes a data collection device for collecting voice and text interaction The identity information of the system user, the identity information includes fingerprint information, pupil information, voice information or text password information; the identity database is used to pre-store the identity data corresponding to the authority classification; the identity data matching module is used to match the identity data with the identity database.
优选地,为高速完成身份数据匹配,身份数据匹配模块包括实体转换单元,数据反射单元,匹配验证单元及自定义特性定义单元;Preferably, in order to complete identity data matching at high speed, the identity data matching module includes an entity conversion unit, a data reflection unit, a matching verification unit and a custom characteristic definition unit;
所述实体转换单元用于将身份数据输入单元采集的身份信息定义为实体;The entity conversion unit is used to define the identity information collected by the identity data input unit as an entity;
所述自定义特性单元将验证逻辑封装为自定义特性;The self-defined characteristic unit encapsulates verification logic as a self-defined characteristic;
所述数据反射单元根据实体通过反射获得字段值、对应的自定义特性值;The data reflection unit obtains field values and corresponding custom characteristic values through reflection according to entities;
所述匹配验证单元用于将字段值与自定义特性值进行验证。The matching verification unit is used to verify the field value and the custom characteristic value.
通过自定义特性,利用反射获取到实体所有的字段值、及字段对应自定义特性值;通过字段值与自定义特性值进行比对,具体为通过自定义特性值可以知道字段是否必填,字段值是否为空,字段长度是否超长、字段值类型是否符合要求等,最终验证数据有效性。而不管实体有多少个字段,都不再需要人工编写大量的代码去验证数据。将验证的逻辑封装到特性内,哪个字段需要验证就添加这个特性。数据校验时,只需通过反射获取特性值做校验工作。Through custom properties, use reflection to get all the field values of the entity, and the corresponding custom property values of the fields; compare the field values with the custom property values, specifically, through the custom property values, you can know whether the field is required, and the field Whether the value is empty, whether the field length is too long, whether the field value type meets the requirements, etc., finally verify the validity of the data. And no matter how many fields the entity has, it is no longer necessary to manually write a lot of code to validate the data. Encapsulate the verification logic into the feature, and add this feature to any field that needs to be verified. When verifying data, you only need to obtain the characteristic value through reflection to do the verification work.
具体地,所述告警输出模块包括报警模块与输出模块,所述报警模块用于将异常状态通知语音和文字交互系统使用者;所述输出模块用于将语音和文字交互系统所有信息输出给语音和文字交互系统使用者。Specifically, the alarm output module includes an alarm module and an output module, the alarm module is used to notify the user of the voice and text interaction system of the abnormal state; the output module is used to output all information of the voice and text interaction system to the voice and text interaction system users.
为了简单无差错的处理一对多、多对一的复杂交互需求。优选地,如图2,所述语音和文字识别模块包括连接装置,连接装置用于连接语音和文字交互系统与语音和文字交互系统使用者,所述连接装置包括存储介质、处理器,存储介质存储有双向处理程序,双向处理程序包括单向及反向程序,所述处理器用于执行双向处理程序,以完成下列步骤:In order to handle the complex interaction requirements of one-to-many and many-to-one simply and error-free. Preferably, as shown in Figure 2, the speech and text recognition module includes a connection device, the connection device is used to connect the speech and text interaction system and the speech and text interaction system user, and the connection device includes a storage medium, a processor, a storage medium Two-way processing programs are stored, and the two-way processing programs include one-way and reverse programs, and the processor is used to execute the two-way processing programs to complete the following steps:
判断请求流向,请求流向语音和文字交互系统使用者到语音和文字交互系统,执行单向程序,请求流向为语音和文字交互系统到语音和文字交互系统使用者,执行反向程序;Judging the request flow direction, the request flows from the voice and text interaction system user to the voice and text interaction system, and executes the one-way procedure, and the request flow direction is from the voice and text interaction system to the voice and text interaction system user, and executes the reverse procedure;
单向程序单程仅根据语音和文字交互系统使用者请求访问语音和文字交互系统一次;反向程序将语音和文字交互系统请求发送给语音和文字交互系统使用者,并根据语音和文字交互系统使用者的响应仅访问语音和文字交互系统一次。The one-way program only visits the voice and text interaction system once according to the voice and text interaction system user’s request; the reverse program sends the voice and text interaction system request to the voice and text interaction system user, and uses it according to the voice and text interaction system The respondent accesses the voice and text interaction system only once.
具体地,所述单向程序包括,连接装置过滤来自语音和文字交互系统使用者的重复请求,将首次接收到的请求发送给语音和文字交互系统;Specifically, the one-way procedure includes that the connecting device filters repeated requests from users of the voice and text interaction system, and sends the request received for the first time to the voice and text interaction system;
(A)t时刻,接收来自语音和文字交互系统使用者的请求,查阅判断t时刻接收的请求为连接装置首次接收,执行步骤(B),t时刻接收的请求不为连接装置首次接收,执行步骤(D);(A) At time t, receive a request from the user of the voice and text interaction system, check and judge that the request received at time t is the first time received by the connection device, execute step (B), the request received at time t is not the first time received by the connection device, execute step (D);
(B)将步骤(A)中的请求发出到语音和文字交互系统,并将t时刻接收的请求作为历史请求加入请求序列;(B) Send the request in step (A) to the voice and text interaction system, and add the request received at time t as a historical request to the request sequence;
(C)语音和文字交互系统返回指令,连接装置接收到语音和文字交互系统的返回结果,并将返回结果加入返回序列,返回序列与步骤(B)中的请求序列相对应;(C) The voice and text interaction system returns instructions, and the connection device receives the return result of the voice and text interaction system, and adds the returned result to the return sequence, which corresponds to the request sequence in step (B);
(D)连接装置处理查找请求序列中与t时刻接收的请求相同的历史请求,并查找返回队列中与历史请求对应的返回结果;(D) The connection device processes the historical request in the search request sequence that is the same as the request received at time t, and searches for the return result corresponding to the historical request in the return queue;
(E)将返回队列中的返回结果发送给t时刻请求对应的语音和文字交互系统节点。(E) Send the return result in the return queue to the voice and text interaction system node corresponding to the request at time t.
具体地,所述反向程序包括,连接装置接收来自语音和文字交互系统的请求,将请求发送给语音和文字交互系统使用者,连接装置接收到语音和文字交互系统使用者的响应后,过滤来自语音和文字交互系统使用者的响应,将首次接收到的响应返回给语音和文字交互系统;Specifically, the reverse procedure includes that the connection device receives the request from the voice and text interaction system, sends the request to the voice and text interaction system user, and after the connection device receives the voice and text interaction system user's response, filters Response from the voice and text interaction system user, returning the first received response to the voice and text interaction system;
(a)连接装置收到来自语音和文字交互系统的请求,将请求发送到语音和文字交互系统使用者,并将请求加入请求队列;(a) The connection device receives the request from the voice and text interactive system, sends the request to the voice and text interactive system user, and adds the request to the request queue;
(b)连接装置t时刻接收到来自语音和文字交互系统使用者中的响应结果,查阅判定响应结果为首次接收的步骤(a)的请求对应的响应结果,执行(c),查阅判定响应结果不为首次接收的步骤(a)的请求对应的响应结果,连接装置将t时刻接收的响应结果加入返回队列,返回队列与请求队列相对应;(b) The connection device receives the response result from the user of the voice and text interaction system at time t, and consults the response result corresponding to the request in step (a) that is determined to be received for the first time, executes (c), and consults the determination response result If it is not the response result corresponding to the request of step (a) received for the first time, the connection device adds the response result received at time t to the return queue, and the return queue corresponds to the request queue;
(c)连接装置把t时刻接收的响应结果作为请求返回给语音和文字交互系统。(c) The connection device returns the response result received at time t to the voice and text interaction system as a request.
具体地,所述输入数据包括调度日志、操作票、发令语音及计划停运申请表。Specifically, the input data includes scheduling logs, operation tickets, command voices and planned outage application forms.
尽管上面对本发明说明性的具体实施方式进行了描述,以便于本技术领域的技术人员能够理解本发明,但是本发明不仅限于具体实施方式的范围,对本技术领域的普通技术人员而言,只要各种变化只要在所附的权利要求限定和确定的本发明精神和范围内,一切利用本发明构思的发明创造均在保护之列。Although the illustrative specific embodiments of the present invention have been described above, so that those skilled in the art can understand the present invention, the present invention is not limited to the scope of the specific embodiments. For those of ordinary skill in the art, as long as each As long as the changes are within the spirit and scope of the present invention defined and determined by the appended claims, all inventions and creations utilizing the concept of the present invention are included in the protection list.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710499493.1A CN107301234A (en) | 2017-06-27 | 2017-06-27 | A kind of voice and word interactive system based on regulation and control atypia data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710499493.1A CN107301234A (en) | 2017-06-27 | 2017-06-27 | A kind of voice and word interactive system based on regulation and control atypia data |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107301234A true CN107301234A (en) | 2017-10-27 |
Family
ID=60136051
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710499493.1A Pending CN107301234A (en) | 2017-06-27 | 2017-06-27 | A kind of voice and word interactive system based on regulation and control atypia data |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107301234A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108199480A (en) * | 2017-12-27 | 2018-06-22 | 国电南瑞南京控制系统有限公司 | A kind of electric power dispatching system and its method based on artificial intelligence |
| CN108417209A (en) * | 2018-03-02 | 2018-08-17 | 国家电网公司华中分部 | A kind of power scheduling morpheme extraction method based on natural language processing technique |
| CN108447475A (en) * | 2018-03-02 | 2018-08-24 | 国家电网公司华中分部 | A kind of method for building up of the speech recognition modeling based on electric power dispatching system |
| CN109086332A (en) * | 2018-07-04 | 2018-12-25 | 深圳供电局有限公司 | Power dispatching log query method and system |
| CN111934949A (en) * | 2020-07-23 | 2020-11-13 | 广东电网有限责任公司 | Safety test system based on database injection test |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1901041A (en) * | 2005-07-22 | 2007-01-24 | 康佳集团股份有限公司 | Voice dictionary forming method and voice identifying system and its method |
| CN101458502A (en) * | 2008-12-30 | 2009-06-17 | 湖南省电力公司湘潭电业局 | Electrical power system standardized work intelligent control method and special equipment |
| CN101753605A (en) * | 2008-12-02 | 2010-06-23 | 北大方正集团有限公司 | Data validation method and server |
-
2017
- 2017-06-27 CN CN201710499493.1A patent/CN107301234A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1901041A (en) * | 2005-07-22 | 2007-01-24 | 康佳集团股份有限公司 | Voice dictionary forming method and voice identifying system and its method |
| CN1901041B (en) * | 2005-07-22 | 2011-08-31 | 康佳集团股份有限公司 | Voice dictionary forming method and voice identifying system and its method |
| CN101753605A (en) * | 2008-12-02 | 2010-06-23 | 北大方正集团有限公司 | Data validation method and server |
| CN101458502A (en) * | 2008-12-30 | 2009-06-17 | 湖南省电力公司湘潭电业局 | Electrical power system standardized work intelligent control method and special equipment |
Non-Patent Citations (1)
| Title |
|---|
| 陈静: "浅析语音人机交互技术在智能调度中的应用", 《现代国企研究》 * |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108199480A (en) * | 2017-12-27 | 2018-06-22 | 国电南瑞南京控制系统有限公司 | A kind of electric power dispatching system and its method based on artificial intelligence |
| CN108417209A (en) * | 2018-03-02 | 2018-08-17 | 国家电网公司华中分部 | A kind of power scheduling morpheme extraction method based on natural language processing technique |
| CN108447475A (en) * | 2018-03-02 | 2018-08-24 | 国家电网公司华中分部 | A kind of method for building up of the speech recognition modeling based on electric power dispatching system |
| CN109086332A (en) * | 2018-07-04 | 2018-12-25 | 深圳供电局有限公司 | Power dispatching log query method and system |
| CN111934949A (en) * | 2020-07-23 | 2020-11-13 | 广东电网有限责任公司 | Safety test system based on database injection test |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107301234A (en) | A kind of voice and word interactive system based on regulation and control atypia data | |
| WO2022088804A1 (en) | Message pushing method and apparatus, and electronic device, and storage medium | |
| CN110838065A (en) | Transaction data processing method and device | |
| CN104376081A (en) | Data application processing system, handhold terminal and on-site checking data processing system | |
| CN113811854A (en) | Microapp feature recommendations leveraging activity correlation across apps | |
| KR102361227B1 (en) | An apparatus for recognizing natural language of instant message and method thereof | |
| CN114219596A (en) | Data processing method based on decision tree model and related equipment | |
| CN114090408A (en) | Data monitoring and analysis method, device, computer equipment and storage medium | |
| CN116860856A (en) | Financial data processing method and device, computer equipment and storage medium | |
| CN115239185B (en) | Service provider's allocation methods, devices, computer equipment, and storage media | |
| CN203882342U (en) | Back brake operation order safe execution system | |
| CN112256695B (en) | Visualized graph calculation method and system, storage medium and electronic device | |
| CN111475375B (en) | A method and device for updating data status | |
| CN114372082A (en) | Data query method and device based on artificial intelligence, electronic equipment and medium | |
| CN113656812A (en) | A data management system and method based on big data technology | |
| CN120223750A (en) | A cloud resource management method, device, medium and equipment | |
| CN114707146B (en) | Workflow identification method, system, computer device and readable storage medium | |
| CN118674237A (en) | Machine tool working reporting method, device, equipment and storage medium | |
| CN117891915A (en) | Electric power customer service system | |
| CN105243096B (en) | A kind of XML file treating method and apparatus | |
| CN110648417A (en) | Attendance reminding method, system, medium and attendance equipment | |
| CN111061789A (en) | Smart power grids capital construction information management system | |
| CN115826926A (en) | Application creation method, device, equipment and storage medium | |
| CN114722025A (en) | Data prediction method, device and equipment based on prediction model and storage medium | |
| CN109978291A (en) | A kind of Multifunctional power network dispatching management information system |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171027 |