Research Article

Enterprise Service Remote Assistance Guidance System Based on Digital Twin Drive

Table 1

Objects and functions in Super Socket.

ObjectFeature

Socket serverSocket session container, responsible for managing socket session (create, initialize, start, close, etc.)
App serverA working unit of the server, a server can be composed of multiple app servers, listening to TCP or UDP connections of different ports; app session container, negative app session management creation, initialization, startup, shutdown, etc., and provide a variety of interfaces to the outside world
Socket sessionA socket communication channel between the client and the server, responsible for sending and receiving messages
App sessionThe server session unit working at the upper layer of the socket session is responsible for filtering and parsing the received messages and routing the parsed messages to the specific command execution unit for processing
Receive filterAccept the filter, through the custom acceptance filter, filter data requests that do not conform to the communication protocol
Receive filter factoryAcceptance filter factory to create acceptance filters for each session
Request infoAll requests need to be converted into request info instances, which contain two attributes: key and body; the key is the command word, the body is the parameter list; it is the base class of binary request info and string request info
Command baseThe base class of a custom command class, one type of request corresponds to a command class, used to process client data requests