Application coding and decoding method and device for intelligent equipment, and application system
A technology of smart devices and coding methods, applied in transmission systems, data exchange through path configuration, electrical components, etc., can solve the problems of reducing the access efficiency and cost of smart devices
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] figure 1 It is a flowchart of an application encoding method for a smart device provided in Embodiment 1 of the present invention.
[0053] refer to figure 1 , the execution subject is a mobile terminal, and the method includes the following steps:
[0054] Step S101, acquiring a user instruction model, where the user instruction model includes a model number;
[0055] Step S102, judging whether there is a protocol rule configuration file corresponding to the model; if there is a protocol rule configuration file corresponding to the model, then perform step S103; if there is no protocol rule configuration file corresponding to the model, then perform step S104;
[0056] Step S103, obtaining the protocol rule configuration file corresponding to the model;
[0057] Step S104, receiving the protocol rule configuration file corresponding to the model sent by the cloud server;
[0058] Step S105, encoding the protocol rule configuration file into a protocol message accordi...
Embodiment 2
[0067] image 3 It is a flow chart of an application decoding method of a smart device provided in Embodiment 2 of the present invention.
[0068] refer to image 3 , the execution subject is a mobile terminal, and the method includes the following steps:
[0069] Step S301, receiving the protocol message sent by the smart device, the protocol message includes the model number;
[0070] Step S302, judging whether there is a protocol rule configuration file corresponding to the model; if there is a protocol rule configuration file corresponding to the model, execute step S303; if there is no protocol rule configuration file corresponding to the model, execute step S304;
[0071] Step S303, obtaining the protocol rule configuration file corresponding to the model;
[0072] Step S304, receiving the protocol rule configuration file corresponding to the model sent by the cloud server;
[0073] Step S305, decoding the protocol rule configuration file into a data model according ...
Embodiment 3
[0080] Figure 4 It is a schematic diagram of an encoding device for a smart device provided in Embodiment 3 of the present invention.
[0081] refer to Figure 4 , the device includes an H5 view layer 11 , a core logic controller 12 , a codec rule engine 13 , an API module 14 and a communication layer 15 . The H5 view layer 11, core logic controller 12, codec rule engine 13, API module 14, and communication layer 15 adopt layered devices, which can reduce the coupling between modules, reduce the complexity of the mobile terminal, and improve the reliability of the mobile terminal. Development efficiency.
[0082] The H5 view layer 11 is connected to the core logic controller 12, and the core logic controller 12 is connected to the codec rule engine 13, the API module 14 and the communication layer 15 respectively;
[0083] The H5 view layer 11 is used to obtain the user instruction model, and the user instruction model includes a model number;
[0084] Here, the H5 view l...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com