CN114900558B - Universal equipment management protocol control method and device - Google Patents
Universal equipment management protocol control method and device Download PDFInfo
- Publication number
- CN114900558B CN114900558B CN202210423898.8A CN202210423898A CN114900558B CN 114900558 B CN114900558 B CN 114900558B CN 202210423898 A CN202210423898 A CN 202210423898A CN 114900558 B CN114900558 B CN 114900558B
- Authority
- CN
- China
- Prior art keywords
- equipment
- request
- device management
- information body
- type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000012545 processing Methods 0.000 claims abstract description 54
- 230000004044 response Effects 0.000 claims abstract description 32
- 230000003993 interaction Effects 0.000 claims description 16
- 230000000737 periodic effect Effects 0.000 claims description 15
- 238000006243 chemical reaction Methods 0.000 claims description 13
- 230000009471 action Effects 0.000 claims description 12
- 230000010365 information processing Effects 0.000 claims description 10
- 238000003032 molecular docking Methods 0.000 abstract description 6
- 238000011161 development Methods 0.000 abstract description 5
- 238000007726 management method Methods 0.000 description 288
- 230000008569 process Effects 0.000 description 18
- 238000004891 communication Methods 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 230000002452 interceptive effect Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 1
- 230000010399 physical interaction Effects 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
The invention discloses a method and a device for controlling a universal equipment management protocol, wherein the method comprises the following steps: receiving a device management request; converting the equipment management request into a corresponding equipment management request message body; analyzing the equipment management request message body and determining the request type of the equipment management request message body; and calling a corresponding request processing strategy according to the type of the equipment management request message body. The general device management protocol control method and the general device management protocol control device provided by the invention can respond to various device management requests without a device management protocol docking module for device development response by determining the device management protocol format, analyzing and judging, reporting the service and selecting the update strategy, and are simple to operate and high in response speed.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling a universal device management protocol.
Background
The communication between intelligent devices is generally based on TCP/IP technology, and the communication interface adopts a computer serial interface, a CAN interface or other bus interfaces, so that the communication between different devices needs to be carried out through corresponding protocols.
With the development of industrial technology and social demands, there are a plurality of device management protocols on the market, such as LwM2M device management protocol, oma dm device management protocol, device management protocol set by different device manufacturers. Intelligent devices do not have a unified communication protocol, and the protocols involved are more complex and diverse. In the prior art, when the device management server directly communicates with the interface of the device to be connected and different device protocols are used for interfacing with the actual device, the interfacing module needs to be developed on the device according to the different device management protocols, including the work of installing development environment, reading development documents, calling library functions provided by the device, and the like, so that the workload is large, the time consumption is long, special software engineers are needed to participate, the requirement on personnel is high, and the rapid access of the different device management protocols to the device cannot be realized.
Disclosure of Invention
The application provides a universal device management protocol control method and a device, which are used for solving the problems that in the prior art, communication between different devices needs to develop a docking module according to different device management protocols and the workload is large, and realizing the rapid access of the different device management protocols to the devices.
In a first aspect, the present application provides a general device management protocol control method, including:
Receiving a device management request issued by a device management server to a first device;
Converting the device management request into a device management request information body corresponding to the first device;
Analyzing the equipment management request information body and determining the request type of the equipment management request information body;
Monitoring the service resources of the first equipment in real time, actively reporting the service resources when the service resources of the first equipment are changed, and updating the service cache list of the equipment management server;
Invoking a corresponding request processing strategy according to the type of the equipment management request information body; the request processing strategy specifically comprises the following steps: when the equipment management request information body is a read operation type request or a periodic action type request, acquiring a response result of the equipment request from a service cache list of the equipment management server; and when the equipment management request information body is an action execution type request or a write operation type request, the equipment management request information body is issued to the first equipment for processing.
In this way, the received device management request is directly converted into the device management request information body corresponding to the first device, so that the device management server can better transfer the device management request to the first device. The type of the equipment management request information body is judged, and a corresponding request processing strategy is selected according to the request type, so that a more flexible processing mode can be provided for the equipment management request. And monitoring the service resources in the first equipment in real time, and actively reporting when the service resources are changed and updating the service cache list to the equipment management server, so that information interaction between the equipment management server and the first equipment is facilitated. Furthermore, when the device management request information body is a read operation type request or a periodic action type request, the device request response result can be directly obtained from the service cache list of the device management server, the processing strategy can be used for reestablishing interactive connection with the first device without the device management server, the load can be effectively reduced, the resources such as bandwidth and flow are saved, and when the device is in an offline state, the device management request can also be responded. Compared with the prior art that when the first device is connected with different device management protocols, the complex operation of developing corresponding docking modules on the device according to the different device management protocols is needed.
In one implementation manner, the converting the device management request into a device management request information body corresponding to the first device specifically includes:
calling the storage content of a device management protocol stack;
the equipment management protocol stack is used for storing equipment management protocols of different types;
acquiring a device management protocol type according to the type parameter of the first device;
And converting the equipment management request into a corresponding equipment management request information body according to the equipment management protocol type.
In this way, the type of the device management protocol is determined in advance according to the type parameter of the device, and the device management protocol is converted into a corresponding device request information body, wherein the device management request information body is of a message type acceptable to the first device, and the first device can directly receive the device management request information body, so that the device management server can better send the device management request to the first device.
In one implementation manner, service resources of a first device are monitored in real time, and when the service resources of the first device are changed, the service resources are actively reported, which specifically includes:
When the equipment management server issues the equipment management request to the first equipment, initializing a service cache list of the equipment management server, and actively subscribing the service resources of the first equipment;
when the business resources of the first equipment are changed, actively reporting the business resources to an intermediate information processing layer;
The intermediate information processing layer selects a corresponding update processing strategy according to the equipment management protocol type corresponding to the first equipment; the update processing strategy specifically comprises the following steps: if the device management protocol type is the device management protocol type which needs to be actively reported, processing and converting the reported content into a corresponding device management protocol format and reporting the corresponding device management protocol format to the device management protocol stack; if the device management protocol type is the device management protocol type which does not need to be actively reported, the reported content is updated to a service cache list of the device management server, and the device management protocol type is directly called when the device management protocol stack initiates a request.
Therefore, the service resources of the first equipment are actively subscribed, and when the service resources of the first equipment are changed, the service resources are actively reported, so that information interaction between the equipment management server and the first equipment can be realized, and the equipment management server can acquire the service resource state of the first equipment more timely. Furthermore, when the service resource reported by the first device is changed, a corresponding update processing strategy is selected according to the device management protocol type corresponding to the first device, and in the subsequent device management request process, if a read operation type request or a periodic action type request can be directly obtained according to the updated service cache list, the device management request is not required to be issued to the first device, the response speed and the response efficiency of the device management request are further improved, and the response flow is simplified.
In a second aspect, the present application provides a generic device management protocol control apparatus, comprising: the device comprises a receiving module, a conversion module, an interaction module and a response module;
The receiving module is used for receiving an equipment management request issued by the equipment management server to the first equipment;
The conversion module is used for converting the equipment management request into an equipment management request information body corresponding to the first equipment; analyzing the equipment management request information body and determining the request type of the equipment management request information body;
the interaction module is used for monitoring the service resources of the first equipment in real time, actively reporting the service resources of the first equipment when the service resources of the first equipment are changed, and updating the service cache list of the equipment management server;
the response module is used for calling a corresponding request processing strategy according to the type of the equipment management request information body; the request processing strategy specifically comprises the following steps: when the equipment management request information body is a read operation type request or a periodic action type request, acquiring a response result of the equipment request from a service cache list of the equipment management server; and when the equipment management request information body is an action execution type request or a write operation type request, the equipment management request information body is issued to the first equipment for processing.
In this way, the receiving module, the conversion module, the interaction module and the response module jointly process and convert the received equipment management request, so that the equipment can be quickly accessed to different equipment management protocols. The conversion module directly converts the received device management request into a device management request information body in a corresponding device management request protocol format, so that the device management server can better transmit the device management request to the first device. The response module selects a corresponding request processing strategy according to the request type, so that a more flexible processing mode can be provided for the equipment management request. The interaction module monitors the service resources in the first equipment in real time, and when the service resources are changed and actively reported, the service resources are updated to the service cache list of the equipment management server, so that information interaction between the equipment management server and the first equipment is facilitated. Furthermore, when the device management request information body is a read operation type request or a periodic action type request, the response module can directly obtain the response result of the device request from the service cache list of the device management server, and the processing strategy can avoid the need of re-establishing interactive connection with the first device by the device management server, thereby effectively reducing the load, saving the bandwidth, the flow and other resources, and also can respond to the device management request when the device is in an offline state. Compared with the prior art that when the first device is connected with different device management protocols, the complex operation of developing corresponding docking modules on the device according to the different device management protocols is needed.
Drawings
Fig. 1 is a schematic flow chart of a general device management protocol control method according to an embodiment of the present invention;
Fig. 2 is a block diagram of a generic device management protocol control apparatus according to an embodiment of the present invention.
Detailed Description
The following describes in further detail the embodiments of the present invention with reference to the drawings and examples. The following examples are illustrative of the invention and are not intended to limit the scope of the invention.
Embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
The terms first and second and the like in the description and in the claims and in the drawings are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
First, some terms in the present application will be explained in order to be understood by those skilled in the art.
(1) Protocol stack: protocol stack, also known as Protocol stack, is a specific software implementation of a computer network Protocol suite. Because each protocol module typically communicates with two other protocol modules, one above the other, they are typically thought of as layers in the protocol stack. The lowest level protocol always describes the physical interaction with the hardware. Each advanced level adds more features. The user application only handles the uppermost protocol.
(2) LwM2M device management protocol: (LIGHTWEIGHT M M, lightweight M2M), proposed by the mobile alliance (OMA) development, is a lightweight, standard and general device management protocol for the internet of things, and can be used for rapidly deploying the internet of things service in a client/server mode.
(3) OMADM device management protocol: OMA DM, also known as Client provisioning, is a protocol that manages terminals within a network through a remote server. Through OMA DM, the server can perform various management functions such as firmware update, parameter configuration, data acquisition and the like on the terminal equipment.
(4) The process comprises the following steps: the (Process) is a running activity of a program in a computer on a certain data set, is a basic unit of resource allocation and scheduling of a system, and is a basis of an operating system structure. A process is a running activity of a program with a certain independent function with respect to a certain data set. It is the basic unit of dynamic execution of the operating system, in which processes are both basic allocation units and basic execution units.
(5) Callback function: the callback function is a function which is transferred as a parameter, and allows a user to transfer a pointer of the function to be called as the parameter to a function, so that the function can flexibly use different methods when processing similar events.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of a general device management protocol control method according to an embodiment of the present invention. The embodiment of the invention provides a general equipment management protocol control method, which comprises steps 101 to 105, wherein the steps are as follows:
Step 101: receiving a device management request issued by a device management server to a first device;
step 102: converting the device management request into a device management request information body corresponding to the first device; analyzing the equipment management request information body and determining the type of the equipment management request information body;
Step 103: monitoring the service resources of the first equipment in real time, actively reporting the service resources when the service resources of the first equipment are changed, and updating the service cache list of the equipment management server;
Step 104: invoking a corresponding request processing strategy according to the type of the equipment management request information body; the request processing strategy specifically comprises the following steps: when the equipment management request information body is a read operation type request or a periodic action type request, acquiring a response result of the equipment request from a service cache list of the equipment management server; and when the equipment management request information body is an action execution type request or a write operation type request, the equipment management request information body is issued to the first equipment for processing.
In the embodiment of the invention, the device management server is a computing machine capable of directly sending out a control command, and the device management server comprises, but is not limited to, a computer, a mobile phone, a tablet, a panel, a touch screen and other server devices. The universal equipment management protocol control method provided by the embodiment of the invention is suitable for the physical equipment needing networking of phones, sensors and gateways.
In the embodiment of the invention, after receiving the equipment management request issued by the equipment management server to the first equipment, the storage content of the equipment management protocol stack is called to process the equipment management request. The device management protocol stack is used for storing different types of device management protocols, including but not limited to LwM2M device management protocol, OMADM device management protocol, proprietary device management protocol and other device management protocol types. After receiving the device management request, the device management protocol stack selects a corresponding device management protocol according to the device to be connected, namely the interface type parameter of the first device, and converts the device management request into a corresponding device management request information body.
In a specific embodiment, if the device management request is in the form of an object or resource information body, the device management request is issued by the LwM2M device management protocol; if the equipment management protocol is OMADM equipment management protocol, the equipment management request is issued in the form of tree structure information body; and if the private equipment management request is the private equipment management request, issuing the management request in the form of a negotiated information body.
After the information body form of the equipment management request is determined, the method further comprises the step of analyzing the equipment request information body and judging the request type of the equipment management request information body. The types of the device management request specifically include: an action execution class request, a write operation class request, a read operation class request, and a periodic action class request.
The service cache list in the embodiment of the invention is used for storing the equipment related information of the first equipment, including but not limited to hardware composition, software version number, module version number, power supply mode and the like of the first equipment.
As a preferred case of the embodiment of the present invention, when the device management server issues a device management request to the first device, the method further includes: and monitoring the service resources of the first equipment in real time, initializing a self service cache list when the equipment management server sends an equipment management request to the first equipment, and actively subscribing the service resources of the first equipment. Wherein the content of the service resource varies according to the type of the first device. For example, the service resources of the phone device include registration, firmware version, call condition, etc.; and the service resources of the devices such as the sensor comprise temperature, moderate and illumination intensity. In a specific embodiment, different first devices are connected, corresponding service resources are also different, and the service resources of the device types are only used for describing the service resources and are not used for limiting the types and the ranges of the service resources. When the business resource of the first equipment is changed, the business resource is actively reported to the middle information processing layer, and the middle layer selects a corresponding update processing strategy according to the equipment management protocol type corresponding to the first equipment. The update processing strategy specifically comprises the following steps: if the device management protocol type is the device management protocol type which needs to be actively reported, processing and converting the reported content into a corresponding device management protocol format and reporting the corresponding device management protocol format to the device management protocol stack; if the device management protocol type is the device management protocol type which does not need to be actively reported, the reported content is updated to a service cache list of the device management server, and the device management protocol type is directly called when the device management protocol stack initiates a request.
When the service resource of the first device is changed and the changed service resource is the resource subscribed by the device management server, the service resource is determined to be the device management protocol type needing to be actively reported, and the updated service resource is converted into a corresponding device management protocol format and uploaded to the device management protocol stack. In a specific embodiment, the above intermediate information processing layer may be understood as a process of the server, where the process includes starting a parameter of the service cache list and performing a procedure of acquiring service resources with the first device, and the process implements data acquisition and transfer through a callback function.
In the embodiment of the invention, the corresponding request processing strategy is called according to the type of the equipment management request information body. When the equipment management request information body is a read operation type request or a periodic action type request, acquiring a response result of the equipment request from a service cache list of the equipment management server; and when the device management request information body is an action execution class request or a write operation class request, the device management request information body is issued to the first device for processing.
In a specific embodiment, when the request type of the device request information body is a read operation type request, for example: the device management server issues a device management request for reading the software version number, and the device management server can directly acquire the current software version number of the first device from the service cache list and then return the current software version number to the device management server. When the equipment management server issues a restarting equipment management request, the equipment management request is converted into an equipment request information body and then sent to first equipment, the first equipment receives the equipment request information body and then processes the equipment request information body, a restarting interface of the system is called, equipment is restarted, and response to the equipment management request is completed.
The embodiment of the application provides a general equipment management protocol control method, which directly converts a received equipment management request into an equipment management request information body corresponding to first equipment so that an equipment management server can better transmit the equipment management request to the first equipment. The type of the equipment management request information body is judged, and a corresponding request processing strategy is selected according to the request type, so that a more flexible processing mode can be provided for the equipment management request. And monitoring the service resources in the first equipment in real time, and actively reporting when the service resources are changed and updating the service cache list to the equipment management server, so that information interaction between the equipment management server and the first equipment is facilitated. Furthermore, when the device management request information body is a read operation type request or a periodic action type request, the device request response result can be directly obtained from the service cache list of the device management server, the processing strategy can be used for reestablishing interactive connection with the first device without the device management server, the load can be effectively reduced, the resources such as bandwidth and flow are saved, and when the device is in an offline state, the device management request can also be responded. Compared with the prior art that when the first device is connected with different device management protocols, the complex operation of developing corresponding docking modules on the device according to the different device management protocols is needed.
Example 2
Referring to fig. 2, fig. 2 is a block diagram of a generic device management protocol control apparatus according to an embodiment of the present invention. The embodiment of the invention also provides a general equipment management protocol control module which comprises a receiving module 201, a converting module 202, an interaction module 203 and a response module 204.
The receiving module 201 is configured to receive a device management request sent by a device management server to a first device;
The conversion module 202 is configured to convert the device management request into a device management request information body corresponding to the first device; analyzing the equipment management request information body and determining the type of the equipment management request information body;
The interaction module 203 is configured to monitor, in real time, a service resource of the first device, actively report the service resource of the first device when the service resource of the first device is changed, and update a service cache list of the device management server;
The response module 204 is configured to invoke a corresponding request processing policy according to the type of the device management request information body; the request processing strategy specifically comprises the following steps: when the equipment management request information body is a read operation type request or a periodic action type request, acquiring a response result of the equipment request from a service cache list of the equipment management server; and when the equipment management request information body is an action execution type request or a write operation type request, the equipment management request information body is issued to the first equipment for processing.
In the embodiment of the invention, the device management server is a computing machine capable of directly sending out a control command, and the device management server comprises, but is not limited to, a computer, a mobile phone, a tablet, a panel, a touch screen and other server devices. The universal equipment management protocol control method provided by the embodiment of the invention is suitable for the physical equipment needing networking of phones, sensors and gateways.
In this embodiment of the present invention, the receiving module 201 is configured to receive a device management request sent by a device management server to a first device, and send the device management request to the converting module 202 after receiving the device management request sent by the device management server to the first device. The conversion module calls the storage content of the equipment management protocol stack. The device management protocol stack is used for storing different types of device management protocols, including but not limited to LwM2M device management protocol, OMADM device management protocol, proprietary device management protocol and other device management protocol types. After receiving the device management request, the device management protocol stack selects a corresponding device management protocol according to the device to be connected, namely the interface type parameter of the first device, and converts the device management request into a corresponding device management request information body.
In a specific embodiment, in the case of the LwM2M device management protocol, the conversion module 202 issues the device management request in the form of an object or resource information body; if the device management protocol is OMADM, the conversion module 202 issues the device management request in the form of a tree structure information body; if the request is a private device management request, the conversion module 202 issues the management request in the form of a negotiated information body.
After determining the information body form of the device management request, the conversion module 202 further analyzes the device request information body, and determines the request type of the device management request information body. The types of the device management request specifically include: an action execution class request, a write operation class request, a read operation class request, and a periodic action class request.
The service cache list in the embodiment of the invention is used for storing the equipment related information of the first equipment, including but not limited to hardware composition, software version number, module version number, power supply mode and the like of the first equipment.
As a preferred case of the embodiment of the present invention, when the device management server issues a device management request to the first device, the method further includes: the interaction module 203 monitors the service resources of the first device in real time. When the device management server sends a device management request to the first device, initializing a self service cache list and actively subscribing the service resources of the first device. When the business resource of the first equipment is changed, the business resource is actively reported to the middle information processing layer, and the middle layer selects a corresponding update processing strategy according to the equipment management protocol type corresponding to the first equipment. The update processing strategy specifically comprises the following steps: if the device management protocol type is the device management protocol type which needs to be actively reported, processing and converting the reported content into a corresponding device management protocol format and reporting the corresponding device management protocol format to the device management protocol stack; if the device management protocol type is the device management protocol type which does not need to be actively reported, the reported content is updated to a service cache list of the device management server, and the device management protocol type is directly called when the device management protocol stack initiates a request.
In a specific embodiment, the above intermediate information processing layer may be understood as a process of the server, where the process includes starting a parameter of the service cache list and performing a procedure of acquiring service resources with the first device. The process realizes data acquisition and transfer through a callback function.
In the embodiment of the present invention, the response module 204 invokes a corresponding request processing policy according to the type of the device management request information body. When the equipment management request information body is a read operation type request or a periodic action type request, acquiring a response result of the equipment request from a service cache list of the equipment management server; and when the device management request information body is an action execution class request or a write operation class request, the device management request information body is issued to the first device for processing.
In a specific embodiment, when the request type of the device request information body is a read operation type request, for example: the device management server issues a device management request for reading the software version number, and the device management server can directly acquire the current software version number of the first device from the service cache list and then return the current software version number to the device management server. When the equipment management server issues a restarting equipment management request, the equipment management request is converted into an equipment request information body and then sent to first equipment, the first equipment receives the equipment request information body and then processes the equipment request information body, a restarting interface of the system is called, equipment is restarted, and response to the equipment management request is completed.
The embodiment of the application provides a universal device management protocol control device, which processes and converts a received device management request through a receiving module, a converting module, an interaction module and a response module together, thereby realizing the rapid access of different device management protocols to devices. The conversion module directly converts the received device management request into a device management request information body in a corresponding device management request protocol format, so that the device management server can better transmit the device management request to the first device. The response module selects a corresponding request processing strategy according to the request type, so that a more flexible processing mode can be provided for the equipment management request. The interaction module monitors the service resources in the first equipment in real time, and when the service resources are changed and actively reported, the service resources are updated to the service cache list of the equipment management server, so that information interaction between the equipment management server and the first equipment is facilitated. Furthermore, when the device management request information body is a read operation type request or a periodic action type request, the response module can directly obtain the response result of the device request from the service cache list of the device management server, and the processing strategy can avoid the need of re-establishing interactive connection with the first device by the device management server, thereby effectively reducing the load, saving the bandwidth, the flow and other resources, and also can respond to the device management request when the device is in an offline state. Compared with the prior art that when the first device is connected with different device management protocols, the complex operation of developing corresponding docking modules on the device according to the different device management protocols is needed.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and substitutions can be made by those skilled in the art without departing from the technical principles of the present invention, and these modifications and substitutions should also be considered as being within the scope of the present invention.
Claims (8)
1. A universal device management protocol control method, comprising:
Receiving a device management request issued by a device management server to a first device;
Converting the device management request into a device management request information body corresponding to the first device;
Analyzing the equipment management request information body and determining the request type of the equipment management request information body;
When the equipment management server issues the equipment management request to the first equipment, initializing a service cache list of the equipment management server, and actively subscribing the service resources of the first equipment;
when the business resources of the first equipment are changed, actively reporting the business resources to an intermediate information processing layer;
the intermediate information processing layer selects a corresponding update processing strategy according to the equipment management protocol type corresponding to the first equipment; the update processing strategy specifically comprises the following steps: if the device management protocol type is the device management protocol type which needs to be actively reported, processing and converting the reported content into a corresponding device management protocol format and reporting the corresponding device management protocol format to a device management protocol stack; if the device management protocol type is the device management protocol type which does not need to be actively reported, updating the reported content to a service cache list of the device management server, and directly calling when the device management protocol stack initiates a request;
updating a service cache list to the equipment management server;
Invoking a corresponding request processing strategy according to the type of the equipment management request information body; the request processing strategy specifically comprises the following steps: when the equipment management request information body is a read operation type request or a periodic action type request, acquiring a response result of the equipment request from a service cache list of the equipment management server; and when the equipment management request information body is an action execution type request or a write operation type request, the equipment management request information body is issued to the first equipment for processing.
2. The method for controlling a generic device management protocol according to claim 1, wherein said converting said device management request into a device management request information body corresponding to said first device comprises:
calling the storage content of a device management protocol stack;
the equipment management protocol stack is used for storing equipment management protocols of different types;
acquiring a device management protocol type according to the type parameter of the first device;
And converting the equipment management request into a corresponding equipment management request information body according to the equipment management protocol type.
3. A method according to any one of claims 1-2, wherein the service cache list of the device management server is used for storing device related information of the first device, and specifically comprises: the first device comprises a hardware composition, a software version number, a module version number and a power supply mode.
4. The method according to claim 1, wherein when the device management request information body is an action execution class request or a write operation class request, the device management request information body is issued to the first device for processing, specifically:
And after the first device receives the device management request information body, calling a device interface corresponding to the first device to respond to the device management request information body.
5. A universal device management protocol control apparatus, comprising: the device comprises a receiving module, a conversion module, an interaction module and a response module;
The receiving module is used for receiving an equipment management request issued by the equipment management server to the first equipment;
The conversion module is used for converting the equipment management request into an equipment management request information body corresponding to the first equipment; analyzing the equipment management request information body and determining the request type of the equipment management request information body;
the interaction module is used for initializing a service cache list of the equipment management server and actively subscribing service resources of the first equipment when the equipment management server issues the equipment management request to the first equipment; when the business resources of the first equipment are changed, actively reporting the business resources to an intermediate information processing layer; the intermediate information processing layer selects a corresponding update processing strategy according to the equipment management protocol type corresponding to the first equipment; the update processing strategy specifically comprises the following steps: if the device management protocol type is the device management protocol type which needs to be actively reported, processing and converting the reported content into a corresponding device management protocol format and reporting the corresponding device management protocol format to the device management protocol stack; if the device management protocol type is the device management protocol type which does not need to be actively reported, updating the reported content to a service cache list of the device management server, and directly calling when the device management protocol stack initiates a request; updating a service cache list to the equipment management server;
the response module is used for calling a corresponding request processing strategy according to the type of the equipment management request information body; the request processing strategy specifically comprises the following steps: when the equipment management request information body is a read operation type request or a periodic action type request, acquiring a response result of the equipment request from a service cache list of the equipment management server; and when the equipment management request information body is an action execution type request or a write operation type request, the equipment management request information body is issued to the first equipment for processing.
6. The universal device management protocol control apparatus according to claim 5, wherein the converting module is configured to convert the device management request into a device management request information body corresponding to the first device, and specifically comprises:
calling the storage content of a device management protocol stack;
the equipment management protocol stack is used for storing equipment management protocols of different types;
acquiring a device management protocol type according to the type parameter of the first device;
And converting the equipment management request into a corresponding equipment management request information body according to the equipment management protocol type.
7. The apparatus according to any one of claims 5-6, wherein the service cache list of the device management server is configured to store device related information of the first device, and specifically includes: the first device comprises a hardware composition, a software version number, a module version number and a power supply mode.
8. The universal device management protocol control apparatus according to claim 5, wherein when the device management request information body is an action execution class request or a write operation class request, the device management request information body is issued to the first device for processing, specifically:
And after the first device receives the device management request information body, calling a device interface corresponding to the first device to respond to the device management request information body.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210423898.8A CN114900558B (en) | 2022-04-21 | 2022-04-21 | Universal equipment management protocol control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210423898.8A CN114900558B (en) | 2022-04-21 | 2022-04-21 | Universal equipment management protocol control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114900558A CN114900558A (en) | 2022-08-12 |
CN114900558B true CN114900558B (en) | 2024-04-19 |
Family
ID=82717292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210423898.8A Active CN114900558B (en) | 2022-04-21 | 2022-04-21 | Universal equipment management protocol control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114900558B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115811778A (en) * | 2022-11-15 | 2023-03-17 | 西安广和通无线软件有限公司 | Service processing method, device, storage medium and equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000134208A (en) * | 1998-10-21 | 2000-05-12 | Hitachi Ltd | Information repeater |
EP1067732A2 (en) * | 1999-07-09 | 2001-01-10 | Lsi Logic Corporation | Methods and apparatus for managing devices without network attachments |
WO2009129741A1 (en) * | 2008-04-25 | 2009-10-29 | 华为技术有限公司 | Method, system and apparatus for implementing cache policy control |
CN102171993A (en) * | 2011-04-14 | 2011-08-31 | 华为技术有限公司 | Linkage strategy implementation method and apparatus, open platform veneer and device |
CN102769630A (en) * | 2012-08-01 | 2012-11-07 | 烽火通信科技股份有限公司 | Conversion method for CWMP (CPE WAN Management Protocol) and UPnP (Universal Plug and Play) protocol in terminal management |
CN108234149A (en) * | 2016-12-09 | 2018-06-29 | 沈阳美行科技有限公司 | Network request management method and device |
CN113067811A (en) * | 2021-03-17 | 2021-07-02 | 北京自如信息科技有限公司 | Protocol conversion method, device, system, electronic equipment and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047607A (en) * | 2006-06-01 | 2007-10-03 | 华为技术有限公司 | System and method for implementing multicast service |
US20140149554A1 (en) * | 2012-11-29 | 2014-05-29 | Ricoh Co., Ltd. | Unified Server for Managing a Heterogeneous Mix of Devices |
US10630410B2 (en) * | 2016-05-13 | 2020-04-21 | Telefonaktiebolaget Lm Ericsson (Publ) | Network architecture, methods, and devices for a wireless communications network |
-
2022
- 2022-04-21 CN CN202210423898.8A patent/CN114900558B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000134208A (en) * | 1998-10-21 | 2000-05-12 | Hitachi Ltd | Information repeater |
EP1067732A2 (en) * | 1999-07-09 | 2001-01-10 | Lsi Logic Corporation | Methods and apparatus for managing devices without network attachments |
WO2009129741A1 (en) * | 2008-04-25 | 2009-10-29 | 华为技术有限公司 | Method, system and apparatus for implementing cache policy control |
CN102171993A (en) * | 2011-04-14 | 2011-08-31 | 华为技术有限公司 | Linkage strategy implementation method and apparatus, open platform veneer and device |
CN102769630A (en) * | 2012-08-01 | 2012-11-07 | 烽火通信科技股份有限公司 | Conversion method for CWMP (CPE WAN Management Protocol) and UPnP (Universal Plug and Play) protocol in terminal management |
CN108234149A (en) * | 2016-12-09 | 2018-06-29 | 沈阳美行科技有限公司 | Network request management method and device |
CN113067811A (en) * | 2021-03-17 | 2021-07-02 | 北京自如信息科技有限公司 | Protocol conversion method, device, system, electronic equipment and storage medium |
Non-Patent Citations (4)
Title |
---|
American Academy of Periodontology Task Force Report on the Update to the 1999 Classification of Periodontal Diseases and Conditions..Journal of periodontology.2015,第86卷全文. * |
Classification of change detection and change blindness from near-infrared spectroscopy signals;Hirokazu Tanaka;Takusige Katura;Journal of Biomedical Optics;20111231;16(8);全文 * |
基于SDN的IP RAN网络智能路由管理系统应用研究;尹远阳;孙嘉琪;卢泉;杨广铭;;移动通信;20161030(第20期);全文 * |
电话网管理系统嵌入式协议适配器;许世明;周卫东;许波;;电信快报;20070225(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114900558A (en) | 2022-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112799789B (en) | Node cluster management method, device, equipment and storage medium | |
WO2021190482A1 (en) | Computing power processing network system and computing power processing method | |
CN105472042A (en) | WEB terminal controlled message middleware system and data transmission method thereof | |
WO2022171083A1 (en) | Information processing method based on internet-of-things device, and related device and storage medium | |
EP4270204A1 (en) | Multi-cloud interface adaptation method and system based on micro-service, and storage medium | |
CN110166524B (en) | Data center switching method, device, equipment and storage medium | |
CN111294289A (en) | Multi-link switching robot communication method and system | |
CN101178666A (en) | Coordinating and scheduling method between heterogeneous multi-core | |
JP7161560B2 (en) | Artificial intelligence development platform management method, device, medium | |
CN112199353A (en) | Data processing method and electric power customer service platform | |
CN114900558B (en) | Universal equipment management protocol control method and device | |
CN104750544A (en) | Process management system and process management method applied to distributed system | |
CN111078238A (en) | Centralized processing method and device for application configuration in container environment | |
CN101895441B (en) | Service debugging device and method for JAVA application of terminal of Internet of things | |
CN115499432A (en) | Family terminal computing resource management system and computing resource scheduling method | |
CN105245553A (en) | SOA system and service processing method | |
CN114546648A (en) | Task processing method and task processing platform | |
WO2013097363A1 (en) | Method and system for scheduling data sharing device | |
CN101551758B (en) | System and method for implementing paralleling work of device management and tasks | |
CN115550354A (en) | Data processing method and device and computer readable storage medium | |
CN109525443B (en) | processing method and device for distributed pre-acquisition communication link and computer equipment | |
CN112953992A (en) | Network system, communication and networking method, device and storage medium | |
CN115225450A (en) | Multi-data machine room virtualization cluster management system based on edge computing | |
CN102904739A (en) | Method for realizing event transmission and common information model (CIM) server | |
CN113238928B (en) | End cloud collaborative evaluation system for audio and video big data task |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |