CN102222112A - Resource management device and resource management method - Google Patents
Resource management device and resource management method Download PDFInfo
- Publication number
- CN102222112A CN102222112A CN201110193867XA CN201110193867A CN102222112A CN 102222112 A CN102222112 A CN 102222112A CN 201110193867X A CN201110193867X A CN 201110193867XA CN 201110193867 A CN201110193867 A CN 201110193867A CN 102222112 A CN102222112 A CN 102222112A
- Authority
- CN
- China
- Prior art keywords
- resource
- file
- information
- configuration file
- resource management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a resource management device and a resource management method. The resource management device comprises a configuration module, an analysis module and an uploading module wherein the configuration module is used for setting up a configuration file, and storing the information of resources into the configuration file; the analysis module is used for analyzing the information of the resources from the configuration file so as to set up the resources; the uploading module is used for uploading the file of the resources; and the number of the resources is one or more than one. According to the information of the resources, stored by the configuration file, the method can complete the setting up and the setting of all the resources in batch, and then upload the files of the resources in batch, so that the method is quick and efficient.
Description
Technical field
The present invention relates to moving communicating field, in particular to a kind of resource management apparatus and a kind of method for managing resource.
Background technology
At present, the resource that can be applicable to mobile phone terminal is more and more abundanter, application program such as player, communication tool installation file for example, and data such as video, audio frequency and picture, resource all is that the user obtains in the shop from network greatly.
Online Store to the disposal route of resource is at present, is unit with single resource, is created one by one and is managed by administrator hand.For example, the keeper needs resource of shop establishment on the net, the attribute of this resource is set, upload the icon of this resource, also need to set up the version information of this resource then, when creating version, need to upload the resource file of corresponding resource version, can be application program installation file or audio frequency, picture.
According to above technical scheme, though single resource is managed more convenient, the process of establishing resource is a more complicated, needs the keeper need manually carry out every setting of resource.If there is large batch of resource to need to gather (comprise establishing resource, set up flow processs such as version and upload file), complicated flow process the is set delay in the transmission time of response time of network and file in addition, workload and consuming time all be quite surprising.
Therefore, need a kind of resource management mode, establishment, version setting and the file that can finish resource in enormous quantities quickly and efficiently such as uploads at operation, and do not need the people for too much intervening.
Summary of the invention
Technical matters to be solved by this invention is, a kind of resource management mode is provided, and establishment, version setting and the file that can finish resource in enormous quantities quickly and efficiently such as uploads at operation, and do not need the people for too much intervening.
In view of this, the invention provides a kind of resource management apparatus, comprising: configuration module, set up configuration file, the information of resource is deposited in the described configuration file; Parsing module parses the information of described resource, to be used to create described resource from described configuration file; Last transmission module carries out the uploading of file of described resource, and wherein, the quantity of described resource is one or more.By this technical scheme, can finish the establishment and the setting of all resources in batches according to the resource information that deposits configuration file in, and then upload all resource files in batches, rapidly and efficiently.
In technique scheme, preferably, described information comprises version; Described upward transmission module is obtained the file of the described resource of corresponding described version, to upload.
In technique scheme, preferably, described information comprises the memory location; The described transmission module of going up is according to the described memory location that parses, and carries out the uploading of file of described resource.Also can separately all memory locations be recorded in another file, carry out file according to the memory location in this document and upload.
In technique scheme, preferably, the form of described configuration file comprises excel form and xml form.In this technical scheme, the file that is suitable for can have multiple, is not limited to above two kinds of enumerating.
In technique scheme, preferably, the described transmission module of going up adopts the FTP instrument to upload the file of described resource.The FTP instrument is simple and easy to usefulness, and is than the HTTP file transfer, more reliable and stable.
In technique scheme, preferably, described information also comprises attribute and icon.In this technical scheme, whether the type of attribute comprises kind, size, charge etc., and the information type that is suitable for can also have multiple, is not limited to the above content of enumerating.
The present invention also provides a kind of method for managing resource, comprising: step 202, set up configuration file, and the information of resource is deposited in the described configuration file; Step 204 parses the information of described resource, to be used to create described resource from described configuration file; Step 206 is carried out the uploading of file of described resource, and wherein, the quantity of described resource is one or more.By this technical scheme, can finish the establishment and the setting of all resources in batches according to the resource information that deposits configuration file in, and then upload all resource files in batches, rapidly and efficiently.
In technique scheme, preferably, described information comprises version; In described step 206, obtain the file of the described resource of corresponding described version, to upload.
In technique scheme, preferably, described information comprises the memory location; In described step 206,, carry out uploading with the file of described resource according to the described memory location that parses.Also can separately all memory locations be recorded in another file, carry out file according to the memory location in this document and upload.
In technique scheme, preferably, the form of described configuration file comprises excel form and xml form.In this technical scheme, the file that is suitable for can have multiple, is not limited to above two kinds of enumerating.
In technique scheme, preferably, in described step 206, adopt the FTP instrument to upload the file of described resource.The FTP instrument is simple and easy to usefulness, and is than the HTTP file transfer, more reliable and stable.
In technique scheme, preferably, described information also comprises attribute and icon.In this technical scheme, whether the type of attribute comprises kind, size, charge etc., and the information type that is suitable for can also have multiple, is not limited to the above content of enumerating.
By above technical scheme, can realize a kind of resource management apparatus and a kind of method for managing resource, establishment, version setting and the file that can finish resource in enormous quantities quickly and efficiently such as uploads at operation, and do not need the people for too much intervening.
Description of drawings
Fig. 1 is the block diagram of resource management apparatus according to an embodiment of the invention;
Fig. 2 is the process flow diagram of method for managing resource according to an embodiment of the invention;
Fig. 3 is the workflow diagram of resource management apparatus according to an embodiment of the invention;
Fig. 4 is the workflow diagram of resource management apparatus according to an embodiment of the invention.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with the drawings and specific embodiments.
Set forth a lot of details in the following description so that fully understand the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following public specific embodiment.
Fig. 1 is the block diagram of resource management apparatus according to an embodiment of the invention.
As shown in Figure 1, the invention provides a kind of resource management apparatus 100, comprising: configuration module 102, set up configuration file, the information of resource is deposited in the configuration file; Parsing module 104 parses the information of resource, to be used for establishing resource from configuration file; Last transmission module 106 carries out the uploading of file of resource, and wherein, the quantity of resource is one or more.By this technical scheme, can finish the establishment and the setting of all resources in batches according to the resource information that deposits configuration file in, and then upload all resource files in batches, rapidly and efficiently.
In technique scheme, information comprises version; Last transmission module 106 is obtained the file of the resource of corresponding version, to upload.
In technique scheme, information comprises the memory location; Last transmission module 106 is according to the memory location that parses, and carries out the uploading of file of resource.Also can separately all memory locations be recorded in another file, carry out file according to the memory location in this document and upload.
In technique scheme, the form of configuration file comprises excel form and xml form.In this technical scheme, the file that is suitable for can have multiple, is not limited to above two kinds of enumerating.
In technique scheme, last transmission module adopts the FTP instrument to upload the file of resource.The FTP instrument is simple and easy to usefulness, and is than the HTTP file transfer, more reliable and stable.
In technique scheme, information also comprises attribute and icon.In this technical scheme, whether the type of attribute comprises kind, size, charge etc., and the information type that is suitable for can also have multiple, is not limited to the above content of enumerating.
Fig. 2 is the process flow diagram of method for managing resource according to an embodiment of the invention.
As shown in Figure 2, the present invention also provides a kind of method for managing resource, comprising: step 202, set up configuration file, and the information of resource is deposited in the configuration file; Step 204 parses the information of resource, to be used for establishing resource from configuration file; Step 206 is carried out the uploading of file of resource, and wherein, the quantity of resource is one or more.By this technical scheme, can finish the establishment and the setting of all resources in batches according to the resource information that deposits configuration file in, and then upload all resource files in batches, rapidly and efficiently.
In technique scheme, information comprises version; In step 206, obtain the file of the resource of corresponding version, to upload.
In technique scheme, information comprises the memory location; In step 206,, carry out the uploading of file of resource according to the memory location that parses.Also can separately all memory locations be recorded in another file, carry out file according to the memory location in this document and upload.
In technique scheme, the form of configuration file comprises excel form and xml form.In this technical scheme, the file that is suitable for can have multiple, is not limited to above two kinds of enumerating.
In technique scheme, in step 206, adopt the FTP instrument to upload the file of resource.The FTP instrument is simple and easy to usefulness, and is than the HTTP file transfer, more reliable and stable.
In technique scheme, information also comprises attribute and icon.In this technical scheme, whether the type of attribute comprises kind, size, charge etc., and the information type that is suitable for can also have multiple, is not limited to the above content of enumerating.
Fig. 3 and Fig. 4 are the workflow diagram of resource management apparatus according to an embodiment of the invention.
In the present embodiment, utilize the carrier of Excel document instrument for the essential information of resource, realize the batch acquisition function of resource in conjunction with POI (a kind of api interface assembly of resolving the Excel file) technology, ftp file transmission technology, the concrete steps of establishing resource as shown in Figure 3:
This document format of EXCEL is more common, so when running into large batch of resource and need handle, the keeper can assign the task to the personnel that the management system operation flow is not familiar with, as long as according to certain form the EXCEL document is filled in, just can finish the collecting work of resource.In technique scheme, also can not adopt Excel document instrument is the carrier of the essential information of resource, can be XML document for example, adopts existing XML to resolve scheme from wherein parsing required resource information.
The memory location of resource file in file server also can be recorded in the Execl document, then in the resolving to the Excel document, can parse the memory location of resource file, and the concrete steps of uploading resource file are as follows:
The part that technical scheme of the present invention is uploaded the information setting and the file of resource separately, at any time resource management apparatus utilizes FTP (or HTTP etc.) transmission mode, and resource file is uploaded to precalculated position in the file server.
In sum, the present invention has realized a kind of resource management apparatus and a kind of method for managing resource, the constructive process of resource is changed into automatically perform, and supports collection of resources in batches, so alleviated keeper's workload greatly, increased exponentially its work efficiency.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (12)
1. a resource management apparatus is characterized in that, comprising:
Configuration module is set up configuration file, and the information of resource is deposited in the described configuration file;
Parsing module parses the information of described resource, to be used to create described resource from described configuration file;
Last transmission module carries out the uploading of file of described resource, and wherein, the quantity of described resource is one or more.
2. resource management apparatus according to claim 1 is characterized in that described information comprises version;
Described upward transmission module is obtained the file of the described resource of corresponding described version, to upload.
3. resource management apparatus according to claim 1 is characterized in that described information comprises the memory location;
The described transmission module of going up is according to the described memory location that parses, and carries out the uploading of file of described resource.
4. resource management apparatus according to claim 1 is characterized in that, the form of described configuration file comprises excel form and xml form.
5. resource management apparatus according to claim 1 is characterized in that, the described transmission module of going up adopts the FTP instrument to upload the file of described resource.
6. according to each described resource management apparatus in the claim 1 to 5, it is characterized in that described information also comprises attribute and icon.
7. a method for managing resource is characterized in that, comprising:
Step 202 is set up configuration file, and the information of resource is deposited in the described configuration file;
Step 204 parses the information of described resource, to be used to create described resource from described configuration file;
Step 206 is carried out the uploading of file of described resource, and wherein, the quantity of described resource is one or more.
8. method for managing resource according to claim 7 is characterized in that described information comprises version;
In described step 206, obtain the file of the described resource of corresponding described version, to upload.
9. method for managing resource according to claim 7 is characterized in that described information comprises the memory location;
In described step 206,, carry out the uploading of file of described resource according to the described memory location that parses.
10. method for managing resource according to claim 7 is characterized in that, the form of described configuration file comprises excel form and xml form.
11. method for managing resource according to claim 7 is characterized in that, in described step 206, adopts the FTP instrument to upload the file of described resource.
12., it is characterized in that described information also comprises attribute and icon according to each described method for managing resource in the claim 7 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110193867.XA CN102222112B (en) | 2011-07-12 | 2011-07-12 | Resource management device and resource management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110193867.XA CN102222112B (en) | 2011-07-12 | 2011-07-12 | Resource management device and resource management method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102222112A true CN102222112A (en) | 2011-10-19 |
CN102222112B CN102222112B (en) | 2014-03-12 |
Family
ID=44778664
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110193867.XA Active CN102222112B (en) | 2011-07-12 | 2011-07-12 | Resource management device and resource management method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102222112B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968443A (en) * | 2012-10-22 | 2013-03-13 | 上海富欣智能交通控制有限公司 | Optimized interface resource management system for automatic train supervision (ATS) system |
CN103078952A (en) * | 2013-01-25 | 2013-05-01 | 浪潮电子信息产业股份有限公司 | Automatic deployment method for cloud resources at cloud resource tenant end |
CN103324623A (en) * | 2012-03-21 | 2013-09-25 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and data batch operating method |
CN103401933A (en) * | 2013-08-05 | 2013-11-20 | 天闻数媒科技(湖南)有限公司 | Method and system for batch uploading resource information and corresponding resource file |
WO2016165482A1 (en) * | 2015-08-07 | 2016-10-20 | 中兴通讯股份有限公司 | File transfer method and apparatus |
CN107273287A (en) * | 2017-06-06 | 2017-10-20 | 云南电网有限责任公司信息中心 | A kind of web terminal Function Test Automation framework based on power business case driving |
CN111049913A (en) * | 2019-12-17 | 2020-04-21 | 中国建设银行股份有限公司 | Data file transmission method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1980144A (en) * | 2005-12-09 | 2007-06-13 | 中兴通讯股份有限公司 | Method for quickly configurating large data-quantity network management data |
CN101510898A (en) * | 2009-03-27 | 2009-08-19 | 深圳市茁壮网络技术有限公司 | Method for uploading and downloading data, network node and communication system |
CN101789021A (en) * | 2010-02-24 | 2010-07-28 | 浪潮通信信息系统有限公司 | Universal configurable database data migration method |
-
2011
- 2011-07-12 CN CN201110193867.XA patent/CN102222112B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1980144A (en) * | 2005-12-09 | 2007-06-13 | 中兴通讯股份有限公司 | Method for quickly configurating large data-quantity network management data |
CN101510898A (en) * | 2009-03-27 | 2009-08-19 | 深圳市茁壮网络技术有限公司 | Method for uploading and downloading data, network node and communication system |
CN101789021A (en) * | 2010-02-24 | 2010-07-28 | 浪潮通信信息系统有限公司 | Universal configurable database data migration method |
Non-Patent Citations (1)
Title |
---|
陈文军: "《基于GT4的批量数据传输的研究与实现》", 《中国石油大学(华东)硕士学位论文》, 25 December 2009 (2009-12-25) * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324623A (en) * | 2012-03-21 | 2013-09-25 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and data batch operating method |
CN103324623B (en) * | 2012-03-21 | 2017-04-12 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and data batch operating method |
CN102968443A (en) * | 2012-10-22 | 2013-03-13 | 上海富欣智能交通控制有限公司 | Optimized interface resource management system for automatic train supervision (ATS) system |
CN103078952A (en) * | 2013-01-25 | 2013-05-01 | 浪潮电子信息产业股份有限公司 | Automatic deployment method for cloud resources at cloud resource tenant end |
CN103401933A (en) * | 2013-08-05 | 2013-11-20 | 天闻数媒科技(湖南)有限公司 | Method and system for batch uploading resource information and corresponding resource file |
WO2016165482A1 (en) * | 2015-08-07 | 2016-10-20 | 中兴通讯股份有限公司 | File transfer method and apparatus |
CN107273287A (en) * | 2017-06-06 | 2017-10-20 | 云南电网有限责任公司信息中心 | A kind of web terminal Function Test Automation framework based on power business case driving |
CN111049913A (en) * | 2019-12-17 | 2020-04-21 | 中国建设银行股份有限公司 | Data file transmission method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102222112B (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102222112B (en) | Resource management device and resource management method | |
CN104301393B (en) | Laboratory data gathers and management system | |
CN106897909B (en) | Cloud service system and method for printing and storing electronic invoices | |
CN102904960B (en) | A kind of information synchronization system and method based on RSS | |
CN103092608B (en) | The generation of the client of collecting device information and operation method, server and equipment | |
CN112364223B (en) | Digital archive system | |
CN109783426A (en) | Acquire method, apparatus, computer equipment and the storage medium of data | |
CN104899325A (en) | APP (application) acquired data collection method, terminal, server and system | |
CN102497424A (en) | Method for achieving cloud storage through mobile storage device | |
CN109299157A (en) | A kind of data export method and device of distributed big single table | |
CN113569117A (en) | Cloud platform system and method based on industrial internet big data service | |
CN110798445B (en) | Public gateway interface testing method and device, computer equipment and storage medium | |
CN103312544A (en) | Method, equipment and system for controlling terminals during log file reporting | |
CN102611626A (en) | System and method for analyzing network flow | |
CN104104560A (en) | Monitoring method and device for application flow and mobile terminal | |
CN103701817A (en) | Method and device for generating configuration file | |
CN102572204A (en) | Method and device for obtaining comics adaptive to terminal screen resolution | |
CN111414361A (en) | Label data storage method, device, equipment and readable storage medium | |
CN117332134A (en) | Remote sensing satellite original data processing and management method, device, equipment and medium | |
CN108280147A (en) | Data management method and device | |
CN103607731A (en) | Method and device for processing measurement reports | |
CN103475532A (en) | Hardware detection method and system thereof | |
CN103425490A (en) | Management method based on running object data in CRM system | |
CN105677912A (en) | Displaying method and system for mass data of online electronic map | |
CN103914465A (en) | User interest graph based intelligent customization audio listening implementation system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |