| As the information world continues to evolve,more and more data needs to be timely processed.The traditional centralized computing architecture is no longer able to adapt to the ever-increasing data at the edge,so the need to perform calculations near the edge of the generated data is gradually increasing.As a source of data generation,IoT devices have gradually generated computing requirements.However,the computing ability of the traditional IoT device control architecture using a single device control is insufficient.Although the host computer and the slave computer structure have the computing power,the degree of coordination is not tight.Therefore,it is necessary to propose a new control architecture to adapt to future development trends.Aiming at the above problems,a new collaborative mode of host and slave is proposed.Designed to accommodate the growing need for edge computing,it needs to be scalable for both computing and storage.In addition,combined with the existing problems of the collaborative work mode: the update needs downtime maintenance or even not updated,the lower-end machine can't obtain the information that can only be obtained by the host computer,resulting in less coordinated,and a three-layer control structure is designed.The global control logic layer is located in the host computer,responsible for the advanced logic,the intermediate control logic layer spans the host computer and the slave computer,and is responsible for the functional encapsulation and dynamic delivery subroutine,and the atomic control logic layer is responsible for providing basic hardware functions.The prototype system is then designed based on the analysis of the requirements of the control system.The analysis abstracts four types of time requirements: average response delay,control instruction execution interval delay,event occurrence to response delay,and normal operation of strict timing peripherals.The executor module is designed for controlling the instruction execution interval delay,and the design manager module is designed for the event occurrence to response delay.Implement a prototype system and evaluate system performance by designing four experiments that correspond to time requirements.The experimental results show that both the prototype system and the traditional method can use the strict timing peripherals normally,and the communication using USB is shortened by about 26.8 times compared with the traditional mode.The inter-instruction delay of using the actuator module is not fluctuating,which is obviously better than Traditionally,the average latency between instructions is 45 times shorter than in the traditional way.The event response delay is lower than the traditional method when the host computer is not involved,and the maximum response delay when the host computer is involved is 1/1675 of the conventional mode,which can meet the expected index. |