CN110276533A - A kind of configuration method of emergency preplan, device and server - Google Patents

A kind of configuration method of emergency preplan, device and server Download PDF

Info

Publication number
CN110276533A
CN110276533A CN201910483304.0A CN201910483304A CN110276533A CN 110276533 A CN110276533 A CN 110276533A CN 201910483304 A CN201910483304 A CN 201910483304A CN 110276533 A CN110276533 A CN 110276533A
Authority
CN
China
Prior art keywords
workflow
emergency preplan
emergency
node
preplan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910483304.0A
Other languages
Chinese (zh)
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.)
Shenzhen Clp Smart Security Polytron Technologies Inc
Original Assignee
Shenzhen Clp Smart Security 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 Shenzhen Clp Smart Security Polytron Technologies Inc filed Critical Shenzhen Clp Smart Security Polytron Technologies Inc
Priority to CN201910483304.0A priority Critical patent/CN110276533A/en
Publication of CN110276533A publication Critical patent/CN110276533A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management, e.g. organising, planning, scheduling or allocating time, human or machine resources; Enterprise planning; Organisational models
    • G06Q10/063Operations research or analysis
    • G06Q10/0637Strategic management or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation, e.g. computer aided management of electronic mail or groupware; Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Abstract

The present embodiments relate to contingency management technical fields, disclose a kind of configuration method of emergency preplan, which comprises Custom Workflow, each workflow correspond to unique workflow discre value;Configure the flow nodes of the workflow, the corresponding rule user of each flow nodes;Customized emergency preplan;The emergency preplan is bound into workflow;According to the workflow discre value of the workflow of binding, the collaboration process figure of emergency preplan is obtained.By the above-mentioned means, to solve prediction scheme involved in existing existing emergency management system more for the embodiment of the present invention, each department works poor the technical problem for causing response speed slow, realizes flexible configuration workflow, improves the speed of emergency response.

Description

A kind of configuration method of emergency preplan, device and server
Technical field
The present invention relates to contingency management technical fields, more particularly to a kind of configuration method of emergency preplan, device and clothes Business device.
Background technique
The frequent generation of the emergency events such as the attack of terrorism, natural disaster, Accidents Disasters promotes country to recognize reinforcement to prominent The adaptibility to response for sending out public accident great is imperative.Existing emergency management system should generally be established and plan it in Integrate Natural Disasters Prevention On, contingency management, commander, rescue plan etc. are completed for emergency event.Emergency event typically results in " chain reaction ", needs more A departmental cooperation, each department carries out emergency response according to the prediction scheme of oneself department and is not only unfavorable for strength integration, or even causes Function conflict, influences the speed and effect of emergency response, therefore to be related to prediction scheme more for existing emergency management system, and process usually because Change for policy, area or institutional adjustment, under present case, the mode generallyd use is that prediction scheme process is written as source generation Code, and relevant parameter is also written in source code, and then the prediction scheme process of business is realized by executing source code, lead to source code Degree of coupling between relevant parameter is higher, and the modification in later period and the difficulty of maintenance are larger, and the source of each prediction scheme process Code is only applicable to the emergency preplan of scene corresponding to a certain relevant parameter, and existing emergency management system scalability is poor.
Summary of the invention
The embodiment of the present invention is intended to provide configuration method, device and the server of a kind of emergency preplan, and which solve existing Existing emergency management system involved in prediction scheme it is more, each department works poor the technical problem for causing response speed slow, realizes flexible Configuration work stream improves the speed of emergency response.
In order to solve the above technical problems, the embodiment of the present invention the following technical schemes are provided:
In a first aspect, the embodiment of the present invention provides a kind of configuration method of emergency preplan, which comprises
Custom Workflow, each workflow correspond to unique workflow discre value;
Configure the flow nodes of the workflow, the corresponding rule user of each flow nodes;
Customized emergency preplan;
The emergency preplan is bound into workflow;
According to the workflow discre value of the workflow of binding, the collaboration process figure of emergency preplan is obtained.
Second aspect, the embodiment of the present invention provide a kind of configuration device of emergency preplan, are applied to server, described device Include:
The customized unit of workflow, is used for Custom Workflow, and each workflow corresponds to unique workflow discre value;
Flow nodes configuration unit, for configuring the flow nodes of the workflow, the corresponding rule of each flow nodes User;
The customized unit of emergency preplan is used for customized emergency preplan;
Workflow binding unit, for the emergency preplan to be bound workflow;
Collaboration process figure acquiring unit obtains emergency preplan for the workflow discre value according to the workflow of binding Collaboration process figure.
In some embodiments, the customized unit of the workflow, is specifically used for:
The corresponding flow nodes of the customized workflow;
Dispose the corresponding collaboration process figure of each workflow.
In some embodiments, the flow nodes configuration unit, is specifically used for:
Configuration rule engine;
Determine the corresponding rule user of each flow nodes.In some embodiments, the customized unit of the emergency preplan, It is specifically used for:
Determine the prediction scheme title of the emergency preplan;
Define the event type of emergency preplan;
Determine the corresponding response grade of the event type of the emergency preplan;
Edit the prediction scheme content of the emergency preplan.
In some embodiments, the workflow binding unit, comprising:
Workflow discre value module binds the work for the event type and response grade according to the emergency preplan Make stream discre value.
In some embodiments, the workflow discre value module, is specifically used for:
It judges whether there is identical event type and responds the workflow of grade, and if it exists, then according to the workflow Creation time, by the emergency preplan bind the newest workflow of creation time.
In some embodiments, the configuration device of the emergency preplan further include:
Emergency preplan library creating unit, for creating emergency preplan library according to the customized emergency preplan.
In some embodiments, the flow nodes include:
Application starts emergency node, starting emergency node, the node that set out, arrived node, application releasing node, releases Emergency node at least one of fills in report node or multiple.
The third aspect, the embodiment of the present invention provide a kind of server, comprising:
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one A processor executes, so that at least one described processor is able to carry out the configuration method of emergency preplan as described above.
Fourth aspect, the embodiment of the invention also provides a kind of non-volatile computer readable storage medium storing program for executing, the calculating Machine readable storage medium storing program for executing is stored with computer executable instructions, and the computer executable instructions are for enabling the server to execute The configuration method of emergency preplan as described above.
The beneficial effect of the embodiment of the present invention is: being in contrast to the prior art down, provided in an embodiment of the present invention one The configuration method of kind emergency preplan, which comprises Custom Workflow, each workflow correspond to unique workflow identification Value;Configure the flow nodes of the workflow, the corresponding rule user of each flow nodes;Customized emergency preplan;It will be described Emergency preplan binds workflow;According to the workflow discre value of the workflow of binding, the collaboration process figure of emergency preplan is obtained.It is logical Cross aforesaid way, the embodiment of the present invention solves that prediction scheme involved in existing existing emergency management system is more, and each department works poor Lead to the technical problem that response speed is slow, realizes flexible configuration workflow, improve the speed of emergency response.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the overall flow schematic diagram of the configuration method of an emergency preplan provided in an embodiment of the present invention;
Fig. 2 is the specific flow chart of the configuration method of an emergency preplan provided in an embodiment of the present invention;
Fig. 3 is the refined flow chart of the step S101 in Fig. 2;
Fig. 4 is the refined flow chart of the step S201 in Fig. 2;
Fig. 5 is the refined flow chart of the step S301 in Fig. 2;
Fig. 6 is the schematic diagram of collaboration process figure provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of a flow nodes and rule user provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of provided in an embodiment of the present invention one newly-increased rule user;
Fig. 9 is the schematic diagram in an emergency preplan provided in an embodiment of the present invention library;
Figure 10 is the schematic diagram of an emergency preplan provided in an embodiment of the present invention;
Figure 11 is the schematic diagram of the configuration device of an emergency preplan provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of a server provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In addition, as long as technical characteristic involved in the various embodiments of the present invention described below is each other not Constituting conflict can be combined with each other.
Currently, completing contingency management, commander, rescue plan etc. for emergency event.Emergency event typically results in " chain anti- Answer ", need multiple departmental cooperations, each department according to the prediction scheme of oneself department carries out emergency response, and to be not only unfavorable for strength whole It closes, or even causes functional conflict, influence the speed and effect of emergency response, therefore to be related to prediction scheme more for existing emergency management system, And process usually changes because of policy, area or institutional adjustment, under present case, the mode generallyd use is by prediction scheme stream Journey is written as source code, and relevant parameter is also written in source code, and then the prediction scheme stream of business is realized by executing source code Journey causes the degree of coupling between source code and relevant parameter higher, and the modification in later period and the difficulty of maintenance are larger, and each The source code of prediction scheme process is only applicable to the emergency preplan of scene corresponding to a certain relevant parameter, existing emergency management system extension Property is poor.
Speed based on the response of existing emergency preplan is slow, and the problem of expansion difference, the present invention propose a kind of emergency The configuration method of prediction scheme generates the scheduling flow for being suitable for emergency management and rescue through Custom Workflow in conjunction with regulation engine, full The demand of sufficient different regions different user.
Referring to Fig. 1, Fig. 1 is a kind of overall flow signal of the configuration method of emergency preplan provided in an embodiment of the present invention Figure;
As shown in Figure 1, the configuration method of the emergency preplan, comprising:
Step S10: Custom Workflow;
Specifically, customized activity workflow, completes workflow deployment, for doing standard early period to generate emergency preplan It is standby.The Custom Workflow includes:
Step S11: workflow configuration step;
Specifically, being used for Custom Workflow journey, the workflow is configured, specifically, the workflow configuration Step includes:
Step S111: customized process;
Specifically, the customized process, comprising: between the quantity of customized flow nodes, sequence and flow nodes Interaction relationship, generate collaboration process figure.Wherein, the generation collaboration process figure is complete by activity workflow plug-in unit At.
Step S112: deployment;
Specifically, disposing the corresponding object of each step process, that is, determine the user of each step process, and it is fixed to complete process Justice determines the complete guiding of process, by deployment object and flow definition, by after deployment object and flow definition protect It deposits, completes deployment.
Step S20: flow nodes configuration;
Specifically, to each flow nodes configuration rule user and related job stream.Specifically, the flow nodes are matched It sets, comprising:
Step S21: node configuration step, specifically, the node configuration step, comprising:
Step S211: related job stream;
Specifically, by flow nodes related job stream.
Step S212: work process flow node configuration processing people;
Specifically, being each work process flow node configuration rule user, the rule user is for each step process The user that node is configured.The rule user is configured by configuration condition.
Step S30: newly-increased emergency preplan;
Specifically, the newly-increased emergency preplan, comprising:
Step S31: event is generated according to emergency event type and response grade, wherein by the thing for defining emergency preplan Part type and its corresponding response grade generate emergency preplan, and save the emergency preplan and take in local server and/or cloud Business device, the event type of the emergency preplan includes: natural calamity, accident, public health, social safety, typhoon, water Flood throwing object in high sky/fall, gets an electric shock, happens suddenly and cut off the water, the power failure that happens suddenly, fire explosion, easily make quick-fried chemicals, severe poisonous chemicals, combustion gas Leakage, food poisoning, SARS Epidemic, elevator malfunction and elevator faults, rob surreptitiously steal, fight, vehicle rushes hilllock, drunk taste Thing, sit-down demonstration, traffic accident and group complain to the higher authorities about an injustice and request fair settlement, make trouble, parade, and the response grade includes level-one, second level, three-level and four Grade.
Step S40: binding collaboration process figure;
Specifically, binding corresponding cooperation stream according to the event type of the emergency preplan and its corresponding response grade Cheng Tu.
By Custom Workflow, meets the needs of different regions user group is different, to improve the response speed of emergency Degree.
It is a kind of process signal of the configuration method of emergency preplan provided in an embodiment of the present invention referring again to Fig. 2, Fig. 2 Figure;
As shown in Fig. 2, the configuration method of the emergency preplan, comprising:
Step S101: Custom Workflow, each workflow correspond to unique workflow discre value;
Wherein, each workflow corresponds to unique workflow discre value, and the workflow discre value is unique identification deployment ID value, i.e. deployment ID value.
Specifically, Fig. 3 is the refined flow chart of the step S101 in Fig. 2 referring again to Fig. 3;
As shown in figure 3, the Custom Workflow, comprising:
Step S1011: the corresponding flow nodes of the customized workflow;
Wherein, the flow nodes can be defined by user oneself, may include multiple branches in process, each branch process industry Business is different, such as: the flow nodes include: application starting emergency node, starting emergency node, the node that set out, arrived Node, application release node, release emergency node, at least one of fill in report node or multiple.By customized described The corresponding flow nodes of workflow, the corresponding work step of each flow nodes, so that it is determined that corresponding work step, for deployment Collaboration process figure is prepared in advance.
Step S1012: the corresponding collaboration process figure of each workflow is disposed;
Specifically, the collaboration process figure is the overall flow figure of the workflow, the collaboration process figure corresponds to multiple Flow nodes, each flow nodes are for corresponding to corresponding work step, the corresponding corresponding processing people of each work step.Such as Shown in Fig. 6, Fig. 6 is a kind of schematic diagram of collaboration process figure provided in an embodiment of the present invention, as shown in fig. 6, the collaboration process figure, It include: that application starts early warning node, starting emergency node, the node that sets out, reaches field node, application releasing node, releases and answer Anxious node and fill in report node.
It is understood that generating workflow list, the workflow list is according to work by customized multiple workflows The creation time for making to flow is ranked up, alternatively, being ranked up according to the content of the workflow.
Step S201: the flow nodes of the workflow, the corresponding rule user of each flow nodes are configured;
Wherein, the rule user refers to the user configured for each step flow nodes,
Referring to Fig. 7, Fig. 7 is the schematic diagram of a kind of flow nodes and rule user provided in an embodiment of the present invention;Such as Fig. 7 Shown, the flow nodes include: application starting early warning node, starting emergency node, the node that sets out, reach field node, original Await orders node, application of ground releases node, releases emergency and node and fill in report node, and emergency management and rescue team includes commander's group, the rising sun Raw rescue group.
It is a kind of schematic diagram of newly-increased rule user provided in an embodiment of the present invention referring again to Fig. 8, Fig. 8;
As shown in figure 8, being each flow nodes configuration rule user according to configuration condition, wherein the configuration condition packet Include: being applicable in unit, user sources and emergency management and rescue team, the applicable unit includes: all units, key unit, high-risk list Position and general unit, the user sources include: data line, role and position, and the emergency management and rescue team is from organizational structure It is generated in tree, organizational structure tree is the rescue team provided for emergency management and rescue process, wherein there are upper between the rescue team Inferior relation is the refined flow chart of the step S201 in Fig. 2 referring again to Fig. 4, Fig. 4;
As shown in figure 4, the flow nodes of the configuration workflow, comprising:
Step S2011: configuration rule engine;
Specifically, the regulation engine is Drools regulation engine, by way of regulation engine by data and logic into Rule is converted to executable decision tree by specific algorithm by row decoupling, the regulation engine, and the specific algorithm can be with For PHREAK algorithm, in the executable decision tree of generation, each condition in rule will be converted into one in setting section Point, and in rule, how different conditions is connected with each other, and will determine the connection type of these nodes.When in regulation engine When middle addition data, it will be assessed in batches, the path optimized by Web vector graphic.It is triggered when data reach to represent When the leaf of rule, executes tree and complete.These rules are added in a list, call an order that will be required to trigger All rules or one group of rule.
Step S2012: the corresponding rule user of each flow nodes is determined.
Wherein, the flow nodes include: application starting emergency node, starting emergency node, the node that set out, arrived Node, application release node, release emergency node, at least one of fill in report node or multiple.
Specifically, the application starting emergency node, is monitored environmental information by hardware device, emergency system root Triggered after being alarmed according to the environmental information, such as: the hardware device be smoke sensing equipment, smoke sensing equipment to smokescope into Row monitoring, if smokescope reaches certain threshold value, the smoke sensing equipment is reported to emergency system, and emergency system is identified as reporting It is alert.Background user needs to confirm alert authenticity after alarming, if it is confirmed that fire occurs, then needs true manually in mobile terminal Think fire alarm.When fire alarm occurs, system can be according to the latitude and longitude coordinates that fire alarm occurs, and notice nearby use by the system within the scope of certain Family, so that system user is in time handled the alert after receiving message.
The node specifically, starting is met an urgent need, after emergency system recognizes fire behavior, it is next to synchronize acquisition for Booting sequence The rule user of flow nodes is walked, and passes through aurora sending out notice user, wherein aurora push, abbreviation JPush is a face Third party's message push service opened to common developer and free.Aurora push has the client of its lightweight SDK, developer only need to integrate aurora push SDK in client, can easily add push function into his APP, wherein Aurora push supports that Android, iOS, windows phone, also support cloud Push Service, developer can be in management Portal On quickly to user's PUSH message, can also also provide long-range push API with the time of customized push, user group, position etc., Developer can check push statistical information on management Portal, intuitively assessment push effect.Wherein, the starting emergency The corresponding rule user of node can be ordinary user, such as: the people.
Specifically, the node that set out, for reinforcement of after rule user receives message, setting out under line, wherein described The corresponding rule user of the node that set out has common permission, such as: the corresponding rule user of the node that set out is emergency The rescue team member of rescue group.
Specifically, described arrived node, for reaching the scene of the accident in rule user, reporting system informing be arrived, Wherein, the corresponding rule user of node that arrived has common permission, such as: the corresponding rule of node that arrived is used Family is the rescue team member of emergency management and rescue team.
Specifically, the application releases node, for generating accident treatment situation after rule user processing finishes event, And the accident treatment situation being reported into emergency system, and send application to the emergency system and release instruction, application is released and is answered Urgent thing part, wherein the rule user that the application releases node possesses common permission, such as: the application releases the rule of node Then user is the rescue member of emergency management and rescue team.
Specifically, the rule user for releasing emergency node receives accident treatment situation, the thing is verified under doubling Therefore disposition, the condition for releasing emergency whether is met according to the accident treatment situation, if satisfied, emergency is then released, if not Meet, then reject this application and release instruction, wherein the releasing meets an urgent need the corresponding rule user of node with highest permission, example Such as: described to release the commander in chief that the corresponding rule user of emergency node is emergency management and rescue team.
Specifically, described fill in report node, for reporting accident report after emergency event releasing, and terminate to flow Journey, wherein the corresponding rule user of report node of filling in has common permission, such as: the releasing emergency node is corresponding Rule user be emergency management and rescue team rescue team member.
Logic rules are generated by separating flow nodes from workflow, the rule user of the flow nodes passes through use The many levels such as family type, user role, character types, flat type obtain data, by inference machine to the data and rule It is then matched, generates new rule, and the new rule of generation is saved in database, be used for convenient reading.Wherein, institute State database can for Redis database, Redis database be an open source support network, it is memory-based also can be lasting Log type, the Key-Value database of change, and the API of multilingual is provided.Redis database is a high performance key- Value database, also, Redis database supports master-slave synchronisation, data can be from primary server to any number of from service It is synchronous on device, it can be from server and be associated with other primary servers from server.
The inference machine is also used to trigger flow, and controls, coordinates entire emergency system.
Specifically, the user type includes: administrator, supervises unit and by supervision unit, wherein the administrator For the user type for possessing system highest permission, the supervision unit includes: district government's unit, street, a community etc., described The enterprise, junior that supervision unit is administered is referred to by supervision unit, such as: certain company is in the administration of certain district government.
Specifically, the user role refer to user can operating system menu permission, to user create one or more A role, each role correspond to distribution menu and permission.
Specifically, the character types include: supervisory role and by supervisory role, wherein the supervisory role is to prison The role that pipe unit user uses, it is described by supervisory role be to the role used by supervision unit user.
Specifically, the flat type includes: to supervise unit and by Supervisory Unit, wherein the Supervisory Unit is root According to regulatory agency's type create unit, regulatory agency's type include: territorial jurisdiction mechanism, industry mechanism, law enforcement agency, Emergency management and rescue mechanism, described by supervision unit includes building and place unit.
Step S301: customized emergency preplan;
Specifically, referring to Fig. 5, Fig. 5 is the refined flow chart of the step S301 in Fig. 2;
As shown in figure 5, the customized emergency preplan, comprising:
Step S3011: the prediction scheme title of the emergency preplan is determined;
Specifically, the prediction scheme title of the emergency preplan can be by user setting, alternatively, passing through preset prediction scheme namebase It is matched, in embodiments of the present invention, the emergency preplan is multinomial emergency preplan comprising: natural calamity emergency preplan, Accident emergency preplan, public health emergency preplan, social safety emergency preplan, typhoon emergency preplan, waterlogging emergency preplan, Throwing object in high sky/emergency preplan of falling, electric shock emergency preplan, happen suddenly the emergency preplan, burst power failure emergency preplan, fire explosion of cutting off the water Emergency preplan easily makes quick-fried chemicals emergency preplan, severe poisonous chemicals emergency preplan, gas leakage emergency preplan, poisons by food and answer Anxious prediction scheme, SARS Epidemic emergency preplan, elevator malfunction and elevator faults emergency preplan rob and surreptitiously steal emergency preplan, fight Emergency preplan, vehicle rush hilllock emergency preplan, drunk emergency preplan of stirring up trouble, sit-down demonstration emergency preplan, traffic accident emergency preplan And group complains to the higher authorities about an injustice and request fair settlement, makes trouble, emergency preplan of parading.Therefore, the preset prediction scheme namebase includes multinomial, such as: natural calamity Emergency preplan, accident emergency preplan, public health emergency preplan, social safety emergency preplan, typhoon emergency preplan, waterlogging Emergency preplan, throwing object in high sky/emergency preplan of falling, emergency preplan of getting an electric shock, burst cut off the water emergency preplan, burst power failure emergency in advance Case, fire explosion emergency preplan, easily make quick-fried chemicals emergency preplan, severe poisonous chemicals emergency preplan, gas leakage emergency preplan, Food poisoning emergency preplan, SARS Epidemic emergency preplan, elevator malfunction and elevator faults emergency preplan rob and surreptitiously steal emergency in advance Case, emergency preplan of fighting, vehicle rush hilllock emergency preplan, drunk emergency preplan of stirring up trouble, sit-down demonstration emergency preplan, traffic thing Therefore emergency preplan and group complain to the higher authorities about an injustice and request fair settlement, make trouble, emergency preplan of parading.
Step S3012: the event type of emergency preplan is defined;
Specifically, the event type of the emergency preplan is corresponding with the prediction scheme title of the emergency preplan, and such as: it is described Event type includes natural calamity, accident, public health, social safety, typhoon, waterlogging, throwing object in high sky/fall, get an electric shock, Burst cuts off the water, the power failure that happens suddenly, fire explosion, easily makes quick-fried chemicals, severe poisonous chemicals, gas leakage, food poisoning, burst epidemic disease Feelings, elevator malfunction and elevator faults, rob surreptitiously steal, fight, vehicle rushes hilllock, it is drunk stir up trouble, sit-down demonstration, traffic accident and Group complains to the higher authorities about an injustice and request fair settlement, makes trouble, parades.
Step S3013: the corresponding response grade of the event type of the emergency preplan is determined;
Specifically, the response grade includes: level-one, second level, three-level and level Four, wherein according to degree of danger to institute It states response grade to distinguish, level-one correspond to especially severe, and second level is corresponding serious, and three-level correspond to heavier, and level Four corresponds to generally, root According to the event type of the emergency preplan, the corresponding response grade of the event type of the emergency preplan is artificially determined, and by institute It states event type and the response grade carries out corresponding preservation, such as: the corresponding response grade of typhoon emergency preplan is level-one, is dashed forward Sending out the corresponding response grade of power failure emergency preplan is second level etc..
Step S3014: the prediction scheme content of the emergency preplan is edited.
Specifically, the prediction scheme content of the emergency preplan is edited using the editor of front-end technology layui, The prediction scheme content of the emergency preplan includes: user's operation step.Wherein, layui is that a use own module specification is write Front end UI frame, it then follows the writing and organizational form of primary HTML/CSS/JS, threshold is extremely low, brings and uses.Its external pole Letter, but full inherence is not lost, volume is slim and graceful, and component is plentiful, and the everywhere details from core code to API is all passed through meticulously It chisels and carves, is very suitable to the quick exploitation at interface, can satisfy and quickly the prediction scheme content of the emergency preplan is edited.
In embodiments of the present invention, after customized emergency preplan step, the method also includes:
According to the customized emergency preplan, emergency preplan library is created.
Referring to Fig. 9, Fig. 9 is a kind of schematic diagram in emergency preplan library provided in an embodiment of the present invention;As shown in figure 9, should Emergency preplan library includes multiple emergency preplans, and the corresponding emergency event type of each emergency preplan and prediction scheme respond grade, such as: Typhoon emergency preplan, burst power failure emergency disposal prediction scheme etc..
It is a kind of schematic diagram of emergency preplan provided in an embodiment of the present invention referring again to Figure 10, Figure 10;
As shown in Figure 10, the entitled typhoon emergency preplan of the prediction scheme of the emergency preplan, emergency event type are typhoon, response Rank is secondary response, and the flow nodes of the emergency preplan include: application starting early warning node, starting emergency node, set out section Point, node of staying where one is, pending further orders reach field node, application releasing node, release emergency node and fill in report node.
Step S401: the emergency preplan is bound into workflow;
Specifically, after emergency preplan creation, according to the event type of the emergency preplan and response grade, binding Workflow, due to predefined workflow, each workflow corresponds to unique workflow discre value, when define multiple workflows it Afterwards, workflow list will be generated, it is described that the emergency preplan is bound into workflow, it specifically includes:
The workflow list is obtained, according to the workflow list, selects corresponding workflow, by the emergency preplan The workflow is bound, that is, the emergency preplan is bound the corresponding workflow discre value of the workflow.
In embodiments of the present invention, the method also includes:
It judges whether there is identical event type and responds the workflow of grade, and if it exists, then according to the workflow Creation time, by the emergency preplan bind the newest workflow of creation time.
Step S501: according to the workflow discre value of the workflow of binding, the collaboration process figure of emergency preplan is obtained;
Specifically, taking deployment ID according to the workflow discre value of the workflow of emergency preplan binding Value, using under the available specified deployment of the packaged getDeploymentResourceNames method of activity workflow The title for obtaining All Files, it is incoming using the getResourceAsStream method of repositoryService The inlet flow of specified Name Documents under deploymentID value and the available deployment of file name, the behaviour of last related IO stream Make, completes process to the copy of file using the copyInputStreamToFile method of FileUtils tool, will acquire Collaboration process map file is deposited under the specified folder of server.
Wherein, by obtaining the inlet flow and output stream of specified Name Documents, each emergency preplan binding workflow it Afterwards, if system has user to use the emergency preplan, which cannot modify corresponding workflow again, at this time only User can be allowed to check collaboration process figure, collaboration process figure is uploaded in emergency system by using iostream, after convenient Phase user checks the corresponding collaboration process figure of emergency preplan.
In embodiments of the present invention, by providing a kind of configuration method of emergency preplan, which comprises make volunteer by oneself It flows, each workflow corresponds to unique workflow discre value;Configure the flow nodes of the workflow, each flow nodes pair Answer a rule user;Customized emergency preplan;The emergency preplan is bound into workflow;According to the workflow of the workflow of binding Discre value obtains the collaboration process figure of emergency preplan.By the above-mentioned means, the embodiment of the present invention solves existing existing emergency Prediction scheme involved in management system is more, and each department works poor the technical problem for causing response speed slow, realizes flexible configuration workflow, Improve the speed of emergency response.
Figure 11 is please referred to, Figure 11 is a kind of schematic diagram of the configuration device of emergency preplan provided in an embodiment of the present invention;It should The configuration device of emergency preplan can be applied to server, such as: Cloud Server.
As shown in figure 11, the configuration device 110 of the emergency preplan includes:
The customized unit 111 of workflow, is used for Custom Workflow, and each workflow corresponds to unique workflow identification Value;
Flow nodes configuration unit 112, for configuring the flow nodes of the workflow, the corresponding rule of each flow nodes Then user;
The customized unit 113 of emergency preplan is used for customized emergency preplan;
Workflow binding unit 114, for the emergency preplan to be bound workflow;
Collaboration process figure acquiring unit 115 obtains emergency preplan for the workflow discre value according to the workflow of binding Collaboration process figure;
In embodiments of the present invention, the customized unit 111 of the workflow, is specifically used for:
The corresponding flow nodes of the customized workflow;
Dispose the corresponding collaboration process figure of each workflow.
In embodiments of the present invention, the flow nodes configuration unit 112, is specifically used for:
Configuration rule engine;
Determine the corresponding rule user of each flow nodes.
In embodiments of the present invention, the customized unit 113 of the emergency preplan, is specifically used for:
Determine the prediction scheme title of the emergency preplan;
Define the event type of emergency preplan;
Determine the corresponding response grade of the event type of the emergency preplan;
Edit the prediction scheme content of the emergency preplan.
In embodiments of the present invention, the workflow binding unit 114, comprising:
Workflow discre value module (not shown) is tied up for the event type and response grade according to the emergency preplan The fixed workflow discre value.
In some embodiments, the workflow discre value module, is specifically used for:
It judges whether there is identical event type and responds the workflow of grade, and if it exists, then according to the workflow Creation time, by the emergency preplan bind the newest workflow of creation time.
In some embodiments, the configuration device 110 of the emergency preplan further include:
Emergency preplan library creating unit 116, for creating emergency preplan library according to the customized emergency preplan.
In some embodiments, the flow nodes include:
Application starts emergency node, starting emergency node, the node that set out, arrived node, application releasing node, releases Emergency node at least one of fills in report node or multiple.
Since Installation practice and embodiment of the method under the premise of content does not conflict mutually, are filled based on same design The content for setting embodiment can be with quoting method embodiment, and this will not be repeated here.
Figure 12 is please referred to, Figure 12 is that the embodiment of the present invention provides a kind of structural schematic diagram of server.Wherein, the server Can be intelligent server, Mobile Server, personal communication devices etc. can be carried out the electronic equipment of emergency preplan configuration.
As shown in figure 12, which includes one or more processors 121 and memory 122.Wherein, Figure 12 In by taking a processor 121 as an example.
Processor 121 can be connected with memory 122 by bus or other modes, to be connected by bus in Figure 12 For.
Memory 122 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, such as the configuration method of one of embodiment of the present invention emergency preplan Corresponding unit (for example, each unit described in Figure 11).Processor 121 is stored in non-easy in memory 122 by operation The property lost software program, instruction and module, at the various function application and data of the configuration method of emergency preplan Reason, the i.e. modules and unit of the configuration method of realization above method embodiment emergency preplan and above-mentioned apparatus embodiment Function.
Memory 122 may include high-speed random access memory, can also include nonvolatile memory, for example, at least One disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, memory 122 Optional includes the memory remotely located relative to processor 121, these remote memories can pass through network connection to processing Device 121.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
The module is stored in the memory 122, when being executed by one or more of processors 121, is held The configuration method of emergency preplan in the above-mentioned any means embodiment of row, for example, executing described above shown in Fig. 2 to Fig. 5 Each step;It can also realize the function of modules described in Figure 11 or unit.
The server of the embodiment of the present invention exists in a variety of forms, including but not limited to:
(1) tower server
General tower server cabinet and our common PC machine casees are similar, and large-scale tower case will be coarse Very much, generally speaking outer dimension does not have fixed standard.
(2) rack-mount server
Rack-mount server is the dense deployment due to meeting enterprise, formation using 19 inch racks as normal width Type of server, height is then from 1U to several U.Server is placed into rack, daily maintenance and pipe are not merely conducive to Reason, it is also possible to avoid unexpected failure.Firstly, placing server is not take up excessive space.Rack server is fitly arranged It is placed in rack, it will not wasting space.Secondly, connecting line etc. also can be in fitly folding and unfolding to rack.Power supply line and LAN line etc. All can in cabinet the good line of cloth, it is possible to reduce connecting line on the ground is accumulated, to prevent foot from kicking the accidents such as electric wire off Occur.Defined size is the width (48.26cm=19 inches) and height (multiple of 4.445cm) of server.Since width is 19 English It is very little, so will also meet this defined rack sometimes is known as " 19 inch rack ".
(3) blade server
Blade server is a kind of the low of HAHD (High Availability High Density, High Availabitity high density) Cost service device platform is to design exclusively for special applications industry and high density computer environment, wherein each piece " blade " An actually block system motherboard is similar to independent server one by one.In such a mode, each motherboard is run certainly Oneself system, serves different specified user groups, and is not associated between each other.System software but can be used by these mothers Plate assembles a server cluster.Under cluster mode, all motherboards can connect the network environment of offer high speed, It can be serve the same user group with shared resource.
The embodiment of the invention also provides a kind of nonvolatile computer storage media, the computer storage medium storage There are computer executable instructions, which is executed by one or more processors, such as one in Figure 12 Processor 121 may make said one or multiple processors that matching for the emergency preplan in above-mentioned any means embodiment can be performed Method is set, for example, the configuration method of the emergency preplan in above-mentioned any means embodiment is executed, for example, executing described above Each step shown in Fig. 2 to Fig. 5;It can also realize the function of each unit described in Figure 11.
Device or apparatus embodiments described above is only schematical, wherein it is described as illustrated by the separation member Unit module may or may not be physically separated, and the component shown as modular unit can be or can also Not to be physical unit, it can it is in one place, or may be distributed on multiple network module units.It can basis It is actual to need that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, above-mentioned technology Scheme substantially in other words can be embodied in the form of software products the part that the relevant technologies contribute, the computer Software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are with directly To computer equipment (can be personal computer, server or the network equipment etc.) execute each embodiment or Method described in certain parts of embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this It under the thinking of invention, can also be combined between the technical characteristic in above embodiments or different embodiment, step can be with It is realized with random order, and there are many other variations of different aspect present invention as described above, for simplicity, they do not have Have and is provided in details;Although the present invention is described in detail referring to the foregoing embodiments, the ordinary skill people of this field Member is it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part of skill Art feature is equivalently replaced;And these are modified or replaceed, each reality of the application that it does not separate the essence of the corresponding technical solution Apply the range of a technical solution.

Claims (10)

1. a kind of configuration method of emergency preplan, which is characterized in that the described method includes:
Custom Workflow, each workflow correspond to unique workflow discre value;
Configure the flow nodes of the workflow, the corresponding rule user of each flow nodes;
Customized emergency preplan;
The emergency preplan is bound into workflow;
According to the workflow discre value of the workflow of binding, the collaboration process figure of emergency preplan is obtained.
2. the method according to claim 1, wherein the Custom Workflow includes:
The corresponding flow nodes of the customized workflow;
Dispose the corresponding collaboration process figure of each workflow.
3. the method according to claim 1, wherein the flow nodes of the configuration workflow, comprising:
Configuration rule engine;
Determine the corresponding rule user of each flow nodes.
4. the method according to claim 1, wherein the customized emergency preplan, comprising:
Determine the prediction scheme title of the emergency preplan;
Define the event type of emergency preplan;
Determine the corresponding response grade of the event type of the emergency preplan;
Edit the prediction scheme content of the emergency preplan.
5. according to the method described in claim 4, it is characterized in that, described bind workflow for the emergency preplan, comprising:
According to the event type of the emergency preplan and response grade, the workflow discre value is bound.
6. according to the method described in claim 5, it is characterized in that, the event type and response according to the emergency preplan Grade binds the workflow discre value, comprising:
It judges whether there is identical event type and responds the workflow of grade, and if it exists, then according to the wound of the workflow The time is built, the emergency preplan is bound into the newest workflow of creation time.
7. method according to claim 1-6, which is characterized in that after customized emergency preplan step, institute State method further include:
According to the customized emergency preplan, emergency preplan library is created.
8. method according to claim 1-6, which is characterized in that the flow nodes include: that application starting is answered Anxious node, starting emergency node, the node that set out arrived node, application releasing node, release emergency node, fill in report At least one of node is multiple.
9. a kind of configuration device of emergency preplan, which is characterized in that described device includes:
The customized unit of workflow, is used for Custom Workflow, and each workflow corresponds to unique workflow discre value;
Flow nodes configuration unit, for configuring the flow nodes of the workflow, the corresponding rule user of each flow nodes;
The customized unit of emergency preplan is used for customized emergency preplan;
Workflow binding unit, for the emergency preplan to be bound workflow;
Collaboration process figure acquiring unit obtains the cooperation of emergency preplan for the workflow discre value according to the workflow of binding Flow chart.
10. a kind of server characterized by comprising at least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out the described in any item methods of claim 1-8.
CN201910483304.0A 2019-06-04 2019-06-04 A kind of configuration method of emergency preplan, device and server Pending CN110276533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910483304.0A CN110276533A (en) 2019-06-04 2019-06-04 A kind of configuration method of emergency preplan, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910483304.0A CN110276533A (en) 2019-06-04 2019-06-04 A kind of configuration method of emergency preplan, device and server

Publications (1)

Publication Number Publication Date
CN110276533A true CN110276533A (en) 2019-09-24

Family

ID=67961940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910483304.0A Pending CN110276533A (en) 2019-06-04 2019-06-04 A kind of configuration method of emergency preplan, device and server

Country Status (1)

Country Link
CN (1) CN110276533A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218706A (en) * 2013-03-20 2013-07-24 深圳市赛为智能股份有限公司 Method and device for generating workflow file and executing method and system for generating workflow file
CN104021460A (en) * 2014-06-27 2014-09-03 北京太格时代自动化系统设备有限公司 Work flow management system and work flow handling method
CN105843182A (en) * 2015-09-11 2016-08-10 国家电网公司西北分部 Power dispatching accident handling scheme preparing system and power dispatching accident handling scheme preparing method based on OMS
CN106651714A (en) * 2016-09-09 2017-05-10 浙江大学 Intelligent factory security situation and emergency command information visualization system
CN108830462A (en) * 2018-05-25 2018-11-16 中建三局安装工程有限公司 A kind of pipe gallery wisdom operation management platform and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218706A (en) * 2013-03-20 2013-07-24 深圳市赛为智能股份有限公司 Method and device for generating workflow file and executing method and system for generating workflow file
CN104021460A (en) * 2014-06-27 2014-09-03 北京太格时代自动化系统设备有限公司 Work flow management system and work flow handling method
CN105843182A (en) * 2015-09-11 2016-08-10 国家电网公司西北分部 Power dispatching accident handling scheme preparing system and power dispatching accident handling scheme preparing method based on OMS
CN106651714A (en) * 2016-09-09 2017-05-10 浙江大学 Intelligent factory security situation and emergency command information visualization system
CN108830462A (en) * 2018-05-25 2018-11-16 中建三局安装工程有限公司 A kind of pipe gallery wisdom operation management platform and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谢小权: "《大型信息系统信息安全工程与实践》", 31 December 2015, 国防工业出版社 *

Similar Documents

Publication Publication Date Title
Given et al. Technical implementation plan for the ShakeAlert production system: An earthquake early warning system for the west coast of the United States
US8140615B2 (en) Consolidated business service for integrating service oriented architecture services with customer resources
Häring et al. Towards a generic resilience management, quantification and development process: general definitions, requirements, methods, techniques and measures, and case studies
Setola et al. Critical infrastructures, protection and resilience
AU2015349942B2 (en) Application platform operable on network node
US20100027769A1 (en) Global telecommunications network proactive repository, with communication network overload management
De Porcellinis et al. Modelling critical infrastructure via a mixed holistic reductionistic approach
Chen A strategy for limits-aware computing
Fan et al. Establishing a framework for disaster management system-of-systems
Sommerville et al. Responsibility modelling for civil emergency planning
Cinque et al. A collaboration platform for data sharing among heterogeneous relief organizations for disaster management.
Velev et al. An innovative approach for designing an emergency risk management system for natural disasters
CN110276533A (en) A kind of configuration method of emergency preplan, device and server
Zhang et al. Incident Command System in C hina: Development and Dilemmas Evidence from Comparison of Two Cases
Pagotto et al. Canada's multi-agency situational awareness system-Keeping it simple.
Sotoodeh et al. An ontological approach to conceptual modeling of disaster management
Garlick Improving resilience with community cloud computing
Powell et al. Human agency in disaster planning: A systems approach
CN110210696A (en) A kind of emergency communication Command Management System
Hammitzsch et al. User interface prototype for geospatial early warning systems–a tsunami showcase
Rahman Modelling and simulation of interdependencies between the communication and information technology infrastructure and other critical infrastructures
Yoshino et al. An analysis of patterns for automating information system operations
Godfrey et al. Role of public transportation in a natural disaster state of emergency declaration
Johnson The telecoms inclusion principle: the missing link between critical infrastructure protection and critical information infrastructure protection
D'AGOSTINO et al. A domain specific language for the description and the simulation of systems of interacting systems

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