Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Protocol adaptation method and system, storage medium and computer equipment

A technology of protocol adaptation and storage medium, applied in the field of Internet of Things, which can solve problems such as increasing workload

Inactive Publication Date: 2020-06-26
HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The amount of modification will be proportional to the number of platforms, and some errors will inevitably occur during the modification process, which will increase the additional workload

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Protocol adaptation method and system, storage medium and computer equipment
  • Protocol adaptation method and system, storage medium and computer equipment
  • Protocol adaptation method and system, storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0052] A power-type operating device is turned on

[0053]

[0054]

[0055] 1. Add Tmall Genie related platform information to the background configuration platform, including:

[0056] a. Key data path information configuration, such as:

[0057] messageId:$.header.messageId

[0058] name:$.header.name

[0059]accessToken:$.payload.accessToken

[0060] deviceId:$.payload.deviceId

[0061] attribute:$.payload.attribute

[0062] value:$.payload.value

[0063] b. Template configuration, such as

[0064]

[0065]

[0066] A variable field is represented by {{field}}. When the template engine renders the template, it will obtain the field data from the object and then generate the content.

[0067] c. Category data mapping configuration

[0068] For example, socket category, the category name of Tuya’s internal agreement is:

[0069] powerstrip, and Tmall Genie’s category data is an outlet, then you need to configure category mapping and add a piece of data t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a protocol adaptation method for accessing third-party voice platforms. The protocol adaptation method comprises the following steps: acquiring a platform protocol of each third-party voice platform; extracting configurable information according to the platform protocol, and generating a protocol template; editing the protocol template according to an adaptation protocol of a target platform to obtain an internal protocol; rendering the internal protocol to obtain an internal standard protocol; and accessing the target platform to the third-party voice platform according to the internal standard protocol. According to the technical scheme, the mapping relation is established between the platform protocol of each platform and the abstracted protocol template, the request sent by a certain platform is matched, and the required information is extracted for processing according to the information defined by the protocol template.

Description

technical field [0001] The invention relates to the technical field of the Internet of Things, in particular to a protocol adaptation method and system for accessing a third-party voice platform, a storage medium, and a computer device. Background technique [0002] With the rise of the Internet of Things, there are more and more third-party voice platforms, and the protocols of the platforms are also different. To connect with various third-party platforms, how to extract necessary information from heterogeneous protocols for unified processing, and return a return protocol that meets the needs of each platform is an urgent problem to be solved as an IoT platform. [0003] In the existing technology, each platform is internally processed separately, and the protocol is basically composed of header and payload. There are many similarities in the logic of their respective processing. As the number of platforms increases, the later maintenance costs will also increase. For e...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/12H04L69/08
Inventor 王前
Owner HANGZHOU TUYA INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products