CN114528514B - Content processing method, system, storage medium and electronic equipment - Google Patents

Content processing method, system, storage medium and electronic equipment Download PDF

Info

Publication number
CN114528514B
CN114528514B CN202210434898.8A CN202210434898A CN114528514B CN 114528514 B CN114528514 B CN 114528514B CN 202210434898 A CN202210434898 A CN 202210434898A CN 114528514 B CN114528514 B CN 114528514B
Authority
CN
China
Prior art keywords
content
environment
preset
online
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.)
Active
Application number
CN202210434898.8A
Other languages
Chinese (zh)
Other versions
CN114528514A (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.)
Feihu Information Technology Tianjin Co Ltd
Original Assignee
Feihu Information Technology Tianjin 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 Feihu Information Technology Tianjin Co Ltd filed Critical Feihu Information Technology Tianjin Co Ltd
Priority to CN202210434898.8A priority Critical patent/CN114528514B/en
Publication of CN114528514A publication Critical patent/CN114528514A/en
Application granted granted Critical
Publication of CN114528514B publication Critical patent/CN114528514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a content processing method, a content processing system, a storage medium and electronic equipment, wherein user operation metadata are obtained, corresponding operation records are generated based on the user operation metadata, the operation records are used for representing preview content corresponding to the user operation metadata issued in a pre-release environment, when the operation records do not accord with preset auditing conditions, the operation records are reversely played back, and online content corresponding to the operation records is safely rolled back to a state before the online records. Through the scheme, after the preview content submitted by the user passes the pre-release environment audit, the content is online in a mode of playing back the metadata record in the production environment, so that the audited environment content is consistent with the actual online content. When the final online content of the production environment is found to be inconsistent with the content of the checked environment, the content is safely rolled back through reverse playback operation records, and the safety risk brought by the online content is reduced.

Description

Content processing method, system, storage medium and electronic equipment
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a content processing method, a content processing system, a storage medium, and an electronic device.
Background
A Content Management System (CMS) is a software System that is located between a (World Wide Web, Web) front end (e.g., a Web server) and a back end office System or process (Content creation, editing). Content is submitted, modified, approved, published by using the CMS. The content includes information such as files, tables, pictures, data in a database, and the like.
Currently, the existing CMS system can support online and offline with a single content change and deletion, and since it does not support recording of metadata for user operations, it cannot support automatic playback/reverse playback of user operations in the relevant environment, so that the existing CMS system cannot support online of multiple content changes and batch rollback operations when a problem occurs (for example, a type a content occurs in a preview area of a type B content), which finally causes a security risk to the online of the content.
Disclosure of Invention
In view of this, the present application discloses a content processing method, a content processing system, a storage medium, and an electronic device, which are intended to reduce security risks caused by online content.
In order to achieve the purpose, the technical scheme disclosed by the method is as follows:
a first aspect of the present application discloses a content processing method, including:
acquiring user operation metadata; the user operation metadata is used for representing data operation of a user and a state corresponding to the data operation;
generating a corresponding operation record based on the user operation metadata; the operation record is used for representing preview content corresponding to the user operation metadata issued in a pre-issuing environment;
when the operation record does not accord with the preset auditing condition, the operation record is reversely played back, so that the online content corresponding to the operation record is safely rolled back to the state before the online record; the preset auditing condition is used for verifying whether the online content is consistent with the content of a preset environment; the preset environment content is used for representing the audited environment content.
Preferably, the obtaining of the user operation metadata includes:
acquiring contents edited by a user in a pre-release environment;
intercepting user operation metadata from the content edited by the user in a preset interception mode; the preset interception mode is a mode of supporting reverse analysis for intercepting SQL sentences or programming language functions executed.
Preferably, after the generating of the corresponding operation record based on the user operation metadata, the method further includes:
if the operation record meets the service requirement, performing content online operation on the operation record to obtain online content; the service requirement is used for representing and meeting the requirements of the content and the content layout position.
Preferably, when the operation record does not meet the preset auditing condition, performing reverse playback on the operation record to realize the safe rollback of the online content, includes:
comparing the online content with the content of a preset environment;
if the online content is inconsistent with the preset environment content, determining that the operation record is not in accordance with a preset auditing condition;
analyzing the operation record to generate a reverse playback operation flow under the condition that the operation record does not accord with the preset auditing condition;
and executing the reverse playback operation flow in a production environment to realize the safe rollback of the online content to a state before online recording.
Preferably, the method further comprises the following steps:
if the online content is consistent with the content of the preset environment, determining that the operation record meets the preset auditing condition;
analyzing the operation record to generate a forward playback operation flow under the condition that the operation record meets the preset auditing condition;
executing the forward playback operational stream in a production environment.
Preferably, before obtaining the user operation metadata, the method further includes:
starting a preset environment and providing a service corresponding to the preset environment; the preset environment at least comprises a pre-release environment and an online environment.
A second aspect of the present application discloses a content processing system, the system comprising:
an acquisition unit configured to acquire user operation metadata; the user operation metadata is used for representing data operation of a user and a state corresponding to the data operation;
the generating unit is used for generating a corresponding operation record based on the user operation metadata; the operation record is used for representing preview content corresponding to the user operation metadata issued in a pre-issuing environment;
the playback unit is used for reversely playing back the operation record when the operation record does not accord with the preset auditing condition, so that the online content corresponding to the operation record is safely rolled back to the state before the online record; the preset auditing condition is used for verifying whether the online content is consistent with the content of a preset environment; the preset environment content is used for representing the audited environment content.
Preferably, the acquiring unit includes:
the acquisition module is used for acquiring the content edited by the user in the pre-distribution environment;
the interception module is used for acquiring user operation metadata from the content edited by the user in a preset interception mode; the preset interception mode is a mode of supporting reverse analysis for intercepting SQL sentences or programming language functions executed.
A third aspect of the present application discloses a storage medium, which includes stored instructions, wherein when the instructions are executed, a device in which the storage medium is located is controlled to execute the content processing method according to any one of the first aspect.
A fourth aspect of the present application discloses an electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the content processing method according to any one of the first aspect.
According to the technical scheme, the embodiment of the application discloses a content processing method, a system, a storage medium and electronic equipment, user operation metadata are obtained and used for representing data operation of a user and a state corresponding to the data operation, a corresponding operation record is generated based on the user operation metadata and used for representing preview content corresponding to the user operation metadata issued in a pre-release environment, when the operation record does not meet a preset verification condition, the operation record is reversely played back, the online content corresponding to the operation record is safely rolled back to the state before the online record, the preset verification condition is used for verifying whether the online content is consistent with the content of the preset environment, and the preset environment content is used for representing the content of the verified environment. Through the scheme, after the preview content submitted by the user passes the pre-release environment audit, the content is online in a mode of playing back the metadata record in the production environment, so that the audited environment content is consistent with the actual online content. When the final online content of the production environment is found to be inconsistent with the audited environment content, the content is safely rolled back through reverse playback operation recording, and the safety risk brought by online content is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a content processing method disclosed in an embodiment of the present application;
FIG. 2 is a schematic diagram of a content processing system according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In this application, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
As known from the background art, the existing CMS system can support online and offline with a single content change and deletion, and cannot support automatic playback/reverse playback of a user operation in a related environment because it does not support recording of metadata for the user operation, so that the existing CMS system cannot support online of a plurality of content changes and batch rollback operation when a problem occurs (for example, a type a content appears in a preview area of a type B content), which finally causes a security risk in online of the content.
In order to solve the above problem, an embodiment of the present application discloses a content processing method, a system, a storage medium, and an electronic device, which implement content online in a manner of playing back metadata records in a production environment after a user submits preview content to be audited through a pre-release environment, so as to ensure that the audited environment content is consistent with actual online content. When the final online content of the production environment is found to be inconsistent with the audited environment content, the content is safely rolled back through reverse playback operation recording, and the safety risk brought by online content is reduced. The specific implementation is specifically illustrated by the following examples.
Referring to fig. 1, a schematic flow chart of a content processing method disclosed in an embodiment of the present application is shown, where the content processing method mainly includes the following steps:
s101: starting a preset environment and providing a service corresponding to the preset environment; the preset environment includes at least a pre-release environment and an online environment.
Wherein, the pre-release environment is the CMS pre-release environment.
The online environment is the CMS online environment.
The service corresponding to the preset environment is a service for providing CMS functions to CMS-oriented users (e.g., content editors).
The pre-publishing environment is almost the same as the online environment in all aspects, and the only difference is that: the content released by the pre-release environment is targeted to personnel in a company (unit), is mainly used for previewing, testing and the like of the released content, and can be released to an online environment to be provided for a final user after the preview content released by the pre-release environment is verified.
S102: acquiring user operation metadata in a pre-release environment; the user operation metadata is used for representing data operation of the user and a state corresponding to the data operation.
In S102, content edited by the user in the CMS pre-distribution environment is acquired, and user operation metadata is intercepted from the content edited by the user in a preset interception manner.
The preset interception mode is a mode of intercepting SQL statements supporting reverse analysis or intercepting executed programming language functions and the like. The specific preset interception mode is determined by a technician according to actual conditions, and the method is not specifically limited in the application.
The Content edited by the user is the Content (such as Content1, Content2, …, Content, etc.) which needs to be previewed under the CMS pre-distribution environment. Wherein the value of N is an integer greater than or equal to 1.
The user operation metadata includes data operations (such as select, add insert, update, delete, etc. data operations for SQL) and the actual values of the data before and after the data operations.
S103: generating a corresponding operation record based on the user operation metadata; the operation record is used for representing preview content corresponding to the operation metadata of the publishing user in the CMS pre-publishing environment.
If the operation record meets the service requirement, performing online operation on the content of the operation record to obtain online content; the service requirements are used for representing and meeting the requirements of the content and the content layout position.
And the content safety online operation is realized by determining that the operation record meets the service requirement.
The service required by the service refers to services such as released news and layout position adjustment.
The operation record meets the service requirement, that is, the preview content corresponding to the user operation metadata meets the requirements of the corresponding content and the content layout position. For example, the preview content corresponding to the user operation metadata is the released news content, and the news content is in the layout position of the news content, that is, the operation record meets the service requirement.
The process of performing the content online operation on the operation record is shown as A1-A5.
A1: and acquiring and storing user editing contents, namely Content1, Content2, … and Content in a CMS pre-distribution environment.
A2: and acquiring user operation metadata obtained by the server from the user editing content in a preset interception mode, and generating an operation record.
A3: previewing operation records corresponding to preview content in a CMS pre-release environment, and selecting one or more operation records needing to be online in the process of A1-A3 in the content online function to submit and audit when the preview content meets business requirements.
If the preview content does not meet the business requirement, repeatedly executing A1-A3 until the content editing meets the business requirement, and executing A4.
And if the preview content does not meet the service requirement, if the preview content corresponding to the user operation metadata is the released news content, the news content is in the layout position of the entertainment content.
A4: and selecting one or more operation records needing to be online in the online function of the content, and submitting and auditing.
Wherein, one or more operation records refer to the related content change (such as released news, layout position adjustment), and finally determine the content to be provided for the end user.
A5: and performing online content approval on one or more operation records, and performing online content operation on the operation records if the approval is passed.
Different operation contents can have different content online approval processes, if a piece of news is added, content verification can be passed, and if the layout position is adjusted, the process of adjusting the layout position needs to be approved, which may involve different companies and units having different approval processes or participants.
In the process of performing content online on a plurality of operation records, a Data Base (DB) transaction of a DB can be started, and the DB transaction is used for ensuring the atomicity of a plurality of DB write operations involved in one online process so as to ensure the consistency of Data.
S104: when the operation record does not accord with the preset auditing condition, the operation record is reversely played back, so that the online content corresponding to the operation record is safely rolled back to the state before the online record; the preset auditing condition is used for verifying whether the online content is consistent with the preset environment content; the preset environment content is used for representing the audited environment content.
In S104, the online content is compared with the preset environment content, if the online content is not consistent with the preset environment content, it is determined that the operation record does not meet the preset auditing condition, and if the operation record does not meet the preset auditing condition, the operation record is analyzed by the server to generate a reverse playback operation stream, and the reverse playback operation stream is executed in the CMS production environment, so as to implement safe rollback of the online content to the state before the online record.
And the preset environment content is the environment content which is in accordance with the expected state after being audited.
The reverse playback operation flow is generated by, but not limited to, a batch of SQL statements, a batch programming language method (function) procedure, or a related hybrid operation, in order to automatically execute the inverse of the user operation selected in the a3 procedure, roll back the related data to a state before the online record, and generate a roll back record.
The online records include, but are not limited to, the user, time, selected operation records, and the like referred to above.
The record content that generates the rollback record includes, but is not limited to: user, time, selected online records, etc.
And if the on-line news content is not in the required news layout position, determining that the operation record does not accord with the preset auditing condition, and generating the state of the on-line content corresponding to the operation record as an abnormal state.
According to the method and the device, the batch rollback operation when a plurality of content changes are online and have problems (namely, the operation records are not accordant with the preset auditing conditions) is supported, and the content online with the problems is prevented from bringing safety risks.
For convenience of understanding, when the operation record does not meet the preset auditing condition, the operation record is reversely played back, so as to implement a process of safely rolling back the online content corresponding to the operation record to a state before the online record, which is described here by way of example:
for example, if the on-line news content is not in the required news layout position, it is determined that the on-line news content is inconsistent with the preset environment content, that is, it indicates that the operation record is determined to be not in accordance with the preset auditing condition.
The state of the content corresponding to the operation record in the DB database before online recording is A/B/C, and the state after online recording is A/B/C/D/E. And safely rolling back the online content corresponding to the operation record to a state before the online record when the operation record does not meet the preset auditing condition, wherein the state after rolling back is A/B/C (namely the state before the online record).
And if the online content is consistent with the content of the preset environment, determining that the operation record meets the preset auditing condition, analyzing the operation record to generate a forward playback operation flow under the condition that the operation record meets the preset auditing condition, and executing the forward playback operation flow in the CMS production environment.
The forward playback operation flow is generated by, but not limited to, a batch of SQL statements, a batch programming language method (function) procedure or a related hybrid operation, and the purpose is to automatically execute the selected user operation procedure in the a3 procedure.
For example, if the on-line news content is in the required news layout position, it is determined that the on-line news content is consistent with the preset environment content, that is, it indicates that the determined operation record meets the preset auditing condition.
And when the operation record meets the preset auditing condition, analyzing the selected one or operation record and the corresponding user operation metadata through the server to generate a forward playback operation flow, and executing the forward playback operation flow in the CMS production environment.
The method and the device mainly solve the problems of content preview, safe online and emergency rollback, and are particularly suitable for scenes such as page frame adjustment, batch content operation release and the like.
In the embodiment of the application, by obtaining user operation metadata, the user operation metadata are used for representing data operation of a user and a state corresponding to the data operation, a corresponding operation record is generated based on the user operation metadata, the operation record is used for representing preview content corresponding to user operation metadata issued in a pre-release environment, when the operation record does not accord with a preset verification condition, reverse playback is performed on the operation record, online content corresponding to the operation record is safely rolled back to the state before the online record, the preset verification condition is used for verifying whether the online content is consistent with preset environment content, and the preset environment content is used for representing the verified environment content. Through the scheme, after the preview content submitted by the user passes the pre-release environment audit, the content is online in a mode of playing back the metadata record in the production environment, so that the audited environment content is consistent with the actual online content. When the final online content of the production environment is found to be inconsistent with the audited environment content, the content is safely rolled back through reverse playback operation recording, and the safety risk brought by online content is reduced.
Based on the content processing method disclosed in fig. 1 in the foregoing embodiment, the embodiment of the present application also correspondingly discloses a content processing system, which includes an obtaining unit 201, a generating unit 202, and a playback unit 203, as shown in fig. 2.
An acquisition unit 201 configured to acquire user operation metadata; the user operation metadata is used for representing data operation of a user and a state corresponding to the data operation.
The acquiring unit 201 acquires content edited by a user in the CMS pre-release environment, and intercepts user operation metadata from the content edited by the user in a preset interception manner. The preset interception mode is a mode of intercepting SQL statements supporting reverse analysis or intercepting executed programming language functions and the like. The specific preset interception mode is determined by a technician according to actual conditions, and the method is not specifically limited in the application.
A generating unit 202, configured to generate a corresponding operation record based on the user operation metadata; the operation record is used for representing preview content corresponding to the operation metadata of the publishing user in the pre-publishing environment.
The playback unit 203 is configured to perform reverse playback on the operation record when the operation record does not meet the preset auditing condition, so as to safely rollback the online content corresponding to the operation record to a state before the online record; the preset auditing condition is used for verifying whether the online content is consistent with the preset environment content; the preset environment content is used for representing the audited environment content.
The online content is compared with the preset environment content through the playback unit 203, if the online content is inconsistent with the preset environment content, it is determined that the operation record does not meet the preset auditing condition, the operation record is analyzed through the server side under the condition that the operation record does not meet the preset auditing condition, a reverse playback operation flow is generated, and the reverse playback operation flow is executed under the CMS production environment, so that the online content is safely rolled back to the state before the online record.
And the preset environment content is the environment content which is in accordance with the expected state after being audited.
The reverse playback operation flow is generated by, but not limited to, a batch of SQL statements, a batch programming language method (function) procedure, or a related hybrid operation, in order to automatically execute the inverse of the user operation selected in the a3 procedure, roll back the related data to a state before the online record, and generate a roll back record.
Further, the acquisition unit 201 includes an acquisition module and an interception module.
And the acquisition module is used for acquiring the content edited by the user in the pre-distribution environment.
The interception module is used for intercepting user operation metadata from the content edited by the user in a preset interception mode; the preset interception mode is a mode of intercepting SQL sentences or programming language functions which support reverse analysis.
Further, the content processing system further includes an operation unit.
The operation unit is used for performing content online operation on the operation record to obtain online content if the operation record meets the service requirement; the service requirements are used for representing and meeting the requirements of the content and the content layout position.
Further, the playback unit 203 includes a comparison module, a determination module, a parsing module, and an execution module.
And the comparison module is used for comparing the online content with the preset environment content.
And the determining module is used for determining that the operation record does not accord with the preset auditing condition if the online content is inconsistent with the preset environment content.
And the analysis module is used for analyzing the operation record and generating a reverse playback operation flow under the condition that the operation record does not accord with the preset auditing condition.
And the execution module is used for executing reverse playback operation flow in the production environment so as to safely roll back the online content to the state before online recording.
Further, the content processing system further comprises a determining unit, a parsing unit and an executing unit.
And the determining unit is used for determining that the operation record meets the preset auditing condition if the online content is consistent with the preset environment content.
And the analysis unit is used for analyzing the operation record to generate a forward playback operation flow under the condition that the operation record meets the preset auditing condition.
An execution unit to execute the forward playback operation stream in a production environment.
Further, the content processing system further comprises an initiating unit.
The starting unit is used for starting the preset environment and providing a service corresponding to the preset environment; the preset environment includes at least a pre-release environment and an online environment.
After the preview content issued by the pre-release environment is verified, the same content is issued to the online environment through the starting unit and is provided for the end user.
In the embodiment of the application, after the user submits the preview content to be checked through the pre-release environment, the content is online in a mode of replaying metadata records in the production environment, so that the consistency of the checked environment content and the actual online content is ensured. When the final online content of the production environment is found to be inconsistent with the audited environment content, the content is safely rolled back through reverse playback operation recording, and the safety risk brought by online content is reduced.
The embodiment of the application also provides a storage medium, which comprises stored instructions, wherein when the instructions are executed, the equipment where the storage medium is located is controlled to execute the content processing method.
An electronic device is provided in an embodiment of the present application, and the structural schematic diagram of the electronic device is shown in fig. 3, which specifically includes a memory 301 and one or more instructions 302, where the one or more instructions 302 are stored in the memory 301, and are configured to be executed by one or more processors 303 to perform the following operations:
acquiring user operation metadata; the user operation metadata is used for representing data operation of a user and a state corresponding to the data operation;
generating a corresponding operation record based on the user operation metadata; the operation record is used for representing preview content corresponding to the user operation metadata issued in a pre-issuing environment;
when the operation record does not accord with the preset auditing condition, the operation record is reversely played back, so that the online content corresponding to the operation record is safely rolled back to the state before the online record; the preset auditing condition is used for verifying whether the online content is consistent with the content of a preset environment; the preset environment content is used for representing the audited environment content.
The specific implementation procedures and derivatives thereof of the above embodiments are within the scope of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments, which are substantially similar to the method embodiments, are described in a relatively simple manner, and reference may be made to some descriptions of the method embodiments for relevant points. The above-described system and system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
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 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.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method for content processing, the method comprising:
acquiring user operation metadata; the user operation metadata is used for representing data operation of a user and a state corresponding to the data operation;
generating a plurality of corresponding operation records based on the user operation metadata; the operation record is used for representing preview content corresponding to the user operation metadata issued in a pre-release environment;
when the operation records which do not accord with the preset auditing condition exist in the operation records, reversely playing back the operation records which do not accord with the preset auditing condition, and safely rolling back the online content corresponding to the operation records which do not accord with the preset auditing condition to a state before the online record; the preset auditing condition is used for verifying whether the online content is consistent with the content of a preset environment or not; the preset environment content is used for representing the audited environment content.
2. The method of claim 1, wherein the obtaining user operation metadata comprises:
acquiring contents edited by a user in a pre-release environment;
intercepting user operation metadata from the content edited by the user in a preset interception mode; the preset interception mode is a mode of supporting reverse analysis for intercepting SQL sentences or programming language functions executed.
3. The method of claim 1, further comprising, after the generating a corresponding operation record based on the user operation metadata:
if the operation record meets the service requirement, performing content online operation on the operation record to obtain online content; the service requirement is used for representing and meeting the requirements of the content and the content layout position.
4. The method according to claim 3, wherein when the operation record does not meet a preset auditing condition, performing reverse playback on the operation record to realize secure rollback of online content comprises:
comparing the online content with the content of a preset environment;
if the online content is inconsistent with the preset environment content, determining that the operation record is not in accordance with a preset auditing condition;
analyzing the operation record to generate a reverse playback operation flow under the condition that the operation record does not accord with the preset auditing condition;
and executing the reverse playback operation flow in a production environment to realize the safe rollback of the online content to a state before online recording.
5. The method of claim 4, further comprising:
if the online content is consistent with the content of the preset environment, determining that the operation record meets the preset auditing condition;
analyzing the operation record to generate a forward playback operation flow under the condition that the operation record meets the preset auditing condition;
executing the forward playback operation stream in a production environment.
6. The method of claim 1, prior to obtaining user operation metadata, further comprising:
starting a preset environment and providing a service corresponding to the preset environment; the preset environment at least comprises a pre-release environment and an online environment.
7. A content processing system, the system comprising:
an acquisition unit configured to acquire user operation metadata; the user operation metadata is used for representing data operation of a user and a state corresponding to the data operation;
a generating unit, configured to generate corresponding multiple operation records based on the user operation metadata; the operation record is used for representing preview content corresponding to the user operation metadata issued in a pre-release environment;
the playback unit is used for reversely playing back the operation records which do not accord with the preset auditing condition when the operation records which do not accord with the preset auditing condition exist in the operation records, so that the online content corresponding to the operation records which do not accord with the preset auditing condition is safely rolled back to the state before online recording; the preset auditing condition is used for verifying whether the online content is consistent with the content of a preset environment; the preset environment content is used for representing the audited environment content.
8. The system of claim 7, wherein the obtaining unit comprises:
the acquisition module is used for acquiring the content edited by the user in the pre-distribution environment;
the interception module is used for acquiring user operation metadata from the content edited by the user in a preset interception mode; the preset interception mode is a mode of supporting reverse analysis for intercepting SQL sentences or programming language functions executed.
9. A storage medium comprising stored instructions, wherein when executed the instructions control a device on which the storage medium resides to perform a content processing method according to any one of claims 1 to 6.
10. An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the content processing method of any one of claims 1 to 6.
CN202210434898.8A 2022-04-24 2022-04-24 Content processing method, system, storage medium and electronic equipment Active CN114528514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210434898.8A CN114528514B (en) 2022-04-24 2022-04-24 Content processing method, system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210434898.8A CN114528514B (en) 2022-04-24 2022-04-24 Content processing method, system, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114528514A CN114528514A (en) 2022-05-24
CN114528514B true CN114528514B (en) 2022-07-12

Family

ID=81627844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210434898.8A Active CN114528514B (en) 2022-04-24 2022-04-24 Content processing method, system, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114528514B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766552A (en) * 2017-11-01 2018-03-06 搜易贷(北京)金融信息服务有限公司 A kind of mysql automatic wire chargings method
CN108415991A (en) * 2018-02-12 2018-08-17 广州市贝聊信息科技有限公司 A kind of SQL checking methods and system
CN108876283A (en) * 2018-04-27 2018-11-23 淘然视界(杭州)科技有限公司 A kind of automatic auditing system and method
CN113111066A (en) * 2021-04-20 2021-07-13 长沙市到家悠享网络科技有限公司 Automatic online method, device and system for database operation work order and computer equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263054B (en) * 2019-05-30 2021-11-09 世纪龙信息网络有限责任公司 SQL work order auditing system, method and device and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766552A (en) * 2017-11-01 2018-03-06 搜易贷(北京)金融信息服务有限公司 A kind of mysql automatic wire chargings method
CN108415991A (en) * 2018-02-12 2018-08-17 广州市贝聊信息科技有限公司 A kind of SQL checking methods and system
CN108876283A (en) * 2018-04-27 2018-11-23 淘然视界(杭州)科技有限公司 A kind of automatic auditing system and method
CN113111066A (en) * 2021-04-20 2021-07-13 长沙市到家悠享网络科技有限公司 Automatic online method, device and system for database operation work order and computer equipment

Also Published As

Publication number Publication date
CN114528514A (en) 2022-05-24

Similar Documents

Publication Publication Date Title
US7376581B2 (en) System and method for providing access to electronic works
CN100590619C (en) Method for analyzing state transition in web page
CN102165430B (en) Multiple parallel user experiences provided by a single set of internet hosting machines
US20110173294A1 (en) Method and system of synchronizing accounting objects between a client and server
US7499904B2 (en) System and method for client mastered replication of local files
US9245142B2 (en) Access control data editing support device and method
MXPA04001927A (en) Method for managing file replication in applications.
JP2001506777A (en) Interactive webbook system
US20050267914A1 (en) Method and apparatus for updating a database using table staging and queued relocation and deletion
US9395979B1 (en) Pre-emptive development conflict resolution
CN114528514B (en) Content processing method, system, storage medium and electronic equipment
CN116756711A (en) Data processing method, device, equipment and medium
JP3594740B2 (en) Homepage management system
US7016898B1 (en) Extension of browser web page content labels and password checking to communications protocols
KR20200106289A (en) Electronic terminal device capable of changing the state of each object in a web-based document creation environment associated with a document editing server and operating method thereof
CN114356848A (en) Metadata management method, computer storage medium and electronic device
CN112819434A (en) Data content auditing method and device
JP3487732B2 (en) Apparatus and method for avoiding duplicate database data inconsistency
US20160063114A1 (en) Content acquisition, protection, and conversion system
CN111966650A (en) Operation and maintenance big data sharing data table processing method and device and storage medium
US20020107911A1 (en) Method for enhancing client side delivery of information from a trusted server
CN114238155B (en) Test method, test platform, test device, server and storage medium
JP7427831B1 (en) Management systems and programs
US20090063503A1 (en) Method and system for remote cache access
CN114996209A (en) Configuration modification method, device, equipment and readable 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