CN108959662B - Content updating method and device - Google Patents

Content updating method and device Download PDF

Info

Publication number
CN108959662B
CN108959662B CN201811010414.7A CN201811010414A CN108959662B CN 108959662 B CN108959662 B CN 108959662B CN 201811010414 A CN201811010414 A CN 201811010414A CN 108959662 B CN108959662 B CN 108959662B
Authority
CN
China
Prior art keywords
content
copy
modified
original
original content
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
CN201811010414.7A
Other languages
Chinese (zh)
Other versions
CN108959662A (en
Inventor
窦平方
徐志军
李升起
王春伟
陈佳佳
朱文飞
周少波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811010414.7A priority Critical patent/CN108959662B/en
Publication of CN108959662A publication Critical patent/CN108959662A/en
Application granted granted Critical
Publication of CN108959662B publication Critical patent/CN108959662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a content updating method and a content updating device, wherein the method comprises the following steps: acquiring a content updating request; the content update request includes: the modified content and the identifier of the original content corresponding to the modified content; according to the modified content, creating a copy corresponding to the original content; the copy includes: the modified content; auditing the copy; and after the verification is passed, updating the original content currently in the distribution state into the modified content, so that the modified content can be distributed after being verified, the distribution quality is ensured, and in the process of verifying the modified content, the original content is continuously distributed, and the transmission quantity of the content is ensured.

Description

Content updating method and device
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a content updating method and apparatus.
Background
There are two main methods for updating online content. The first one is to stop the distribution of the online content, and continue to distribute the online content after the online content is modified and checked; and the second method is that the online content is directly distributed after being modified, then the modified content is audited, and if the audit is not passed, the distribution is stopped.
However, in the first method, the auditing time is long, which greatly affects the propagation timeliness of the content, and causes the propagation volume of the content to drop in a chopping manner. In the second method, the content which is not subjected to the examination is directly distributed, so that the quality of the distributed content is reduced, and the user experience is influenced.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first object of the present invention is to provide a content updating method, which is used to solve the problem in the prior art that the distribution quality and the propagation amount of the content are difficult to satisfy simultaneously when updating the content.
A second object of the present invention is to provide a content update apparatus.
A third object of the present invention is to propose another content update apparatus.
A fourth object of the invention is to propose a non-transitory computer-readable storage medium.
A fifth object of the invention is to propose a computer program product.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a content updating method, including:
acquiring a content updating request; the content update request comprises: the modified content and the identifier of the original content corresponding to the modified content;
creating a copy corresponding to the original content according to the modified content; the copy includes: the modified content;
auditing the copy;
and after the verification is passed, updating the original content currently in the distribution state into the modified content.
Further, the creating a copy corresponding to the original content according to the modified content includes:
creating a copy, the copy comprising: the modified content and the identifier of the original content;
acquiring the identification of the copy;
and adding the identification of the copy to the original content.
Further, before creating a copy corresponding to the original content according to the modified content, the method further includes:
judging whether a created copy corresponding to the original content exists or not;
correspondingly, the creating a copy corresponding to the original content according to the modified content includes:
and if the created copy exists, replacing the content in the created copy with the modified content to obtain the copy.
Further, after the updating the original content currently in the distribution state to the modified content, the method further includes:
setting the copy to be in an invalid state, and deleting the identifier of the copy in the original content;
correspondingly, the creating the copy includes:
judging whether a copy in an invalid state exists or not;
if the copies in the invalid state exist, setting one copy in the invalid state as the valid state;
and replacing the content in the copy set to be in the valid state with the modified content and the identifier of the original content.
According to the content updating method, the content updating request is obtained; the content update request includes: the modified content and the identifier of the original content corresponding to the modified content; creating a copy corresponding to the original content according to the modified content; the copy includes: modified content; auditing the copy; and after the verification is passed, updating the original content in the distribution state to the modified content, so that the modified content can be distributed after being verified, the distribution quality is ensured, and in the process of verifying the modified content, the original content is continuously distributed, and the transmission quantity of the content is ensured.
To achieve the above object, a second embodiment of the present invention provides a content update apparatus, including:
the acquisition module is used for acquiring a content updating request; the content update request comprises: the modified content and the identifier of the original content corresponding to the modified content;
the creation module is used for creating a copy corresponding to the original content according to the modified content; the copy includes: the modified content;
the auditing module is used for auditing the copy;
and the updating module is used for updating the original content in the distribution state into the modified content after the verification is passed.
Further, the creating module is specifically configured to,
creating a copy, the copy comprising: the modified content and the identifier of the original content;
acquiring the identification of the copy;
and adding the identification of the copy to the original content.
Further, the apparatus further comprises:
the judging module is used for judging whether the created copy corresponding to the original content exists or not;
correspondingly, the creation module is specifically configured to,
and when the created copy exists, replacing the content in the created copy with the modified content to obtain the copy.
Further, the device further comprises:
a deleting module, configured to set the copy to an invalid state, and delete the identifier of the copy in the original content;
correspondingly, the creating module is specifically configured to,
judging whether a copy in an invalid state exists or not;
if the copies in the invalid state exist, setting one copy in the invalid state as the valid state;
and replacing the content in the copy set to be in the valid state with the modified content and the identifier of the original content.
The content updating device of the embodiment of the invention obtains the content updating request; the content update request comprises: the modified content and the identifier of the original content corresponding to the modified content; creating a copy corresponding to the original content according to the modified content; the copy includes: the modified content; auditing the copy; and after the verification is passed, updating the original content in the distribution state to the modified content, so that the modified content can be distributed after being verified, the distribution quality is ensured, and in the process of verifying the modified content, the original content is continuously distributed, and the transmission quantity of the content is ensured.
To achieve the above object, a third aspect of the present invention provides another content update apparatus, including: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the content updating method as described above when executing the program.
In order to achieve the above object, a fourth aspect of the present invention provides a computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the content updating method as described above.
In order to achieve the above object, a fifth embodiment of the present invention provides a computer program product, which when executed by an instruction processor in the computer program product, implements the content updating method as described above.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a content updating method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a content update apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of another content update apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another content update apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another content update apparatus according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and intended to explain the present invention and should not be construed as limiting the present invention.
A content update method and apparatus according to an embodiment of the present invention are described below with reference to the drawings.
Fig. 1 is a flowchart illustrating a content updating method according to an embodiment of the present invention. As shown in fig. 1, the content update method includes the steps of:
s101, acquiring a content updating request; the content update request comprises: the modified content, and an identification of the original content corresponding to the modified content.
The execution main body of the content updating method provided by the invention is a content updating device, and the content updating device can be hardware equipment such as terminal equipment, a server, a content creation platform and the like, or software installed on the hardware equipment. In this embodiment, a content update apparatus is taken as an example of a content creation platform.
In this embodiment, the content creation platform obtains the content update request in a manner that, when the content creation platform obtains the original content submitted by the user creation terminal, the original content is audited, and the original content is distributed after the audit is passed; and then if the original content is modified by the user creation terminal and the modified content is submitted to the content creation platform when the modification is completed and the distribution is determined to be needed, the content creation platform acquires a content updating request of the user creation terminal.
In this embodiment, when a user modifies the original content, the original content is displayed on the user creation terminal, and a corresponding key is displayed, and after the user presses the corresponding key, the content being modified is displayed in a copy form, so that the user can modify the content and know the difference between the modified content and the original content. At this time, a button such as release may be displayed on the display interface of the user authoring terminal, and when the user presses the button such as release, it is determined that the modification is completed, and a content update request is sent to the content authoring platform.
In this embodiment, the identifier of the original content may be an identifier that can uniquely identify the original content, such as a serial number of the original content.
S102, creating a copy corresponding to the original content according to the modified content; the copy includes: the modified content.
In this embodiment, the process of the content creation platform executing step 102 may specifically be to create a copy, where the copy includes: the modified content and the identifier of the original content; acquiring an identifier of the copy; and adding the identification of the copy to the original content. The identification of the original content is added in the copy, and the identification of the copy is added in the original content, so that the association relationship between the original content and the copy can be established, and after the copy is approved, the original content can be updated in time according to the association relationship between the copy and the original content.
Further, on the basis of the above embodiment, before step 102, the method may further include the following steps: it is determined whether there is a created copy corresponding to the original content. The created copy refers to a copy that has been created for the original content before the copy is created this time, and the copy has not been checked or the check has not passed. Correspondingly, the process of the content creation platform executing step 102 may specifically be that, if there is a created copy, the content in the created copy is replaced with the modified content to obtain the copy. If the copy does not exist, creating the copy, wherein the copy comprises: the modified content and the identifier of the original content; acquiring an identifier of the copy; the identity of the copy is added to the original content.
In the embodiment, under the condition that the created copy exists, the content in the created copy is replaced by the modified content to obtain the copy, and the identity of the copy can be ensured to be consistent with the identity of the previously created copy, so that frequent modification of the identity of the copy in the original content is avoided, frequent creation of the copy is also avoided, and the creation time of the copy is shortened.
And S103, checking the copy.
And S104, after the verification is passed, updating the original content in the distribution state to the modified content.
In this embodiment, after the copy review is passed, the content creation platform may replace the original content currently in the distribution state with the copy content that has been passed through the review, that is, stop using the original content for distribution, and use the copy content that has been passed through the review for distribution, so that continuous distribution of the content can be achieved, and the quality of the distributed content is ensured.
In addition, if the copy audit is not passed, the original content is continuously adopted for distribution, and the copy content waits for further modification of the user.
Further, on the basis of the above embodiment, after step 104, the method may further include the following steps: and setting the copy to be in an invalid state, and deleting the identification of the copy in the original content. Correspondingly, the process of creating the copy by the content updating apparatus may specifically be to determine whether there is a copy in an invalid state; if the copies in the invalid state exist, setting one copy in the invalid state as the valid state; and replacing the content in the copy set to be in the effective state with the modified content and the identifier of the original content.
In this embodiment, after the original content currently in the distribution state is updated to the modified content, the modified content is used as the updated original content, and then the copy may be set to the invalid state, and the identifier of the copy in the original content is deleted. The copy set to be in an invalid state is not subjected to operations such as auditing and the like; only the copy set to the valid state can be subjected to operations such as auditing and the like. Correspondingly, when the content updating device creates the copies, whether the copies in the invalid state exist or not can be judged, if so, one of the copies is selected as the valid state, and the content is replaced; if not, a copy is created and corresponding content is added.
In this embodiment, after the original content currently in the distribution state is updated to the modified content, the copy is set to the invalid state, and the identifier of the copy in the original content is deleted, which can reduce the number of deleted or newly created copies, avoid repeated memory allocation or memory recovery, and improve the content update efficiency.
According to the content updating method, the content updating request is obtained; the content update request includes: the modified content and the identifier of the original content corresponding to the modified content; creating a copy corresponding to the original content according to the modified content; the copy includes: modified content; auditing the copy; and after the verification is passed, updating the original content in the distribution state to the modified content, so that the modified content can be distributed after being verified, the distribution quality is ensured, and in the process of verifying the modified content, the original content is continuously distributed, and the transmission quantity of the content is ensured.
Fig. 2 is a schematic structural diagram of a content update apparatus according to an embodiment of the present invention. As shown in fig. 2, includes: an acquisition module 21, a creation module 22, an auditing module 23 and an updating module 24.
The obtaining module 21 is configured to obtain a content update request; the content update request comprises: the modified content and the identification of the original content corresponding to the modified content;
a creating module 22, configured to create a copy corresponding to the original content according to the modified content; the copy includes: the modified content;
the auditing module 23 is used for auditing the copies;
and the updating module 24 is configured to update the original content currently in the distribution state to the modified content after the auditing is passed.
The content updating device provided by the invention can be hardware equipment such as terminal equipment, a server, a content creation platform and the like, or software installed on the hardware equipment. In this embodiment, a content update apparatus is taken as an example of a content creation platform.
In this embodiment, the mode of acquiring the content update request by the acquisition module 21 is that when the content creation platform acquires the original content submitted by the user creation terminal, the original content is checked, and the original content is distributed after the check is passed; and then if the original content is modified by the user creation terminal and the modified content is submitted to the content creation platform when the modification is completed and the distribution is determined to be needed, the content creation platform acquires a content updating request of the user creation terminal.
In this embodiment, when a user modifies the original content, the original content is displayed on the user creation terminal, and a corresponding key is displayed, and after the user presses the corresponding key, the content being modified is displayed in a copy form, so that the user can modify the content and know the difference between the modified content and the original content. At this time, a button for publishing and the like may be displayed on the display interface of the user authoring terminal, and when the user presses the button for publishing and the like, it is determined that the modification is completed, and a content update request is sent to the content authoring platform.
Further, on the basis of the above embodiment, the creating module 22 may be specifically configured to create a copy, where the copy includes: the modified content and the identification of the original content; acquiring an identifier of the copy; and adding the identification of the copy to the original content. The identification of the original content is added in the copy, and the identification of the copy is added in the original content, so that the association relationship between the original content and the copy can be established, and after the copy is approved, the original content can be updated in time according to the association relationship between the copy and the original content.
Further, with reference to fig. 3, on the basis of the embodiment shown in fig. 2, the apparatus may further include: and a judging module 25, configured to judge whether a created copy corresponding to the original content exists. The created copy refers to a copy that has been created for the original content before the copy is created this time, and the copy has not been checked yet or has not been checked successfully. Correspondingly, the creating module 22 may be specifically configured to, when there is a created copy, replace the content in the created copy with the modified content to obtain the copy. If the created copy does not exist, creating the copy, wherein the copy comprises the following steps: the modified content and the identifier of the original content; acquiring an identifier of the copy; the identity of the copy is added to the original content.
In this embodiment, in the case that the created copy exists, the content in the created copy is replaced with the modified content to obtain the copy, and it is possible to ensure that the copy is consistent with the identifier of the previously created copy, thereby avoiding frequent modification of the identifier of the copy in the original content, and also avoiding frequent creation of the copy, and thus shortening the time for creating the copy.
In this embodiment, after the copy review is passed, the content creation platform may replace the original content currently in the distribution state with the copy content that has been passed through the review, that is, stop using the original content for distribution, and use the copy content that has been passed through the review for distribution, so that continuous distribution of the content can be achieved, and the quality of the distributed content is ensured.
Further, with reference to fig. 4, on the basis of the embodiment shown in fig. 2 or fig. 3, the apparatus may further include: and the deleting module 26 is used for setting the copy to be in an invalid state and deleting the identification of the copy in the original content. Correspondingly, the creating module 22 may be specifically configured to determine whether a copy in an invalid state exists; if the copies in the invalid state exist, setting one copy in the invalid state as the valid state; and replacing the content in the copy set to be in the effective state with the modified content and the identifier of the original content.
In this embodiment, after the original content currently in the distribution state is updated to the modified content, the modified content is used as the updated original content, and then the copy may be set to the invalid state, and the identifier of the copy in the original content is deleted. The copy set to be in an invalid state is not subjected to operations such as auditing and the like; only the copy set to the valid state is subjected to operations such as auditing and the like. Correspondingly, when the content updating device creates the copies, whether the copies in the invalid state exist or not can be judged, if yes, one copy is selected to be in the valid state, and the content is replaced; and if not, creating a copy and adding corresponding content.
In this embodiment, after the original content currently in the distribution state is updated to the modified content, the copy is set to the invalid state, and the identifier of the copy in the original content is deleted, so that the number of the deleted or newly-created copies can be reduced, repeated memory allocation or memory recovery is avoided, and the content update efficiency is improved.
The content updating device of the embodiment of the invention acquires the content updating request; the content update request includes: the modified content and the identifier of the original content corresponding to the modified content; according to the modified content, creating a copy corresponding to the original content; the copy includes: modified content; auditing the copy; and after the verification is passed, updating the original content in the distribution state to the modified content, so that the modified content can be distributed after being verified, the distribution quality is ensured, and in the process of verifying the modified content, the original content is continuously distributed, and the transmission quantity of the content is ensured.
Fig. 5 is a schematic structural diagram of another content update apparatus according to an embodiment of the present invention. The content update apparatus includes:
memory 1001, processor 1002, and computer programs stored on memory 1001 and executable on processor 1002.
The processor 1002, when executing the program, implements the content update method provided in the above-described embodiment.
Further, the content update apparatus further includes:
a communication interface 1003 for communicating between the memory 1001 and the processor 1002.
A memory 1001 for storing computer programs that can be run on the processor 1002.
Memory 1001 may include high-speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
The processor 1002 is configured to implement the content updating method according to the foregoing embodiment when executing the program.
If the memory 1001, the processor 1002, and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001, and the processor 1002 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 1001, the processor 1002 and the communication interface 1003 are integrated on one chip, the memory 1001, the processor 1002 and the communication interface 1003 may complete communication therebetween through an internal interface.
The processor 1002 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
The present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a content updating method as described above.
The present invention also provides a computer program product, which when executed by an instruction processor in the computer program product, implements the content updating method as described above.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Further, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried out in the method of implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (8)

1. A method for content update, comprising:
acquiring a content updating request; the content update request comprises: the modified content and the identification of the original content corresponding to the modified content;
creating a copy corresponding to the original content according to the modified content; the copy includes: the modified content;
auditing the copy;
after the verification is passed, updating the original content in the distribution state to the modified content in the copy;
setting the copy to be in an invalid state, and deleting the identification of the copy in the original content;
correspondingly, the creating a copy corresponding to the original content includes:
judging whether a copy in an invalid state exists or not;
if the copies in the invalid state exist, setting one copy in the invalid state as the valid state;
and replacing the content in the copy which is set to be in the effective state with the modified content and the identifier of the original content.
2. The method of claim 1, wherein the creating a copy corresponding to the original content according to the modified content comprises:
creating a copy, the copy comprising: the modified content and the identifier of the original content;
acquiring the identification of the copy;
and adding the identification of the copy to the original content.
3. The method according to claim 1, wherein before creating the copy corresponding to the original content according to the modified content, further comprising:
judging whether an established copy corresponding to the original content exists or not;
correspondingly, the creating a copy corresponding to the original content according to the modified content includes:
and if the created copy exists, replacing the content in the created copy with the modified content to obtain the copy.
4. A content update apparatus, comprising:
the acquisition module is used for acquiring a content updating request; the content update request comprises: the modified content and the identification of the original content corresponding to the modified content;
a creating module for creating a copy corresponding to the original content according to the modified content; the copy includes: the modified content;
the auditing module is used for auditing the copy;
the updating module is used for updating the original content in the distribution state to the modified content in the copy after the examination is passed;
the deleting module is used for setting the copy to be in an invalid state and deleting the identification of the copy in the original content;
correspondingly, the creating module is specifically configured to,
judging whether a copy in an invalid state exists or not;
if the copies in the invalid state exist, setting one copy in the invalid state as the valid state;
and replacing the content in the copy which is set to be in the effective state with the modified content and the identifier of the original content.
5. The apparatus of claim 4, wherein the creation module is specific to,
creating a copy, the copy comprising: the modified content and the identifier of the original content;
acquiring the identification of the copy;
and adding the identification of the copy to the original content.
6. The apparatus of claim 4, further comprising:
the judging module is used for judging whether a created copy corresponding to the original content exists or not;
correspondingly, the creating module is specifically configured to,
and when the created copy exists, replacing the content in the created copy with the modified content to obtain the copy.
7. A content update apparatus, comprising:
memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the content updating method according to any of claims 1-3 when executing the program.
8. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements a content update method according to any one of claims 1 to 3.
CN201811010414.7A 2018-08-31 2018-08-31 Content updating method and device Active CN108959662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811010414.7A CN108959662B (en) 2018-08-31 2018-08-31 Content updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811010414.7A CN108959662B (en) 2018-08-31 2018-08-31 Content updating method and device

Publications (2)

Publication Number Publication Date
CN108959662A CN108959662A (en) 2018-12-07
CN108959662B true CN108959662B (en) 2022-09-27

Family

ID=64475360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811010414.7A Active CN108959662B (en) 2018-08-31 2018-08-31 Content updating method and device

Country Status (1)

Country Link
CN (1) CN108959662B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738567B (en) * 2020-12-22 2023-03-10 北京百度网讯科技有限公司 Platform content processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101326492A (en) * 2005-10-06 2008-12-17 雷德本德有限公司 Methods and systems for updating content including a compressed version
CN103559139A (en) * 2013-10-23 2014-02-05 华为技术有限公司 Data storage method and device
CN106055701A (en) * 2016-06-21 2016-10-26 武汉斗鱼网络科技有限公司 Forum content approving and publishing method and device
CN106250388A (en) * 2016-07-15 2016-12-21 西安测绘研究所 A kind of method updating geography information with map making data that links
CN107566904A (en) * 2017-08-31 2018-01-09 海信电子科技(深圳)有限公司 A kind of resource data updating method and set-top box device
CN107741889A (en) * 2017-09-01 2018-02-27 广州视源电子科技股份有限公司 Document recovery method, system, readable storage medium storing program for executing and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101326492A (en) * 2005-10-06 2008-12-17 雷德本德有限公司 Methods and systems for updating content including a compressed version
CN103559139A (en) * 2013-10-23 2014-02-05 华为技术有限公司 Data storage method and device
CN106055701A (en) * 2016-06-21 2016-10-26 武汉斗鱼网络科技有限公司 Forum content approving and publishing method and device
CN106250388A (en) * 2016-07-15 2016-12-21 西安测绘研究所 A kind of method updating geography information with map making data that links
CN107566904A (en) * 2017-08-31 2018-01-09 海信电子科技(深圳)有限公司 A kind of resource data updating method and set-top box device
CN107741889A (en) * 2017-09-01 2018-02-27 广州视源电子科技股份有限公司 Document recovery method, system, readable storage medium storing program for executing and terminal

Also Published As

Publication number Publication date
CN108959662A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108073519B (en) Test case generation method and device
CN108268024B (en) Vehicle diagnosis method, device, terminal and computer-readable storage medium
CN111045933B (en) Regression strategy updating method and device, storage medium and terminal equipment
CN108874426B (en) Application program updating method and device and readable storage medium
CN111104392A (en) Database migration method and device, electronic equipment and storage medium
US9389990B2 (en) Self verifying device driver for multi-version compatible data manipulation devices
CN108959662B (en) Content updating method and device
CN104363112A (en) Parameter management method and parameter management device
CN107784230B (en) The restorative procedure and device of page loophole
CN111693294A (en) Vehicle detection method and device, terminal equipment and storage medium
CN105045671A (en) Method and device for upgrading systems of intelligent terminals
CN110908943A (en) Board card automatic adapting method, device, network equipment and storage medium
CN112333246B (en) ABtest experiment method and device, intelligent terminal and storage medium
CN109254791A (en) Develop management method, computer readable storage medium and the terminal device of data
US10257285B2 (en) Resource migration method and apparatus
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN111966375A (en) Firmware upgrading method, system, equipment and computer readable storage medium
CN104869531A (en) Group member update method and device
CN111159262A (en) Automatic driving simulation data processing method and device
CN112149696B (en) Training method and device for graph embedding model
CN104111846A (en) Page data loading method and device
CN109242701B (en) Method and device for submitting bill-feeding application and computer equipment
CN109697356B (en) Application software permission adaptation method and device
US7739678B2 (en) Managing updates in an object oriented software system
JP7102783B2 (en) System management equipment, system management methods, and programs

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