CN114661332A - Material replacing method and device and management equipment - Google Patents

Material replacing method and device and management equipment Download PDF

Info

Publication number
CN114661332A
CN114661332A CN202210225107.0A CN202210225107A CN114661332A CN 114661332 A CN114661332 A CN 114661332A CN 202210225107 A CN202210225107 A CN 202210225107A CN 114661332 A CN114661332 A CN 114661332A
Authority
CN
China
Prior art keywords
edited
replacement
information
editing
replacing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210225107.0A
Other languages
Chinese (zh)
Other versions
CN114661332B (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 Spacetime Ink Technology Co ltd
Original Assignee
Beijing Spacetime Ink 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 Spacetime Ink Technology Co ltd filed Critical Beijing Spacetime Ink Technology Co ltd
Priority to CN202210225107.0A priority Critical patent/CN114661332B/en
Publication of CN114661332A publication Critical patent/CN114661332A/en
Application granted granted Critical
Publication of CN114661332B publication Critical patent/CN114661332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

Abstract

The invention relates to the technical field of material editing, in particular to a method, a device and a management device for replacing a material, wherein the method comprises the steps of acquiring replacement information for replacing the currently edited material; judging whether a replacement material corresponding to the replacement information and a current edited material belong to the same category; if the replacement material and the current edited material belong to the same category, judging whether only the freely edited part in the current edited material is edited; and if only the free editing part in the current edited material is edited, translating the content at the free editing part in the edited material to the free editing part of the replacement material to realize the replacement of the material. By adopting the technical scheme of the invention, the free editing part can be reserved, the direct replacement of the material is realized, the process of repeated editing by a program engineer is avoided, and the time is effectively saved.

Description

Material replacing method and device and management equipment
Technical Field
The invention relates to the technical field of material editing, in particular to a material replacing method, a material replacing device and management equipment.
Background
The materials are acquired through the open-source material library, repeated code editing work of a program engineer can be avoided, the work efficiency of the program engineer is improved, and the progress of science and technology can be promoted to a certain extent through sharing the code materials.
At present, a program engineer acquires a material from an open-source material library, and then further edits the acquired material to achieve a desired effect. However, the forward engineer needs to select and replace the material many times to achieve the final effect. Because each material of the source material library in the prior art is independent, when a program engineer replaces a new material, the content edited by the program engineer needs to be edited again, and when the currently used material is updated, if the program engineer needs to update own software, the program engineer needs to download the material of the latest version to edit again, so that errors are easily caused and time is wasted in the process of repeated editing.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, and a management device for replacing a material, so as to overcome the problems that an error is easily caused and time is wasted in a repeated editing process at present.
In order to achieve the purpose, the invention adopts the following technical scheme:
in one aspect, the present invention provides a method for replacing a material, including:
acquiring replacement information for replacing the currently edited material from a material library;
judging whether the replacement material corresponding to the replacement information and the current edited material belong to the same category;
if the replacement material and the current edited material belong to the same category, judging whether only a freely edited part in the current edited material is edited;
and if only the free editing part in the current edited material is edited, translating the content at the free editing part in the edited material to the free editing part of the replacement material to realize the replacement of the material.
Further, the method for replacing a material described above, where the determining whether the replacement material corresponding to the replacement information and the currently edited material belong to the same category includes:
comparing whether the source information and the category information of the replacement material and the current edited material are the same;
and if the source information and the category information of the replacement material and the current edited material are the same, indicating that the replacement material corresponding to the replacement information and the current edited material belong to the same category.
Further, the above method for replacing material, after comparing whether the source information and the category information of the replaced material and the current edited material are the same, further includes:
if the source information and the category information of the replacement material and the current edited material are different, comparing the range of the free edited part in the replacement material with the range of the free edited part in the current edited material;
and if the range of the free editing part in the replacement material covers the range of the free editing part in the current edited material, indicating that the replacement material corresponding to the replacement information and the current edited material belong to the same category.
Further, the method for replacing a material described above, before the obtaining of the replacement information for replacing the currently edited material, further includes:
acquiring uploaded materials;
and determining the source information, the category information, the unique information, the starting and ending information, the free editing part and the limited editing part of the material.
Further, the above method for replacing material, wherein the replacement information at least includes source information and unique information of the replacement material;
before the obtaining of the replacement information for replacing the currently edited material from the material library, the method further includes:
acquiring the source information and/or the unique information;
and feeding back matched materials consistent with the source information and/or the unique information and associated materials associated with the source information and/or the unique information so as to facilitate a user to determine the replacement materials from the matched materials and the associated materials.
Further, the method for replacing a material described above, after determining whether only a freely edited portion of the currently edited material is edited, further includes:
if the editing limiting part in the current edited material is edited, outputting a risk prompt;
acquiring feedback information of the risk prompt;
and if the feedback information is direct replacement, translating the content at the free editing part in the edited material to the free editing part of the replaced material to realize the replacement of the material, so that the user manually corrects the limited editing part after the material is replaced.
Further, the method for replacing the material further includes:
if the free editing part is detected to be edited, generating an editing record of the free editing part;
if the editing limitation part is detected to be edited, generating an editing record of the editing limitation part;
and combining the editing record of the free editing part and the editing record of the limited editing part into an editing history record.
Further, the method for replacing a material according to the foregoing, wherein the determining whether only a freely-edited portion of the currently-edited material is edited includes:
acquiring an editing history record of the current edited material;
an edit record of the editing-restricted portion is detected in the edit history to determine whether only a free-editing portion of the currently edited material is edited.
In another aspect, the present invention provides a material replacing apparatus, including:
the acquisition module is used for acquiring replacement information for replacing the current edited material from the material library;
the judging module is used for judging whether the replacement material corresponding to the replacement information and the current edited material belong to the same category;
the judging module is further configured to judge whether only a freely edited portion of the currently edited material is edited if the replacement material and the currently edited material belong to the same category;
and the replacing module is used for translating the content at the free editing part in the edited material to the free editing part of the replacing material to realize the replacement of the material if only the free editing part in the current edited material is edited.
In another aspect, the present invention provides a material management apparatus, including a processor and a memory;
the processor is connected with the memory;
the processor is configured to execute a program stored in the memory, the program configured to perform the method of replacing material as described in any of the above;
wherein, the management equipment of the material is block chain equipment; the block chain equipment is connected with a plurality of material libraries in which materials are stored.
The invention relates to a method, a device and a management device for replacing materials, wherein the method comprises the steps of acquiring replacement information for replacing a currently edited material; judging whether a replacement material corresponding to the replacement information and a current edited material belong to the same category; if the replacement material and the current edited material belong to the same category, judging whether only the freely edited part in the current edited material is edited; and if only the free editing part in the current edited material is edited, translating the content at the free editing part in the edited material to the free editing part of the replacement material, and realizing the replacement of the material. By adopting the technical scheme of the invention, the free editing part can be reserved, the direct replacement of the material is realized, the process of repeated editing by a program engineer is avoided, and the time is effectively saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart provided by one embodiment of an alternative method of the present invention;
FIG. 2 is a schematic diagram of a structure provided by an embodiment of an apparatus for replacing materials according to the present invention;
fig. 3 is a schematic structural diagram provided by an embodiment of the material management device of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
Fig. 1 is a flow chart provided by one embodiment of an alternative method of the present invention. As shown in fig. 1, the method of the present embodiment may include the following steps:
s11, obtaining replacement information for replacing the currently edited material from the material library.
The material library of this embodiment includes various materials. After new materials are added into the material library, labels can be added according to the attributes of the materials. The label comprises source information, category information, unique information, start and end information, a free editing part and a limited editing part. In addition, materials that have an associative relationship, such as type-related, may also be associated together.
The source information refers to information of the material publisher, including ID of the publisher and the link of the publication; the category information refers to a category to which the material belongs; the unique information refers to a unique ID and a version ID provided by the source of the material; the starting and ending information refers to information for marking the starting position and the ending position of the material, namely the position information of the material in a corresponding document or the whole content, and if the material has a plurality of segments, the starting and ending of the material are a list; the free edit part refers to a part which can be freely edited by a user, and generally sets an editable range of the free edit part, and the limit edit part is a part which does not suggest the user to modify the edit.
If the user wants to use the materials, the user can directly determine the materials needed by the user in the material library according to the category information and the unique information for editing and using. In this embodiment, after the replacement information is obtained, the replacement material for replacing the currently edited material may be determined in the material library according to the replacement information.
And S12, judging whether the replacement material corresponding to the replacement information and the current edited material belong to the same category.
In this embodiment, it is determined whether the replacement material and the currently edited material belong to the same category.
In an alternative embodiment, it may be determined whether the replacement material and the currently edited material belong to the same category by: comparing whether the source information and the category information of the replacement material and the current edited material are the same or not; and if the source information and the category information of the replacement material and the current edited material are the same, indicating that the replacement material corresponding to the replacement information and the current edited material belong to the same category.
Specifically, the source information and the category information of the replacement material and the currently edited material may be compared, and if the source information and the category information of the replacement material and the currently edited material are the same, it indicates that the replacement material and the currently edited material are from the same creator, and the category information is the same, and the replacement material and the currently edited material belong to the same category.
In an optional embodiment, if the source information and the category information of the replacement material and the current edited material are different from each other, comparing the range of the free edited portion in the replacement material with the range of the free edited portion in the current edited material; and if the range of the free editing part in the replacement material covers the range of the free editing part in the current edited material, the replacement material corresponding to the replacement information and the current edited material belong to the same category.
Specifically, in this embodiment, if the source information of the replacement material is different from that of the currently edited material, or the type information of the replacement material is different from that of the current edited material, or the source information and the type information of the replacement material are different from that of the current edited material, the range of the freely edited part in the replacement material can be further compared with that in the current edited material, if the extent of the freely edited portion in the replacement material covers the extent of the freely edited portion in the currently edited material, that is to say the extent of the freely edited portion in the replacement material is greater than the extent of the freely edited portion in the currently edited material, or the range of the free editing part in the replacement material is equal to the range of the free editing part in the current edited material, and the replacement material corresponding to the replacement information and the current edited material belong to the same category.
And S13, if the replacing material and the current edited material belong to the same category, judging whether only the freely edited part in the current edited material is edited.
In this embodiment, if it is determined that the replacement material and the currently edited material belong to the same category through the judgment, it may be further judged whether only the freely edited portion of the currently edited material is edited. Specifically, the content of the edit restriction portion is not recommended to the user for editing, and if the user edits the edit restriction portion, a data loss or an error may occur.
Therefore, in the present embodiment, the portion edited by the user is detected to determine whether the user has edited only the freely-edited portion.
And S14, if only the free editing part in the current edited material is edited, translating the content at the free editing part in the edited material to the free editing part of the replacement material to realize the replacement of the material.
In this embodiment, if it is detected that only the free editing portion is edited, when the current edited material is replaced with the replacement material, it is only necessary to shift the content at the free editing portion in the edited material to the free editing portion of the replacement material.
In an alternative embodiment, if it is detected that the restricted editing section is also edited, outputting a risk prompt; acquiring feedback information of risk prompt; and if the feedback information is direct replacement, translating the content at the free editing part in the edited material to the free editing part of the replaced material to realize the replacement of the material, so that the user manually corrects the editing limiting part after the material is replaced.
Specifically, if it is detected that the editing-restricted part is also edited, a risk prompt may be output to inform the user that there may be a risk of data loss or data error, so that the user may determine the next operation according to the risk prompt. In the embodiment of the application, after the feedback information of the direct replacement is acquired, the content at the free editing part in the edited material can be directly translated to the free editing part of the replaced material, so that the material is replaced, and the user can manually check the correction limit editing part line by line after the material is replaced. If the user selects to abandon the replacement, the information of abandoning the replacement can be fed back, and in the embodiment of the application, after the information of abandoning the replacement is acquired, the replacement can not be carried out.
The material replacing method of the embodiment comprises the steps of obtaining replacing information for replacing a currently edited material; judging whether a replacement material corresponding to the replacement information and a current edited material belong to the same category; if the replacement material and the current edited material belong to the same category, judging whether only the freely edited part in the current edited material is edited; and if only the free editing part in the current edited material is edited, translating the content at the free editing part in the edited material to the free editing part of the replacement material, and realizing the replacement of the material. By adopting the technical scheme of the invention, the free editing part can be reserved, the direct replacement of the material is realized, the process of repeated editing by a program engineer is avoided, and the time is effectively saved.
In an alternative embodiment, the replacement information at least includes source information and unique information of the replacement material, and before the step of the above embodiment obtains the replacement information for replacing the currently edited material from the material library, the following steps may be further included:
acquiring source information and/or unique information;
matching material consistent with the source information and/or the unique information and associated material associated with the source information and/or the unique information are fed back so that a user can determine replacement material from the matching material and the associated material.
Specifically, when the user queries the replacement material, the user may input the source information of the required replacement material, or input the unique information of the replacement material, or input the source information and the unique information of the replacement material at the same time.
After the source information and/or the unique information input by the user are acquired, the matching material consistent with the source information and/or the unique information input by the user and the associated material associated with the source information and/or the unique information input by the user can be inquired, and the matching material and the associated material are fed back to the user, so that the user can determine the required replacement material based on the matching material and the associated material.
It should be noted that when the associated replacement material information is fed back, the matched material needs to be fed back preferentially, and then the associated material needs to be fed back, and the associated material should be output in a descending order according to the relevance, so as to improve the search efficiency of the user.
In an optional embodiment, on the basis of the above embodiment, the method may further include the following steps: if the free editing part is detected to be edited, generating an editing record of the free editing part; if the editing limitation part is detected to be edited, generating an editing record of the editing limitation part; the edit record of the free edit section and the edit record of the limited edit section are combined into an edit history.
Specifically, the present embodiment can generate a history record according to the operation of the user. Specifically, if it is detected that the free editing portion is edited, an editing record of the free editing portion may be generated, and if it is detected that the editing-restricted portion is edited, an editing record of the editing-restricted portion may be generated, where a list formed by the two editing records is the editing history record of the present embodiment.
In an alternative embodiment, step S13 of the above embodiment may include the following sub-steps: acquiring an editing history record of a current edited material; an edit record in which an editing section is restricted is detected in the edit history to determine whether only a free editing section in the currently edited material is edited.
Specifically, the present embodiment provides a method for determining whether only a free editing portion of a currently edited material is edited, that is, looking up a history of the currently edited material, determining whether an editing record of an editing restriction portion exists, and if an editing record of an editing restriction portion exists in the history of the currently edited material, indicating that a user has edited the content of the editing restriction portion.
Based on a general inventive concept, the present invention further provides a material replacement apparatus for implementing the above method embodiments. Fig. 2 is a schematic structural diagram provided by an embodiment of the device for replacing the material of the present invention. As shown in fig. 2, the apparatus of the present embodiment includes:
an obtaining module 21, configured to obtain, from a material library, replacement information for replacing a currently edited material;
the judging module 22 is configured to judge whether a replacement material corresponding to the replacement information and a currently edited material belong to the same category;
the judging module 22 is further configured to, if the replacement material and the currently edited material belong to the same category, judge whether only the freely edited portion of the currently edited material is edited;
and the replacing module 23 is configured to, if only the free editing part in the currently edited material is edited, translate the content at the free editing part in the edited material to the free editing part of the replacing material, so as to replace the material.
In an optional embodiment, the determining module 22 is specifically configured to compare whether the source information and the category information of the replacement material and the currently edited material are the same; and if the source information and the category information of the replacement material and the current edited material are the same, indicating that the replacement material corresponding to the replacement information and the current edited material belong to the same category.
In an optional embodiment, the determining module 22 is further configured to compare the range of the freely edited portion in the replacement material with the range of the freely edited portion in the current edited material if at least one of the source information and the category information of the replacement material and the current edited material is different; and if the range of the free editing part in the replacement material covers the range of the free editing part in the current edited material, the replacement material corresponding to the replacement information and the current edited material belong to the same category.
In an alternative embodiment, the apparatus for replacing material further comprises a determining module;
the ground determining module is used for acquiring the uploaded materials; source information, category information, unique information, start/end information, a free edit section, and a limited edit section of the material are determined.
In an alternative embodiment, the replacement information includes at least source information and unique information of the replacement material; the material replacing device also comprises a feedback module;
the feedback module is used for acquiring replacement information for replacing the current edited material from the material library,
acquiring source information and/or unique information; matching material consistent with the source information and/or the unique information and associated material associated with the source information and/or the unique information are fed back so that a user can determine replacement material from the matching material and the associated material.
In an optional embodiment, the device for replacing the material further comprises a risk prompt module;
the risk prompt module is used for outputting a risk prompt if the editing limiting part in the current edited material is edited; acquiring feedback information of risk prompt; and if the feedback information is direct replacement, translating the content at the free editing part in the edited material to the free editing part of the replaced material to realize the replacement of the material, so that the user manually corrects the editing limiting part after the material is replaced.
In an alternative embodiment, the apparatus for replacing material further comprises a history module;
the history recording module is used for generating an editing record of the free editing part if the free editing part is detected to be edited; if the editing limitation part is detected to be edited, generating an editing record of the editing limitation part; the edit record of the free edit section and the edit record of the limited edit section are combined into an edit history.
In an optional embodiment, the determining module 22 is specifically configured to obtain an editing history of a currently edited material; an edit record in which an editing section is restricted is detected in the edit history to determine whether only a free editing section in the currently edited material is edited.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
The invention also provides a material management device used for realizing the method embodiment. Fig. 3 is a schematic structural diagram provided by an embodiment of the material management device of the present invention. As shown in fig. 3, the material management apparatus of the present embodiment includes a processor 31 and a memory 32, and the processor 31 is connected to the memory 32. Wherein, the processor 31 is used for calling and executing the program stored in the memory 32; the memory 32 is used to store a program for executing at least the method of replacing the material in the above embodiment.
In an alternative embodiment, the material management device is a blockchain device; the block chain equipment is connected with a plurality of material libraries in which materials are stored. Therefore, the alternative method of the material of the above embodiment can be stored in the blockchain, and decentralized material management is realized.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
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 specific logical functions or steps of the 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.
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. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, 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 by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present 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.
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 do not necessarily 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.
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 (10)

1. A method of replacing material, comprising:
acquiring replacement information for replacing the currently edited material from a material library;
judging whether the replacement material corresponding to the replacement information and the current edited material belong to the same category;
if the replacement material and the current edited material belong to the same category, judging whether only a freely edited part in the current edited material is edited;
and if only the free editing part in the current edited material is edited, translating the content at the free editing part in the edited material to the free editing part of the replaced material to realize the replacement of the material.
2. The method for replacing a material according to claim 1, wherein the determining whether the replacement material corresponding to the replacement information and the currently edited material belong to the same category comprises:
comparing whether the source information and the category information of the replacement material and the current edited material are the same;
and if the source information and the category information of the replacement material and the current edited material are the same, indicating that the replacement material corresponding to the replacement information and the current edited material belong to the same category.
3. The method of replacing material as claimed in claim 2 wherein said comparing whether the source information and category information of the replacement material and the currently edited material are the same further comprises:
if the source information and the category information of the replacement material and the current edited material are different, comparing the range of the free edited part in the replacement material with the range of the free edited part in the current edited material;
and if the range of the free editing part in the replacement material covers the range of the free editing part in the current edited material, indicating that the replacement material corresponding to the replacement information and the current edited material belong to the same category.
4. A method of replacing material as claimed in claim 1, wherein before the obtaining of the replacement information for replacing the currently edited material, the method further comprises:
acquiring uploaded materials;
and determining the source information, the category information, the unique information, the starting and ending information, the free editing part and the limited editing part of the material.
5. A method of replacing material as claimed in claim 4, wherein the replacement information includes at least source information and unique information of the replacement material;
before the obtaining of the replacement information for replacing the currently edited material from the material library, the method further includes:
acquiring the source information and/or the unique information;
and feeding back matched materials consistent with the source information and/or the unique information and associated materials associated with the source information and/or the unique information so as to facilitate a user to determine the replacement materials from the matched materials and the associated materials.
6. The method of replacing a material as claimed in claim 1, wherein said determining whether only the freely edited portion of the currently edited material has been edited further comprises:
if the editing limiting part in the current edited material is edited, outputting a risk prompt;
acquiring feedback information of the risk prompt;
and if the feedback information is direct replacement, translating the content at the free editing part in the edited material to the free editing part of the replaced material to realize the replacement of the material, so that the user manually corrects the limited editing part after the material is replaced.
7. A method of replacing material as claimed in claim 6, further comprising:
if the free editing part is detected to be edited, generating an editing record of the free editing part;
if the editing restriction part is detected to be edited, generating an editing record of the editing restriction part;
and combining the editing record of the free editing part and the editing record of the limited editing part into an editing history record.
8. The method of replacing a material as claimed in claim 7, wherein said determining whether only a freely edited portion of the currently edited material is edited comprises:
acquiring an editing history record of the current edited material;
an edit record of the editing restricted portion is detected in the edit history to determine whether only a free editing portion of the currently edited material is edited.
9. An apparatus for replacing a material, comprising:
the acquisition module is used for acquiring replacement information for replacing the current edited material from the material library;
the judging module is used for judging whether the replacement material corresponding to the replacement information and the current edited material belong to the same category;
the judging module is further configured to judge whether only a freely edited portion of the currently edited material is edited if the replacement material and the currently edited material belong to the same category;
and the replacing module is used for translating the content at the free editing part in the edited material to the free editing part of the replacing material to realize the replacement of the material if only the free editing part in the current edited material is edited.
10. A management apparatus of a material, comprising a processor and a memory;
the processor is connected with the memory;
the processor being configured to execute a program stored in the memory, the program being configured to perform a method of replacing material as claimed in any of claims 1-8;
wherein, the management equipment of the material is block chain equipment; the block chain equipment is connected with a plurality of material libraries in which materials are stored.
CN202210225107.0A 2022-03-07 2022-03-07 Material replacing method and device and management equipment Active CN114661332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210225107.0A CN114661332B (en) 2022-03-07 2022-03-07 Material replacing method and device and management equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210225107.0A CN114661332B (en) 2022-03-07 2022-03-07 Material replacing method and device and management equipment

Publications (2)

Publication Number Publication Date
CN114661332A true CN114661332A (en) 2022-06-24
CN114661332B CN114661332B (en) 2022-09-16

Family

ID=82028603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210225107.0A Active CN114661332B (en) 2022-03-07 2022-03-07 Material replacing method and device and management equipment

Country Status (1)

Country Link
CN (1) CN114661332B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168417A (en) * 2014-05-20 2014-11-26 腾讯科技(深圳)有限公司 Picture processing method and device
US20190196698A1 (en) * 2017-12-22 2019-06-27 Adobe Inc. Removing and Replacing Objects in Images According to a Directed User Conversation
CN112449231A (en) * 2019-08-30 2021-03-05 腾讯科技(深圳)有限公司 Multimedia file material processing method and device, electronic equipment and storage medium
CN113254846A (en) * 2021-07-15 2021-08-13 北京轻松筹信息技术有限公司 Material pushing method and device and electronic equipment
CN114020314A (en) * 2022-01-04 2022-02-08 江苏赫奕科技有限公司 Interface material updating method and system suitable for vehicle instrument
CN114092362A (en) * 2021-02-07 2022-02-25 北京沃东天骏信息技术有限公司 Panoramic picture loading method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168417A (en) * 2014-05-20 2014-11-26 腾讯科技(深圳)有限公司 Picture processing method and device
US20190196698A1 (en) * 2017-12-22 2019-06-27 Adobe Inc. Removing and Replacing Objects in Images According to a Directed User Conversation
CN112449231A (en) * 2019-08-30 2021-03-05 腾讯科技(深圳)有限公司 Multimedia file material processing method and device, electronic equipment and storage medium
CN114092362A (en) * 2021-02-07 2022-02-25 北京沃东天骏信息技术有限公司 Panoramic picture loading method and device
CN113254846A (en) * 2021-07-15 2021-08-13 北京轻松筹信息技术有限公司 Material pushing method and device and electronic equipment
CN114020314A (en) * 2022-01-04 2022-02-08 江苏赫奕科技有限公司 Interface material updating method and system suitable for vehicle instrument

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈笑春 等: "混剪视频版权纠纷中合理使用的素材标准", 《青年记者》 *

Also Published As

Publication number Publication date
CN114661332B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
US7739679B2 (en) Object ordering tool for facilitating generation of firmware update friendly binary image
US9411576B2 (en) Software version management for executing replacement actions
CN107329765B (en) Program file processing method and device
US20110093841A1 (en) Method and system for updating versions of content stored in a storage device
US20080222216A1 (en) Application migration file scanning and conversion
US8397055B2 (en) Method and system for post-build modification of firmware binaries to support different hardware configurations
CN113312033A (en) Template protocol generation and management method
US8196093B2 (en) Apparatus and method for componentizing legacy system
CN112162751A (en) Automatic generation method and system of interface document
CN114661332B (en) Material replacing method and device and management equipment
CN113703755A (en) Code generation method and code generation device
JP2004070810A (en) Visual programming system, visual programming method, program for visual programming, and storage medium containing the program
CN115686589A (en) Entity class file updating system and method, corresponding computer equipment and storage medium
JP2007079906A (en) Source code generator
CN113282284A (en) Packing method and packing system adaptive to multiple customized projects
CN106681914B (en) Television picture quality debugging method and device
KR101726120B1 (en) Program editing device, program editing method and computer readable recoding medium for recording program editing program
JP5149063B2 (en) Data comparison apparatus and program
CN116302078B (en) Code file merging method and device, storage medium and computer equipment
CN111858494B (en) File acquisition method and device, storage medium and electronic equipment
US20230229667A1 (en) Data Processing Method And Apparatus, And Device
JP2012123664A (en) Build execution support system, build execution support method, and build execution support program
CN113971206A (en) Corpus processing method and device, electronic equipment and storage medium
CN106528183B (en) Method and device for creating control and computer program
CN113778448A (en) Method for automatically generating front-end page based on YApi interface document

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