CN108521457B - A kind of tracking and system of equipment control command - Google Patents
A kind of tracking and system of equipment control command Download PDFInfo
- Publication number
- CN108521457B CN108521457B CN201810290677.1A CN201810290677A CN108521457B CN 108521457 B CN108521457 B CN 108521457B CN 201810290677 A CN201810290677 A CN 201810290677A CN 108521457 B CN108521457 B CN 108521457B
- Authority
- CN
- China
- Prior art keywords
- control
- server
- instruction
- control instruction
- log
- 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
Classifications
-
- 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/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/562—Brokering proxy services
-
- 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/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of trackings of equipment control command, comprising: issues control instruction to web server;It is returned to client and sends successfully instruction;Control instruction is submitted to dispatch server, and is verified;Unique number is generated for control instruction;According to rule change equipment state and Redis database is written, change state is forwarded to push server and generates control log;Control instruction is submitted to message-oriented middleware;If message-oriented middleware is not online or classroom is not configured, not online classroom is returned to;Alarm and control log are generated, and submits to push server;Control instruction is forwarded to respective server to handle.The invention also discloses a kind of tracking systems of equipment control command.Using the present invention, the tracking complete monitoring that effectively will can entirely order can not only analyze the root node for appearance of ging wrong, moreover it is possible to order trace log are bundled to local analytics, substantially increase the efficiency of administrative staff from the management module of platform.
Description
Technical field
The present invention relates to the trackings and a kind of equipment of multimedia technology field more particularly to a kind of equipment control command
The tracking system of control command.
Background technique
With the fast development of social informatization, the multimedia middle control system in campus is also improved much, evolves into wisdom classroom,
But traditional wisdom classroom product DC (control of Device Control equipment) this part is done it is not fine, and it is entire soft
Hardware components, exactly DC this part is a most important part, and traditional DC has only done simple order and sent, but terminal is set
The accuracy and real-time of standby state feedback are poor, out of joint, and the tracking and verification to problem are also extremely difficult, are confused about
Chu is which link is out of joint on earth, increases the difficulty that multi-media classroom administrator's orientation problem solves the problems, such as.
Existing wisdom classroom control system only considers issuing for order, and the entire situation issued is lacked and had ignored, meeting in this way
Causing entirely order to flow through journey is a flight data recorder, and order interruption/tracking/recycling/retrospect does not all accomplish that this can seriously affect pipe
The management work of reason person, meanwhile, producer technical staff is gone to position and solves the problems, such as to cause trouble.
Summary of the invention
Technical problem to be solved by the present invention lies in, the tracking and system of a kind of equipment control command are provided, it can
The tracking complete monitoring that effectively will entirely order, substantially increases the efficiency of administrative staff.
In order to solve the above-mentioned technical problems, the present invention provides a kind of trackings of equipment control command, comprising: S1,
Client issues control instruction to web server;S2, web server is returned to client sends successfully instruction;S3, web clothes
Control instruction is submitted to dispatch server by business device, and is verified by dispatch server;S4, dispatch server are raw for control instruction
At unique number;S5, dispatch server is according to rule change equipment state and Redis database is written, and then will change state
It is forwarded to push server and generates control log;Control instruction is submitted to message-oriented middleware by S6, dispatch server;S7, such as
Fruit message-oriented middleware is not online or classroom is not configured, and message-oriented middleware returns to not online classroom;S8, dispatch server generate
Alarm and control log, and submit to push server;S9, message-oriented middleware turn control instruction according to the type of control instruction
Respective server is sent to be handled;S10, message-oriented middleware successively receive processing as a result, and being sequentially placed into processing result super
When queue in;S11, message-oriented middleware judge whether processing result is normal by analysis, are then inserted into Redis data if any alarm
Push server is simultaneously submitted in library, and more new equipment state returns result to dispatch server, and dispatch server proposes change state
Give push server;S12 takes out result set, write-in control day when message-oriented middleware receives END instruction from queue
Will;If message-oriented middleware time-out does not receive END instruction, simultaneously warning is written in write-in control log in distributed information log;S13,
Push server receives message every time, is transferred to corresponding strategy according to different message, and the strategy met is pushed to web clothes
Business device.
As an improvement of the above scheme, if the type that the step S9 includes: control instruction is dummy instruction, according to
Rule generates successful result set;If the type of control instruction is ring control instruction, control instruction is sent to ring control service
Device is handled;If the type of control instruction is ordinary instruction, control instruction is sent to Core server and is handled.
As an improvement of the above scheme, the method that the Core server handles control instruction includes: S21, connects
Receive the signaling that communication unit carries UUID;S22, signaling verification, deliver distribution module processing;S23, control instruction is delivered into DC mould
Block processing;S24, communication unit will be sent on control result carrying UUID;S25, data analysis is carried out to control result;S26, general
Control exception information carries and is sent to communication unit on UUID;S27, control result is delivered into the moulds such as statistics, log, self-teaching
Block.
As an improvement of the above scheme, the state occurred after the DC resume module control instruction includes: that result phase is opened
It opens;Result phase is closed;During result phase is opened;During result phase is closed;Result phase is opened but network is obstructed;It controls and real
Border state consistency, directly return state;Device object is not present, and directly returns empty;Without response or time-out, time-out is returned;Upper
Within the scope of the effective time of secondary control, last time effective controlling value is taken.
Correspondingly, the present invention also provides a kind of tracking systems of equipment control command, including Nginx server, web to take
Business device, dispatch server, message-oriented middleware, Redis database, push server, log buffer queue, MySQL database, ring
Control server, Core server, distributed information log and controlled terminal;Nginx server is the agency of web server, for connecing
The request for receiving APP and browser, is then forwarded to the cluster of web server;Web server, for receiving the control of client
Instruction;It is returned to client and sends successfully instruction;Control instruction is submitted to dispatch server;Dispatch server is used for school
Test control instruction;Unique number is generated for control instruction;According to rule change equipment state and Redis database is written, then
Change state is forwarded to push server and generates control log;Control instruction is submitted to message-oriented middleware;Generate alarm
And it controls log and submits to push server;Change state is submitted to push server;Message-oriented middleware, for working as message
Not online classroom is returned to when middleware is not online or classroom is not configured;Control instruction is forwarded according to the type of control instruction
It is handled to respective server;It successively receives processing result and processing result is sequentially placed into overtime queue, pass through analysis
Judge whether processing result is normal, be then inserted into Redis database if any alarm and submit to push server, more new equipment shape
State returns result to dispatch server;When receiving END instruction, result set, write-in control log are taken out from queue;If super
Shi Wei receives END instruction, and simultaneously warning is written in write-in control log in distributed information log;Redis database, for storing day
Will data;Push server is transferred to corresponding strategy, and the strategy that will meet according to different message after receiving message
It is pushed to web server;Log buffer queue, for selecting different strategies efficiently to be deposited respectively according to the state of log
Storage;MySQL database, for storing device status data;Ring control server, receive control instruction after immediately to controlled terminal into
The control of row equipment;Core server carries out equipment control to controlled terminal immediately after receiving control instruction, and control is each in real time
The real-time status of controlled terminal;Distributed information log, unique identification for being generated according to control instruction and each server
Log is uniformly processed, centrally stored.
As an improvement of the above scheme, the message-oriented middleware includes: first processing units, for working as message-oriented middleware not
Not online classroom is returned to when online or classroom is not configured;The second processing unit, for that will be controlled according to the type of control instruction
System instruction is forwarded to respective server and is handled;Third processing unit, for successively receiving processing result and by processing result
It is sequentially placed into overtime queue, by analyzing and determining whether processing result is normal, is then inserted into Redis database if any alarm and mentions
Push server, more new equipment state are given, dispatch server is returned result to;Fourth processing unit refers to for receiving end
When enabling, result set, write-in control log are taken out from queue;5th processing unit, if not receiving END instruction for time-out,
Simultaneously warning is written in write-in control log in distributed information log.
As an improvement of the above scheme, described the second processing unit includes: dummy instruction unit, for when control instruction
When type is dummy instruction, then successful result set is generated according to rule;Ring control command unit, for working as the type of control instruction
When being instructed for ring control, then control instruction is sent to ring control server and handled;Ordinary instruction unit, for working as control instruction
Type be ordinary instruction when, then control instruction is sent to Core server and handled.
As an improvement of the above scheme, the Core server includes: receiving module, is carried for receiving communication unit
The signaling of UUID;Signaling verifies and delivers distribution module processing;Control result is carried and is sent to communication unit on UUID;Distribute mould
Block, for control instruction to be delivered DC resume module;DC module, for handling control instruction;Data analysis, to control result into
The analysis of row data;Control exception information is carried and is sent to communication unit on UUID;By control result deliver statistics, log, self
The modules such as study.
As an improvement of the above scheme, the state occurred after the DC resume module control instruction includes: that result phase is opened
It opens;Result phase is closed;During result phase is opened;During result phase is closed;Result phase is opened but network is obstructed;It controls and real
Border state consistency, directly return state;Device object is not present, and directly returns empty;Without response or time-out, time-out is returned;Upper
Within the scope of the effective time of secondary control, last time effective controlling value is taken.
The invention has the following beneficial effects:
The present invention one bonding analysis can not only go out the tracking complete monitoring entirely ordered from the management module of platform
The root node that problem occurs, moreover it is possible to support order trace log to be bundled to local analytics, realize and entire mistake is controlled to equipment
The real time monitoring of Cheng Huanjie substantially increases the efficiency of administrative staff, also can rapidly and efficiently allow producer technical staff to carry out remote
It Cheng Dingwei and solves the problems, such as.Specifically, the invention has the following advantages:
1, all-the-way tracking is realized in entire order control process, every order has individually number.
2, it is based on distributed order tracing management service.
3, it after terminal receives order, normalizes equipment state and uniformly reports server.
4, the equipment automatic inspection function based on order tracking.
Detailed description of the invention
Fig. 1 is the flow chart of the tracking of present device control command;
Fig. 2 is the flow chart for the method that Core server handles control instruction in the present invention;
Fig. 3 is the structural schematic diagram of the tracking system of present device control command.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made into one below in conjunction with attached drawing
Step ground detailed description.Only this is stated, the present invention occurs in the text or will occur up, down, left, right, before and after, it is inside and outside etc. just
Position word is not to specific restriction of the invention only on the basis of attached drawing of the invention.
The flow chart of the tracking of present device control command is shown referring to Fig. 1 Fig. 1, comprising:
S1, client issue control instruction to web server;
S2, web server is returned to client sends successfully instruction;
S3, control instruction is submitted to dispatch server by web server, and is verified by dispatch server;
S4, dispatch server are that control instruction generates unique number;
S5, dispatch server is according to rule change equipment state and Redis database is written, then will change state forwarding
To push server and generate control log;
Control instruction is submitted to message-oriented middleware by S6, dispatch server;
S7, if message-oriented middleware is not online or classroom is not configured, message-oriented middleware returns to not online classroom;
S8, dispatch server generates alarm and control log, and submits to push server;
Control instruction is forwarded to respective server according to the type of control instruction and handled by S9, message-oriented middleware;
Specifically, the step S9 includes:
(1) if the type of control instruction is dummy instruction, successful result set is generated according to rule;
(2) if the type of control instruction is ring control instruction, control instruction is sent to ring control server and is handled;
(3) if the type of control instruction is ordinary instruction, control instruction is sent to Core server and is handled.
S10, message-oriented middleware successively receive processing as a result, and processing result is sequentially placed into overtime queue;
S11, message-oriented middleware judge whether processing result is normal by analysis, are then inserted into Redis database if any alarm
And push server is submitted to, more new equipment state returns result to dispatch server, and dispatch server submits change state
To push server;
S12 takes out result set, write-in control log when message-oriented middleware receives END instruction from queue;If
Message-oriented middleware time-out does not receive END instruction, and simultaneously warning is written in write-in control log in distributed information log;
S13, push server receive message every time, are transferred to corresponding strategy, and the plan that will meet according to different message
Slightly it is pushed to web server.
Therefore, the innovation of the tracking of present device control command is the workflow management of equipment control.Tool
Body, the present invention is realized to the real time monitoring of equipment control whole process link, can be controlled when controlling equipment
The specific link of each of equipment control, any problem, which occurs, in any link can all know rapidly, and there may be reasons for problem analysis
And suggested solution is provided, and by high-throughput, high concurrent, the flow monitoring for responding rapidly to and being arranged control command, make
It obtains and more preferably, faster provides better service for user, hence it is evident that improve user experience.
Referring to fig. 2, Fig. 2 shows the flow chart for the method that Core server handles control instruction in the present invention,
Include:
S1, receiving communication unit carry the signaling of UUID;
S2, signaling verification, deliver distribution module processing;
S3, control instruction is delivered into DC resume module;
S4, communication unit will be sent on control result carrying UUID;
The state occurred after the DC resume module control instruction includes:
(a) result phase is opened;
(b) result phase is closed;
(c) during result phase is opened;
(d) during result phase is closed;
(e) result phase is opened but network is obstructed;
(f) control is consistent with virtual condition, directly return state;
(g) device object is not present, and directly returns empty;
(h) without response or time-out, time-out is returned;
(i) within the effective time of upper secondary control, last time effective controlling value is taken.
S5, data analysis is carried out to control result;
S6, communication unit will be sent on control exception information carrying UUID;
S7, control result is delivered into the modules such as statistics, log, self-teaching.
It should be noted that DC tracking technique be using operator's signaling tracing principle, order be issued to terminal and
The whole process monitoring that terminal is fed back to server is got up, and server end uses distributed structure/architecture, the control of each service node
Several terminals reduce the communication pressure of terminal and server, can effectively ensure the real-time of control command tracking in this way
Property.Service node can be deployed in same server or be distributed in different servers, be united by public caching technology
One reports tracking information to platform.DC tracking technique is that service node is issued to from platform command again to TMU both terminal management list
Member, then to specific each equipment, then the executions state after the reception order of specific equipment feed back the overall process to server into
Row monitoring, wherein equipment includes but is not limited to projector, projection screen, computer, power amplifier, light, air-conditioning, curtain, interaction large-size screen monitors, door
Lock etc., state include open in, have turned on, close in, be turned off, extremely.Wherein this exception is that user is most concerned, from flat
Platform interface can click directly on abnormal order tracking and quickly find out that specifically which link goes wrong, and substantially increases class
The maintenance of room administrator and the efficiency of work.
Therefore, the present invention is used through DC tracking technique, and user can fast and accurately trace the generation gone wrong completely
Reason, and can targetedly solve the problems, such as well.
The structural schematic diagram of the tracking system of present device control command is shown referring to Fig. 3, Fig. 3 comprising Nginx
Server, web server, dispatch server, message-oriented middleware, Redis database, push server, log buffer queue,
MySQL database, ring control server, Core server, distributed information log and controlled terminal.
It should be noted that the tracking system of present device control command carries out traditional middle control or Internet of Things household
Reform and innovation.Specifically, the present invention is using distributed control cluster, can dispose multiple web servers, dispatch server,
Message-oriented middleware, Core server, log server.It can satisfy between classroom, the hundreds of equipment in every classroom, 100+ 10w+
Kind different multimedia and environmental unit type and progress that can be cross-domain controls simultaneously, and reach the second grade and respond.In user side
Face, it is only necessary to which the operation such as equipment control, status inquiry can be realized in general browser or designated mobile phone APP, can effectively mention
High I/O handling capacity and load balance.
Each functional module in the present invention is described in detail below:
Nginx server is that the agency of web server for receiving the request of APP and browser is then forwarded to web
The cluster of server;
Web server is mainly responsible for the reception and return of request, is gathered around according to the user of the content of request, transmission request
Some permissions and the state of dispatch server return to suitable information to user.Specifically, for receiving the control of client
Instruction;It is returned to client and sends successfully instruction;Control instruction is submitted to dispatch server;
After dispatch server obtains the instruction of Web server forwarding, is verified first, regenerate a unique identification
Number, packs instruction and is encrypted, and then creation control log, submits state change to Redis database, and state
Push server is submitted in variation, finally selects suitable message-oriented middleware forwarding reconstruct according to the loading condition of message-oriented middleware
Instruction just update control log if the Core server in classroom is not online, and generate alarm, push is submitted in alarm
Server.Specifically, dispatch server, for verifying control instruction;Unique number is generated for control instruction;It is changed according to rule
Equipment state is simultaneously written Redis database, change state is then forwarded to push server and generates control log;Control
Message-oriented middleware is submitted in instruction;It generates alarm and controls log and submit to push server;Change state is submitted to and is pushed away
Send server;
Message-oriented middleware is high performance communication component, after receiving instruction, is handled according to the state of instruction: simulation
Object command is perhaps sent to Core server or is sent to ring control server;Core server or ring control server meeting
Multiple object command is sent according to agreement, object command is put into an overtime queue by message-oriented middleware, and state update is arrived
Redis database, and state and alarm are submitted to dispatch server, finally record control log.Specifically, among message
Part, for returning to not online classroom when message-oriented middleware is not online or classroom is not configured;According to the type of control instruction
Control instruction is forwarded to respective server to handle;It successively receives processing result and processing result is sequentially placed into overtime team
In column, by analyzing and determining whether processing result is normal, Redis database is then inserted into if any alarm and submits to Push Service
Device, more new equipment state, return result to dispatch server;When receiving END instruction, result set, write-in control are taken out from queue
Log processed;If time-out does not receive END instruction, simultaneously warning is written in write-in control log in distributed information log;
Redis database, for storing daily record data and as the data source of log;
State can be put into a queue, then work as team by push server after receiving the state change of dispatch server
As defined in column data trigger policy when push opportunity, finally according to the current held state of registration user, the state of variation is pushed
To user.Specifically, push server is transferred to corresponding strategy according to different message, and will meet after receiving message
Strategy be pushed to web server;
Log buffer queue is high performance storage queue, and the either log of alarm or control can all be submitted to this
In, log buffer queue selects different strategies to carry out efficient storage respectively according to the state of log.
MySQL database, for storing device status data and as the data source of equipment state;
Ring control server carries out equipment control to controlled terminal immediately after receiving control instruction;
Core server, receive control instruction after immediately to controlled terminal carry out equipment control, and in real time control each by
The real-time status of control terminal;Equipment control, state analysis, control result analysis, condition intelligent can be carried out to controlled terminal
The functions such as habit.
Distributed information log, unique identification for being generated according to control instruction are simultaneously done the log of each server at unified
Reason, it is centrally stored.
Controlled terminal refers mainly to curtain, computer, power amplifier, projector, interacts screen, is spare, saying stand lock, machine for student, door lock, lamp
The terminals such as light, fan, socket, air-conditioning, power switch, double control switch, curtain, mobile socket, class's board.
Further, the message-oriented middleware includes:
First processing units, for returning to not online classroom when message-oriented middleware is not online or classroom is not configured;
The second processing unit, for control instruction to be forwarded at respective server according to the type of control instruction
Reason;
Third processing unit passes through for successively receiving processing result and processing result being sequentially placed into overtime queue
Analyze and determine whether processing result is normal, is then inserted into Redis database if any alarm and submits to push server, more new equipment
State returns result to dispatch server;
Fourth processing unit when for receiving END instruction, takes out result set, write-in control log from queue;
5th processing unit, if not receiving END instruction for time-out, write-in controls log and in distributed information log
Write-in warning.
Specifically, described the second processing unit includes:
Dummy instruction unit, for when the type of control instruction is dummy instruction, then generating successfully knot according to rule
Fruit collection;
Ring control command unit, for when the type of control instruction is that ring control instructs, then control instruction being sent to ring control
Server is handled;
Ordinary instruction unit, for when the type of control instruction is ordinary instruction, then control instruction being sent to core
Server is handled.
In addition, the Core server includes:
Receiving module carries the signaling of UUID for receiving communication unit;Signaling verifies and delivers distribution module processing;It will
Control result carries and is sent to communication unit on UUID;
Distribution module, for control instruction to be delivered DC resume module;
DC module, for handling control instruction.Specifically, the state packet occurred after the DC resume module control instruction
Include: (a) result phase is opened;(b) result phase is closed;(c) during result phase is opened;(d) during result phase is closed;(e) it ties
Fruit state is opened but network is obstructed;(f) control is consistent with virtual condition, directly return state;(g) device object is not present, directly
It is empty to connect return;(h) without response or time-out, time-out is returned;(i) within the effective time of upper secondary control, last time was taken effectively to control
Value processed.
Data analysis carries out data analysis to control result;Control exception information is carried and is sent to communication unit on UUID;
Control result is delivered into the modules such as statistics, log, self-teaching.
From the foregoing, it will be observed that the present invention is the tracking complete monitoring entirely ordered, it not only can be from the management module of platform
One bonding analysis goes wrong the root node of appearance, moreover it is possible to support order trace log to be bundled to local analytics, realize to equipment
The real time monitoring for controlling whole process link, substantially increases the efficiency of administrative staff, also can rapidly and efficiently allow producer's technology
Personnel are remotely located and solve the problems, such as.Specifically, the invention has the following advantages:
1, all-the-way tracking is realized in entire order control process, every order has individually number.
2, it is based on distributed order tracing management service.
3, it after terminal receives order, normalizes equipment state and uniformly reports server.
4, the equipment automatic inspection function based on order tracking.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (9)
1. a kind of tracking of equipment control command characterized by comprising
S1, client issue control instruction to web server;
S2, web server is returned to client sends successfully instruction;
S3, control instruction is submitted to dispatch server by web server, and is verified by dispatch server;
S4, dispatch server are that control instruction generates unique number;
S5, dispatch server is according to rule change equipment state and Redis database is written, and is then forwarded to change state and pushes away
It send server and generates control log;
Control instruction is submitted to message-oriented middleware by S6, dispatch server;
S7, if message-oriented middleware is not online or classroom is not configured, message-oriented middleware returns to not online classroom;
S8, dispatch server generates alarm and control log, and submits to push server;
Control instruction is forwarded to respective server according to the type of control instruction and handled by S9, message-oriented middleware;
S10, message-oriented middleware successively receive processing as a result, and processing result is sequentially placed into overtime queue;
S11, message-oriented middleware judge whether processing result is normal by analysis, are then inserted into Redis database if any alarm and mention
Push server, more new equipment state are given, dispatch server is returned result to, dispatch server is submitted to change state and pushed away
Send server;
S12 takes out result set, write-in control log when message-oriented middleware receives END instruction from queue;If message
Middleware time-out does not receive END instruction, and simultaneously warning is written in write-in control log in distributed information log;
S13, push server receive message every time, are transferred to corresponding strategy according to different message, and the strategy met is pushed away
Give web server.
2. the tracking of equipment control command as described in claim 1, which is characterized in that the step S9 includes:
If the type of control instruction is dummy instruction, successful result set is generated according to rule;
If the type of control instruction is ring control instruction, control instruction is sent to ring control server and is handled;
If the type of control instruction is ordinary instruction, control instruction is sent to Core server and is handled.
3. the tracking of equipment control command as claimed in claim 2, which is characterized in that the Core server is to control
The method that is handled is instructed to include:
S21, receiving communication unit carry the signaling of UUID;
S22, signaling verification, deliver distribution module processing;
S23, control instruction is delivered into DC resume module;
S24, communication unit will be sent on control result carrying UUID;
S25, data analysis is carried out to control result;
S26, communication unit will be sent on control exception information carrying UUID;
S27, control result is delivered into the modules such as statistics, log, self-teaching.
4. the tracking of equipment control command as claimed in claim 3, which is characterized in that the DC resume module control refers to
The state occurred after order includes:
Result phase is opened;
Result phase is closed;
During result phase is opened;
During result phase is closed;
Result phase is opened but network is obstructed;
Control is consistent with virtual condition, directly return state;
Device object is not present, and directly returns empty;
Without response or time-out, time-out is returned;
Within the effective time of upper secondary control, last time effective controlling value is taken.
5. a kind of tracking system of equipment control command, which is characterized in that including Nginx server, web server, scheduling clothes
Business device, message-oriented middleware, Redis database, push server, log buffer queue, MySQL database, ring control server, core
Central server, distributed information log and controlled terminal;
Nginx server is that the agency of web server for receiving the request of APP and browser is then forwarded to web services
The cluster of device;
Web server, for receiving the control instruction of client;It is returned to client and sends successfully instruction;Control instruction
Submit to dispatch server;
Dispatch server, for verifying control instruction;Unique number is generated for control instruction;Simultaneously according to rule change equipment state
Redis database is written, change state is then forwarded to push server and generates control log;Control instruction is submitted to
Message-oriented middleware;It generates alarm and controls log and submit to push server;Change state is submitted to push server;
Message-oriented middleware, for returning to not online classroom when message-oriented middleware is not online or classroom is not configured;According to control
Control instruction is forwarded to respective server and handled by the type of system instruction;Successively receive processing result and by processing result according to
It is secondary to be put into overtime queue, by analyzing and determining whether processing result is normal, Redis database is then inserted into if any alarm and is submitted
To push server, more new equipment state, dispatch server is returned result to;When receiving END instruction, knot is taken out from queue
Fruit collection, write-in control log;If time-out does not receive END instruction, simultaneously police is written in write-in control log in distributed information log
It accuses;
Redis database is used for storing daily record data;
Push server is transferred to corresponding strategy according to different message, and the strategy met is pushed after receiving message
To web server;
Log buffer queue, for selecting different strategies to carry out efficient storage respectively according to the state of log;
MySQL database, for storing device status data;
Ring control server carries out equipment control to controlled terminal immediately after receiving control instruction;
Core server carries out equipment control to controlled terminal immediately after receiving control instruction, and control each controlled end in real time
The real-time status at end;
Distributed information log, unique identification for being generated according to control instruction are simultaneously uniformly processed the log of each server,
It is centrally stored.
6. the tracking system of equipment control command as claimed in claim 5, which is characterized in that the message-oriented middleware includes:
First processing units, for returning to not online classroom when message-oriented middleware is not online or classroom is not configured;
Control instruction is forwarded to respective server for the type according to control instruction and handled by the second processing unit;
Third processing unit passes through analysis for successively receiving processing result and processing result being sequentially placed into overtime queue
Judge whether processing result is normal, be then inserted into Redis database if any alarm and submit to push server, more new equipment shape
State returns result to dispatch server;
Fourth processing unit when for receiving END instruction, takes out result set, write-in control log from queue;
5th processing unit, if not receiving END instruction for time-out, write-in control log is simultaneously written in distributed information log
Warning.
7. the tracking system of equipment control command as claimed in claim 6, which is characterized in that the second processing unit packet
It includes:
Dummy instruction unit, for when the type of control instruction is dummy instruction, then generating successful result set according to rule;
Ring control command unit, for when the type of control instruction is that ring control instructs, then control instruction being sent to ring control service
Device is handled;
Ordinary instruction unit, for when the type of control instruction is ordinary instruction, then control instruction being sent to kernel service
Device is handled.
8. the tracking system of equipment control command as claimed in claim 5, which is characterized in that the Core server includes:
Receiving module carries the signaling of UUID for receiving communication unit;Signaling verifies and delivers distribution module processing;It will control
As a result it carries on UUID and is sent to communication unit;
Distribution module, for control instruction to be delivered DC resume module;
DC module, for handling control instruction;
Data analysis carries out data analysis to control result;Control exception information is carried and is sent to communication unit on UUID;It will control
Result processed delivers the modules such as statistics, log, self-teaching.
9. the tracking system of equipment control command as claimed in claim 8, which is characterized in that the DC resume module control refers to
The state occurred after order includes:
Result phase is opened;
Result phase is closed;
During result phase is opened;
During result phase is closed;
Result phase is opened but network is obstructed;
Control is consistent with virtual condition, directly return state;
Device object is not present, and directly returns empty;
Without response or time-out, time-out is returned;
Within the effective time of upper secondary control, last time effective controlling value is taken.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810290677.1A CN108521457B (en) | 2018-03-30 | 2018-03-30 | A kind of tracking and system of equipment control command |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810290677.1A CN108521457B (en) | 2018-03-30 | 2018-03-30 | A kind of tracking and system of equipment control command |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108521457A CN108521457A (en) | 2018-09-11 |
CN108521457B true CN108521457B (en) | 2019-08-13 |
Family
ID=63431108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810290677.1A Active CN108521457B (en) | 2018-03-30 | 2018-03-30 | A kind of tracking and system of equipment control command |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108521457B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587234A (en) * | 2018-11-29 | 2019-04-05 | 日立楼宇技术(广州)有限公司 | Communication means and building cloud platform system based on building cloud platform system |
CN110798471B (en) * | 2019-10-31 | 2022-01-25 | 宁波奥克斯电气股份有限公司 | Air conditioner management method and related device |
CN111158763B (en) * | 2019-12-06 | 2023-08-18 | 思创数码科技股份有限公司 | Equipment instruction processing system for intelligent management and control of building |
CN111212133A (en) * | 2019-12-31 | 2020-05-29 | 浙江合众新能源汽车有限公司 | Vehicle remote interaction event tracking system |
CN113360246B (en) * | 2021-05-31 | 2023-03-21 | 深圳市瑞云科技有限公司 | Project automatic deployment method combined with contentful |
CN114189532B (en) * | 2021-10-11 | 2023-02-03 | 西安电子科技大学 | Mass connection control strategy and instruction distribution method |
CN114817671B (en) * | 2022-05-09 | 2024-06-04 | 宁波奥克斯电气股份有限公司 | Log analysis method and system for air conditioner Internet of things |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106815115A (en) * | 2017-01-13 | 2017-06-09 | 郑州云海信息技术有限公司 | A kind of operation condition of server monitoring system |
CN106999257A (en) * | 2014-09-23 | 2017-08-01 | 外科安全技术公司 | Operating room black box device, system, method and computer-readable medium |
CN107046481A (en) * | 2017-04-18 | 2017-08-15 | 国网福建省电力有限公司 | A kind of information system integrated network management system comprehensive analysis platform |
CN107577191A (en) * | 2017-10-27 | 2018-01-12 | 广州市浩翔计算机科技有限公司 | A kind of wisdom classroom cloud control platform control system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354107A (en) * | 2016-08-26 | 2017-01-25 | 厦门印天电子科技有限公司 | Smart classroom control system and its centralized control facilities |
-
2018
- 2018-03-30 CN CN201810290677.1A patent/CN108521457B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106999257A (en) * | 2014-09-23 | 2017-08-01 | 外科安全技术公司 | Operating room black box device, system, method and computer-readable medium |
CN106815115A (en) * | 2017-01-13 | 2017-06-09 | 郑州云海信息技术有限公司 | A kind of operation condition of server monitoring system |
CN107046481A (en) * | 2017-04-18 | 2017-08-15 | 国网福建省电力有限公司 | A kind of information system integrated network management system comprehensive analysis platform |
CN107577191A (en) * | 2017-10-27 | 2018-01-12 | 广州市浩翔计算机科技有限公司 | A kind of wisdom classroom cloud control platform control system |
Also Published As
Publication number | Publication date |
---|---|
CN108521457A (en) | 2018-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108521457B (en) | A kind of tracking and system of equipment control command | |
CN104616402B (en) | Mobile client is rented and controls the system of locker | |
CN103824153B (en) | Mobile terminal for processing electric power production field operation | |
CN104580349B (en) | Secure cloud administration agent | |
CN107992552A (en) | A kind of data interchange platform and method for interchanging data | |
CN109784508A (en) | A kind of power grid panorama monitoring operation management method and system based on cloud platform | |
CN103514245B (en) | Creation user it is visible processing tracking can search for and global data base | |
CN104243205B (en) | Message processing method and equipment when a kind of virtual switch failure | |
CN107003983A (en) | Configuration network | |
CN104572444A (en) | Cloud testing platform for game performance and testing method for cloud testing platform | |
CN111967789B (en) | Distribution automation terminal warehouse debugging system of transferring | |
CN107471213A (en) | A kind of robot simulation's system | |
CN107959712A (en) | A kind of shared laboratory system and operating method | |
CN113626002A (en) | Service execution method and device | |
CN109711572A (en) | A kind of mobile O&M task processing system of photovoltaic plant | |
CN106502796A (en) | A kind of software development test platform, system and using method | |
CN114422018A (en) | Satellite network simulation system, test method, device, storage medium and product | |
CN106130897A (en) | Performance optimization method based on Router Simulation | |
CN107133733A (en) | Fire-fighting equipment maintenance report form generation method, device and computer-readable recording medium | |
CN110278101A (en) | A kind of method for managing resource and equipment | |
CN109005050A (en) | A kind of IDC information management system | |
CN108427560A (en) | API file management methods, server and storage medium | |
WO2022083424A1 (en) | Odn node device management apparatus, method and device, and storage medium | |
CN114189516B (en) | Edge cloud data cooperation method and system | |
CN112738153B (en) | Gateway selection method, system, device, server and medium in service system |
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 | ||
PP01 | Preservation of patent right |
Effective date of registration: 20230919 Granted publication date: 20190813 |
|
PP01 | Preservation of patent right |