CN108521457A - A kind of tracking and system of equipment control command - Google Patents

A kind of tracking and system of equipment control command Download PDF

Info

Publication number
CN108521457A
CN108521457A CN201810290677.1A CN201810290677A CN108521457A CN 108521457 A CN108521457 A CN 108521457A CN 201810290677 A CN201810290677 A CN 201810290677A CN 108521457 A CN108521457 A CN 108521457A
Authority
CN
China
Prior art keywords
control
server
instruction
result
message
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.)
Granted
Application number
CN201810290677.1A
Other languages
Chinese (zh)
Other versions
CN108521457B (en
Inventor
田新祁
唐国辉
张国友
何源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Three League Polytron Technologies Inc
Original Assignee
Three League Polytron Technologies Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Three League Polytron Technologies Inc filed Critical Three League Polytron Technologies Inc
Priority to CN201810290677.1A priority Critical patent/CN108521457B/en
Publication of CN108521457A publication Critical patent/CN108521457A/en
Application granted granted Critical
Publication of CN108521457B publication Critical patent/CN108521457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention discloses a kind of trackings of equipment control command, including:Control instruction is sent out to web server;It is returned to client and sends successfully instruction;Control instruction is submitted to dispatch server, and is verified;Instruction generates unique number in order to control;According to rule change equipment state and Redis databases are written, change state is forwarded to push server and generates control daily record;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 daily record 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

A kind of tracking and system of equipment control command
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 technology
With the fast development of social informatization, the multimedia middle control system in campus also improves 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 parts are a most important parts, and traditional DC has only done simple order and sent, but terminal is set The accuracy and real-time of standby feedback of status 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 that issuing for order, the entire situation issued lack and have ignored, meeting in this way It is a flight data recorder to cause entirely order to flow through journey, 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.
Invention content
Technical problem to be solved by the present invention lies in, a kind of tracking and system 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 technical problem, the present invention provides a kind of trackings of equipment control command, including:S1, Client sends out control instruction to web server;S2, web server is returned to client sends successfully instruction;S3, web take Control instruction is submitted to dispatch server by business device, and is verified by dispatch server;S4, dispatch server instruct life in order to control At unique number;S5, dispatch server is according to rule change equipment state and Redis databases are written, and then will change state It is forwarded to push server and generates control daily record;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 daily record, 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 receive processing as a result, and being sequentially placed into handling result super successively When queue in;S11, message-oriented middleware judge whether handling result is normal by analysis, and Redis data are then inserted into if any alarm Push server is simultaneously submitted in library, and more new equipment state returns result to dispatch server, and dispatch server puies forward 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 daily record 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 the improvement of said program, the step S9 includes:If the type of control instruction is dummy instruction, according to Rule generates successful result set;If the type of control instruction instructs for ring control, 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 the improvement of said program, the method that the Core server handles control instruction includes:S21, it connects Receive the signaling that communication unit carries UUID;S22, signaling verification, deliver distribution module processing;S23, control instruction is delivered into DC moulds 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, daily record, self-teaching Block.
As the improvement of said program, the state occurred after the DC resume modules control instruction includes: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 returns to 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 servers, web to take Business device, dispatch server, message-oriented middleware, Redis databases, push server, log buffer queue, MySQL database, ring Control server, Core server, distributed information log and controlled terminal;Nginx servers are the agencies of web server, for connecing The request for receiving APP and browser, is then forwarded to the cluster of web server;Web server, the control for receiving 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;Instruction generates unique number in order to control;According to rule change equipment state and Redis databases are written, then Change state is forwarded to push server and generates control daily record;Control instruction is submitted to message-oriented middleware;Generate alarm And it controls daily record 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;Handling result is received successively and handling result is sequentially placed into overtime queue, passes through analysis Judge whether handling result is normal, Redis databases are then inserted into 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 daily record are taken out from queue;If super Shi Wei receives END instruction, and simultaneously warning is written in write-in control daily record in distributed information log;Redis databases, for storing day Will data;Push server is transferred to corresponding strategy, and the strategy that will meet after receiving message according to different message It is pushed to web server;Log buffer queue, for selecting different strategies efficiently to be deposited respectively according to the state of daily record Storage;MySQL database is used for storage device status data;Ring control server, receive control instruction after immediately to controlled terminal into Row equipment controls;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, for the unique mark that is generated according to control instruction and each server Daily record is uniformly processed, centrally stored.
As the improvement of said program, 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;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 receiving handling result successively and by handling result It is sequentially placed into overtime queue, by analyzing and determining whether handling result is normal, is then inserted into Redis databases if any alarm and carries 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 daily record are taken out from queue;5th processing unit, if not receiving END instruction for time-out, Simultaneously warning is written in write-in control daily record in distributed information log.
As the improvement of said program, 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 the type when 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 the improvement of said program, 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 modules;DC modules, for handling control instruction;Data analysis, to control result into Row data analysis;Control exception information is carried and is sent to communication unit on UUID;By control result deliver statistics, daily record, self The modules such as study.
As the improvement of said program, the state occurred after the DC resume modules control instruction includes: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 returns to 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.
Implement the present invention, has the advantages that:
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 be rapidly and efficiently to allow producer technical staff to carry out remote It Cheng Dingwei and solves the problems, such as.Specifically, the invention has the advantages that:
1, realize that all-the-way tracking, every order have individually number during entire order control.
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.
Description of the drawings
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 implementation mode
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 the specific restriction to the present invention only on the basis of the attached drawing of the present invention.
The flow chart of the tracking of present device control command is shown referring to Fig. 1 Fig. 1, including:
S1, client send out 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 instructs in order to control generates unique number;
S5, dispatch server is according to rule change equipment state and Redis databases are written, then will change state forwarding To push server and generate control daily record;
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 daily record, 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 instructs for ring control, 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 receive processing as a result, and handling result is sequentially placed into overtime queue successively;
S11, message-oriented middleware judge whether handling result is normal by analysis, and Redis databases are then inserted into 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 daily record 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 daily record in distributed information log;
S13, push server receive message every time, and corresponding strategy, and the plan that will meet are transferred to 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 to realize the real time monitoring for controlling equipment whole process link when controlling equipment, can control 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 More preferably, provide better service to the user faster, hence it is evident that improve user experience.
The flow chart for the method that Core server handles control instruction in the present invention is shown referring to Fig. 2, Fig. 2, Including:
S1, receiving communication unit carry the signaling of UUID;
S2, signaling verification, deliver distribution module processing;
S3, control instruction is delivered into DC resume modules;
S4, communication unit will be sent on control result carrying UUID;
The state occurred after the DC resume modules 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 returns to 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, daily record, self-teaching.
It should be noted that DC tracking techniques be utilize operator's signaling tracing principle, order be issued to terminal and Terminal feeds back to the whole process monitoring of server, and server end uses distributed structure/architecture, each service node management and control 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, which can be deployed in same server, can also be distributed in different servers, be united by public caching technology One reports tracking information to platform.DC tracking techniques are to be issued to service node again to TMU both terminal management list from platform command Member, then to specific each equipment, then the overall process of the execution feedback of status after the reception order of specific equipment to server into Row monitoring, wherein equipment include but not limited to projector, projection screen, computer, power amplifier, light, air-conditioning, curtain, interaction large-size screen monitors, door Lock etc., state includes in opening, in having turned on, closing, 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 techniques, 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 databases, 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 management and control cluster, can dispose multiple web servers, dispatch server, Message-oriented middleware, Core server, log server.It disclosure satisfy that classroom, the hundreds of equipment in every classroom, 100+ between 10w+ Kind different multimedias and environmental unit type and progress that can be cross-domain controls simultaneously, and reach second grade and respond.In user side Face, it is only necessary to which the operations such as equipment control, status inquiry can be realized in general browser or designated mobile phone APP, can effectively carry High I/O handling capacities and load balance.
Each function module in the present invention is described in detail below:
Nginx servers are the agencies of web server, and the request for receiving 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, the control for receiving 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, verified first, one unique mark of regeneration Number is packed and is encrypted to instruction, is then created control daily record, is submitted state change to Redis databases, 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, if the Core server in classroom is not online, just update control daily record, and generates alarm, push is submitted in alarm Server.Specifically, dispatch server, for verifying control instruction;Instruction generates unique number in order to control;It is changed according to rule Simultaneously Redis databases are written in equipment state, and change state is then forwarded to push server and generates control daily record;Control Message-oriented middleware is submitted in instruction;It generates alarm and controls daily record 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 either 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 databases, and state and alarm are submitted to dispatch server, finally record control daily record.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;Handling result is received successively and handling result is sequentially placed into overtime team In row, by analyzing and determining whether handling result is normal, then it is inserted into Redis databases 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 Daily record processed;If time-out does not receive END instruction, simultaneously warning is written in write-in control daily record in distributed information log;
Redis databases are used for storing daily record data and the data source as daily record;
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, and will meet after receiving message according to different message Strategy be pushed to web server;
Log buffer queue is high performance storage queue, and the either daily record 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 daily record.
MySQL database is used for storage device status data and the data source as 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 mark for being generated according to control instruction are simultaneously done the daily record of each server at unified Reason, it is centrally stored.
Controlled terminal refers mainly to curtain, computer, power amplifier, projecting apparatus, 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;
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 receiving handling result successively and handling result being sequentially placed into overtime queue It analyzes and determines whether handling result is normal, is then inserted into Redis databases 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 daily record from queue;
5th processing unit, if not receiving END instruction for time-out, write-in controls daily record and in distributed information log Write-in warning.
Specifically, 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 collects;
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 modules;
DC modules, for handling control instruction.Specifically, the state packet occurred after the DC resume modules control instruction It includes:(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 returns to 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, daily record, 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 be rapidly and efficiently allow producer's technology Personnel are remotely located and solve the problems, such as.Specifically, the invention has the advantages that:
1, realize that all-the-way tracking, every order have individually number during entire order control.
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 the 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, which is characterized in that including:
S1, client send out 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 instructs in order to control generates unique number;
S5, dispatch server is according to rule change equipment state and Redis databases are written, and is then forwarded to change state and pushes away It send server and generates control daily record;
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 daily record, 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 receive processing as a result, and handling result is sequentially placed into overtime queue successively;
S11, message-oriented middleware judge whether handling result is normal by analysis, are then inserted into Redis databases if any alarm and carry 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 daily record 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 daily record 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 instructs for ring control, 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 modules;
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, daily record, self-teaching.
4. the tracking of equipment control command as claimed in claim 3, which is characterized in that the DC resume modules 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 returns to 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 servers, web server, scheduling clothes Business device, message-oriented middleware, Redis databases, push server, log buffer queue, MySQL database, ring control server, core Central server, distributed information log and controlled terminal;
Nginx servers are the agencies of web server, and the request for receiving APP and browser is then forwarded to web services The cluster of device;
Web server, the control instruction for receiving client;It is returned to client and sends successfully instruction;Control instruction Submit to dispatch server;
Dispatch server, for verifying control instruction;Instruction generates unique number in order to control;Simultaneously according to rule change equipment state Redis databases are written, change state is then forwarded to push server and generates control daily record;Control instruction is submitted to Message-oriented middleware;It generates alarm and controls daily record 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 handling result and by handling result according to It is secondary to be put into overtime queue, by analyzing and determining whether handling result is normal, then it is inserted into Redis databases if any alarm and submits To push server, more new equipment state, dispatch server is returned result to;When receiving END instruction, knot is taken out from queue Fruit collects, write-in control daily record;If time-out does not receive END instruction, simultaneously police is written in write-in control daily record in distributed information log It accuses;
Redis databases are used for storing daily record data;
Push server is transferred to corresponding strategy, and the strategy met is pushed after receiving message according to different message To web server;
Log buffer queue, for selecting different strategies to carry out efficient storage respectively according to the state of daily record;
MySQL database is used for storage device status data;
Ring control server carries out equipment control to controlled terminal immediately after receiving control instruction;
Core server carries out equipment control, and control each controlled end in real time to controlled terminal immediately after receiving control instruction The real-time status at end;
Distributed information log, unique mark for being generated according to control instruction are simultaneously uniformly processed the daily record 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;
Second processing unit is handled for control instruction to be forwarded to respective server according to the type of control instruction;
Third processing unit passes through analysis for receiving handling result successively and handling result being sequentially placed into overtime queue Judge whether handling result is normal, Redis databases are then inserted into 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 daily record from queue;
5th processing unit, if not receiving END instruction for time-out, write-in control daily record 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 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 modules;
DC modules, 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, daily record, self-teaching.
9. the tracking system of equipment control command as claimed in claim 8, which is characterized in that the DC resume modules 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 returns to 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.
CN201810290677.1A 2018-03-30 2018-03-30 A kind of tracking and system of equipment control command Active CN108521457B (en)

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 true CN108521457A (en) 2018-09-11
CN108521457B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
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
CN110798471A (en) * 2019-10-31 2020-02-14 宁波奥克斯电气股份有限公司 Air conditioner management method and related device
CN111158763A (en) * 2019-12-06 2020-05-15 思创数码科技股份有限公司 Equipment instruction processing system for building intelligent management and control
CN111212133A (en) * 2019-12-31 2020-05-29 浙江合众新能源汽车有限公司 Vehicle remote interaction event tracking system
CN113360246A (en) * 2021-05-31 2021-09-07 深圳市瑞云科技有限公司 Project automatic deployment method combined with contentful
CN114189532A (en) * 2021-10-11 2022-03-15 西安电子科技大学 Mass connection control strategy and instruction distribution method
CN114817671A (en) * 2022-05-09 2022-07-29 宁波奥克斯电气股份有限公司 Log analysis method and system for air conditioner Internet of things

Citations (5)

* Cited by examiner, † Cited by third party
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
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN106354107A (en) * 2016-08-26 2017-01-25 厦门印天电子科技有限公司 Smart classroom control system and its centralized control facilities
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

Cited By (10)

* Cited by examiner, † Cited by third party
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
CN110798471A (en) * 2019-10-31 2020-02-14 宁波奥克斯电气股份有限公司 Air conditioner management method and related device
CN110798471B (en) * 2019-10-31 2022-01-25 宁波奥克斯电气股份有限公司 Air conditioner management method and related device
CN111158763A (en) * 2019-12-06 2020-05-15 思创数码科技股份有限公司 Equipment instruction processing system for building intelligent management and control
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
CN113360246A (en) * 2021-05-31 2021-09-07 深圳市瑞云科技有限公司 Project automatic deployment method combined with contentful
CN114189532A (en) * 2021-10-11 2022-03-15 西安电子科技大学 Mass connection control strategy and instruction distribution method
CN114189532B (en) * 2021-10-11 2023-02-03 西安电子科技大学 Mass connection control strategy and instruction distribution method
CN114817671A (en) * 2022-05-09 2022-07-29 宁波奥克斯电气股份有限公司 Log analysis method and system for air conditioner Internet of things

Also Published As

Publication number Publication date
CN108521457B (en) 2019-08-13

Similar Documents

Publication Publication Date Title
CN108521457B (en) A kind of tracking and system of equipment control command
CN103824153B (en) A kind of mobile terminal for handling power generation field operation
CN104616402B (en) Mobile client is rented and controls the system of locker
CN104580349B (en) Secure cloud administration agent
CN104102974B (en) Controller switching equipment intelligent mobile palm management system
CN107992552A (en) A kind of data interchange platform and method for interchanging data
CN105653425B (en) Monitoring system based on complex event processing engine
CN103514245B (en) Creation user it is visible processing tracking can search for and global data base
CN107003983A (en) Configuration network
CN107534581A (en) Reconfigure the acceleration components among the acceleration components of interconnection
CN104572444A (en) Cloud testing platform for game performance and testing method for cloud testing platform
CN109784508A (en) A kind of power grid panorama monitoring operation management method and system based on cloud platform
CN107578357A (en) Intelligent campus management and information analysis platform based on big data
CN110995859A (en) Intelligent transformer substation supporting platform system based on ubiquitous Internet of things
CN107471213A (en) A kind of robot simulation's system
CN107959712A (en) A kind of shared laboratory system and operating method
CN111160754A (en) Process arrangement engine system
CN105391601B (en) A kind of performance test methods and system of Network Management Equipment
CN109800081A (en) A kind of management method and relevant device of big data task
CN109598427A (en) Management method, device and the electronic equipment of robot
CN106130897A (en) Performance optimization method based on Router Simulation
CN114422018A (en) Satellite network simulation system, test method, device, storage medium and product
CN109815135A (en) A kind of monitoring method, device and the intelligent terminal of robot program's operating status
CN109711572A (en) A kind of mobile O&M task processing system of photovoltaic plant
CN108427560A (en) API file management methods, server and storage medium

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
PP01 Preservation of patent right

Effective date of registration: 20230919

Granted publication date: 20190813