WO2023035966A1 - 数据增量升级方法、电源设备系统、网管及存储介质 - Google Patents
数据增量升级方法、电源设备系统、网管及存储介质 Download PDFInfo
- Publication number
- WO2023035966A1 WO2023035966A1 PCT/CN2022/114902 CN2022114902W WO2023035966A1 WO 2023035966 A1 WO2023035966 A1 WO 2023035966A1 CN 2022114902 W CN2022114902 W CN 2022114902W WO 2023035966 A1 WO2023035966 A1 WO 2023035966A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- upgrade
- language
- file
- newly added
- historical
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
Definitions
- the present application relates to the technical field of data processing, and in particular to a method for incrementally upgrading data, a power supply system, a network management system, and a computer storage medium.
- the power supply system will provide users with multi-language service support, and the expression of the same meaning will be converted into languages that is internationalized according to the objective language and display media.
- the user needs more types of language translation, a new upgrade version needs to be released to replace the historical files in the power supply system, which results in a large amount of processing and slow upgrade speed.
- Embodiments of the present application provide a data incremental upgrade method, a power supply system, and a computer storage medium.
- the embodiment of the present application provides a data incremental upgrade method, which is applied to the power supply equipment system, including: obtaining the upgrade package from the network management, the upgrade package includes an upgrade flag and a new language file; according to the upgrade The flag determines an upgrade program, and the upgrade program is used to add new language files on the basis of the historical language resource files in the power supply system; use the upgrade program to perform upgrade processing.
- the embodiment of the present application provides a method for incrementally upgrading data, which is applied to network management, including: obtaining newly added language files and historical language resource files, wherein the newly added language files include newly added category information, and the The historical language resource file includes historical category information; the upgrade flag is determined according to the newly added category information and the historical category information; an upgrade package is generated according to the upgrade flag and the newly added language file, and sent to the power supply system for Add new language files to the power supply system based on the historical language resource files.
- an embodiment of the present application provides a power supply system, including a memory, a processor, and a computer program stored in the memory and operable on the processor.
- the processor executes the computer program, the above-mentioned first On the one hand, it is a data incremental upgrade method.
- an embodiment of the present application provides a network management system, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor implements the second aspect above when executing the computer program.
- the embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the data incremental upgrade method as described in the first aspect above or the method as described in the second aspect above Incremental data upgrade method.
- Fig. 1 is a flow chart of the data incremental upgrade method provided by the embodiment of the present application.
- FIG. 2 is a schematic diagram of a specific implementation process of step S300 in FIG. 1;
- FIG. 3 is a schematic diagram of a specific implementation process of step S300 in FIG. 1;
- FIG. 4 is a schematic diagram of a specific implementation process included after step S100 in FIG. 1;
- FIG. 5 is a schematic diagram of a specific implementation process included after step S300 in FIG. 1;
- FIG. 6 is a flowchart of a data incremental upgrade method provided by another embodiment of the present application.
- FIG. 7 is a schematic diagram of a specific implementation process of step S500 in FIG. 6;
- Fig. 8 is a schematic diagram of the files carried in the upgrade package with the first upgrade mark provided by the embodiment of the present application.
- FIG. 9 is a schematic diagram of a specific implementation process of step S500 in FIG. 6;
- FIG. 10 is a schematic diagram of a specific implementation process of step S600 in FIG. 6;
- Fig. 11 is a schematic diagram of the files carried in the upgrade package with the second upgrade mark provided by the embodiment of the present application.
- Fig. 12 is a schematic flow chart of the formation of newly added language files provided by the embodiment of the present application.
- Fig. 13 is a schematic flow chart of the formation of new language files provided by another embodiment of the present application.
- FIG. 14 is a schematic structural diagram of a power supply system provided by an embodiment of the present application.
- FIG. 15 is a schematic structural diagram of a network management system provided by an embodiment of the present application.
- This application provides a data incremental upgrade method, by adding an upgrade program in the upgrade package, and according to the upgrade flag in the upgrade package, using the upgrade program in the upgrade package to upgrade the newly added language files in the upgrade package, the The new language files are added based on the historical language resource files in the power supply system. Therefore, the overall upgrade package can be replaced by the upgrade package customized by the network management system, and targeted upgrade processing can be carried out according to the upgrade flag, avoiding the need for the original startup program to replace all historical files in the power supply system, reducing the processing capacity, and improving the upgrade speed.
- the upgrade package contains an upgrade program to avoid the original startup program being different due to the different versions in the power supply system.
- the upgrade package does not match the original startup program and the upgrade cannot be performed. It is compatible with the existing version in the power supply system and is suitable for multiple applications.
- Various application scenarios reducing the release of upgraded versions, small processing volume, fast upgrade speed, and improved ease of use.
- FIG. 1 shows a flow chart of the incremental data upgrade method provided by the embodiment of the present application.
- the incremental data upgrade method can be applied to power supply equipment systems.
- the incremental data upgrade method includes but is not limited to the following steps :
- Step S100 obtaining an upgrade package from the network management system, the upgrade package includes an upgrade logo and a new language file;
- Step S200 determine the upgrade program according to the upgrade flag, the upgrade program is used to add new language files on the basis of the historical language resource files in the power supply system;
- step S300 an upgrade process is performed using an upgrade program.
- the power supply system may be an embedded power supply
- the embedded power supply is generally equipped with an operating system and communicates with the equipment maintenance management system, that is, the embedded power supply communicates with the network management system.
- the original startup program in the embedded power supply device in the related art is used to replace all the historical language resource files in the system with the files in the software upgrade package, that is, the embedded power supply device is fully upgraded, and the embedded power supply device The version is updated, the processing volume is large, and the upgrade speed is slow.
- the files in the software upgrade package must contain the complete language resource files in the embedded power supply, otherwise, in the process of upgrading the embedded power supply with the original startup program, the incomplete language resource files will replace the historical language Resource files cause errors in embedded power devices, resulting in upgrade failures and poor stability.
- the original startup programs of different versions of embedded power devices are different, and the software upgrade packages that can be processed are also different. Therefore, it is necessary to customize the software upgrade package for the version of the embedded power device, which has a large amount of processing and poor usability.
- the power supply equipment system can obtain the software upgrade package through the original original startup program, and after decompressing the software upgrade package, restart the system to complete the system upgrade. Therefore, the power supply system can obtain and decompress the upgrade package from the network management system through the original startup program.
- the upgrade package includes an upgrade flag used to determine the scope of this update and new language files that need to be updated.
- the upgrade package may also include a customized upgrade program, which has the same feature vector as the original upgrade program, but only executes the upgrade logic of the customized upgrade program.
- the upgrade program can replace the original startup program, the upgrade program can identify the upgrade logo, and determine the update and upgrade range of the upgrade program according to the upgrade logo, so that the upgrade program can be updated in the history of the power supply equipment system Add new language files on the basis of language resource files.
- the upgrade program can determine the update and upgrade range according to the upgrade flag in the upgrade package, can accurately add new language files on the basis of historical language resource files, and can use the current version of the power supply system
- the original startup program upgrades the upgrade package, reducing the need to customize the upgrade package due to version mismatch or language mismatch, so that there is no need to replace all historical language resource files in the power supply system, and there is no need to update the version of the power supply system , and the new language files in the upgrade package can be part of the language resource files, reducing the processing load and improving the upgrade speed.
- using the upgrade program in the upgrade package to process the newly added upgrade file in the upgrade package can prevent the original startup program in the power supply system of different versions from being unable to recognize the newly added upgrade file, resulting in failure to upgrade, thus being applicable to multiple Various versions of the power supply system can be upgraded to realize the power supply system supporting multiple language application scenarios, and the multilingual file upgrade can be completed, so that the power supply system can provide users with multiple languages and improve the user experience.
- step S300 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
- Step S310 using the upgrade program to add the new language file on the basis of the historical language resource file
- Step S320 updating the version flag in the power supply system according to the first upgrade flag.
- the upgrade flag is the first upgrade flag, and the first upgrade flag is used to indicate 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.
- the upgrade flag includes the first upgrade flag.
- 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 system, that is, , the language types in the power supply system have not changed, only the historical language resource files are updated. Therefore, when the upgrade flag is the first upgrade flag, the upgrade program is used to add the newly added language file on the basis of the historical language resource file, thereby replacing the historical language resource file corresponding to the newly added category information with the newly added language file, There is no need to replace all historical language resource files, and the data incremental upgrade of the power equipment system is realized, the processing amount is reduced, and the upgrade speed is improved.
- the version flag in the power supply system is used to represent the content of the current update and upgrade of the power supply system. Therefore, the version flag may include historical category information in the power supply system.
- the version logo of the power supply system can help users identify and understand the multilingual support of the current power supply system, which is convenient for users to use, and it is also helpful for the next incremental data upgrade to avoid repeated upgrades or wrong upgrades. . Since the first upgrade sign indicates that the newly added category information is consistent with the historical category information, therefore, updating the version sign in the power supply system according to the first upgrade sign can make the user understand the current update content of the power supply system, which is helpful user use.
- step S300 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
- Step S330 using the upgrade program to update the historical configuration files in the power supply system by adding configuration files
- Step S340 adding a new language file on the basis of the historical language resource file
- Step S350 updating the version flag in the power supply system according to the second upgrade flag.
- the upgrade flag is the second upgrade flag
- the second upgrade flag is used to indicate that the newly added category information of the newly added language file is inconsistent with the historical category information of the historical language resource file
- the upgrade package also includes a newly added configuration file, and the newly added configuration The files correspond to the newly added language files.
- the upgrade flag includes the second upgrade flag.
- 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 system, that is, The language type in the power supply system changes, such as the increase or change of the language type. Different language types correspond to different configuration files, and language files are loaded into the power supply system through corresponding configuration files.
- the upgrade package includes a newly added configuration file corresponding to the newly added language file.
- the update and upgrade range of the upgrade program is determined according to the second upgrade flag, that is, the historical configuration files in the power supply system are updated with the newly added configuration files in the upgrade package by the upgrade program.
- the second upgrade flag that is, the historical configuration files in the power supply system are updated with the newly added configuration files in the upgrade package by the upgrade program.
- the update and upgrade range of the upgrade program is determined according to the second upgrade flag, that is, the historical configuration files in the power supply system are updated with the newly added configuration files in the upgrade package by the upgrade program.
- the second upgrade flag that is, the historical configuration files in the power supply system are updated with the newly added configuration files in the upgrade package by the upgrade program.
- the upgrade program will also be used to add new language files to the historical language resource files corresponding to the newly added or changed language types, completing the incremental data upgrade without replacing all historical language resources files, reducing the amount of processing and improving the upgrade speed.
- the upgrade program will be used to update the new configuration file and the new language file to the power supply system to complete the addition or change of the language.
- the version label in the power supply system is updated according to the second upgrade label.
- Type update information the type update information in the second upgrade mark is added to the version mark, so that the historical update records of the power supply system can be directly identified through the version mark, which is convenient for users to use and helps users to understand the power supply system Targeted update processing for multi-language support to reduce processing load.
- step S100 in the embodiment shown in FIG. 1 it also includes but is not limited to the following steps:
- Step S101 backing up the original startup program, which is used to configure the historical language resource files in the power supply system.
- the power supply system contains the original startup program, which can configure the historical language resource files in the power supply system, that is, when the original startup program receives the upgrade package, it will check and decompress the upgrade package , The system restarts, and configures the new language files in the upgrade package. Since the original startup program will use the newly added language files to cover and configure all the historical language resource files, the processing volume is large. Therefore, the original startup program is used to obtain the upgrade package from the network management system and decompress the upgrade package.
- the upgrade package includes an upgrade program. After the upgrade package is decompressed, the upgrade program will replace the original startup program. When the power device system is restarted, the upgrade program in the upgrade package can be used to upgrade the newly added language files in the upgrade package.
- the upgrade program Before the upgrade program processes the newly added files, it will back up the original startup program.
- the power supply system can be started by restoring the backup file of the original startup program. , thus improving the stability and reliability of the data augmentation method.
- step S300 in the embodiment shown in FIG. 1 it also includes but is not limited to the following steps:
- Step S301 replacing the original startup program with the upgrade program.
- the upgrade program will replace the original startup program and back up the original startup program.
- the upgrade program In order to ensure the compatibility of the power supply system and prevent the power supply system from being unable to start due to an error in the upgrade program during subsequent use, therefore, after the upgrade process is completed by using the upgrade program, replace the original startup program with the upgrade program, that is Restore the original startup program, restart the power supply system according to the original startup program, and end the upgrade program. Therefore, by backing up and restoring the original startup program, the stability and reliability of the system upgrade of the power supply equipment are improved.
- Fig. 6 has shown the flowchart of the incremental data upgrade method that the embodiment of the present application provides, and this incremental data upgrade method can be applied to network management, and this incremental data upgrade method includes but not limited to the following steps:
- Step S400 acquiring newly added language files and historical language resource files, wherein the newly added language files include newly added category information, and the historical language resource files include historical category information;
- Step S500 determining the upgrade flag according to the newly added category information and historical category information
- Step S600 generate an upgrade package according to the upgrade flag and the new language file, and send it to the power supply system, so that the power supply system adds the new language file on the basis of the historical language resource file.
- the newly added language file includes newly added category information
- the historical language resource file includes historical category information
- the newly added language file is the language resource file corresponding to the newly added category information
- the newly added category information is It is the information corresponding to the language type that needs to be updated.
- the historical category information may include newly added category information, or may not include the newly added category information, that is, the upgrade scope of the power supply equipment system can be determined according to the newly added category information and the historical category information, and if the newly added category needs to be updated
- the historical language resource file corresponding to the information either adds or changes the language category. Therefore, the upgrade flag can represent the upgrade range of the current power supply system, so that the upgrade flag can be determined according to the newly added type information and the historical type information.
- the new language file can be regarded as the upgrade content of the current power supply system, that is, the new language file corresponds to the upgrade logo, and the upgrade package is generated according to the upgrade logo and the new language file, so that the update of the upgrade package can be distinguished by the upgrade logo Content, which is helpful for subsequent upgrade processing and avoids wrong upgrades.
- the upgrade package also includes an upgrade program, the upgrade program can replace the original startup program, the upgrade program can identify the upgrade mark, and determine the update range of the upgrade program according to the upgrade mark, so that the upgrade program can be updated in the historical language resources of the power supply system.
- the power supply system can decompress the upgrade package to obtain the upgrade program, corresponding upgrade logo and new language files , using the upgrade program to add a new language file on the basis of the historical language resource file according to the upgrade flag. Therefore, by determining the upgrade program, the corresponding upgrade flag and the new language file according to the newly added category information and historical category information, and generating the upgrade package, the size of the upgrade package can be reduced, which helps the power supply equipment system to achieve incremental upgrades. Reduce processing volume and increase upgrade speed.
- step S500 in the embodiment shown in FIG. 6 also includes but is not limited to the following steps:
- Step S510 comparing and judging the newly added category information and historical category information
- Step S520 when the added category information is consistent with the historical category information, a first upgrade flag is generated.
- the newly added type information is the label information corresponding to the newly added language file, that is, the newly added type information may be the language type corresponding to the newly added language file , by comparing the newly added category information with the historical category information, to determine the update status of the current power supply equipment system, such as only updating the historical language resource file, or adding a language category, or changing a language category. Therefore, when the newly added type information is consistent with the historical type information, it can be considered that the historical type information contains the newly added type information, and the language type of the current power supply system has not changed, and only the historical language resource files corresponding to the newly added type information are processed.
- Update generate the first upgrade flag, so that the power supply system uses the first upgrade flag and the upgrade program to add the new language file on the basis of the historical language resource file corresponding to the newly added category information, without adding all the new language files Replace all historical language resource files in the power supply system to reduce processing load and improve upgrade speed.
- FIG. 8 shows a schematic diagram of the files carried in the upgrade package with the first upgrade mark.
- the files carried by the upgrade package include the first upgrade flag, new language files, upgrade programs and feature files.
- the first upgrade flag is used to determine the upgrade process of the upgrade program
- the new language file is the file that needs to be updated in this upgrade
- the upgrade program is used to add the new language file on the basis of the historical language resource file to realize Incremental upgrades.
- the power equipment system obtains the upgrade package from the network management system, it needs to obtain it through the original upgrade program, and the original upgrade program will check the obtained upgrade package to check whether the files in the upgrade package are complete.
- the original upgrade program considers that the files in the upgrade package are complete, it will decompress the upgrade package and perform the upgrade process.
- the feature file is used to check the original upgrade program of the power supply system, so that the upgrade package can be identified by the original upgrade program, so that the upgrade package can be decompressed. Therefore, the upgrade package does not need to carry a complete language resource file, and the incremental upgrade of the power supply system can be realized through the first upgrade flag, the new language file, the upgrade program and the feature file, thereby reducing the amount of processing and improving the upgrade speed.
- step S500 in the embodiment shown in FIG. 6 also includes but is not limited to the following steps:
- Step S530 comparing and judging the newly added category information and historical category information
- Step S540 when the newly added category information is inconsistent with the historical category information, generate a second upgrade flag.
- the newly added category information it can be determined whether the language category of the current power supply system has changed.
- the newly added type information is inconsistent with the historical type information, it can be considered that the current historical type information does not contain the newly added type information, that is, the language type of the current power supply system needs to be changed, and a second upgrade flag is generated so that the power supply system
- the new language file and the new configuration file corresponding to the new language file are updated to the power supply system according to the second upgrade sign and the upgrade program.
- the upgrade flag is determined by judging the newly added category information and historical category information, so that the upgrade program performs targeted upgrade processing according to the upgrade flag, without replacing all historical language resource files, reducing the file size of the newly added language file, Reduce processing volume and increase processing speed.
- step S600 in the embodiment shown in FIG. 6 also includes but is not limited to the following steps:
- Step S610 determining a newly added configuration file matching the newly added category information according to the second upgrade flag
- Step S620 generating an upgrade package according to the second upgrade flag, the new language file and the new configuration file.
- Figure 11 shows a schematic diagram of the files carried in the upgrade package with the second upgrade flag, it can be understood that different language types correspond to different configuration files, and new language files are loaded through the corresponding configuration files to the power supply system.
- the configuration file corresponding to the newly added type information needs to be added. Therefore, when the upgrade flag is the second upgrade flag, determine the newly added type information
- the corresponding configuration file is a new configuration file, so that the upgrade program configures the new language file according to the new configuration file.
- the power supply equipment system needs to configure the newly added language file by using the newly added configuration file corresponding to the newly added category information according to the second upgrade flag. Therefore, the second upgrade flag, the new Add language files, new configuration files and upgrade programs into the upgrade package.
- feature files need to be added to deal with the inspection of the original upgrade program of the power supply system, so that the upgrade package can pass the check of the original upgrade program and be resolved. Compression processing. Therefore, the power supply equipment system can implement incremental data upgrade according to the files in the upgrade package, reduce the amount of processing, and increase the upgrade speed.
- Fig. 12 shows that the newly-added language file is specifically obtained by the following steps:
- Step S710 acquiring new category information
- Step S720 generating a new configuration file according to the new category information
- Step S730 Convert the language organization file corresponding to the newly added category information into a newly added language file according to the newly added configuration file.
- a language organization file For example, a table file is used for organization, with English as the main expression method, and other languages correspond to the corresponding English words. Each language is organized as a language organization file, that is, the language category is used as the first identifier of the classification to organize multiple languages, and English words are used as the language index to establish a dictionary structure.
- the newly added language file corresponds to the newly added type information.
- the newly added type information can be determined by obtaining the input information of the power equipment system, or can be determined from the preset type information of the network management system.
- the newly added type information can be specified by locale
- the language code of is used as the language identification code, for example, zh_CN.UTF-8 represents the Chinese format language encoded in UTF-8.
- the preset type information includes newly added type information, so that the newly added type information can be obtained according to the needs of the user, the newly added language file can be determined, and the corresponding upgrade package can be customized, so that the power supply system can be upgraded accordingly to meet the needs of the user. Usage requirements.
- the new language file is loaded into the power supply system through the corresponding configuration file, and the corresponding new configuration file and conversion tool are generated by using the determined new type information.
- Select the language organization file corresponding to the newly added category information and convert the language organization file corresponding to the newly added category information into a newly added language file through the newly added configuration file and the conversion tool.
- the file format of the newly added language file can be JSON file format, that is, according to the newly added type information, the language organization file in the form of a table file is converted into a JSON file format, and the newly added language type and the newly added language file in the JSON file format
- the newly added language files in the JSON file format are converted according to the dictionary content of the language organization file.
- JavaScript frameworks such as jQuery and other technologies, can be used to apply internationalized objects to HTML files, and can also be applied to JSP (JavaServer Pages, java server pages) and server scripts such as PHP (Hypertext Preprocessor, hypertext preprocessor). Therefore, the conversion of the corresponding language organization file into a new language file according to the new category information is realized, which is helpful for internationalization processing, reduces the processing capacity of the power supply system, and improves the upgrade speed.
- Fig. 13 has shown that newly added language file can also be obtained by following steps:
- Step S810 acquiring language type information and media type information
- Step S820 generating a new configuration file according to the language type information and the media type information
- step S830 according to the new 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 added type information includes language type information and media type information.
- the newly added type information includes language type information and media type information.
- the common operating media of the power supply equipment system include LCD screens or websites, etc., and the LCD screens include various sizes, such as 18 inches and 22 inches. LCD screens of different sizes can display different content sizes. Therefore, it is necessary to determine the corresponding new language files by obtaining the media type information, and improve the multilingual display content to improve the user experience.
- the format of the language organization file is Excel file format, and divide the language organization file into different pages according to the obtained media type information, and establish an English word dictionary in each page, that is, It is displayed in key-value format for the convenience of users.
- a corresponding new configuration file and a conversion tool are determined, and a selected language organization file corresponding to the language type information and the media type information is determined.
- the new configuration file and the conversion tool the corresponding selected language organization file is converted into a new language file corresponding to the media type information.
- the language organization file can include files corresponding to all language types and media types supported by the power supply system, but only use the new configuration files and conversion tools to convert the files corresponding to the new type information, that is, the new language
- the file is a part of the files corresponding to all language types and media types, which can achieve the production of multilingual files on demand, thereby reducing the situation of version customization and reducing the amount of processing.
- the file format of the newly added language file can be a Portable Object (PO) file format.
- PO Portable Object
- the PO file can be processed through the upgrade program, so that the translation results can be inherited and the processing amount of translation can be reduced. , to increase the upgrade speed.
- the current language code can be obtained as new type information through the setlocale function to determine the current locale. For example, when the setlocale function is setlocale(LC_ALL,”zh_CN.UTF-8"), it can be determined that the current operating environment uses UTF-8 encoding. Chinese environment.
- the power supply system supports liquid crystal GUI (Graphical User Interface) and Web (World Wide Web) to display externally in different languages at the same time, and the language type information of the Web back-end service can use cookie data and The session control technology performs persistent processing, and the language type change is completed when the language type is switched. Both the front end and the back end use the same language identification code for identification, that is, the new type information, language type information and historical type information correspond.
- the selected language organization file can be converted into an MO file (Machine Object, Machine Object File) by adding a new configuration file, so that users can Make queries to improve user experience.
- MO file Machine Object File
- FIG. 14 shows a power supply system 1400 provided by an embodiment of the present application.
- the power supply system 1400 includes a memory 1410, a processor 1420, and a computer program stored in the memory 1410 and operable on the processor 1420.
- the processor 1420 executes the computer program, it implements the data incremental upgrade method in the above-mentioned embodiments.
- the memory 1410 as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs, such as the data incremental upgrade method in the above-mentioned embodiments of the present application.
- the processor 1420 executes the non-transitory software programs and instructions stored in the memory 1410 to implement the incremental data upgrade method in the foregoing embodiments of the present application.
- the memory 1410 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; data etc.
- the memory 1410 may include a high-speed random access memory 1410, and may also include a non-transitory memory 1410, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices.
- the memory 1410 may include memory 1410 remotely set relative to the processor 1420, and these remote memory 1410 may be connected to the terminal through a network. Examples of the aforementioned 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 realize the incremental data upgrade method in the above embodiments are stored in the memory, and when executed by one or more processors, the incremental data upgrade method in the above embodiments is executed, for example , execute method step S100 to step S300 in Fig. 1 described above, method step S310 to step S320 in Fig. 2, method step S330 to step S350 in Fig. 3, method step S101 among Fig. 4 and Fig. 5 Method step S301.
- FIG. 15 shows a network management system 1500 provided by an embodiment of the present application.
- the network manager 1500 includes a memory 1510, a processor 1520, and a computer program stored in the memory 1510 and operable on the processor 1520.
- the processor 1520 executes the computer program, it implements the data incremental upgrade method in the above-mentioned embodiment.
- the memory 1510 can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the data incremental upgrade method in the above-mentioned embodiments of the present application.
- the processor 1520 executes the non-transitory software programs and instructions stored in the memory 1510 to implement the incremental data upgrade method in the foregoing embodiments of the present application.
- the memory 1510 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; data etc.
- the memory 1510 may include a high-speed random access memory 1510, and may also include a non-transitory memory 1510, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices.
- the memory 1510 may include memory 1510 remotely set relative to the processor 1520, and these remote memory 1510 may be connected to the terminal through a network. Examples of the aforementioned 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 realize the incremental data upgrade method in the above embodiments are stored in the memory, and when executed by one or more processors, the incremental data upgrade method in the above embodiments is executed, for example , execute method step S400 to step S600 in Fig. 6 described above, method step S510 to step S520 in Fig. 7, method step S530 to step S540 in Fig. 9, method step S610 to step S620 in Fig. 10, Fig.
- the embodiment of the present application also provides a storage medium storing computer-executable instructions, and the computer-executable instructions are used to execute the above-mentioned data sending method or data receiving method.
- the present application also provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to make the computer perform the data incremental upgrade method in the above-mentioned embodiments, for example, execute the above Described method step S100 to step S300 in Fig. 1, method step S310 to step S320 in Fig. 2, method step S330 to step S350 in Fig. 3, method step S101 in Fig. 4 and method step S301 in Fig. 5 , and method step S400 to step S600 in Fig. 6, method step S510 to step S520 in Fig. 7, method step S530 to step S540 in Fig. 9, method step S610 to step S620 in Fig. 10, in Fig. 12 At least one of method steps S710 to S730 and method steps S810 to S830 in FIG. 13 .
- the embodiment of the present application includes: obtaining an upgrade package from the network management, the upgrade package includes an upgrade flag and a newly added language file; determining an upgrade program according to the upgrade flag, and the upgrade program is used to add a new language resource file on the basis of the historical language resource file in the power supply system Add language files; use the upgrade program to upgrade.
- the new language files will be added
- the language files are added on top of the historical language resource files in the power supply system. Therefore, the overall upgrade package can be replaced by the upgrade package customized by the network management system, and the targeted upgrade process can be carried out according to the upgrade mark, without replacing all the historical files in the power supply system, and the data incremental upgrade can be realized, and the upgrade package contains the upgrade Program, to avoid the upgrade package does not match the original startup program and can not be upgraded, compatible with the existing version in the power supply system, suitable for a variety of application scenarios, reduce the release of upgraded versions, small processing volume, fast upgrade speed, improve ease of use sex.
- the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer.
- 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 may include any information delivery media .
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
Description
Claims (14)
- 一种数据增量升级方法,应用于电源设备系统,包括:获取来自网管的升级包,所述升级包包括升级标志以及新增语言文件;根据所述升级标志确定升级程序,所述升级程序用于在所述电源设备系统中的历史语言资源文件的基础上增加新增语言文件;利用所述升级程序进行升级处理。
- 根据权利要求1所述的数据增量升级方法,其中,所述升级标志为第一升级标志,所述第一升级标志用于表征所述新增语言文件的新增种类信息与所述历史语言资源文件的历史种类信息一致;所述利用所述升级程序进行升级处理,包括:利用所述升级程序将所述新增语言文件在所述历史语言资源文件的基础上增加;根据所述第一升级标志对所述电源设备系统中的版本标志进行更新。
- 根据权利要求1所述的数据增量升级方法,其中,所述升级标志为第二升级标志,所述第二升级标志用于表征所述新增语言文件的新增种类信息与所述历史语言资源文件的历史种类信息不一致,以及所述升级包还包括新增配置文件,所述新增配置文件与所述新增语言文件相对应;所述利用所述升级程序进行升级处理,包括:利用所述升级程序通过所述新增配置文件对所述电源设备系统中的历史配置文件进行更新;在所述历史语言资源文件的基础上增加所述新增语言文件;根据所述第二升级标志对所述电源设备系统中的版本标志进行更新。
- 根据权利要求1至3任意一项所述的数据增量升级方法,其中,在所述获取来自网管的升级包之后,所述方法还包括:备份原启动程序,所述原启动程序用于对所述电源设备系统中的历史语言资源文件进行配置。
- 根据权利要求4所述的数据增量升级方法,其中,在利用所述升级程序进行升级处理之后,所述方法还包括:将所述原启动程序替换所述升级程序。
- 一种数据增量升级方法,应用于网管,包括:获取新增语言文件和历史语言资源文件,其中,所述新增语言文件包括新增种类信息,所述历史语言资源文件包括历史种类信息;根据所述新增种类信息和所述历史种类信息确定升级标志;根据所述升级标志以及所述新增语言文件生成升级包,并发送至电源设备系统,以使所述电源设备系统在历史语言资源文件的基础上增加新增语言文件。
- 根据权利要求6所述的数据增量升级方法,其中,所述根据所述新增种类信息和所述历史种类信息确定升级标志,包括:对所述新增种类信息和所述历史种类信息进行比较判断;当所述新增种类信息和所述历史种类信息一致,生成第一升级标志。
- 根据权利要求6所述的数据增量升级方法,其中,所述根据所述新增种类信息和所述历史种类信息确定升级标志,包括:对所述新增种类信息和所述历史种类信息进行比较判断;当所述新增种类信息和所述历史种类信息不一致,生成第二升级标志。
- 根据权利要求8所述的数据增量升级方法,其中,所述根据所述升级标志以及所述新增语言文件生成升级包,包括:根据第二升级标志确定与所述新增种类信息相匹配的新增配置文件;根据所述第二升级标志、所述新增语言文件和所述新增配置文件生成升级包。
- 根据权利要求6至9任意一项所述的数据增量升级方法,其中,所述新增语言文件由以下步骤得到:获取所述新增种类信息;根据所述新增种类信息生成新增配置文件;根据所述新增配置文件,将所述新增种类信息对应的语言组织文件转化为新增语言文件。
- 根据权利要求6至9任意一项所述的数据增量升级方法,其中,所述新增种类信息包括所述语言种类信息与媒介种类信息,所述新增语言文件由以下步骤得到:获取所述语言种类信息与所述媒介种类信息;根据所述语言种类信息与所述媒介种类信息生成新增配置文件;根据所述新增配置文件,将所述语言种类信息与所述媒介种类信息所对应的语言组织文件转化为与所述媒介种类信息所对应的新增语言文件。
- 一种电源设备系统,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1至5中任意一项所述的数据增量升级方法。
- 一种网管,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求6至11中任意一项所述的数据增量升级方法。
- 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,实现如权利要求1至5中任意一项所述的数据增量升级方法或如权利要求6至11中任意一项所述的数据增量升级方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024509124A JP7649920B2 (ja) | 2021-09-10 | 2022-08-25 | データ増分アップグレード方法、電源装置システム、ネットワークマネージャー、及び記憶媒体 |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111064693.7A CN115794185B (zh) | 2021-09-10 | 2021-09-10 | 数据增量升级方法、电源设备系统、网管及存储介质 |
| CN202111064693.7 | 2021-09-10 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023035966A1 true WO2023035966A1 (zh) | 2023-03-16 |
Family
ID=85416873
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/114902 Ceased WO2023035966A1 (zh) | 2021-09-10 | 2022-08-25 | 数据增量升级方法、电源设备系统、网管及存储介质 |
Country Status (3)
| Country | Link |
|---|---|
| JP (1) | JP7649920B2 (zh) |
| CN (1) | CN115794185B (zh) |
| WO (1) | WO2023035966A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118826195A (zh) * | 2023-04-20 | 2024-10-22 | 中兴通讯股份有限公司 | 电源管理方法、电池管理方法及设备、网管系统、介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105550060A (zh) * | 2014-10-31 | 2016-05-04 | Tcl集团股份有限公司 | 一种增量升级的备份方法及装置 |
| CN107193560A (zh) * | 2017-05-16 | 2017-09-22 | 奇瑞汽车股份有限公司 | 配置更新方法及装置 |
| CN111176706A (zh) * | 2019-12-17 | 2020-05-19 | 视联动力信息技术股份有限公司 | 终端升级方法、装置、电子设备及存储介质 |
| US20200371771A1 (en) * | 2019-05-22 | 2020-11-26 | EMC IP Holding Company LLC | Upgrade of a software product |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3353647B2 (ja) * | 1997-05-26 | 2002-12-03 | 日本電信電話株式会社 | 機械翻訳システム用辞書・ルール学習装置及び機械翻訳システム用辞書・ルール学習プログラムを格納した記憶媒体 |
| JP2004126846A (ja) | 2002-10-01 | 2004-04-22 | Hitachi Koukiyou Syst Eng Kk | バージョンアップ支援ワークベンチの処理方法、その構造体およびそれに用いる変換辞書 |
| JP2005063064A (ja) | 2003-08-08 | 2005-03-10 | Casio Comput Co Ltd | 電子辞書検索装置及びプログラム |
| KR101426710B1 (ko) | 2006-07-14 | 2014-09-23 | 삼성전자주식회사 | 휴대단말기의 버전정보 갱신 장치 및 방법 |
| RU2580065C2 (ru) * | 2011-12-01 | 2016-04-10 | Тенсент Текнолоджи (Шэньчжэнь) Компани Лимитед | Способ и система обновления программного обеспечения |
| CN105354043A (zh) * | 2014-08-20 | 2016-02-24 | 中兴通讯股份有限公司 | 终端的升级方法及装置 |
| US10303231B2 (en) | 2014-09-30 | 2019-05-28 | Panasonic Intellectual Property Management Co., Ltd. | Power supply device which performs operations while suppressing influence due to updating of firmware |
| CN104598807B (zh) * | 2014-12-22 | 2017-10-31 | 广东欧珀移动通信有限公司 | 增量升级检测方法、管理方法、终端及增量升级管理平台 |
| US9697194B2 (en) | 2015-06-08 | 2017-07-04 | International Business Machines Corporation | Contextual auto-correct dictionary |
| CN106909403A (zh) * | 2015-12-22 | 2017-06-30 | 阿里巴巴集团控股有限公司 | 一种对app语言相关信息进行更新的方法和设备 |
| CN110597544A (zh) * | 2019-08-20 | 2019-12-20 | 杭州辰汉智能科技有限公司 | 一种软件系统升级方法及装置 |
| CN111090444A (zh) * | 2019-12-03 | 2020-05-01 | 航天信息股份有限公司 | 版本升级方法、装置、存储介质及电子设备 |
-
2021
- 2021-09-10 CN CN202111064693.7A patent/CN115794185B/zh active Active
-
2022
- 2022-08-25 JP JP2024509124A patent/JP7649920B2/ja active Active
- 2022-08-25 WO PCT/CN2022/114902 patent/WO2023035966A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105550060A (zh) * | 2014-10-31 | 2016-05-04 | Tcl集团股份有限公司 | 一种增量升级的备份方法及装置 |
| CN107193560A (zh) * | 2017-05-16 | 2017-09-22 | 奇瑞汽车股份有限公司 | 配置更新方法及装置 |
| US20200371771A1 (en) * | 2019-05-22 | 2020-11-26 | EMC IP Holding Company LLC | Upgrade of a software product |
| CN111176706A (zh) * | 2019-12-17 | 2020-05-19 | 视联动力信息技术股份有限公司 | 终端升级方法、装置、电子设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7649920B2 (ja) | 2025-03-21 |
| CN115794185A (zh) | 2023-03-14 |
| JP2024532827A (ja) | 2024-09-10 |
| CN115794185B (zh) | 2023-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10713034B2 (en) | Updating web resources | |
| US12494963B2 (en) | Standardized format for containerized applications | |
| CN108984170B (zh) | H5页面多语言渲染方法及装置 | |
| US10212563B2 (en) | Updating web resources | |
| US9262237B2 (en) | Automating software availability management based on API versioning | |
| US9798522B2 (en) | Generating command line interface using application programming interface specification | |
| US10956191B2 (en) | Systems and methods for customizing and programming a cloud-based management server | |
| US10411961B2 (en) | Image management in cloud environments | |
| US20130091425A1 (en) | Server-side internationalization and localization of web applications using a scripting language | |
| US10198414B2 (en) | Methods for optimizing interaction with a form in a website page and systems thereof | |
| US20150378714A1 (en) | Providing Context-Specific Software Updates to Client Applications | |
| US10523754B2 (en) | Methods for integrating applications with a data storage network and devices thereof | |
| US10078532B2 (en) | Resource management method and device for terminal system among multiple operating systems | |
| CN103634393A (zh) | Ivr及其实现方法 | |
| WO2023035966A1 (zh) | 数据增量升级方法、电源设备系统、网管及存储介质 | |
| CN111159616B (zh) | 基于多语言的交换机管理方法、装置及存储介质 | |
| CN110825622A (zh) | 软件测试方法、装置、设备和计算机可读介质 | |
| CN112416468A (zh) | 一种flutter私有化插件管理系统、方法及计算机存储介质 | |
| CN118227170A (zh) | 一种应用更新方法、装置及电子设备 | |
| US10419563B2 (en) | Persistent notification customization | |
| CN117056625A (zh) | 显示方法及相关设备 | |
| CN117473192A (zh) | 提供网页的方法、装置、电子设备及计算机可读介质 | |
| HK40001437A (zh) | H5页面多语言渲染方法及装置 | |
| HK1177520A (zh) | 跨承租人移动的承租人数据的恢复 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22866434 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024509124 Country of ref document: JP |
|
| REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112024004305 Country of ref document: BR |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202417029194 Country of ref document: IN |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 112024004305 Country of ref document: BR Kind code of ref document: A2 Effective date: 20240304 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22866434 Country of ref document: EP Kind code of ref document: A1 |