A serial communication method, device, equipment and storage medium

By dynamically creating and managing serial communication channels in serial communication network equipment, the problem of low memory utilization in the existing technology is solved, and more efficient memory usage and serial communication performance is achieved.

CN118132479BActive Publication Date: 2025-03-18GUANGZHOU ZHIYUAN ELECTRONICS CO LTD
2 Cites 0 Cited by

Patent Information

Application Number
CN202410103359.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-24
Publication Date
2025-03-18
Estimated Expiration
2044-01-24

AI Technical Summary

Technical Problem

During the use of existing serial communication network equipment, the pre-set serial communication channel does not fully meet the actual needs, resulting in a low memory utilization rate.

Method used

The data type is determined by the format of the received serial port data. When the data type is the creation instruction type, a serial port communication channel corresponding to the communication type is dynamically created, and the serial port communication channel is created and deleted according to actual needs.

Benefits of technology

It improves the memory utilization rate of the serial communication process, reduces the memory occupied by the useless serial communication channel, and improves the overall working efficiency of serial communication.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The embodiment of the present application discloses a serial communication method, device, equipment and storage medium. The technical solution provided by the embodiment of the present application obtains serial port data, determines the data type according to the format of the serial port data; when the data type is the first type, obtains the first field information in the serial port data, the first type is the creation instruction type of the serial port communication channel; determines at least one communication type of the serial port communication channel to be created according to the first field information, and obtains the creation parameter information corresponding to the communication type according to the serial port data; creates the corresponding serial port communication channel according to the creation parameter information, and obtains the handle information corresponding to each serial port communication channel after the successful creation; can solve the problem of low memory utilization in the serial port communication process and improve the memory utilization in the serial port communication process.
Need to check novelty before this filing date? Find Prior Art