CN108153574A - Applied program processing method, device and electronic equipment - Google Patents
Applied program processing method, device and electronic equipment Download PDFInfo
- Publication number
- CN108153574A CN108153574A CN201711463987.0A CN201711463987A CN108153574A CN 108153574 A CN108153574 A CN 108153574A CN 201711463987 A CN201711463987 A CN 201711463987A CN 108153574 A CN108153574 A CN 108153574A
- Authority
- CN
- China
- Prior art keywords
- node
- operational controls
- application program
- page
- courses
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention provides a kind of applied program processing method, device and electronic equipment, this method and includes:Plug-in unit receives the first voice input by user, and input voice is identified the meaning to obtain this voice.Further according to this voice meaning from a plurality of courses of action having generated, corresponding with this application program, the object run path to match with voice meaning is determined, wherein, the courses of action generated are made of operational controls sequence node.Plug-in unit to application program send execute instruction, each operational controls node of the application response in execute instruction successively performance objective courses of action, so as to fulfill with the first corresponding function of voice input by user.It can be so that application program realizes corresponding function by voice control, it that is to say and provide a kind of completely new voice operating pattern for application program, it eliminates and is realizing multiple clicking operation needed for this function course, easy operation while also improves the use stickiness of user.
Description
Technical field
The present invention relates to a kind of field of computer technology more particularly to applied program processing method, device and electronic equipments.
Background technology
Smart mobile phone can expand the function of mobile phone by downloading application program.In recent years, with the hair of smart mobile phone
Exhibition, major software company try to be the first exploitation for meeting the application program of user's different aspect demand, and in each application program
The function of offer is also increasingly abundanter.
But when user actually uses application program, in order to realize a certain function, user generally requires repeatedly to click corresponding
Function button, by interface layer by layer, finally could enter the corresponding page of the function.Make the operating process of user become in this way
It is sufficiently complex.Meanwhile for smart mobile phone using unskilled user, the operating process of this complexity can also substantially reduce them
Viscosity is used to application program.
Invention content
In view of this, the embodiment of the present invention provides a kind of applied program processing method, device and electronic equipment, to simplicity
The operation of user, that improves user uses viscosity.
The embodiment of the present invention provides a kind of applied program processing method, including:
Receive the input voice of the first user;
From generated courses of action corresponding with application program, according to the corresponding function mark of the courses of action
The matching of label and the input voice determines object run path corresponding with the input voice, the object run road
Diameter is made of operational controls sequence node;
Execute instruction is sent to the application program, so that the application program is performed successively in the object run path
Each operational controls node.
Optionally, it is described to send execute instruction to the application program, so that the application program performs the mesh successively
Each operational controls node in courses of action is marked, including:
With reference to the corresponding default page structure element database of the application program, the current page of the application program is identified
The page structure element included in face;
According to the corresponding page structure element of operational controls node each in the object run path, from each behaviour
Make to determine startup operation control node in control node, wherein, the corresponding page structure element of the startup operation control node
It is identical with the page structure element included in the current page;
Execute instruction is sent to the application program, so that the application program is since the startup operation control node
The remaining operation control node in the object run path is performed successively.
Optionally, the method further includes:
Obtain the corresponding operational controls node tree of the application program;
The operational controls node tree gradually is begun stepping through from the root node of the operational controls node tree, at current time
Generation and this traversal corresponding courses of action when the operational controls node gone through meets cut-off condition;
Wherein, the cut-off condition includes:The operational controls node currently traversed is leaf node, alternatively, current time
The operational controls node that the page structure element corresponding to operational controls node gone through has stepped through before with this traversal
Corresponding page structure element is identical.
Optionally, the method further includes:
During this time traversal, for any operation control node traversed, it is described any to obtain operation
Page elements included in the page shown after operational controls node in the default page structure element database with including
Page structure element between intersection as the corresponding page structure element of any operation control node.
Optionally, the generation is with after this corresponding courses of action of traversal, further including:
According to the traversal order of each operational controls node in the corresponding courses of action of this time traversal, each behaviour is shown
Make the corresponding page of control node;
It is corresponding with the corresponding courses of action of this time traversal according to the page input shown to receive second user
Functional label;
Corresponding courses of action and the functional label are this time traversed described in associated storage.
The embodiment of the present invention provides a kind of application processing apparatus, including:
Receiving module, for receiving the input voice of the first user;
Path determination module, for from generated courses of action corresponding with application program, according to the operation road
The matching of the corresponding functional label of diameter and the input voice determines object run road corresponding with the input voice
Diameter, the object run path are made of operational controls sequence node;
Sending module, for sending execute instruction to the application program so that the application program perform successively it is described
Each operational controls node in object run path.
Optionally, the sending module specifically includes:
Recognition unit, for reference to the corresponding default page structure element database of the application program, identification is described should
With the page structure element included in the current page of program;
Node determination unit, for according to the corresponding page knot of operational controls node each in the object run path
Constitutive element determines startup operation control node from each operational controls node, wherein, the startup operation control node pair
The page structure element answered is identical with the page structure element included in the current page;
Transmitting element, for sending execute instruction to the application program, so that the application program is grasped from the starting
Make control node and start to perform remaining operation control node in the object run path successively.
Optionally, described device further includes:
Node acquisition module, for obtaining the corresponding operational controls node tree of the application program;
Generation module, for gradually beginning stepping through the operational controls node from the root node of the operational controls node tree
Tree, generation and this traversal corresponding courses of action during meeting cut-off condition in the operational controls node currently traversed;
Wherein, the cut-off condition includes:The operational controls node currently traversed is leaf node, alternatively, current time
The operational controls node that the page structure element corresponding to operational controls node gone through has stepped through before with this traversal
Corresponding page structure element is identical.
Optionally, described device further includes:
Display module, for suitable according to the traversal of each operational controls node in the corresponding courses of action of this time traversal
Sequence shows the corresponding page of each operational controls node;
Receiving module, for receiving second user according to the page input shown and described this time corresponding behaviour of traversal
Make the corresponding functional label in path;
Memory module, for this time traversing corresponding courses of action and the functional label described in associated storage.
The embodiment of the present invention provides a kind of electronic equipment, including:Processor and the storage being connected to the processor
Device;
The memory, for storing one or more computer instruction, wherein, one or more computer instruction
It calls and performs for the processor;
The processor, for performing one or more computer instruction in above-mentioned applied program processing method
Any one method.
Applied program processing method provided in an embodiment of the present invention, device and electronic equipment are installed simultaneously on terminal device
There are plug-in unit and application program.First, plug-in unit receives the first voice input by user, and input voice is identified to obtain this
The meaning of voice.Then, further according to this voice meaning from a plurality of courses of action having generated, corresponding with this application program
In, determine the object run path to match with voice meaning, this matching can be shown as:The functional label in object run path
It is same or similar with voice meaning, wherein, the courses of action generated are made of operational controls sequence node.Plug-in unit to
Application program sends execute instruction, each operation control of the application response in execute instruction successively performance objective courses of action
Part node, so as to fulfill with the first corresponding function of voice input by user.It can be so that application program by voice control
It realizes corresponding function, that is to say and provide a kind of completely new voice operating pattern for application program, eliminate and realizing this work(
Can multiple clicking operation needed for process, easy operation while also improves the use stickiness of user.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Some bright embodiments, for those of ordinary skill in the art, without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of applied program processing method embodiment one provided in an embodiment of the present invention;
Fig. 2 is the flow chart of applied program processing method embodiment two provided in an embodiment of the present invention;
Fig. 3 is the flow chart of applied program processing method embodiment three provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of application processing apparatus embodiment one provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of application processing apparatus embodiment two provided in an embodiment of the present invention;
Fig. 6 is the structure diagram of application processing apparatus embodiment three provided in an embodiment of the present invention;
Fig. 7 is the structure diagram of electronic equipment embodiment one provided in an embodiment of the present invention.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only merely for the purpose of description specific embodiment, and is not intended to be limiting
The present invention.In the embodiment of the present invention and " one kind " of singulative used in the attached claims, " described " and "the"
It is also intended to including most forms, unless context clearly shows that other meanings, " a variety of " generally comprise at least two, but not
It excludes comprising at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent
There may be three kinds of relationships, for example, A and/or B, can represent:Individualism A, exists simultaneously A and B, individualism B these three
Situation.In addition, character "/" herein, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
It will be appreciated that though XXX may be described using term first, second, third, etc. in embodiments of the present invention, but
These XXX should not necessarily be limited by these terms.These terms are only used for XXX being distinguished from each other out.For example, not departing from implementation of the present invention
In the case of example range, the first XXX can also be referred to as the 2nd XXX, and similarly, the 2nd XXX can also be referred to as the first XXX.
Depending on linguistic context, word as used in this " if ", " if " can be construed to " ... when " or
" when ... " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " such as
Fruit detects (condition or event of statement) " " when determining " or " in response to determining " can be construed to or " when detection (statement
Condition or event) when " or " in response to detect (condition or event of statement) ".
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that commodity or system including a series of elements not only include those elements, but also including without clear and definite
It the other element listed or further includes as this commodity or the intrinsic element of system.In the feelings not limited more
Under condition, the element that is limited by sentence "including a ...", it is not excluded that in the commodity including the element or system also
There are other identical elements.
Fig. 1 is the flow chart of applied program processing method embodiment one provided in an embodiment of the present invention, the present embodiment provides
The executive agent of the applied program processing method can be the plug-in unit being installed on terminal device, as shown in Figure 1, this method packet
Include following steps:
S101 receives the input voice of the first user.
S102, from generated courses of action corresponding with application program, according to the corresponding function of courses of action
The matching of label and input voice determines object run path corresponding with input voice, and object run path is controlled by operation
Part sequence node forms.
After first user opening is installed on a certain application program on terminal device, provided in this application program if wanting to realize
A certain function, such as payment, chat, at this point, the first user can to terminal device input voice.Equally it is installed on terminal
Plug-in unit in equipment can receive the input voice of user, and pass through built-in speech recognition algorithm and identify this input voice
Meaning.Wherein, optionally, the first user can be the user of terminal device, in practical applications, this user either
Ordinary user can also be mounted to the developer of the plug-in unit on terminal device.Optionally, built-in speech recognition algorithm can be with
It is the deep learning algorithm based on neural network model, based on Hidden Markov Model (Hidden Markov Model, HMM)
Speech recognition algorithm etc..
Plug-in unit is determined further according to the voice meaning identified from generated courses of action corresponding with the application program
Go out a target courses of action, wherein, the functional label in this object run path and the voice meaning identified have matching,
This matching, which can show as the functional label in object run path and the voice meaning identified, has same or similar contain
Justice.The matching between functional label and voice meaning is determined it can be appreciated that determining similarity therebetween, optionally,
The similarity of the two can be calculated based on corpus or semantic dictionary.When the two similarity is more than default value, then it represents that
Functional label has matching with voice meaning.Wherein, the object run path either determined or generated operation
Other paths in path are all made of operational controls sequence node.Optionally, the operational controls section of courses of action is formed
Point sequence is appreciated that the sequence of the control triggered during a certain function in application program to be realized.Wherein, control
Can be the page in provide can interactive button, the first user by click can interactive button a certain function can be realized.In reality
Border application in, with payment application for example, can interactive button can be positioned at page lower part " homepage ", " public praise ",
The buttons such as " friend ", " I ".
Optionally, the specific generating process and " courses of action of " the generated courses of action " involved in foregoing description
The specific setting up procedure of corresponding functional label " can be no longer detailed herein referring to the associated description in following embodiments three
Expansion.
S103 sends execute instruction to application program, so that application program each behaviour in performance objective courses of action successively
Make control node.
After object run path is determined, plug-in unit sends execute instruction, optionally, this execute instruction to the application program
Include forming the operational controls sequence node in object run path.Application program is held successively according to the control instruction received
The each operational controls node of row.Often one operation and control node of execution is all equivalent to one that the first user is clicked in the page and controls
Part.After the completion of each operational controls node in object run path all performs, application journey that terminal device is currently shown
The page of sequence is the corresponding page of voice meaning that voice is inputted with the first user, with realize using plug-in unit to application program into
Row voice control.
It should be noted that above-mentioned and following embodiments can be understood as:To the application journey being installed on terminal device
Sequence provides a kind of method for carrying out voice control to application program using plug-in unit.Optionally, plug-in unit can be on terminal device
All application programs carry out voice control, can also only on terminal device certain applications program carry out voice control.When
When plug-in unit carries out voice control to certain applications program, the first user can be according to the related work(provided in terminal device system
Can, such as miscellaneous function, artificially select the part application program for needing that voice control is carried out using plug-in unit.Specifically,
Terminal device needs the correlation function provided in first open system, and then, the first user can be according to self-demand from terminal
The application program for wanting to realize voice control is selected in the application list of equipment.
In the present embodiment, the plug-in unit being installed on terminal device receives the first voice input by user, and to inputting voice
The meaning to obtain this voice is identified.Then, further according to this voice meaning from having generated, corresponding with this application program
A plurality of courses of action in, determine the object run path to match with voice meaning, this matching can be shown as:Object run
The functional label in path and voice meaning are same or similar, wherein, the courses of action generated are by operational controls node sequence
Row composition.Plug-in unit sends execute instruction to application program, and application response operates road in execute instruction successively performance objective
Each operational controls node in diameter, so as to fulfill with the first corresponding function of voice input by user.Pass through voice control
It can that is to say and provide a kind of completely new voice operating pattern for application program so that application program realizes corresponding function,
It eliminates and is realizing multiple clicking operation needed for this function course, easy operation while also improves the use of user
Stickiness.
The starting point of generated all courses of action both corresponds to the homepage of application program, in above-described embodiment one, not
When being limited to the first user input voice, it is also non-homepage that the current page of application program, which is homepage,.And in practical applications,
Probably it will appear:When application program current page is non-homepage, the first user inputs the situation of voice.If at this point, using
If each operational controls node that program remains unchanged successively in performance objective courses of action, just will appear application program needs first from
The current non-homepage page first returns to the homepage page, then enter layer by layer from the homepage page according to object run path, to reach
Final target pages.It thus will appear certain pages to repeat, reduce the speed for reaching target pages.
In order to avoid the appearance of the above problem, Fig. 2 is applied program processing method embodiment provided in an embodiment of the present invention
Two flow chart, as shown in Fig. 2, this method comprises the following steps:
S201 receives the input voice of the first user.
S202, from generated courses of action corresponding with application program, according to the corresponding function of courses of action
The matching of label and input voice determines object run path corresponding with input voice, and object run path is controlled by operation
Part sequence node forms.
Above-mentioned steps S201-S202 implementation procedures are similar to the corresponding steps of previous embodiment, may refer to as shown in Figure 1
Or else associated description in embodiment, repeats herein.
S203, the corresponding default page structure element database of connected applications program, the current page of recognition application
In the page structure element that includes.
The corresponding function that plug-in unit can be provided by terminal device, such as the miscellaneous function involved in embodiment one, in real time
Obtain the page elements included in application program current page.It can include page data member in the page elements got simultaneously
Element and page structure element.Wherein, page structure element is the original that application program there is after the completion of application development
Beginning element, page data element are with the constantly newly-increased element of the use of the first user.
It is optional after the corresponding function provided in plug-in unit by terminal device obtains the page elements included in current page
Ground, since the page structure element and page data element of acquisition can be stored in a data packet, it is optional
Ground, plug-in unit can identify page structure element from page elements in the following manner:
The page elements of corresponding default page structure element database and the current page got to application program
Intersection is taken, the element included in intersection is the page structure element included in application program current page.
Wherein, by taking the homepage of chat application as an example, when the first user logs in this chat application for the first time, homepage
Present in have interactive function fixation control, such as homepage below provide " homepage ", " address list ", " it was found that " and
Other literal fields without interactive function occurred in the fixed control such as " I " and homepage, such as positioned at homepage top
" homepage " field of middle position, these primitive elements may be considered page structure element.
As this chat application is continued on by the first user, can gradually be increased newly in the homepage of this chat application
Chat box, chat content and application program with certain contact person in address list is according to the hobby automatic push of the first user
Content is pushed, these are not that the newly-increased element being inherently present in homepage may be considered page data element.
Wherein, the default page structure element database corresponding with application program involved in foregoing description can be herein
Application program is after installation is complete, what plug-in unit can be directly obtained.Optionally, this default page structure element database can be
The corresponding source file of this application program, and this source file is the i.e. producible file after the completion of application development.Wherein,
Optionally, include the page structure member included in all pages of this application program in this default page structure element database
Element, and the page structure element of each page is specifically as follows the control with interactive function included in the page, control institute
Various literal fields and literal field position without interactive function etc. in position, the page.
S204, according to the corresponding page structure element of operational controls node each in object run path, from each operation
Startup operation control node is determined in control node, wherein, the corresponding page structure element of startup operation control node with it is current
The page structure element included in the page is identical.
S205 sends execute instruction, so that application program is held successively since startup operation control node to application program
Remaining operation control node in row object run path.
After the page structure element included in current page is determined, optionally, plug-in unit can utilize what is pre-established
Incidence relation between page structure element and operational controls node determines the page structure element and mesh included in current page
That the operational controls node marked in courses of action is corresponding, and using the operational controls node determined as startup operation control
Node.Optionally, the foundation of the incidence relation between page structure element and operational controls node can be may refer to down with process
State the associated description in embodiment three.
Then, plug-in unit can send execute instruction to application program, this execute instruction includes this startup operation control section
Point.Application program is after execute instruction is received at this time, and since this startup operation control node, performance objective operates road successively
Remaining operation control node in diameter.
It should be noted that the application program involved in above-mentioned and following embodiments is that plug-in unit is allowed to carry out voice to it
The application program of control.And which application program is that plug-in unit is allowed to carry out voice control to it in terminal device, can be referred to
Back-page associated description in embodiment one, details are not described herein.
In the present embodiment, plug-in unit is inserted after object run path is determined according to the input voice for receiving the first user
Part can obtain the page elements of current page by the correlation function provided in terminal device, corresponding with reference to this application program
The page elements of default page structure element database and current page identify the page structure member included in current page
Element.The page knot with current page is determined further according to incidence relation preset between page structure element and operational controls node
The associated operational controls node of constitutive element, that is, startup operation control node.Finally, plug-in unit will include startup operation control node
Execute instruction is sent to application program, application program can since startup operation control node performance objective courses of action successively
In remaining operational controls node.When the current page of application program is the non-homepage page, then application program can be from current page
The corresponding operational controls node of page structure element in face starts to perform execute instruction, in the process for reaching final target pages
In be not in that the page retracts reentrant situation, improve the speed for reaching target pages.
The various embodiments described above are all to generate courses of action, and each operational controls node in courses of action
All there are what is carried out on the basis of corresponding page structure element, based on this, Fig. 3 is application program provided in an embodiment of the present invention
The flow chart of processing method embodiment three, as shown in figure 3, this method comprises the following steps:
S301 obtains the corresponding operational controls node tree of application program.
S302 gradually begins stepping through operational controls node tree, to be traversed currently from the root node of operational controls node tree
To operational controls node meet cut-off condition when generation and this corresponding courses of action of traversal.
According to associated description in above-described embodiment, plug-in unit can be by the corresponding function of terminal device offer, such as assists
Function obtains control present in each page in application program.Simultaneously after control present in each page is got, insert
Part can also further be obtained according to the control got it is corresponding with this application program, operational controls section is formed by each control
Point tree.
The root node of plug-in unit from operational controls node tree begins stepping through each operational controls section in operational controls node tree
Point, in conjunction with traversal cut-off condition generation courses of action.
Specifically, the operational controls node currently traversed be leaf node, the operational controls section traversed before that is to say
The no corresponding next stage operational controls node of point.At this point, plug-in unit can stop the traversal of this operational controls node, Ke Yiyou
This leaf node and operational controls node traversed before this time traverse corresponding one according to the sequencing composition of traversal
Courses of action.
The page structure element corresponding to operational controls node currently traversed has stepped through before with this traversal
Operational controls node corresponding to page structure element it is identical, then show page structure element in ergodic process before
It is repeated to occur, the state constantly recycled is will appear if traversal is continued.At this point, plug-in unit can stop this operational controls
The traversal of node, by the operational controls node currently traversed with operational controls node traversed before according to the priority of traversal
Sequence composition this time traverses a corresponding courses of action.
After to the operational controls node in operational controls node tree all traversal, you can generation is corresponding with application program
Courses of action.
After generating courses of action, optionally, plug-in unit can also establish operational controls node and page member in the following manner
Incidence relation between element.
During traversing each time, after any operation control node traversed, plug-in unit, which can obtain, operates certain
Page elements included in the page shown after one operational controls node A, page elements include page structure element and page
" the page structure element included in the current page of recognition application " is similar in face data element, with embodiment two,
Plug-in unit can be to the page elements included in the page of display and the page structure included in default page structure element database
Element does intersection, and using the element included in intersection as the corresponding page structure elements of this operational controls node A, at this time plug-in unit
It that is to say the incidence relation established between operational controls node A and page structure element.
In addition, according to the applied program processing method that above-described embodiment provides, mesh is being carried out according to the input voice of user
It in the confirmation engineering for marking courses of action, needs to use the corresponding functional label of courses of action, therefore, optionally, this applies journey
Sequence processing method can also include the following steps:
S303 according to the traversal order of each operational controls node in this corresponding courses of action of traversal, shows each operation
The corresponding page of control node.
It is corresponding with this corresponding courses of action of traversal according to the page input shown to receive second user by S304
Functional label.
S305, associated storage this time traverse corresponding courses of action and functional label.
After one courses of action of every generation, plug-in unit can utilize the correlation function that terminal device provides, such as assist work(
Can, obtain with each operational controls node difference corresponding page element in courses of action, and generated respectively according to page elements with respectively
Operational controls node corresponding page.Plug-in unit is again by the screen of terminal device, by the corresponding page of each operational controls node
Sequence according to operational controls node each in this courses of action is shown successively.The displaying successively that second user passes through the page is
The function that this courses of action of can be known are realized.Optionally, second user is usually the developer of plug-in unit.Second user can be with
Functional label corresponding with this courses of action is inputted to the screen of terminal device according to the function that courses of action are realized.Finally, it inserts
Part stores the incidence relation between courses of action and functional label again.
In the present embodiment, plug-in unit can obtain the corresponding operation of application program according to the corresponding function that terminal device provides and control
Part node tree.By way of traversing successively, courses of action corresponding with this application program are generated with reference to traversal cut-off condition.Together
When, plug-in unit can establish the incidence relation between each operational controls node and page structure element in courses of action.Further,
Plug-in unit by the corresponding page of operational controls node in display operation path successively, makes second user to courses of action setting pair again
The functional label answered, and the incidence relation between courses of action and functional label is stored.Can make in this way plug-in unit according to
The functional label of the courses of action of input voice and the second user setting of first user determines a target courses of action.
When the first user inputs voice, plug-in unit can realize the voice control to application program according to object run path, so as to letter
Change the operation of user.
Fig. 4 is the structure diagram of application processing apparatus embodiment one provided in an embodiment of the present invention, such as Fig. 4 institutes
Show, which includes:Receiving module 11, path determination module 12 and sending module 13.
Receiving module 11, for receiving the input voice of the first user.
Path determination module 12, for from generated courses of action corresponding with application program, according to courses of action
The matching of corresponding functional label and input voice determines object run path corresponding with input voice, target behaviour
Make path to be made of operational controls sequence node.
Sending module 13, for sending execute instruction to application program, so that performance objective operates road to application program successively
Each operational controls node in diameter.
Fig. 4 shown devices can perform the method for embodiment illustrated in fig. 1, and the part that the present embodiment is not described in detail can join
Examine the related description to embodiment illustrated in fig. 1.In implementation procedure and the technique effect embodiment shown in Figure 1 of the technical solution
Description, details are not described herein.
Fig. 5 is the structure diagram of application processing apparatus embodiment two provided in an embodiment of the present invention, such as Fig. 5 institutes
Show, on the basis of embodiment shown in Fig. 4, the sending module 13 in the application processing apparatus specifically includes:
Recognition unit 131, for the corresponding default page structure element database of connected applications program, recognition application
Current page in the page structure element that includes.
Node determination unit 132, for according to the corresponding page knot of operational controls node each in object run path
Constitutive element determines startup operation control node from each operational controls node, wherein, the corresponding page of startup operation control node
Structural element is identical with the page structure element included in current page.
Transmitting element 133, for sending execute instruction to application program, so that application program is from startup operation control node
Start the remaining operation control node in performance objective courses of action successively.
Fig. 5 shown devices can perform the method for embodiment illustrated in fig. 2, and the part that the present embodiment is not described in detail can join
Examine the related description to embodiment illustrated in fig. 2.In implementation procedure and the technique effect embodiment shown in Figure 2 of the technical solution
Description, details are not described herein.
Fig. 6 is the structure diagram of application processing apparatus embodiment three provided in an embodiment of the present invention, such as Fig. 6 institutes
Show, on the basis of embodiment shown in Fig. 5, which further includes:First acquisition module 21 and generation module 22.
Node acquisition module 21, for obtaining the corresponding operational controls node tree of application program.
Generation module 22, for gradually beginning stepping through operational controls node tree from the root node of operational controls node tree, with
Generation and this corresponding courses of action of traversal when the operational controls node currently traversed meets cut-off condition, wherein, it cuts
Only condition includes:The operational controls node currently traversed is leaf node, alternatively, the operational controls node institute currently traversed
The page structure element corresponding to operational controls node being had stepped through before corresponding page structure element and this traversal
It is identical.
Optionally, which further includes:Second acquisition module 23.
Element acquisition module 23, for during this traversal, for any operation control node traversed, obtaining
Page elements included in the page shown after extract operation any operation control node and default page structure element database
In intersection between the page structure element that includes as the corresponding page structure element of any operation control node.
Optionally, which further includes:Display module 24, receiving module 25 and memory module 26.
Display module 24, for traversing the traversal order of each operational controls node in corresponding courses of action according to this,
Show the corresponding page of each operational controls node.
Receiving module 25, for receiving second user according to the page input shown and this corresponding operation of traversal
The corresponding functional label in path.
Memory module 26 this time traverses corresponding courses of action and functional label for associated storage.
Fig. 6 shown devices can perform the method for embodiment illustrated in fig. 3, and the part that the present embodiment is not described in detail can join
Examine the related description to embodiment illustrated in fig. 3.In implementation procedure and the technique effect embodiment shown in Figure 3 of the technical solution
Description, details are not described herein.
The foregoing describe the built-in function and structure of application processing apparatus, in a possible design, using journey
The structure of order processing apparatus can be realized as an electronic equipment.Fig. 7 is electronic equipment embodiment one provided in an embodiment of the present invention
Structure diagram, as shown in fig. 7, the electronic equipment includes:Processor 31 and the memory 32 being connect with processor.Storage
Device 32 is used to store the program of applied program processing method provided in any of the above-described embodiment of electronic equipment execution.Processor 31
Be configurable for performing the program that stores in memory 32, program includes one or more computer instruction, wherein, one or
A plurality of computer instruction can realize following steps when being performed by processor 31:
Receive the input voice of the first user;
From generated courses of action corresponding with application program, according to the corresponding functional label of courses of action with
The matching of voice is inputted, determines object run path corresponding with input voice, object run path is by operational controls node
Sequence forms;
Execute instruction is sent to application program, so that application program each operational controls in performance objective courses of action successively
Node.
Optionally, processor 31 is additionally operable to perform all or part of step in aforementioned approaches method step.
Wherein, communication interface 33 can also be included in the structure of electronic equipment, for electronic equipment and other equipment or is led to
Communication network communicates.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can
To be or may not be physically separate, the component shown as unit may or may not be physics list
Member, you can be located at a place or can also be distributed in multiple network element.It can be selected according to the actual needs
In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Labour in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of required general hardware platform is added, naturally it is also possible to which reality is come with reference to by way of hardware and software
It is existing.Based on such understanding, the part that above-mentioned technical proposal substantially in other words contributes to the prior art can be with product
Form embody, which can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD
Deng including some instructions use so that a computer installation (can be personal computer, server or network equipment etc.)
Perform the method described in certain parts of each embodiment or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
To modify to the technical solution recorded in foregoing embodiments or carry out equivalent replacement to which part technical characteristic;
And these modification or replace, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of applied program processing method, which is characterized in that including:
Receive the input voice of the first user;
From generated courses of action corresponding with application program, according to the corresponding functional label of the courses of action with
The matching of the input voice determines to input the corresponding object run path of voice with described, the object run path by
Operational controls sequence node forms;
To the application program send execute instruction so that the application program perform successively it is each in the object run path
Operational controls node.
2. according to the method described in claim 1, it is characterized in that, it is described to the application program send execute instruction so that
The application program performs each operational controls node in the object run path successively, including:
With reference to the corresponding default page structure element database of the application program, in the current page for identifying the application program
Comprising page structure element;
According to the corresponding page structure element of operational controls node each in the object run path, from each operation control
Startup operation control node is determined in part node, wherein, the corresponding page structure element of the startup operation control node and institute
It is identical to state the page structure element included in current page;
To the application program send execute instruction so that the application program since the startup operation control node successively
Perform the remaining operation control node in the object run path.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
Obtain the corresponding operational controls node tree of the application program;
The operational controls node tree gradually is begun stepping through from the root node of the operational controls node tree, to be traversed currently
Operational controls node generation and this traversal corresponding courses of action when meeting cut-off condition;
Wherein, the cut-off condition includes:The operational controls node currently traversed is leaf node, alternatively, currently traversing
Operational controls node corresponding to page structure element and this traversal before the operational controls nodes institute that has stepped through it is right
The page structure element answered is identical.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
During this time traversal, for any operation control node traversed, obtain and operate any operation
The page included in page elements included in the page shown after control node and the default page structure element database
Intersection between the structural element of face is as the corresponding page structure element of any operation control node.
5. according to the method described in claim 3, it is characterized in that, it is described generation and this corresponding courses of action of traversal it
Afterwards, it further includes:
According to the traversal order of each operational controls node in the corresponding courses of action of this time traversal, displaying each operation control
The corresponding page of part node;
Receive the corresponding work(of courses of action corresponding with this time traversal that second user is inputted according to the page shown
It can label;
Corresponding courses of action and the functional label are this time traversed described in associated storage.
6. a kind of application processing apparatus, which is characterized in that including:
Receiving module, for receiving the input voice of the first user;
Path determination module, it is each according to the courses of action for from generated courses of action corresponding with application program
The matching of self-corresponding functional label and the input voice determines object run path corresponding with the input voice,
The object run path is made of operational controls sequence node;
Sending module, for sending execute instruction to the application program, so that the application program performs the target successively
Each operational controls node in courses of action.
7. device according to claim 6, which is characterized in that the sending module specifically includes:
Recognition unit, for reference to the corresponding default page structure element database of the application program, identification is described to apply journey
The page structure element included in the current page of sequence;
Node determination unit, for according to the corresponding page structure member of operational controls node each in the object run path
Element determines startup operation control node from each operational controls node, wherein, the startup operation control node is corresponding
Page structure element is identical with the page structure element included in the current page;
Transmitting element, for sending execute instruction to the application program, so that the application program is from the startup operation control
Part node starts to perform the remaining operation control node in the object run path successively.
8. device according to claim 7, which is characterized in that described device further includes:
Node acquisition module, for obtaining the corresponding operational controls node tree of the application program;
Generation module, for gradually beginning stepping through the operational controls node tree from the root node of the operational controls node tree,
Generation and this traversal corresponding courses of action during meeting cut-off condition in the operational controls node currently traversed;
Wherein, the cut-off condition includes:The operational controls node currently traversed is leaf node, alternatively, currently traversing
Operational controls node corresponding to page structure element and this traversal before the operational controls nodes institute that has stepped through it is right
The page structure element answered is identical.
9. device according to claim 8, which is characterized in that described device further includes:
Display module, for according to the traversal order of each operational controls node in the corresponding courses of action of this time traversal, exhibition
Show the corresponding page of each operational controls node;
Receiving module, for receiving the operation road corresponding with this time traversal that second user is inputted according to the page shown
The corresponding functional label of diameter;
Memory module, for this time traversing corresponding courses of action and the functional label described in associated storage.
10. a kind of electronic equipment, which is characterized in that including:Processor and the memory being connected to the processor;
The memory, for storing one or more computer instruction, wherein, one or more computer instruction supplies institute
It states processor and calls execution;
The processor, for performing one or more computer instruction to realize described in any one of claim 1 to 5
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711463987.0A CN108153574B (en) | 2017-12-28 | 2017-12-28 | Application processing method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711463987.0A CN108153574B (en) | 2017-12-28 | 2017-12-28 | Application processing method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108153574A true CN108153574A (en) | 2018-06-12 |
CN108153574B CN108153574B (en) | 2021-05-28 |
Family
ID=62462541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711463987.0A Active CN108153574B (en) | 2017-12-28 | 2017-12-28 | Application processing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108153574B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113641280A (en) * | 2021-07-14 | 2021-11-12 | 阿里巴巴(中国)有限公司 | Equipment control method, control method and equipment in barrier-free mode |
CN114463730A (en) * | 2021-07-15 | 2022-05-10 | 荣耀终端有限公司 | Page identification method and terminal equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105551492A (en) * | 2015-12-04 | 2016-05-04 | 青岛海信传媒网络技术有限公司 | Speech control method, speech control device and terminal |
CN106325889A (en) * | 2016-09-30 | 2017-01-11 | 北京奇点机智信息技术有限公司 | Data processing method and device |
US20170084273A1 (en) * | 2015-09-22 | 2017-03-23 | Meshrose Ltd. | Automatic performance of user interaction operations on a computing device |
CN106898349A (en) * | 2017-01-11 | 2017-06-27 | 梅其珍 | A kind of Voice command computer method and intelligent sound assistant system |
CN107025046A (en) * | 2016-01-29 | 2017-08-08 | 阿里巴巴集团控股有限公司 | Terminal applies voice operating method and system |
CN107045873A (en) * | 2016-12-06 | 2017-08-15 | 深圳市全智达科技有限公司 | A kind of voice operating method and device |
CN107430502A (en) * | 2015-01-30 | 2017-12-01 | 谷歌技术控股有限责任公司 | The voice command for software application is inferred by help information dynamic |
-
2017
- 2017-12-28 CN CN201711463987.0A patent/CN108153574B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107430502A (en) * | 2015-01-30 | 2017-12-01 | 谷歌技术控股有限责任公司 | The voice command for software application is inferred by help information dynamic |
US20170084273A1 (en) * | 2015-09-22 | 2017-03-23 | Meshrose Ltd. | Automatic performance of user interaction operations on a computing device |
CN105551492A (en) * | 2015-12-04 | 2016-05-04 | 青岛海信传媒网络技术有限公司 | Speech control method, speech control device and terminal |
CN107025046A (en) * | 2016-01-29 | 2017-08-08 | 阿里巴巴集团控股有限公司 | Terminal applies voice operating method and system |
CN106325889A (en) * | 2016-09-30 | 2017-01-11 | 北京奇点机智信息技术有限公司 | Data processing method and device |
CN107045873A (en) * | 2016-12-06 | 2017-08-15 | 深圳市全智达科技有限公司 | A kind of voice operating method and device |
CN106898349A (en) * | 2017-01-11 | 2017-06-27 | 梅其珍 | A kind of Voice command computer method and intelligent sound assistant system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113641280A (en) * | 2021-07-14 | 2021-11-12 | 阿里巴巴(中国)有限公司 | Equipment control method, control method and equipment in barrier-free mode |
CN114463730A (en) * | 2021-07-15 | 2022-05-10 | 荣耀终端有限公司 | Page identification method and terminal equipment |
CN114463730B (en) * | 2021-07-15 | 2023-07-14 | 荣耀终端有限公司 | Page identification method and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108153574B (en) | 2021-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101821358B1 (en) | Method and system for providing multi-user messenger service | |
McCullough | Noninterference and the composability of security properties | |
US9818409B2 (en) | Context-dependent modeling of phonemes | |
CN106471526B (en) | For handling the method and system of image | |
CN110443351B (en) | Generating natural language descriptions of images | |
EP2610724B1 (en) | A system and method for online user assistance | |
CN109313719B (en) | Dependency resolution for generating text segments using neural networks | |
CN109145153A (en) | It is intended to recognition methods and the device of classification | |
US11010664B2 (en) | Augmenting neural networks with hierarchical external memory | |
CN109447958B (en) | Image processing method, image processing device, storage medium and computer equipment | |
CN109791631A (en) | Reward enhancing model training | |
CN109308357A (en) | It is a kind of for obtaining the method, apparatus and equipment of answer information | |
CN106599256B (en) | Structure information generation method and device and interaction method and device | |
CN110399470A (en) | Conversation message processing | |
CN110008326A (en) | Knowledge abstraction generating method and system in conversational system | |
CN110706701B (en) | Voice skill recommendation method, device, equipment and storage medium | |
CN116543082B (en) | Digital person generation method and device and digital person generation system | |
JP2023182707A (en) | Data generation method based on deep learning model, training method, and device | |
CN112163560A (en) | Video information processing method and device, electronic equipment and storage medium | |
CN108153574A (en) | Applied program processing method, device and electronic equipment | |
CN117648422A (en) | Question-answer prompt system, question-answer prompt, library construction and model training method and device | |
CN113010255A (en) | Interaction method and device based on binding session group and computer equipment | |
CN113190746B (en) | Recommendation model evaluation method and device and electronic equipment | |
CN109243435A (en) | Phonetic order executes method and system | |
CN112686381A (en) | Neural network model, method, electronic device, and readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |