CN117349302A - Data operating system, method and related equipment of B/S architecture - Google Patents

Data operating system, method and related equipment of B/S architecture Download PDF

Info

Publication number
CN117349302A
CN117349302A CN202311424594.4A CN202311424594A CN117349302A CN 117349302 A CN117349302 A CN 117349302A CN 202311424594 A CN202311424594 A CN 202311424594A CN 117349302 A CN117349302 A CN 117349302A
Authority
CN
China
Prior art keywords
data
operated
type
architecture
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311424594.4A
Other languages
Chinese (zh)
Inventor
苏寅生
赵利刚
李豹
高琴
周挺辉
姚海成
黄冠标
唐滢淇
徐原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CSG Electric Power Research Institute
China Southern Power Grid Co Ltd
Original Assignee
CSG Electric Power Research Institute
China Southern Power Grid 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 CSG Electric Power Research Institute, China Southern Power Grid Co Ltd filed Critical CSG Electric Power Research Institute
Priority to CN202311424594.4A priority Critical patent/CN117349302A/en
Publication of CN117349302A publication Critical patent/CN117349302A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/2358Change logging, detection, and notification
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a data operation system, a method and related equipment of a B/S architecture, wherein the method comprises the steps of firstly obtaining an operation request of a user to the B/S architecture initiated by a browser, and identifying an operation type of an operation mode in the operation request. And if the operation type is the update modification type, operating the data to be operated in the database according to the operation mode, and recording the operation user and the operation time into an operation record table. And if the operation type is the revocation recovery type, reading the latest operation record matched with the data to be operated and the operation mode and recorded in the operation record table, and operating the data to be operated in the database according to the operation mode and the latest operation record. According to the method and the device, the operation users and the operation time corresponding to each operation are recorded in the operation record table, so that the data can be supported to be withdrawn and recovered, meanwhile, the operation time and the operation user record are available for each user data operation, and responsibility tracing data can be provided.

Description

Data operating system, method and related equipment of B/S architecture
Technical Field
The present invention relates to the field of data processing, and more particularly, to a data operating system, method and related device of a B/S architecture.
Background
The B/S architecture is known as Browser/Server, i.e., browser/Server architecture. Browser refers to a Web Browser, with very few transaction logic implemented at the front end, but with the main transaction logic implemented at the server end. The system of the B/S architecture needs no special installation and only needs a Web browser.
Most of the existing B/S-based architecture systems have no function of canceling recovery, and data modification of a page is submitted to a rear-end warehouse entry, so that operations such as canceling recovery and the like are not performed on the page, the page does not store modified historical data, and the operation is not like a single word local operation, word modification is closed and reopening is performed, and canceling recovery is not performed, so that a great amount of time is spent for adjustment once a certain data or a certain batch of data is corrected or mistakenly corrected.
In service management, users need to operate data based on a data management platform every day, namely, update, modify, cancel or restore certain service data, because the data management platform is a B/S-based architecture system, the modified data can be submitted to a database every time, unlike word documents, temporary modification records can cancel rollback operation locally. In addition, word is single operation, and the data management platform is multi-person collaborative operation, and the data of the front person is covered by the data of the back modification, so that the middle modification cannot be traced back for several times, the modifier cannot be traced back, and great inconvenience is brought to business management.
Based on the above situation, the present application proposes a data operation scheme of B/S architecture to make up for the above-mentioned drawbacks.
Disclosure of Invention
In view of this, the present application provides a data operating system, method and related device of B/S architecture, which can implement a revocation recovery operation, and record each operation time and operation user, so that the occurrence of a problem can be traced.
A data operation system of a B/S architecture comprises a browser, a back-end server and a database;
the browser is used for initiating an operation request for the B/S architecture, and the operation request comprises data to be operated and a corresponding operation mode;
the back-end server is used for receiving and responding to the operation request, operating the data to be operated, and recording an operation user and operation time into an operation record table;
the database is used for storing the data to be operated and returning the operation state to the browser after the operation is completed.
A data operation method of a B/S architecture is applied to the back-end server, and comprises the following steps:
acquiring an operation request of a user for a B/S architecture initiated by a browser, wherein the operation request comprises data to be operated and a corresponding operation mode;
identifying an operation type of the operation mode in the operation request;
if the operation type is the update modification type, operating the data to be operated in the database according to the operation mode, and recording an operation user and operation time into an operation record table;
and if the operation type is the revocation recovery type, reading the latest operation record which is recorded in the operation record table and is matched with the data to be operated and the operation mode, and operating the data to be operated in the database according to the operation mode and the latest operation record.
Optionally, the data to be operated included in the operation request may be one or more;
in the case that the data to be operated is plural, further comprising:
and identifying whether the business type of the data to be operated supports batch operation or not, and carrying out batch operation on each target data to be operated supporting batch operation according to the corresponding operation mode.
Optionally, the method further comprises:
and identifying whether the data to be operated supports operation according to the corresponding operation mode.
Optionally, in the case that the operation type is a revocation recovery type, the method further includes:
and reading the operation user and the operation time corresponding to the latest operation record, and forming an operation error report and reporting the operation error report to the browser.
A data manipulation device of a B/S architecture, comprising:
an operation request unit, configured to obtain an operation request for the B/S architecture initiated by a user through a browser, where the operation request includes data to be operated and a corresponding operation mode;
the type identification unit is used for identifying the operation type of the operation mode in the operation request;
the first operation unit is used for operating the data to be operated according to the operation mode and recording an operation user and operation time into an operation record table of a database under the condition that the operation type is an update modification type;
and the second operation unit is used for reading the latest operation record matched with the data to be operated and the operation mode and recorded in the operation record table of the database under the condition that the operation type is the revocation recovery type, and operating the data to be operated according to the operation mode and the latest operation record.
Optionally, the method further comprises:
and the operation detection unit is used for identifying whether the data to be operated support operation according to the corresponding operation mode.
Optionally, the method further comprises:
and the error reporting unit is used for reading the operation user and the operation time corresponding to the latest operation record and forming an operation error report to the browser under the condition that the operation type is the revocation recovery type.
A data manipulation device of a B/S architecture comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the data operation method of the B/S architecture according to any one of the above.
A readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of the data manipulation method of a B/S architecture as claimed in any of the preceding claims.
As can be seen from the above technical solution, the system includes a browser, a back-end server, and a database, where the browser is configured to initiate an operation request for the B/S architecture, the operation request includes data to be operated and a corresponding operation mode, the back-end server is configured to receive and respond to the operation request, operate the data to be operated, and record an operation user and an operation time in an operation record table, and the database is configured to store the data to be operated, and return an operation state to the browser after the operation is completed. The method comprises the steps of firstly obtaining an operation request of a B/S architecture initiated by a user through a browser, and identifying an operation type of an operation mode in the operation request. And if the operation type is the update modification type, operating the data to be operated in the database according to the operation mode, and recording an operation user and operation time into an operation record table. And if the operation type is the revocation recovery type, reading the latest operation record which is recorded in the operation record table and is matched with the data to be operated and the operation mode, and operating the data to be operated in the database according to the operation mode and the latest operation record.
According to the method and the device, the operation user and the operation time corresponding to each operation are recorded in the operation record table, so that the data can be supported to be withdrawn and recovered, the error operation can be rapidly withdrawn and recovered under the condition of error correction or error correction, the modified data can be withdrawn and recovered after the page is closed and the page is opened again in the browser, the working efficiency is improved, the operation time and the operation user record are available for each user to modify the submitted data operation, and the data support can be provided for responsibility tracing.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of a data operating system of a B/S architecture according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of data manipulation of a B/S architecture according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a data handling apparatus with a B/S architecture according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of the hardware architecture of a data manipulation device of the B/S architecture disclosed in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Next, the present application is presented with the following technical solutions, see in detail below.
FIG. 1 is a schematic diagram of a data operating system with a B/S architecture according to an embodiment of the present application.
As shown in FIG. 1, a data operating system of a B/S architecture comprises a browser, a back-end server and a database.
The browser is used for initiating an operation request for the B/S architecture, and the operation request comprises data to be operated and a corresponding operation mode.
The back-end server is used for receiving and responding to the operation request, operating the data to be operated, and recording an operation user and operation time into an operation record table.
The database is used for storing the data to be operated and returning the operation state to the browser after the operation is completed.
Specifically, in the application, the front end is a browser running on a PC or mobile terminal, and the like, is presented to a web page browsed by a user, and can provide operation selection for the user, and the user can select operation data needing to be operated and operation modes needing to be operated on the browser, wherein the specific operation modes include updating, modifying, withdrawing, recovering, and the like. The browser calls different interfaces according to the operation of a user, and initiates an operation request to a back-end server, wherein the operation request comprises data to be operated and a corresponding operation mode.
The back-end server runs in the background and controls the content of the front-end, and is mainly responsible for programming architecture ideas, managing databases and the like. The backend is more applied to the database and interacts to handle the corresponding business logic. It needs to consider how to realize functions, data access, stability and performance of the platform, etc. The back end takes the data through the interface, writes the data into the database, and records the current operation user and the operation time. The back-end server can be used for receiving an operation request sent by the browser and responding to the operation request to operate the data to be operated. When the back-end server responds to the operation request to operate the data to be operated, the operation user and the operation time are recorded into an operation record table.
A database in this application is a repository that organizes, stores, and manages data according to a data structure, and is a collection of large amounts of data stored in a computer for a long period of time, organized, sharable, and uniformly managed. After the operation is completed, the operation state can be returned to the browser to prompt the user whether the operation is successful.
Therefore, the data operating system of the B/S architecture can support the revocation recovery of data by recording the operation user and the operation time corresponding to each operation into the operation record table, can support the revocation recovery of data which are input in batches and modified and stored in batches, can also conduct the revocation recovery of data which are modified and stored in batches for a plurality of table data of a plurality of equipment types, and can record the operation user and the operation time for the modified data, so that the revocation recovery can be fast carried out under the condition of error correction or error correction, the work efficiency is improved, and meanwhile, the recorded operators and operation time are convenient to trace back.
Fig. 2 is a flowchart of a data operation method of a B/S architecture according to an embodiment of the present application.
As shown in fig. 2, the method is applied to the backend server, and the method may include:
step S1, an operation request of a user for the B/S architecture initiated by a browser is obtained, wherein the operation request comprises data to be operated and a corresponding operation mode.
Specifically, the user can select operation data to be operated and operation modes to be operated on the browser, and the specific operation modes include updating, modifying, withdrawing, recovering and the like. The browser calls different interfaces according to the operation of a user, and initiates an operation request to a back-end server, wherein the operation request comprises data to be operated and a corresponding operation mode. The back-end server can be used for receiving an operation request of the B/S architecture initiated by a user through a browser and responding to the operation request to operate the data to be operated.
The data to be operated contained in the operation request can be one or more;
in the case that the data to be operated is plural, further comprising:
and identifying whether the business type of the data to be operated supports batch operation or not, and carrying out batch operation on each target data to be operated supporting batch operation according to the corresponding operation mode.
Specifically, the method and the device can judge whether the data to be operated are operated in batches by identifying whether the business type to which the data to be operated belongs supports batch operation. And supporting batch operation for the business type to which the data to be operated belongs, and carrying out batch operation on each target data to be operated according to the corresponding operation mode. And if the business type of the data to be operated does not support batch operation, the target data to be operated needs to be operated in sequence.
For example, table 1 is a modification limitation of a data management platform applied to a power grid, as shown in the following table, in which bus, generator, new energy, load and transformer belong to service types supporting batch operation, while other several corresponding service types do not support batch operation. For data supporting batch operation, an operation request is submitted, so that the operations of updating, modifying, cancelling and recovering can be performed in batches, and meanwhile, the operations of updating, modifying, cancelling and recovering formulas are supported for the generator, new energy and load. Whereas for several other items of data that do not support batch operations, the update, modification, revocation and restoration operations need to be performed individually and individually.
TABLE 1
And step S2, identifying the operation type of the operation mode in the operation request.
And step S3, if the operation type is an update modification type, operating the data to be operated in the database according to the operation mode, and recording an operation user and operation time into an operation record table.
In particular, update modification classes include, for example, update data, modification data, and the like. Taking the operations of the two updating modification classes as an example, the process of operating the data to be operated in the database according to the operation mode and recording the operation user and the operation time into an operation record table specifically can include:
modifying data: and changing the data to be operated in the database according to the operation request, and writing the operation user for changing the data and the operation time into the operation record table.
Updating data: and updating the data to be operated in the database according to the operation request, and writing the operation user and the operation time for updating the data into the operation record table.
And S4, if the operation type is the revocation recovery type, reading the latest operation record which is recorded in the operation record table and is matched with the data to be operated and the operation mode, and operating the data to be operated in the database according to the operation mode and the latest operation record.
Specifically, the revocation recovery class includes, for example, update data, recovery data, and the like. Taking the operations of the two revocation recovery classes as an example, reading a latest operation record matched with the data to be operated and the operation mode recorded in the operation record table, and operating the data to be operated in the database according to the operation mode and the latest operation record, wherein the operation comprises the following steps:
revocation data: and acquiring the latest modified records from an operation record table, sorting according to the reverse order of the recovery time, and reading the latest operation record matched with the data to be operated and the operation mode recorded in the operation record table by default of the record creation time, and withdrawing the data to be operated in the database according to the latest operation record.
Recovering the data: and acquiring the latest modified records from an operation record table, sorting according to the reverse order of the withdrawal time, and reading the latest operation record matched with the data to be operated and the operation mode recorded in the operation record table by default of record creation time, and recovering the data to be operated in the database according to the latest operation record.
Optionally, the present application may further include:
and identifying whether the data to be operated supports operation according to the corresponding operation mode.
Specifically, in practical application, the application may also identify whether the data to be operated supports operation according to the corresponding operation mode, for example, for some data, the formula does not support modification and update, so that the operation request will not be executed at this time, and if the data supports operation according to the corresponding operation mode, the operation request will be executed normally.
Optionally, in the case that the operation type is a revocation recovery type, the method may further include:
and reading the operation user and the operation time corresponding to the latest operation record, and forming an operation error report and reporting the operation error report to the browser.
Specifically, in the method, the operation user and the operation time corresponding to each operation are recorded in the operation record table, so that the data can be supported to be withdrawn and recovered, the error operation can be rapidly withdrawn and recovered under the condition of error correction or error correction, meanwhile, the operation time and the operation user record are available for each data operation submitted by the user modification, and the data support can be provided for responsibility tracing. Therefore, when the operation type is the revocation recovery type, that is, when the last error operation needs to be revoked, the method and the device can form an operation error report to the browser by reading the operation user and the operation time corresponding to the latest operation record, so as to realize responsibility tracing of the error operation.
As can be seen from the above technical solution, the system includes a browser, a back-end server, and a database, where the browser is configured to initiate an operation request for the B/S architecture, the operation request includes data to be operated and a corresponding operation mode, the back-end server is configured to receive and respond to the operation request, operate the data to be operated, and record an operation user and an operation time in an operation record table, and the database is configured to store the data to be operated, and return an operation state to the browser after the operation is completed. The method comprises the steps of firstly obtaining an operation request of a B/S architecture initiated by a user through a browser, and identifying an operation type of an operation mode in the operation request. And if the operation type is the update modification type, operating the data to be operated in the database according to the operation mode, and recording an operation user and operation time into an operation record table. And if the operation type is the revocation recovery type, reading the latest operation record which is recorded in the operation record table and is matched with the data to be operated and the operation mode, and operating the data to be operated in the database according to the operation mode and the latest operation record.
According to the method and the device, the operation user and the operation time corresponding to each operation are recorded in the operation record table, so that the data can be supported to be withdrawn and recovered, the error operation can be rapidly withdrawn and recovered under the condition of error correction or error correction, the modified data can be withdrawn and recovered after the page is closed and the page is opened again in the browser, the working efficiency is improved, the operation time and the operation user record are available for each user to modify the submitted data operation, and the data support can be provided for responsibility tracing.
The following describes a B/S architecture data operation device provided in the embodiments of the present application, and the data operation device of the B/S architecture described below and the data operation method of the B/S architecture described above may be referred to correspondingly.
Referring to fig. 3, fig. 3 is a schematic diagram of a data operation device with a B/S architecture according to an embodiment of the present application.
As shown in fig. 3, the data operation device of a B/S architecture may include:
an operation request unit 110, configured to obtain an operation request for the B/S architecture initiated by a user through a browser, where the operation request includes data to be operated and a corresponding operation mode;
a type identifying unit 120, configured to identify an operation type to which the operation mode belongs in the operation request;
a first operation unit 130, configured to operate the data to be operated according to the operation mode and record an operation user and an operation time into an operation record table of a database, where the operation type is an update modification type;
and the second operation unit 140 is configured to, when the operation type is a revocation recovery type, read a latest operation record that is recorded in the operation record table of the database and matches the data to be operated and the operation mode, and operate the data to be operated according to the operation mode and the latest operation record.
As can be seen from the above technical solution, the system includes a browser, a back-end server, and a database, where the browser is configured to initiate an operation request for the B/S architecture, the operation request includes data to be operated and a corresponding operation mode, the back-end server is configured to receive and respond to the operation request, operate the data to be operated, and record an operation user and an operation time in an operation record table, and the database is configured to store the data to be operated, and return an operation state to the browser after the operation is completed. The method comprises the steps of firstly obtaining an operation request of a B/S architecture initiated by a user through a browser, and identifying an operation type of an operation mode in the operation request. And if the operation type is the update modification type, operating the data to be operated in the database according to the operation mode, and recording an operation user and operation time into an operation record table. And if the operation type is the revocation recovery type, reading the latest operation record which is recorded in the operation record table and is matched with the data to be operated and the operation mode, and operating the data to be operated in the database according to the operation mode and the latest operation record.
According to the method and the device, the operation user and the operation time corresponding to each operation are recorded in the operation record table, so that the data can be supported to be withdrawn and recovered, the error operation can be rapidly withdrawn and recovered under the condition of error correction or error correction, the modified data can be withdrawn and recovered after the page is closed and the page is opened again in the browser, the working efficiency is improved, the operation time and the operation user record are available for each user to modify the submitted data operation, and the data support can be provided for responsibility tracing.
Optionally, the data to be operated included in the operation request may be one or more;
in the case that the data to be operated is plural, further comprising:
the first operation unit and the second operation unit may be further configured to identify whether the service type to which the data to be operated belongs supports batch operation, and perform batch operation on each target data to be operated supporting batch operation according to the corresponding operation mode.
Optionally, the data operation device of the B/S architecture may further include:
and the operation detection unit is used for identifying whether the data to be operated support operation according to the corresponding operation mode.
Optionally, the data operation device of the B/S architecture may further include:
and the error reporting unit is used for reading the operation user and the operation time corresponding to the latest operation record and forming an operation error report to the browser under the condition that the operation type is the revocation recovery type.
The data operation device of the B/S architecture provided by the embodiment of the application can be applied to data operation equipment of the B/S architecture. FIG. 4 shows a block diagram of the hardware architecture of a data manipulation device of the B/S architecture, referring to FIG. 4, the hardware architecture of the data manipulation device of the B/S architecture may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete communication with each other through the communication bus 4;
processor 1 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention, etc.;
the memory 3 may comprise a high-speed RAM memory, and may further comprise a non-volatile memory (non-volatile memory) or the like, such as at least one magnetic disk memory;
wherein the memory stores a program, the processor is operable to invoke the program stored in the memory, the program operable to:
acquiring an operation request of a user for a B/S architecture initiated by a browser, wherein the operation request comprises data to be operated and a corresponding operation mode;
identifying an operation type of the operation mode in the operation request;
if the operation type is the update modification type, operating the data to be operated in the database according to the operation mode, and recording an operation user and operation time into an operation record table;
and if the operation type is the revocation recovery type, reading the latest operation record which is recorded in the operation record table and is matched with the data to be operated and the operation mode, and operating the data to be operated in the database according to the operation mode and the latest operation record.
Alternatively, the refinement function and the extension function of the program may be described with reference to the above.
The embodiment of the application also provides a readable storage medium, which can store a program suitable for being executed by a processor, the program being configured to:
acquiring an operation request of a user for a B/S architecture initiated by a browser, wherein the operation request comprises data to be operated and a corresponding operation mode;
identifying an operation type of the operation mode in the operation request;
if the operation type is the update modification type, operating the data to be operated in the database according to the operation mode, and recording an operation user and operation time into an operation record table;
and if the operation type is the revocation recovery type, reading the latest operation record which is recorded in the operation record table and is matched with the data to be operated and the operation mode, and operating the data to be operated in the database according to the operation mode and the latest operation record.
Alternatively, the refinement function and the extension function of the program may be described with reference to the above.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The data operating system of the B/S architecture is characterized by comprising a browser, a back-end server and a database;
the browser is used for initiating an operation request for the B/S architecture, and the operation request comprises data to be operated and a corresponding operation mode;
the back-end server is used for receiving and responding to the operation request, operating the data to be operated, and recording an operation user and operation time into an operation record table;
the database is used for storing the data to be operated and returning the operation state to the browser after the operation is completed.
2. A data operation method of a B/S architecture, applied to the backend server of claim 1, the method comprising:
acquiring an operation request of a user for a B/S architecture initiated by a browser, wherein the operation request comprises data to be operated and a corresponding operation mode;
identifying an operation type of the operation mode in the operation request;
if the operation type is the update modification type, operating the data to be operated in the database according to the operation mode, and recording an operation user and operation time into an operation record table;
and if the operation type is the revocation recovery type, reading the latest operation record which is recorded in the operation record table and is matched with the data to be operated and the operation mode, and operating the data to be operated in the database according to the operation mode and the latest operation record.
3. The method according to claim 2, wherein the data to be operated included in the operation request may be one or more;
in the case that the data to be operated is plural, further comprising:
and identifying whether the business type of the data to be operated supports batch operation or not, and carrying out batch operation on each target data to be operated supporting batch operation according to the corresponding operation mode.
4. The method as recited in claim 2, further comprising:
and identifying whether the data to be operated supports operation according to the corresponding operation mode.
5. The method of claim 2, further comprising, in the case where the operation type is a revocation recovery type:
and reading the operation user and the operation time corresponding to the latest operation record, and forming an operation error report and reporting the operation error report to the browser.
6. A data manipulation device of a B/S architecture, comprising:
an operation request unit, configured to obtain an operation request for the B/S architecture initiated by a user through a browser, where the operation request includes data to be operated and a corresponding operation mode;
the type identification unit is used for identifying the operation type of the operation mode in the operation request;
the first operation unit is used for operating the data to be operated according to the operation mode and recording an operation user and operation time into an operation record table of a database under the condition that the operation type is an update modification type;
and the second operation unit is used for reading the latest operation record matched with the data to be operated and the operation mode and recorded in the operation record table of the database under the condition that the operation type is the revocation recovery type, and operating the data to be operated according to the operation mode and the latest operation record.
7. The apparatus as recited in claim 6, further comprising:
and the operation detection unit is used for identifying whether the data to be operated support operation according to the corresponding operation mode.
8. The apparatus as recited in claim 6, further comprising:
and the error reporting unit is used for reading the operation user and the operation time corresponding to the latest operation record and forming an operation error report to the browser under the condition that the operation type is the revocation recovery type.
9. A data manipulation device of a B/S architecture, comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the data operation method of the B/S architecture according to any one of claims 2 to 5.
10. A readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the data manipulation method of a B/S architecture according to any of claims 2-5.
CN202311424594.4A 2023-10-30 2023-10-30 Data operating system, method and related equipment of B/S architecture Pending CN117349302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311424594.4A CN117349302A (en) 2023-10-30 2023-10-30 Data operating system, method and related equipment of B/S architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311424594.4A CN117349302A (en) 2023-10-30 2023-10-30 Data operating system, method and related equipment of B/S architecture

Publications (1)

Publication Number Publication Date
CN117349302A true CN117349302A (en) 2024-01-05

Family

ID=89362923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311424594.4A Pending CN117349302A (en) 2023-10-30 2023-10-30 Data operating system, method and related equipment of B/S architecture

Country Status (1)

Country Link
CN (1) CN117349302A (en)

Similar Documents

Publication Publication Date Title
CN103262043B (en) The method and system of the meticulous recovery of performing database from differential backup
US8984340B2 (en) System and method for test case generation using action keywords
US9760347B2 (en) Method and system to identify GUI objects for non-markup-language-presented applications
KR101013810B1 (en) An excel-based management system for updating db tables and the method thereof
CN102236672A (en) Method and device for importing data
EP2317785A1 (en) Address list system and implementation method thereof
CN102955792A (en) Method for implementing transaction processing for real-time full-text search engine
CN111414362A (en) Data reading method, device, equipment and storage medium
CN106155832B (en) A kind of method, apparatus and Android device that data are restored
CN115617571A (en) Data backup method, device, system, equipment and storage medium
CN101866356B (en) Structural management method for disk directory information
CN111984673B (en) Fuzzy retrieval method and device for tree structure of power grid electric energy metering system
CN111694853B (en) Data increment collection method and device based on lineage, storage medium and electronic equipment
CN116303628B (en) Alarm data query method, system and equipment based on elastic search
CN109460318B (en) Import method of rollback archive collected data, computer device and computer readable storage medium
CN117349302A (en) Data operating system, method and related equipment of B/S architecture
KR100327234B1 (en) Data storage device and method of portable terminal
CN115793924A (en) Method, device and equipment for maintaining bank front-end dynamic menu
CN114461762A (en) Archive change identification method, device, equipment and storage medium
CN114253675A (en) Transaction processing method, device, equipment and storage medium
CN113407261A (en) Data configuration method and device and computer equipment
CN113434585A (en) Resource saving method and equipment
CN112659118A (en) Method and device for exporting and importing robot path information and readable storage medium
CN113094367A (en) Data processing method and device and server
CN110597828A (en) Database changing method, device, 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