CN109062591A - A kind of method of Amazon Alexa technical ability seamless upgrade control function - Google Patents

A kind of method of Amazon Alexa technical ability seamless upgrade control function Download PDF

Info

Publication number
CN109062591A
CN109062591A CN201810737846.1A CN201810737846A CN109062591A CN 109062591 A CN109062591 A CN 109062591A CN 201810737846 A CN201810737846 A CN 201810737846A CN 109062591 A CN109062591 A CN 109062591A
Authority
CN
China
Prior art keywords
amazon
alexa
technical ability
lambda
control function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810737846.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 CN201810737846.1A priority Critical patent/CN109062591A/en
Publication of CN109062591A publication Critical patent/CN109062591A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Abstract

The invention discloses a kind of methods of Amazon Alexa technical ability seamless upgrade control function, it is related to Internet technical field, the present invention provided controlling party using will originally need all control logics realized in Amazon Lambda function to extract external service, Amazon Lambda function is only equivalent to gateway, receive the effect of all control instructions, then all control instructions are all forwarded to external service and controlling party is provided, provided controlling party by external service and realize whole control logics.In this way, it is only necessary to which release upgrade external service provides controlling party, can be in the case where not updating corresponding Lambda function, not changing Amazon developer console, do not need to submit technical ability audit, quick seamless upgrade control function.

Description

A kind of method of Amazon Alexa technical ability seamless upgrade control function
Technical field
The present invention relates to Internet technical field more particularly to a kind of Amazon Alexa technical ability seamless upgrade control functions Method.
Background technique
Amazon Alexa is exactly artificial intelligence (AI), is located in the personal assistant in cloud, is set by many external physicals It is standby, receive the phonetic order that user issues.Although the clever and function of Alexa is less than other personal assistants, such as Apple Siri, the Google Now of Google, but she listens attentively to ability more preferably, and she is not confined in a mobile phone, It is not confined within the enclosure wall of some platforms.Amazon allows third party developer and device manufacturer easily to integrate Alexa.The small assignment of digitlization that Amazon address Alexa is done is " technical ability ", is contained from news is read to closing parlor photograph Bright anything.Amazon creates " technical ability ", and " technical ability " but more is created by third-party developer.
It is now based on the implementation method of official's development scheme of Amazon Alexa smart home technical ability, when needs add more More device categories, control are more multi-functional and when doing more business processing, need to rewrite and update Amazon lambda function Can, and lambda function code is uploaded, while also needing to update corresponding lambda function in Amazon developer's console Can, and audit is submitted, waiting Amazon audit to pass through could be formally effective in environment on line.
Control is provided by the way that the control logic realized in Amazon lambda service before is extracted external service Side, without updating Amazon lambda function, it is only necessary to which the service of upgraded external provides the mode of controlling party, is not necessarily to mention to realize Hand over the function of the seamless dynamic update equipment control function of Alexa technical ability audit energy.
Summary of the invention
A kind of method of Amazon Alexa technical ability seamless upgrade control function of the present invention, comprising:
The equipment control logic realized in Amazon Lambda service is needed all to move on in third party cloud by original It realizes;
Amazon Lambda service acts only as gateway function, is all transmitted to for all user speech to be controlled request Tripartite's cloud is responsible for handling all control logics by the third party cloud;
After the completion of the third party cloud processing, then is responded by Amazon Lambda service and be transmitted to user.
Preferably, when user controls equipment by Alexa, the request of Alexa is sent after being handled by Amazon cloud In the Lambda created to developer.
Preferably, Lamdba after the request sent after receiving the processing of Amazon cloud, match in Lambda in advance by meeting basis The address set, forwards requests to third party cloud.
Preferably, it after third party cloud receives the request that Lambda forwarding comes, according to the structure and content of request, that is, can determine whether Corresponding request type out, thereby executing corresponding service logic.
Preferably, the third party cloud is developed by developer oneself completely, is managed and maintained, independent of Amazon.
Preferably, the control logic includes understanding the intention and operation object of phonetic order.
The present invention, which used, originally all control logics realized in Amazon lambda function to be needed to extract outside Service provides controlling party, and Amazon lambda function is only equivalent to gateway, receives the effect of all control instructions, then will own Control instruction is all forwarded to external service and provides controlling party, provides controlling party by external service and realizes whole control logics.This Sample, it is only necessary to which release upgrade external service provides controlling party, can not update corresponding lambda function, not change sub- horse Inferior developer's console does not need in the case where submitting technical ability audit, quick seamless upgrade control function.
Detailed description of the invention
Fig. 1 is that a kind of Amazon Alexa that present invention implementation provides upgrades control flow chart.
Specific embodiment
The present invention is described further with reference to the accompanying drawings and detailed description.
A preferred embodiment of the invention is as shown in Fig. 1, develops an Alexa technical ability and wants to work normally, needs Amazon Lambda service, Amazon developer console and third party cloud tripartite cooperate jointly.The present invention will be needed originally The equipment control logic to realize in Amazon Lambda service, which all moves on to, to be gone to realize in third party cloud, in this way, Amazon Lambda service acts only as gateway function, is responsible for controlling all user speech and requests all to be transmitted to third party cloud, by third Square cloud is responsible for handling all control logics.After the completion of third party cloud processing, then is serviced by Amazon Lambda and responded forwarding To user.Since third party cloud belongs to any service except Amazon, independent of Amazon, how more can independently determine New publication, therefore user's unaware, seamless upgrade scheme may be implemented.When publication change new function, do not need to update opposite The Lambda function answered does not change Amazon developer console, does not need to submit technical ability audit that can be rapidly completed.
In another preferred embodiment of the invention, when user controls equipment by Alexa, the request meeting of Alexa It is sent to after being handled by Amazon cloud in the Lambda of developer's creation.Under original mode, it is right in Lambda to need The problem of request is handled, and is executed corresponding operation according to request content, is brought is scaling difficulty, and upgrading will update every time Lambda.After having used new mode, after the request sent after receiving the processing of Amazon cloud, meeting basis exists Lamdba in advance Configured address in Lambda, forwards requests to third party cloud, thus the person of processing and executing of request also becomes from Lambda At third party cloud.After third party cloud receives the request that Lambda forwarding comes, according to the structure and content of request, it can judge Corresponding request type, thereby executing corresponding service logic.Due to third party cloud completely by developer oneself exploitation, management and Maintenance, therefore when there is new functional requirement to need support, it is only necessary to third party cloud is developed and supports these new functions, then issues It is online, can user's unaware, seamlessly increase the function of support, realize function upgrading and business iteration, it is not necessary to modify Lambda.Core code is as follows:
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 technology of logical analysis, reasoning, or a limited experiment on the basis of existing technology under this invention's idea Scheme, all should be within the scope of protection determined by the claims.

Claims (6)

1. a kind of method of Amazon Alexa technical ability seamless upgrade control function characterized by comprising
The equipment control logic that original needs are realized in Amazon Lambda service is all moved on to and goes to realize in third party cloud;
Amazon Lambda service acts only as gateway function, is all transmitted to third party for all user speech to be controlled request Cloud is responsible for handling all control logics by the third party cloud;
After the completion of the third party cloud processing, then is responded by Amazon Lambda service and be transmitted to user.
2. the method for Amazon Alexa technical ability seamless upgrade control function as described in claim 1, which is characterized in that when with When family controls equipment by Alexa, the request of Alexa is sent to the Lambda of developer's creation after handling by Amazon cloud In.
3. the method for Amazon Alexa technical ability seamless upgrade control function as described in claim 1, which is characterized in that Lamdba can will be asked after the request sent after receiving the processing of Amazon cloud according to the configured address in Lambda in advance It asks and is forwarded to third party cloud.
4. the method for Amazon Alexa technical ability seamless upgrade control function as described in claim 1, which is characterized in that third After Fang Yun receives the request that Lambda forwarding comes, according to the structure and content of request, corresponding request type can be judged, from And execute corresponding service logic.
5. the method for Amazon Alexa technical ability seamless upgrade control function as described in claim 3 or 4, which is characterized in that institute It states third party cloud to be developed, managed and maintained by developer oneself completely, independent of Amazon.
6. the method for Amazon Alexa technical ability seamless upgrade control function as described in claim 1, which is characterized in that described Control logic includes understanding the intention and operation object of phonetic order.
CN201810737846.1A 2018-07-06 2018-07-06 A kind of method of Amazon Alexa technical ability seamless upgrade control function Pending CN109062591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810737846.1A CN109062591A (en) 2018-07-06 2018-07-06 A kind of method of Amazon Alexa technical ability seamless upgrade control function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810737846.1A CN109062591A (en) 2018-07-06 2018-07-06 A kind of method of Amazon Alexa technical ability seamless upgrade control function

Publications (1)

Publication Number Publication Date
CN109062591A true CN109062591A (en) 2018-12-21

Family

ID=64818995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810737846.1A Pending CN109062591A (en) 2018-07-06 2018-07-06 A kind of method of Amazon Alexa technical ability seamless upgrade control function

Country Status (1)

Country Link
CN (1) CN109062591A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500654A (en) * 2022-02-23 2022-05-13 石家庄通合电子科技股份有限公司 Data forwarding device, power module and data forwarding method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517219A (en) * 2017-09-26 2017-12-26 歌尔科技有限公司 A kind of device authorization method, treat authorisation device, intermediate equipment and system
CN107590718A (en) * 2017-08-31 2018-01-16 科大讯飞股份有限公司 Shared skill development platform and method, shared technical ability application platform and method
CN107731231A (en) * 2017-09-15 2018-02-23 福州瑞芯微电子股份有限公司 A kind of method for supporting more high in the clouds voice services and a kind of storage device
CN107995263A (en) * 2017-11-20 2018-05-04 河海大学 A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi
CN108062952A (en) * 2018-01-09 2018-05-22 山东浪潮商用系统有限公司 A kind of sound control method, apparatus and system
US10009375B1 (en) * 2017-12-01 2018-06-26 KnowBe4, Inc. Systems and methods for artificial model building techniques

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590718A (en) * 2017-08-31 2018-01-16 科大讯飞股份有限公司 Shared skill development platform and method, shared technical ability application platform and method
CN107731231A (en) * 2017-09-15 2018-02-23 福州瑞芯微电子股份有限公司 A kind of method for supporting more high in the clouds voice services and a kind of storage device
CN107517219A (en) * 2017-09-26 2017-12-26 歌尔科技有限公司 A kind of device authorization method, treat authorisation device, intermediate equipment and system
CN107995263A (en) * 2017-11-20 2018-05-04 河海大学 A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi
US10009375B1 (en) * 2017-12-01 2018-06-26 KnowBe4, Inc. Systems and methods for artificial model building techniques
CN108062952A (en) * 2018-01-09 2018-05-22 山东浪潮商用系统有限公司 A kind of sound control method, apparatus and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GEMINI: ""亚马逊Echo音箱接入机智云教程"", 《HTTPS://CLUB.GIZWITS.COM/FORUM.PHP?MOD=VIEWTHREAD&TID=4757&EXTRA=PAGE%3D1&PAGE=1》 *
颜永红: ""Echo:以语音交互为入口的软件定义音箱"", 《网络新媒体技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500654A (en) * 2022-02-23 2022-05-13 石家庄通合电子科技股份有限公司 Data forwarding device, power module and data forwarding method
CN114500654B (en) * 2022-02-23 2024-03-22 石家庄通合电子科技股份有限公司 Data forwarding device, power module and data forwarding method

Similar Documents

Publication Publication Date Title
JP6644882B2 (en) Managing delivery of code and dependent data using application containers
US11087203B2 (en) Method and apparatus for processing data sequence
CN106528210B (en) A kind of operation method and device of application program
CN108694564B (en) Task state control method and device
WO2015100933A1 (en) Data processing method for realizing multiple operating systems and terminal device
CN103873534A (en) Method and device for application cluster migration
US10814229B2 (en) Fragment-based mobile device application streaming utilizing crowd-sourcing
CN113393367B (en) Image processing method, apparatus, device and medium
CN104077161A (en) Client application updating method and device
CN112767133A (en) Service decision method and device, storage medium and computer equipment
KR20110080448A (en) Application developing system and method for developing the same
CN109062591A (en) A kind of method of Amazon Alexa technical ability seamless upgrade control function
CN109032617B (en) Control method and control device for automatically deleting installation package
CN113590304A (en) Business data processing method and device, computer equipment and storage medium
CN108345536A (en) A kind of dispositions method, device and the equipment of continuous integrating environment
CN107734050A (en) A kind of load machine distribution method, computing device and load machine distribution system
CN114610446B (en) Method, device and system for automatically injecting probe
CN116127485A (en) Encryption method for database data, storage medium and computer equipment
CN115268298A (en) Simulation test method, simulation test device, electronic equipment and storage medium
CN109471651A (en) A kind of firmware upgrade method, gateway and firmware upgrade system
CN107861739A (en) ReactNative applications method of adjustment, client and system
CN114967586A (en) Control method of programmable logic controller and programmable logic controller
CN110311935A (en) A kind of sharing method shares deployment system and client
CN109840156B (en) Data caching method and equipment, storage medium and terminal thereof
CN111880831A (en) Method and device for synchronously updating server, computer equipment and storage 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181221