Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It should be noted that although functional block division is performed in a block diagram and logical order is shown in a flowchart, in some cases, steps shown or described may be performed in a different order than block division in a block, or order in a flowchart. The terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The invention provides a data increment upgrading method, which is characterized in that an upgrading program is added in an upgrading package, and according to an upgrading mark in the upgrading package, an upgrading process is carried out on a new language file in the upgrading package by utilizing the upgrading program in the upgrading package, and the new language file is added on the basis of a historical language resource file in a power supply equipment system. Therefore, the whole upgrade package can be replaced by the upgrade package customized by the network manager, and targeted upgrade processing is performed according to the upgrade mark, so that the situation that the original starting program needs to completely replace the history files in the power supply equipment system is avoided, the processing amount is reduced, and the upgrade speed is improved. Meanwhile, the upgrade package is provided with the upgrade program, so that the situation that the original starting program is different due to different versions in the power supply equipment system, and the upgrade package cannot be upgraded due to mismatching of the original starting program is avoided.
Referring to fig. 1, fig. 1 shows a flowchart of a data increment upgrading method according to an embodiment of the present invention, where the data increment upgrading method may be applied to a power supply device system, and the data increment upgrading method includes, but is not limited to, the following steps:
Step S100, obtaining an upgrade package from a network manager, wherein the upgrade package comprises an upgrade mark and a newly added language file;
step S200, determining an upgrade program according to the upgrade mark, wherein the upgrade program is used for adding a new language file on the basis of a historical language resource file in the power supply equipment system;
step S300, upgrade processing is performed by using the upgrade program.
It can be understood that the power supply device system may be an embedded power supply device, where the embedded power supply device is generally mounted with an operating system and is in communication connection with the device maintenance management system, that is, the embedded power supply device is in communication connection with the network manager. Because the original starting program in the embedded power supply device in the related technology is used for completely replacing the files in the software upgrading package with the historical language resource files in the system, namely, the embedded power supply device is upgraded in a full quantity, the version of the embedded power supply device is updated, the processing capacity is high, and the upgrading speed is low. Therefore, the files in the software upgrading package need to contain complete language resource files in the embedded power supply equipment, otherwise, in the process of upgrading the embedded power supply equipment by utilizing the original starting program, the incomplete language resource files can replace historical language resource files, so that the embedded power supply equipment is in error, the upgrading is failed, and the stability is poor. The original starting programs of the embedded power supply devices with different versions are different, and the software upgrade packages which can be processed are also different, so that the software upgrade packages are required to be customized according to the versions of the embedded power supply devices, the processing amount is large, and the usability is poor.
The power supply equipment system can acquire the software upgrading package through the original starting program, decompresses the software upgrading package, and then restarts the system to finish the system upgrading. Therefore, the power supply equipment system can acquire and decompress the upgrade package from the network manager through the original starting program, and the upgrade package comprises an upgrade mark for determining the upgrade scope of the current update and a new language file to be updated. The upgrade package can also comprise a customized upgrade program, after the upgrade package is decompressed by the original startup program, the upgrade program can replace the original startup program, the upgrade program can identify an upgrade mark, and the upgrade scope of the upgrade program is determined according to the upgrade mark, so that the upgrade program can add a new language file on the basis of a historical language resource file in the power supply equipment system. Therefore, by inserting the upgrade program to replace the original starting program, the upgrade program can determine the upgrade scope according to the upgrade mark in the upgrade package, can accurately add the new language file on the basis of the historical language resource file, can upgrade the upgrade package by using the original starting program of the current version of the power supply equipment system, reduces the need of customizing the upgrade package due to mismatching of the version or mismatching of the language type, and therefore, the historical language resource file in the power supply equipment system is not required to be replaced completely, the version of the power supply equipment system is not required to be updated, and the new language file in the upgrade package can be a part of language resource file, so that the processing amount is reduced, and the upgrade speed is improved. In addition, the upgrade program in the upgrade package is utilized to process the newly added upgrade file in the upgrade package, so that the situation that the original starting program in the power equipment system with different versions cannot identify the newly added upgrade file and cannot upgrade is avoided, the upgrade method is suitable for upgrading the power equipment system with multiple versions, the power equipment system supports multiple language application scenes, the multi-language file upgrade is completed, the power equipment system can provide multiple languages for users, and the use experience of the users is improved.
Referring to fig. 2, step S300 in the embodiment shown in fig. 1 further includes, but is not limited to, the following steps:
step S310, adding the new language file on the basis of the historical language resource file by using the upgrade program;
step S320, the version mark in the power supply equipment system is updated according to the first upgrading mark.
The upgrading mark is a first upgrading mark, and the first upgrading mark is used for representing that the newly-increased type information of the newly-increased language file is consistent with the history type information of the history language resource file.
It can be understood that the upgrade flag includes a first upgrade flag, and when the upgrade flag is the first upgrade flag, it can be considered that the newly added type information of the newly added language file is consistent with the historical type information of the historical language resource file in the power supply device system, that is, the language type in the power supply device system is not changed, and only the historical language resource file is updated. Therefore, when the upgrading mark is the first upgrading mark, the new language file is increased on the basis of the history language resource file by utilizing the upgrading program, so that the history language resource file corresponding to the new type information is replaced by the new language file, all the history language resource files do not need to be replaced, the data increment upgrading of the power supply equipment system is realized, the processing amount is reduced, and the upgrading speed is improved.
It will be appreciated that the version flag in the power supply device system is used to characterize the content of the current update of the power supply device system, and thus the version flag may include historical category information in the power supply device system. The version mark of the power supply equipment system can help a user to identify and know the multilingual support condition of the current power supply equipment system, is convenient for the user to use, and is favorable for carrying out the next data increment upgrading, so that the repeated upgrading or the error upgrading is avoided. Because the first upgrading mark characterizes that the newly-increased type information is consistent with the history type information, the version mark in the power supply equipment system is updated according to the first upgrading mark, so that a user can know the current updated content of the power supply equipment system, and the use of the power supply equipment system is facilitated.
Referring to fig. 3, step S300 in the embodiment shown in fig. 1 further includes, but is not limited to, the following steps:
step S330, updating the history configuration file in the power supply equipment system by using the upgrade program through the newly added configuration file;
step S340, adding a new language file on the basis of the history language resource file;
step S350, the version mark in the power supply equipment system is updated according to the second upgrading mark.
The upgrade mark is a second upgrade mark, the second upgrade mark is used for representing that the new type information of the new language file is inconsistent with the history type information of the history language resource file, and the upgrade package further comprises a new configuration file, wherein the new configuration file corresponds to the new language file.
It can be understood that the upgrade flag includes a second upgrade flag, and when the upgrade flag is the second upgrade flag, it can be considered that the newly added type information of the newly added language file is inconsistent with the historical type information of the historical language resource file in the power supply device system, that is, the language type in the power supply device system changes, for example, the language type increases or changes. Different language types correspond to different configuration files, and the language files are loaded into the power supply equipment system through the corresponding configuration files. When the new type information is inconsistent with the history type information, that is, the language type is increased or changed, the configuration file of the new type information needs to be added, and therefore, the upgrade package comprises the new configuration file corresponding to the new language file. And when the upgrading mark is a second upgrading mark, determining an updating upgrading range of the upgrading program according to the second upgrading mark, namely updating the history configuration file in the power supply equipment system by utilizing the upgrading program to update the newly-added configuration file in the upgrading package. For example, when the language types are increased, the new configuration files corresponding to the new language files need to be added, so that the new configuration files are added on the basis of the history configuration files by using the upgrading program. For another example, when the language type is changed, the newly added configuration file is required to update and replace the history configuration file corresponding to the changed language type. In addition, when the upgrading mark is a second upgrading mark, the upgrading program is used for adding the new language file on the history language resource file corresponding to the new or changed language type, so that the incremental data upgrading is completed, all the history language resource files do not need to be replaced, the processing amount is reduced, and the upgrading speed is improved.
It should be noted that, because the second upgrade flag is used to characterize that the newly added type information is inconsistent with the history type information, the upgrade program will be used to update the newly added configuration file and the newly added language file to the power supply device system, so as to complete the upgrade process of adding or changing the language type. In order to help identify the multi-language support condition of the current power supply equipment system, the version mark in the power supply equipment system is updated according to the second upgrading mark, for example, the second upgrading mark can comprise type updating information corresponding to the newly-added or changed language type, and the type updating information in the second upgrading mark is added into the version mark, so that the history updating record of the power supply equipment system can be directly identified through the version mark, the use of a user is facilitated, and meanwhile, the user is helped to conduct targeted updating processing on the multi-language support condition of the power supply equipment system, and the processing amount is reduced.
Referring to fig. 4, step S100 in the embodiment shown in fig. 1 further includes, but is not limited to, the following steps:
step S101, backing up an original starting program, wherein the original starting program is used for configuring a historical language resource file in a power supply equipment system.
It can be understood that the power supply device system includes an original startup program, and the original startup program can configure the historical language resource files in the power supply device system, that is, when the original startup program receives the upgrade package, the upgrade package is checked, decompressed, and the system is restarted, and the newly added language files in the upgrade package are configured. Because the original starting program can fully cover and configure the history language resource files by using the newly added language files, the processing capacity is large, and therefore, the upgrade package from the network manager is acquired by means of the original starting program, and the upgrade package is decompressed. The upgrade package comprises an upgrade program, and after the upgrade package is decompressed, the upgrade program can replace the original starting program. When the power supply equipment system is restarted, the upgrade program in the upgrade package can be utilized to upgrade the newly-added language file in the upgrade package. Before the upgrade program processes the newly added file, the original starting program is backed up, and when the upgrade failure caused by the upgrade program error can not start the power supply equipment system, the power supply equipment system can be started by recovering the backup file of the original starting program, so that the stability and the reliability of the data increment method are improved.
Referring to fig. 5, following step S300 in the embodiment shown in fig. 1, the following steps are included, but not limited to:
step S301, the original starting program is replaced with the upgrading program.
It will be appreciated that in the process of performing an upgrade process using an upgrade program, the upgrade program may replace the original startup program and may back up the original startup program. In order to ensure the compatibility of the power supply equipment system, the problem that the power supply equipment system cannot be started due to the fact that an upgrade program is wrong in the subsequent use process is avoided, so that after the upgrade processing is completed by the upgrade program, the original start program is replaced, namely the original start program is recovered, the power supply equipment system is restarted according to the original start program, and the upgrade program is ended. Therefore, by backing up and recovering the original starting program, the stability and reliability of the system upgrade of the power supply equipment are improved.
Referring to fig. 6, fig. 6 shows a flowchart of a data increment upgrading method according to an embodiment of the present invention, where the data increment upgrading method may be applied to a network manager, and the data increment upgrading method includes, but is not limited to, the following steps:
step S400, obtaining an added language file and a history language resource file, wherein the added language file comprises added type information, and the history language resource file comprises history type information;
Step S500, determining an upgrade mark according to the newly added type information and the historical type information;
step S600, generating an upgrade package according to the upgrade mark and the newly added language file, and sending the upgrade package to the power supply equipment system so that the power supply equipment system adds the newly added language file on the basis of the historical language resource file.
It can be understood that the new language file includes new type information, the history language resource file includes history type information, where the new language file is a language resource file corresponding to the new type information, and the new type information is information corresponding to a language type that needs to be updated. The history category information may include newly added category information, or the history category information may not include newly added category information, i.e., the upgrade range of the power supply device system may be determined according to the newly added category information and the history category information, if a history language resource file corresponding to the newly added category information needs to be updated, or a language category may be added, or a language category may be changed, so that the upgrade flag may represent the upgrade range of the current power supply device system, and thus the upgrade flag may be determined according to the newly added category information and the history category information. The new language file can be regarded as the upgrade content of the current power supply equipment system, namely, the new language file corresponds to the upgrade mark, and the upgrade package is generated according to the upgrade mark and the new language file, so that the upgrade mark can distinguish the upgrade content of the upgrade package, the subsequent upgrade processing is facilitated, and the error upgrade is avoided. In addition, the upgrade package also comprises an upgrade program, the upgrade program can replace the original starting program, the upgrade program can identify an upgrade mark, and the upgrade scope of the upgrade program is determined according to the upgrade mark, so that the upgrade program can add a new language file on the basis of a historical language resource file in the power supply equipment system, upgrade processing can be performed on the upgrade package by using the original starting program of the current version of the power supply equipment system, the need of customizing the upgrade package due to mismatching of versions or mismatching of language types is reduced, the whole replacement of the historical language resource file in the power supply equipment system is not needed, the version of the power supply equipment system is not needed to be updated, the new language file in the upgrade package can be a part of language resource file, the processing amount is reduced, and the upgrade speed is improved. And sending an upgrade package containing the upgrade program, the corresponding upgrade mark and the new language file to the power supply equipment system, so that the power supply equipment system can decompress the upgrade package to obtain the upgrade program, the corresponding upgrade mark and the new language file, and adding the new language file on the basis of the historical language resource file according to the upgrade mark by using the upgrade program. Therefore, by determining the upgrade program, the corresponding upgrade mark and the new language file according to the new type information and the history type information and generating the upgrade package, the volume of the upgrade package can be reduced, the incremental upgrade of the power supply equipment system can be realized, the processing amount can be reduced, and the upgrade speed can be improved.
Referring to fig. 7, step S500 in the embodiment of fig. 6 further includes, but is not limited to, the following steps:
step S510, comparing and judging the newly added category information and the history category information;
step S520, when the newly added category information is consistent with the history category information, a first upgrade flag is generated.
It can be understood that, since the new language file is the updated content of the current power supply device system, the new type information is the tag information corresponding to the new language file, that is, the new type information may be the language type corresponding to the new language file, and the update condition of the current power supply device system is determined by comparing the new type information with the history type information, for example, only the history language resource file is updated, or the language type is increased, or the language type is changed. Therefore, when the new type information is consistent with the history type information, it can be considered that the history type information contains the new type information, the language type of the current power supply equipment system is not changed, and only the history language resource file corresponding to the new type information is updated to generate the first upgrading mark, so that the power supply equipment system adds the new language file on the basis of the history language resource file corresponding to the new type information by using the first upgrading mark and the upgrading program, and all the history language resource files in the power supply equipment system are not required to be replaced by the new language file, so that the processing amount is reduced, and the upgrading speed is improved.
Referring to fig. 8, fig. 8 shows a schematic diagram of a carried file of an upgrade package with a first upgrade flag, and it can be understood that when the upgrade package has the first upgrade flag, it can be considered that the current power supply device system needs to update a historical language resource file, and thus, the file carried by the upgrade package includes the first upgrade flag, the new language file, the upgrade program, and the feature file. The first upgrading mark is used for determining the upgrading processing process of the upgrading program, the newly-increased language file is a file which needs to be updated in the upgrading process, and the upgrading program is used for adding the newly-increased language file on the basis of the historical language resource file to realize incremental upgrading. Because the power supply equipment system needs to acquire the upgrade package from the network manager through the original upgrade program, the original upgrade program can check the acquired upgrade package to check whether the files in the upgrade package are complete. When the original upgrade program considers that the files in the upgrade package are complete, the upgrade package is decompressed and is upgraded. The feature file is used for checking an original upgrade program of the power supply equipment system, so that the upgrade package can be identified by the original upgrade program to perform the upgrade package decompression processing. Therefore, the upgrade package does not need to carry a complete language resource file, and incremental upgrade of the power supply equipment system can be realized through the first upgrade mark, the newly added language file, the upgrade program and the feature file, so that the processing amount can be reduced, and the upgrade speed can be improved.
Referring to fig. 9, step S500 in the embodiment of fig. 6 further includes, but is not limited to, the following steps:
step S530, comparing and judging the newly added category information and the history category information;
step S540, when the newly added category information is inconsistent with the history category information, a second upgrading mark is generated.
It is understood that by comparing the newly added category information with the history category information, it can be judged whether or not the language category of the current power supply apparatus system is changed. When the new type information is inconsistent with the history type information, it can be considered that the current history type information does not contain the new type information, that is, the language type of the current power supply equipment system needs to be changed, a second upgrading mark is generated, so that the power supply equipment system updates the new language file and the new configuration file corresponding to the new language file into the power supply equipment system according to the second upgrading mark and the upgrading program. The upgrading mark is determined by judging the newly added type information and the historical type information, so that the upgrading program carries out targeted upgrading treatment according to the upgrading mark, all the historical language resource files are not required to be replaced, the file size of the newly added language file is reduced, the processing amount is reduced, and the processing speed is improved.
Referring to fig. 10, step S600 in the embodiment of fig. 6 further includes, but is not limited to, the following steps:
step S610, determining a new configuration file matched with the new type information according to the second upgrading mark;
step S620, generating an upgrade package according to the second upgrade flag, the new language file and the new configuration file.
Referring to fig. 11, fig. 11 shows a schematic diagram of a carried file of an upgrade package with a second upgrade flag, and it can be understood that different language types correspond to different configuration files, and a new language file is loaded into a power supply device system through the corresponding configuration files. When the new type information is inconsistent with the history type information, that is, the language type in the power supply equipment system changes, the configuration file corresponding to the new type information needs to be added, so that when the upgrading flag bit is the second upgrading flag, the configuration file corresponding to the new type information is determined to be the new configuration file, and the upgrading program configures the new language file according to the new configuration file. Therefore, when the upgrade flag is the second upgrade flag, the power supply device system needs to configure the new language file by using the new configuration file corresponding to the new type information according to the second upgrade flag, so that the second upgrade flag, the new language file, the new configuration file and the upgrade program are put into the upgrade package, and in addition, the feature file is also needed to be put into the feature file to cope with the inspection of the original upgrade program of the power supply device system, so that the upgrade package can pass the inspection of the original upgrade program and perform decompression processing. Therefore, the power supply equipment system can realize incremental data upgrading according to the files in the upgrading package, reduce the processing amount and improve the upgrading speed.
Referring to fig. 12, fig. 12 shows that the new language file is specifically obtained by the following steps:
step S710, obtaining newly added category information;
step S720, generating a new configuration file according to the new type information;
step S730, converting the language organization file corresponding to the newly added type information into a newly added language file according to the newly added configuration file.
It can be understood that before the new and increased type information is obtained, various languages are organized to form language organization files, for example, table files are adopted for organization, english is used as a main expression mode, other languages correspond to corresponding English words, each language is organized to be a language organization file, namely, the languages are organized by using the language type as a first identifier of classification, multiple languages are organized, and English words are used as language indexes to build a dictionary structure.
The new added language file corresponds to the new added type information, the new added type information can be determined by acquiring input information of the power supply equipment system, or can be acquired and determined from preset type information of a network manager, and the new added type information can use language codes specified by a locale as language identification codes, for example, zh_CN.UTF-8 represents Chinese format language adopting UTF-8 codes. The preset type information comprises newly-added type information, so that the newly-added language file can be determined according to the newly-added type information required by a user, and a corresponding upgrade package is customized, so that the power supply equipment system performs corresponding upgrade processing, and the use requirement of the user is met.
The new language file is loaded into the power supply equipment system through the corresponding configuration file, and the corresponding new configuration file and the conversion tool are generated by utilizing the determined new type information. Selecting a language organization file corresponding to the newly added type information, and converting the language organization file corresponding to the newly added type information into a newly added language file through the newly added configuration file and the conversion tool. The file format of the new language file may be a JSON file format, that is, according to the new type information, the language organization file in the form of a table file is converted into the JSON file format, and the new language type corresponds to the new language file in the JSON file format one by one, and the new language file in the JSON file format is converted according to the dictionary content of the language organization file. In addition, the new added language file can be resolved into a JavaScript object, the new added type information is stored in the cookie data, and the information in the cookie data is updated, so that when the JavaScript function needs to move to multiple languages, the JSON object can be directly called, and the JSON object is completely consistent with the common variable object, so that the subsequent upgrading processing is facilitated. For multi-language of HTML (Hyper Text Markup Language ) files, the internationalized objects can be applied to HTML files by using JavaScript frames, such as jQuery, and can also be applied to server scripts such as JSP (java server Pages) and PHP (Hypertext Preprocessor ). Therefore, the corresponding language organization file is converted into the new language file according to the new type information, which is beneficial to internationalization processing, reduces the processing capacity of the power supply equipment system and improves the upgrading speed.
Referring to fig. 13, fig. 13 shows that the new added language file can also be obtained by:
step S810, obtaining language type information and medium type information;
step S820, generating a new configuration file according to the language type information and the medium type information;
step S830, according to the newly added configuration file, the language organization file corresponding to the language type information and the media type information is converted into a newly added language file corresponding to the media type information.
The new type information includes language type information and medium type information.
It is understood that the new type information includes language type information and medium type information, and common operation mediums of the power supply device system are a liquid crystal display or a website, wherein the liquid crystal display includes various sizes, such as 18 inches, 22 inches, and the like. Different sizes of liquid crystal display screens can display different content sizes, so that corresponding newly-added language files are required to be determined by acquiring medium type information, and multi-language display content is improved to improve the use experience of a user.
Establishing a corresponding language organization file for each language, wherein the format of the language organization file is an Excel file format, dividing the language organization file into different pages according to the acquired medium type information, and establishing an English word dictionary in each page, namely displaying in a key-value form so as to be convenient for a user to use. And determining a corresponding newly added configuration file and a conversion tool according to the acquired language type information and medium type information, and determining a selected language organization file corresponding to the language type information and the medium type information. According to the new configuration file and the conversion tool, converting the corresponding selected language organization file into a new language file corresponding to the medium type information, wherein the language organization file is divided into different pages according to the medium type information, and each page is converted into the corresponding new language file under the conversion of the new configuration file, so that the subsequent upgrading processing is conveniently carried out, and the processing capacity is reduced. The language organization files can comprise files corresponding to all the language types and the medium types supported by the power supply equipment system, but only the files corresponding to the information of the new type are converted by using the newly added configuration files and the conversion tools, namely, the newly added language files are part of the files corresponding to all the language types and the medium types, so that the production of the multi-language files can be completed as required, the situation of version customization is reduced, and the processing amount is reduced. The file format of the newly added language file may be a Portable Object (PO) file format, and when the power supply device system performs upgrade processing, the PO file is processed by the upgrade program, so that the translation result can be inherited, the translation processing amount can be reduced, and the upgrade speed can be increased. Thus, the current language code can be obtained through the setlocale function to be used as the newly added type information, the current language environment is determined, for example, when the setlocale function is setlocale (LC_ALL, "zh_CN.UTF-8"), the current running environment can be determined to be the Chinese environment coded by UTF-8. The power supply equipment system supports a liquid crystal GUI (Graphical User Interface ) and a Web (World Wide Web) to be displayed externally by adopting different languages at the same time, wherein language type information of Web back-end service can be subjected to persistence processing by adopting cookie data and session control technology, language type change is completed when the language types are switched, and the front end and the back end are identified by adopting the same language identification code, namely, newly added type information, language type information and historical type information correspond to each other. The multi-language domain can be selected through a bindtextstarting function, and the medium is used as the domain of the language environment, for example, the current language environment can be set as Web through the bindtextstarting function, namely, in the conversion process of the language file, the PO file corresponding to the Web is selected as the searched language resource file.
It should be noted that, in view of the characteristics of small size and high query efficiency of the binary file in the power supply device system, the selected language organization file may be converted into an MO file (Machine Object file) by adding the configuration file, so as to facilitate the query of the user and improve the use experience of the user.
It should be noted that if one power supply device system needs to manage multiple media, all the media to be managed are bound into domains, so that the corresponding domain can be queried to obtain the file of the corresponding media, so that the user can query and use the file conveniently, and the use experience of the user is improved.
Referring to fig. 14, fig. 14 illustrates a power supply device system 1400 provided by an embodiment of the present invention. The power device system 1400 includes a memory 1410, a processor 1420, and a computer program stored on the memory 1410 and executable on the processor 1420, the processor 1420 implementing the data delta upgrade method as in the above embodiments when executing the computer program.
The memory 1410, as a non-transitory computer readable storage medium, may be used to store a non-transitory software program and a non-transitory computer executable program, such as the data delta upgrade method in the above-described embodiments of the present invention. The processor 1420 implements the data delta upgrade method in the above-described embodiments of the present invention by running non-transitory software programs and instructions stored in the memory 1410.
Memory 1410 may include a storage program area that may store an operating system, at least one application required for functionality, and a storage data area; the storage data area may store data and the like required to perform the data delta upgrade method in the above-described embodiments. In addition, memory 1410 may include high-speed random access memory 1410, and may also include non-transitory memory 1410, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. It should be noted that the memory 1410 may alternatively include a memory 1410 remotely located with respect to the processor 1420, and these remote memories 1410 may be connected to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The non-transitory software programs and instructions required to implement the data delta upgrade method in the above embodiments are stored in the memory and when executed by the one or more processors, the data delta upgrade method in the above embodiments is performed, for example, the method steps S100 through S300 in fig. 1, the method steps S310 through S320 in fig. 2, the method steps S330 through S350 in fig. 3, the method step S101 in fig. 4, and the method step S301 in fig. 5 described above are performed.
Referring to fig. 15, fig. 15 shows a network management 1500 provided by an embodiment of the present invention. The network management 1500 includes a memory 1510, a processor 1520, and a computer program stored on the memory 1510 and executable on the processor 1520, wherein the processor 1520 implements the data delta upgrade method as in the above embodiments when executing the computer program.
The memory 1510 is used as a non-transitory computer readable storage medium for storing non-transitory software programs and non-transitory computer executable programs, such as the data delta upgrade method in the above-described embodiments of the present invention. The processor 1520 implements the data delta upgrade method in the above-described embodiments of the present invention by running non-transitory software programs and instructions stored in the memory 1510.
Memory 1510 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data and the like required to perform the data delta upgrade method in the above-described embodiments. In addition, the memory 1510 may include high-speed random access memory 1510, and may also include non-transitory memory 1510, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. It should be noted that the memory 1510 may optionally include a memory 1510 remotely located from the processor 1520, and that these remote memories 1510 may be connected to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The non-transitory software programs and instructions required to implement the data delta upgrade method in the above-described embodiments are stored in the memory and when executed by the one or more processors, the data delta upgrade method in the above-described embodiments is performed, for example, the method steps S400 to S600 in fig. 6, the method steps S510 to S520 in fig. 7, the method steps S530 to S540 in fig. 9, the method steps S610 to S620 in fig. 10, the method steps S710 to S730 in fig. 12, and the method steps S810 to S830 in fig. 13 described above are performed. The embodiment of the invention also provides a storage medium which stores computer executable instructions for executing the data transmission method or the data receiving method.
The present invention also provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the data delta upgrade method as in the above-described embodiments, for example, at least one of the method steps S100 to S300 in fig. 1, the method steps S310 to S320 in fig. 2, the method steps S330 to S350 in fig. 3, the method steps S101 in fig. 4, and the method step S301 in fig. 5, and the method steps S400 to S600 in fig. 6, the method steps S510 to S520 in fig. 7, the method steps S530 to S540 in fig. 9, the method steps S610 to S620 in fig. 10, the method steps S710 to S730 in fig. 12, and the method steps S810 to S830 in fig. 13, which are described above.
The above described apparatus embodiments are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present invention.