CN111258988A - Asset management method, device, electronic device, and medium - Google Patents

Asset management method, device, electronic device, and medium Download PDF

Info

Publication number
CN111258988A
CN111258988A CN202010080630.XA CN202010080630A CN111258988A CN 111258988 A CN111258988 A CN 111258988A CN 202010080630 A CN202010080630 A CN 202010080630A CN 111258988 A CN111258988 A CN 111258988A
Authority
CN
China
Prior art keywords
asset
index
version information
data
version
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
CN202010080630.XA
Other languages
Chinese (zh)
Other versions
CN111258988B (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010080630.XA priority Critical patent/CN111258988B/en
Publication of CN111258988A publication Critical patent/CN111258988A/en
Application granted granted Critical
Publication of CN111258988B publication Critical patent/CN111258988B/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/219Managing data history or versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution

Landscapes

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

Abstract

The disclosure provides an asset management method, which includes obtaining an asset query request, the asset query request including an asset to be queried and version information of the asset to be queried, the version information including version information based on a time period, querying an index of the asset in an asset index table corresponding to the version information based on the asset to be queried, querying asset data of the asset in an asset data table based on the index, and outputting the asset data. The present disclosure also provides an asset management apparatus, an electronic device, and a computer-readable storage medium.

Description

Asset management method, device, electronic device, and medium
Technical Field
The present disclosure relates to an asset management method, apparatus, electronic device, and medium.
Background
Currently, a system constructed for managing assets usually only stores the latest asset content, however, the inventor finds that in the process of asset management and maintenance, because the demand is always determined in advance and published in advance, when business personnel need to modify the asset content according to the new demand, the advance modification of the related assets has an influence on the management of the current assets. In addition, according to policy changes, services are also changing accordingly. When the current policy is consistent with or similar to the policy of a certain period in the past, the general view of the assets in the period is provided, so that reference can be provided for business personnel, the workload is reduced, and the working pressure is relieved.
Disclosure of Invention
One aspect of the present disclosure provides an asset management method including obtaining an asset query request including an asset to be queried and version information of the asset to be queried, the version information including version information based on a time period, querying an index of the asset in an asset index table corresponding to the version information based on the asset to be queried, querying asset data of the asset in an asset data table based on the index, and outputting the asset data.
Optionally, the asset data comprises asset identification information, the version information and asset content data.
Optionally, the method further includes obtaining an asset addition request, adding an asset datum in the asset data table, using a newly generated index as a primary key, updating the asset index table based on the newly generated index, obtaining an asset content datum, and adding the asset content datum to the added asset datum.
Optionally, the method further includes obtaining an asset deletion request, determining version information based on a current time, determining an asset to be deleted based on the asset deletion request, querying an index of the asset to be deleted in an asset index table corresponding to the version information determined based on the current time, and deleting the index of the asset to be deleted from the asset index table.
Optionally, the method further includes obtaining an asset modification request, determining version information based on a current time, determining an asset to be modified based on the asset modification request, querying an index of the asset to be modified in an asset index table corresponding to the version information determined based on the current time, querying asset data of the asset to be modified in the asset data table based on the index of the asset to be modified, determining version information recorded in the asset data, and modifying the asset data if the version information determined based on the current time is consistent with the version information recorded in the asset data.
Optionally, the method further includes, if the version information determined based on the current time is not consistent with the version information recorded in the asset data, adding a new piece of asset data, modifying the added asset data, and modifying the index of the asset in the asset index table to an index pointing to the newly generated asset.
Optionally, the method further includes creating version information based on a current time after a time period is over, creating an asset index table corresponding to the created version information, and initializing the created asset index table based on the asset index table corresponding to the previous version information.
Another aspect of the present disclosure provides an asset management apparatus including a query request obtaining module, an index determining module, an asset determining module, and an output module. The query request obtaining module is used for obtaining an asset query request, wherein the asset query request comprises assets to be queried and version information of the assets to be queried, and the version information comprises version information based on a time period. And the index determining module is used for inquiring the index of the asset in an asset index table corresponding to the version information based on the asset to be inquired. An asset determination module to query an asset data table for asset data for the asset based on the index. And the output module is used for outputting the asset data.
Another aspect of the disclosure provides an electronic device comprising a processor and a memory for storing one or more computer-readable instructions, wherein the one or more computer-readable instructions, when executed by the at least one processor, cause the processor to perform the method as described above.
Another aspect of the disclosure provides a computer readable medium having stored thereon computer readable instructions that, when executed, cause a processor to perform the method as described above.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an exemplary application scenario of the asset management method and apparatus according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of an asset management method according to an embodiment of the present disclosure;
FIGS. 3 and 4 schematically illustrate diagrams of data structures for asset management according to embodiments of the present disclosure;
5-7 schematically illustrate flow diagrams of asset management methods according to further embodiments of the present disclosure;
FIG. 8 schematically illustrates a block diagram of an asset management device according to an embodiment of the present disclosure; and
FIG. 9 schematically illustrates a block diagram of a computer system suitable for implementing asset management methods and systems according to embodiments of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase "a or B" should be understood to include the possibility of "a" or "B", or "a and B".
The asset management method of the embodiment of the disclosure includes obtaining an asset query request, where the asset query request includes an asset to be queried and version information of the asset to be queried, and the version information includes version information based on a time period, querying an index of the asset in an asset index table corresponding to the version information based on the asset to be queried, querying asset data of the asset in an asset data table based on the index, and outputting the asset data.
Fig. 1 schematically illustrates an application scenario of an asset management method and system according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, the system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the asset management method provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the asset management system provided by the disclosed embodiments may be generally located in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
FIG. 2 schematically illustrates a flow chart of an asset management method according to an embodiment of the disclosure.
As shown in fig. 2, the method includes operations S210 to S240.
In operation S210, an asset query request is obtained, the asset query request including an asset to be queried and version information of the asset to be queried, the version information including version information based on a time period.
According to the embodiment of the present disclosure, the version information based on the time period may be, for example, version information based on the month, and of course, version information based on the quarter, the year, or the time period based on the day, the hour, or the like.
In operation S220, an index of the asset is queried in an asset index table corresponding to the version information based on the asset to be queried.
According to the embodiment of the disclosure, an asset index table can be set for each version, and the asset index table is in one-to-one correspondence with each version.
In operation S230, asset data of the asset is looked up in an asset data table based on the index. According to embodiments of the present disclosure, asset data may include, for example, asset identification information, version information, and asset content data.
In operation S240, the asset data is output. For example, the asset data may be presented via a user interaction interface.
According to an embodiment of the present disclosure, the content required to be presented may be detailed information for each asset, with different views requiring different content. For example, an asset rerouting graph requires the version number and contents of all modified versions of the asset, an asset ring graph requires the contents of the modified asset compared to the previous version, and an asset contrast graph requires all asset data between two different versions. Table 1 schematically shows a number of views according to embodiments of the present disclosure.
TABLE 1
Figure BDA0002380182290000061
The asset management method of the embodiment of the disclosure constructs an index of the asset library corresponding to each version based on the time period, so as to manage the asset library corresponding to each version. An index is established for each asset in a one-to-one correspondence of asset libraries and versions, and details of all assets are stored in an asset data table. Therefore, the storage capacity is greatly reduced by using the index storage mode, and the storage pressure is reduced. Each operation of the business personnel on the asset library, including adding, deleting, modifying and inquiring, supports the selection of any version. The management mode reserves the modified life cycle of each asset, provides a way for business personnel to check the asset contents of any version, not only the latest asset contents, and the multi-angle and comprehensive asset changing process is convenient for the business personnel to observe how the assets change and why the assets change, so that the business capability is better improved, and the better business result is output.
Therefore, the asset management method disclosed by the embodiment of the disclosure solves the problem that business personnel need to operate related assets in advance according to new requirements, so that asset data among different versions are not affected, the life cycle of the assets is recorded, and the independence of the assets among different versions is ensured; the data of the whole process of asset modification is reserved, so that business personnel can check the asset modification under the requirement of any version, reference is provided for the business personnel, and the workload is reduced; the assets are stored in the index building mode, and only the indexes pointing to the assets are stored in the asset library of each version, so that the storage capacity is greatly reduced, the storage pressure of a server is reduced, the asset query speed is improved, and the view is displayed conveniently and quickly.
Fig. 3 and 4 schematically illustrate diagrams of data structures for asset management according to an embodiment of the present disclosure.
As shown in fig. 3, each version is provided with a corresponding asset library index, which holds data that is a full index of existing assets, matched by index to the asset contents in the asset data table. The content that each version of the asset library is initialized at build time is the content of the previous version of the asset library index (i.e., the full index of the previous version of the asset). Therefore, the method of the embodiment of the present disclosure may create version information based on the current time after a time period is over, create an asset index table corresponding to the created version information, and initialize the created asset index table based on the asset index table corresponding to the previous version information.
As shown in fig. 4, the asset index table of the embodiment of the present disclosure may include fields including an asset ID and an index number, for example, one for each version. The asset data table of the embodiment of the present disclosure may include, for example, fields such as an index number, asset identification information (asset ID), a version number, and asset content, and the asset data table may have only one table, and store data of assets of all versions. The index number can be generated in a self-increment mode, and the method is simple and efficient to realize. When a service person requests to operate an asset under a certain version, the asset ID is matched in the index table of the version to obtain the index number of the asset, and the asset is matched in the asset data table through the index number to operate the asset.
According to the embodiment of the disclosure, each asset data of the asset data table can comprise an index number, an asset ID, a version number and asset content, wherein the primary key is the index number, so that the data can be uniquely identified, and the matching efficiency is improved. When data is newly added and modified in different versions, because the asset content and the version number are different, a corresponding piece of data needs to be newly established in an asset data table, and an index is newly added in an asset index table of the version. When looking up the assets of a certain version, the asset ID is matched to the index in the version index table, and the asset data is matched in the table through the index number, so that the asset content is displayed.
Table 2 below schematically shows an asset data table according to an embodiment of the present disclosure, and tables 3 to 5 schematically show asset index tables of a plurality of versions according to an embodiment of the present disclosure.
TABLE 2
Indexing Asset Identification (ID) Version number Content providing method and apparatus
1 Asset A 201908 ……
2 Asset B 201908 ……
3 Asset A 201909 ……
4 Asset C 201910 ……
…… …… …… ……
TABLE 3
Figure BDA0002380182290000081
TABLE 4
Figure BDA0002380182290000091
TABLE 5
Figure BDA0002380182290000092
For example, in the scenario of performing the viewing operation as shown in fig. 2, after the asset version is selected, the index number is found in the index table by the asset ID, the asset is found in the asset data table according to the index number, and the asset content is displayed. It should be noted that the asset index table of each time period inherits the full index of the asset library of the previous version when being created, if an asset is not operated since a certain version, then the same index of the asset is stored in the asset library of each version, and the asset content of the version number is stored in the asset data table until the asset is operated next time.
Because the index of the full amount of assets is stored in the asset library of each version, when the asset index table of one version is established, the initialized content of the table is the content of the asset index table of the previous version. The operations for viewing assets that have been described above, the following are exemplary of the processes for adding, deleting, and modifying assets.
In the embodiments illustrated below with reference to fig. 5-7, the operations, including additions, deletions, and modifications, are performed on the current time period version of the asset, but the methods of the embodiments of the present disclosure also support selecting other versions of the asset for additions, deletions, and modifications for pre-planning future assets. For example, when a new addition request, a deletion request, or a modification request is obtained, the targeted version information may be obtained, and then the corresponding operation may be performed on the selected version.
FIG. 5 schematically illustrates a flow chart of an asset management method according to further embodiments of the present disclosure.
As shown in fig. 5, the method may further include operations S510 to S540.
In operation S510, an asset addition request is obtained.
In operation S520, an asset data is newly added to the asset data table, the newly generated index is used as a primary key, and the asset index table is updated based on the newly generated index.
In operation S530, asset content data is obtained.
In operation S540, the asset content data is added to the newly added asset data.
According to the embodiment of the disclosure, when new capital is added, a piece of asset data of the new asset ID of the current version number is directly added in the asset data table, and meanwhile, the index number is generated by self-increment to edit the asset content. Index data (asset ID and index number) of this newly added asset is created in the index table of this version.
FIG. 6 schematically illustrates a flow diagram of an asset management method according to further embodiments of the present disclosure.
As shown in fig. 6, the method may further include operations S610 to S640.
In operation S610, an asset deletion request is obtained.
In operation S620, version information is determined based on the current time.
In operation S630, an index of the asset to be deleted is queried in an asset index table corresponding to the version information determined based on the current time, based on the asset to be deleted determined based on the asset deletion request.
In operation S640, the index of the asset to be deleted is deleted from the asset index table. Because the data index table of the current version is obtained by initializing the data index table of the previous version, the method of the embodiment of the disclosure only deletes the index of the asset in the data index table of the current version, and can keep the asset data of the previous version from missing.
FIG. 7 schematically illustrates a flow chart of an asset management method according to further embodiments of the present disclosure.
As shown in fig. 7, the method may further include operations S710 to S750.
In operation S710, an asset modification request is obtained.
In operation S720, version information is determined based on the current time.
In operation S730, an index of an asset to be modified, which is determined based on the asset modification request, is queried in an asset index table corresponding to the version information determined based on the current time.
In operation S740, asset data of the asset to be modified is queried in the asset data table based on the index of the asset to be modified, and version information recorded in the asset data is determined.
In operation S750, if the version information determined based on the current time is identical to the version information recorded in the asset data, a modification is made on the asset data.
According to the embodiment of the present disclosure, the method further includes, if the version information determined based on the current time is not consistent with the version information recorded in the asset data, adding a new piece of asset data, modifying the added asset data, and modifying the index of the asset in the asset index table to an index pointing to the newly generated asset.
Take a monthly time period as an example. For example, the current time is 1 month in 2020, when modifying asset a, if the index of asset a in the asset index table is X, the version information in the asset data of asset a in the asset data table is searched for by X, and if the time period indicated by the version information is 1 month in 2020, the version information determined based on the current time is consistent with the version information recorded in the asset data, and the modification is directly performed on the asset data; if the time period indicated by the version information is 2019, 8 months, and the version information determined based on the current time is inconsistent with the version information recorded in the asset data, an asset data can be newly added in the asset data table and modified on the newly added asset data, the newly added asset data is still the asset data of the asset a, the version of the newly added asset data is 2020, 1 months, the index number can be generated in a self-increasing manner, and the index of the asset in the asset index table is modified to be an index pointing to the newly generated asset. The index pointing to the assets is only stored in the asset library of each version, the storage capacity is small, the searching speed is high, and the redundant storage caused by the storage of the same data is not needed.
Based on the same concept, the present disclosure also provides an asset management device, and the asset management device according to the embodiment of the present disclosure is described below with reference to fig. 8.
Fig. 8 schematically illustrates a block diagram of an asset management device 800 according to an embodiment of the present disclosure.
As shown in FIG. 8, the apparatus 800 includes a query request obtaining module 810, an index determining module 820, an asset determining module 830, and an output module 840. The apparatus 800 may perform various methods described with reference to fig. 2, 5-7 above.
The query request obtaining module 810, for example, performs operation S210 described above with reference to fig. 2, for obtaining an asset query request, which includes an asset to be queried and version information of the asset to be queried, the version information including version information based on a time period.
The index determining module 820, for example, performs the operation S220 described above with reference to fig. 2, for querying the index of the asset in the asset index table corresponding to the version information based on the asset to be queried.
The asset determination module 830, for example, performs operation S230 described above with reference to fig. 2, for querying the asset data of the asset in the asset data table based on the index.
The output module 840, for example, performs operation S240 described above with reference to fig. 2, for outputting the asset data.
According to an embodiment of the present disclosure, the asset data includes asset identification information, the version information, and asset content data.
According to the embodiment of the present disclosure, the apparatus may further include an asset adding module, configured to obtain an asset addition request, add an asset datum in the asset data table, use a newly generated index as a primary key, update the asset index table based on the newly generated index, obtain an asset content datum, and add the asset content datum to the added asset datum.
According to the embodiment of the disclosure, the apparatus may further include an asset deletion module configured to obtain an asset deletion request, determine version information based on a current time, determine an asset to be deleted based on the asset deletion request, query an index of the asset to be deleted in an asset index table corresponding to the version information determined based on the current time, and delete the index of the asset to be deleted from the asset index table.
According to the embodiment of the disclosure, the apparatus may further include an asset modification module, configured to obtain an asset modification request, determine version information based on a current time, determine an asset to be modified based on the asset modification request, query an index of the asset to be modified in an asset index table corresponding to the version information determined based on the current time, query asset data of the asset to be modified in the asset data table based on the index of the asset to be modified, and determine version information recorded in the asset data, and modify the asset data table if the version information determined based on the current time is consistent with the version information recorded in the asset data.
According to the embodiment of the present disclosure, the asset modification module may be further configured to add a new piece of asset data, modify the added asset data, and modify the index of the asset in the asset index table to an index pointing to a newly generated asset if the version information determined based on the current time is inconsistent with the version information recorded in the asset data.
According to the embodiment of the disclosure, the apparatus may further include a version update module, configured to create version information based on a current time after a time period is ended, create a new asset index table corresponding to the created version information, and initialize the new asset index table based on the asset index table corresponding to a previous version information.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of the query request obtaining module 810, the index determining module 820, the asset determining module 830, the output module 840, the asset adding module, the asset deleting module, the asset modifying module, and the version updating module may be combined in one module to be implemented, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the disclosure, at least one of the query request obtaining module 810, the index determining module 820, the asset determining module 830, the output module 840, the asset adding module, the asset deleting module, the asset modifying module, and the version updating module may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in any one of three implementations of software, hardware, and firmware, or in a suitable combination of any of them. Alternatively, at least one of the query request obtaining module 810, the index determining module 820, the asset determining module 830, the output module 840, the asset adding module, the asset deleting module, the asset modifying module, and the version updating module may be at least partially implemented as a computer program module that, when executed, may perform corresponding functions.
FIG. 9 schematically illustrates a block diagram of a computer system suitable for implementing asset management methods and apparatus according to embodiments of the present disclosure. The computer system illustrated in FIG. 9 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure. The computer system shown in fig. 9 may be implemented as a server cluster including at least one processor (e.g., processor 901) and at least one memory (e.g., storage portion 908).
As shown in fig. 9, a computer system 900 according to an embodiment of the present disclosure includes a processor 901 which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage section 908 into a Random Access Memory (RAM) 903. Processor 901 may comprise, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 901 may also include on-board memory for caching purposes. The processor 901 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 903, various programs and data necessary for the operation of the system 900 are stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. The processor 901 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 902 and/or the RAM 903. Note that the programs may also be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
System 900 may also include an input/output (I/O) interface 905, input/output (I/O) interface 905 also connected to bus 904, according to an embodiment of the present disclosure. The system 900 may also include one or more of the following components connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output section 907 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The computer program, when executed by the processor 901, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable medium, which may be embodied in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer readable medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, a computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, optical fiber cable, radio frequency signals, etc., or any suitable combination of the foregoing.
For example, according to embodiments of the present disclosure, a computer-readable medium may include the ROM 902 and/or the RAM 903 described above and/or one or more memories other than the ROM 902 and the RAM 903.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (10)

1. An asset management method comprising:
obtaining an asset query request, wherein the asset query request comprises an asset to be queried and version information of the asset to be queried, and the version information comprises version information based on a time period;
inquiring the index of the asset in an asset index table corresponding to the version information based on the asset to be inquired;
querying, based on the index, an asset data table for asset data for the asset; and
outputting the asset data.
2. The method of claim 1, wherein the asset data comprises asset identification information, the version information, and asset content data.
3. The method of claim 1, further comprising:
acquiring an asset newly-adding request;
adding a new asset data in the asset data table, taking the newly generated index as a main key, and updating the asset index table based on the newly generated index;
obtaining asset content data;
and adding the asset content data into the newly added asset data.
4. The method of claim 1, further comprising:
obtaining an asset deletion request;
determining version information based on a current time;
querying an index of the asset to be deleted in an asset index table corresponding to the version information determined based on the current time based on the asset to be deleted determined based on the asset deletion request;
and deleting the index of the asset to be deleted from the asset index table.
5. The method of claim 1, further comprising:
obtaining an asset modification request;
determining version information based on a current time;
querying an index of the asset to be modified in an asset index table corresponding to the version information determined based on the current time based on the asset to be modified determined by the asset modification request;
based on the index of the assets to be modified, inquiring the asset data of the assets to be modified in the asset data table, and determining the version information recorded in the asset data;
and if the version information determined based on the current time is consistent with the version information recorded in the asset data, modifying the asset data.
6. The method of claim 5, further comprising:
and if the version information determined based on the current time is inconsistent with the version information recorded in the asset data, adding a new piece of asset data, modifying the added asset data, and modifying the index of the asset in the asset index table into an index pointing to the newly generated asset.
7. The method of any of claims 1-6, further comprising:
after a time period is finished, creating version information based on the current time;
creating an asset index table corresponding to the created version information; and
and initializing the newly-built asset index table based on the asset index table corresponding to the previous version information.
8. An asset management device comprising:
the system comprises a query request obtaining module, a query request obtaining module and a query processing module, wherein the query request obtaining module is used for obtaining an asset query request, the asset query request comprises assets to be queried and version information of the assets to be queried, and the version information comprises version information based on a time period;
the index determining module is used for inquiring the index of the asset in an asset index table corresponding to the version information based on the asset to be inquired;
an asset determination module to query an asset data table for asset data for the asset based on the index; and
and the output module is used for outputting the asset data.
9. An electronic device, comprising:
a processor; and
a memory having computer readable instructions stored thereon that, when executed by the processor, cause the processor to perform the method of any of claims 1-7.
10. A computer readable storage medium having computer readable instructions stored thereon which, when executed by a processor, cause the processor to perform the method of any of claims 1 to 7.
CN202010080630.XA 2020-02-05 2020-02-05 Asset management method, device, electronic equipment and medium Active CN111258988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010080630.XA CN111258988B (en) 2020-02-05 2020-02-05 Asset management method, device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010080630.XA CN111258988B (en) 2020-02-05 2020-02-05 Asset management method, device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN111258988A true CN111258988A (en) 2020-06-09
CN111258988B CN111258988B (en) 2023-09-05

Family

ID=70952690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010080630.XA Active CN111258988B (en) 2020-02-05 2020-02-05 Asset management method, device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN111258988B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508533A (en) * 2020-12-17 2021-03-16 北京华胜天成科技股份有限公司 Online checking system for IT (information technology) resource equipment
CN113947339A (en) * 2021-12-22 2022-01-18 北京金堤科技有限公司 Method and device for generating asset clue data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180089183A1 (en) * 2016-09-23 2018-03-29 Amazon Technologies, Inc. System for optimizing access to an indexed database
CN109408551A (en) * 2018-08-06 2019-03-01 杭州复杂美科技有限公司 Data query method and system, common recognition method and system, equipment and storage medium
CN110275887A (en) * 2019-06-20 2019-09-24 深圳前海微众银行股份有限公司 A kind of data processing method based on block catenary system, system and device
CN110704574A (en) * 2019-09-03 2020-01-17 福建省农村信用社联合社 Method and system for managing bank business demand assets

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180089183A1 (en) * 2016-09-23 2018-03-29 Amazon Technologies, Inc. System for optimizing access to an indexed database
CN109408551A (en) * 2018-08-06 2019-03-01 杭州复杂美科技有限公司 Data query method and system, common recognition method and system, equipment and storage medium
CN110275887A (en) * 2019-06-20 2019-09-24 深圳前海微众银行股份有限公司 A kind of data processing method based on block catenary system, system and device
CN110704574A (en) * 2019-09-03 2020-01-17 福建省农村信用社联合社 Method and system for managing bank business demand assets

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508533A (en) * 2020-12-17 2021-03-16 北京华胜天成科技股份有限公司 Online checking system for IT (information technology) resource equipment
CN113947339A (en) * 2021-12-22 2022-01-18 北京金堤科技有限公司 Method and device for generating asset clue data

Also Published As

Publication number Publication date
CN111258988B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN109614402B (en) Multidimensional data query method and device
CN110019080B (en) Data access method and device
CN109683998A (en) Internationalize implementation method, device and system
CN107302597B (en) Message file pushing method and device
CN110888696A (en) Page display method and system, computer system and computer readable medium
CN108011949B (en) Method and apparatus for acquiring data
CN115757400B (en) Data table processing method, device, electronic equipment and computer readable medium
CN111125107A (en) Data processing method, device, electronic equipment and medium
CN112835904A (en) Data processing method and data processing device
CN108600329B (en) Method and equipment for pushing information and displaying information
CN111258988B (en) Asset management method, device, electronic equipment and medium
CN112182138A (en) Catalog making method and device
CN110889000B (en) Method and apparatus for outputting information
CN116594683A (en) Code annotation information generation method, device, equipment and storage medium
CN110866031A (en) Database access path optimization method and device, computing equipment and medium
CN115496544A (en) Data processing method and device
CN113760928A (en) Cache data updating system and method
CN112711572A (en) Online capacity expansion method and device suitable for sub-warehouse and sub-meter
CN112131287A (en) Method and device for reading data
CN114285743B (en) Method, device, electronic equipment and storage medium for updating configuration information
CN114363172B (en) Decoupling management method, device, equipment and medium for container group
CN113065920A (en) Data processing method and system
CN114268558B (en) Method, device, equipment and medium for generating monitoring graph
US10896193B2 (en) Cache fetching of OLAP based data using client to client relationships and data encoding
CN114297200A (en) User portrait construction method and device

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