Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the application scenario of SuperIO communication mechanism?

2025-02-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "what is the application scenario of SuperIO communication mechanism". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1.1 Application scenario

The interactive objects of the communication platform include two aspects: first, interact with hardware products. Second, interact with software products. Based on these two considerations, communication platforms are generally used in two scenarios:

1) the communication platform is used on PC.

It is mainly used in the industrial computer of the automatic station to collect the data information of the hardware equipment by means of RS485/RS232, RJ45, 4-20mA and so on. At the same time, the communication platform interacts with the software on the server side, and is responsible for uploading data and receiving control commands.

2) the communication platform is applied on the server side

The terminal equipment connects with the communication platform by 3G/4G, cable private network, satellite and so on, and carries on the data exchange. The terminal equipment includes PC, mobile terminal (mobile phone), monitoring equipment and so on.

1.2 Overview of communication mechanism

The communication mechanism commonly used is the call answer mode, or the master-slave mode. The host sends the request command, verifies the integrity of the data after receiving the command from the slave, and determines whether the command sent to itself is successful. After the verification is successful, it returns the specified data information and completes a complete communication.

The call response communication mechanism is shown in the following figure:

1.3 Integration of serial port and network

When developing device drivers or protocol drivers, both RS485/RS232 and RJ45 communication modes should be supported for the same driver module to avoid repeated development because of different protocols or different communication modes. Under the condition that the business logic is unified, the workload is reduced as much as possible.

The design of the interface is as follows:

1.4 Serial communication mechanism

Due to the limitation of serial communication, the data confusion of multiple hardware devices connected to serial bus is avoided, and the call response communication mechanism of polling mode is mainly adopted.

(1) polling mode

When multiple devices are connected to the communication platform, the communication platform will poll the scheduling equipment for communication tasks. At some point, only one device can send a request command and wait for the return data to be received. After this device completes sending and receiving, the next device carries out the communication task and polls the device in turn. As shown below:

1.5 Network communication mechanism

The polling communication mechanism is to ensure the orderly transmission and reception of data and avoid confusion of concurrent data on the bus, but this communication mechanism is at the cost of reducing performance and is suitable for serial communication. It is obviously unable to make full use of the advantages of network communication in Ethernet communication.

Ethernet is an independent channel and can communicate in full duplex. In order to give full play to the advantages of Ethernet, concurrent communication mode and automatic communication mode communication mechanism are added on the basis of polling communication mechanism. One is to improve the performance of communication, and the other is to have more independent control in the secondary development.

(1) polling mode

The Ethernet polling communication mode is consistent with the serial communication mode, as shown in the following figure:

(2) concurrent mode

The concurrent communication mode is to centrally send the request instructions of all devices, and the hardware equipment will check the instructions after receiving the instructions, and return the data of the corresponding instructions after the verification is successful. after listening to the data information, the communication platform receives the operation, and then distributes and processes the data. As shown below:

(3) automatic control mode

The automatic communication mode is similar to the concurrent communication mode, except that the instruction operation is sent to the device itself, or to the secondary developer, and the secondary developer can send instructions independently through the event driver. After receiving the instruction, the hardware device verifies and returns the data of the corresponding instruction after the verification is successful. after monitoring the data information, the communication platform receives the operation, and then carries on the data distribution, processing and so on.

The automatic communication mode can provide a precise timing request real-time data mechanism for secondary developers, which makes the communication mechanism more flexible. The automatic communication mode can also be used to passively receive data without sending any data. As shown below:

This is the end of the content of "what is the application scenario of SuperIO communication mechanism". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report