A data processing method and device
The invention discloses a data processing method, and the method comprises the steps: command related information is obtained according to a command operation, and the command related information comprises a command number and a command parameter; Afterwards, a structure body is created, command rel...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a data processing method, and the method comprises the steps: command related information is obtained according to a command operation, and the command related information comprises a command number and a command parameter; Afterwards, a structure body is created, command related information of the same command operation is stored in the same structural body; A structural body pointer pointing to command related information corresponding to a command operation is stored in an FRC communication sequence storage container and locked; and when the read-write lock authorityis obtained, command related information of the same command operation is sent to the FRC through the IIC, so that the conflict problem when a plurality of function modules communicate with the FRC at the same time is solved.
本申请公开了一种数据处理的方法,该方法包括:根据命令操作得到命令相关信息,其中所述命令相关信息包括命令号和命令参数;之后创建结构体,将同一命令操作的命令相关信息存储至同一结构体,通过将指向所述命令操作对应的命令相关信息的结构体指针存储至FRC通信顺序存储容器并进行加锁,并在获得读写锁权限时执行将同一命令操作的命令相关信息通过IIC发送至FRC,解决了多个功能模块同时与FRC进行通信时的冲突问题 |
---|