Mirror-type intelligent asset management method, system, electronic device and storage medium
By defining the mirror-type intelligent asset file format, heavyweight and lightweight files are encapsulated and stored in classified storage, the problem of waste and retrieval of storage space in mirror-type intelligent asset management is solved, and efficient asset management and rapid retrieval is achieved.
Patent Information
- Application Number
- CN202311025058.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-15
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2043-08-15
AI Technical Summary
Currently, internal mirrored smart assets in enterprises occupy too much storage space, difficulty in management, and inconsistent file formats, resulting in confusion in classification management and difficulty in retrieval.
Define the mirror-type intelligent asset file format, encapsulate heavyweight and lightweight files in folders and packets respectively, scan and store them in a classified manner according to the set period, preset the running environment image, generate executable intelligent asset image packages, and use the mirror-type intelligent asset management system for management.
Through structured data classification, the storage space occupation is reduced, rapid and accurate asset retrieval and management are achieved, asset life cycle storage is optimized, and necessary conditions are provided to support asset retrieval and reuse.
Smart Images

Figure CN117312552B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to computer file management technology, and in particular to a mirror-type intelligent asset management method, system, electronic equipment and storage medium. Background Art
[0002] With the rapid development of IT technology, the number of virtual assets within enterprises is becoming increasingly large, and the management of virtual assets has gradually become an unavoidable topic within each enterprise.
[0003] Mirror-type smart assets generally refer to applications running in Docker images that have autonomous and collaborative capabilities by integrating ICT capabilities such as network, computing, and storage. They are virtual assets and are present in large numbers in organizations.
[0004] Currently, internal enterprise mirror-type smart assets have problems such as excessive storage space occupation, difficulty in asset management, inconsistent smart asset file formats leading to chaotic classification management and inability to quickly retrieve. Summary of the Invention
[0005] In view of the deficiencies in the prior art, the present invention provides a mirror-type intelligent asset management method, system, electronic device and storage medium.
[0006] To achieve the above object, the present invention adopts the following technical solutions:
[0007] A mirror-type intelligent asset management method, comprising:
[0008] Define a mirrored smart asset file format, encapsulate heavyweight unstructured smart asset files in folder form according to the defined mirrored smart asset file format, and encapsulate lightweight unstructured smart asset files in message form to form structured files; the smart asset files include a smart asset executable program package and mirrored smart asset basic information;
[0009] Through scheduled scanning, the system checks whether there are any files in the specified file upload directory according to the set period. If no files exist, the system determines the intelligent asset file packaging method, and parses the assets packaged in folders and messages according to the intelligent asset file packaging method, and stores them according to standard directory classification.
[0010] Pre-set operating environment image;
[0011] Retrieving the smart asset executable package based on the basic information of the mirrored smart asset, and packaging the smart asset executable package with the operating environment image and operating parameters to generate an executable smart asset image package;
[0012] Use the defined classification of the mirrored smart asset file format as the search criteria to query the mirrored smart assets that match the criteria.
[0013] To optimize the above technical solutions, specific measures taken also include:
[0014] Furthermore, the definition of the mirrored smart asset file format is specifically as follows:
[0015] Define the classification of mirror-type smart asset files, including primary classification and secondary classification. The primary classification includes basic information, version information, classification information, security information, operation information, author information, usage information, extension information and inspection information; the basic information contains secondary classification, and the secondary classification under the basic information includes asset name, asset nickname and file size; the version information contains secondary classification, and the secondary classification under the version information includes version number, release time, maintenance stop time and expiration time; the classification information contains secondary classification, and the secondary classification under the classification information includes but is not limited to cloud computing, big data, blockchain, security and artificial intelligence, and reserves custom secondary classifications for further classification. Continue to expand; the security information contains a secondary classification, and the secondary classification under the security information includes encryption type and encryption public key; the operation information contains a secondary classification, and the secondary classification under the operation information includes development language, language version, operation environment, environment version and encapsulation script; the author information contains a secondary classification, and the secondary classification under the author information includes author name, contact number and email address; the usage information contains a secondary classification, and the secondary classification under the usage information includes input parameter format, output parameter format and instructions for use; the inspection information contains a secondary classification, and the secondary classification under the inspection information includes file number and verification code; several secondary classifications are customized under the extended information.
[0016] Furthermore, the heavyweight unstructured smart asset file is packaged in a folder in accordance with the defined mirror-type smart asset file format as follows:
[0017] The asset name is used as the first-level folder directory, and a second-level directory is set under the first-level folder directory. The second-level directory includes two directories: program files and mirror-type smart asset basic information. The smart asset executable program package is stored in the program file directory. The mirror-type smart asset basic information directory is set with a second-level directory according to basic information, version information, classification information, security information, operation information, author information, usage information, inspection information and extended information. Under the second-level directory, a third-level directory is defined according to the second-level classification in the classification of the mirror-type smart asset file. The directory is a Chinese directory or an English directory.
[0018] Furthermore, the encapsulation of the lightweight unstructured smart asset file in the form of a message is specifically as follows:
[0019] Classify and organize the mirror-type smart asset basic information and smart asset executable program packages, and store the mirror-type smart asset basic information in the form of key-value pairs.
[0020] Furthermore, the method of timing scanning is used to query whether there are any files in the specified file upload directory according to the set period. If there are no files, the intelligent asset file packaging method is determined, and the assets packaged in the folder method and the assets packaged in the message method are parsed according to the intelligent asset file packaging method and stored according to the standard directory classification. Specifically:
[0021] Through the method of scheduled scanning, whether there is any file in the specified file upload directory according to the set period is checked. If there is no file, the smart asset file encapsulation method is determined. If it is message encapsulation, the key in the message is parsed, and the value corresponding to the key is stored in the asset database, and the smart asset executable package is stored in the asset file library. If it is folder encapsulation, the mirror-type smart asset basic information and the smart asset executable package are parsed, and the mirror-type smart asset basic information is stored in the asset database, the smart asset executable package is stored in the asset file library, and the usage documentation of the smart asset executable package is stored in the asset file library. The storage process is all through the IP network, using the FTP or SFTP protocol to store the smart asset files encapsulated in the folder according to the encapsulated directory.
[0022] Furthermore, the pre-installed operating environment image specifically includes: pre-installing the operating environment image in the image warehouse in advance, and the operating environment image includes but is not limited to jdk image, nginx image and linux image.
[0023] Furthermore, the method of retrieving the smart asset executable package according to the mirrored smart asset basic information and packaging the smart asset executable package with the operating environment image and operating parameters to generate the executable smart asset image package is as follows:
[0024] After receiving the user's instruction to generate an executable smart asset image package, it first reads the basic information of the mirror-type smart asset, retrieves the smart asset executable program package from the asset file library based on the basic information of the mirror-type smart asset, and uses the Docker component to package the smart asset executable program package with the corresponding operating environment image and operating parameters to generate an executable smart asset image package.
[0025] The present invention also proposes a mirror-type intelligent asset management system, comprising: an intelligent asset file format definition management module, an asset management module, a mirror warehouse, an asset retrieval management module, a mirror asset factory, and a mirror asset receiving and scanning module;
[0026] The smart asset file format definition management module defines a mirrored smart asset file format, encapsulates heavyweight unstructured smart asset files in the form of folders according to the defined mirrored smart asset file format, and then stores them according to standard directory classification. It also encapsulates lightweight unstructured smart asset files in the form of messages and then stores them according to standard directory classification to form structured files. The smart asset files include smart asset executable program packages and mirrored smart asset basic information.
[0027] The asset management module includes an asset information management module and an asset file management module; the asset information management module parses the mirrored smart asset basic information and stores the mirrored smart asset basic information in the asset database; the asset file management module stores the smart asset executable program package in the asset file library;
[0028] The image warehouse stores the operating environment image;
[0029] The asset retrieval management module is used for asset retrieval and asset information query; the classification of the defined mirror-type smart asset file format is used as the search condition to query the mirror-type smart assets that match the conditions;
[0030] The mirror asset factory retrieves the smart asset executable package based on the mirror type smart asset basic information, and packages the smart asset executable package with the operating environment image and operating parameters to generate an executable smart asset mirror package;
[0031] The mirrored asset receiving and scanning module receives assets packaged in folders and assets packaged in messages, and sends the smart asset files to the asset management module through a timed scanning method.
[0032] The present invention also proposes an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the mirror-type intelligent asset management method described above is implemented.
[0033] The present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the mirror-type intelligent asset management method as described above.
[0034] The beneficial effects of the present invention are:
[0035] The defined mirrored smart asset file format structures the underlying asset information. When managing mirrored smart assets, enterprises can directly access and store corresponding data based on classification. This structured data classification effectively addresses storage issues such as asset lifecycles and classifications. It also provides the necessary conditions for asset retrieval and reuse. When searching for mirrored smart assets, users can use the classifications defined in the format as search criteria to quickly and accurately find matching mirrored smart assets.
[0036] Using this format definition, program files, operating information and other contents are stored separately, and only one copy is needed for the same operating environment, which reduces storage space usage.
[0037] Store basic asset information in the database and asset application packages in the file warehouse. There is no need to package and store the operating environment and application packages together. You only need to store the public image separately. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a schematic diagram of classified storage;
[0039] Figure 2 A schematic diagram of the search conditions that can be selected when searching for assets;
[0040] Figure 3 To generate a directory data schematic diagram according to the directory structure;
[0041] Figure 4 This is a diagram of the traditional packaging method. DETAILED DESCRIPTION
[0042] The present invention will now be described in further detail with reference to the accompanying drawings.
[0043] In one embodiment, the present invention provides a mirror-type intelligent asset management method, the method comprising:
[0044] Defines the image-type smart asset file format, specifically:
[0045] Define the classification of mirror-type smart asset files, including primary and secondary classifications. The primary classification includes basic information, version information, classification information, security information, operation information, author information, usage information, extension information, and inspection information. To facilitate the use of this classification in the system, the classification is defined in Chinese and English. The details are as follows:
[0046] The basic information (baseinfo) includes secondary categories, including asset name (assetName), asset nickname (antherName), and file size (aSize); the version information (version) includes secondary categories, including version number (number), release date (releaseDate), maintenance stop date (maintenanceStopDate), and expiration date (expirationDate); the category information (category) includes secondary categories, including but not limited to cloud computing (cloudComputing), big data (bigData), blockchain (blockchain), security (informationSecurity), and artificial intelligence (AI), with custom secondary categories reserved for further development; the security information (securement) includes secondary categories, including encryption type (encryptionType) and encryption public key (publicKey); The running information (environment) contains secondary categories, and the secondary categories under the running information (environment) include development language (developmentLanguage), language version (dlVersion), running environment (environment), environment version (eVersion) and encapsulation script (script); the author information contains secondary categories, and the secondary categories under the author information (author) include author name (authorName), contact number (phoneNumber) and email address (email); the usage information (instruction) contains secondary categories, and the secondary categories under the usage information include input format (input), output format (output) and instructions for use (documentation); the check information (check) contains secondary categories, and the secondary categories under the check information include file number (filesCount) and verification code (verificationCode); the extended information (continuation) contains several customized secondary categories.
[0047] The table is shown in Table 1:
[0048] Table 1 Definition of the image-type smart asset file format
[0049]
[0050]
[0051] Traditional image and runtime environment packaging storage Figure 4 As shown, the traditional method has the following problems: 1. Even different assets running on the same type of image need to be packaged and saved together; 2. Since images are generally large, storage space is wasted. Therefore, the present invention adopts the standard format definition proposed above to store program files, operation information and other contents separately. The enterprise stores basic asset information in the database and stores asset application packages in the file warehouse. There is no need to package and store the operating environment and application package together. Only the public image needs to be stored separately. Figure 1 As shown in the figure. For example, a smart asset with an image occupies 2GB of storage space, of which the image occupies 1GB and the application occupies 1GB. If stored separately, the total storage space for 10 assets using the same image is 20GB. If stored separately, the image occupies 1GB, and the 10 applications occupy 10GB, for a total storage space of 11GB. In this example, the space usage can be reduced by 45%.
[0052] The specific implementation is as follows:
[0053] Heavyweight, unstructured smart asset files are packaged in folders according to the defined mirrored smart asset file format. The asset name is used as the first-level folder directory. Under the first-level folder directory, second-level directories are set up, including two directories: program files and mirrored smart asset basic information. The program files directory stores the smart asset executable package. Under the mirrored smart asset basic information directory, second-level directories are set up according to basic information, version information, classification information, security information, operation information, author information, usage information, inspection information, and extended information. Under the second-level directory, third-level directories are defined according to the second-level classification of the mirrored smart asset file classification. For example, under the basic information, three-level file directories are established for asset name, asset nickname, and file size. The directories can be in Chinese or English.
[0054] Folder format packaging is suitable for use when image assets and related files are large.
[0055] The directory requirements are shown in Table 2:
[0056] Table 2 Folder directory diagram
[0057]
[0058] The Programfiles directory stores compiled program files, such as jar.
[0059] To support lightweight mirror-type smart asset file encapsulation, files can also be encapsulated in message format. Lightweight, unstructured smart asset files are encapsulated in message format to form structured files. The mirror-type smart asset basic information and smart asset executable packages are categorized and organized, and stored as key-value pairs. For example, assetName: Traffic Light Recognition Model.
[0060] The smart asset file includes a smart asset executable program package and mirror-type smart asset basic information.
[0061] Through scheduled scanning, the system checks whether there are any files in the specified file upload directory according to the set period. If no files exist, the system determines the intelligent asset file packaging method. Based on the intelligent asset file packaging method, the system parses the assets packaged in folders and messages respectively and stores them according to the standard directory classification. Specifically:
[0062] Through the method of scheduled scanning, check whether there are any files in the specified file upload directory according to the set period. If there are no files, determine the packaging method of the smart asset file. If it is packaged in message mode, parse the key in the message, and store the value corresponding to the key in the asset database, and store the smart asset executable package in the asset file library. If it is packaged in folder mode, parse the mirror-type smart asset basic information and the smart asset executable package, store the mirror-type smart asset basic information in the asset database, store the smart asset executable package in the asset file library, and store the usage documents of the smart asset executable package in the asset file library. The storage process is all through the IP network, using the FTP or SFTP protocol to store the folder-packaged smart asset files according to the packaged directory. Generate directory data according to the directory structure, such as Figure 3 shown.
[0063] Pre-install the operating environment image; pre-install the operating environment image in the image warehouse in advance, and the operating environment image includes but is not limited to jdk image, nginx image and linux image.
[0064] The smart asset executable package is retrieved based on the basic information of the mirror-type smart asset, and the smart asset executable package is packaged with the operating environment image and operating parameters to generate an executable smart asset image package; the purpose of generating the executable smart asset image package is to enable one-click deployment and use of the smart asset image.
[0065] The smart asset executable package is a simple executable file, but the smart asset executable package needs to run in the corresponding operating system and components and needs to be configured.
[0066] An executable smart asset image package refers to an application image that uses Docker components to package the smart asset executable program package with the corresponding runtime environment image and runtime parameters, and is executed directly in the Docker environment.
[0067] The specific steps to generate an executable smart asset image package are:
[0068] After receiving the user's instruction to generate an executable smart asset image package, it first reads the basic information of the mirror-type smart asset, retrieves the smart asset executable program package from the asset file library based on the basic information of the mirror-type smart asset, and uses the Docker component to package the smart asset executable program package with the corresponding operating environment image and operating parameters to generate an executable smart asset image package.
[0069] Currently, mirrored smart assets lack standardized file format definitions, resulting in large amounts of unstructured data stored in the system and making information retrieval difficult. Using the management method proposed in this invention, users can search for mirrored smart assets using the defined file format classifications as search criteria, quickly and accurately finding matching mirrored smart assets.
[0070] The search conditions that can be selected when searching for assets are as follows: Figure 2 shown.
[0071] In another embodiment, the present invention provides a mirrored intelligent asset management system that implements the mirrored intelligent asset management method described in the first embodiment, comprising: an intelligent asset file format definition management module, an asset management module, a mirrored repository, an asset retrieval management module, a mirrored asset factory, and a mirrored asset receiving and scanning module;
[0072] The smart asset file format definition management module defines a mirror-type smart asset file format, encapsulates heavyweight unstructured smart asset files in the form of folders according to the defined mirror-type smart asset file format, and then stores them according to standard directory classification. It also encapsulates lightweight unstructured smart asset files in the form of messages and then stores them according to standard directory classification to form structured files. The smart asset files include smart asset executable program packages and mirror-type smart asset basic information. Specifically,
[0073] Classify mirrored smart asset files according to the defined mirrored smart asset file format, encapsulate heavyweight unstructured smart asset files in folders, and place the mirrored smart asset files in the corresponding file directory;
[0074] Encapsulate lightweight, unstructured smart asset files in message form, categorize and organize mirrored smart asset basic information and smart asset executable packages, store the mirrored smart asset basic information as key-value pairs, and place the smart asset executable packages and messages in a unified directory;
[0075] Both packaging methods use the smart asset name as the file name.
[0076] The specific packaging in the form of folders is:
[0077] The asset name is used as the first-level folder directory, and a second-level directory is set under the first-level folder directory. The second-level directory includes two directories: program files and mirror-type smart asset basic information. The smart asset executable package is stored in the program file directory. The mirror-type smart asset basic information directory is set with a second-level directory according to basic information, version information, classification information, security information, operation information, author information, usage information, inspection information and extended information. Under the second-level directory, a third-level directory is defined according to the second-level classification in the mirror-type smart asset file classification. The directory is a Chinese directory or an English directory.
[0078] Upload the structured smart asset file to the specified directory via the IP network using the FTP or SFTP protocol.
[0079] The asset management module includes an asset information management module and an asset file management module; the asset management module determines the packaging method of the smart asset file. If it is packaged in message mode, the asset information management module parses the key in the message and stores the value corresponding to the key in the asset information library. The asset file management module stores the smart asset executable package in the asset file library; if it is packaged in folder mode, the asset information management module stores the mirror-type smart asset basic information in the asset database, and the asset file management module stores the smart asset executable package and the usage document of the smart asset executable package in the asset file library.
[0080] The image warehouse stores operating environment images; operating environment images include but are not limited to jdk images, nginx images and linux images.
[0081] The asset retrieval management module is used for asset retrieval and asset information query; the classification of the defined mirror-type smart asset file format is used as the search condition to query the mirror-type smart assets that match the conditions;
[0082] The mirror asset factory retrieves the smart asset executable package based on the mirror-type smart asset basic information, and packages the smart asset executable package with the operating environment image and operating parameters to generate an executable smart asset image package; after receiving the user's instruction to generate an executable smart asset image package, the mirror asset factory first reads the mirror-type smart asset basic information and retrieves the smart asset executable package from the asset file library. According to the image type, version and packaging command used, the Docker component is used to package the smart asset executable package with the corresponding image environment and operating parameters to generate an executable smart asset image package.
[0083] The mirrored asset receiving and scanning module receives assets packaged in folders and assets packaged in messages, and sends the smart asset files to the asset management module through a timed scanning method.
[0084] In another embodiment, the present invention proposes an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the mirror-type intelligent asset management method as described in the first embodiment is implemented.
[0085] In another embodiment, the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the mirror-type intelligent asset management method as described in the first embodiment.
[0086] In the embodiments disclosed herein, computer storage media can be tangible media that can contain or store programs for use by or in conjunction with an instruction execution system, device, or apparatus. Computer storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. More specific examples of computer storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0087] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0088] The above are merely preferred embodiments of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions based on the principles of the present invention are within the scope of protection of the present invention. It should be noted that for those skilled in the art, various improvements and modifications that do not depart from the principles of the present invention should be considered within the scope of protection of the present invention.
Claims
1. A mirror-type intelligent asset management method, characterized in that: include: Define a mirrored smart asset file format, encapsulate heavyweight unstructured smart asset files in folder form according to the defined mirrored smart asset file format, and encapsulate lightweight unstructured smart asset files in message form to form structured files; the smart asset files include a smart asset executable program package and mirrored smart asset basic information; Through scheduled scanning, the system checks whether there are any files in the specified file upload directory according to the set period. If no files exist, the system determines the intelligent asset file packaging method. Based on the intelligent asset file packaging method, the system parses the assets packaged in folders and messages respectively and stores them according to the standard directory classification. Specifically: Through the method of scheduled scanning, it checks whether there are any files in the specified file upload directory according to the set period. If there are no files, the smart asset file packaging method is determined. If it is message packaging, the key in the message is parsed, and the value corresponding to the key is stored in the asset database, and the smart asset executable package is stored in the asset file library. If it is folder packaging, the mirror-type smart asset basic information and the smart asset executable package are parsed, and the mirror-type smart asset basic information is stored in the asset database, and the smart asset executable package is stored in the asset file library. The usage documents of the smart asset executable package are stored in the asset file library. The storage process is all through the IP network, using the FTP or SFTP protocol to store the folder-packaged smart asset files according to the packaged directory; Pre-set operating environment image; Retrieving the smart asset executable package based on the basic information of the mirrored smart asset, and packaging the smart asset executable package with the operating environment image and operating parameters to generate an executable smart asset image package; Use the defined classification of the mirrored smart asset file format as the search criteria to query the mirrored smart assets that match the criteria.
2. The mirror-type intelligent asset management method according to claim 1, wherein: The file format of the mirrored smart asset is as follows: Define the classification of mirror-type smart asset files, including primary classification and secondary classification. The primary classification includes basic information, version information, classification information, security information, operation information, author information, usage information, extension information and inspection information; the basic information contains secondary classification, and the secondary classification under the basic information includes asset name, asset nickname and file size; the version information contains secondary classification, and the secondary classification under the version information includes version number, release time, maintenance stop time and expiration time; the classification information contains secondary classification, and the secondary classification under the classification information includes but is not limited to cloud computing, big data, blockchain, security and artificial intelligence, and reserves custom secondary classifications for further classification. Continue to expand; the security information contains a secondary classification, and the secondary classification under the security information includes encryption type and encryption public key; the operation information contains a secondary classification, and the secondary classification under the operation information includes development language, language version, operation environment, environment version and encapsulation script; the author information contains a secondary classification, and the secondary classification under the author information includes author name, contact number and email address; the usage information contains a secondary classification, and the secondary classification under the usage information includes input parameter format, output parameter format and instructions for use; the inspection information contains a secondary classification, and the secondary classification under the inspection information includes file number and verification code; several secondary classifications are customized under the extended information.
3. The mirror-type intelligent asset management method according to claim 2, characterized in that: The heavyweight unstructured smart asset files are packaged in the form of folders according to the defined mirror-type smart asset file format as follows: The asset name is used as the first-level folder directory, and a second-level directory is set under the first-level folder directory. The second-level directory includes two directories: program files and mirror-type smart asset basic information. The smart asset executable program package is stored in the program file directory. The mirror-type smart asset basic information directory is set with a second-level directory according to basic information, version information, classification information, security information, operation information, author information, usage information, inspection information and extended information. Under the second-level directory, a third-level directory is defined according to the second-level classification in the classification of the mirror-type smart asset file. The directory is a Chinese directory or an English directory.
4. The mirror-type intelligent asset management method according to claim 1, wherein: The method of encapsulating the lightweight unstructured smart asset file in the form of a message is as follows: Classify and organize the mirror-type smart asset basic information and smart asset executable program packages, and store the mirror-type smart asset basic information in the form of key-value pairs.
5. The mirror-type intelligent asset management method according to claim 1, wherein: The pre-installed operating environment image specifically includes: pre-installing the operating environment image in the image warehouse in advance, and the operating environment image includes but is not limited to jdk image, nginx image and linux image.
6. The mirror-type intelligent asset management method according to claim 1, wherein: The method of retrieving the smart asset executable package based on the mirrored smart asset basic information and packaging the smart asset executable package with the operating environment image and operating parameters to generate the executable smart asset image package is as follows: After receiving the user's instruction to generate an executable smart asset image package, it first reads the basic information of the mirror-type smart asset, retrieves the smart asset executable program package from the asset file library based on the basic information of the mirror-type smart asset, and uses the Docker component to package the smart asset executable program package with the corresponding operating environment image and operating parameters to generate an executable smart asset image package.
7. A mirror-type intelligent asset management system implementing the mirror-type intelligent asset management method according to claim 1, characterized in that: include: Intelligent asset file format definition management module, asset management module, image repository, asset retrieval management module, image asset factory, and image asset receiving and scanning module; The smart asset file format definition management module defines a mirrored smart asset file format, encapsulates heavyweight unstructured smart asset files in the form of folders according to the defined mirrored smart asset file format, and then stores them according to standard directory classification. It also encapsulates lightweight unstructured smart asset files in the form of messages and then stores them according to standard directory classification to form structured files. The smart asset files include smart asset executable program packages and mirrored smart asset basic information. The asset management module includes the asset information management module and the asset file management module; The asset information management module parses the mirrored smart asset basic information and stores the mirrored smart asset basic information in the asset database; The asset file management module stores the smart asset executable program package in the asset file library; The image warehouse stores the operating environment image; The asset retrieval management module is used for asset retrieval and asset information query; the classification of the defined mirror-type smart asset file format is used as the search condition to query the mirror-type smart assets that match the conditions; The mirror asset factory retrieves the smart asset executable package based on the mirror type smart asset basic information, and packages the smart asset executable package with the operating environment image and operating parameters to generate an executable smart asset mirror package; The mirrored asset receiving and scanning module receives assets packaged in folders and assets packaged in messages, and sends the smart asset files to the asset management module through a timed scanning method.
8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the mirror-type intelligent asset management method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and the computer program enables a computer to execute the mirror-type intelligent asset management method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Hadoop-based intelligent medical data management method
CN103116643A
Method and device for carrying out security scanning on service container mirror image
CN112395042A