Research Article

Discussion on Application of Embedded Operating System in Dual-Core Smart Electric Meter

Table 4

Interface description between virtual bus components and various service components and applications.

Interface functionDescriptionInputOperateOutput

Pipeline functionThe virtual bus automatically creates a pipeline with other apps and services.Pipeline no.Judging whether the pipeline exists or notDo all communication channels exist?
Pipeline communication frame (CA and SA are consistent, single frame, multiframe, small data frame, and large data frame)Send the pipeline communication frame to the virtual bus service through the corresponding pipelineThe virtual bus is distributed through the corresponding pipeline data
Virtual bus data distribution functionThe virtual bus performs correct distribution processing according to the data identification and control code in the data frameThe data identification of metering service management constitutes the pipeline communication frameSend the pipeline communication frame to the virtual bus through the corresponding pipelineWhether the virtual bus distributed data is distributed through the pipeline of metering management service, comparing the integrity and legitimacy of distributed data
The data identifier managed by the platform management service constitutes a pipeline communication frameWhether the virtual bus distributed data is distributed through the pipeline of platform management service, comparing the integrity and legitimacy of distributed data
The data identifier of the management service management constitutes a communication frameWhether the virtual bus distributed data is distributed through the pipeline of communication management service, comparing the integrity and legitimacy of distributed data
The data identifier managed by the basic app is used to form a pipeline communication frameWhether the virtual bus distributed data is distributed through the pipeline of basic application app, comparing the integrity and legitimacy of distributed data
Compose pipeline communication frame through transparent transmission control codeWhether the virtual bus is forwarded to the corresponding extended app pipeline according to the object code SA of the extended app, and the integrity and legitimacy of the distributed data are compared
The virtual bus supports the extended app registration functionAccording to the extended app registration information, the virtual bus creates a corresponding pipeline and stores the extended app registration informationThe extended app registration information constitutes a pipeline frame, and the extended app registration information is read to constitute a pipeline frameSend the pipeline frame to the virtual bus through the extended app reservation registration pipelineThe virtual bus establishes the corresponding extended app communication pipeline according to the registration information and returns the stored extended app registration information