The embodiment of the invention discloses an
electric energy meter protocol de-framing method and device,
electronic equipment and a storage medium, and relates to the technical field of communication
protocol processing, and the method comprises the steps: obtaining a service type and an
object identifier according to APDU analysis of a state grid 698 protocol, obtaining object configuration information through searching by a dichotomy method, and obtaining an
object identifier; obtaining member number limitation, operation authority and multiple sub-member information of the object, reading corresponding sub-member
data information, if the service type is a read object, framing according to the
data type and length of the multiple sub-member
data information, and if the service type is a write object, framing according to the
data type and length of the multiple sub-member
data information; if yes, deframing is carried out according to the
data type and length of the data information of the multiple sub-members, and the data information is written into corresponding
data source positions and stored. According to the method, the problems of large code volume, high maintenance difficulty, low efficiency and resource waste caused by repeatedly compiling the framing and de-framing functions in the prior art are solved by designing the universal framing and de-framing functions for the data types and combining the configuration parameters and the
linked list lookup technology.