CN109101226A - A method of Alexa Smart Home Skill is quickly generated based on public version - Google Patents

A method of Alexa Smart Home Skill is quickly generated based on public version Download PDF

Info

Publication number
CN109101226A
CN109101226A CN201810739593.1A CN201810739593A CN109101226A CN 109101226 A CN109101226 A CN 109101226A CN 201810739593 A CN201810739593 A CN 201810739593A CN 109101226 A CN109101226 A CN 109101226A
Authority
CN
China
Prior art keywords
skill
alexa
smart home
access
public version
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.)
Withdrawn
Application number
CN201810739593.1A
Other languages
Chinese (zh)
Inventor
陈夏明
李光举
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN201810739593.1A priority Critical patent/CN109101226A/en
Publication of CN109101226A publication Critical patent/CN109101226A/en
Priority to CN201910522742.3A priority patent/CN110083345A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A kind of method that Alexa Smart Home Skill is quickly generated based on public version of the present invention, comprising the following steps: step 1 fills in configuration information required for creation Skill on web interface;Step 2 calculates Authorization URL according to the configuration information, generates Access ID, Access Key;Step 3, user are uploaded local Skill Logo by web interface;The LOGO is passed to Amazon S3, and is distributed to CDN by step 4;Step 5, the access URL for generating Logo according to Skill title simultaneously, are presented on the page together together with all information generated before after the completion, check for user.Pass through this technology, workload artificial in existing development process can be reduced, making developer only needs to insert necessary information by web interface, that is, produces required various configuration item information when configuration Skill, the case where avoiding manual amendment that from may malfunctioning, reduces error rate.Meanwhile Skill is created and updated by this system, it can periodically come into force without publication, greatly improve development efficiency.

Description

A method of Alexa Smart Home Skill is quickly generated based on public version
Technical field
The present invention relates to internet voice technical fields, more particularly to a kind of public affairs version that is based on to quickly generate Alexa Smart The method of Home Skill.
Background technique
The technical program is suitable for when based on public version exploitation Amazon Alexa Smart Home Skill, with program Instead of artificial, required every configuration information in exploitation and configuration is quickly generated.
In existing Amazon Alexa Smart Home Skill development process, many configuration informations are such as Authorization URL, Domain List, Access Token URI, Privacy Policy URL etc. are required to hand Dynamic modification;And also need to manually write the Redirect URL, Client ID, Client of each Skill in system code The information such as Secret.
Existing technical solution and development process excessively depend on manual amendment, not only want manual modification configuration information, also It needs to modify code, and is required to be issued after the completion of modification every time, cause development efficiency low and be easy error.
By this technology, workload artificial in existing development process can be reduced, making developer only needs through the interface Web Necessary information is inserted, that is, produces required various configuration item information when configuration Skill, avoids manual amendment that from may going out Wrong situation, reduces error rate.Meanwhile Skill is created and updated by this system, and it can periodically come into force without publication, pole The earth improves development efficiency.
Summary of the invention
A kind of method that Alexa Smart Home Skill is quickly generated based on public version of the present invention, including with Lower step:
Step 1 fills in configuration information required for creation Skill on web interface;
Step 2 calculates Authorization URL according to the configuration information, generates Access ID, Access Key;
Step 3, user are uploaded local Skill Logo by web interface;
The LOGO is passed to Amazon S3, and is distributed to CDN by step 4;
Step 5, the access URL for generating Logo according to Skill title simultaneously, after the completion together with all letters generated before Breath is presented on the page together, is checked for user.
Preferably, the configuration information includes vendor id, Skill title, Client ID, Client Secret.
Preferably, timed task is configured with by using the Scheduled note of Spring from the background.
Preferably, a configuration information is read on setting backstage at regular intervals, and is updated into system cache
Preferably, the Web page is write using Velocity.
Preferably, the configuration information is stored in MySQL database.
Preferably, the step 2 simultaneously can automatically according to these information calculate generate Authorization URL, Access Token URI, Privacy Policy URL etc. can also generate two UUID as Access ID and Access Key。
Detailed description of the invention
Fig. 1 is a kind of method flow diagram that present invention implementation provides;
Fig. 2 is the page screenshot after the AWS S3 code that present invention implementation provides uploads;
Fig. 3 is the AWS SKILL login page screenshot that present invention implementation provides.
Specific embodiment
The present invention is described further with reference to the accompanying drawings and detailed description.
It is of the present invention based on public version quickly generate Alexa Smart Home Skill method provide by The web interface that Velocity writes is believed for user typing Skill title, vendor id, Client ID, Client Secret etc. Breath, and support to upload Skill Logo to Amazon S3.After developer inserts all information and saves, system can will own Information preservation can calculate automatically according to these information to MySQL database and generate Authorization URL, Access Token URI, Privacy Policy URL etc., can also generate two UUID as Access ID and Access Key, this A little information are shown on interface, are configured Skill for developer and are used.
In addition, backstage is configured with timed task by using the Scheduled note of Spring, setting backstage is every one The section time reads a configuration information, and updates into system cache, to realize creation and update Skill without publication i.e. It can come into force.
When user uses this system, it is necessary first to fill in various information required for creation Skill on web interface, such as The information such as vendor id, Skill title, Client ID, Client Secret, system can be calculated automatically according to these information Authorization URL generates Access ID, Access Key.Then user passes through web interface for local Skill Logo is uploaded, and this document can be passed to Amazon S3 automatically by system, and be distributed to CDN, while being generated according to Skill title The access URL of Logo is presented on the page together together with all information generated before after the completion, checks for user.
As shown in Fig. 2, can be checked in AWS S3 after above-mentioned code uploads successfully;Meanwhile in Skill log in page Face, it can be seen that the Logo, as shown in Figure 3.
The preferred embodiment of the present invention has been described in detail above.It should be appreciated that the ordinary skill of this field is without wound The property made labour, which according to the present invention can conceive, makes many modifications and variations.Therefore, all technician in the art Pass through the available skill of logical analysis, reasoning, or a limited experiment on the basis of existing technology under this invention's idea Art scheme, all should be within the scope of protection determined by the claims.

Claims (7)

1. a kind of method for quickly generating Alexa Smart Home Skill based on public version, which is characterized in that including following step It is rapid:
Step 1 fills in configuration information required for creation Skill on web interface;
Step 2 calculates Authorization URL according to the configuration information, generates Access ID, Access Key;
Step 3, user are uploaded local Skill Logo by web interface;
The LOGO is passed to Amazon S3, and is distributed to CDN by step 4;
Step 5, the access URL for generating Logo according to Skill title simultaneously, after the completion together together with all information generated before It is presented on the page, is checked for user.
2. the method for quickly generating Alexa Smart Home Skill based on public version as described in claim 1, feature exist In the configuration information includes vendor id, Skill title, Client ID, Client Secret.
3. the method for quickly generating Alexa Smart Home Skill based on public version as described in claim 1, feature exist In, from the background by using Spring Scheduled note be configured with timed task.
4. the method for quickly generating Alexa Smart Home Skill based on public version as described in claim 1, feature exist In a configuration information is read on setting backstage at regular intervals, and is updated into system cache.
5. the method for quickly generating Alexa Smart Home Skill based on public version as described in claim 1, feature exist In the Web page is write using Velocity.
6. the method for quickly generating Alexa Smart Home Skill based on public version as described in claim 1, feature exist In the configuration information is stored in MySQL database.
7. the method for quickly generating Alexa Smart Home Skill based on public version as described in claim 1, feature exist In, the step 2 can be calculated simultaneously automatically according to these information generate Authorization URL, Access Token URI, Privacy Policy URL etc. can also generate two UUID as Access ID and Access Key.
CN201810739593.1A 2018-07-06 2018-07-06 A method of Alexa Smart Home Skill is quickly generated based on public version Withdrawn CN109101226A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810739593.1A CN109101226A (en) 2018-07-06 2018-07-06 A method of Alexa Smart Home Skill is quickly generated based on public version
CN201910522742.3A CN110083345A (en) 2018-07-06 2019-06-17 Technical ability configuration and realization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810739593.1A CN109101226A (en) 2018-07-06 2018-07-06 A method of Alexa Smart Home Skill is quickly generated based on public version

Publications (1)

Publication Number Publication Date
CN109101226A true CN109101226A (en) 2018-12-28

Family

ID=64845788

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810739593.1A Withdrawn CN109101226A (en) 2018-07-06 2018-07-06 A method of Alexa Smart Home Skill is quickly generated based on public version
CN201910522742.3A Pending CN110083345A (en) 2018-07-06 2019-06-17 Technical ability configuration and realization method and system

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201910522742.3A Pending CN110083345A (en) 2018-07-06 2019-06-17 Technical ability configuration and realization method and system

Country Status (1)

Country Link
CN (2) CN109101226A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11934552B2 (en) 2019-08-01 2024-03-19 International Business Machines Corporation Selective knowledge corpus sharing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608660B (en) * 2017-08-31 2021-07-06 科大讯飞股份有限公司 Shared skill application method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11934552B2 (en) 2019-08-01 2024-03-19 International Business Machines Corporation Selective knowledge corpus sharing

Also Published As

Publication number Publication date
CN110083345A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN110495132B (en) System and method for generating, uploading and executing code blocks within distributed network nodes
CN106682028B (en) Method, device and system for acquiring webpage application
CN103973441B (en) Based on user authen method and the device of audio frequency and video
CN109933701A (en) A kind of microblog data acquisition methods based on more strategy fusions
CN108306877A (en) Verification method, device and the storage medium of subscriber identity information based on NODE JS
KR101978934B1 (en) Method and system for generating verification codes
EP3694175B1 (en) System and method for delegating authority through coupled devices
US20100131529A1 (en) Open entity extraction system
CN106161710B (en) A kind of user account safety management system based on smart phone
CN107851149B (en) Apparatus and method including identity federation and token translation module for use with web applications
JP2016012806A (en) Secret data collation device, secret data update program and secret data update method
EP3830723B1 (en) Increasing security of a password-protected resource based on publicly available data
JP2018112827A (en) Information processing system
US20180032716A1 (en) Chained authentication using musical transforms
CN108351766A (en) Slave mobile device creates and modification application
US20120304263A1 (en) System and method for single sign-on
CN109101226A (en) A method of Alexa Smart Home Skill is quickly generated based on public version
CN103888519B (en) A kind of dictionary synchronous method and input method server
WO2015158224A1 (en) Message recommendation method and apparatus
CN103209161A (en) Method and device for processing access requests
CN111860597B (en) Video information processing method and device, electronic equipment and storage medium
JP7421443B2 (en) Data migration methods, data migration systems, and nodes
TWM618904U (en) Artificial intelligence model service server based on cloud microservices
TWI499928B (en) Data hiding method via revision records on a collaboration platform
Layton et al. The trellis framework for automatic food safety data transfer

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20181228

WW01 Invention patent application withdrawn after publication