Equipment state management method

A management method and equipment status technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems affecting original business logic, inflexible code processing, and inflexible business expansion, and achieve business processing logic coupling. Low, clear business division of labor, conducive to the effect of expansion

Inactive Publication Date: 2018-09-04
XIAMEN YEALINK NETWORK TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing device status management has the following shortcomings: 1. The code processing is not flexible enough. Before processing each business, it is necessary to judge the current status through conditional statements, and then decide what business to process; 2. The business expansion is not flexible enough. If a new state, you need to traverse all the business, and then add processing logic to the business that may need to be processed, and the code changes are large, which may affect the original business logic, the risk is not easy to control, and the stability is poor
If a new device is added, the complexity of business processing will increase by far more than 1+1. High complexity will lead to poor management stability

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
  • Equipment state management method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] like figure 1 As shown, the present invention discloses a device state management method, which is specifically:

[0017] A manager Manager is used to manage at least one device. When the device starts to operate, the manager creates a session session and uses the unique identifier of its associated device as the ID of the operation session session; each device corresponds to a session session, and each session A session corresponds to multiple state states through the base class CBaseState. The state state inherits from the base class CBaseState. The device can only have one state state at the same time. For example, when the manager Manager manages three devices: device 1, device 2, and device 3, device 1 corresponds to session session1, device 2 corresponds to session session2, device 3 corresponds to session session3, and the manager Mananger operates session1, session2, Session 3 is used to operate Device 1, Device 2, and Device 3 respectively. Device 1, Device 2,...

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 relates to an equipment state management method. The method comprises the steps as follows: when equipment starts operation, a manager builds a session, and uses a unique identifier of associated equipment as an ID for operating the session; each piece of equipment is corresponding to one session, and each session is corresponding to a plurality of states via a base class; the mangerreceives an external signal, the manager distributes the signal to the session of the corresponding equipment according to the session ID, and the session calls an entrance of the corresponding statefrom the base class according to the signal content, and performs corresponding state service processing. According to the method provided by the invention, the equipment is flexible in state management, good in function stability, and low in service processing logic coupling degree; each state does not need to concern what the previous state was, and does not need to concern which services needing to be processed by the other states, and only needs to concert what input signal is received by own state and process the corresponding service, or enter the next state.

Description

technical field [0001] The present invention relates to a device management method, in particular to a device state management method. Background technique [0002] In the prior art, there is generally a manager to manage the status of the equipment. There is an identifier used to represent the status in the manager, and the business corresponding to the status is processed according to the status identifier. Whenever the status of the equipment changes, the manager will The flag changes to the corresponding state. [0003] The existing equipment status management has the following shortcomings: 1. The code processing is not flexible enough. Before each business is processed, it is necessary to judge the current status through a conditional statement, and then decide what business to handle; 2. The business expansion is not flexible enough. If a new one is added state, you need to traverse all the business, and then add processing logic to the business that may need to be p...

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/24
CPCH04L41/00
Inventor 卢荣富柯剑峰苏斌
Owner XIAMEN YEALINK NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products