CN111400245A - Art resource migration method and device - Google Patents

Art resource migration method and device Download PDF

Info

Publication number
CN111400245A
CN111400245A CN202010219208.8A CN202010219208A CN111400245A CN 111400245 A CN111400245 A CN 111400245A CN 202010219208 A CN202010219208 A CN 202010219208A CN 111400245 A CN111400245 A CN 111400245A
Authority
CN
China
Prior art keywords
art
resource
database
migrated
resources
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
CN202010219208.8A
Other languages
Chinese (zh)
Other versions
CN111400245B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010219208.8A priority Critical patent/CN111400245B/en
Publication of CN111400245A publication Critical patent/CN111400245A/en
Application granted granted Critical
Publication of CN111400245B publication Critical patent/CN111400245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/119Details of migration of file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an art resource migration method and device. Wherein, the method comprises the following steps: acquiring an art sheet number corresponding to the art resource to be migrated; determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number; and migrating the art resources to be migrated in the first database to a second database according to the resource submission log, wherein the first database is used for storing the manufactured art resources, and the second database is used for storing the art resources to be released. The invention solves the technical problems that in the art, resources are transferred by manual operation in the art, which is inefficient and easy to make mistakes.

Description

Art resource migration method and device
Technical Field
The invention relates to the field of data processing, in particular to an art resource migration method and device.
Background
In the prior art, in consideration of the long manufacturing period of many art resources and the stability of the external resources, there are usually one art resource warehouse a for art development and manufacturing and one art resource warehouse B for external resources. Before the new edition of art resources are released, the resources to be released in the warehouse A need to be completely migrated to the warehouse B, and then the testing and releasing are carried out. Therefore, how to migrate the art resources efficiently and ensuring the migration accuracy is an objective problem.
In order to solve the problems in the prior art, generally, art workers can add or modify resources for many times according to needs, submit the resources through a version management tool, sort the added or modified resource files after the needs are completed, and arrange the resource files into a resource migration list, so that the resource migration workers can migrate the art resources according to the resource migration list when migrating the art resources. However, the current art resource migration scheme still has the following defects: the art extraction omission resources are difficult to find in the migration process; because the manufacturing period of the art resources is long, the manual production resource migration list is easy to make mistakes; the whole migration process is too much in manual participation, is relatively inefficient and is prone to errors.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an art resource migration method and device, which at least solve the technical problems that in an art resource migration scheme in the prior art, manual resource migration is inefficient and prone to errors.
According to an aspect of an embodiment of the present invention, there is provided an art resource migration method, including: acquiring an art sheet number corresponding to the art resource to be migrated; determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number; and migrating the art resources to be migrated in the first database to a second database according to the resource submission log, wherein the first database is used for storing the manufactured art resources, and the second database is used for storing the art resources to be released.
Optionally, before obtaining the art sheet number corresponding to the art resource to be migrated, the method further includes: detecting whether a resource submission request is received, wherein the resource submission request is used for requesting to store the finished art resources to the first database; if the resource submitting request is received, detecting whether the resource submitting request carries the following information: the finished art resource is manufactured, and the art sheet number of the finished art resource is manufactured; and storing the manufactured art resources in the first database according to the art sheet numbers of the manufactured art resources.
Optionally, migrating the to-be-migrated art resource in the first database to the second database according to the resource submission log, including: according to the resource submission log, positioning a storage address for storing the art resource to be migrated in the first database; acquiring the art resource to be migrated stored in the storage address; and migrating the obtained art resource to be migrated to the second database.
Optionally, after the to-be-migrated art resource in the first database is migrated to the second database according to the resource submission log, the method further includes: acquiring a target text file in the art resource to be released in the second database; determining a reference file of the target text file; detecting whether the reference file exists in the second database or not to obtain a detection result; and determining whether to migrate the reference file from the first database or not based on the detection result.
Optionally, determining whether to migrate the reference file from the first database based on the detection result includes: if the fact that the reference file does not exist in the second database is detected, searching the reference file from the first database, and when the reference file is searched from the first data, migrating the reference file from the first database to the second database; and if the reference file exists in the second database, determining that the reference file does not need to be migrated from the first database.
Optionally, the method further includes: and if the fact that the reference file does not exist in the second database and the fact that the reference file does not exist in the first database is detected, outputting alarm prompt information, wherein the alarm prompt information is used for prompting that art resources corresponding to the reference file are submitted to the first database.
According to another aspect of the embodiments of the present invention, there is also provided an art resource migration apparatus including: the acquisition module is used for acquiring the art sheet number corresponding to the art resource to be migrated; the determining module is used for determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number; and the migration module is used for migrating the art resources to be migrated in the first database to a second database according to the resource submission log, wherein the first database is used for storing the manufactured art resources, and the second database is used for storing the art resources to be released.
Optionally, the apparatus further comprises: the first detection module is used for detecting whether a resource submission request is received or not, wherein the resource submission request is used for requesting to store the finished art resources to the first database; a second detection module, configured to detect whether the resource submission request carries the following information if the resource submission request is received: the finished art resource is manufactured, and the art sheet number of the finished art resource is manufactured; and the storage module is used for storing the manufactured art resources in the first database according to the art sheet numbers of the manufactured art resources.
According to another aspect of the embodiments of the present invention, there is provided a storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus on which the storage medium is located is controlled to execute any one of the above art resource migration methods.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes any one of the above art resource migration methods.
In the embodiment of the invention, a mode of automatically transferring the art resources needing to be externally placed is adopted, and the art sheet number corresponding to the art resources to be transferred is obtained; determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number; according to the resource submission log, the to-be-migrated art resources in the first database are migrated to the second database, the first database is used for storing the manufactured art resources, the second database is used for storing the to-be-released art resources, the purpose that the art resources need to be placed outside through automatic migration is achieved, and the time for migrating the art resources is greatly shortened, so that the technical effects of improving the efficiency and accuracy of migrating the art resources are achieved, further, the art resource migration scheme in the prior art is solved, and the technical problems that the resources are migrated more inefficiently and easily make mistakes through manual operation are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of an art resource migration according to an embodiment of the present invention;
FIG. 2 is a flow diagram of an alternative migration of art assets according to an embodiment of the present invention;
FIG. 3 is a flow diagram of an alternative migration of art assets according to an embodiment of the invention;
fig. 4 is a schematic structural diagram of an art resource migration apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided an embodiment of an art resource migration method, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that described herein.
Fig. 1 is a flowchart of art resource migration according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step S102, obtaining an art sheet number corresponding to the art resource to be migrated;
step S104, determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number;
and step S106, migrating the art resources to be migrated in a first database to a second database according to the resource submission log, wherein the first database is used for storing the manufactured art resources, and the second database is used for storing the art resources to be released.
In the embodiment of the invention, a mode of automatically transferring the art resources needing to be externally placed is adopted, and the art sheet number corresponding to the art resources to be transferred is obtained; determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number; according to the resource submission log, the to-be-migrated art resources in the first database are migrated to the second database, the first database is used for storing the manufactured art resources, the second database is used for storing the to-be-released art resources, the purpose that the art resources need to be placed outside through automatic migration is achieved, and the time for migrating the art resources is greatly shortened, so that the technical effects of improving the efficiency and accuracy of migrating the art resources are achieved, further, the art resource migration scheme in the prior art is solved, and the technical problems that the resources are migrated more inefficiently and easily make mistakes through manual operation are solved.
In an optional embodiment, the first database is used to store the manufactured art resources, and the manufactured art resources need to be discontinuously and discontinuously stored in the first database due to a long manufacturing process of the art resources, and the manufactured art resources stored in the first database are not completely released, and part of the art resources that need to be released need to be migrated from the first database to the second database first and then released, so that the second database is used to store the art resources to be released, that is, the art resources that need to be released.
Optionally, the finished art resources submitted by the art personnel through the version control system SVN must be successfully submitted in the submission log according to a predetermined format (for example, the predetermined format may be # corresponding to the art document number + the description of the specific submission content).
Optionally, the art sheet number of the art resource to be migrated may be a submission sheet number or an art production sheet number of the art resource to be migrated, and the art sheet number is automatically generated when an art sheet is planned on redmine, and is used to represent a task sheet (a submission sheet or a production sheet, etc.) corresponding to the art resource to be migrated.
In the embodiment of the application, the submission order number corresponding to the art resource to be migrated is acquired, the resource submission log corresponding to the art resource to be migrated is determined based on the art order number through the version control system SVN, and the operation of migrating the art resource to be migrated in the first database to the second database according to the resource submission log can be completed through script automation.
Optionally, in this embodiment of the application, the svn log instruction may be called through python, a resource submission log corresponding to the art resource to be migrated is determined according to a submission order number of the art resource to be migrated, a resource submission file list corresponding to the art resource to be migrated is generated, then the art resource to be migrated, which is submitted corresponding to the resource submission log, is located according to the resource submission log and the automatically generated resource submission file list, and the art resource to be migrated is migrated through the script.
According to the embodiment of the application, the submission flow of the art resources can be effectively standardized, the lists of the transferred art resources do not need to be additionally and manually arranged by art workers, and the resource submission logs corresponding to the art resources to be transferred can be determined based on the art sheet numbers only by providing the art sheet numbers (such as the submission sheet numbers) corresponding to the art resources to be transferred by the art workers; according to the resource submission log, the to-be-migrated art resources in the first database are migrated to the second database, repeated manual operation in the art resource migration process can be achieved through automatic machine operation, missing migration and mistaken migration operation caused in the manual migration process are avoided, the art resources needing to be placed outside through automatic migration are achieved, the time for migrating the art resources is greatly shortened, and therefore the technical effects of improving the efficiency and accuracy of migrating the art resources are achieved.
In an optional embodiment, fig. 2 is a flowchart of optional art resource migration according to an embodiment of the present invention, and as shown in fig. 2, before acquiring an art document number corresponding to an art resource to be migrated, the method further includes:
step S202, detecting whether a resource submission request is received, wherein the resource submission request is used for requesting to store the finished art resource to the first database;
step S204, if the resource submission request is received, detecting whether the resource submission request carries the following information: the finished art resource is manufactured, and the art sheet number of the finished art resource is manufactured;
step S206, storing the produced art resources in the first database according to the art sheet number of the produced art resources.
Optionally, the resource submission request is used to request that the finished art resource is stored in the first database; the art sheet number of the art resource to be migrated can be a submission sheet number or an art production sheet number of the art resource to be migrated; the art resources finished by the manufacturing method comprise: the art resources to be migrated are described above.
In the above optional embodiment, if the resource submission request is received, it is detected whether the resource submission request carries the following information: the finished art resource is manufactured, and the art sheet number of the finished art resource is manufactured; and under the condition that the resource submission request is detected to carry the finished art resource and the art sheet number of the finished art resource, storing the finished art resource in the first database according to the art sheet number of the finished art resource.
In an optional embodiment, the submission form number or the art production form number is generally automatically generated by a planner who submits a form on a cross-platform project management system, and then when the artist submits the finished art resource to the first database through the version control system SVN, the submission form number or the art production form number needs to be marked in a resource submission log, for example, if the art resource and the submission form number (or the art production form number) are submitted at this time: 1234 are associated with each other, so that the artist must submit the resource submission log in the format of "# 1234+ detailed content description" before the finished art resource can be successfully submitted and stored in the first database.
In an optional embodiment, fig. 3 is a flowchart of an optional art resource migration according to an embodiment of the present invention, and as shown in fig. 3, migrating the art resource to be migrated in the first database to the second database according to the resource submission log includes:
step S302, according to the resource submission log, positioning a storage address for storing the art resource to be migrated in the first database;
step S304, obtaining the art resource to be migrated stored in the storage address;
and step S306, migrating the obtained art resource to be migrated to the second database.
In this embodiment of the application, the svn log instruction may be called through python, a corresponding resource submission log is determined according to a submission order number of the art resource to be migrated, a resource submission file list corresponding to the art resource to be migrated is generated, then, according to the resource submission log and the automatically generated resource submission file list, a storage address where the art resource to be migrated is stored in the first database is located, the art resource to be migrated stored in the storage address is obtained, and the obtained art resource to be migrated is migrated to the second database.
In an optional embodiment, after the to-be-migrated art resource in the first database is migrated to the second database according to the resource submission log, the method further includes:
step S402, acquiring a target text file in the art resource to be released in the second database;
step S404, determining a reference file of the target text file;
step S406, detecting whether the reference file exists in the second database to obtain a detection result;
step S408, determining whether to migrate the reference file from the first database based on the detection result.
Optionally, the target text file may be a special effect file, a model file, or the like, and the format of the target text file may be, but is not limited to, an xml format; the reference file may be a map file referenced by the special effect file.
In the above optional embodiment, after the art resource to be migrated is migrated from the first database to the second database, the target text file in the xml format in the art resource to be published, for example, a special effect file, a model file, a reference file of a map, an action, and the like that may be referred to by the target text file, may be analyzed by detecting the art resource to be published in the second database, and whether the reference file of the target text file is completely migrated to the second database is detected.
In an optional embodiment, determining whether to migrate the reference file from the first database based on the detection result includes:
step S502, if it is detected that the reference file does not exist in the second database, searching the reference file from the first database, and when the reference file is searched from the first data, migrating the reference file from the first database to the second database;
step S504, if it is detected that the reference file exists in the second database, it is determined that the reference file does not need to be migrated from the first database.
As an optional embodiment, if it is detected that the reference file is not migrated to the second database in advance and the reference file is stored in the first database, the reference file is migrated from the first database to the second database; if the reference file is detected to be migrated to the second database in advance, the reference file does not need to be migrated again.
As another optional embodiment, when it is detected that the reference file does not exist in the second database and the reference file does not exist in the first database, an alarm prompt message is output, where the alarm prompt message is used to prompt that an art resource corresponding to the reference file is submitted to the first database.
In the optional embodiment, if it is detected that the cited document is not migrated to the second database in advance and the cited document is not stored in the first database, an alarm prompt message is output, and further, the target object is prompted to submit the art resource corresponding to the cited document to the first database by outputting the alarm prompt message, and then the art resource corresponding to the cited document is migrated from the first database to the second database by using the art resource migration method provided in the embodiment of the present application.
According to an embodiment of the present invention, there is further provided an apparatus embodiment for implementing the art resource migration method, and fig. 4 is a schematic structural diagram of an art resource migration apparatus according to an embodiment of the present invention, and as shown in fig. 4, the art resource migration apparatus includes: an acquisition module 40, a determination module 42, and a migration module 44, wherein:
the acquisition module 40 is used for acquiring the art sheet number corresponding to the art resource to be migrated; a determining module 42, configured to determine, based on the art slip number, a resource submission log corresponding to the art resource to be migrated; and a migration module 44, configured to migrate the art resource to be migrated in the first database to a second database according to the resource submission log, where the first database is used to store the manufactured art resource, and the second database is used to store the art resource to be released.
Optionally, the apparatus further comprises: the first detection module is used for detecting whether a resource submission request is received or not, wherein the resource submission request is used for requesting to store the finished art resources to the first database; a second detection module, configured to detect whether the resource submission request carries the following information if the resource submission request is received: the finished art resource is manufactured, and the art sheet number of the finished art resource is manufactured; the storage module is used for storing the art resources finished by the manufacturing in the first database according to the art sheet number of the art resources finished by the manufacturing, wherein the art resources finished by the manufacturing comprise: the art resources to be migrated are described above.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted here that the above-mentioned obtaining module 40, determining module 42 and migrating module 44 correspond to steps S102 to S106 in embodiment 1, and the above-mentioned modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to what is disclosed in embodiment 1. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
It should be noted that, reference may be made to the relevant description in embodiment 1 for alternative or preferred embodiments of this embodiment, and details are not described here again.
The art resource migration apparatus may further include a processor and a memory, where the obtaining module 40, the determining module 42, the migration module 44, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to the embodiment of the application, the embodiment of the storage medium is also provided. Optionally, in this embodiment, the storage medium includes a stored program, and the apparatus on which the storage medium is located is controlled to execute the any one of the art resource migration methods when the program runs.
Optionally, in this embodiment, the storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals, and the storage medium includes a stored program.
Optionally, the program controls the device on which the storage medium is located to perform the following functions when running: acquiring an art sheet number corresponding to the art resource to be migrated; determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number; and migrating the art resources to be migrated in the first database to a second database according to the resource submission log, wherein the first database is used for storing the manufactured art resources, and the second database is used for storing the art resources to be released.
According to the embodiment of the application, the embodiment of the processor is also provided. Optionally, in this embodiment, the processor is configured to execute a program, where the program executes any one of the art resource migration methods.
The embodiment of the application provides equipment, the equipment comprises a processor, a memory and a program which is stored on the memory and can run on the processor, and the following steps are realized when the processor executes the program: acquiring an art sheet number corresponding to the art resource to be migrated; determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number; and migrating the art resources to be migrated in the first database to a second database according to the resource submission log, wherein the first database is used for storing the manufactured art resources, and the second database is used for storing the art resources to be released.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring an art sheet number corresponding to the art resource to be migrated; determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number; and migrating the art resources to be migrated in the first database to a second database according to the resource submission log, wherein the first database is used for storing the manufactured art resources, and the second database is used for storing the art resources to be released.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. An art resource migration method, comprising:
acquiring an art sheet number corresponding to the art resource to be migrated;
determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number;
and migrating the art resources to be migrated in a first database to a second database according to the resource submission log, wherein the first database is used for storing the manufactured art resources, and the second database is used for storing the art resources to be released.
2. The method according to claim 1, wherein before acquiring the art slip number of the art resource to be migrated, the method further comprises:
detecting whether a resource submission request is received, wherein the resource submission request is used for requesting to store the finished art resources to the first database;
if the resource submission request is received, detecting whether the resource submission request carries the following information: the finished art resource is manufactured, and the art sheet number of the finished art resource is manufactured;
and storing the manufactured art resources in the first database according to the art sheet numbers of the manufactured art resources.
3. The method of claim 1, wherein migrating the to-be-migrated art resource in a first database to a second database according to the resource submission log comprises:
positioning a storage address for storing the art resource to be migrated in the first database according to the resource submission log;
acquiring the art resources to be migrated stored in the storage address;
and migrating the obtained art resources to be migrated to the second database.
4. The method of claim 1, wherein after migrating the to-be-migrated art resource in the first database to the second database according to the resource submission log, the method further comprises:
acquiring a target text file in the art resource to be released in the second database;
determining a reference file of the target text file;
detecting whether the reference file exists in the second database or not to obtain a detection result;
determining whether to migrate the reference file from the first database based on the detection result.
5. The method of claim 4, wherein determining whether to migrate the reference file from the first database based on the detection result comprises:
if the fact that the reference file does not exist in the second database is detected, searching the reference file from the first database, and when the reference file is searched from the first data, migrating the reference file from the first database to the second database;
and if the reference file exists in the second database, determining that the reference file does not need to be migrated from the first database.
6. The method of claim 4, further comprising:
and if the fact that the reference file does not exist in the second database and the fact that the reference file does not exist in the first database is detected, outputting alarm prompt information, wherein the alarm prompt information is used for prompting that art resources corresponding to the reference file are submitted to the first database.
7. An art resource migration apparatus, comprising:
the acquisition module is used for acquiring the art sheet number corresponding to the art resource to be migrated;
the determining module is used for determining a resource submission log corresponding to the art resource to be migrated based on the art sheet number;
and the migration module is used for migrating the art resources to be migrated in the first database to a second database according to the resource submission log, wherein the first database is used for storing the manufactured art resources, and the second database is used for storing the art resources to be released.
8. The apparatus of claim 7, further comprising:
the first detection module is used for detecting whether a resource submission request is received or not, wherein the resource submission request is used for requesting that the manufactured art resources are stored in the first database;
a second detection module, configured to detect whether the resource submission request carries the following information if the resource submission request is received: the finished art resource is manufactured, and the art sheet number of the finished art resource is manufactured;
and the storage module is used for storing the manufactured art resources in the first database according to the art sheet numbers of the manufactured art resources.
9. A storage medium comprising a stored program, wherein the program, when executed, controls an apparatus in which the storage medium is located to perform the art resource migration method according to any one of claims 1 to 6.
10. A processor for executing a program, wherein the program executes the art resource migration method according to any one of claims 1 to 6.
CN202010219208.8A 2020-03-25 2020-03-25 Art resource migration method and device Active CN111400245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010219208.8A CN111400245B (en) 2020-03-25 2020-03-25 Art resource migration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010219208.8A CN111400245B (en) 2020-03-25 2020-03-25 Art resource migration method and device

Publications (2)

Publication Number Publication Date
CN111400245A true CN111400245A (en) 2020-07-10
CN111400245B CN111400245B (en) 2023-09-26

Family

ID=71433027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010219208.8A Active CN111400245B (en) 2020-03-25 2020-03-25 Art resource migration method and device

Country Status (1)

Country Link
CN (1) CN111400245B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925851A (en) * 2021-02-26 2021-06-08 杭州网易再顾科技有限公司 Single number processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102150150A (en) * 2008-09-11 2011-08-10 微软公司 Techniques for resource location and migration across data centers
CN103731693A (en) * 2013-12-25 2014-04-16 华为技术有限公司 Method, device and system for transferring resources
CN106407115A (en) * 2016-09-20 2017-02-15 网易(杭州)网络有限公司 An art resource file testing method and device
CN110659255A (en) * 2018-06-28 2020-01-07 武汉斗鱼网络科技有限公司 Data migration method, device and system and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102150150A (en) * 2008-09-11 2011-08-10 微软公司 Techniques for resource location and migration across data centers
CN103731693A (en) * 2013-12-25 2014-04-16 华为技术有限公司 Method, device and system for transferring resources
CN106407115A (en) * 2016-09-20 2017-02-15 网易(杭州)网络有限公司 An art resource file testing method and device
CN110659255A (en) * 2018-06-28 2020-01-07 武汉斗鱼网络科技有限公司 Data migration method, device and system and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925851A (en) * 2021-02-26 2021-06-08 杭州网易再顾科技有限公司 Single number processing method and device, electronic equipment and storage medium
CN112925851B (en) * 2021-02-26 2023-06-13 杭州网易再顾科技有限公司 Single number processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111400245B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
CN104317618B (en) A kind of firmware partition treating method and apparatus
CN107025224B (en) Method and equipment for monitoring task operation
CN110515795B (en) Big data component monitoring method and device and electronic equipment
CN113448862B (en) Software version testing method and device and computer equipment
CN106547658B (en) Automatic testing method and device
CN112100359A (en) Test case searching method, device, equipment and storage medium
CN107798120B (en) Data conversion method and device
CN107357721B (en) Method and device for testing system
CN112328631A (en) Production fault analysis method and device, electronic equipment and storage medium
CN110908907A (en) Web page testing method, device, equipment and storage medium
CN111400245B (en) Art resource migration method and device
CN116431522A (en) Automatic test method and system for low-code object storage gateway
CN116599881A (en) Cloud platform tenant modeling test method, device, equipment and storage medium
CN117763024A (en) Data fragment extraction method and device
CN112559313A (en) Test case setting method and device, storage medium and electronic equipment
CN113435168B (en) Automatic editing method, system, terminal and medium for glue pattern
US20240012831A1 (en) Data exchange method and apparatus, readable storage medium, and data exchange system
CN113886906A (en) CAD drawing loading method, font file replacing method, device and storage medium
CN115705297A (en) Code call detection method, device, computer equipment and storage medium
CN111159006B (en) Automatic testing method and device
CN109426720B (en) Interface parameter verification method and related device
CN113282504A (en) Incremental code coverage rate detection method and service development method and device
CN112286792A (en) Interface testing method, device, equipment and storage medium
CN116010349B (en) Metadata-based data checking method and device, electronic equipment and storage medium
CN111221821A (en) AI model iterative updating method, electronic equipment and storage medium

Legal Events

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