Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Network port state management method, state machine engine device, equipment and medium

A state management and network interface technology, applied in the field of communication, can solve problems such as reducing the efficiency of fault location, redundant program code structure, and difficult search, and achieve the effects of enhancing code readability, reducing error rate, and simplifying code structure

Active Publication Date: 2020-05-19
北京浪潮数据技术有限公司
View PDF1 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When performing network port status management, the relevant program logic in the prior art is generally directly processed in a function, which requires a lot of judgments and generates a lot of judgments Branch processing; in turn, the structure of the program code is relatively redundant, it is difficult to find, it is not easy to maintain, and it seriously reduces the efficiency of fault location

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network port state management method, state machine engine device, equipment and medium
  • Network port state management method, state machine engine device, equipment and medium
  • Network port state management method, state machine engine device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The core of this application is to provide a network port state management method, state machine engine device, electronic equipment and computer-readable storage medium, so as to simplify the code structure, improve maintainability and scalability, and improve the location and processing of fault problems efficiency.

[0045] In order to describe the technical solutions in the embodiments of the present application more clearly and completely, the technical solutions in the embodiments of the present application will be introduced below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0046] Currently, in the process of network ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a network port state management method, a state machine engine device, electronic equipment and a computer readable storage medium. The network port state management method comprises the steps of obtaining a current state of a target network port recorded in a state storage library of a preset state machine; after a current excitation signal is received, querying state conversion operation information corresponding to the current state and the current excitation signal in a state conversion information base of the preset state machine; the state conversion information base pre-storing information of state conversion operation to be executed after the target network port receives each excitation signal in each state , and the information of the state conversion operation comprising a next state to be skipped to and a corresponding skipping condition; and skipping the preset state machine from the current state to the next state according to the skipping conditionin the queried state conversion operation information so as to execute an network port operation corresponding to the next state. According to the method, the code structure is simplified, modification and maintenance are more convenient, and the fault problem positioning and handling efficiency is improved.

Description

technical field [0001] The present application relates to the field of communication technology, and in particular to a network port state management method, a state machine engine device, electronic equipment, and a computer-readable storage medium. Background technique [0002] In the process of network communication, the driver for parsing the communication protocol needs to manage the state of the network port, that is, the network port, such as starting the local network port, and performing remote device discovery through the local network port. Therefore, generally, multiple states are set for the network port of the device, and a state transition mechanism under various excitation signals. [0003] When performing network port state management, the relevant program logic in the prior art is generally directly processed in a function, which requires a large number of judgments and generates a large number of judgment branch processing; thus resulting in redundant prog...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24G06F16/25
CPCH04L41/0677G06F16/258
Inventor 范会杨
Owner 北京浪潮数据技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products