CN112905388A - Page configuration information processing method and device - Google Patents

Page configuration information processing method and device Download PDF

Info

Publication number
CN112905388A
CN112905388A CN202110274751.2A CN202110274751A CN112905388A CN 112905388 A CN112905388 A CN 112905388A CN 202110274751 A CN202110274751 A CN 202110274751A CN 112905388 A CN112905388 A CN 112905388A
Authority
CN
China
Prior art keywords
page
configuration information
information
configuration
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110274751.2A
Other languages
Chinese (zh)
Other versions
CN112905388B (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN202110274751.2A priority Critical patent/CN112905388B/en
Publication of CN112905388A publication Critical patent/CN112905388A/en
Application granted granted Critical
Publication of CN112905388B publication Critical patent/CN112905388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/80Database-specific techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure relates to a page configuration information processing method and device, electronic equipment and a computer readable medium. The method comprises the following steps: acquiring a modification command of page configuration information, wherein the modification command comprises a deletion command; acquiring a page name, a page identifier, grid title line information and page configuration information to be processed based on the modification command; retrieving in a pre-stored configuration recovery file based on the page identifier; and when the configuration recovery file comprises the page identifier, inserting the page configuration information, the page name and the grid title line information into a list corresponding to the page identifier of the configuration recovery file. The page configuration information processing method, the page configuration information processing device, the electronic equipment and the computer readable medium can restore part or all of page configuration data in a user-defined mode, are simpler and more convenient to operate and improve the working efficiency of a user.

Description

Page configuration information processing method and device
Technical Field
The present disclosure relates to the field of computer information processing, and in particular, to a method and an apparatus for processing page configuration information, an electronic device, and a computer-readable medium.
Background
With the development of internet applications, the number of applications on network security devices is increased, the number of corresponding configurations on a single page is increased, sometimes the configuration information of a single page reaches tens of thousands of pieces of data, and the configuration of the data also needs to refer to information on other pages, so the configuration information is complicated and needs to be carefully operated, and in this case, if a user deletes a certain piece of data by mistake, the probability of equipment failure is increased.
In the prior art, only the recovery of the page configuration information can be performed in batch, that is, the configuration information on the same page is recovered uniformly. When the user wants to restore only one piece of configuration information on the page, the user needs to be familiar with the configuration information on the page to reconfigure the data, and the correctness of the configuration may need to be repeatedly confirmed by checking one piece of configuration information.
Therefore, a new page configuration information processing method, device, electronic device and computer readable medium are needed.
The above information disclosed in this background section is only for enhancement of understanding of the background of the disclosure and therefore it may contain information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of this, the present disclosure provides a method and an apparatus for processing page configuration information, an electronic device, and a computer readable medium, which can recover part or all of page configuration data in a user-defined manner, and are simpler and more convenient to operate, thereby improving the working efficiency of a user.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the present disclosure, a method for processing page configuration information is provided, where the method includes: acquiring a modification command of page configuration information, wherein the modification command comprises a deletion command; acquiring a page name, a page identifier, grid title line information and page configuration information to be processed based on the modification command; retrieving in a pre-stored configuration recovery file based on the page identifier; and when the configuration recovery file comprises the page identifier, inserting the page configuration information, the page name and the grid title line information into a list corresponding to the page identifier of the configuration recovery file.
In an exemplary embodiment of the present disclosure, further comprising: when the configuration recycle file does not exist, creating the configuration recycle file.
In an exemplary embodiment of the present disclosure, further comprising: when the configuration recovery file does not contain the page identifier, acquiring database information of the page configuration information; creating a new list in the configuration recovery file based on the page identifier; and inserting the page configuration information, the page name, the grid title line information and the database information into a list corresponding to the page identifier of the configuration recovery file.
In an exemplary embodiment of the present disclosure, the obtaining of the modification command of the page configuration information includes: and the background server acquires a modification command of the page configuration information generated by the browser.
In an exemplary embodiment of the present disclosure, further comprising: and after the page configuration information is inserted into the configuration recovery file, executing the modification command in a database to delete the page configuration information.
In an exemplary embodiment of the present disclosure, further comprising: receiving a viewing command of page configuration information, wherein the viewing command comprises a page identifier; retrieving in the configuration recovery file based on the page identifier, and extracting a list corresponding to the page identifier; and taking the list as the return information of the viewing command and displaying the return information.
In an exemplary embodiment of the present disclosure, includes: receiving a recovery command of the page configuration information, wherein the recovery command comprises a page identifier and the page configuration information; determining database information based on the page identifier; comparing the primary key of the page configuration information in the database information with the primary key of the page configuration information in the recovery command; and restoring the page configuration information according to the comparison result.
In an exemplary embodiment of the present disclosure, the recovering of the page configuration information according to the comparison result includes: and when the primary key of the page configuration information in the database information is different from the primary key of the page configuration information in the recovery command, adding the page configuration information in the recovery command to the database information.
In an exemplary embodiment of the present disclosure, the recovering of the page configuration information according to the comparison result further includes: and after the configuration information in the recovery command is added to the database information, deleting the corresponding page configuration information in the configuration file.
In an exemplary embodiment of the present disclosure, the recovering of the page configuration information according to the comparison result includes: and when the primary key of the page configuration information in the database information is the same as the primary key of the page configuration information in the recovery command, generating prompt information for the user to reselect.
According to an aspect of the present disclosure, a page configuration information processing apparatus is provided, the apparatus including: the modification module is used for acquiring modification commands of the page configuration information, and the modification commands comprise deletion commands; the information module is used for acquiring a page name, a page identifier, grid title line information and page configuration information to be processed based on the modification command; the retrieval module is used for retrieving in a pre-stored configuration recovery file based on the page identifier; and the inserting module is used for inserting the page configuration information, the page name and the grid title line information into a list corresponding to the page identifier of the configuration recovery file when the configuration recovery file contains the page identifier.
According to an aspect of the present disclosure, an electronic device is provided, the electronic device including: one or more processors; storage means for storing one or more programs; when executed by one or more processors, cause the one or more processors to implement a method as above.
According to an aspect of the disclosure, a computer-readable medium is proposed, on which a computer program is stored, which program, when being executed by a processor, carries out the method as above.
According to the page configuration information processing method, the page configuration information processing device, the electronic equipment and the computer readable medium, a modification command of the page configuration information is obtained, wherein the modification command comprises a deletion command; acquiring a page name, a page identifier, grid title line information and page configuration information to be processed based on the modification command; retrieving in a pre-stored configuration recovery file based on the page identifier; when the configuration recovery file contains the page identifier, the mode of inserting the page configuration information, the page name and the grid title line information into the list corresponding to the page identifier of the configuration recovery file can recover part or all of the page configuration data in a user-defined mode, the operation is simpler and more convenient, and the working efficiency of a user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. The drawings described below are merely some embodiments of the present disclosure, and other drawings may be derived from those drawings by those of ordinary skill in the art without inventive effort.
Fig. 1 is a system block diagram illustrating a method and apparatus for processing page configuration information according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a page configuration information processing method according to an exemplary embodiment.
Fig. 3 is a schematic diagram illustrating a page configuration information processing method according to another exemplary embodiment.
Fig. 4 is a flowchart illustrating a page configuration information processing method according to another exemplary embodiment.
Fig. 5 is a flowchart illustrating a page configuration information processing method according to another exemplary embodiment.
Fig. 6 is a block diagram illustrating a page configuration information processing apparatus according to an exemplary embodiment.
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 8 is a block diagram illustrating a computer-readable medium in accordance with an example embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one element from another. Thus, a first component discussed below may be termed a second component without departing from the teachings of the disclosed concept. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It is to be understood by those skilled in the art that the drawings are merely schematic representations of exemplary embodiments, and that the blocks or processes shown in the drawings are not necessarily required to practice the present disclosure and are, therefore, not intended to limit the scope of the present disclosure.
The technical abbreviations involved in this disclosure are explained as follows:
configuration rollback: the current configuration is rolled back to the configuration state in the specified configuration file.
Database primary key: often times, a database table will have one or a combination of columns whose value uniquely identifies each row in the table. Such one or more columns are referred to as the primary key of the table, by which the physical integrity of the table is enforced. The primary key may be created by defining PRIMARY KEY constraints when creating or modifying a table. A table can only have one PRIMARY KEY constraint, and columns in the PRIMARY KEY constraint cannot accept null values. Since the PRIMARY KEY constraint ensures unique data, it is often used to define an identification column.
The inventors of the present disclosure found that there are currently two schemes to restore the configuration:
(1) implementation through profile pages
When all the configurations of the network security equipment need to be saved, entering a configuration file page, newly building a configuration file so as to save the existing configurations, and clicking a save button to start saving all the page configuration information. After the current configuration is saved, an icon for exporting the configuration appears in the operation column, the configuration file can be exported to the current PC by clicking the export configuration, the configuration file can be imported if the current configuration needs to be restored subsequently, and the existing configuration can be restored to the configuration saved in the configuration file by clicking the switching configuration of the operation column.
(2) Implementing configuration rollback through command lines
Before the user modifies the configuration, the existing configuration is firstly saved, namely the configuration is saved by a command of 'configuration rollback save file name', then the user operates a page, and if the user wants to restore the configuration saved last time, the configuration before can be restored by the command of 'configuration rollback replace file name'.
Both the scheme (1) and the scheme (2) are batch recovery configuration, and the recovery configuration by the user according to the requirement cannot be realized. The user needs to save the existing configuration before deleting the configuration, but the user forgets to save the configuration, and the user cannot restore the previous configuration after deleting the data. Some users save the configuration in advance, but delete some data and make some modifications to the undeleted data, at this time, the user only wants to recover the deleted data and does not want to recover other data when recovering the configuration, and at this time, neither the scheme (1) nor the scheme (2) can meet the requirements.
Neither solution (1) nor solution (2) clearly allows the user to see the deleted information. Sometimes, the user needs to perform a secondary check on the deleted data to confirm whether the user has the mistakenly deleted data, but the scheme (1) and the scheme (2) cannot meet the requirement.
The problem that this disclosure is to solve is: in the case that the user deletes some configurations, the user can visually see which configurations the user deleted, including from which page, what the deleted configuration item information is, through the configuration recovery means, and can restore some configurations through the restore button.
The technical contents of the present disclosure are described in detail below with the aid of specific embodiments.
Fig. 1 is a system block diagram illustrating a page configuration information processing method, apparatus, electronic device and computer readable medium according to an example embodiment.
As shown in fig. 1, the system architecture 10 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a page configuration application, a web browser application, a search application, an instant messaging tool, a mailbox client, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server providing support for page configuration class applications browsed by users using the terminal devices 101, 102, 103. The background management server can analyze and process the received commands such as page configuration modification and the like, and returns the processed commands to the user information.
The server 105 may, for example, obtain a modification command of the page configuration information sent by the terminal devices 101, 102, 103, the modification command including a delete command; the server 105 may obtain, for example, a page name, a page identifier, grid title line information, and page configuration information to be processed based on the modification command; the server 105 may retrieve in a pre-stored configuration recycle file, e.g., based on the page identification; the server 105 may insert the page configuration information, the page name, and the grid title line information into a list corresponding to the page identifier of the configuration recycle file, for example, when the page identifier is included in the configuration recycle file.
The server 105 may further obtain database information of the page configuration information, for example, when the configuration recycle file does not include the page identifier; server 105 may also build a new list in the configuration recycle file, e.g., based on the page identification; server 105 may also insert the page configuration information and page name, grid title line information, database information, for example, into a list corresponding to the page identifier of the configuration recycle file.
The server 105 may be a single entity server, or may be composed of a plurality of servers, for example, it should be noted that the page configuration information processing method provided by the embodiment of the present disclosure may be executed by the server 105, and accordingly, the page configuration information processing apparatus may be disposed in the server 105. And the web page end provided for the user to modify the page configuration information is generally located in the terminal equipment 101, 102, 103.
Fig. 2 is a flowchart illustrating a page configuration information processing method according to an exemplary embodiment. The page configuration information processing method 20 includes at least steps S202 to S208.
As shown in fig. 2, in S202, a modification command of the page configuration information is acquired, where the modification command includes a deletion command. The background server may, for example, obtain a modification command for the page configuration information generated by the browser.
More specifically, when the user deletes configuration information of a certain page at the web page end, after the user clicks and submits at the web page end, the browser at the web page end may issue the page name, the page ID (identification), the grid title line information, and the deleted configuration information to the background server.
In S204, the page name, the page identifier, the grid title line information, and the to-be-processed page configuration information are obtained based on the modification command.
In S206, a search is performed in a pre-stored configuration recycle file based on the page identifier. When the configuration recycle file does not exist, creating the configuration recycle file. When there is no configuration file of "configuration recovery", the configuration file may be created first, and the background will look up the corresponding database file information and database table name information, and store them together with the received data information into the configuration file.
In S208, whether the configuration recycle file includes the page identifier is determined. When there is already a configuration file for "configuration recycle," it can be looked up in the configuration file if there is a page ID since each page ID is unique.
In S210, the page configuration information, the page name, and the grid title line information are inserted into the list corresponding to the page identifier of the configuration recycle file. And when the page ID is found, inserting the deleted configuration information into the information corresponding to the page ID.
In the profile diagram shown in fig. 3: "page _ ID" represents a page ID, "page _ name" represents a page name, "db _ info" represents database file information, and "db _ info _ list" represents corresponding database table name information, and deleted data is placed in "data".
In S212, the database information of the page configuration information is acquired. And when the page ID is not found, the background acquires the corresponding database table name information and other related database information.
In S214, a list is newly built in the configuration recycle file based on the page identifier. The received data information may then be added to the configuration file together.
In S216, after the page configuration information is inserted into the configuration recycle file, the modification command is executed in the database to delete the page configuration information. After the data information is written into the configuration file, the background deletes the configuration information in the original database.
According to the page configuration information processing method, a modification command of the page configuration information is obtained, wherein the modification command comprises a deletion command; acquiring a page name, a page identifier, grid title line information and page configuration information to be processed based on the modification command; retrieving in a pre-stored configuration recovery file based on the page identifier; when the configuration recovery file contains the page identifier, the mode of inserting the page configuration information, the page name and the grid title line information into the list corresponding to the page identifier of the configuration recovery file can recover part or all of the page configuration data in a user-defined mode, the operation is simpler and more convenient, and the working efficiency of a user is improved.
It is clearly understood that this disclosure describes how to make and use specific examples, but the principles of this disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
Fig. 4 is a flowchart illustrating a page configuration information processing method according to another exemplary embodiment. The page configuration information processing method 40 includes at least steps S402 to S406.
As shown in fig. 4, in S402, a view command of the page configuration information is received, where the view command includes a page identifier. The "configuration recycle" button is used to see which configuration information is deleted on the device. After clicking, a configuration recovery page appears on the page, and a user can select and determine the page identifier to be processed through clicking.
In S404, retrieving is performed in the configuration recycle file based on the page identifier, and a list corresponding to the page identifier is extracted. The browser page sends a request for acquiring the content of the configuration recycling configuration file to the background, and the background responds to the page with the content in the configuration file after receiving the request.
In S406, the list is used as the return information of the viewing command and displayed. The browser page displays the received response content on the page in a table form.
Fig. 5 is a flowchart illustrating a page configuration information processing method according to another exemplary embodiment. The page configuration information processing method 50 includes at least steps S502 to S510.
As shown in fig. 5, in S502, a resume command of the page configuration information is received, where the resume command includes the page identifier and the page configuration information. In the page shown in fig. 3, the user can clearly see the details of the deleted configuration information. Each piece of deleted configuration information is followed by a "configuration restore" button. When the user clicks the configuration recovery button, the page generates a recovery command and sends the command to the background server.
In S504, database information is determined based on the page identification. And the background server finds corresponding database file information and database table name information according to the page ID.
In S506, the primary key of the page configuration information in the database information is compared with the primary key of the page configuration information in the resume command. And searching a primary key in the database, and comparing the primary key in the database with the data to be recovered because the primary key can uniquely identify the data of each row.
In S508, the page configuration information is restored according to the comparison result.
In one embodiment, when the primary key of the page configuration information in the database information and the primary key of the page configuration information in the recovery command are different, the page configuration information in the recovery command is added to the database information. And if the data needing to be recovered is not the same as the value of the primary key of the database, directly adding the data into the database.
In one embodiment, when the primary key of the page configuration information in the database information is the same as the primary key of the page configuration information in the recovery command, prompt information is generated for the user to reselect. And if the data needing to be recovered is the same as the value of the database main key, returning the data to the page, popping up a pop-up box after the page receives a response, prompting a user that the value is repeated with other values in the database, and requesting to modify the value. And after the user modifies the data, clicking a confirmation button, comparing the newly issued data with the primary key values in the database again, adding the data into the database if the data are not repeated, and continuously returning to the page if the data are repeated. If the user clicks cancel, the recovery configuration function cancels, and the piece of data is still displayed in the configuration recycle page.
In S510, after the configuration information in the restore command is added to the database information, the corresponding page configuration information in the configuration file is deleted. After the piece of data information is added into the database, the piece of configuration information is deleted from the configuration file of the configuration recovery. Accordingly, the page is refreshed after the data is submitted, and the data cannot be seen in the configuration recycle page.
According to the page configuration information processing method disclosed by the invention, the user can clearly see the deleted information by configuring the recovery page, and the user can confirm the deleted information again by using the information, so that the probability of equipment failure caused by mistaken deletion is reduced, and the deletion operation is safer.
According to the page configuration information processing method disclosed by the invention, the problem that the deleted data can only be recovered by recovering all configurations by a user and the data cannot be recovered by self-definition in the prior art is solved, so that the operation is more humanized and more intelligent.
Those skilled in the art will appreciate that all or part of the steps implementing the above embodiments are implemented as computer programs executed by a CPU. When executed by the CPU, performs the functions defined by the above-described methods provided by the present disclosure. The program may be stored in a computer readable storage medium, which may be a read-only memory, a magnetic or optical disk, or the like.
Furthermore, it should be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 6 is a block diagram illustrating a page configuration information processing apparatus according to an exemplary embodiment. As shown in fig. 6, the page configuration information processing apparatus 60 includes: a modification module 602, an information module 604, a retrieval module 606, and an insertion module 608.
The modification module 602 is configured to obtain a modification command of the page configuration information, where the modification command includes a delete command;
the information module 604 is configured to obtain a page name, a page identifier, grid header line information, and page configuration information to be processed based on the modification command;
the retrieval module 606 is configured to retrieve from a pre-stored configuration recycle file based on the page identifier;
the inserting module 608 is configured to insert the page configuration information, the page name, and the grid title line information into a list corresponding to the page identifier of the configuration recycle file when the configuration recycle file includes the page identifier.
According to the page configuration information processing device, a modification command of page configuration information is obtained, wherein the modification command comprises a deletion command; acquiring a page name, a page identifier, grid title line information and page configuration information to be processed based on the modification command; retrieving in a pre-stored configuration recovery file based on the page identifier; when the configuration recovery file contains the page identifier, the mode of inserting the page configuration information, the page name and the grid title line information into the list corresponding to the page identifier of the configuration recovery file can recover part or all of the page configuration data in a user-defined mode, the operation is simpler and more convenient, and the working efficiency of a user is improved.
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
An electronic device 700 according to this embodiment of the disclosure is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 700 is embodied in the form of a general purpose computing device. The components of the electronic device 700 may include, but are not limited to: at least one processing unit 710, at least one memory unit 720, a bus 730 that connects the various system components (including the memory unit 720 and the processing unit 710), a display unit 740, and the like.
Wherein the storage unit stores program code that can be executed by the processing unit 710 to cause the processing unit 710 to perform the steps according to various exemplary embodiments of the present disclosure described in this specification. For example, the processing unit 710 may perform the steps as shown in fig. 2, 4, 5.
The memory unit 720 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)7201 and/or a cache memory unit 7202, and may further include a read only memory unit (ROM) 7203.
The memory unit 720 may also include a program/utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 730 may be any representation of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 700 may also communicate with one or more external devices 700' (e.g., keyboard, pointing device, bluetooth device, etc.), such that a user can communicate with devices with which the electronic device 700 interacts, and/or any devices (e.g., router, modem, etc.) with which the electronic device 700 can communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 750. Also, the electronic device 700 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 760. The network adapter 770 may communicate with other modules of the electronic device 700 via the bus 730. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, as shown in fig. 8, the technical solution according to the embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present disclosure.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The computer readable medium carries one or more programs which, when executed by a device, cause the computer readable medium to perform the functions of: acquiring a modification command of page configuration information, wherein the modification command comprises a deletion command; acquiring a page name, a page identifier, grid title line information and page configuration information to be processed based on the modification command; retrieving in a pre-stored configuration recovery file based on the page identifier; and when the configuration recovery file comprises the page identifier, inserting the page configuration information, the page name and the grid title line information into a list corresponding to the page identifier of the configuration recovery file.
Those skilled in the art will appreciate that the modules described above may be distributed in the apparatus according to the description of the embodiments, or may be modified accordingly in one or more apparatuses unique from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Exemplary embodiments of the present disclosure are specifically illustrated and described above. It is to be understood that the present disclosure is not limited to the precise arrangements, instrumentalities, or instrumentalities described herein; on the contrary, the disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (11)

1. A page configuration information processing method is characterized by comprising the following steps:
acquiring a modification command of page configuration information, wherein the modification command comprises a deletion command;
acquiring a page name, a page identifier, grid title line information and page configuration information to be processed based on the modification command;
retrieving in a pre-stored configuration recovery file based on the page identifier;
and when the configuration recovery file comprises the page identifier, inserting the page configuration information, the page name and the grid title line information into a list corresponding to the page identifier of the configuration recovery file.
2. The method of claim 1, further comprising:
when the configuration recycle file does not exist, creating the configuration recycle file.
3. The method of claim 1, further comprising:
when the configuration recovery file does not contain the page identifier, acquiring database information of the page configuration information;
creating a new list in the configuration recovery file based on the page identifier;
and inserting the page configuration information, the page name, the grid title line information and the database information into a list corresponding to the page identifier of the configuration recovery file.
4. The method of claim 1, wherein obtaining a modification command for page configuration information comprises:
and the background server acquires a modification command of the page configuration information generated by the browser.
5. The method of claim 1, further comprising:
and after the page configuration information is inserted into the configuration recovery file, executing the modification command in a database to delete the page configuration information.
6. The method of claim 1, further comprising:
receiving a viewing command of page configuration information, wherein the viewing command comprises a page identifier;
retrieving in the configuration recovery file based on the page identifier, and extracting a list corresponding to the page identifier;
and taking the list as the return information of the viewing command and displaying the return information.
7. The method of claim 1, comprising:
receiving a recovery command of the page configuration information, wherein the recovery command comprises a page identifier and the page configuration information;
determining database information based on the page identifier;
comparing the primary key of the page configuration information in the database information with the primary key of the page configuration information in the recovery command;
and restoring the page configuration information according to the comparison result.
8. The method of claim 7, wherein the recovering of the page configuration information based on the comparison comprises:
and when the primary key of the page configuration information in the database information is different from the primary key of the page configuration information in the recovery command, adding the page configuration information in the recovery command to the database information.
9. The method of claim 8, wherein the recovering of the page configuration information according to the comparison result further comprises:
and after the configuration information in the recovery command is added to the database information, deleting the corresponding page configuration information in the configuration file.
10. The method of claim 7, wherein the recovering of the page configuration information based on the comparison comprises:
and when the primary key of the page configuration information in the database information is the same as the primary key of the page configuration information in the recovery command, generating prompt information for the user to reselect.
11. A page configuration information processing apparatus characterized by comprising:
the modification module is used for acquiring modification commands of the page configuration information, and the modification commands comprise deletion commands;
the information module is used for acquiring a page name, a page identifier, grid title line information and page configuration information to be processed based on the modification command;
the retrieval module is used for retrieving in a pre-stored configuration recovery file based on the page identifier;
and the inserting module is used for inserting the page configuration information, the page name and the grid title line information into a list corresponding to the page identifier of the configuration recovery file when the configuration recovery file contains the page identifier.
CN202110274751.2A 2021-03-15 2021-03-15 Page configuration information processing method and device Active CN112905388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110274751.2A CN112905388B (en) 2021-03-15 2021-03-15 Page configuration information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110274751.2A CN112905388B (en) 2021-03-15 2021-03-15 Page configuration information processing method and device

Publications (2)

Publication Number Publication Date
CN112905388A true CN112905388A (en) 2021-06-04
CN112905388B CN112905388B (en) 2023-12-15

Family

ID=76105127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110274751.2A Active CN112905388B (en) 2021-03-15 2021-03-15 Page configuration information processing method and device

Country Status (1)

Country Link
CN (1) CN112905388B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120005211A1 (en) * 2010-06-30 2012-01-05 International Business Machines Corporation Document object model (dom) based page uniqueness detection
US20130013874A1 (en) * 2011-07-08 2013-01-10 Goetz Graefe Data store page recovery
CN104331295A (en) * 2014-11-05 2015-02-04 北京中科辅龙信息技术有限公司 Page generation method and system
CN106685729A (en) * 2017-01-18 2017-05-17 郑州云海信息技术有限公司 Service configuration management method and system
CN109684577A (en) * 2018-12-27 2019-04-26 杭州云英网络科技有限公司 A kind of configuration method of web page contents, system and electronic equipment
CN109902039A (en) * 2017-12-08 2019-06-18 旺宏电子股份有限公司 Memory Controller, storage system and the method that data configuration is managed in a memory
CN110020352A (en) * 2017-09-29 2019-07-16 北京国双科技有限公司 A kind of restoring method of the page, system, storage medium and controller
CN110879871A (en) * 2019-11-26 2020-03-13 杭州迪普科技股份有限公司 Page menu configuration method and device
CN111046317A (en) * 2019-12-27 2020-04-21 北京奇艺世纪科技有限公司 Page data acquisition method, device, equipment and computer readable storage medium
CN111797351A (en) * 2020-06-29 2020-10-20 平安普惠企业管理有限公司 Page data management method and device, electronic equipment and medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120005211A1 (en) * 2010-06-30 2012-01-05 International Business Machines Corporation Document object model (dom) based page uniqueness detection
US20130013874A1 (en) * 2011-07-08 2013-01-10 Goetz Graefe Data store page recovery
CN104331295A (en) * 2014-11-05 2015-02-04 北京中科辅龙信息技术有限公司 Page generation method and system
CN106685729A (en) * 2017-01-18 2017-05-17 郑州云海信息技术有限公司 Service configuration management method and system
CN110020352A (en) * 2017-09-29 2019-07-16 北京国双科技有限公司 A kind of restoring method of the page, system, storage medium and controller
CN109902039A (en) * 2017-12-08 2019-06-18 旺宏电子股份有限公司 Memory Controller, storage system and the method that data configuration is managed in a memory
CN109684577A (en) * 2018-12-27 2019-04-26 杭州云英网络科技有限公司 A kind of configuration method of web page contents, system and electronic equipment
CN110879871A (en) * 2019-11-26 2020-03-13 杭州迪普科技股份有限公司 Page menu configuration method and device
CN111046317A (en) * 2019-12-27 2020-04-21 北京奇艺世纪科技有限公司 Page data acquisition method, device, equipment and computer readable storage medium
CN111797351A (en) * 2020-06-29 2020-10-20 平安普惠企业管理有限公司 Page data management method and device, electronic equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JAMES WAGNER等: "DB3F & DF-Toolkit:The Database Forensic Forensic File Format and the Database Forensic Toolkit", 《DIGITAL INVESTIGATION》, pages 42 *
杜志宇: "基于移动平台的CIS信息化的通用架构实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 01, pages 138 - 193 *

Also Published As

Publication number Publication date
CN112905388B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
US8244758B1 (en) State management for user interfaces
CN108804450B (en) Information pushing method and device
US8180758B1 (en) Data management system utilizing predicate logic
US20170277780A1 (en) Systems and methods for key phrase characterization of documents
AU2009238294B2 (en) Data transformation based on a technical design document
CN109241403B (en) Project recommendation method and device, machine equipment and computer-readable storage medium
CN109522751B (en) Access right control method and device, electronic equipment and computer readable medium
CN110399448B (en) Chinese place name address searching and matching method, terminal and computer readable storage medium
US8260772B2 (en) Apparatus and method for displaying documents relevant to the content of a website
CN111190905A (en) Database table processing method and device and electronic equipment
CN114064925A (en) Knowledge graph construction method, data query method, device, equipment and medium
CN113918437A (en) User behavior data analysis method and device, computer equipment and storage medium
EP3889770B1 (en) Mini program material processing
CN117170655A (en) Metadata processing method and device, data processing equipment and storage medium
CN112905388B (en) Page configuration information processing method and device
CN113179183B (en) Service switch state control device and method
CN113590447B (en) Buried point processing method and device
CN115080039A (en) Front-end code generation method, device, computer equipment, storage medium and product
CN114912003A (en) Document searching method and device, computer equipment and storage medium
CN114117303A (en) Multi-selection list display device and method
CN110795424B (en) Characteristic engineering variable data request processing method and device and electronic equipment
CN113722007A (en) Configuration method, device and system of VPN branch equipment
CN113704242A (en) Data processing method and device
CN111767693A (en) Information processing apparatus, information processing method, and computer-readable recording medium
CN113515504B (en) Data management method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant