CN102222112B - Resource management device and resource management method - Google Patents

Resource management device and resource management method Download PDF

Info

Publication number
CN102222112B
CN102222112B CN201110193867.XA CN201110193867A CN102222112B CN 102222112 B CN102222112 B CN 102222112B CN 201110193867 A CN201110193867 A CN 201110193867A CN 102222112 B CN102222112 B CN 102222112B
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.)
Active
Application number
CN201110193867.XA
Other languages
Chinese (zh)
Other versions
CN102222112A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201110193867.XA priority Critical patent/CN102222112B/en
Publication of CN102222112A publication Critical patent/CN102222112A/en
Application granted granted Critical
Publication of CN102222112B publication Critical patent/CN102222112B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Resource management apparatus and method for managing resource
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, the installation file such as the application program such as player, communication tool, and the data such as video, audio frequency and picture, resource is all that user obtains in shop from network greatly.
Online Store to the disposal route of resource is at present, take single resource as unit, by administrator hand, is created one by one and is managed.For example, keeper needs shop on the net to create a resource, the attribute of this resource is set, upload the icon of this resource, then also need to set up the version information of this resource, 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, although single resource is managed more convenient, the process of establishing resource is more complicated, needs keeper need to manually carry out every setting of resource.If there is large batch of resource to need to gather (comprise establishing resource, set up the flow processs such as version and upload file), complicated setting procedure is the delay in the response time of network and the transmission time of file in addition, workload and consuming time be all quite surprising.
Therefore, need a kind of resource management mode, establishment, version setting and the file that can complete quickly and efficiently resource in enormous quantities such as uploads at the operation, and do not need 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 complete quickly and efficiently resource in enormous quantities such as uploads at the operation, and do not need 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 described configuration file; Parsing module parses the information of described resource, for creating described resource from described configuration file; Upper 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 complete in batches establishment and the setting of all resources 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 upper transmission module is obtained the file of the described resource of corresponding described version, to upload.
In technique scheme, preferably, described information comprises memory location; Described upper transmission module is according to the described memory location parsing, and carries out the uploading of file of described resource.Also can separately all memory locations be recorded in another file, according to the memory location in this document, carry out file and upload.
In technique scheme, preferably, the form of described configuration file comprises excel form and xml form.In this technical scheme, applicable file can have multiple, is not limited to above two kinds of enumerating.
In technique scheme, preferably, described upper transmission module adopts FTP instrument to upload the file of described resource.FTP instrument is simple and easy to use, than 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, charges etc., and it is multiple that applicable information type can also have, and 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 described configuration file; Step 204 parses the information of described resource, for creating described resource from described configuration file; Step 206, 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 complete in batches establishment and the setting of all resources 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 memory location; In described step 206, according to the described memory location parsing, carry out uploading the file of described resource.Also can separately all memory locations be recorded in another file, according to the memory location in this document, carry out file and upload.
In technique scheme, preferably, the form of described configuration file comprises excel form and xml form.In this technical scheme, applicable file can have multiple, is not limited to above two kinds of enumerating.
In technique scheme, preferably, in described step 206, adopt FTP instrument to upload the file of described resource.FTP instrument is simple and easy to use, than 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, charges etc., and it is multiple that applicable information type can also have, and 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 complete quickly and efficiently resource in enormous quantities such as uploads at the operation, and do not need people for too much intervening.
Accompanying drawing explanation
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 clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.
Set forth in the following description a lot of details 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 configuration file; Parsing module 104 parses the information of resource, for establishing resource from configuration file; Upper 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 complete in batches establishment and the setting of all resources 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; Upper transmission module 106 is obtained the file of the resource of corresponding version, to upload.
In technique scheme, information comprises memory location; Upper transmission module 106 is according to the memory location parsing, and carries out the uploading of file of resource.Also can separately all memory locations be recorded in another file, according to the memory location in this document, carry out file and upload.
In technique scheme, the form of configuration file comprises excel form and xml form.In this technical scheme, applicable file can have multiple, is not limited to above two kinds of enumerating.
In technique scheme, upper transmission module adopts the file of FTP instrument resource uploading.FTP instrument is simple and easy to use, than 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, charges etc., and it is multiple that applicable information type can also have, and 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 configuration file; Step 204 parses the information of resource, for establishing resource from configuration file; Step 206, carries out the uploading of file of resource, and wherein, the quantity of resource is one or more.By this technical scheme, can complete in batches establishment and the setting of all resources 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 memory location; In step 206, according to the memory location parsing, carry out the uploading of file of resource.Also can separately all memory locations be recorded in another file, according to the memory location in this document, carry out file and upload.
In technique scheme, the form of configuration file comprises excel form and xml form.In this technical scheme, applicable file can have multiple, is not limited to above two kinds of enumerating.
In technique scheme, in step 206, adopt the file of FTP instrument resource uploading.FTP instrument is simple and easy to use, than 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, charges etc., and it is multiple that applicable information type can also have, and 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 the essential information that Excel document instrument is resource, in conjunction with POI (a kind of api interface assembly of the Excel of parsing file) technology, ftp file transmission technology, realize the batch capture function of resource, the concrete steps of establishing resource as shown in Figure 3:
Step 302, keeper is first entered into resource information in Excel document files by Excel template style;
Step 304, calls POI interface by the resource management apparatus of the present embodiment, and by the service logic of resource information, resource information is resolved;
Step 306, resource management apparatus obtains essential information and the version information parsing, and has obtained rear permission user not enough information has been mended;
Step 308, resource management apparatus is according to the essential information establishing resource that obtains, and resource is set a property and chart etc.;
Step 310, resource management apparatus is set up the version of resource according to version information;
Step 312 all stores the essential information of resource and version information in Database Systems into simultaneously.
This document format of EXCEL is more common, so when running into large batch of resource and need to process, keeper can assign the task to the personnel that management system operation flow is not familiar with, as long as EXCEL document is filled according to certain form, just can complete the collecting work of resource.In technique scheme, also can not adopt the carrier of the essential information that Excel document instrument is resource, can be for example XML document, adopt 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 Execl document,, in to the resolving of Excel document, can parse the memory location of resource file, and the concrete steps of resource uploading file are as follows:
Step 402, obtains the memory location parsing;
Step 404, adopts FTP instrument, carries out the batch of resource file and uploads, and uploads to the precalculated position on file server.FTP instrument is simple and easy to use, than HTTP file transfer, more reliable and stable.
Separately, at any time resource management apparatus utilizes FTP (or HTTP etc.) transmission mode to the part that technical scheme of the present invention is uploaded information setting and the file of resource, and resource file is uploaded to the precalculated position in 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 and being automatically performed, and support collection of resources in batches, so greatly alleviated keeper's workload, increased exponentially its work efficiency.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. a resource management apparatus, is characterized in that, comprising:
Configuration module, sets up configuration file, and the information of resource is deposited in described configuration file, and wherein, described information comprises version, attribute and icon;
Parsing module parses the information of described resource, for creating described resource from described configuration file;
Upper transmission module, obtains the file of the described resource of corresponding described version, and to upload, 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 memory location;
Described upper transmission module is according to the described memory location parsing, and carries out the uploading of file of described resource.
3. resource management apparatus according to claim 1, is characterized in that, the form of described configuration file comprises excel form and xml form.
4. resource management apparatus according to claim 1, is characterized in that, described upper transmission module adopts FTP instrument to upload the file of described resource.
5. a method for managing resource, is characterized in that, comprising:
Step 202, sets up configuration file, and the information of resource is deposited in described configuration file, and wherein, described information comprises version, attribute and icon;
Step 204 parses the information of described resource, for creating described resource from described configuration file;
Step 206, obtains the file of the described resource of corresponding described version, and to upload, wherein, the quantity of described resource is one or more.
6. method for managing resource according to claim 5, is characterized in that, described information comprises memory location;
In described step 206, according to the described memory location parsing, carry out the uploading of file of described resource.
7. method for managing resource according to claim 5, is characterized in that, the form of described configuration file comprises excel form and xml form.
8. method for managing resource according to claim 5, is characterized in that, in described step 206, adopts FTP instrument to upload the file of described resource.
CN201110193867.XA 2011-07-12 2011-07-12 Resource management device and resource management method Active CN102222112B (en)

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 CN102222112A (en) 2011-10-19
CN102222112B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103401933B (en) * 2013-08-05 2016-12-28 天闻数媒科技(湖南)有限公司 The method and system that a kind of resource information and corresponding resource file batch are uploaded
CN106445951B (en) * 2015-08-07 2022-05-17 中兴通讯股份有限公司 File transmission method and device
CN107273287A (en) * 2017-06-06 2017-10-20 云南电网有限责任公司信息中心 A kind of web terminal Function Test Automation framework based on power business case driving
CN111049913B (en) * 2019-12-17 2022-03-25 中国建设银行股份有限公司 Data file transmission method and device, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
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
CN101789021A (en) * 2010-02-24 2010-07-28 浪潮通信信息系统有限公司 Universal configurable database data migration method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510898A (en) * 2009-03-27 2009-08-19 深圳市茁壮网络技术有限公司 Method for uploading and downloading data, network node and communication system

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
CN101789021A (en) * 2010-02-24 2010-07-28 浪潮通信信息系统有限公司 Universal configurable database data migration method

Also Published As

Publication number Publication date
CN102222112A (en) 2011-10-19

Similar Documents

Publication Publication Date Title
CN102222112B (en) Resource management device and resource management method
CN102904960B (en) A kind of information synchronization system and method based on RSS
CN101853287B (en) Data compression quick retrieval file system and method thereof
CN102917061B (en) Resource synchronization method and system
CN104899325A (en) APP (application) acquired data collection method, terminal, server and system
CN102790727B (en) A kind of method and system of dynamic propelling movement individual subscriber label
CN109783426A (en) Acquire method, apparatus, computer equipment and the storage medium of data
CN102694861A (en) Cloud technology based method, cloud technology based device and cloud technology based system for classification of terminal application software
CN101004758A (en) Method and corresponding system for creating and obtaining report forms
CN103092608A (en) Generating and operation method, server and device of client for collecting device information
CN103312544A (en) Method, equipment and system for controlling terminals during log file reporting
CN103778244A (en) Automatic report analytical method based on user behavior logs
CN109299157A (en) A kind of data export method and device of distributed big single table
CN110798445A (en) Public gateway interface testing method and device, computer equipment and storage medium
CN103701817A (en) Method and device for generating configuration file
JP2015527657A (en) Method, device and system for online processing of data
CN103516880B (en) A kind of method and apparatus sending note
CN102572806A (en) Mobile terminal adapting system and method based on Msky platform
WO2020019816A1 (en) Engineering information collection method and apparatus, and intelligent terminal and cloud server
CN103905226B (en) The automatic deployment method and device of a kind of business platform
CN103607731A (en) Method and device for processing measurement reports
CN101694661B (en) Method and device for generating statistical form and statistical server
CN105095224A (en) Method, apparatus and system for carrying out OLAP analysis in mobile communication network
CN102547678B (en) Number portability short message log analysis method, system and device
Li et al. Characterizing service providers traffic of mobile internet services in cellular data network

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