CN111176646B - Generation method and device of emergency plan web page - Google Patents

Generation method and device of emergency plan web page Download PDF

Info

Publication number
CN111176646B
CN111176646B CN201911417942.9A CN201911417942A CN111176646B CN 111176646 B CN111176646 B CN 111176646B CN 201911417942 A CN201911417942 A CN 201911417942A CN 111176646 B CN111176646 B CN 111176646B
Authority
CN
China
Prior art keywords
web page
user
generating
plan
data material
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911417942.9A
Other languages
Chinese (zh)
Other versions
CN111176646A (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.)
Beijing Gsafety Information Technology Co ltd
Tsinghua University
Beijing Global Safety Technology Co Ltd
Original Assignee
Beijing Gsafety Information Technology Co ltd
Tsinghua University
Beijing Global Safety Technology Co Ltd
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 Beijing Gsafety Information Technology Co ltd, Tsinghua University, Beijing Global Safety Technology Co Ltd filed Critical Beijing Gsafety Information Technology Co ltd
Priority to CN201911417942.9A priority Critical patent/CN111176646B/en
Publication of CN111176646A publication Critical patent/CN111176646A/en
Priority to PCT/CN2020/141789 priority patent/WO2021136451A1/en
Application granted granted Critical
Publication of CN111176646B publication Critical patent/CN111176646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a method and a device for generating an emergency plan web page, wherein the method comprises the following steps: after a web page generation request of a user is received, determining a candidate web page template by combining with an event type of an emergency, providing a blank web page template and the candidate web page template for the user, when the candidate web page template selected by the user is determined, displaying an original emergency plan of the candidate web page template, acquiring a first data material newly set for a second target element by the user, updating original content of the first target element according to the first data material, and when a confirmation instruction for generating the page is received, generating a target web page containing the emergency plan for the emergency according to the first data material of the first target element. Therefore, the efficiency of compiling the plan by the user is improved, and the user can conveniently and quickly generate the web page containing the corresponding emergency plan.

Description

Generation method and device of emergency plan web page
Technical Field
The application relates to the technical field of computers, in particular to a method and a device for generating an emergency plan web page.
Background
Currently, in the event of an emergency, the relevant department issues a web page containing an emergency plan for the emergency.
In the related art, a general process of generating a web page containing an emergency plan is as follows: manually writing an emergency plan by a plan writer for an emergency, then combining the edited emergency plan design and generating a web page by a web page designer, and then publishing the web page containing the emergency plan. Therefore, it can be seen that, in the related art, a lot of personnel are required to generate the web page containing the emergency plan, and the required time is long, so that the efficiency is low, and further, the user cannot timely know the emergency plan web page related to the emergency. Therefore, how to provide a web page for quickly generating an emergency plan is a problem which needs to be solved urgently at present.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
To this end, a first object of the present application is to provide a method for generating an emergency plan web page.
A second object of the present application is to provide an emergency plan web page generation apparatus.
A third object of the present application is to provide an electronic device.
A fourth object of the present application is to propose a computer readable storage medium.
To achieve the above object, an embodiment of a first aspect of the present application provides a method for generating an emergency plan web page, where the method includes: receiving a web page generation request sent by a user, wherein the web page generation request comprises an event type of an emergency; acquiring a candidate web page template according to the event type; providing a blank web page template and a candidate web page template; upon determining that the user selects the candidate web page template, presenting an original contingency plan for the candidate web page template, wherein the original contingency plan includes original content of a first target element; acquiring a first data material newly set for the second target element by the user, wherein the first data material is required for generating the emergency plan; updating original content of the first target element according to the first data material, and generating a target web page according to the first data material of the first target element when a confirmation instruction for generating the page is received, wherein the target web page comprises an emergency plan of the emergency.
According to the method for generating the emergency plan web page, after a web page generation request of a user is received, a candidate web page template is determined according to an event type of an emergency, a blank web page template and a candidate web page template are provided for the user, when the candidate web page template is determined to be selected by the user, an original emergency plan of the candidate web page template is displayed, a first data material newly set for a second target element by the user is obtained, original content of the first target element is updated according to the first data material, and when a confirmation instruction for generating the web page is received, a target web page containing the emergency plan aiming at the emergency plan of the emergency is generated according to the first data material of the first target element. Therefore, the time for the user to compile the plan and generate the web page is saved, the efficiency for the user to compile the plan is improved, the user can quickly generate the web page containing the corresponding emergency plan according to the event type of the emergency event, the efficiency for generating the web page containing the corresponding emergency plan is improved, and the experience degree for the user to generate the web page containing the corresponding emergency plan is improved.
Further, the method further comprises: when the blank web page template is determined to be selected by the user, the blank web page template is displayed to the user, wherein the blank web page template comprises a pre-arranged planning interface area and an element selection area, and the element selection area comprises a plurality of elements to be selected; acquiring a second target element selected by the user from the multiple elements to be selected, and adding the second target element to the plan editing interface area; acquiring a second data material set by the user for the second target element, wherein the second data material is required for generating the emergency plan; and when an editing completion instruction is received, generating the target web page according to the second data material set for the second target element by the user and the position information of the second target element in the area of the pre-arranged editing interface.
Further, the candidate element is determined by: and selecting the element matched with the event type from the preset element library, and taking the matched element as the element to be selected.
Further, the method further comprises: receiving a user-defined element instruction input by the user on the first blank page template; providing a user-defined element editing interface for the user according to the user-defined element instruction; determining attribute information and style information of a custom element according to the editing operation of the user on the custom element editing interface; generating the custom element according to the attribute information and the style information; adding the custom element into the plan editing interface area; acquiring a third data material set by the user for the user-defined element, wherein the third data material is required for generating the emergency plan; the generating the target web page according to the second data material set by the user for the second target element and the position information of the second target element in the pre-arranged editing interface area includes: and generating the target web page according to the second data material, the third data material, the position information of the second target element in the area of the pre-arranged editing interface and the position information of the user-defined element in the area of the pre-arranged editing interface.
Further, after the generating the custom element according to the attribute information and the style information, the method further includes: and saving the attribute information and the style information of the custom element into an element library.
In order to achieve the above object, an embodiment of a second aspect of the present application provides an apparatus for generating an emergency plan web page, where the apparatus includes: the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a web page emergency plan generating request sent by a user, and the web page generating request comprises an event type of an emergency event; the first acquisition module is used for acquiring a candidate web page template according to the event type; the system comprises a first providing module, a second providing module and a third providing module, wherein the first providing module is used for providing a blank web page template and a candidate web page template; a first presentation module, configured to present an original emergency plan of the candidate web page template upon determining that the user selects the candidate web page template, where the original emergency plan includes original content of a first target element; a second obtaining module, configured to obtain a first data material newly set by the user for the second target element, where the first data material is a data material required for generating the emergency plan; the first processing module is configured to update original content of the first target element according to the first data material, and generate a target web page according to the first data material of the first target element when a confirmation instruction for generating a page is received, where the target web page includes an emergency plan of the emergency event.
Further, the apparatus further comprises: the second display module is used for displaying the blank web page template to the user when the blank web page template selected by the user is determined, wherein the blank web page template comprises a pre-arranged planning interface area and an element selection area, and the element selection area comprises a plurality of elements to be selected; a third obtaining module, configured to obtain a second target element selected by the user from the multiple elements to be selected, and add the second target element to the plan editing interface area; a fourth obtaining module, configured to obtain a second data material set by the user for the second target element, where the second data material is a data material required for generating the emergency plan; and the second processing module is used for generating the target web page according to the second data material set for the second target element by the user and the position information of the second target element in the area of the planned editing interface when an editing completion instruction is received.
Further, the candidate element is determined by: and selecting the element matched with the event type from the preset element library, and taking the matched element as the element to be selected.
Further, the apparatus further comprises: the second receiving module is used for receiving a user-defined element instruction input by the user on the first blank page template; the second providing module is used for providing a user-defined element editing interface for the user according to the user-defined element instruction; the determining module is used for determining the attribute information and the style information of the custom element according to the editing operation of the user on the custom element editing interface; the generating module is used for generating the custom element according to the attribute information and the style information; the adding module is used for adding the custom element into the plan editing interface area; a fifth obtaining module, configured to obtain a third data material set by the user for the user-defined element, where the third data material is a data material required for generating the emergency plan; the second processing module is specifically configured to: and generating the target web page according to the second data material, the third data material, the position information of the second target element in the area of the pre-arranged editing interface and the position information of the user-defined element in the area of the pre-arranged editing interface.
Further, the apparatus further comprises: and the storage module is used for storing the attribute information and the style information of the custom element into an element library after the generation module generates the custom element according to the attribute information and the style information.
According to the generation device of the emergency plan web page, after a web page generation request of a user is received, a candidate web page template is determined according to an event type of an emergency, a blank web page template and a candidate web page template are provided for the user, when the candidate web page template is determined to be selected by the user, an original emergency plan of the candidate web page template is displayed, a first data material newly set for a second target element by the user is obtained, original content of the first target element is updated according to the first data material, and when a confirmation instruction for generating the web page is received, a target web page containing the emergency plan aiming at the emergency plan of the emergency is generated according to the first data material of the first target element. Therefore, the time for the user to compile the plan and generate the web page is saved, the efficiency for the user to compile the plan is improved, the user can quickly generate the web page containing the corresponding emergency plan according to the event type of the emergency event, the efficiency for generating the web page containing the corresponding emergency plan is improved, and the experience degree for the user to generate the web page containing the corresponding emergency plan is improved.
To achieve the above object, an embodiment of a third aspect of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor, when executing the program, implements the method for generating an emergency plan web page as described above.
In order to achieve the above object, a fourth aspect of the present application provides a computer-readable storage medium, where instructions of the storage medium, when executed by a processor, implement the method for generating an emergency plan web page as described above.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a method for generating an emergency plan web page according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another emergency plan web page generation method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another emergency plan web page generation method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another emergency plan web page generation method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an emergency plan web page generation apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another emergency plan web page generation apparatus provided in the embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The method and the device for generating the emergency plan web page according to the embodiment of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a method for generating an emergency plan web page according to an embodiment of the present application. It should be noted that an execution subject of the generation method of the emergency plan web page of this embodiment is a generation apparatus of the emergency plan web page, and the apparatus may be configured in an electronic device, and the electronic device may include, but is not limited to, a terminal device, a server, and other hardware devices. It should be noted that, in this embodiment, a generation device of an emergency plan web page is configured in a server as an example for description.
As shown in fig. 1, the method for generating the emergency plan web page may include:
step 101, receiving a web page generation request sent by a user, wherein the web page generation request comprises an event type of an emergency.
And 102, acquiring a candidate web page template according to the event type.
Specifically, after the server obtains a web page generation request sent by the user through the terminal, the server may determine an event type of the emergency event according to the web page generation request, obtain a web page template of the event type according to a correspondence between the event type and the web page template stored in advance, and use the obtained web page template as a candidate web page template.
Step 103, providing a blank web page template and a candidate web page template.
It can be understood that the candidate web page template in this embodiment is constructed based on the following specific process; obtaining elements required by constructing a candidate web page template, judging whether corresponding elements exist or not, if so, compiling the candidate web page template through dragging, if not, constructing the required elements, loading the constructed elements into a system, and generating the candidate web page template according to the constructed elements.
It can be understood that the elements in the present embodiment are page building elements required for building a web page, and the page building elements are draggable. In this embodiment, the page construction element is obtained by:
(1) and packaging the basic control element of the html standard to form a draggable page construction element.
(2) And combining the basic html elements into a high-level element plug-in, and generating a draggable page construction element according to the combined element plug-in.
And 104, when the candidate web page template is determined to be selected by the user, displaying an original emergency plan of the candidate web page template, wherein the original emergency plan comprises original content of the first target element.
In this embodiment, a blank web page template option and a candidate web page template option may be provided on the user interface, and if the user clicks the candidate web page template option, a candidate web page template corresponding to the candidate web page template option clicked by the user is obtained, and it is determined that the user selects the selected web page template.
And 105, acquiring a first data material newly set for the second target element by the user, wherein the first data material is required for generating the emergency plan.
And the first data material and the target element have a corresponding relation.
And 106, updating the original content of the first target element according to the first data material, and generating a target web page according to the first data material of the first target element when a confirmation instruction for generating the page is received, wherein the target web page comprises an emergency plan of the emergency.
That is to say, in this embodiment, after determining that the user selects the candidate web page template, the template content in the candidate web page template may be loaded, and at this time, the data in the template, including address book data, rescue team data, resource data, local risk condition data, and the like, may be updated intelligently according to the features (plan applicable area, plan specific event type, plan tag) of the plan that needs to be compiled, thereby completing the automatic update of the plan content.
In this embodiment, after acquiring the first data material newly set by the user for the second target element, if the user confirms that the updated content meets the requirement of the current programming plan, at this time, the user may input a confirmation instruction for generating a page, and correspondingly, the server generates a target web page including an emergency plan for the emergency event according to the first data material of the first target element in the candidate web page template and the position information of the first target element in the candidate web page template.
In addition, in this embodiment, when it is determined that the updated content does not meet the requirement of the current planning plan, in order to facilitate a user to adaptively adjust elements in the candidate web page template according to a requirement, an element selection area is further disposed on the candidate web page template, where the element selection area includes a plurality of elements to be selected. Correspondingly, when the user confirms that the updated content does not meet the requirements of the current programming plan, the user can adjust the attributes and styles of the existing elements in the candidate web page template according to the requirements, or the user can select a target element from a plurality of elements to be selected according to the requirements and add the target element to the candidate web page template.
Correspondingly, after the target element is added to the candidate web page template, the user can also determine the position of the target element in the candidate web page template through a dragging operation, and the user can also set a corresponding data material for the target element, at this time, if the edited candidate web page template meets the requirement of the current plan, the user can trigger a confirmation instruction of generating a page by triggering a page generation button in the candidate web page template. Correspondingly, a web page containing an emergency plan for the emergency event can be generated according to all elements in the edited web page template and the data materials of the corresponding elements.
In this embodiment, in order to enable the user to quickly complete the web page of the emergency protocol, candidate elements may be predetermined in association with the event type of the emergency event.
According to the method for generating the emergency plan web page, after a web page generation request of a user is received, a candidate web page template is determined according to an event type of an emergency, a blank web page template and a candidate web page template are provided for the user, when the candidate web page template is determined to be selected by the user, an original emergency plan of the candidate web page template is displayed, a first data material newly set for a second target element by the user is obtained, original content of the first target element is updated according to the first data material, and when a confirmation instruction for generating the web page is received, a target web page containing the emergency plan aiming at the emergency plan is generated according to the first data material of the first target element. Therefore, the time for the user to compile the plan and generate the web page is saved, the efficiency for the user to compile the plan is improved, the user can quickly generate the web page containing the corresponding emergency plan according to the event type of the emergency event, the efficiency for generating the web page containing the corresponding emergency plan is improved, and the experience degree for the user to generate the web page containing the corresponding emergency plan is improved.
Fig. 2 is a diagram for further refining and expanding the generation method of the emergency plan web page of the embodiment.
Fig. 2 is a schematic flow chart of another emergency plan web page generation method according to an embodiment of the present application.
Step 201, receiving a web page generation request sent by a user, wherein the web page generation request includes an event type of an emergency.
Step 202, obtaining a candidate web page template according to the event type.
Step 203, a blank web page template and a candidate web page template are provided.
And 204, when the blank web page template selected by the user is determined, displaying the blank web page template to the user, wherein the blank web page template comprises a pre-arranged planning interface area and an element selection area, and the element selection area comprises a plurality of elements to be selected.
In this embodiment, in order to facilitate a user to quickly complete editing of a web page according to the provided candidate elements, as an example, the candidate elements are determined by: and selecting the element matched with the event type from a preset element library, and taking the matched element as a candidate element.
The preset element library stores elements required for generating web pages of various types of emergencies.
Step 205, acquiring a second target element selected by the user from the multiple elements to be selected, and adding the second target element to the plan editing interface area.
In this embodiment, the user may add the second target element to the plan editing interface area by dragging the desired second target element, or may directly add the second target element clicked by the user to the plan editing interface area when the user clicks the desired second target element.
And step 206, acquiring a second data material set by the user for the second target element, wherein the second data material is required for generating an emergency plan.
And step 207, when the editing completion instruction is received, generating a target web page according to the second data material set for the second target element by the user and the position information of the second target element in the area of the pre-arranged editing interface.
It is to be appreciated that after the corresponding second target element is added to the plan editing interface area, the user may adjust the position of the corresponding second target element in the plan editing interface area by dragging.
According to the method for generating the emergency plan web page, after the web page generation request of the user is received, determining a candidate web page template in connection with an event type of the incident, and providing the blank web page template and the candidate web page template to the user, when the blank page template selected by the user is determined, showing the plan compiling interface area and the element selection area to the user, acquiring a second target element selected by the user from a plurality of elements to be selected, adding the second target element to the plan compiling interface area, and acquiring a second data material which is set by the user for the second target element and is required for generating the emergency plan, and when receiving an editing completion instruction, and generating a target web page containing the emergency plan for the emergency event according to the second data material set for the second target element by the user and the position information of the second target element in the plan editing interface area. Therefore, the time for the user to compile the plan and generate the web page is saved, the efficiency for the user to compile the plan is improved, the user can quickly generate the web page containing the corresponding emergency plan according to the event type of the emergency event, the efficiency for generating the web page containing the corresponding emergency plan is improved, and the experience degree for the user to generate the web page containing the corresponding emergency plan is improved.
Based on the embodiment, in order to meet the requirement of the user for individually setting the elements in the web page, the required elements are customized by combining the user-defined operation of the user, so that the more powerful and flexible expansibility is realized, and the arranging scene requirements of various structured plans of the user are met. The method for generating the emergency plan web page of the present application is described below with reference to fig. 3.
Fig. 3 is a schematic flow chart of a method for generating an emergency plan web page according to an embodiment of the present application.
Step 301, receiving a web page generation request sent by a user, wherein the web page generation request includes an event type of an emergency.
Step 302, obtaining a candidate web page template according to the event type.
Step 303, providing a blank web page template and a candidate web page template.
And 304, when the blank web page template selected by the user is determined, displaying the blank web page template to the user, wherein the blank web page template comprises a pre-arranged planning interface area and an element selection area, and the element selection area comprises a plurality of elements to be selected.
And 305, acquiring a second target element selected by the user from the multiple elements to be selected, and adding the second target element to the plan editing interface area.
Step 306, acquiring a second data material set by the user for the second target element, wherein the second data material is a data material required for generating an emergency plan.
Step 307, receiving a user-defined element command input by a user on the first blank page template.
And 308, providing a custom element editing interface for the user according to the custom element instruction.
And 309, determining the attribute information and the style information of the custom element according to the editing operation of the user on the custom element editing interface.
And 310, generating a custom element according to the attribute information and the style information.
In this embodiment, in order to facilitate the user to use the custom element subsequently, the attribute information and the style information of the custom element are stored in the element library, so that the user can use the custom element again subsequently.
Step 311, add the custom element to the plan editing interface area.
And step 312, acquiring a third data material set by the user for the user-defined element, wherein the third data material is a data material required for generating an emergency plan.
And 313, when the editing completion instruction is received, generating a target web page according to the second data material, the third data material, the position information of the second target element in the area of the planned editing interface and the position information of the user-defined element in the area of the planned editing interface.
In the embodiment, the second target element selected by the user from the multiple elements to be selected is combined, the user operates the customized element customized by the user through the customization and the data material required by each element to generate the emergency plan of the emergency, and the web page containing the emergency plan of the emergency is generated, so that the time required by the user to compile the plan and generate the web page is saved, the plan compiling efficiency of the user is improved, the user can conveniently and quickly generate the web page containing the corresponding emergency plan according to the event type of the emergency, the web page containing the corresponding emergency plan is generated while the web page containing the corresponding emergency plan is generated, and the generated web page can be conveniently and quickly released subsequently.
The generation method of the emergency plan web page of the present embodiment is further described below with reference to fig. 4.
Step 401, receiving a web page generation request sent by a user, wherein the web page generation request includes an event type of an emergency.
Step 402, obtaining a candidate web page template according to the event type.
In step 403, a blank web page template and a candidate web page template are provided.
Step 404, determining whether to select a candidate web page template, if so, performing step 405, otherwise, performing step 406.
And 405, editing the emergency plans corresponding to the event types based on the candidate web page templates.
In this embodiment, the specific implementation process of step 405 is as follows:
and 406, editing the emergency plan corresponding to the event type based on the blank web page template.
Step 407, determine whether the component needs to be customized, if yes, execute step 408, otherwise execute step 409.
And step 408, customizing the element, and adding the customized element into the element library.
The specific process of establishing the custom element comprises the following steps:
1) the interface required by the whole element layout comprises a control type, a control position and a whole interface structure;
2) setting a data source related to the control;
3) setting business association relations among the controls, namely binding relations among the controls;
4) setting the attributes of the elements, including element types, application ranges, labels and element application event types;
5) and finishing the self-defined element.
At step 409, the relevant components are automatically matched from the component library.
The specific implementation process of editing and obtaining the emergency plan corresponding to the event type based on the blank web page template is as follows:
1) and selecting a plan directory element, and automatically building a directory frame of the plan document. Thereby automatically finishing the compilation of the predetermined schema;
2) the required elements can be intelligently recommended according to the characteristics (the applicable area of the plan, the type of the plan for an event and the label of the plan) of the plan required to be compiled. The intelligent recommendation method is characterized in that the characteristics (element application range, element types, element labels and element application event types) of the elements are compared with the characteristics of a plan, and the elements with the highest conformity are recommended;
3) the required elements can be manually dragged to the compiling interface, or the required elements are selected through a mouse, so that the content of the elements can be automatically loaded to the pre-arranged compiling interface, and if the content of the elements meets the compiling requirement, the compiling of the corresponding chapters can be completed without any other operation of a user;
4) if all the elements can not meet the requirements of the planning of the content of the plan in the planning process, the elements enter an element library and new elements need to be customized, so that the same content can be conveniently planned later, and the elements can be selected quickly.
The specific implementation process of editing and obtaining the emergency plan corresponding to the event type based on the candidate web page template is as follows:
1) loading template content, intelligently updating data in the template according to the characteristics (a plan applicable area, a plan specific event type and a plan label) of a plan to be compiled, wherein the data comprises address book data, rescue team data, resource data, local risk condition data and the like, thereby completing automatic updating of the plan content;
2) if the updated content meets the requirements of the current planning plan, the automatic generation of the plan is finished;
3) if the updated content does not meet the requirements of the current planning plan, only manual adjustment or element selection by a user is needed for optimization;
4) and after the whole content of the plan is adjusted, the compilation of the whole content of the plan is completed.
Step 410, determining whether the planning content creation is completed, if not, executing step 407, and if so, executing step 411.
Step 411, generating a web page containing emergency plans for emergency according to all target elements in the candidate web page template, or generating a web page containing emergency plans for emergency according to all target elements in the plan programming interface area in the blank page.
Fig. 5 is a schematic structural diagram of a device for generating an emergency plan web page according to an embodiment of the present application.
As shown in fig. 5, the generation apparatus of the emergency plan web page includes a first receiving module 110, a first obtaining module 120, a first providing module 130, a first presenting module 140, a second obtaining module 150, and a first processing module 160, wherein:
the first receiving module 110 is configured to receive a web page emergency plan generating request sent by a user, where the web page generating request includes an event type of an emergency event.
The first obtaining module 120 is configured to obtain a candidate web page template according to the event type.
A first providing module 130 for providing a blank web page template and a candidate web page template.
A first presentation module 140, configured to present an original contingency plan for the candidate web page template upon determining that the user selected the candidate web page template, wherein the original contingency plan includes original content of the first target element.
The second obtaining module 150 is configured to obtain a first data material newly set by the user for the second target element, where the first data material is a data material required for generating an emergency plan.
The first processing module 160 is configured to update the original content of the first target element according to the first data material, and generate a target web page according to the first data material of the first target element when a confirmation instruction for generating the page is received, where the target web page includes an emergency plan of an emergency.
Based on the foregoing embodiment, in order to facilitate the user to set a web page individually through a blank web page template, on the basis of the embodiment of the apparatus shown in fig. 5, as shown in fig. 6, the apparatus further includes:
the second presentation module 170 is configured to, when it is determined that the user selects a blank web page template, present the blank web page template to the user, where the blank web page template includes a planning interface area and an element selection area, and the element selection area includes a plurality of elements to be selected.
The third obtaining module 180 is configured to obtain a second target element selected by the user from the multiple candidate elements, and add the second target element to the plan editing interface area.
The fourth obtaining module 190 is configured to obtain a second data material set by the user for the second target element, where the second data material is a data material required for generating an emergency plan.
And the second processing module 200 is configured to, when receiving the edit completion instruction, generate a target web page according to the second data material set for the second target element by the user and the position information of the second target element in the area of the planned editing interface.
In one embodiment of the present application, in order to facilitate a user to quickly obtain and edit elements required by a corresponding web page, the elements to be selected are determined by: and selecting the element matched with the event type from a preset element library, and taking the matched element as a candidate element.
In one embodiment of the present application, in order to meet the requirement of the elements required by the user to personalize the web page, as shown in fig. 6, the apparatus further includes:
and a second receiving module 210, configured to receive a user-defined element instruction input on the first blank page template by a user.
And a second providing module 220, configured to provide a custom element editing interface for the user according to the custom element instruction.
The determining module 230 is configured to determine the attribute information and the style information of the custom element according to the editing operation of the user on the custom element editing interface.
And a generating module 240, configured to generate a custom element according to the attribute information and the style information.
And an adding module 250, configured to add the custom element to the plan editing interface area.
And a fifth obtaining module 260, configured to obtain a third data material set by the user for the user-defined element, where the third data material is a data material required for generating an emergency plan.
In an embodiment of the present application, the second processing module 200 is specifically configured to: and generating a target web page according to the second data material, the third data material, the position information of the second target element in the area of the pre-designed editing interface and the position information of the user-defined element in the area of the pre-designed editing interface.
In one embodiment of the present application, in order to facilitate the user to use the customized element again, as shown in fig. 6, the apparatus further comprises:
and the storage module 270 is configured to, after the generation module generates the custom element according to the attribute information and the style information, store the attribute information and the style information of the custom element in the element library.
It should be noted that the explanation of the embodiment of the generation method for an emergency plan web page is also applicable to the generation device for an emergency plan web page of the embodiment, and details are not repeated here.
According to the generation device of the emergency plan web page, after a web page generation request of a user is received, a candidate web page template is determined according to an event type of an emergency, a blank web page template and a candidate web page template are provided for the user, when the candidate web page template is determined to be selected by the user, an original emergency plan of the candidate web page template is displayed, a first data material newly set for a second target element by the user is obtained, original content of the first target element is updated according to the first data material, and when a confirmation instruction for generating the web page is received, a target web page containing the emergency plan aiming at the emergency plan of the emergency is generated according to the first data material of the first target element. Therefore, the time for the user to compile the plan and generate the web page is saved, the efficiency for the user to compile the plan is improved, the user can quickly generate the web page containing the corresponding emergency plan according to the event type of the emergency event, the efficiency for generating the web page containing the corresponding emergency plan is improved, and the experience degree for the user to generate the web page containing the corresponding emergency plan is improved.
Fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the present application. The electronic device includes:
memory 1001, processor 1002, and computer programs stored on memory 1001 and executable on processor 1002.
The processor 1002, when executing the program, implements the method for generating the emergency plan web page provided in the above-described embodiment.
Further, the electronic device further includes:
a communication interface 1003 for communicating between the memory 1001 and the processor 1002.
A memory 1001 for storing computer programs that may be run on the processor 1002.
Memory 1001 may include high-speed RAM memory and may also include non-volatile memory (e.g., at least one disk memory).
The processor 1002 is configured to implement the generation method of the emergency plan web page according to the above embodiment when executing the program.
If the memory 1001, the processor 1002, and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001, and the processor 1002 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 1001, the processor 1002, and the communication interface 1003 are integrated on one chip, the memory 1001, the processor 1002, and the communication interface 1003 may complete communication with each other through an internal interface.
The processor 1002 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.
The present embodiment also provides a computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method for generating an emergency plan web page as above.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A generation method of an emergency plan web page is characterized by comprising the following steps:
receiving a web page generation request sent by a user, wherein the web page generation request comprises an event type of an emergency;
acquiring a candidate web page template according to the event type;
providing a blank web page template and a candidate web page template;
upon determining that the user selects the candidate web page template, presenting an original contingency plan for the candidate web page template, wherein the original contingency plan includes original content of a first target element;
acquiring a first data material newly set for the first target element by the user, wherein the first data material is required for generating the emergency plan;
updating original content of the first target element according to the first data material, and generating a target web page according to the first data material of the first target element when a confirmation instruction for generating a page is received, wherein the target web page comprises an emergency plan of the emergency event, and the method further comprises:
when the blank web page template is determined to be selected by the user, the blank web page template is displayed to the user, wherein the blank web page template comprises a pre-arranged planning interface area and an element selection area, and the element selection area comprises a plurality of elements to be selected;
acquiring a second target element selected by the user from the multiple elements to be selected, and adding the second target element to the plan editing interface area;
acquiring a second data material set by the user for the second target element, wherein the second data material is required for generating the emergency plan;
and when an editing completion instruction is received, generating the target web page according to the second data material set for the second target element by the user and the position information of the second target element in the area of the pre-arranged editing interface.
2. The method of claim 1, wherein the candidate elements are determined by:
and selecting the element matched with the event type from a preset element library, and taking the matched element as the element to be selected.
3. The method of claim 1, wherein the method further comprises:
receiving a user-defined element instruction input by the user on a first blank page template;
providing a user-defined element editing interface for the user according to the user-defined element instruction;
determining attribute information and style information of a custom element according to the editing operation of the user on the custom element editing interface;
generating the custom element according to the attribute information and the style information;
adding the custom element into the plan editing interface area;
acquiring a third data material set by the user for the user-defined element, wherein the third data material is required for generating the emergency plan;
the generating the target web page according to the second data material set by the user for the second target element and the position information of the second target element in the pre-arranged editing interface area includes:
and generating the target web page according to the second data material, the third data material, the position information of the second target element in the area of the pre-arranged editing interface and the position information of the user-defined element in the area of the pre-arranged editing interface.
4. The method of claim 3, wherein after the generating the custom element from the attribute information and the style information, the method further comprises:
and saving the attribute information and the style information of the custom element into an element library.
5. A generation apparatus for generating an emergency response plan web page, comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a web page emergency plan generating request sent by a user, and the web page generating request comprises an event type of an emergency event;
the first acquisition module is used for acquiring a candidate web page template according to the event type;
the system comprises a first providing module, a second providing module and a third providing module, wherein the first providing module is used for providing a blank web page template and a candidate web page template;
a first presentation module, configured to present an original emergency plan of the candidate web page template upon determining that the user selects the candidate web page template, where the original emergency plan includes original content of a first target element;
a second obtaining module, configured to obtain a first data material newly set by the user for the first target element, where the first data material is a data material required for generating the emergency plan;
a first processing module, configured to update original content of the first target element according to the first data material, and generate a target web page according to the first data material of the first target element when a confirmation instruction for generating a page is received, where the target web page includes an emergency plan of the emergency event, and the apparatus further includes:
the second display module is used for displaying the blank web page template to the user when the blank web page template selected by the user is determined, wherein the blank web page template comprises a pre-arranged planning interface area and an element selection area, and the element selection area comprises a plurality of elements to be selected;
a third obtaining module, configured to obtain a second target element selected by the user from the multiple elements to be selected, and add the second target element to the plan editing interface area;
a fourth obtaining module, configured to obtain a second data material set by the user for the second target element, where the second data material is a data material required for generating the emergency plan;
and the second processing module is used for generating the target web page according to the second data material set for the second target element by the user and the position information of the second target element in the area of the planned editing interface when an editing completion instruction is received.
6. The apparatus of claim 5, wherein the candidate element is determined by:
and selecting the element matched with the event type from a preset element library, and taking the matched element as the element to be selected.
7. The apparatus of claim 5, wherein the apparatus further comprises:
the second receiving module is used for receiving a user-defined element instruction input by the user on the first blank page template;
the second providing module is used for providing a user-defined element editing interface for the user according to the user-defined element instruction;
the determining module is used for determining the attribute information and the style information of the custom element according to the editing operation of the user on the custom element editing interface;
the generating module is used for generating the custom element according to the attribute information and the style information;
the adding module is used for adding the custom element into the plan editing interface area;
a fifth obtaining module, configured to obtain a third data material set by the user for the user-defined element, where the third data material is a data material required for generating the emergency plan;
the second processing module is specifically configured to:
and generating the target web page according to the second data material, the third data material, the position information of the second target element in the area of the pre-arranged editing interface and the position information of the user-defined element in the area of the pre-arranged editing interface.
8. The apparatus of claim 7, wherein the apparatus further comprises:
and the storage module is used for storing the attribute information and the style information of the custom element into an element library after the generation module generates the custom element according to the attribute information and the style information.
9. An electronic device, comprising:
memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the program, implements the method of generating an emergency protocol web page according to any of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method for generating an emergency response protocol web page according to any one of claims 1 to 4.
CN201911417942.9A 2019-12-31 2019-12-31 Generation method and device of emergency plan web page Active CN111176646B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911417942.9A CN111176646B (en) 2019-12-31 2019-12-31 Generation method and device of emergency plan web page
PCT/CN2020/141789 WO2021136451A1 (en) 2019-12-31 2020-12-30 Method and device for generating emergency plan web page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911417942.9A CN111176646B (en) 2019-12-31 2019-12-31 Generation method and device of emergency plan web page

Publications (2)

Publication Number Publication Date
CN111176646A CN111176646A (en) 2020-05-19
CN111176646B true CN111176646B (en) 2021-05-25

Family

ID=70647398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911417942.9A Active CN111176646B (en) 2019-12-31 2019-12-31 Generation method and device of emergency plan web page

Country Status (2)

Country Link
CN (1) CN111176646B (en)
WO (1) WO2021136451A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176646B (en) * 2019-12-31 2021-05-25 清华大学 Generation method and device of emergency plan web page
CN112214708A (en) * 2020-10-21 2021-01-12 北京五八信息技术有限公司 Page generation method and device, electronic equipment and computer readable medium
CN113204690B (en) * 2021-05-28 2023-09-26 抖音视界有限公司 Information display method and device and computer storage medium
CN113792286A (en) * 2021-09-07 2021-12-14 未鲲(上海)科技服务有限公司 Password updating method, device, equipment and storage medium
CN114091422A (en) * 2021-11-11 2022-02-25 中国建设银行股份有限公司 Display page generation method, device, equipment and medium for exhibition
CN117056745A (en) * 2023-10-10 2023-11-14 佳都科技集团股份有限公司 Emergency response auxiliary method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101311925A (en) * 2007-05-23 2008-11-26 杭州华三通信技术有限公司 Web page development and maintenance method and its device
CN102184217A (en) * 2011-05-04 2011-09-14 西安电子科技大学 Emergency plan generating system and method
CN102509164A (en) * 2011-11-24 2012-06-20 广州市地下铁道总公司 Automatic generation method for digital emergency plan

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100023484A1 (en) * 2008-07-24 2010-01-28 Russell Todd Zink System and method for generating personalized emergency plans
CN101359347A (en) * 2008-10-07 2009-02-04 北京交通大学 Railway emergency plan modelling approach based on stochastic Petri net
CN101840439A (en) * 2010-05-25 2010-09-22 天津大学 Emergency situation recommending method based on emergency incident and emergency response plan
CN106844514B (en) * 2016-12-28 2020-02-21 平安科技(深圳)有限公司 Page construction method and terminal
CN111176646B (en) * 2019-12-31 2021-05-25 清华大学 Generation method and device of emergency plan web page

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101311925A (en) * 2007-05-23 2008-11-26 杭州华三通信技术有限公司 Web page development and maintenance method and its device
CN102184217A (en) * 2011-05-04 2011-09-14 西安电子科技大学 Emergency plan generating system and method
CN102509164A (en) * 2011-11-24 2012-06-20 广州市地下铁道总公司 Automatic generation method for digital emergency plan

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"数字化应急预案知识模板存储的设计与实现";黄卫东等;《计算机技术与发展》;20130528(第4期);第115-118页 *

Also Published As

Publication number Publication date
WO2021136451A1 (en) 2021-07-08
CN111176646A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN111176646B (en) Generation method and device of emergency plan web page
CN110286896B (en) Visual editing method, device, equipment and storage medium
US20210034336A1 (en) Executing a process-based software application in a first computing environment and a second computing environment
US8638333B2 (en) Modifying and formatting a chart using pictorially provided chart elements
CN109446218A (en) SQL statement generation method, device and computer readable storage medium
US8572548B2 (en) Integrated design application
US20210132780A1 (en) Apparatus and method for providing screen setting data of plurality of devices
US20050015730A1 (en) Systems, methods and computer program products for identifying tab order sequence of graphically represented elements
JP5202638B2 (en) Intelligent editing of relational models
US7899846B2 (en) Declarative model editor generation
CN112666927A (en) Upgrading method and upgrading system for vehicle Electronic Control Unit (ECU)
CN111666740A (en) Flow chart generation method and device, computer equipment and storage medium
CN110276039B (en) Page element path generation method and device and electronic equipment
US9135234B1 (en) Collaborative generation of digital content with interactive reports
US20050076330A1 (en) Browser-based editor for dynamically generated data
CN101821730A (en) Defining interactive user interface
CN111274302A (en) Editing method and system of webpage chart component, electronic equipment and storage medium
US20080040677A1 (en) HMI Development Support Apparatus, HMI Development Support Method and HMI Development Support Program
CN107562710B (en) Chart processing device and method
CN107220044B (en) Method and device for driving business object based on meta-model
US9244651B2 (en) Document revision control
CN115993971A (en) Active page generation method, computing device and computer storage medium
US20050033764A1 (en) Interactive editor for data driven systems
CN113535162A (en) Front-end interface configuration method, display method and device
EP3454207B1 (en) Dynamic preview generation in a product lifecycle management environment

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Chen Jianguo

Inventor after: And navigation

Inventor after: Liu Bilong

Inventor after: Wei Zheng

Inventor after: Gao Qiang

Inventor after: Chen Tao

Inventor after: Su Guofeng

Inventor after: Sun Zhanhui

Inventor after: Yuan Hongyong

Inventor after: Liu Ran

Inventor after: Yang Chuanjie

Inventor after: Zhang Fengxiang

Inventor before: Chen Jianguo

Inventor before: And navigation

Inventor before: Liu Bilong

Inventor before: Wei Zheng

Inventor before: Gao Qiang

Inventor before: Chen Tao

Inventor before: Su Guofeng

Inventor before: Sun Zhanhui

Inventor before: Yuan Hongyong

Inventor before: Liu Ran

Inventor before: Yang Chuanjie

Inventor before: Zhang Fengxiang

GR01 Patent grant
GR01 Patent grant