The exploitative management method and device of voice dialogue product
Technical field
The invention belongs to technical field of software development more particularly to a kind of exploitative managers of voice dialogue product
Method and device.
Background technology
Open platform (Open Platform) refer to software systems by disclose its application programming interface (API) or
Function (function) allows the external program increase the function of the software systems or using the resource of the software systems, and
The source code of the software systems need not be changed.
Therefore, resource how is utilized, and shared resource becomes problem to be solved between developer.The relevant technologies
In, developer is mostly to be used by oneself, such as be applied to exploration project and be related to after new resources, such as new technical ability are completed in exploitation
Certain specific equipment on.So so that exploiting natural resources cannot share, and cause the repetition and waste of exploitation, reduce exploitation effect
Rate.
Also, the development platform of current voice dialogue product class is also gradually got up more, but respective development platform is all
Follow oneself internal agreement formulated, and the product developed is only used for this platform, it is not incompatible between different platform.
For example, the technical ability showed in the skill store (technical ability shop) of Alexa, is developed simultaneously by house developer
It submits.But the technical ability that developer obtains in technical ability shop is only capable of applying on echo, and cannot be integrated in other terminals and set
It is standby, be formed by be a closed loop resource management scheme.Technical ability is only limitted to the purposes of language description technical ability, and for this
The supported saying of technical ability, which but rarely has, to be related to.The technical ability that the skill store of Alexa show is not supported to test in page end, opens
Originator can only complete test on the terminal device after obtaining technical ability.
Invention content
The embodiment of the present invention provides a kind of exploitative management method and device of voice dialogue product, for solving
Technical problem is stated, or solves above-mentioned technical problem at least partly.
In a first aspect, the embodiment of the present invention provides a kind of exploitative management method of voice dialogue product, including:Wound
Build resource shop;Receive developer uploaded exploiting natural resources and being illustrated in the resource shop, it is described exploit natural resources including
The inside technical ability created by house developer and the external technical ability developed by external developer;When receiving login user
When transmitted resource acquisition is asked, the resource acquisition request is parsed with the corresponding resource identification of determination;According to determining institute
Resource identification is stated to exploit natural resources accordingly to login user offer.
Second aspect, the embodiment of the present invention provide a kind of exploitative managing device of voice dialogue product, including:Wound
Block is modeled, establishing resource shop is used for;Receiving module is sent out for exploiting natural resources of receiving that developer uploaded with login user
The resource acquisition request sent;Display module, it is described for showing exploiting natural resources of being uploaded of developer in the resource shop
The inside technical ability including being created by house developer of exploiting natural resources and the external technical ability developed by external developer;Parsing
Module, for when the receiving module receives the request of the resource acquisition transmitted by login user, parsing the resource acquisition
Request is with the corresponding resource identification of determination;Module is provided, for being carried to the login user according to the determining resource identification
For exploiting natural resources accordingly.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment comprising:At least one processor, and with institute
State the memory of at least one processor communication connection, wherein the memory is stored with can be by least one processor
The instruction of execution, described instruction is executed by least one processor, so that before at least one processor is able to carry out
The step of stating method.
Fourth aspect, the embodiment of the present invention provide a kind of storage medium, are stored thereon with computer program, feature exists
In when the program is executed by processor the step of realization preceding method.
The advantageous effect of the embodiment of the present invention is:In the exploitative management method of the voice dialogue product of the present invention
Exploiting natural resources of being managed in the resource shop created both contains developed by the house developer of platform operation side in
Portion's technical ability also contains the external technical ability developed by external developer and provided, so effective solution resource management is flat
Compatibility of the platform to separate sources technical ability so that the technical ability of third party or any developer obtained in the resource shop is answered
It for any terminal device, and is not limited on particular device defined by operator, and also achieves resource-sharing, avoid
The repetition and waste of development, reduces development efficiency.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the flow chart of one embodiment of exploitative management method of the voice dialogue product of the present invention;
Fig. 2 is the flow chart of one embodiment of process of technical ability outside the acquisition of the present invention;
Fig. 3 is the flow chart of one embodiment of process of the skills tests of the present invention;
Fig. 4 is the flow chart of an embodiment of the showing resource shop homepage of the present invention;
Fig. 5 is the functional block diagram of one embodiment of exploitative managing device of the voice dialogue product of the present invention;
Fig. 6 is the functional block diagram of one embodiment of exploitative managing device of the voice dialogue product of the present invention;
Fig. 7 is the functional block diagram of one embodiment of exploitative managing device of the voice dialogue product of the present invention;
Fig. 8 is that the technical ability in the embodiment of the present invention creates interface schematic diagram;
Fig. 9 is that the external performance information in the embodiment of the present invention obtains interface schematic diagram.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A 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
The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.
The present invention can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Usually, program module includes routines performing specific tasks or implementing specific abstract data types, program, object, member
Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage device.
In the present invention, " module ", " system " etc. refer to the related entities applied to computer, such as hardware, hardware and soft
Combination, software or software in execution of part etc..In detail, for example, element can with but be not limited to run on processor
Process, processor, object, executable element, execution thread, program and/or computer.In addition, running on answering on server
Can be element with program or shell script, server.One or more elements can in the process of execution and/or thread,
And element can be localized and/or be distributed between two or multiple stage computers on one computer, and can be by various
Computer-readable medium is run.Element can also be according to the signal with one or more data packets, for example, from one and this
Another element interacts in ground system, distributed system, and/or the network in internet passes through signal and other system interactions
The signal of data is communicated by locally and/or remotely process.
Finally, it is to be noted that, herein, the terms "include", "comprise" include not only those elements, but also
Further include other elements that are not explicitly listed, or further include for this process, method, article or equipment it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
As shown in Figure 1, the exploitative management method of the voice dialogue product of one embodiment of the invention, including it is as follows
Step.
In the step s 100, establishing resource shop.
It for example, can be by any suitable instrument creation resource platform come for open platform, for example, DUI
(Dialogue User Interface, to talk with the human-computer interaction interface for core) platform, user provide showing resource,
Obtain the platform of resource.
In step s 200, what reception developer was uploaded exploiting natural resources and being illustrated in resource shop.
It the inside technical ability that may include being created by house developer of exploiting natural resources and is developed by external developer outer
Portion's technical ability.
It may also include in addition, exploiting natural resources:API (application programming interface).The external skill that external developer is developed
The external technical ability submitted by individual developer can be also can be divided into, and the external technical ability submitted by company (team).
Different classes of resource can respectively be shown according to above-mentioned in resource shop.
In one embodiment, as shown in Fig. 2, the external technical ability is obtained by following steps.
In step S210, the request of technical ability is created in response to external developer, is generated technical ability and is created interface.
Technical ability creates interface and includes at least external technical ability option.For the skillset of developer's selection, the skillset
Including self-defined skillset.
Specifically, when carrying out technical ability establishment operation on voice dialogue platform as developer, platform automatically generates technical ability wound
Request is built, interface presentation is created on a display screen to generate technical ability corresponding to technical ability request to create.Interface is created in the technical ability
On can show that two buttons of external technical ability option and/or self-defined technical ability option are chosen for developer, but the present invention it is unlimited
It is set to above-mentioned selection form, can also be the selection mode of any other form.
In addition, it further includes skill designations input frame, technical ability classification input frame and technical ability description to be created on interface in technical ability
The form that drop-down list may be used in information input frame, wherein technical ability classification input frame provides a variety of technical ability classification for the deep choosing of exploitation
It selects or developer voluntarily inputs, such as drop-down list includes:Efficiency tool, service for life, traffic trip, audio-visual audiovisual,
Shopping, education, smart home, social activity share, Domestic News etc..
In step S220, when external developer selectes the external technical ability option, generates external performance information and obtain
Interface.
External performance information obtains the interface that may include in interface for calling external technical ability, and interface may include external technical ability
Introducing path input frame and/or external technical ability identification information input frame.
External performance information in the present embodiment obtains the external technical ability introducing path input frame on interface and is used for developer
Input accesses the URL (Uniform Resource Locator, uniform resource locator) of external technical ability;Specific input mode can
To be:Developer selected from the technical ability access path list of the third-party platform to prestore external technical ability to be introduced path or
Person inputs the path of external technical ability to be introduced for developer.Wherein, the technical ability access path of the third-party platform to prestore arranges
Table from the known third-party platform for reaching cooperation with local platform, this mode can in order to the lower developer of ability into
Row product development;The path for the external technical ability to be introduced that developer directly inputs is that the stronger developer of partial capability is to seek
Personalization of product and voluntarily obtain.
External technical ability identification information input frame inputs the unique secret key for accessing respective external technical ability for developer.
In step S230, the external performance information that developer inputs through interface is received and stored, to complete external technical ability
Establishment.
In the present embodiment, for external performance information for calling external technical ability, the external performance information includes accessing outside
The URL (uniform resource locator) of technical ability and the unique secret key for accessing respective external technical ability.
In the present embodiment, by the introducing of external technical ability, it is direct to realize the external technical ability for being created external platform
For the function of local platform, to realize the intercommunication between different development platforms, in particular by determining developer institute
When the technical ability that request creates is external technical ability, the interface that external performance information is inputted for user, the external technical ability letter are generated
Breath is for obtaining external technical ability, to realize the introducing of external technical ability.Therefore, the method for the establishment technical ability of the embodiment of the present invention
It can be directly multiplexed the existing technical ability of external platform, overlapping development is carried out without local platform again, so as to avoid resource
Waste, reduces development cost, improves development efficiency.
For ease of the method for creating technical ability in voice dialogue platform of the present invention is more clearly understood, we are with wound below
It builds for an external technical ability " in translate English ", when developer is when voice dialogue platform request creates a technical ability, generates and show
Show that technical ability as shown in Figure 8 creates interface, as seen from Figure 8, it includes skill designations input frame, skill which, which creates under interface,
Energy categorizing selection frame, skillset option and technical ability describe input frame, and wherein skillset includes self-defined technical ability, built-in skill
It can be with external three kinds of technical ability.
It is generated after developer selects external technical ability and shows that external performance information as shown in Figure 9 obtains interface,
In need developer to fill in external technical ability URL and technical ability ID (Skill_id), such as the URL of external technical ability " in translate English " is
“http://lab.**.ai/**-api/v1/message ", technical ability ID are " ff63dfc3-4089-4f0c-beec-
9d4f6e3e48f3 ", after information above is obtained interface filling by developer by external performance information in the process of development,
Voice dialogue platform obtains and stores these external performance informations, for when the product that contain the outside technical ability " in translate English "
During use, external technical ability " in translate English " is called by pre-stored said external performance information.In some embodiments
In, " acquisition can be gone on external performance information acquisition interface by clicking after developer is logical fills in external technical ability URL
Skill_id " buttons jump directly to the external development platform pointed by the external technical ability URL filled in, to be obtained in the platform
The Skill_id of external technical ability " in translate English " is taken, it, can be directly in information if Skill_id is known in advance in developer certainly
It is filled in input frame.When the external technical ability URL differences filled in, it is outer that click " goes to and obtain Skill_id " button to be redirected
Portion's platform is different, and outside technical ability URL can be provided multiple preset selective items in the form of drop-down list and be selected for developer, when
So, if without the required external platform of developer URL when, which also allows developer to directly input.
Inventor is found surprisingly that, using the side for creating technical ability in voice dialogue platform in the above embodiment of the present invention
Method, the even developer without any development Experience, can will be from different development platforms within the extremely short time
On multiple technical ability be integrated together, develop the product of meet demand, and due to can be obtained from different development platforms
Technical ability enriches perfect voice pair so greatly having spreaded the range that developer selects technical ability so as to develop technical ability
Talk about product.
In one embodiment, the method further includes:Classified to resource according to the application scenarios of resource.It is described to provide
Show that various resources may include in the shop of source:Various resources are shown by being sorted in resource shop.
For example, resource classification can be shown.For example, 14 of the application scenarios of daily life are covered in setting
Classification carries out classification displaying according to the application scenarios of each resource to each resource.
In this way, allowing users to location category as needed, and then required resource is obtained, improves user and search resource
Efficiency.
In step S300, when receiving the resource acquisition request transmitted by login user, resolving resource obtains request
With the corresponding resource identification of determination.
For example, the resource acquisition request includes resource identification to be obtained.User enters resource after login
Shop.After finding required resource in resource shop, it can be obtained by clicking the corresponding download button of resource to send resource
Request is taken, resource acquisition request includes the ID of the resource.After resource shop receives resource acquisition request, from resource acquisition
The ID of resource is parsed in request.
In step S400, exploited natural resources accordingly to login user offer according to determining resource identification.
For example, after resource shop receives resource acquisition request, the user for sending request can be verified.Such as
Identity, the permission of user are verified, or when download resource needs payment, the paid cases of user are tested
Card.After being verified, the corresponding resource of resource ID during resource acquisition is asked in resource shop is supplied to the use for sending and asking
Family.
Pass through the above method so that user can obtain resource from resource shop, and the resource is applied to oneself wound
In the product built, the repetition and waste of development is avoided, development efficiency is reduced.
In one embodiment, as shown in figure 3, the method may also include the steps of.
In step S310, skills tests request is received.
Skills tests request includes that technical ability to be tested identifies.
In step s 320, the test interface of the corresponding technical ability of technical ability mark display in being asked according to skills tests.
Test interface includes the recommendation saying of technical ability.
In step S330, when receiving recommendation saying test request, the recommendation saying of request for test is tested.
In step S340, the test result of saying is recommended in display.
Further, the method may also include:Show that each intention of technical ability is corresponding in the test interface of technical ability
Saying example.
In the prior art, technical ability is not supported to test in page end, and user can only be complete on the terminal device after obtaining technical ability
At test.In the above-described embodiments, technical ability can be completed to test in the page, and user is not necessarily in terminal test technical ability.For example, when
After user clicks the corresponding testing button of technical ability, resource shop receives skills tests request, and resource shop is according to skills tests
The test interface of the corresponding technical ability of technical ability ID displays in request.The technical ability is tested in test interface support.For example, test
The test at interface plays the recommendation saying that 5 technical ability can be enumerated in frame, and user can click any bar and saying is recommended to test,
And after the completion of testing, test result is shown in test interface.
In addition, can also show the corresponding saying example of each intention of technical ability in test interface.For example, in addition to the technical ability
Recommendation saying outside, three saying examples that each of the technical ability is intended to can be listed in test interface.In this way, user can be more
Detailed understanding technical ability, can understand whether this technical ability meets the expection to technical ability covering surface and requirement from saying example.
In one embodiment, as shown in figure 4, the method may also include the steps of.
In step S410, shop homepage is created in resource shop.
In the step s 420, preset recommendation resource is shown in the homepage of shop.
Resource is recommended to may include:Newest resource or most thermal resource and newest resource and most thermal resource.
Wherein, newest resource can be the resource that resource shop is uploaded in default nearest n days, most thermal resource can for by
Download time ranking, m resources before coming.
In this way, can the homepage in resource shop carry out resource recommendation so that user can by resource shop homepage,
Solution most popular most popular resource instantly.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of
Action merge, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because
According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
Fig. 5 is the functional block diagram of one embodiment of exploitative managing device of the voice dialogue product of the present invention.Such as Fig. 5
Shown, which may include following module.
Creation module 510 is used for establishing resource shop;
Receiving module 520 is exploited natural resources and the resource acquisition transmitted by login user for receive that developer uploaded
Request;
Display module 530, for showing that exploiting natural resources of being uploaded of developer, the exploitation provide in the resource shop
Source includes the inside technical ability created by house developer and the external technical ability developed by external developer;
Parsing module 540, for receiving the request of the resource acquisition transmitted by login user when the receiving module 520
When, the resource acquisition request is parsed with the corresponding resource identification of determination;
Module 550 is provided, for providing corresponding exploitation money to the login user according to the determining resource identification
Source.
In one embodiment, the external technical ability is obtained by following steps:
The request of technical ability is created in response to external developer, is generated technical ability and is created interface, the technical ability creates interface at least
Including external technical ability option;
When external developer selectes the external technical ability option, generates external performance information and obtain interface, the outside
Performance information is obtained comprising the interface for calling external technical ability in interface, and the interface includes external technical ability introducing path input
Frame and/or external technical ability identification information input frame;
The external performance information that developer inputs through the interface is received and stored, to complete the establishment of external technical ability.
In one embodiment, as shown in fig. 6, described device further includes:Sort module 610, for the application according to resource
Scene classifies to the resource;Display module 530 is used to show various resources by described be sorted in resource shop.
In one embodiment, as shown in fig. 7, described device further includes test module 710.
Receiving module 520 is additionally operable to receive skills tests request, and skills tests request includes technical ability to be tested
Mark;
Display module 530 is additionally operable to test circle of the corresponding technical ability of technical ability mark display in being asked according to the skills tests
Face, the test interface include the recommendation saying of the technical ability;
Test module 710 is used to, when the receiving module receives recommendation saying test request, push away request for test
Saying is recommended to be tested;
Display module 530 is additionally operable to show the test result for recommending saying.
Further, display module 530 is additionally operable to show each intention pair of the technical ability in the test interface of technical ability
The saying example answered.
In one embodiment, creation module 510 is additionally operable to create shop homepage in resource shop;Display module 530 is also
For showing that preset recommendation resource, the recommendation resource include newest resource and/or most thermal resource in the homepage of shop.
The device of the embodiments of the present invention can be used for executing corresponding embodiment of the method in the present invention, and reach accordingly
The technique effect that aforementioned present invention embodiment of the method is reached, which is not described herein again.
Correlation function mould can be realized in the embodiment of the present invention by hardware processor (hardware processor)
Block.
On the other hand, the embodiment of the present invention provides a kind of storage medium, is stored thereon with computer program, which is located
Reason device realizes following steps when executing:
Establishing resource shop;
What reception developer was uploaded exploiting natural resources and being illustrated in the resource shop, described to exploit natural resources including by interior
The inside technical ability that portion developer is created and the external technical ability developed by external developer;
When receiving the resource acquisition request transmitted by login user, it is corresponding to determine to parse the resource acquisition request
Resource identification;
It is exploited natural resources accordingly to login user offer according to the determining resource identification.
Optionally, the external technical ability is obtained by following steps:
The request of technical ability is created in response to external developer, is generated technical ability and is created interface, the technical ability creates interface at least
Including external technical ability option;
When external developer selectes the external technical ability option, generates external performance information and obtain interface, the outside
Performance information is obtained comprising the interface for calling external technical ability in interface, and the interface includes external technical ability introducing path input
Frame and/or external technical ability identification information input frame;
The external performance information that developer inputs through the interface is received and stored, to complete the establishment of external technical ability.
Optionally, the method further includes:
Skills tests request is received, the skills tests request includes that technical ability to be tested identifies;
It is identified according to the technical ability in skills tests request and shows the test interface for corresponding to technical ability, in the test interface
Recommendation saying including the technical ability;
When receiving recommendation saying test request, the recommendation saying of request for test is tested;
Show the test result for recommending saying.
Optionally, the method further includes:
Classified to the resource according to the application scenarios of resource;
It is described to show that various resources include in resource shop:
Various resources are shown by described be sorted in resource shop.
Optionally, the method further includes:
The corresponding saying example of each intention of the technical ability is shown in the test interface of technical ability.
Optionally, the method further includes:
Shop homepage is created in resource shop;
Show that preset recommendation resource, the recommendation resource include newest resource and/or most thermal resource in the homepage of shop.
The said goods can perform the method that the embodiment of the present application is provided, and has the corresponding function module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present application is provided.
The embodiment of the present invention also provides a kind of electronic equipment comprising:At least one processor, and with described at least one
The memory of a processor communication connection, wherein the memory is stored with the finger that can be executed by least one processor
It enables, described instruction is executed by least one processor, so as to be able to carry out the present invention any at least one processor
The step of exploitative management method of the realization voice dialogue product of embodiment.
The client of the embodiment of the present application exists in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data
Communication is main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, functional mobile phone and low
Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind of equipment belongs to the scope of personal computer, there is calculating and processing work(
Can, generally also have mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind of equipment can show and play multimedia content.Such equipment includes:Audio,
Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) other electronic devices with data interaction function.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can
It is physically separated with being or may not be, the component shown as unit may or may not be physics list
Member, you can be located at a place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of module achieve the purpose of the solution of this embodiment.
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 software plus general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, above-mentioned technology
Scheme substantially in other words can be expressed in the form of software products the part that the relevant technologies contribute, the computer
Software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions to
So that computer equipment (can be personal computer, server either network equipment etc.) execute each embodiment or
Method described in certain parts of embodiment.
Finally it should be noted that:Above example is only to illustrate the technical solution of the application, rather than its limitations;Although
The application 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
With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;
And these modifications or replacements, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution spirit and
Range.