CN112379931A - Embedded terminal drive configuration method based on mobile terminal in visual environment - Google Patents
Embedded terminal drive configuration method based on mobile terminal in visual environment Download PDFInfo
- Publication number
- CN112379931A CN112379931A CN202011247031.9A CN202011247031A CN112379931A CN 112379931 A CN112379931 A CN 112379931A CN 202011247031 A CN202011247031 A CN 202011247031A CN 112379931 A CN112379931 A CN 112379931A
- Authority
- CN
- China
- Prior art keywords
- embedded
- terminal
- configuration
- embedded terminal
- chip
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 230000000007 visual effect Effects 0.000 title claims abstract description 13
- 238000004891 communication Methods 0.000 claims abstract description 17
- 238000011161 development Methods 0.000 claims abstract description 15
- 238000005516 engineering process Methods 0.000 claims description 10
- 238000012800 visualization Methods 0.000 claims 6
- 238000012217 deletion Methods 0.000 claims 1
- 230000037430 deletion Effects 0.000 claims 1
- 230000002093 peripheral effect Effects 0.000 claims 1
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 238000011160 research Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to a method for driving and configuring a remote embedded terminal by a mobile terminal in the Internet under a visual environment, which is characterized by comprising the following steps: the method comprises the steps of linking an embedded terminal through a communication link (WiFi, Bluetooth, NFC and the like), configuring a pin input/output type, a bus communication protocol and bus equipment of an MCU in the embedded terminal in a visual environment of a Web end, using the communication link and downloading the configuration of the embedded terminal, analyzing by a system kernel in the embedded terminal, finishing initialization of the pin, the bus and the communication protocol according to a configuration script, and starting acquisition and communication services. In addition, the embedded terminal needs to use a Hutosys IOT embedded kernel and perform configuration, programming and deployment on the embedded terminal through the development environment of the Hutosys IOT cloud platform.
Description
Technical Field
The invention belongs to the electronic technology class, and relates to an embedded terminal drive configuration method in a visual environment based on a mobile terminal
Background
The industrial internet and the internet of things are the most important development stages in the current computer field and serve as important components of a new-generation information technology, and the industrial internet and the internet of things closely link physical reality and digital virtual through mass sensors, actuators and internet technologies, are widely applied to various industries and are the third technical innovation of development of the information industry following computers and the internet. The industrial internet and the internet of things have become world economy boosters, are next generation trillion-level markets behind computers and communication networks, aim at enabling reality and virtual to be closely connected with lower cost, economically help enterprises to reduce cost, technically help enterprises to carry out technology upgrade, and all countries invest huge capital to deeply dig their potential. China also pays high attention to research and development of industrial internet and internet of things, industrial and informatization departments, product departments and college research institutes, and researches are always carried out on the aspect of new-generation information technology so as to form policies, technologies, standards and specifications of the new-generation information technology development. The embedded development is a core technology of industrial internet and internet of things, but the traditional embedded development needs to develop and test a large amount of driving codes, which brings the following problems of how to quickly define the functions of the chip and how to quickly develop the development process of the chip. Therefore, how to develop a visual embedded system chip configuration scheme for the industrial internet and the internet of things becomes a problem to be solved urgently.
Disclosure of Invention
The invention provides an embedded terminal drive configuration method based on a mobile terminal in a visual environment, and solves the problems that the Hutosys IOT terminal software development threshold is high and secondary programming is needed. The problem that a large amount of driving development and testing are needed for a chip in an embedded development process is solved. The method comprises the following steps:
1. the embedded terminal is connected with the mobile terminal through a communication link (WiFi, Bluetooth and the like), and the equipment can communicate with the mobile terminal through SSH, telnet or other protocols.
2. And selecting the chip type of the equipment end from the mobile end under the visual environment, configuring the running state of each chip pin through a configuration table, a protocol table and an interface table, and maintaining a configuration file in a JSON or XML format in a background.
3. And transmitting the generated configuration file back to the server backend through the Ajax technology.
4. And after the equipment kernel is started, downloading the configuration file from the server through the communication link.
5. The device kernel analyzes and runs the configuration file, initializes pins, interfaces and communication protocols, and finally starts the operation core.
6. The embedded terminal communicates with the Hutosys IOT cloud platform by using the Internet, so that analysis of related chips is realized, data is constructed, data of various sensors and actuators are read and written through a communication bus and a port, the Hutosys IOT cloud platform is passed, and interconnection, intercommunication and mutual control of equipment among various sensors and actuators can be realized.
Drawings
FIG. 1 is a general framework of the present invention
FIG. 2 is a diagram of a visual environment architecture
FIG. 3 is a workflow based on the http protocol;
fig. 4 is a flow chart of the operation of the present invention.
Detailed Description
The following examples, which are intended to represent only a few embodiments of the present invention and which are described in greater detail and without thereby being understood as limiting the scope of the invention, are intended to suggest that those skilled in the art may make numerous variations and modifications without departing from the spirit of the invention, which scope of protection shall be deemed to be limited by the appended claims.
The user connects the embedded module with the mobile terminal through the communication network, and configures the embedded terminal in the browser or the APP.
And (3) selecting a model: the operating system is an embedded Linux operating system or a real-time operating system, the single chip microcomputer uses a HUTOSYS IOT kernel, the embedded terminal needs to be configured with a wireless network driver or a Bluetooth driver or other communication links, the user side equipment selects intelligent equipment with a web browser and a network card, and the intelligent equipment can expand a third-party communication interface; the embedded device can be used as an alternative to a liquid crystal screen.
The connection method of each module comprises the following steps: the intelligent equipment is connected with the embedded terminal through the Internet, the embedded terminal can be provided with a liquid crystal display, a webpage end or APP of the intelligent equipment is opened, and a software visual configuration page is entered.
The terminal equipment can enter a visual configuration page through a liquid crystal screen to integrate visual configuration environment interface design: the interface consists of a toolbar and a work area.
The upper toolbar includes chip type, pin input number, output number, and generate configuration buttons. The lower working area includes pin settings, bus configuration, communication protocol settings, sensor/actuator lists. The user can complete the development of the configuration of each interface, communication protocol and connecting device of the chip on the board through clicking of a mouse or a touch screen. Cloud storage of development board configuration files is achieved through an 'upload' button.
The embedded equipment work flow: a user needs to install a Hutosys embedded core on a development board and start a power supply of the development board, the embedded core can firstly download a current equipment configuration file, and the configuration file is initialized according to the sequence of chip pins, a bus protocol and bus devices, so that chip drive initialization work is completed.
Claims (6)
1. A software development method of an embedded terminal in a visualization environment based on a mobile terminal comprises the following steps:
1) the embedded terminal is connected with the mobile terminal through a communication link, and the equipment can communicate with the mobile terminal through SSH, telnet or other protocols;
2) selecting the type of a device end chip when a mobile end enters a visual environment, configuring the attribute and the state of each chip pin through a configuration table, a protocol table and an interface table, and maintaining a configuration file in a JSON or XML format in a background;
3) the generated configuration file is transmitted back to the back end of the server through the Ajax technology;
4) downloading a configuration file through a back-end server after an IOT kernel of the embedded terminal is started;
5) the IOT kernel of the embedded terminal analyzes the configuration file, and initializes a pin, an initialization interface and an initialization protocol in sequence according to the description of the configuration file;
6) establishing a link between the embedded terminal and a Hutosys IOT cloud server, realizing the configuration of an embedded terminal chip, constructing an embedded database, reading and writing data by utilizing a GPIO port, connecting with various sensors and actuators through a communication bus, and reading and writing data;
7) and displaying the data acquired by the embedded terminal through a Hutosys IOT cloud platform at the Internet end.
2. The method according to claim 1, wherein the used chip can be dynamically loaded with configuration, and the configuration of each port of the chip can be remotely and thermally updated.
3. The embedded terminal driver configuration method based on the mobile terminal in the visualization environment according to claim 1, wherein the configuration file and the configuration file library of the chip in the visualization environment.
4. The method according to claim 1, wherein the device can read the configuration file through the embedded kernel to drive the chip peripheral sensor and the device, and development of a device driver is not required in the whole process.
5. The method according to claim 1, wherein the visualization environment provides visualization, modularization, and tabulation, and development of embedded device driver is performed by clicking a mouse.
6. The method according to claim 1, wherein the visualization environment provides flexible addition and deletion of embedded device drivers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011247031.9A CN112379931A (en) | 2020-11-10 | 2020-11-10 | Embedded terminal drive configuration method based on mobile terminal in visual environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011247031.9A CN112379931A (en) | 2020-11-10 | 2020-11-10 | Embedded terminal drive configuration method based on mobile terminal in visual environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112379931A true CN112379931A (en) | 2021-02-19 |
Family
ID=74578454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011247031.9A Pending CN112379931A (en) | 2020-11-10 | 2020-11-10 | Embedded terminal drive configuration method based on mobile terminal in visual environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112379931A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103729222A (en) * | 2013-12-30 | 2014-04-16 | 大唐移动通信设备有限公司 | Loading device and method of configuration file |
CN103973899A (en) * | 2014-05-23 | 2014-08-06 | 深圳市中兴移动通信有限公司 | Mobile terminal and configuration sharing method thereof |
CN105446753A (en) * | 2014-07-02 | 2016-03-30 | 北大方正集团有限公司 | Configuration file processing method and device |
CN109740282A (en) * | 2019-01-16 | 2019-05-10 | 杭州嘉楠耘智信息科技有限公司 | Chip pin configuration method, device, equipment and medium |
-
2020
- 2020-11-10 CN CN202011247031.9A patent/CN112379931A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103729222A (en) * | 2013-12-30 | 2014-04-16 | 大唐移动通信设备有限公司 | Loading device and method of configuration file |
CN103973899A (en) * | 2014-05-23 | 2014-08-06 | 深圳市中兴移动通信有限公司 | Mobile terminal and configuration sharing method thereof |
CN105446753A (en) * | 2014-07-02 | 2016-03-30 | 北大方正集团有限公司 | Configuration file processing method and device |
CN109740282A (en) * | 2019-01-16 | 2019-05-10 | 杭州嘉楠耘智信息科技有限公司 | Chip pin configuration method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20100223563A1 (en) | Remotely defining a user interface for a handheld device | |
CN110851134A (en) | Low-code page design device and page design method | |
US11089090B2 (en) | Data capture on a serial device | |
AU2011346329B2 (en) | Virtual input/output device for printers | |
CN106776174B (en) | Display screen parameter debugging method and server | |
CN104915297B (en) | A kind of automated testing method of the APP power consumption of android equipment | |
CN105659221A (en) | Graphical user interface having enhanced tool for connecting components | |
CN103108413A (en) | Internet of Things terminal equipment and business processing method thereof | |
US8977968B2 (en) | Pseudo-remote terminal IOTA mobile diagnostics and electronic customer care | |
CN106952426B (en) | Data processing method and device | |
CN102354285A (en) | Embedded graphical interface rapid development device and method | |
EP1895794B1 (en) | Remote management system and method for portable electronic devices | |
CN112379931A (en) | Embedded terminal drive configuration method based on mobile terminal in visual environment | |
CN110231922B (en) | Mobile terminal display control method and mobile terminal | |
CN102306013A (en) | Portable airplane 1553B bus monitoring system based on universal serial bus (USB) interface and control method for portable airplane 1553B bus monitoring system | |
JP2018106747A (en) | Information processing apparatus, server, method for processing the same, and program | |
CN113075915A (en) | Em-plant based virtual simulation implementation method, system and equipment | |
CN111722843A (en) | HMI system, HMI component thereof, HMI component development method and vehicle-mounted display equipment | |
CN203241659U (en) | Liquid crystal Q-PANEL inspection machine | |
CN118170352A (en) | Cloud system for developing controller, controller development method and controller | |
CN111539128B (en) | System and method for quickly correlating telecommunication design and structural design of structural model | |
CN101998457A (en) | Mobile communication device with testing function and testing method thereof | |
CN112486525A (en) | Remote upgrading and debugging device and method for touch chip | |
CN117938891A (en) | Environment monitoring method and device, electronic equipment and storage medium | |
CN117667656A (en) | Chip testing system and method |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20221114 Address after: No. G2005, Building B, Qinhan Innovation Center, Yaodian Sub district Office, Qinhan New Town, Xixian New District, Xi'an, Shaanxi Province, 712000 Applicant after: Shaanxi Qinhe Intelligent Control Technology Co.,Ltd. Address before: Room 20110, unit 2, building 1, Yuehan international, 38 Jinye Road, Yanta District, Xi'an City, Shaanxi Province, 710075 Applicant before: XI'AN HETAOSHU SOFTWARE TECHNOLOGY CO.,LTD. |
|
TA01 | Transfer of patent application right |