CN111400245B - Art resource migration method and device - Google Patents

Art resource migration method and device Download PDF

Info

Publication number
CN111400245B
CN111400245B CN202010219208.8A CN202010219208A CN111400245B CN 111400245 B CN111400245 B CN 111400245B CN 202010219208 A CN202010219208 A CN 202010219208A CN 111400245 B CN111400245 B CN 111400245B
Authority
CN
China
Prior art keywords
resource
art
database
migrated
manufactured
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010219208.8A
Other languages
Chinese (zh)
Other versions
CN111400245A (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

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 application discloses an art resource migration method and device. Wherein the method comprises the following steps: acquiring an art number corresponding to an art resource to be migrated; determining a resource submission log corresponding to the art resource to be migrated based on the art list number; and migrating the art resources to be migrated in a first database to a second database according to the resource submitting 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 published. The application solves the technical problems of low efficiency and easy error of manual resource migration by adopting an art resource migration scheme in the prior art.

Description

Art resource migration method and device
Technical Field
The application 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 is generally one art resource warehouse a for art development and manufacturing and one art resource warehouse B for external use. Before the new version of the art resource is put out, the whole resource to be put out in the warehouse A needs to be migrated to the warehouse B, and then the test is put out. Therefore, how to efficiently migrate the art resources and ensuring the accuracy of the migration are objectively presented as a problem.
In order to solve the problems in the prior art, usually, an artist will add resources newly or repeatedly according to the needs, then submit the resources through a version management tool, and comb the newly added or modified resource files after the needs are completed, and arrange the newly added or modified resource files into a resource migration list, so that the artist can migrate the art resources according to the resource migration list when migrating the art resources. However, the above-mentioned current art resource migration scheme still has the following drawbacks: the art missed resource is difficult to find in the migration process; because the art resource manufacturing period is long, the manual production resource migration list is easy to make mistakes; the whole migration process is more labor-involved, is relatively inefficient and is prone to error.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides an art resource migration method and an art resource migration device, which at least solve the technical problems that an art resource migration scheme in the prior art is low in efficiency and easy to make mistakes by manually migrating resources.
According to an aspect of an embodiment of the present application, there is provided an art resource migration method, including: acquiring an art number corresponding to an art resource to be migrated; determining a resource submission log corresponding to the art resource to be migrated based on the art list number; and migrating the art resources to be migrated in a first database to a second database according to the resource submitting 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 published.
Optionally, before obtaining the art list number corresponding to the art resource to be migrated, the method further includes: detecting whether a resource submitting request is received, wherein the resource submitting request is used for requesting to store the manufactured art resource into the first database; if the resource submitting request is received, detecting whether the resource submitting request carries the following information: the manufactured art resource and the art bill number of the manufactured art resource; and storing the manufactured art resource in the first database according to the art bill number of the manufactured art resource.
Optionally, migrating the to-be-migrated art resource in the first database to the second database according to the resource submission log includes: 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 resource to be migrated stored in the storage address; and migrating the acquired art resource to be migrated to the second database.
Optionally, 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 includes: acquiring a target text file in an 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 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 second database is detected to be free of the reference file, 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; if the second database is detected to store the reference file, determining that the reference file does not need to be migrated from the first database.
Optionally, the method further comprises: and if the fact that the reference file does not exist in the second database and 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 embodiment of the present application, there is also provided an art resource migration apparatus, including: the acquisition module is used for acquiring an art list number corresponding to the art resource to be migrated; the determining module is used for determining a resource submitting log corresponding to the art resource to be migrated based on the art serial number; and the migration module is used for migrating the art resources to be migrated in the first database to the 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 includes: the first detection module is used for detecting whether a resource submitting request is received, wherein the resource submitting request is used for requesting to store the manufactured art resource into the first database; the second detection module is configured to detect whether the resource submission request carries the following information if the resource submission request is received: the manufactured art resource and the art bill number of the manufactured art resource; and the storage module is used for storing the manufactured art resource in the first database according to the art list number of the manufactured art resource.
According to another aspect of the embodiment of the present application, there is further provided a storage medium, where the storage medium includes a stored program, and the device in which the storage medium is controlled to execute any one of the above-described art resource migration methods when the program runs.
According to another aspect of the embodiment of the present application, there is further provided a processor, where the processor is configured to run a program, and any one of the above-mentioned art resource migration methods is executed when the program runs.
In the embodiment of the application, an art resource needing to be externally put is automatically migrated, and an art list number corresponding to the art resource to be migrated is obtained; determining a resource submission log corresponding to the art resource to be migrated based on the art list number; according to the resource submitting log, the art resource to be migrated in the first database is migrated to the second database, wherein the first database is used for storing the manufactured art resource, and the second database is used for storing the art resource to be released, so that the purpose of greatly shortening the time for migrating the art resource through automatic migration of the art resource to be released is achieved, the technical effects of improving the efficiency and accuracy of migrating the art resource are achieved, and the technical problems that an art resource migration scheme in the prior art is low in efficiency and easy to make mistakes through manual migration of the resource are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart of an art resource migration according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative art asset migration according to an embodiment of the present application;
FIG. 3 is a flow chart of an alternative art asset migration according to an embodiment of the present application;
fig. 4 is a schematic structural view of an art resource migration apparatus according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise 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 application, an art asset migration method embodiment is provided, it being noted that the steps shown in the flowchart of the figures may be performed in a computer system, such as a set of computer executable instructions, and, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order other than that shown or described herein.
FIG. 1 is a flow chart of art resource migration according to an embodiment of the present application, as shown in FIG. 1, the method includes the steps of:
step S102, obtaining an art list number corresponding to an art resource to be migrated;
step S104, determining a resource submission log corresponding to the art resource to be migrated based on the art single number;
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 application, an art resource needing to be externally put is automatically migrated, and an art list number corresponding to the art resource to be migrated is obtained; determining a resource submission log corresponding to the art resource to be migrated based on the art list number; according to the resource submitting log, the art resource to be migrated in the first database is migrated to the second database, wherein the first database is used for storing the manufactured art resource, and the second database is used for storing the art resource to be released, so that the purpose of greatly shortening the time for migrating the art resource through automatic migration of the art resource to be released is achieved, the technical effects of improving the efficiency and accuracy of migrating the art resource are achieved, and the technical problems that an art resource migration scheme in the prior art is low in efficiency and easy to make mistakes through manual migration of the resource are solved.
In an optional embodiment, the first database is used for storing the manufactured art resource, and because the manufacturing process of the art resource is long, the manufactured art resource needs to be stored to the first database discontinuously, and the manufactured art resource is stored in the first database and is released incompletely, part of the art resource needing to be released needs to be transferred from the first database to the second database and then released, so that the second database is used for storing the art resource to be released, namely, the art resource needing to be released.
Optionally, the art personnel, through the manufactured art resource submitted by the version control system SVN, must be submitted successfully in the submit log in some predetermined format (e.g., the predetermined format may be: # corresponds to the art mononumber + specific submit content description).
Optionally, the art bill number of the art resource to be migrated may be a submitted bill number or an art production bill number of the art resource to be migrated, where the art bill number is automatically generated when a bill is planned on a redmine, and is used for representing a task bill (submitted bill or production bill, etc.) corresponding to the art resource to be migrated.
In the embodiment of the application, the operations of acquiring the submitted serial number corresponding to the art resource to be migrated, determining the resource submitted log corresponding to the art resource to be migrated based on the art serial number through the version control system SVN, and migrating the art resource to be migrated in the first database to the second database according to the resource submitted log can be completed through script automation.
Optionally, in the embodiment of the present application, a svn log instruction may be called by python, a resource submission log corresponding to an art resource to be migrated is determined according to a submission single number of the art resource to be migrated, a resource submission file list corresponding to the art resource to be migrated is generated, and then the resource submission log and the automatically generated resource submission file list are used to locate the art resource to be migrated submitted corresponding to the resource submission log, so that the art resource to be migrated is migrated through a script.
According to the embodiment of the application, the submitting flow of the art resource can be effectively standardized, an art staff is not required to additionally arrange a migration resource list manually, and only the art staff is required to provide an art single number (for example, submitting single number) corresponding to the art resource to be migrated, so that a resource submitting log corresponding to the art resource to be migrated can be determined based on the art single number; according to the resource submitting log, the art resources to be migrated in the first database are migrated to the second database, repeated manual operation in the art resource migration process can be achieved through machine automation operation, missing and misoperation caused in the manual migration process are avoided, the purpose that the art resources are required to be put out through automatic migration is 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 alternative embodiment, fig. 2 is a flowchart of an alternative art resource migration according to an embodiment of the present application, and before obtaining an art ticket corresponding to an art resource to be migrated, as shown in fig. 2, the method further includes:
step S202, detecting whether a resource submitting request is received, wherein the resource submitting request is used for requesting to store the manufactured art resource into the first database;
step S204, if the resource submission request is received, detecting whether the resource submission request carries the following information: the manufactured art resource and the art bill number of the manufactured art resource;
step S206, according to the artistic bill number of the manufactured artistic resource, storing the manufactured artistic resource in the first database.
Optionally, the resource submitting request is used for requesting to store the manufactured art resource into the first database; the art serial number of the art resource to be migrated can be a submitted serial number or an art production serial number of the art resource to be migrated; the art resource manufactured by the method comprises the following steps: and the art resource to be migrated.
In the above alternative embodiment, if the resource submission request is received, it is detected whether the resource submission request carries the following information: the manufactured art resource and the art bill number of the manufactured art resource; and storing the manufactured art resource in the first database according to the manufactured art serial number of the manufactured art resource when the resource submission request is detected to carry the manufactured art resource and the manufactured art serial number of the manufactured art resource.
In an alternative embodiment, the above-mentioned submitted form number or art production form number is generally automatically generated by a planner on the cross-platform project management system, and when the planner submits the produced art resource to the first database through the version control system SVN, the submitted form number or art production form number must be marked in the resource submission log, for example, if the submitted art resource and the submitted form number (or art production form number) at this time: 1234 are interrelated, then the artist must submit in the format "#1234+ detailed description" in the resource submission log to successfully submit the completed art resource for storage in the first database.
In an alternative embodiment, fig. 3 is a flowchart of an alternative art resource migration according to an embodiment of the present application, 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, including:
step S302, locating the storage address of the art resource to be migrated in the first database according to the resource submission log;
step S304, obtaining the art resources to be migrated stored in the storage address;
step S306, migrating the acquired art resource to be migrated to the second database.
In the embodiment of the application, a corresponding resource submission log can be determined according to the submission list number of the art resource to be migrated through a python call svn log instruction, a resource submission file list corresponding to the art resource to be migrated is generated, then a storage address for storing the art resource to be migrated in the first database is positioned according to the resource submission log and the automatically generated resource submission file list, the art resource to be migrated stored in the storage address is acquired, and the acquired art resource to be migrated is migrated into the second database.
In an alternative embodiment, after migrating the art resource to be migrated in the first database to the second database according to the resource submission log, the method further includes:
step S402, obtaining a target text file in an 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, etc., and the format of the target text file may be, but is not limited to, xml format; the reference file may be a map file referenced by the effect file.
In the above optional embodiment, after the above art resource to be migrated is migrated from the first database to the second database, the target text file in xml format in the art resource to be published, for example, a special effect file and a model file, may be analyzed, the map to which the target text file may be referred, the reference file of action, etc. may be determined, whether the reference file of the target text file has been completely migrated to the second database may be detected, if not, the missed reference file in the first database is migrated to the second database again, so that the missed migrated art resource may be located quickly, and the missed reference file may be migrated from the first database to the second database.
In an alternative 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 second database does not have the reference file, searching the reference file from the first database, and when the reference file is found from the first data, migrating the reference file from the first database to the second database;
step S504, if it is detected that the second database stores the reference file, determining that the reference file does not need to be migrated from the first database.
As an alternative embodiment, if it is detected that the reference file is not previously migrated to the second database and the reference file is stored in the first database, migrating the reference file from the first database to the second database; if the fact that the reference file is migrated to the second database in advance is detected, the reference file does not need to be migrated again.
As another optional embodiment, if it is detected that the second database does not have the reference file, and the first database does not have the reference file, alarm prompt information is output, where the alarm prompt information is used to prompt that an art resource corresponding to the reference file is submitted to the first database.
In the above 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, so that the target object may be 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 adopting the method for migrating the art resource provided by the embodiment of the present application.
According to an embodiment of the present application, there is further provided an apparatus for implementing the above-mentioned 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 application, as shown in fig. 4, where the above-mentioned art resource migration apparatus includes: an acquisition module 40, a determination module 42, and a migration module 44, wherein:
an obtaining module 40, configured to obtain an art number corresponding to an art resource to be migrated; a determining module 42, configured to determine a resource submission log corresponding to the art resource to be migrated based on the art number; the migration module 44 is configured to migrate the to-be-migrated art resource in a first database to a second database according to the resource submission log, where the first database is used for storing the manufactured art resource, and the second database is used for storing the to-be-released art resource.
Optionally, the apparatus further includes: the first detection module is used for detecting whether a resource submitting request is received, wherein the resource submitting request is used for requesting to store the manufactured art resource into the first database; the second detection module is configured to detect whether the resource submission request carries the following information if the resource submission request is received: the manufactured art resource and the art bill number of the manufactured art resource; and a storage module for storing the manufactured art resource in the first database according to the art list number of the manufactured art resource, wherein the manufactured art resource comprises: and the art resource to be migrated.
It should be noted that each of the above modules may be implemented by software or hardware, for example, in the latter case, it may be implemented by: the above modules may be located in the same processor; alternatively, the various modules described above may be located in different processors in any combination.
Here, the acquiring module 40, the determining module 42 and the migrating module 44 correspond to steps S102 to S106 in embodiment 1, and the modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to those disclosed in embodiment 1. It should be noted that the above modules may be run in a computer terminal as part of the apparatus.
It should be noted that, the optional or preferred implementation manner of this embodiment may be referred to the related description in embodiment 1, and will not be repeated here.
The art resource migration apparatus may further include a processor and a memory, wherein 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, the kernel fetches corresponding program units from the memory, and one or more of the kernels can be arranged. The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
According to an embodiment of the present application, there is also provided a storage medium embodiment. Optionally, in this embodiment, the storage medium includes a stored program, where when the program runs, the device in which the storage medium is controlled to execute any one of the foregoing art resource migration methods.
Alternatively, in this embodiment, the storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group, and the storage medium includes a stored program.
Optionally, the program controls the device in which the storage medium is located to perform the following functions when running: acquiring an art number corresponding to an art resource to be migrated; determining a resource submission log corresponding to the art resource to be migrated based on the art list number; and migrating the art resources to be migrated in a first database to a second database according to the resource submitting 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 published.
According to an embodiment of the present application, there is also provided a processor embodiment. Optionally, in this embodiment, the processor is configured to run a program, where any one of the art resource migration methods is executed when the program runs.
The embodiment of the application provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the program: acquiring an art number corresponding to an art resource to be migrated; determining a resource submission log corresponding to the art resource to be migrated based on the art list number; and migrating the art resources to be migrated in a first database to a second database according to the resource submitting 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 published.
The application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: acquiring an art number corresponding to an art resource to be migrated; determining a resource submission log corresponding to the art resource to be migrated based on the art list number; and migrating the art resources to be migrated in a first database to a second database according to the resource submitting 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 published.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (8)

1. An art resource migration method, comprising:
acquiring an art number corresponding to an art resource to be migrated;
determining a resource submission log corresponding to the art resource to be migrated based on the art list number;
migrating the art resource 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 resource, and the second database is used for storing the art resource to be published;
the method further comprises the steps of: after the art resource to be migrated in the first database is migrated to the second database according to the resource submission log, acquiring a target text file in the art resource to be published in the second database; determining a reference file of the target text file; detecting whether the reference file exists in the second database to obtain a detection result; determining whether to migrate the reference file from the first database based on the detection result;
the step of migrating the art resource to be migrated in the first database to the second database according to the resource submission log comprises the following steps: 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 resource to be migrated stored in the storage address; and migrating the acquired art resource to be migrated to the second database.
2. The method of claim 1, wherein prior to obtaining the art ticket for the art resource to be migrated, the method further comprises:
detecting whether a resource submitting request is received, wherein the resource submitting request is used for requesting to store the manufactured art resource into the first database;
if the resource submitting request is received, detecting whether the resource submitting request carries the following information: the manufactured art resource and the art bill number of the manufactured art resource;
and storing the manufactured art resource in the first database according to the art list number of the manufactured art resource.
3. The method of claim 1, wherein the 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 found from the first data, migrating the reference file from the first database to the second database;
if the second database is detected to be in the reference file, determining that the reference file does not need to be migrated from the first database.
4. The method according to claim 1, wherein the method further comprises:
and if the fact that the reference file does not exist in the second database and 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.
5. An art resource migration apparatus, comprising:
the acquisition module is used for acquiring an art list 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 number;
the migration module is used for 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;
wherein the device is further for: after the art resource to be migrated in the first database is migrated to the second database according to the resource submission log, acquiring a target text file in the art resource to be published in the second database; determining a reference file of the target text file; detecting whether the reference file exists in the second database to obtain a detection result; determining whether to migrate the reference file from the first database based on the detection result;
wherein, the migration module is further configured to: 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 resource to be migrated stored in the storage address; and migrating the acquired art resource to be migrated to the second database.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the first detection module is used for detecting whether a resource submitting request is received, wherein the resource submitting request is used for requesting to store the manufactured art resource into the first database;
the second detection module is configured to detect whether the resource submission request carries the following information if the resource submission request is received: the manufactured art resource and the art bill number of the manufactured art resource;
and the storage module is used for storing the manufactured art resource in the first database according to the art list number of the manufactured art resource.
7. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the art resource migration method of any one of claims 1 to 4.
8. A processor for running a program, wherein the program runs on executing the art resource migration method of any one of claims 1 to 4.
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 CN111400245A (en) 2020-07-10
CN111400245B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925851B (en) * 2021-02-26 2023-06-13 杭州网易再顾科技有限公司 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

Also Published As

Publication number Publication date
CN111400245A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN109634837B (en) Automatic test method, device, equipment and storage medium
CN104317618B (en) A kind of firmware partition treating method and apparatus
CN110908890A (en) Automatic test method and device for interface
CN107133165B (en) Browser compatibility detection method and device
CN113448862B (en) Software version testing method and device and computer equipment
CN110515795B (en) Big data component monitoring method and device and electronic equipment
CN109614325B (en) Method and device for determining control attribute, electronic equipment and storage medium
US11422917B2 (en) Deriving software application dependency trees for white-box testing
CN113377667A (en) Scene-based testing method and device, computer equipment and storage medium
CN107357721B (en) Method and device for testing system
CN111061733B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN110908907A (en) Web page testing method, device, equipment and storage medium
CN111400245B (en) Art resource migration method and device
CN111367890A (en) Data migration method and device, computer equipment and readable storage medium
CN111767213B (en) Database check point testing method and device, electronic equipment and storage medium
CN112181822A (en) Test method and test method for starting time consumption of application program
CN110928941B (en) Data fragment extraction 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
CN114330278A (en) Method and equipment for judging consistency of returned data
CN114968725A (en) Task dependency relationship correction method and device, computer equipment and storage medium
CN113886906A (en) CAD drawing loading method, font file replacing method, device and storage medium
CN114416545A (en) Method and device for determining test code coverage rate and electronic equipment
CN110908876B (en) Method and device for acquiring hardware performance data
CN115705297A (en) Code call detection method, device, computer 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