CN105302425A - Application object processing method and electronic device - Google Patents
Application object processing method and electronic device Download PDFInfo
- Publication number
- CN105302425A CN105302425A CN201410240653.7A CN201410240653A CN105302425A CN 105302425 A CN105302425 A CN 105302425A CN 201410240653 A CN201410240653 A CN 201410240653A CN 105302425 A CN105302425 A CN 105302425A
- Authority
- CN
- China
- Prior art keywords
- information
- resource
- descriptor
- module
- application
- 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
- 238000003672 processing method Methods 0.000 title abstract 2
- 238000000034 method Methods 0.000 claims abstract description 46
- 238000012790 confirmation Methods 0.000 claims abstract description 16
- 239000000284 extract Substances 0.000 claims description 13
- 238000000605 extraction Methods 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 9
- 238000007689 inspection Methods 0.000 description 3
- 238000000151 deposition Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The present application discloses an application object processing method and an electronic device. The method is applied to an electronic device. An application object comprises an attribute module and a resource module, wherein the attribute module is configured to store description information of the application object, and the resource module is configured to store resource data of the application object. The method comprises: when the electronic device detects an update file corresponding to the application object, extracting first information from the update file, wherein the first information is used to describe the update file; and when the electronic device detects a resource update instruction, updating the resource data in the resource module according to the update file, wherein the resource update instruction is generated when a user performs a confirmation operation according to the first information.
Description
Technical field
The application relates to technical field of data processing, particularly a kind of disposal route of application and electronic equipment.
Background technology
Along with the development of the network technology, in electronic equipment, various application is as more and more extensive in the application of webapp, and from strength to strength, the update of various application is also more and more frequent for its function.
To in the update scheme of application in prior art, normally by directly application being carried out the version objects of integral replacing Cheng Xin, or carry out incremental update.
But in above-mentioned update scheme, usually there is download and the time loss of large quantity, make the renewal efficiency of application lower.
Summary of the invention
Technical problems to be solved in this application are to provide a kind of disposal route and electronic equipment of application, in order to solve in prior art by application being carried out the version objects of integral replacing Cheng Xin, or carry out incremental update, there is download and the time loss of large quantity, make the technical matters that the renewal efficiency of application is lower.
This application provides a kind of disposal route of application, be applied to electronic equipment, described application comprises attribute module and resource module, described attribute module is for storing the descriptor of described application, described resource module is for storing the resource data of described application, and described method comprises:
When described electronic equipment detects the updating file of corresponding described application, in described updating file, extract the first information, the described first information is for describing described updating file;
When described electronic equipment detects resource updates instruction, upgrade the resource data in described resource module according to described updating file, described resource updates instruction generates when user carries out confirmation operation according to the described first information.
Said method, preferably, extract the first information in described updating file after, described method also comprises:
According to the described first information, the descriptor in described attribute module is upgraded.
Said method, preferably, described according to described updating file, the resource data in described resource module is upgraded while, described method also comprises:
According to the described first information, the descriptor in described attribute module is upgraded.
Said method, preferably, described according to the described first information, the descriptor in described attribute module is upgraded, specifically comprises:
Determine aiming field corresponding with the described first information in the descriptor of described attribute module;
According to the described first information, described aiming field is upgraded, obtain the descriptor after upgrading.
Said method, preferably, described according to the described first information, described aiming field is upgraded, obtains the descriptor after upgrading, specifically comprise:
The field information of aiming field in described descriptor is revised as field information corresponding in the described first information, obtains the descriptor after upgrading;
Or
Determine the delta field information relative to aiming field in described descriptor in the described first information with otherness, modify according to the field information of described delta field information to aiming field corresponding in described descriptor, obtain the descriptor after upgrading.
Said method, preferably, describedly to upgrade the resource data in described resource module according to described updating file, specifically comprises:
Determine the incremental resource information relative to resource data in described resource module in described updating file with otherness;
According to described incremental resource information, resource data corresponding in described resource module is upgraded, obtain the resource data after upgrading.
Present invention also provides a kind of electronic equipment, described electronic equipment comprises:
First information extraction unit, during for the updating file of corresponding described application being detected when described electronic equipment, in described updating file, extract the first information, the described first information is for describing described updating file;
Wherein, described application comprises attribute module and resource module, and described attribute module is for storing the descriptor of described application, and described resource module is for storing the resource data of described application;
Resource data updating unit, for when described electronic equipment detects resource updates instruction, upgrade the resource data in described resource module according to described updating file, described resource updates instruction generates when user carries out confirmation operation according to the described first information.
Above-mentioned electronic equipment, preferably, also comprises:
First attribute updating block, after extracting the first information at described first information extraction unit in described updating file, according to the described first information, upgrades the descriptor in described attribute module.
Above-mentioned electronic equipment, preferably, also comprises:
Second attribute updating block, while upgrading the resource data in described resource module at described resource data updating unit, according to the described first information, upgrades the descriptor in described attribute module.
Above-mentioned electronic equipment, preferably, described first attribute updating block comprises:
Target determination subelement, for determining aiming field corresponding with the described first information in the descriptor of described attribute module;
Field upgrades subelement, for upgrading described aiming field according to the described first information, obtains the descriptor after upgrading.
Above-mentioned electronic equipment, preferably, described field upgrades subelement and comprises:
First modified module, for the field information of aiming field in described descriptor is revised as field information corresponding to the described first information, obtains the descriptor after upgrading;
Or
Second modified module, for determining the delta field information relative to aiming field in described descriptor in the described first information with otherness, modify according to the field information of described delta field information to aiming field corresponding in described descriptor, obtain the descriptor after upgrading.
Above-mentioned electronic equipment, preferably, described resource data updating unit comprises:
Increment determination subelement, for determining the incremental resource information relative to resource data in described resource module in described updating file with otherness;
Incremental update subelement, for upgrading resource data corresponding in described resource module according to described incremental resource information, obtains the resource data after upgrading.
From such scheme, the disposal route of a kind of application that the application provides and electronic equipment, by application being set to two modular structures in advance, the resource module of the attribute module namely storing the descriptor of application and the resource data storing application, when electronic equipment detects the updating file of application, the first information is extracted in updating file, and carry out the instruction of confirmation operation generation resource updates user according to this first information, and this resource updates instruction by storekeeper's equipment Inspection then, according to updating file, the resource data in resource module is upgraded.In this application, by application is divided into descriptor and each self-corresponding module of resource data with the type of data, when updating file being detected, first the first information describing updating file is downloaded, just can upgrade the resource data of application after user confirms to upgrade resource data according to the first information downloaded afterwards, directly whole updating or incremental update are carried out to all data of application relative in prior art, longer making consuming time upgrades the lower problem of efficiency, the application can obviously reduce data download, shorten download time, improve and upgrade efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of the disposal route embodiment one of a kind of application that Fig. 1 provides for the application;
The process flow diagram of the disposal route embodiment two of a kind of application that Fig. 2 provides for the application;
The process flow diagram of the disposal route embodiment three of a kind of application that Fig. 3 provides for the application;
The partial process view of the disposal route embodiment four of a kind of application that Fig. 4 provides for the application;
The partial process view of the disposal route embodiment five of a kind of application that Fig. 5 provides for the application;
The structural representation of a kind of electronic equipment embodiment six that Fig. 6 provides for the application;
The structural representation of a kind of electronic equipment embodiment seven that Fig. 7 provides for the application;
The structural representation of a kind of electronic equipment embodiment eight that Fig. 8 provides for the application;
The part-structure schematic diagram of a kind of electronic equipment embodiment nine that Fig. 9 provides for the application;
Figure 10 is another part structural representation of the embodiment of the present application nine;
Figure 11 is the another part-structure schematic diagram of the embodiment of the present application nine;
The part-structure schematic diagram of a kind of electronic equipment embodiment ten that Figure 12 provides for the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
With reference to figure 1, the process flow diagram of the disposal route embodiment one of a kind of application provided for the application, wherein, application disposal route in the present embodiment can be applied in electronic equipment, described electronic equipment can be mobile phone, pad, notebook, computers etc. are provided with the equipment of various application, each application is all as the criterion with descriptor and resource data and carries out cutting, independent depositing is carried out to every part, thus, each described application comprises attribute module and resource module respectively, described attribute module is in order to store the descriptor of described application, as as described in the version control information and authority information etc. of application, described resource module in order to store the resource data of described application, as binary files etc. such as image data, voice data and program code data.
In the present embodiment, when needing to carry out upgrading renewal to application, following methods step can be comprised:
Step 101: when described electronic equipment detects the updating file of corresponding described application, extract the first information in described updating file, the described first information is for describing described updating file.
Wherein, when a certain application needs upgrading to upgrade, first the renewal version control information of this application and the existing version control information of this application are compared, comparison result show the existing version of described application lower need upgrade time, version control information according to described application generates corresponding updating file, and then when described electronic equipment detects this updating file, perform in described step 101, the first information is extracted in described updating file, the described first information is the data message describing described updating file, just because of this, the file amount of the described first information is less, much smaller than the resource data size of described application.
It should be noted that, after the described first information extracts, this first information is prompted to user, namely the descriptor of application upgraded version is shown to user, such as, information generated prompted dialog frame etc., the resource data the need of this application of upgrading is determined by user, user, when clear and definite its needs to upgrade the resource data of this application, carries out confirmation operation, such as, click the confirmation upgrading control etc. in dialog box.
Step 102: when described electronic equipment detects resource updates instruction, upgrade the resource data in described resource module according to described updating file, described resource updates instruction generates when user carries out confirmation operation according to the described first information.
Wherein, described resource updates instruction is after the first information extracted in described step 101 shows user, undertaken generating when click confirms the operations such as control by user, this resource updates instruction can be detected by described electronic equipment, also therefore, when described electronic equipment detects this resource updates instruction, upgrade according to the resource data of described updating file to described application, realize only when user confirms upgrading, the independent renewal of the resource data of described application.
From such scheme, the disposal route embodiment one of a kind of application that the application provides, by application being set to two modular structures in advance, the resource module of the attribute module namely storing the descriptor of application and the resource data storing application, when electronic equipment detects the updating file of application, the first information is extracted in updating file, and carry out the instruction of confirmation operation generation resource updates user according to this first information, and this resource updates instruction by storekeeper's equipment Inspection then, according to updating file, the resource data in resource module is upgraded.In the embodiment of the present application, by application is divided into descriptor and each self-corresponding module of resource data with the type of data, when updating file being detected, first the first information describing updating file is downloaded, just can upgrade the resource data of application after user confirms to upgrade resource data according to the first information downloaded afterwards, directly whole updating or incremental update are carried out to all data of application relative in prior art, longer making consuming time upgrades the lower problem of efficiency, the application can obviously reduce data download, shorten download time, improve and upgrade efficiency.
Based on technique scheme, with reference to figure 2, the process flow diagram of the disposal route embodiment two of a kind of application provided for the application, wherein, after described step 101, described method can also comprise the following steps:
Step 103: according to the described first information, upgrades the descriptor in described attribute module.
Wherein, in the embodiment of the present application one, in described step 101, the described first information is extracted, descriptor in described attribute module is not upgraded, and after user carries out upgrading confirmation operation, just can carry out the renewal of resource data, thus, avoid the download of large quantity, shorten download time, improve and upgrade efficiency.And in the present embodiment two, described step 103 is performed after described step 101, the present embodiment two is: even if also can perform the renewal of the descriptor to application after extracting the first information when user does not need to upgrade the resource data of application, while ensureing to upgrade efficiency, for user provides more application more new experience.
Based on technique scheme, with reference to figure 3, the process flow diagram of the disposal route embodiment three of a kind of application provided for the application, wherein, perform while the resource data in described resource module being upgraded according to described updating file in described step 102, that is, when described electronic equipment detects resource updates instruction, described method can also comprise following execution step:
Step 104: according to the described first information, upgrades the descriptor in described attribute module.
In the present embodiment, while performing described step 102, perform described step 104, be: when user confirms to upgrade the resource data of application, just can upgrade the descriptor of application, while ensureing to upgrade efficiency, for user provides more application more new experience.
With reference to figure 4, the realization flow figure of step 103 described in the disposal route embodiment four of a kind of application provided for the application, wherein, described step 103 can comprise the following steps:
Step 131: determine aiming field corresponding with the described first information in the descriptor of described attribute module.
Wherein, the first information extracted in described step 101 can exist with the form of configuration file, and the data message describing described updating file in the described first information exists with the form of field information in described configuration file.The structure of the descriptor in described attribute module is consistent with the described first information, the information having described updating file is described in the described first information, therefore, in described step 131, determine the aiming field needing in the descriptor of described attribute module to upgrade, namely corresponding with described first information aiming field.
Step 132: according to the described first information, upgrades described aiming field, obtains the descriptor after upgrading.
Wherein, in the descriptor of described attribute module, described aiming field is upgraded according to the field information in field corresponding in the described first information, to obtain the descriptor after upgrading.
Concrete, described step 132 can by following first method specific implementation:
The field information of aiming field in described descriptor is revised as field information corresponding in the described first information, obtains the descriptor after upgrading.
That is, in described first method, the field information of aiming field each in described descriptor is all modified, be revised as consistent with the field information of corresponding field in the described first information, to obtain the descriptor after upgrading.
In addition, described step 132 also can by following second method specific implementation:
Determine the delta field information relative to aiming field in described descriptor in the described first information with otherness, described delta field information comprises the field information and newly-increased field information etc. that change, modify according to the field information of described delta field information to aiming field corresponding in described descriptor, obtain the descriptor after upgrading.
That is, in described second method, in described descriptor relative to described first information respective field change upgrade aiming field upgrade, i.e. incremental update, without the need to modifying to each described aiming field.
It should be noted that, described step 103 can be consistent with the implementation of described step 104, and that is, the realization of described step 104 can be realized by above-mentioned first method and second method equally.
With reference to figure 5, the realization flow figure of step 102 described in the disposal route embodiment five of a kind of application provided for the application, wherein, described step 102 can comprise the following steps:
Step 121: determine the incremental resource information relative to resource data in described resource module in described updating file with otherness.
Concrete, in described step 121, by the resource data in described resource module and described updating file are compared, to obtain the resource information that information corresponding with described resource data in described updating file has otherness, comprise the resource information and newly-increased resource information etc. that change, as incremental resource information.
Step 122: upgrade resource data corresponding in described resource module according to described incremental resource information, obtains the resource data after upgrading.
Wherein, determine described incremental resource information in described step 121 after, concrete, data corresponding with described incremental resource data in described resource data are modified into consistent with described incremental resource data in described step 122, to obtain the resource data after upgrading, i.e. incremental update.
With reference to figure 6, be the structural representation of a kind of electronic equipment embodiment six that the application provides, wherein, described electronic equipment can comprise following structure:
First information extraction unit 601, during for the updating file of corresponding described application being detected when described electronic equipment, in described updating file, extract the first information, the described first information is for describing described updating file;
Wherein, described application comprises attribute module and resource module, and described attribute module is for storing the descriptor of described application, and described resource module is for storing the resource data of described application.
It should be noted that, described electronic equipment can be the equipment that mobile phone, pad, notebook, computer etc. are provided with various application, each application is all as the criterion with descriptor and resource data and carries out cutting, independent depositing is carried out to every part, thus, each described application comprises attribute module and resource module respectively, described attribute module in order to store the descriptor of described application, as described in the version control information and authority information etc. of application; Described resource module in order to store the resource data of described application, as binary files etc. such as image data, voice data and program code data.
Wherein, when a certain application needs upgrading to upgrade, first the renewal version control information of this application and the existing version control information of this application are compared, comparison result show the existing version of described application lower need upgrade time, version control information according to described application generates corresponding updating file, and then when described electronic equipment detects this updating file, trigger the described first information extraction unit 601 of operation and extract the first information in described updating file, the described first information is the data message describing described updating file, just because of this, the file amount of the described first information is less, much smaller than the resource data size of described application.
It should be noted that, after the described first information is extracted by described first information extraction unit 601, this first information is prompted to user, namely the descriptor of application upgraded version is shown to user, such as, information generated prompted dialog frame etc., the resource data the need of this application of upgrading is determined by user, user, when clear and definite its needs to upgrade the resource data of this application, carries out confirmation operation, such as, click the confirmation upgrading control etc. in dialog box.
Resource data updating unit 602, for when described electronic equipment detects resource updates instruction, upgrade the resource data in described resource module according to described updating file, described resource updates instruction generates when user carries out confirmation operation according to the described first information.
Wherein, described resource updates instruction is after the first information extracted in described first information extraction unit 601 shows user, undertaken generating when click confirms the operations such as control by user, this resource updates instruction can be detected by described electronic equipment, also therefore, when described electronic equipment detects this resource updates instruction, trigger the described resource data updating unit 602 of operation to upgrade according to the resource data of described updating file to described application, realize only when user confirms upgrading, the independent renewal of the resource data of described application.
From such scheme, a kind of electronic equipment embodiment six that the application provides, by application being set to two modular structures in advance, the resource module of the attribute module namely storing the descriptor of application and the resource data storing application, when electronic equipment detects the updating file of application, the first information is extracted in updating file, and carry out the instruction of confirmation operation generation resource updates user according to this first information, and this resource updates instruction by storekeeper's equipment Inspection then, according to updating file, the resource data in resource module is upgraded.In the embodiment of the present application, by application is divided into descriptor and each self-corresponding module of resource data with the type of data, when updating file being detected, first the first information describing updating file is downloaded, just can upgrade the resource data of application after user confirms to upgrade resource data according to the first information downloaded afterwards, directly whole updating or incremental update are carried out to all data of application relative in prior art, longer making consuming time upgrades the lower problem of efficiency, the application can obviously reduce data download, shorten download time, improve and upgrade efficiency.
Based on technique scheme, with reference to figure 7, be the structural representation of a kind of electronic equipment embodiment seven that the application provides, wherein, described electronic equipment can also comprise following structure:
First attribute updating block 603, after extracting the first information at described first information extraction unit 601 in described updating file, according to the described first information, upgrades the descriptor in described attribute module.
Wherein, in the embodiment of the present application six, after described first information extraction unit 603 extracts the described first information, descriptor in described attribute module is not upgraded, and after user carries out upgrading confirmation operation, just can be carried out the renewal of resource data by described resource data updating unit 602, thus, avoid the download of large quantity, shorten download time, improve and upgrade efficiency.And in the present embodiment seven, can trigger after described first information extraction unit 601 extracts the first information in described updating file and run described first attribute updating block 603, the present embodiment seven is: even if also can perform the renewal of the descriptor to application after extracting the first information when user does not need to upgrade the resource data of application, while ensureing to upgrade efficiency, for user provides more application more new experience.
Based on technique scheme, with reference to figure 8, be the structural representation of a kind of electronic equipment embodiment eight that the application provides, wherein, described electronic equipment can also comprise following structure:
Second attribute updating block 604, while upgrading the resource data in described resource module at described resource data updating unit 602, according to the described first information, upgrades the descriptor in described attribute module.
In the present embodiment, while described resource data updating unit 602 runs, described second attribute updating block 604 is triggered operation, be: when user confirms to upgrade the resource data of application, just can upgrade the descriptor of application, while ensureing to upgrade efficiency, for user provides more application more new experience.
With reference to figure 9, be the structural representation of the first attribute updating block 603 described in a kind of electronic equipment embodiment nine that the application provides, wherein, described first attribute updating block 603 can comprise following structure:
Target determination subelement 631, for determining aiming field corresponding with the described first information in the descriptor of described attribute module.
Wherein, the first information that described first information extraction unit 601 extracts can exist with the form of configuration file, and the data message describing described updating file in the described first information exists with the form of field information in described configuration file.The structure of the descriptor in described attribute module is consistent with the described first information, the information having described updating file is described in the described first information, therefore the aiming field needing in the descriptor of described attribute module to upgrade is determined by described target determination subelement 631, namely corresponding with described first information aiming field.
Field upgrades subelement 632, for upgrading described aiming field according to the described first information, obtains the descriptor after upgrading.
Wherein, in the descriptor of described attribute module, described aiming field is upgraded according to the field information in field corresponding in the described first information, to obtain the descriptor after upgrading.
Concrete, as shown in Figure 10, described field upgrades subelement 632 can realize its function by following modular structure:
First modified module 1001, for the field information of aiming field in described descriptor is revised as field information corresponding to the described first information, obtains the descriptor after upgrading.
That is, the field information of described first modified module 1001 to aiming field each in described descriptor is all modified, and is revised as consistent with the field information of corresponding field in the described first information, to obtain the descriptor after upgrading.
In addition, as shown in Figure 11, described field renewal subelement 632 also can realize its function by following modular structure:
Second modified module 1002, for determining the delta field information relative to aiming field in described descriptor in the described first information with otherness, modify according to the field information of described delta field information to aiming field corresponding in described descriptor, obtain the descriptor after upgrading.
That is, described second modified module 1002 in described descriptor relative to described first information respective field change upgrade aiming field upgrade, i.e. incremental update, without the need to modifying to each described aiming field.
It should be noted that, described first attribute updating block 603 can be consistent with the structure that realizes of described second attribute updating block 604, that is, the realization of described second attribute updating block 604 can be realized by above-mentioned first modified module 1001 and described second modified module 1002 equally.
With reference to Figure 12, be the structural representation of resource data updating unit 602 described in a kind of electronic equipment embodiment ten that the application provides, wherein, described resource data updating unit 602 can comprise following structure:
Increment determination subelement 621, for determining the incremental resource information relative to resource data in described resource module in described updating file with otherness.
Concrete, described increment determination subelement 621 is by comparing the resource data in described resource module and described updating file, to obtain the resource information that information corresponding with described resource data in described updating file has otherness, comprise the resource information and newly-increased resource information etc. that change, as incremental resource information.
Incremental update subelement 622, for upgrading resource data corresponding in described resource module according to described incremental resource information, obtains the resource data after upgrading.
Wherein, after described incremental resource information determined by described increment determination subelement 621, concrete, data corresponding with described incremental resource data in described resource data are modified as consistent with described incremental resource data by described incremental update subelement 622, to obtain the resource data after upgrading, i.e. incremental update.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Above the disposal route of a kind of application that the application provides and electronic equipment are described in detail, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.
Claims (12)
1. the disposal route of an application, be applied to electronic equipment, it is characterized in that, described application comprises attribute module and resource module, described attribute module is for storing the descriptor of described application, described resource module is for storing the resource data of described application, and described method comprises:
When described electronic equipment detects the updating file of corresponding described application, in described updating file, extract the first information, the described first information is for describing described updating file;
When described electronic equipment detects resource updates instruction, upgrade the resource data in described resource module according to described updating file, described resource updates instruction generates when user carries out confirmation operation according to the described first information.
2. method according to claim 1, is characterized in that, extract the first information in described updating file after, described method also comprises:
According to the described first information, the descriptor in described attribute module is upgraded.
3. method according to claim 1, is characterized in that, described according to described updating file, the resource data in described resource module is upgraded while, described method also comprises:
According to the described first information, the descriptor in described attribute module is upgraded.
4. according to the method in claim 2 or 3, it is characterized in that, described according to the described first information, the descriptor in described attribute module is upgraded, specifically comprises:
Determine aiming field corresponding with the described first information in the descriptor of described attribute module;
According to the described first information, described aiming field is upgraded, obtain the descriptor after upgrading.
5. method according to claim 4, is characterized in that, described according to the described first information, upgrades described aiming field, obtains the descriptor after upgrading, specifically comprises:
The field information of aiming field in described descriptor is revised as field information corresponding in the described first information, obtains the descriptor after upgrading;
Or
Determine the delta field information relative to aiming field in described descriptor in the described first information with otherness, modify according to the field information of described delta field information to aiming field corresponding in described descriptor, obtain the descriptor after upgrading.
6. the method according to claim 1,2 or 3, is characterized in that, describedly upgrades the resource data in described resource module according to described updating file, specifically comprises:
Determine the incremental resource information relative to resource data in described resource module in described updating file with otherness;
According to described incremental resource information, resource data corresponding in described resource module is upgraded, obtain the resource data after upgrading.
7. an electronic equipment, is characterized in that, described electronic equipment comprises:
First information extraction unit, during for the updating file of corresponding described application being detected when described electronic equipment, in described updating file, extract the first information, the described first information is for describing described updating file;
Wherein, described application comprises attribute module and resource module, and described attribute module is for storing the descriptor of described application, and described resource module is for storing the resource data of described application;
Resource data updating unit, for when described electronic equipment detects resource updates instruction, upgrade the resource data in described resource module according to described updating file, described resource updates instruction generates when user carries out confirmation operation according to the described first information.
8. electronic equipment according to claim 7, is characterized in that, also comprises:
First attribute updating block, after extracting the first information at described first information extraction unit in described updating file, according to the described first information, upgrades the descriptor in described attribute module.
9. electronic equipment according to claim 7, is characterized in that, also comprises:
Second attribute updating block, while upgrading the resource data in described resource module at described resource data updating unit, according to the described first information, upgrades the descriptor in described attribute module.
10. electronic equipment according to claim 8, is characterized in that, described first attribute updating block comprises:
Target determination subelement, for determining aiming field corresponding with the described first information in the descriptor of described attribute module;
Field upgrades subelement, for upgrading described aiming field according to the described first information, obtains the descriptor after upgrading.
11. electronic equipments according to claim 8, is characterized in that, described field upgrades subelement and comprises:
First modified module, for the field information of aiming field in described descriptor is revised as field information corresponding to the described first information, obtains the descriptor after upgrading;
Or
Second modified module, for determining the delta field information relative to aiming field in described descriptor in the described first information with otherness, modify according to the field information of described delta field information to aiming field corresponding in described descriptor, obtain the descriptor after upgrading.
12. electronic equipments according to claim 7,8 or 9, it is characterized in that, described resource data updating unit comprises:
Increment determination subelement, for determining the incremental resource information relative to resource data in described resource module in described updating file with otherness;
Incremental update subelement, for upgrading resource data corresponding in described resource module according to described incremental resource information, obtains the resource data after upgrading.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410240653.7A CN105302425B (en) | 2014-05-30 | 2014-05-30 | A kind of processing method and electronic equipment of application |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410240653.7A CN105302425B (en) | 2014-05-30 | 2014-05-30 | A kind of processing method and electronic equipment of application |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105302425A true CN105302425A (en) | 2016-02-03 |
| CN105302425B CN105302425B (en) | 2019-03-08 |
Family
ID=55199746
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410240653.7A Active CN105302425B (en) | 2014-05-30 | 2014-05-30 | A kind of processing method and electronic equipment of application |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105302425B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107515906A (en) * | 2017-08-07 | 2017-12-26 | 北京小度信息科技有限公司 | Object processing method, device, electronic equipment and computer-readable storage medium |
| CN114626349A (en) * | 2022-05-16 | 2022-06-14 | 西安芯瞳半导体技术有限公司 | Non-invasive file editing method, device and medium |
| CN116257267A (en) * | 2022-11-28 | 2023-06-13 | 成都市卡蛙科技有限公司 | A file generation method, device, equipment and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7155444B2 (en) * | 2003-10-23 | 2006-12-26 | Microsoft Corporation | Promotion and demotion techniques to facilitate file property management between object systems |
| CN1996868A (en) * | 2006-01-06 | 2007-07-11 | 财团法人资讯工业策进会 | Communication device capability collection method and communication device capability management system |
| CN101127634A (en) * | 2006-08-15 | 2008-02-20 | 华为技术有限公司 | Method and system for security update and upgrade of mobile station |
| CN102789494A (en) * | 2012-07-11 | 2012-11-21 | 深圳市宜搜科技发展有限公司 | Processing method and system for carrying out reduplication removal on Internet resources |
| CN103488706A (en) * | 2013-09-06 | 2014-01-01 | 北京东方艾迪普科技发展有限公司 | Processing method and device for mass data base |
| CN103577238A (en) * | 2013-11-19 | 2014-02-12 | 深圳市经伟度科技有限公司 | Augmented reality software updating method |
-
2014
- 2014-05-30 CN CN201410240653.7A patent/CN105302425B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7155444B2 (en) * | 2003-10-23 | 2006-12-26 | Microsoft Corporation | Promotion and demotion techniques to facilitate file property management between object systems |
| CN1996868A (en) * | 2006-01-06 | 2007-07-11 | 财团法人资讯工业策进会 | Communication device capability collection method and communication device capability management system |
| CN101127634A (en) * | 2006-08-15 | 2008-02-20 | 华为技术有限公司 | Method and system for security update and upgrade of mobile station |
| CN102789494A (en) * | 2012-07-11 | 2012-11-21 | 深圳市宜搜科技发展有限公司 | Processing method and system for carrying out reduplication removal on Internet resources |
| CN103488706A (en) * | 2013-09-06 | 2014-01-01 | 北京东方艾迪普科技发展有限公司 | Processing method and device for mass data base |
| CN103577238A (en) * | 2013-11-19 | 2014-02-12 | 深圳市经伟度科技有限公司 | Augmented reality software updating method |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107515906A (en) * | 2017-08-07 | 2017-12-26 | 北京小度信息科技有限公司 | Object processing method, device, electronic equipment and computer-readable storage medium |
| CN107515906B (en) * | 2017-08-07 | 2020-06-05 | 北京小度信息科技有限公司 | Object processing method and device, electronic equipment and computer storage medium |
| CN114626349A (en) * | 2022-05-16 | 2022-06-14 | 西安芯瞳半导体技术有限公司 | Non-invasive file editing method, device and medium |
| CN116257267A (en) * | 2022-11-28 | 2023-06-13 | 成都市卡蛙科技有限公司 | A file generation method, device, equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105302425B (en) | 2019-03-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104391689B (en) | A development method, middleware, and PaaS platform for an Internet of Things application | |
| CN104331285A (en) | Automatic code generation method and system | |
| CN110764839A (en) | Business processing flow configuration method, business request processing method and device | |
| CN106156186A (en) | A kind of data model managing device, server and data processing method | |
| CN101770375A (en) | Method for realizing automatic update of software as well as system and device therefor | |
| CN105262627A (en) | Firmware upgrade method, device and system | |
| CN102736946A (en) | Batch application node deploying method and device | |
| CN104765603A (en) | Application program building method and device | |
| CN109976803B (en) | File generation method and device | |
| CN106528150A (en) | Development method and development platform of J2EE projects | |
| CN103186376A (en) | Method, device and equipment for establishing or updating software development environment | |
| CN105591778A (en) | Method and system for updating configuration file in distributed system | |
| CN105224422A (en) | A kind of data back up method and equipment | |
| CN114721686A (en) | Configuration data updating method and device, electronic equipment and storage medium | |
| CN105138351A (en) | Method and device for configuring plug-in package for host | |
| CN111949303A (en) | Upgrade package processing method and device, electronic equipment and storage medium | |
| CN104077161A (en) | Client application updating method and device | |
| CN103995696A (en) | Custom-built system and method of software package of mobile terminal | |
| CN104035766A (en) | Android system trimming method based on coverage rate test | |
| CN104461621A (en) | Attribute information updating method and device | |
| CN103761107A (en) | Software package customizing device and method | |
| CN106484452B (en) | unified configuration management method and device for software platform | |
| CN103645888A (en) | System and method for automatically building operation system | |
| CN105302425B (en) | A kind of processing method and electronic equipment of application | |
| CN105373384B (en) | A kind of software development methodology and device |
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 |