CN109600266A - A kind of device management command dissemination method and management equipment - Google Patents
A kind of device management command dissemination method and management equipment Download PDFInfo
- Publication number
- CN109600266A CN109600266A CN201811570759.8A CN201811570759A CN109600266A CN 109600266 A CN109600266 A CN 109600266A CN 201811570759 A CN201811570759 A CN 201811570759A CN 109600266 A CN109600266 A CN 109600266A
- Authority
- CN
- China
- Prior art keywords
- managed devices
- management equipment
- sent
- management
- command
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of device management command dissemination method and management equipments, the device management command dissemination method is applied to the management equipment equipped with SignalR module, if managed devices are currently off-line state, command information to be sent is locally stored management equipment, and connection status periodically current to managed devices is detected and obtained newly-generated command information;If managed devices are currently presence, command information to be sent is sent to managed devices by SignalR module by management equipment, and is revised as having executed by the command status in command information after managed devices are finished command information.To reduce system resource occupancy, realizes the maintenance of equipment real time remote, improve work efficiency.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of device management command dissemination method, the present invention is gone back simultaneously
It is related to a kind of management equipment.
Background technique
In the prior art, Ajax(Asynchronous Javascript And is used for the real-time monitoring of client
XML, asynchronous JavaScript and XML) long poll technology, user end to server transmission Ajax request, server, which is connected to, asks
Connection is maintained after asking, when server has new information, server ability returning response information simultaneously closes connection, client process
It sends new request after complete response message to server again, can not directly accomplish server directly to client push, server
Keep connection that can consume resource, returned data sequence is unsecured, it is difficult to management service.And long poll causes system resource to occupy
Greatly, and unstable, delay is high, it is easy to order be caused to lose.
In real life, with the rapid development of Internet technology, continuously emerged in the new problem of the equipment of Internet of Things,
New demand is proposed to the real-time monitoring maintenance of internet of things equipment, such as realizes the United Dispatching of equipment, equipment remote parameter is more
Newly, equipment remotely updating program, equipment remote parameter adjusting etc..First premise of these demands is exactly real time implementation batch processing,
Therefore, how to realize that the real-time command of batch device is assigned by management equipment and have become technical problem urgently to be solved.
Summary of the invention
The present invention provides one kind and is based on SignalR module device administration order dissemination method, remote to solve existing equipment
Journey maintenance system resource occupation is big, unstable, postpones high problem, and the method is applied to the management equipped with SignalR module
Equipment, this method comprises:
The order that the management equipment is sent to managed devices as needed generates command information to be sent;
The management equipment connection status current to the managed devices detects;
If the managed devices are currently off-line state, the management equipment carries out the command information to be sent local
Storage, and connection status periodically current to the managed devices is detected and is obtained newly-generated command information;
If the managed devices are currently presence, the management equipment will be described pending by the SignalR module
The command information sent is sent to the managed devices, and by institute after the managed devices are finished described instruction information
The command status in command information is stated to be revised as having executed.
Preferably, presetting database in the management equipment, the management equipment are sent to managed devices as needed
Order generate command information, specifically:
The management equipment adds described instruction information according to the order in the database, and described instruction information includes institute
State the mark of managed devices, the content of the order, type and described instruction state.
Preferably, the mark is specially that the managed devices are generated when being online with the management equipment
Communications identification field and, the management equipment to the managed devices current company uniquely corresponding with the managed devices
The state of connecing is detected, specifically:
The management equipment judges in the database with the presence or absence of the communications identification field;
If so, the management equipment confirms that the managed devices are currently presence;
If it is not, the management equipment confirms that the managed devices are currently off-line state.
Preferably, described instruction information is sent to described be managed by the SignalR module by the management equipment
Equipment, specifically:
The management equipment is established SignalR with the managed devices based on the communications identification field and is connect;
The management equipment calls the SignalR module to send described instruction information to the managed devices.
Preferably, it is equipped with management client in the management equipment, is sent to as needed in the management equipment by pipe
Before the order generation command information for managing equipment, further includes:
The management equipment shows current all manageable devices in the management client;
One or more of one or more manageable devices and user input that the management equipment is selected according to user
A order obtains the order for needing to be sent to managed devices.
Correspondingly, the application also proposed one kind based on SignalR module management equipment, comprising:
Generation module, the order for being sent to managed devices as needed generate command information to be sent;
Detection module, the connection status current to the managed devices detect;
The command information to be sent is carried out this if the managed devices are currently off-line state by processed offline module
Ground storage, and connection status periodically current to the managed devices is detected and is obtained newly-generated command information;
Online processing module will be described pending by the SignalR module if the managed devices are currently presence
The command information sent is sent to the managed devices, and by institute after the managed devices are finished described instruction information
The command status in command information is stated to be revised as having executed.
Correspondingly, the invention also provides a kind of computer readable storage medium, in the computer readable storage medium
It is stored with instruction, when described instruction is run on the terminal device, so that the terminal device executes equipment pipe as described above
Manage order dissemination method.
Correspondingly, the invention also provides a kind of computer program products, which is characterized in that the computer program product
When running on the terminal device, so that the terminal device executes device management command dissemination method as described above.
Pass through the technical solution of application the application, if the managed devices are currently off-line state, the management equipment
The command information to be sent is locally stored, and connection status periodically current to the managed devices is examined
Newly-generated command information is surveyed and obtains, if the managed devices are currently presence, the management equipment passes through institute
It states SignalR module and the command information to be sent is sent to the managed devices, be based on using SignalR technology,
Reduce system resource occupancy in device management command issuing process, realize the maintenance of equipment real time remote, improves work effect
Rate.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for device management command dissemination method that the application proposes;
Fig. 2 is device management command dissemination method concrete operations flow diagram in the application specific embodiment;
Fig. 3 is a kind of structural schematic diagram for management equipment that the application proposes;
Fig. 4 is the structural schematic diagram of management equipment in the application specific embodiment.
Specific embodiment
As stated in the background art, the prior art is occupying system resource in equipment monitoring management using Ajax long poll
Greatly, unstable, delay is high, it is easy to order be caused to lose.
To solve the above problems, the embodiment of the present application proposes a kind of device management command dissemination method.The program is based on
The SignalR communication technology carries out device management command publication, reduces system resource and occupies, and realizes the maintenance of equipment real time remote, mentions
High working efficiency.
As shown in Figure 1, being the flow diagram of above equipment administration order dissemination method, this method comprises the following steps:
Step S101, the order that the management equipment is sent to managed devices as needed generate command information to be sent.
As described above, the order in the application is to be sent to managed devices by management equipment in the form of command information
, it is sent to the order of managed devices as needed, management equipment can generate corresponding command information to be sent.
It is in a preferred embodiment of the present application, pre- in the management equipment to keep the orders and instructions information corresponding
If database, the order that the management equipment is sent to managed devices as needed generates command information, specifically:
The management equipment adds described instruction information according to the order in the database, and described instruction information includes institute
State the mark of managed devices, the content of the order, type and described instruction state.
It, can be in the newly-increased finger accordingly of database while management equipment publication instructs in the concrete application scene of the application
Data are enabled, which includes the mark for receiving the equipment of order, command type, command context and command status, middle finger
Writ state is defaulted as " newer command " state.
For example, the command context includes but is not limited to: executing undated parameter, updates program, updates timing, volume
Adjusting, brightness regulation, power switch, volume switch, upgrade procedure, equipment such as restart at the operation.
It should be noted that the scheme of preferred embodiment above is only a kind of specific implementation side that the application is proposed
Case, other realize that the mode of the order generation for being sent to managed devices as needed command information to be sent belongs to this Shen
Protection scope please.
Step S102, the management equipment connection status current to the managed devices detect.
As described above, management equipment can detect the current connection state of managed devices, managed devices are confirmed
For presence or off-line state.
Connection status to keep management equipment current to managed devices is accurately detected, in the preferred implementation of the application
In example, the mark is specially the communications identification word generated when the managed devices are online with the management equipment
Section and it is uniquely corresponding with the managed devices, the management equipment connection status current to the managed devices is examined
It surveys, specifically:
The management equipment judges in the database with the presence or absence of the communications identification field;
If so, the management equipment confirms that the managed devices are currently presence;
If it is not, the management equipment confirms that the managed devices are currently off-line state.
As described above, the management equipment is by judging in the database with the presence or absence of unique with the managed devices
Corresponding communications identification field, and then judge the managed devices for presence or off-line state.
In the concrete application scene of the application, all managed devices have the unique communication mark of a SignalR
Field, the mark are the unique identifications that communication two party establishes connection, when the device is online, can generate this unique identification and save
In database.
It should be noted that the scheme of preferred embodiment above is only a kind of specific implementation side that the application is proposed
Case, other realize that the mode that the management equipment connection status current to the managed devices is detected belongs to the application's
Protection scope.
Step S103, if the managed devices are currently off-line state, the management equipment is by the finger to be sent
Enable information be locally stored, and connection status periodically current to the managed devices detected and obtained it is newly-generated
Command information.
As described above, the management equipment can believe instruction to be sent when the managed devices are off-line state
Breath is locally stored, the management equipment can also periodic detection managed devices connection status and obtain newly-generated finger
Enable information.
In the concrete application scene of the application, if management equipment judges managed devices for off-line state, due to can not
With SignalR real-time communication is established, order can be temporarily held in by management equipment to be locally stored, when managed devices are online
When, management equipment can poll be locally stored in command information, if it is determined that have command status be " newer command " instruction, then will
The command information is sent to managed devices.
It should be noted that the scheme of preferred embodiment above is only a kind of specific implementation side that the application is proposed
Case, when other realize that managed devices are currently off-line state, management equipment carries out the command information to be sent local
The mode of storage belongs to the protection scope of the application.
Step S104, if the managed devices are currently presence, the management equipment passes through the SignalR mould
The command information to be sent is sent to the managed devices by block, and is finished the finger in the managed devices
The command status in described instruction information is revised as having executed after enabling information.
As described above, the management equipment will be to by SignalR module when the managed devices are presence
The command information of transmission is sent to the managed devices, and the managed devices execute described instruction letter after receiving command information
Breath, and be revised as having executed by command status after being finished.
To make management equipment send command information to managed devices, in the preferred reality of the application by SignalR module
It applies in example, described instruction information is sent to the managed devices by the SignalR module by the management equipment, specifically
Are as follows:
1), the management equipment is established SignalR with the managed devices based on the communications identification field and is connect;
2), the management equipment calls the SignalR module to send described instruction information to the managed devices.
In the concrete application scene of the application, management equipment opens website and is connected to SignalR module, is ready to pass through
SignalR module carries out acquisition of information, and whether management equipment detection browser supports a kind of JavaScript (literal translation formula script language
Speech), and user is prompted to allow using JavaScript;SignalR module judges whether management equipment supports WebSocket (base
In the full-duplex communication agreement of TCP) technology, message is sent using WebSocket technology if supporting and is used if not supporting
SSE (Streaming SIMD Extensions, instruction set), IE9(Internet Explorer 9, IE browser 9), it is long
The other technologies such as polling technique send message;The agreement that management equipment selects current browser to support, by the ID of managed devices
(Identity, account number), IP(Internet Protocol, network protocol) address as mark passes through itself Message Processing
Service module is sent to SignalR module;The management equipment is based on the mark and establishes SignalR with the managed devices
Connection.
In the concrete application scene of the application, managed devices execute described instruction information, after being finished, are managed
Equipment can notify the change situation of command status web terminal, web terminal to change the device directive state in database.
It should be noted that the scheme of preferred embodiment above is only a kind of specific implementation side that the application is proposed
Case, other realize that management equipment establishes the protection model that the mode that SignalR is connect belongs to the application with the managed devices
It encloses.
Selected equipment is directed to for the ease of user and sends specific command, in a preferred embodiment of the present application, in the pipe
It manages equipment and is equipped with management client, generate command information in the order that the management equipment is sent to managed devices as needed
Before, further includes:
1), the management equipment shows current all manageable devices in the management client;
2) one of one or more manageable devices and user input that, the management equipment is selected according to user or
Multiple orders obtain the order for needing to be sent to managed devices.
In the concrete application scene of the application, before publication instruction, the management equipment can be for the transmission of order
Mode edits command information.Management client has equipment management list, it is shown that all manageable devices can set
Standby management list carries out multiselect operation, and selects the order combobox needed to be implemented, realizes and sends single life for more equipment
It enables.Or in management client further include equipment edit page, it can be compiled for single equipment in the equipment edit page
It collects and sends multiple orders.
It should be noted that the scheme of preferred embodiment above is only a kind of specific implementation side that the application is proposed
Case, the mode that other realization management equipments obtain order to be sent belong to the protection scope of the application.
Pass through the technical solution of application the application, if the managed devices are currently off-line state, the management equipment
The command information to be sent is locally stored, and connection status periodically current to the managed devices is examined
Newly-generated command information is surveyed and obtains, if the managed devices are currently presence, the management equipment passes through institute
It states SignalR module and the command information to be sent is sent to the managed devices, be based on using SignalR technology,
Reduce system resource occupancy in device management command issuing process, realize the maintenance of equipment real time remote, improves work effect
Rate.
For the technical idea that the present invention is further explained, now in conjunction with specific application scenarios, to technical side of the invention
Case is illustrated.
SignalR is the script of new generation released for ASP.NET(Active Server Page .NET, Microsoft
Language) library that developer provides, can simplify developer, (World Wide Web, the whole world are wide by Real-Time Web
Domain net) function is added to the process of application program.Real-Time Web function refers to such a function: when client is in connection
The data that server can push content to it immediately, rather than server is allowed to wait client request new when state.SignalR
Real time communication will be carried out with client, it is both handy in this way, and have enough scalabilities.In the past user need refresh page or
The real-time display data being just able to achieve using Ajax poll, as long as using SignalR now, so that it may simple realization.Therefore, this hair
It is bright to be based on SignalR technology, system resource occupancy is reduced in order issuing process, the maintenance of equipment real time remote is realized, mentions
High working efficiency.
The embodiment of the invention provides a kind of device management command dissemination method, by by the SignalR communication technology with
Windows hardware device module combines, and uses windows system API(Application Programming
Interface, application programming interface) control device action, as sound adjustings, brightness regulation, switching on and shutting down, screen adjust with
And serial port function, reach Internet of Things Preliminary Results, realizes remote maintenance equipment, improve the working efficiency of operation maintenance personnel.
Device management command dissemination method in the embodiment of the present invention, is divided into single device administration order publication and batch is set
Standby administration order is issued, and can issue multiple and different orders for separate unit managed devices.The order of publication can be first saved into
Then database is polled thread acquisition, if managed devices can be immediately performed relevant operation online, if managed devices
Not online, meeting acquisition instruction state is the order of " newer command " and executes relevant operation after managed devices are in line.Wherein, it sends out
The order of cloth includes undated parameter, updates program, updates timing, volume adjustment, brightness regulation, power switch, volume switch, liter
Grade program, equipment are restarted.The present invention realizes the real-time communication function and managed devices of web terminal and managed devices
Command process after offline, the present invention use the open source module of instant SignalR, and wherein SignalR is the point pair of an open source
Point mechanics of communication.
Concrete operations of embodiment of the present invention process is as shown in Fig. 2, make this method operating process below in conjunction with Fig. 2 further
Explanation.
A) web terminal instruction publication.Web terminal is issued to managed devices and is instructed, can be in database while issuing instruction
Increase corresponding director data newly, which includes the mark for receiving the managed devices of instruction, command type, command context
And command status, wherein command status is defaulted as " newer command " state.
Wherein, before publication instruction, web terminal can be edited command information for the sending method of order.?
Web terminal has equipment management list, it is shown that all managed devices can carry out multiselect operation in equipment management list, and select
The order combobox needed to be implemented is selected, realizes and sends single order for multiple managed devices.Alternatively, further including in web terminal
Equipment edit page can carry out editor for single managed devices in the equipment edit page and send multiple orders.
B) web terminal sends command information.After adding database, web terminal calls SignalR module to carry out command information
It sends, whether online managed devices is judged, if managed devices are online, by establishing connection with SignalR, by command information
It is sent to managed devices.
Before this, all managed devices have the unique communication identification field of a SignalR, which is communication
Both sides establish the unique identification of connection, when managed devices are online, can generate this unique identification and be stored in database.It should
The generating process of unique identification can be with are as follows: web terminal opens website and is connected to SignalR module, be ready to pass through SignalR module into
Row information obtains, and whether web terminal detection browser supports JavaScript, and user is prompted to allow using JavaScript;
SignalR module judges whether web terminal supports WebSocket technology, sends message using WebSocket technology if supporting,
If not supporting, message is sent using other technologies such as SSE, IE9, long poll technologies;Web terminal selects current browser to support
Agreement is sent to SignalR mould by the message handling services module of itself using managed devices ID, IP address as mark
Block;Web terminal is established SignalR with managed devices based on the mark and is connect.
WebSocket is HTML5(hypertext 5.0) the new API that provides, it can be established in web page and server end
Socket connection, when WebSocket can be used (i.e. browser support Html5), SignalR uses WebSocket, when not supporting
When, SignalR will guarantee to reach identical effect using other technologies.SignalR also provides height very easy to use
Rank API allows server end individually or calls the JavaScript function in client in batches, and easily carries out
Connection management, such as client are connected to server end, disconnect, client packets and client authorization, use
SignalR is very easy to realize.WebSocket is the desired transmission mode of SignalR, because it can be most effectively
Using the memory of server, the full-duplex communication being able to achieve between client and server, but it also has most stringent of environment to need
Ask: it is Windows Server 2012 or Windows 8 and .NET that WebSocket, which requires server,
Framework 4.5。
C) managed devices execute instruction.Managed devices receive the command information issued from SignalR, according to instruction
The content of information executes corresponding operation, including but not limited to: executing undated parameter, updates program, updates timing, volume tune
Section, brightness regulation, power switch, volume switch, upgrade procedure, equipment such as restart at the operation.
D) command status of managed devices is changed.After the completion of managed devices are executed for order, it can trigger and be managed
The change of the current command status of equipment, including but not limited to: it has updated, it is adjusted, it has switched, has upgraded, restarted.
E) web terminal change directive state is notified.The change situation of command status is notified web terminal, web terminal by managed devices
Change the managed devices command status in database.
Wherein, in above-mentioned steps b), if web terminal judges managed devices for off-line state, due to can not be with SignalR
Establish real-time communication, order can be temporarily held in by web terminal to be locally stored, and when managed devices are online, web terminal can poll
Command information in being locally stored, if it is determined that having command status is the instruction of " newer command ", then it will be by calling SignalR mould
The command information is sent to managed devices by block, and continues above-mentioned steps c)-e) operation.
Pass through the technical solution of application the application, if the managed devices are currently off-line state, the management equipment
The command information to be sent is locally stored, and connection status periodically current to the managed devices is examined
Newly-generated command information is surveyed and obtains, if the managed devices are currently presence, the management equipment passes through institute
It states SignalR module and the command information to be sent is sent to the managed devices, be based on using SignalR technology,
Reduce system resource occupancy in device management command issuing process, realize the maintenance of equipment real time remote, improves work effect
Rate.
In order to reach the above technical purpose, present applicant proposes one kind to be based on SignalR module management equipment, such as Fig. 3 institute
Show, comprising:
Generation module 301, the order for being sent to managed devices as needed generate command information to be sent;
Detection module 302, the connection status current to the managed devices detect;
Processed offline module 303 carries out the command information to be sent if the managed devices are currently off-line state
It is locally stored, and connection status periodically current to the managed devices is detected and obtained newly-generated instruction letter
Breath;
Online processing module 304 will be described by the SignalR module if the managed devices are currently presence
Command information to be sent is sent to the managed devices, and after the managed devices are finished described instruction information
Command status in described instruction information is revised as having executed.
In specific application scenarios, as shown in Figure 4, further includes:
Adding module 401 adds described instruction information according to the order in the database, and described instruction information includes institute
State the mark of managed devices, the content of the order, type and described instruction state.
In specific application scenarios, further includes:
Judgment module 402, the mark are specially that the managed devices are raw with the management equipment when being online
At communications identification field and uniquely corresponding with the managed devices, the management equipment is to the managed devices current
Connection status is detected, specifically:
Judge in the database with the presence or absence of the communications identification field;
If so, confirming that the managed devices are currently presence;
If it is not, confirming that the managed devices are currently off-line state.
In specific application scenarios, further includes:
Described instruction information is sent to the managed devices by the SignalR module by sending module 403, specifically:
SignalR is established with the managed devices based on the communications identification field to connect;
The SignalR module is called to send described instruction information to the managed devices.
In specific application scenarios, further include,
Order obtains module 404, is equipped with management client in the management equipment, is sent to as needed in the management equipment
Before the order of managed devices generates command information,
Current all manageable devices are shown in the management client;
Need are obtained according to one or more orders of one or more manageable devices of user's selection and user input
It is sent to the order of managed devices.
Pass through the technical solution of application the application, if the managed devices are currently off-line state, the management equipment
The command information to be sent is locally stored, and connection status periodically current to the managed devices is examined
Newly-generated command information is surveyed and obtains, if the managed devices are currently presence, the management equipment passes through institute
It states SignalR module and the command information to be sent is sent to the managed devices, be based on using SignalR technology,
Reduce system resource occupancy in device management command issuing process, realize the maintenance of equipment real time remote, improves work effect
Rate.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Based on this understanding, this hair
Bright technical solution can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including making a computer equipment (can be in the form of some instructions
It is personal computer, server or the network equipment etc.) execute method described in each implement scene of the present invention.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or
Process is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device can describe to be distributed in implement scene according to implement scene
Device in, can also carry out corresponding change be located at different from this implement scene one or more devices in.Above-mentioned implementation field
The module of scape can be merged into a module, can also be further split into multiple submodule.
Aforementioned present invention serial number is for illustration only, does not represent the superiority and inferiority of implement scene.
Disclosed above is only several specific implementation scenes of the invention, and still, the present invention is not limited to this, Ren Heben
What the technical staff in field can think variation should all fall into protection scope of the present invention.
Claims (8)
1. a kind of device management command dissemination method, which is characterized in that the method is applied to the management equipped with SignalR module
Equipment, this method comprises:
The order that the management equipment is sent to managed devices as needed generates command information to be sent;
The management equipment connection status current to the managed devices detects;
If the managed devices are currently off-line state, the management equipment carries out the command information to be sent local
Storage, and connection status periodically current to the managed devices is detected and is obtained newly-generated command information;
If the managed devices are currently presence, the management equipment will be described pending by the SignalR module
The command information sent is sent to the managed devices, and by institute after the managed devices are finished described instruction information
The command status in command information is stated to be revised as having executed.
2. the method as described in claim 1, which is characterized in that presetting database in the management equipment, the management equipment
The order for being sent to managed devices as needed generates command information, specifically:
The management equipment adds described instruction information according to the order in the database, and described instruction information includes institute
State the mark of managed devices, the content of the order, type and described instruction state.
3. method according to claim 2, which is characterized in that the mark is specially the managed devices in online
The communications identification field and uniquely corresponding, the management equipment with the managed devices generated when state with the management equipment
The connection status current to the managed devices detects, specifically:
The management equipment judges in the database with the presence or absence of the communications identification field;
If so, the management equipment confirms that the managed devices are currently presence;
If it is not, the management equipment confirms that the managed devices are currently off-line state.
4. method as claimed in claim 3, which is characterized in that the management equipment will be described by the SignalR module
Command information is sent to the managed devices, specifically:
The management equipment is established SignalR with the managed devices based on the communications identification field and is connect;
The management equipment calls the SignalR module to send described instruction information to the managed devices.
5. method according to any of claims 1-4, which is characterized in that it is equipped with management client in the management equipment,
Before the order that the management equipment is sent to managed devices as needed generates command information, further includes:
The management equipment shows current all manageable devices in the management client;
One or more of one or more manageable devices and user input that the management equipment is selected according to user
A order obtains the order for needing to be sent to managed devices.
6. one kind is based on SignalR module management equipment characterized by comprising
Generation module, the order for being sent to managed devices as needed generate command information to be sent;
Detection module, the connection status current to the managed devices detect;
The command information to be sent is carried out this if the managed devices are currently off-line state by processed offline module
Ground storage, and connection status periodically current to the managed devices is detected and is obtained newly-generated command information;
Online processing module will be described pending by the SignalR module if the managed devices are currently presence
The command information sent is sent to the managed devices, and by institute after the managed devices are finished described instruction information
The command status in command information is stated to be revised as having executed.
7. a kind of computer readable storage medium, it is stored with instruction in the computer readable storage medium, when described instruction exists
When being run on terminal device, so that the terminal device executes device management command hair according to any one of claims 1-4
Cloth method.
8. a kind of computer program product, which is characterized in that when the computer program product is run on the terminal device, so that
The terminal device executes device management command dissemination method according to any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811570759.8A CN109600266A (en) | 2018-12-21 | 2018-12-21 | A kind of device management command dissemination method and management equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811570759.8A CN109600266A (en) | 2018-12-21 | 2018-12-21 | A kind of device management command dissemination method and management equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109600266A true CN109600266A (en) | 2019-04-09 |
Family
ID=65963891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811570759.8A Pending CN109600266A (en) | 2018-12-21 | 2018-12-21 | A kind of device management command dissemination method and management equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109600266A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021179168A1 (en) * | 2020-03-10 | 2021-09-16 | Oppo广东移动通信有限公司 | Internet of things communication method and apparatus |
CN113848737A (en) * | 2021-09-15 | 2021-12-28 | 珠海格力电器股份有限公司 | Intelligent device control method, device and system, cloud server and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909056A (en) * | 2010-07-21 | 2010-12-08 | 北京星网锐捷网络技术有限公司 | Client state recognition method, device and network equipment |
US8237676B2 (en) * | 2007-12-21 | 2012-08-07 | Elo Touch Solutions, Inc. | Method for determining the locations of at least two impacts |
CN104410562A (en) * | 2014-11-19 | 2015-03-11 | 成都实景信息技术有限公司 | Method of processing instant message associated with business |
CN106485048A (en) * | 2016-09-09 | 2017-03-08 | 湖南明康中锦医疗科技发展有限公司 | A kind of waveform drawing drawing method of remote exhibition lung ventilator real-time treatment data |
-
2018
- 2018-12-21 CN CN201811570759.8A patent/CN109600266A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8237676B2 (en) * | 2007-12-21 | 2012-08-07 | Elo Touch Solutions, Inc. | Method for determining the locations of at least two impacts |
CN101909056A (en) * | 2010-07-21 | 2010-12-08 | 北京星网锐捷网络技术有限公司 | Client state recognition method, device and network equipment |
CN104410562A (en) * | 2014-11-19 | 2015-03-11 | 成都实景信息技术有限公司 | Method of processing instant message associated with business |
CN106485048A (en) * | 2016-09-09 | 2017-03-08 | 湖南明康中锦医疗科技发展有限公司 | A kind of waveform drawing drawing method of remote exhibition lung ventilator real-time treatment data |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021179168A1 (en) * | 2020-03-10 | 2021-09-16 | Oppo广东移动通信有限公司 | Internet of things communication method and apparatus |
CN113848737A (en) * | 2021-09-15 | 2021-12-28 | 珠海格力电器股份有限公司 | Intelligent device control method, device and system, cloud server and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103650458A (en) | Transmission method, device and system of media streams | |
CN104468148A (en) | Nginx server configuration maintenance method and system | |
CN112437047A (en) | Remote server management method, system and related device | |
CN109218054B (en) | Terminal dynamic configuration, corresponding server implementation method, device and storage medium | |
CN109600266A (en) | A kind of device management command dissemination method and management equipment | |
CN113626002A (en) | Service execution method and device | |
CN111629016A (en) | Control method, device and system | |
CN105792025A (en) | Device information obtaining method and terminal | |
CN114201294A (en) | Task processing method, device and system, electronic equipment and storage medium | |
CN115550354A (en) | Data processing method and device and computer readable storage medium | |
CN116634100B (en) | Information interaction method and system based on IPC | |
CN116450353A (en) | Processor core matching method and device, electronic equipment and storage medium | |
CN111767176A (en) | Method and device for remotely controlling terminal equipment | |
CN109617831A (en) | Flow managing method and device and calculating equipment for distributed system | |
CN114422572B (en) | Cloud mobile phone control method and device, electronic equipment and storage medium | |
CN112558985B (en) | Sub-application deployment method and device | |
CN113596197B (en) | Address switching method and device, electronic equipment and storage medium | |
CN104683731B (en) | A kind of method and system for being communicated between heterogeneous platform | |
CN115543793A (en) | System deployment method and device of target server and operation and maintenance center station | |
CN115755737A (en) | Single crystal furnace system control method and device, computer equipment and storage medium | |
CN109814904B (en) | HMI configuration synchronization system and method | |
CN113542424A (en) | Data processing method, device, equipment and computer program product | |
CN114095343A (en) | Disaster recovery method, device, equipment and storage medium based on double-active system | |
CN110768855B (en) | Method and device for testing linkmzation performance | |
JP2017167845A (en) | Communication device, communication system, communication method and program |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190409 |
|
WD01 | Invention patent application deemed withdrawn after publication |