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.
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.