Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides a method for realizing a report designer with voice input, which can simplify report design operation and improve experience of users.
The invention also provides a report designer implementation system for voice input.
The invention also provides electronic control equipment.
The invention also proposes a computer readable storage medium.
In a first aspect, an embodiment of the present invention provides a report designer implementation method for voice input, including:
Collecting voice information and analyzing the voice information to obtain user intention;
Determining an action signal according to the user intention and a preset instruction database, wherein the preset instruction database comprises a first matching relation between the user intention and the action signal;
And the designer executes the operation corresponding to the action signal according to the action signal.
The implementation method of the report designer for voice input has at least the following beneficial effects: through analyzing the voice information to obtain the user intention, and then determining the action signal according to the user intention, the designer can execute the operation corresponding to the action signal according to the action signal, so that report design is realized in a voice mode, the report design operation is simple, and the experience of the user is improved.
According to other embodiments of the present invention, the report designer implementation method for voice input collects voice information and analyzes the voice information to obtain user intention includes:
Collecting the voice information and analyzing characters in the voice information to obtain language characters;
Determining the user intention according to the language words and a preset intention training data set, wherein the preset intention training data set comprises: and a second matching relationship between the language words and the user intention.
According to still other embodiments of the present invention, a report designer implementing method for voice input, the designer performing an operation corresponding to the action signal according to the action signal, includes:
Determining a user instruction according to the action signal;
The designer determines an operation flow according to the context of the user instruction;
And the designer executes corresponding operation according to the operation flow.
According to still other embodiments of the present invention, a report designer for speech input is implemented, the designer determining an operational flow according to a context of the user instruction comprising:
The designer determines a pre-operation and a main operation according to the context of the user instruction, wherein the pre-operation is an operation before the main operation is executed;
and determining the operation flow according to the pre-operation and the main operation.
Methods for implementing a report designer for voice input according to further embodiments of the present invention further comprise:
receiving a manual operation instruction;
And determining the front operation or the main operation according to the manual operation instruction.
Methods for implementing a report designer for voice input according to further embodiments of the present invention further comprise:
Monitoring an operation result of the designer for executing the operation corresponding to the action signal;
and feeding back prompt information corresponding to the operation result to the terminal equipment according to the operation result.
Methods for implementing a report designer for voice input according to further embodiments of the present invention further comprise:
acquiring the matching condition of the user intention and the voice information;
And updating the preset intention training data set according to the matching condition.
In a second aspect, one embodiment of the present invention provides a report designer implementation system for speech input, comprising:
the acquisition and analysis module is used for acquiring voice information and analyzing the voice information to obtain user intention;
The matching module is used for determining the action signal according to the user intention and a preset instruction database, wherein the preset instruction database comprises a first matching relation between the user intention and the action signal;
And the designer is used for executing the operation corresponding to the action signal according to the action signal.
The report designer implementation system for voice input of the embodiment of the invention has at least the following beneficial effects: through analyzing the voice information to obtain the user intention, and then determining the action signal according to the user intention, the designer can execute the operation corresponding to the action signal according to the action signal, so that report design is realized in a voice mode, the report design operation is simple, and the experience of the user is improved.
In a third aspect, an embodiment of the present invention provides an electronic control apparatus including:
at least one processor, and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the speech input report designer implementation method of any one of claims 1 through 7.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the report designer implementation method of speech input according to the first aspect.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Detailed Description
The conception and the technical effects produced by the present invention will be clearly and completely described in conjunction with the embodiments below to fully understand the objects, features and effects of the present invention. It is apparent that the described embodiments are only some embodiments of the present invention, but not all embodiments, and that other embodiments obtained by those skilled in the art without inventive effort are within the scope of the present invention based on the embodiments of the present invention.
In the description of the embodiments of the present invention, if "several" is referred to, it means more than one, if "multiple" is referred to, it is understood that the number is not included if "greater than", "less than", "exceeding", and it is understood that the number is included if "above", "below", "within" is referred to. If reference is made to "first", "second" it is to be understood as being used for distinguishing technical features and not as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
Artificial intelligence is undoubtedly one of the most popular topics at present, along with the high song of artificial intelligence, related applications are also continuously pushed out, such as voice assistants on smart phones, and the functions of making a call, playing music and the like can be achieved by using voice input.
Based on the method, the system, the equipment and the storage medium for realizing the report designer of the voice input are disclosed, and the report design can be more intelligent through the voice input so as to improve the experience of a user.
In a first aspect, referring to fig. 1, an embodiment of the present invention discloses a report designer implementation method for voice input, including:
S100, collecting voice information, and analyzing the voice information to obtain user intention;
s200, determining an action signal according to user intention and a preset instruction database, wherein the preset instruction database comprises a first matching relation between the user intention and the action signal;
s300, the designer executes operation corresponding to the action signal according to the action signal.
Firstly, setting a voice assistant dialogue interface, receiving voice input of a user through the voice assistant dialogue interface to acquire voice information, analyzing the voice information after acquiring the voice information to obtain user intention, determining an action signal according to the user intention and a preset instruction database after the user intention is clear, and the preset instruction database comprises a first matching relation of the user intention and the action signal. Therefore, the action signals are obtained and then sent to the designer, and the designer executes the operation corresponding to the action signals according to the action signals so as to carry out report design in a voice input mode, so that the report design is more intelligent and simplified, and the experience of a user is improved.
Referring to fig. 2, in some embodiments, step S100 includes:
s110, collecting voice information, and analyzing characters in the voice information to obtain language characters;
S120, determining the intention of a user according to language words and a preset intention training data set, wherein the preset intention training data set comprises: and a second matching relationship between the language words and the user intention.
The step S110 and the step S120 are executed through the AI service, and mainly identify and analyze the speech information to obtain the language words that the user wants to express, and then determine the user intention corresponding to the language words according to the language words and the preset intention training data set through the second matching relationship between the language words stored in the preset intention training data set and the user intention. The preset intention training data set comprises language characters which are possibly expressed by all users and second matching relations of corresponding user intentions, so that each time the language characters and the user intentions are updated, the second matching relations corresponding to the language characters and the user intentions are stored to be the preset intention training data set, and the accuracy of obtaining the user intentions is improved.
For example: assuming that the voice information input by the user is "I want to create a layout", and analyzing the language words of "I want to create a layout" through the voice information, and then determining the user intention of "create a layout" according to the language words of "I want to create a layout" and a preset intention training data set, so that the user intention operation is determined to be quick and accurate.
Referring to FIG. 3, in some embodiments, the report designer implementation method of voice input further comprises:
s400, acquiring the matching condition of the user intention and the voice information;
s500, updating a preset intention training data set according to the matching condition.
Since the preset intention training data set stores the second matching relationship between all the user intention and the language text, the corresponding relationship between the language text and the user intention changes with the development of the software design. Therefore, the matching condition of the user intention and the voice information determined each time needs to be obtained, and then the preset intention training data set is updated according to the matching condition so as to adjust the second matching relation between the language words in the preset intention training data set and the user intention, thereby improving the accuracy of obtaining the user intention according to the language words.
In some embodiments, the action signal is determined according to the user intention and the preset instruction database, and the first matching relationship between all the user intention and the action signal is stored in the preset instruction database, that is, the response corresponding to the user intention and the operation which needs to be performed are determined by determining the user intention, and the response is sent to the designer in the form of the action signal. Therefore, it is necessary to clarify the response corresponding to each user's intention, and the action signal of the transmission designer can be determined after the response is determined.
Referring to fig. 4, in some embodiments, step S300 includes:
s310, determining a user instruction according to the action signal;
s320, the designer determines an operation flow according to the context of the user instruction;
s330, the designer executes corresponding operation according to the operation flow.
The designer comprises a designer front end and a designer rear end, wherein the designer rear end mainly responds to the action signals to convert the action signals into user instructions corresponding to the action signals, and then the designer rear end lowers the user instructions to the designer front end to be executed through the designer front end. The front end of the designer determines an operation flow to be executed according to the context of the mobile user instruction, and then after the operation flow is determined, the front end of the designer executes corresponding operation according to the operation flow so as to realize the design of a user voice operation report. The motion signal obtained from the voice information corresponds to a motion signal input by the user through the mouse.
Referring to fig. 5, in some embodiments, step S320 includes:
S321, the designer determines a pre-operation and a main operation according to the context of the user instruction, wherein the pre-operation is the operation before the main operation is executed;
s322, determining an operation flow according to the pre-operation and the main operation.
The main operation is to pop up no page from the main interface of the designer under the assumption that the designer is in the main interface of the designer, and the component to be edited is the component to be operated by the user instruction and the step to be executed by the user instruction. For example, the main operation of the user instruction "create layout" is "create layout component on interface". The pre-operation is an operation executed before the main operation is executed, for example, the current designer just sets data for the histogram, a popped data setting page is still reserved on the main interface of the designer, and at this time, the pre-operation of executing the user instruction "create layout" is "save and close the data setting page", that is, the state existing before the main operation is changed into the initial state of the main operation. The designer thus determines the primary operation and the pre-operation according to the context of the user instruction, and the pre-operation is determined after detecting the current state of the designer after the primary operation is determined, so the primary operation is necessarily present, but the pre-operation is likely not present. Therefore, the main operation and the pre-operation are determined according to the context of the user instruction and the current state of the designer, so that a corresponding operation flow is formed according to the main operation and the pre-operation, and the corresponding operation can be accurately and quickly executed according to the operation flow, thereby completing report design.
For example, if the action signal is a drag bar graph in the designer, and the style, data are set for it, then the component being edited recorded in the context of the user instructions is the bar graph. If the action signal is to drag into the bar graph in the designer, a data setting page needs to be popped up for setting data, and then the page path of the designer in the context of the user instruction is the designer main interface→the component data setting page. Therefore, the context of the user instruction is obtained accurately through the action signal, and the main operation and the front operation are formed accurately according to the context of the user instruction.
Referring to FIG. 6, in some embodiments, the report designer implementing the method for voice input further comprises:
S600, receiving a manual operation instruction;
s700, determining a front operation or a main operation according to the manual operation instruction.
The action signal output to the designer through the voice information corresponds to a manual operation instruction, so that the front-end operation or the main operation is determined according to the manual operation instruction, and the designer performs the corresponding operation according to the front-end operation or the main operation. Report design is carried out in a manual mode, so that report design can be carried out in a manual mode after voice input faults, and experience of a user for report design is improved.
Referring to FIG. 7, in some embodiments, the report designer implementing the method for voice input further comprises:
S800, monitoring an operation result of the designer for executing operation corresponding to the action signal;
S900, feeding back prompt information corresponding to the operation result to the terminal equipment according to the operation result.
After the designer finishes the operation according to the operation flow, the operation result after the designer finishes the operation flow is monitored, and prompt information is synthesized according to the operation result, wherein the prompt information can be voice prompt information, word prompt information, lamplight prompt information and the like, so that the prompt information is fed back to the terminal equipment, and a user can conveniently design the operation result through the terminal, so that the experience of the user is improved.
A report designer implementation method of voice input according to an embodiment of the present invention is described in detail below with reference to fig. 1 through 7 in a specific embodiment. It is to be understood that the following description is exemplary only and is not intended to limit the invention in any way.
And identifying and analyzing the voice information to obtain language words which the user wants to express, and determining the user intention corresponding to the language words according to the language words and the preset intention training data set through a second matching relation between the language words stored in the preset intention training data set and the user intention. Determining an action signal according to the user intention and a preset instruction database, wherein the rear end of the designer mainly responds to the action signal to convert the action signal into a user instruction corresponding to the action signal, and determining main operation and front operation according to the context of the user instruction and the current state of the designer so as to form a corresponding operation flow according to the main operation and the front operation, so that the corresponding operation can be accurately and quickly executed according to the operation flow, and the report design is completed.
In a second aspect, referring to fig. 8, an embodiment of the present invention further includes a report designer implementation system for voice input, comprising: the system comprises a collection and analysis module 100, a matching module 200 and a designer 300, wherein the collection and analysis module 100 is used for collecting voice information and analyzing the voice information to obtain user intention; the matching module 200 is configured to determine an action signal according to a user intention and a preset instruction database, where the preset instruction database includes a first matching relationship between the user intention and the action signal; the designer 300 is used for executing operations corresponding to the motion signals according to the motion signals.
After the voice information is analyzed by the acquisition and analysis module to obtain the user intention and the motion information is determined by the matching module 200 according to the user intention, the designer 300 can execute the operation corresponding to the motion signal according to the motion signal to perform report design in a voice manner, so that the report design operation is simple and easy, and the experience of the user is improved.
In a third aspect, an electronic control apparatus includes: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the report designer implementation method of speech input as in the first aspect.
The electronic control device in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an augmented reality (augmented reality, AR) \virtual reality (VR) device, or the like, including the above-mentioned folding screen, and the embodiment of the present application is not limited to a specific form of the electronic device.
The processor may include one or more processing units, such as: the processors may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural-Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
In a fourth aspect, embodiments of the present invention also include a computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform a report designer implementation method as the speech input of the first aspect.
The above described apparatus embodiments are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present invention. Furthermore, embodiments of the invention and features of the embodiments may be combined with each other without conflict.