CN111258988B - Asset management method, device, electronic equipment and medium - Google Patents

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

Info

Publication number
CN111258988B
CN111258988B CN202010080630.XA CN202010080630A CN111258988B CN 111258988 B CN111258988 B CN 111258988B CN 202010080630 A CN202010080630 A CN 202010080630A CN 111258988 B CN111258988 B CN 111258988B
Authority
CN
China
Prior art keywords
asset
index
version information
data
current time
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
CN202010080630.XA
Other languages
Chinese (zh)
Other versions
CN111258988A (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

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)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present disclosure provides an asset management method, including 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 device, an electronic apparatus, and a computer-readable storage medium.

Description

Asset management method, device, electronic equipment and medium
Technical Field
The present disclosure relates to an asset management method, apparatus, electronic device, and medium.
Background
Currently, systems constructed for asset management generally only preserve the latest asset content, however, the present inventors have found that, during asset management and maintenance, as the demand is always determined in advance, issued in advance, when business personnel need to modify asset content according to new demand, modifying related assets in advance has an impact on the management of the current asset. In addition, the business is changing accordingly, depending on the policy change. Providing an overall view of the asset at a time when the current policy is consistent or similar to the previous policy at that time can provide a reference for business personnel, reduce workload, and relieve work pressure.
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 includes asset identification information, the version information, and asset content data.
Optionally, the method further includes obtaining an asset adding request, adding an asset data in the asset data table, using the newly generated index as a primary key, updating the asset index table based on the newly generated index, obtaining asset content data, and adding the asset content data to the newly added asset data.
Optionally, the method further includes obtaining an asset deletion request, determining version information based on the 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 by the asset deletion request, 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, and 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 adding a piece of asset data if the version information determined based on the current time is inconsistent with the version information recorded in the 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, after a period of time is over, creating version information based on the current time, creating an asset index table corresponding to the created version information, and initializing the newly 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 device including a query request acquisition module, an index determination module, an asset determination module, and an output module. The system comprises a query request acquisition module, a query request processing module and a query request processing module, wherein the query request acquisition module is used for acquiring an asset query request, 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. And the index determining module is used for querying the index of the asset in an asset index table corresponding to the version information based on the asset to be queried. And the asset determining module is used for inquiring asset data of the asset in the asset data table 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 present disclosure provides a computer-readable medium having stored thereon computer-readable instructions that, when executed, cause a processor to perform a method as described above.
Another aspect of the present disclosure provides a computer program comprising computer executable instructions which when executed are for implementing a method as described above.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments thereof with reference to the accompanying drawings in which:
FIG. 1 schematically illustrates an exemplary application scenario of asset management methods and apparatus according to embodiments of the present disclosure;
FIG. 2 schematically illustrates a flow chart of an asset management method according to an embodiment of the disclosure;
FIGS. 3 and 4 schematically illustrate diagrams of data structures for asset management according to embodiments of the present disclosure;
FIGS. 5-7 schematically illustrate flowcharts 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 disclosure; and
fig. 9 schematically illustrates a block diagram of a computer system suitable for implementing the asset management method and system according to an embodiment of the 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 only exemplary 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 present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to 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/or 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 should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having 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 formulation similar to at least one of "A, B or C, etc." is used, in general such a formulation should be interpreted in accordance with the ordinary understanding of one skilled in the art (e.g. "a system with at least one of A, B or C" would include but not be limited to systems with 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 should also be appreciated by those skilled in the art that virtually any disjunctive word and/or phrase presenting two or more alternative items, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the items, either of the items, or both. 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 comprises the steps of 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, the version information comprises 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 embodiments of the present disclosure may be applied to assist those skilled in the art in understanding the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, 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 embodiments of the present disclosure may be generally performed by the server 105. Accordingly, the asset management system provided by embodiments of the present disclosure may be generally disposed 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 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, is obtained.
According to the embodiment of the present disclosure, the version information based on the time period may be, for example, version information based on month, but may also be version information based on season, year, or time period based on day, 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 corresponds to each version one by one.
In operation S230, asset data of the asset is queried in an asset data table based on the index. According to embodiments of the present disclosure, asset data may include asset identification information, version information, and asset content data, for example.
In operation S240, the asset data is output. The asset data may be presented, for example, through a user interactive interface.
According to embodiments of the present disclosure, what needs to be presented may be detailed information for each asset, with different views requiring different content. For example, an asset change path map requires the version number and content of all versions of the asset that have been modified, an asset ring map requires the content of the asset that has been modified compared to the previous version, and an asset comparison map requires all asset data between two different versions. Table 1 schematically shows a plurality of views according to an embodiment of the present disclosure.
TABLE 1
The asset management method of the embodiment of the disclosure constructs an index of an asset library corresponding to each version based on a time period, and is used for managing the asset library corresponding to each version. And establishing an index for each asset by adopting a mode that the asset library corresponds to the versions one by one, and storing details of all the assets in an asset data table. Therefore, the storage capacity is greatly reduced by using the storage mode of the index, and the storage pressure is reduced. Each operation of the business personnel on the asset library, including adding, deleting, modifying and inquiring, supports selecting any version for carrying out. The management mode reserves the life cycle of each asset to be modified, provides a way for business personnel to view the asset content of any version, and is not only the latest asset content, but also the multi-angle and full-aspect asset changing process is convenient for the business personnel to observe how and why the asset changes so as to better promote the business capability and output better business results.
Therefore, the asset management method 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 whole process data of asset modification is reserved, so that the change of the asset under the requirement of any version can be checked by service personnel, the reference is provided for the service personnel, and the workload is reduced; the method has the advantages that the assets are stored in the mode of constructing the indexes, 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 speed of querying the assets is improved, and the view is conveniently and rapidly displayed.
Fig. 3 and 4 schematically illustrate diagrams of data structures for asset management according to embodiments of the present disclosure.
As shown in fig. 3, each version is provided with a corresponding asset library index, the data held is a full index of existing assets, and the asset content in the asset data table is matched by the index. The content initialized at the time of asset library build for each version is the content of the last version asset library index (i.e., the full index of the last version asset). Therefore, after a time period is over, the method of the embodiment of the disclosure may create version information based on the current time, create an asset index table corresponding to the created version information, and initialize the newly 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 embodiments of the present disclosure may include fields including an asset ID and an index number, for example, one asset index table for each version. The asset data table of the embodiments of the present disclosure may include, for example, fields of an index number, asset identification information (asset ID), version number, asset content, etc., and the asset data table may be one only, holding data of all version assets. The index number can be generated in a self-increasing mode, and the method is simple and efficient. When a business person requests to operate an asset under a certain version, firstly, the asset ID is matched in an index table of the version, the index number of the asset is obtained, and then the asset is matched in an asset data table through the index number, so that the operation is performed on 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 a main key is the index number, the data can be uniquely identified, and matching efficiency is improved. When data is newly added and modified in different versions, because the content and the version number of the asset are different, a corresponding data is needed to be newly built in the asset data table, and meanwhile, an index is newly added in the asset index table of the version. When viewing the assets of a certain version, the version index table is matched with the index through the asset ID, the index number is matched with the asset data in the table, and the asset content is displayed.
Table 2 below schematically illustrates an asset data table according to an embodiment of the present disclosure, and tables 3 to 5 schematically illustrate asset index tables of multiple versions according to an embodiment of the present disclosure.
TABLE 2
Index Asset Identification (ID) Version number Content
1 Asset A 201908 ……
2 Asset B 201908 ……
3 Asset A 201909 ……
4 Asset C 201910 ……
…… …… …… ……
TABLE 3 Table 3
TABLE 4 Table 4
TABLE 5
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 through 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 last version asset library 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 that version number is stored in the asset data table until the asset is operated next time.
Since the index of the full amount of assets is stored in the asset library of each version, when an 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 of viewing the asset, which have been described above, are described below as examples of the processes of adding, deleting, and modifying the asset.
In the embodiments illustrated below with reference to fig. 5-7, the operation, including the addition, deletion, and modification, of the version of the asset for the current time period is performed, but the methods of the embodiments of the present disclosure also support the selection of other versions of the asset for addition, deletion, and modification for pre-planning of future assets. For example, when a new request, a delete request, and a modify request are obtained, the version information targeted 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.
The asset content data is added to the newly added asset data in operation S540.
According to the embodiment of the disclosure, when the asset is newly added, the asset data of a new asset ID with the current version number is directly added in the asset data table, and the asset content is edited by self-proliferation into an index number. Index data (asset ID and index number) for the newly added asset is created in the version of the index table.
FIG. 6 schematically illustrates a flow chart 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, the 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 by 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 initialized by 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 without deletion.
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 the 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 performed on the asset data.
According to an embodiment of the present disclosure, the method further includes adding a piece of asset data if the version information determined based on the current time is inconsistent with the version information recorded in the asset data, modifying the added asset data, and modifying an 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, when modifying the asset a, if the index of the asset a in the asset index table is X, searching version information in asset data of the asset a in the asset data table by X, and if the time period indicated by the version information is 1 month in 2020, directly modifying the asset data based on the version information determined at the current time and the version information recorded in the asset data; if the time period indicated by the version information is 8 months in 2019, if the version information determined based on the current time is inconsistent with the version information recorded in the asset data, one piece of 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 asset data of asset a, the version of the newly added asset data is 1 month in 2020, the index number can be generated in a self-increasing mode, and the index of the asset in the asset index table is modified into the index pointing to the newly generated asset. Only the index pointing to the asset is stored in the asset library of each version, the storage amount is small, the searching speed is high, and redundant storage caused by storing the same data is not needed.
Based on the same concept, the present disclosure further provides an asset management device, and an asset management device of an 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 disclosure.
As shown in fig. 8, the apparatus 800 includes a query request acquisition module 810, an index determination module 820, an asset determination module 830, and an output module 840. The apparatus 800 may perform the various methods described above with reference to fig. 2, 5-7.
The query request obtaining module 810, for example, performs operation S210 described above with reference to fig. 2, for 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.
The index determining module 820, for example, performs operation S220 described above with reference to fig. 2, for querying an index of the asset in an 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 table for asset data of the asset 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 an embodiment of the disclosure, the apparatus may further include an asset adding module, configured to obtain an asset adding request, add a piece of asset data in the asset data table, use the newly generated index as a primary key, update the asset index table based on the newly generated index, obtain asset content data, and add the asset content data to the newly added asset data.
According to an embodiment of the present 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, query an asset index table corresponding to the version information determined based on the current time for an asset to be deleted, and delete the index of the asset to be deleted from the asset index table.
According to an embodiment of the present 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, query an index of an 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 an embodiment of the present disclosure, the asset modification module may be further configured to, if the version information determined based on the current time is inconsistent with the version information recorded in the asset data, newly add a piece of asset data, modify the newly added asset data, and modify the index of the asset in the asset index table to an index pointing to the newly generated asset.
According to an embodiment of the present disclosure, the apparatus may further include a version update module for creating version information based on a current time after a period of time is over, creating an asset index table corresponding to the created version information, and initializing the newly created asset index table based on the asset index table corresponding to the previous version information.
Any number of modules, sub-modules, units, sub-units, or at least some of the functionality of any number of the sub-units according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented as split into multiple 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-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in any other reasonable manner of hardware or firmware that integrates or encapsulates the circuit, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be at least partially implemented as computer program modules, which when executed, may perform the corresponding functions.
For example, any of the query request acquisition module 810, the index determination module 820, the asset determination module 830, the output module 840, the asset addition module, the asset deletion module, the asset modification module, and the version update module may be combined in one module to be implemented, or any of the modules may be split into a plurality of modules. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. According to embodiments of the present disclosure, at least one of the query request acquisition module 810, the index determination module 820, the asset determination module 830, the output module 840, the asset addition module, the asset deletion module, the asset modification module, and the version update module may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in hardware or firmware in any other reasonable manner of integrating or packaging the circuitry, or in any one of or a suitable combination of any of the three implementations of software, hardware, and firmware. Alternatively, at least one of the query request acquisition module 810, the index determination module 820, the asset determination module 830, the output module 840, the asset addition module, the asset deletion module, the asset modification module, and the version update module may be at least partially implemented as a computer program module that, when executed, performs the corresponding functions.
Fig. 9 schematically illustrates a block diagram of a computer system suitable for implementing the asset management methods and apparatus according to an embodiment of the disclosure. The computer system illustrated in fig. 9 is merely an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present 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 portion 908 into a Random Access Memory (RAM) 903. The processor 901 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 901 may also include on-board memory for caching purposes. Processor 901 may include a single processing unit or multiple 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 by a bus 904. The processor 901 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 902 and/or the RAM 903. Note that the program may 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 flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the disclosure, the system 900 may also include an input/output (I/O) interface 905, the input/output (I/O) interface 905 also being connected to the bus 904. The system 900 may also include one or more of the following components connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, and the like; an output portion 907 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 908 including a hard disk or 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 needed. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 910 so that a computer program read out therefrom is installed into the storage section 908 as needed.
According to embodiments of the present disclosure, the method flow according to embodiments of the present disclosure may be implemented as a computer software program. 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 shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 909 and/or installed from the removable medium 911. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 901. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
The present disclosure also provides a computer-readable medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer readable medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 context of this 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 the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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, fiber optic cable, radio frequency signals, or the like, or any suitable combination of the foregoing.
For example, according to embodiments of the present disclosure, the computer-readable medium may include ROM 902 and/or RAM 903 and/or one or more memories other than ROM 902 and RAM 903 described above.
The flowcharts 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 the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are 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 above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (9)

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;
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;
wherein the method further comprises: obtaining an asset deletion request; determining version information based on the 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 by the asset deletion request; deleting the index of the asset to be deleted from the asset index table.
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:
obtaining an asset addition request;
adding a piece of asset data in the asset data table, taking the newly generated index as a primary key, and updating the asset index table based on the newly generated index;
obtaining asset content data;
and adding the asset content data to the newly added asset data.
4. The method of claim 1, further comprising:
obtaining an asset modification request;
determining version information based on the 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;
querying asset data of the asset to be modified in the asset data table based on the index of the asset to be modified, and determining 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.
5. The method of claim 4, further comprising:
if the version information determined based on the current time is inconsistent with the version information recorded in the asset data, adding a piece of asset data, modifying the added asset data, and modifying the index of the asset in the asset index table to be an index pointing to the newly generated asset.
6. The method of any one of claims 1-5, further comprising:
creating version information based on the current time after one time period is over;
newly creating an asset index table corresponding to the created version information; and
and initializing a newly built asset index table based on the asset index table corresponding to the previous version information.
7. An asset management device comprising:
a query request obtaining module, configured to obtain 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;
the index determining module is used for querying the index of the asset in an asset index table corresponding to the version information based on the asset to be queried;
an asset determination module for querying asset data of the asset in an asset data table based on the index; and
the output module is used for outputting the asset data;
wherein the apparatus further comprises: the asset deleting module is used for obtaining an asset deleting request; determining version information based on the 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 by the asset deletion request; deleting the index of the asset to be deleted from the asset index table.
8. An electronic device, comprising:
a processor; and
a memory having stored thereon computer readable instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1 to 6.
9. A computer readable storage medium having stored thereon computer readable instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1 to 6.
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 CN111258988A (en) 2020-06-09
CN111258988B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328575B (en) * 2020-11-12 2024-07-05 杭州数梦工场科技有限公司 Data asset blood-edge generation method and device and electronic equipment
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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10592546B2 (en) * 2016-09-23 2020-03-17 Amazon Technologies, Inc. System for optimizing access to an indexed database

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN111258988A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN111258988B (en) Asset management method, device, electronic equipment and medium
CN109614402B (en) Multidimensional data query method and device
CN109683998A (en) Internationalize implementation method, device and system
CN108540508B (en) Method, device and equipment for pushing information
CN112835904A (en) Data processing method and data processing device
CN110619078A (en) Method and device for pushing information
CN107291835B (en) Search term recommendation method and device
CN116594683A (en) Code annotation information generation method, device, equipment and storage medium
CN110889000B (en) Method and apparatus for outputting information
CN107291923B (en) Information processing method and device
CN114417112A (en) Data processing method, data processing apparatus, electronic device, and storage medium
CN113722007A (en) Configuration method, device and system of VPN branch equipment
CN113450170A (en) Information display method and device
CN107256244B (en) Data processing method and system
CN113434754A (en) Method and device for determining recommended API (application program interface) service, electronic equipment and storage medium
CN112131287A (en) Method and device for reading data
CN114285743B (en) Method, device, electronic equipment and storage medium for updating configuration information
CN113779058B (en) Method, apparatus, device and computer readable medium for obtaining service data
CN110348935B (en) Reminding method, device, medium and electronic equipment based on object information requirement
CN113741796B (en) Data persistence method and device for terminal application
CN113065920A (en) Data processing method and system
CN110555053A (en) method and apparatus for outputting information
CN113342646B (en) Use case generation method, device, electronic equipment and medium
WO2021169553A1 (en) Method and apparatus for processing order
CN114691682A (en) Data table generation 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