WO2023035966A1 - Data increment upgrading method, power supply device system, network manager, and storage medium - Google Patents
Data increment upgrading method, power supply device system, network manager, and storage medium 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
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202111064693.7、申请日为2021年09月10日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202111064693.7 and a filing date of September 10, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
本申请涉及数据处理技术领域,尤其涉及一种数据增量升级方法、电源设备系统、网管及计算机存储介质。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.
目前,电源设备系统被广泛应用在不同的国家或地区。为了便于不同国家或地区的用户使用,电源设备系统会向用户提供多语言的服务支持,同一个含义的表述会根据客观语言及显示媒介进行语言转化即国际化。在一些情形下,若用户需要更多种类的语言翻译,则需要发布新的升级版本将电源设备系统中的历史文件进行替换,处理量大,升级速度慢。Currently, power supply equipment systems are widely used in different countries or regions. In order to facilitate the use of users in different countries or regions, 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. In some cases, if 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.
发明内容Contents of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics described in detail in this article. This summary is not intended to limit the scope of the claims.
本申请实施例提供了一种数据增量升级方法、电源设备系统及计算机存储介质。Embodiments of the present application provide a data incremental upgrade method, a power supply system, and a computer storage medium.
第一方面,本申请实施例提供了一种数据增量升级方法,应用于电源设备系统,包括:获取来自网管的升级包,所述升级包包括升级标志以及新增语言文件;根据所述升级标志确定升级程序,所述升级程序用于在所述电源设备系统中的历史语言资源文件的基础上增加新增语言文件;利用所述升级程序进行升级处理。In the first aspect, 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.
第二方面,本申请实施例提供一种数据增量升级方法,应用于网管,包括:获取新增语言文件和历史语言资源文件,其中,所述新增语言文件包括新增种类信息,所述历史语言资源文件包括历史种类信息;根据所述新增种类信息和所述历史种类信息确定升级标志;根据所述升级标志以及所述新增语言文件生成升级包,并发送至电源设备系统,以使所述电源设备系统在历史语言资源文件的基础上增加新增语言文件。In the second aspect, 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.
第三方面,本申请实施例提供一种电源设备系统,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第一方面的数据增量升级方法。In a third aspect, 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. When the processor executes the computer program, the above-mentioned first On the one hand, it is a data incremental upgrade method.
第四方面,本申请实施例提供一种网管,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第二方面的数据增量升级方法In the fourth aspect, 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 data incremental upgrade method of
第五方面,本申请实施例提供一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,实现如上述第一方面的数据增量升级方法或如上述第二方面的数据增量升级方法。In the fifth aspect, 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.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the application will be set forth in the description which follows, and, in part, will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present application, and constitute a part of the specification, and are used together with the embodiments of the present application to explain the technical solution of the present application, and do not constitute a limitation to the technical solution of the present application.
图1是本申请实施例提供的数据增量升级方法的流程图;Fig. 1 is a flow chart of the data incremental upgrade method provided by the embodiment of the present application;
图2是图1中步骤S300的具体实现过程示意图;FIG. 2 is a schematic diagram of a specific implementation process of step S300 in FIG. 1;
图3是图1中步骤S300的具体实现过程示意图;FIG. 3 is a schematic diagram of a specific implementation process of step S300 in FIG. 1;
图4是图1中步骤S100后还包括的一种具体实现过程示意图;FIG. 4 is a schematic diagram of a specific implementation process included after step S100 in FIG. 1;
图5是图1中步骤S300后还包括的一种具体实现过程示意图;FIG. 5 is a schematic diagram of a specific implementation process included after step S300 in FIG. 1;
图6是本申请另一实施例提供的数据增量升级方法的流程图;FIG. 6 is a flowchart of a data incremental upgrade method provided by another embodiment of the present application;
图7是图6中步骤S500的具体实现过程示意图;FIG. 7 is a schematic diagram of a specific implementation process of step S500 in FIG. 6;
图8是本申请实施例提供的带有第一升级标志的升级包的所携带文件的示意图;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;
图9是图6中步骤S500的具体实现过程示意图;FIG. 9 is a schematic diagram of a specific implementation process of step S500 in FIG. 6;
图10是图6中步骤S600的具体实现过程示意图;FIG. 10 is a schematic diagram of a specific implementation process of step S600 in FIG. 6;
图11是本申请实施例提供的带有第二升级标志的升级包的所携带文件的示意图;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;
图12是本申请实施例提供的新增语言文件形成的具体流程示意图;Fig. 12 is a schematic flow chart of the formation of newly added language files provided by the embodiment of the present application;
图13是本申请另一实施例提供的新增语言文件形成的具体流程示意图;Fig. 13 is a schematic flow chart of the formation of new language files provided by another embodiment of the present application;
图14是本申请实施例提供的一种电源设备系统的结构示意图;FIG. 14 is a schematic structural diagram of a power supply system provided by an embodiment of the present application;
图15是本申请实施例提供的一种网管的结构示意图。FIG. 15 is a schematic structural diagram of a network management system provided by an embodiment of the present application.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
需要说明的是,虽然在模块示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于模块中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that although the functional modules are divided in the schematic diagram of the modules and the logical order is shown in the flow chart, in some cases, it can be executed in a different order than the division of modules in the modules or the order in the flow chart steps shown or described. The terms "first", "second" and the like in the specification and claims and the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific sequence or sequence.
本申请提供了一种数据增量升级方法,通过升级包中添加升级程序,并且根据升级包中的升级标志,利用升级包中的升级程序对升级包中的新增语言文件进行升级处理,将新增语言文件添加在电源设备系统中的历史语言资源文件的基础上。从而,能够通过来自网管定制的升级包替代整体升级包,并且根据升级标志进行针对性升级处理,避免原启动程序需要对电源设备系统中的历史文件全部替换,降低处理量,提高升级速度。同时升级包中带有升级程序,避免因为电源设备系统中的版本不同而原启动程序不同,升级包与原启动程序不匹配导致无法升级,能够兼容电源设备系统中的已有版本,适用于多种应用场景,减少升级版本的发布,处理量小,升级速度快,提高易用性。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. At the same time, 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.
参见图1,图1示出了本申请实施例提供的数据增量升级方法的流程图,该数据增量升级方法可以应用于电源设备系统,该数据增量升级方法包括但不限于有以下步骤:Referring to FIG. 1, 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 :
步骤S100,获取来自网管的升级包,升级包包括升级标志以及新增语言文件;Step S100, obtaining an upgrade package from the network management system, the upgrade package includes an upgrade logo and a new language file;
步骤S200,根据升级标志确定升级程序,升级程序用于在电源设备系统中的历史语言资源文件的基础上增加新增语言文件;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;
步骤S300,利用升级程序进行升级处理。In step S300, an upgrade process is performed using an upgrade program.
可以理解的是,电源设备系统可以是嵌入式电源设备,嵌入式电源设备普遍搭载有操作系统,并且与设备维护管理系统进行通信连接,即嵌入式电源设备与网管进行通信连接。由于相关技术中的嵌入式电源设备中的原启动程序是用于将软件升级包中的文件全部替换系统中的历史语言资源文件,即对嵌入式电源设备进行全量升级,对嵌入式电源设备的版本进行更新,处理量大,而且升级速度慢。因此,软件升级包中的文件需要包含有嵌入式电源设备中完整的语言资源文件,否则,在利用原启动程序对嵌入式电源设备进行升级的过程中,不完整的语言资源文件会替换历史语言资源文件,导致嵌入式电源设备出错,导致升级失败,稳定性差。而且不同版本的嵌入式电源设备的原启动程序不相同,所能处理的软件升级包也不相同,因此,需要针对嵌入式电源设备的版本进行定制软件升级包,处理量大,易用性差。It can be understood that the power supply system may be an embedded power supply, and 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. Because 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. Therefore, 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. Moreover, 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. After the upgrade package is decompressed with the help of the original startup 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. Therefore, by inserting the upgrade program to replace the original start-up program, 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. In addition, 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.
参照图2,图1所示实施例中的步骤S300还包括但不限于有以下步骤:Referring to FIG. 2, step S300 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
步骤S310,利用升级程序将新增语言文件在历史语言资源文件的基础上增加;Step S310, using the upgrade program to add the new language file on the basis of the historical language resource file;
步骤S320,根据第一升级标志对电源设备系统中的版本标志进行更新。Step S320, updating the version flag in the power supply system according to the first upgrade flag.
其中,升级标志为第一升级标志,第一升级标志用于表征新增语言文件的新增种类信息与历史语言资源文件的历史种类信息一致。Wherein, 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.
可以理解的是,升级标志包括第一升级标志,当升级标志为第一升级标志,可以认为新增语言文件的新增种类信息与电源设备系统中的历史语言资源文件的历史种类信息一致,即, 电源设备系统中的语言种类没有发生变化,仅针对历史语言资源文件进行更新。因此,当升级标志为第一升级标志,则利用升级程序将新增语言文件在历史语言资源文件的基础上增加,从而将新增种类信息对应的历史语言资源文件通过新增语言文件进行替换,无需替换全部历史语言资源文件,实现电源设备系统的数据增量升级,减少处理量,提高升级速度。It can be understood that the upgrade flag includes the first upgrade flag. 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 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.
可以理解的是,电源设备系统中的版本标志用于表征电源设备系统本次更新升级的内容,因此,版本标志可以包括电源设备系统中的历史种类信息。通过电源设备系统的版本标志能够有助于用户识别与了解当前电源设备系统的多语言支持情况,便于用户使用,同时有助于进行下一次数据增量升级,避免重复升级或者错误升级的情况出现。由于,第一升级标志表征新增种类信息与历史种类信息一致,因此,根据第一升级标志对电源设备系统中的版本标志进行更新,能够使得用户了解到电源设备系统当前更新内容,有助于用户使用。It can be understood that 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.
参照图3,图1所示实施例中的步骤S300还包括但不限于有以下步骤:Referring to FIG. 3, step S300 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
步骤S330,利用升级程序通过新增配置文件对电源设备系统中的历史配置文件进行更新;Step S330, using the upgrade program to update the historical configuration files in the power supply system by adding configuration files;
步骤S340,在历史语言资源文件的基础上增加新增语言文件;Step S340, adding a new language file on the basis of the historical language resource file;
步骤S350,根据第二升级标志对电源设备系统中的版本标志进行更新。Step S350, updating the version flag in the power supply system according to the second upgrade flag.
其中,升级标志为第二升级标志,第二升级标志用于表征新增语言文件的新增种类信息与历史语言资源文件的历史种类信息不一致,以及升级包还包括新增配置文件,新增配置文件与新增语言文件相对应。Among them, the upgrade flag is the second upgrade flag, and 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, and the upgrade package also includes a newly added configuration file, and the newly added configuration The files correspond to the newly added language files.
可以理解的是,升级标志包括第二升级标志,当升级标志为第二升级标志,可以认为新增语言文件的新增种类信息与电源设备系统中的历史语言资源文件的历史种类信息不一致,即电源设备系统中的语言种类发生变化,如语言种类增加或变更的情况。不同语言种类对应有不同的配置文件,语言文件通过对应的配置文件加载至电源设备系统中。当新增种类信息与历史种类信息不一致,即语言种类增加或变更,则需要增加新增种类信息的配置文件,因此,升级包中包括与新增语言文件相对应的新增配置文件。当升级标志为第二升级标志,根据第二升级标志确定升级程序的更新升级范围,即利用升级程序将升级包中的新增配置文件对电源设备系统中的历史配置文件进行更新。例如,当语言种类增加,需要增加新增语言文件所对应的新增配置文件,因此,利用升级程序将新增配置文件在历史配置文件的基础上增加。又如,当语言种类变更,则需要将新增配置文件,对变更的语言种类所对应的历史配置文件,进行更新替换。另外,当升级标志为第二升级标志,还会利用升级程序在新增或变更的语言种类所对应的历史语言资源文件上添加新增语言文件,完成数据增量升级,无需替换全部历史语言资源文件,减少处理量,提高升级速度。It can be understood that the upgrade flag includes the second upgrade flag. 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 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. When the newly added type information is inconsistent with the historical type information, that is, the language type is added or changed, it is necessary to add a configuration file for the newly added type information. Therefore, the upgrade package includes a newly added configuration file corresponding to the newly added language file. When the upgrade flag is the second upgrade flag, 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. For example, when the language category increases, a new configuration file corresponding to the new language file needs to be added. Therefore, an upgrade program is used to add the new configuration file on the basis of the historical configuration file. For another example, when the language type is changed, the newly added configuration file needs to be updated and replaced with the historical configuration file corresponding to the changed language type. In addition, when the upgrade flag is the second upgrade flag, 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.
需要说明的是,由于第二升级标志用于表征新增种类信息与历史种类信息不一致,则会利用升级程序将新增配置文件和新增语言文件更新至电源设备系统中,完成增加或变更语言种类的升级处理。为了有助于识别当前电源设备系统的多语言支持情况,根据第二升级标志对电源设备系统中的版本标志进行更新,例如,第二升级标志可以包括有新增或变更的语言种类所对应的种类更新信息,将第二升级标志中的种类更新信息添加至版本标志中,从而能够通过版本标志直接识别出电源设备系统的历史更新记录,便于用户使用,同时有助于用户对电源设备系统的多语言支持情况进行针对性的更新处理,减少处理量。It should be noted that since the second upgrade flag is used to indicate that the new type information is inconsistent with the historical type information, 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. Kind of escalation process. In order to help identify the multilingual support of the current power supply system, 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.
参照图4,图1所示实施例中的步骤S100之后还包括但不限于有以下步骤:Referring to FIG. 4 , after step S100 in the embodiment shown in FIG. 1 , it also includes but is not limited to the following steps:
步骤S101,备份原启动程序,原启动程序用于对电源设备系统中的历史语言资源文件进 行配置。Step S101, backing up the original startup program, which is used to configure the historical language resource files in the power supply system.
可以理解的是,电源设备系统中包含有原启动程序,原启动程序能够对电源设备系统中的历史语言资源文件进行配置,即当原启动程序接收到升级包,会对升级包进行检查、解压、系统重启,将升级包中的新增语言文件进行配置。由于原启动程序会对利用新增语言文件对历史语言资源文件进行全部覆盖配置,处理量大,因此,借助原启动程序获取来自网管的升级包,并对升级包进行解压缩。升级包中包括有升级程序,在升级包解压缩后,升级程序会替代原启动程序。当电源设备系统重启,则能够利用升级包中的升级程序对升级包中的新增语言文件进行升级处理。升级程序在对新增文件进行处理之前,会将原启动程序进行备份,当出现升级程序错误导致升级失败而无法启动电源设备系统的情况,能够通过恢复原启动程序的备份文件,启动电源设备系统,从而提高数据增量方法的稳定性和可靠性。It can be understood that 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. Before the upgrade program processes the newly added files, it will back up the original startup program. When an error occurs in the upgrade program and the upgrade fails and the power supply system cannot be started, 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.
参照图5,图1所示实施例中的步骤S300之后,还包括但不限于有以下步骤:Referring to FIG. 5 , after step S300 in the embodiment shown in FIG. 1 , it also includes but is not limited to the following steps:
步骤S301,将原启动程序替换升级程序。Step S301, replacing the original startup program with the upgrade program.
可以理解的是,在利用升级程序进行升级处理的过程中,升级程序会替代原启动程序,并且会对原启动程序进行备份。为了保证电源设备系统的兼容性,避免在后续使用的过程中,升级程序出现错误导致无法启动电源设备系统,因此,在利用升级程序完成升级处理后,将原启动程序将升级程序进行替换,即恢复原启动程序,重新根据原启动程序进行电源设备系统的重启,结束升级程序。因此,通过对原启动程序进行备份和恢复,提高了电源设备系统升级的稳定性和可靠性。It can be understood that, during the process of using the upgrade program to upgrade, the upgrade program will replace the original startup program and back up the original startup 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.
参照图6,图6示出了本申请实施例提供的数据增量升级方法的流程图,该数据增量升级方法可以应用于网管,该数据增量升级方法包括但不限于有以下步骤:With reference to Fig. 6, 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:
步骤S400,获取新增语言文件和历史语言资源文件,其中,新增语言文件包括新增种类信息,历史语言资源文件包括历史种类信息;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;
步骤S500,根据新增种类信息和历史种类信息确定升级标志;Step S500, determining the upgrade flag according to the newly added category information and historical category information;
步骤S600,根据升级标志以及新增语言文件生成升级包,并发送至电源设备系统,以使电源设备系统在历史语言资源文件的基础上增加新增语言文件。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.
可以理解的是,新增语言文件中包括新增种类信息,历史语言资源文件包括历史种类信息,其中,新增语言文件是新增种类信息所对应的语言资源文件,而新增种类新信息则是需要更新的语言种类所对应的信息。历史种类信息可以包含有新增种类信息,历史种类信息也可以不包含有新增种类信息,即能够根据新增种类信息和历史种类信息来确定电源设备系统的升级范围,如需要更新新增种类信息对应的历史语言资源文件,或者增加语言种类,抑或者变更语言种类,因此,升级标志可以表征当前电源设备系统的升级范围,从而根据新增种类信息和历史种类信息确定升级标志。新增语言文件可以认为是当前电源设备系统的升级内容,即新增语言文件与升级标志相对应,根据升级标志和新增语言文件来生成升级包,从而能够通过升级标志以区分升级包的更新内容,有助于进行后续的升级处理,避免错误升级。另外,升级包中还包含有升级程序,升级程序能够替换原启动程序,升级程序能够识别升级标志,根据升级标志确定升级程序的更新升级范围,从而升级程序能够在电源设备系统中的历史语言资源文件的基础上增加新增语言文件,从而能够利用电源设备系统当前版本的原启动程序对升级包进行升级处理,减少因版本不匹配或者语言种类不匹配而需要定制升级包,从而无需将电源设备系统中的历史语言资源文件全部替换,也无需更新电源设备系统的版本, 而升级包中的新增语言文件可以是部分的语言资源文件,降低处理量,提高升级速度。将含有升级程序、相对应的升级标志和新增语言文件的升级包发送至电源设备系统,从而电源设备系统能够对升级包进行解压缩,得到升级程序、相对应的升级标志和新增语言文件,利用升级程序根据升级标志在历史语言资源文件的基础上增加新增语言文件。因此,通过根据新增种类信息和历史种类信息确定升级程序、相对应的升级标志和新增语言文件,并生成升级包,能够降低升级包的体积,有助于电源设备系统实现增量升级,减少处理量,提高升级速度。It can be understood that the newly added language file includes newly added category information, and the historical language resource file includes historical category information, wherein the newly added language file is the language resource file corresponding to the newly added category information, and 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. In addition, 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. Add new language files on the basis of the file, so that the original startup program of the current version of the power supply system can be used to upgrade 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 update the power supply device All historical language resource files in the system are replaced, and there is no need to update the version of the power supply system, while the new language files in the upgrade package can be part of the language resource files, which reduces the processing load and improves the upgrade speed. Send the upgrade package containing the upgrade program, corresponding upgrade logo and new language files to the power supply system, so that 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.
参照图7,图6所示实施例中的步骤S500还包括但不限于有以下步骤:Referring to FIG. 7, step S500 in the embodiment shown in FIG. 6 also includes but is not limited to the following steps:
步骤S510,对新增种类信息和历史种类信息进行比较判断;Step S510, comparing and judging the newly added category information and historical category information;
步骤S520,当新增种类信息和历史种类信息一致,生成第一升级标志。Step S520, when the added category information is consistent with the historical category information, a first upgrade flag is generated.
可以理解的是,由于新增语言文件是当前电源设备系统的更新升级内容,新增种类信息是新增语言文件对应的标签信息,即新增种类信息可以是新增语言文件所对应的语言种类,通过比较新增种类信息和历史种类信息,判断当前电源设备系统的更新情况,如仅更新历史语言资源文件,或者增加语言种类,或者变更语言种类。因此,当新增种类信息和历史种类信息一致,可以认为,历史种类信息中包含有新增种类信息,当前电源设备系统的语言种类没有变化,仅针对新增种类信息对应的历史语言资源文件进行更新,生成第一升级标志,以使电源设备系统利用第一升级标志和升级程序,将新增语言文件在新增种类信息对应的历史语言资源文件的基础上添加,无需将新增语言文件全部替换电源设备系统中的所有历史语言资源文件,减少处理量,提高升级速度。It is understandable that since the newly added language file is an update and upgrade content of the current power supply system, 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.
参照图8,图8示出了带有第一升级标志的升级包的所携带文件的示意图,可以理解的是,当升级包带有第一升级标志,则可以认为,当前电源设备系统需要对历史语言资源文件进行更新,因此,升级包所携带的文件包括第一升级标志、新增语言文件、升级程序以及特征文件。其中,第一升级标志用于确定升级程序的升级处理过程,新增语言文件是本次升级需要更新的文件,升级程序是用于将新增语言文件添加在历史语言资源文件的基础上,实现增量升级。由于电源设备系统获取来自网管的升级包需要通过原升级程序进行获取,而原升级程序会对所获取的升级包进行检查,检查升级包中的文件是否完整。当原升级程序认为升级包中的文件完整,会对升级包进行解压缩,并进行升级处理。特征文件是用于应对电源设备系统的原升级程序的检查,使得升级包能被原升级程序所识别,以进行升级包解压缩处理。因而,升级包无需携带完整的语言资源文件,能够通过第一升级标志、新增语言文件、升级程序和特征文件实现电源设备系统的增量升级,从而能够减少处理量,提高升级速度。Referring to FIG. 8, FIG. 8 shows a schematic diagram of the files carried in the upgrade package with the first upgrade mark. It can be understood that when the upgrade package has the first upgrade mark, it can be considered that the current power supply system needs to update the The historical language resource files are updated. Therefore, the files carried by the upgrade package include the first upgrade flag, new language files, upgrade programs and feature files. Among them, 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, and the upgrade program is used to add the new language file on the basis of the historical language resource file to realize Incremental upgrades. Because 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. When 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.
参照图9,图6所示实施例中的步骤S500还包括但不限于有以下步骤:Referring to FIG. 9, step S500 in the embodiment shown in FIG. 6 also includes but is not limited to the following steps:
步骤S530,对新增种类信息和历史种类信息进行比较判断;Step S530, comparing and judging the newly added category information and historical category information;
步骤S540,当新增种类信息和历史种类信息不一致,生成第二升级标志。Step S540, when the newly added category information is inconsistent with the historical category information, generate a second upgrade flag.
可以理解的是,通过比较新增种类信息和历史种类信息,可以判断出当前电源设备系统的语言种类是否发生变化。当新增种类信息和历史种类信息不一致,可以认为,当前的历史种类信息中不包含有新增种类信息,即当前电源设备系统的语言种类需要变化,生成第二升级标志,以使电源设备系统根据第二升级标志和升级程序,将新增语言文件和新增语言文件所对应的新增配置文件更新至电源设备系统中。通过对新增种类信息和历史种类信息的判断确定升级标志,以使升级程序根据升级标志进行针对性的升级处理,无需将所有的历史语言 资源文件替换,减小新增语言文件的文件大小,降低处理量,提高处理速度。It can be understood that by comparing the newly added category information with the historical category information, it can be determined whether the language category of the current power supply system has changed. When 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.
参照图10,图6所示实施例中的步骤S600还包括但不限于有以下步骤:Referring to FIG. 10, step S600 in the embodiment shown in FIG. 6 also includes but is not limited to the following steps:
步骤S610,根据第二升级标志确定与新增种类信息相匹配的新增配置文件;Step S610, determining a newly added configuration file matching the newly added category information according to the second upgrade flag;
步骤S620,根据第二升级标志、新增语言文件和新增配置文件生成升级包。Step S620, generating an upgrade package according to the second upgrade flag, the new language file and the new configuration file.
参照图11,图11示出了带有第二升级标志的升级包的所携带文件的示意图,可以理解的是,不同语言种类对应有不同的配置文件,新增语言文件通过对应的配置文件加载至电源设备系统中。当新增种类信息与历史种类信息不一致,即电源设备系统中的语言种类发生变化,则需要增加新增种类信息对应的配置文件,因此,当升级标志位第二升级标志,确定新增种类信息所对应的配置文件为新增配置文件,以使升级程序根据新增配置文件对新增语言文件进行配置。从而,当升级标志为第二升级标志,电源设备系统需要根据第二升级标志,利用新增种类信息所对应的新增配置文件对新增语言文件进行配置,因此,将第二升级标志、新增语言文件、新增配置文件和升级程序放入升级包中,另外,还需要放入特征文件以应对电源设备系统的原升级程序的检查,使得升级包能通过原升级程序的检查并进行解压缩处理。因此,电源设备系统能够根据升级包中的文件实现数据增量升级,减少处理量,提高升级速度。Referring to Figure 11, 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. When the newly added type information is inconsistent with the historical type information, that is, the language type in the power supply system changes, 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. Therefore, when the upgrade flag is the second upgrade flag, 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. In addition, 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.
参照图12,图12示出了新增语言文件具体由以下步骤得到:Referring to Fig. 12, Fig. 12 shows that the newly-added language file is specifically obtained by the following steps:
步骤S710,获取新增种类信息;Step S710, acquiring new category information;
步骤S720,根据新增种类信息生成新增配置文件;Step S720, generating a new configuration file according to the new category information;
步骤S730,根据新增配置文件,将新增种类信息对应的语言组织文件转化为新增语言文件。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.
可以理解的是,在获取新增种类信息之前,会将各种语言进行组织处理形成语言组织文件,如采用表格文件进行组织,以英文作为主要表达方式,其余语言与相应的英文单词对应,将每种语言组织为一个语言组织文件,即以语言种类作为分类的第一标识对多语言进行组织,以英文单词为语言索引建立字典结构。It is understandable that, before obtaining the new type information, various languages will be organized and processed to form 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.
新增语言文件与新增种类信息相对应,新增种类信息可以通过获取电源设备系统的输入信息进行确定,也可以从网管的预设种类信息中进行获取确定,新增种类信息可以以locale规定的语言编码作为语言识别码,例如,zh_CN.UTF-8表示采用UTF-8编码的中文格式语言。其中,预设种类信息包含有新增种类信息,从而能够根据用户所需获取新增种类信息,确定新增语言文件,定制对应的升级包,使得电源设备系统进行相应的升级处理,满足用户的使用需求。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. Among them, 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.
新增语言文件通过对应的配置文件加载至电源设备系统中,利用所确定的新增种类信息生成对应的新增配置文件以及转化工具。选择新增种类信息所对应的语言组织文件,通过新增配置文件和转化工具将新增种类信息所对应的语言组织文件转化为新增语言文件。其中,新增语言文件的文件格式可以是JSON文件格式,即根据新增种类信息,将表格文件形式的语言组织文件转化为JSON文件格式,并且新增语言种类与JSON文件格式的新增语言文件一一对应,JSON文件格式的新增语言文件是根据语言组织文件的字典内容进行转化。另外,还可以将新增语言文件解析成JavaScript对象,将新增种类信息存储于cookie数据中,并且对cookie数据中的信息进行更新,从而,当JavaScript函数需要运动到多语言,可以直接调用JSON对象,与使用普通变量对象完全一致,以便于后续的升级处理。对于HTML(Hyper Text Markup Language,超文本标记语言)文件的多语言化,则可以利用JavaScript框架,如jQuery等技术,将国际化的对象运用与HTML文件中,还可以应用于JSP(JavaServer Pages,java服务器页面)和PHP(Hypertext Preprocessor,超文本预处理器)等服务器脚本。从而,实现根据新增种类信息将对应的语言组织文件转化为新增语言文件,有助于进行国际化处理,降低电源设备系统的处理量,提高升级速度。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. Among them, 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 One-to-one correspondence, the newly added language files in the JSON file format are converted according to the dictionary content of the language organization file. In addition, it is also possible to parse the new language file into a JavaScript object, store the new type information in the cookie data, and update the information in the cookie data, so that when the JavaScript function needs to move to multiple languages, you can directly call JSON The object is completely consistent with the use of ordinary variable objects, so as to facilitate subsequent upgrade processing. For the multilingualization of HTML (Hyper Text Markup Language, Hypertext Markup Language) files, 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.
参照图13,图13示出了新增语言文件还可以由以下步骤得到:With reference to Fig. 13, Fig. 13 has shown that newly added language file can also be obtained by following steps:
步骤S810,获取语言种类信息与媒介种类信息;Step S810, acquiring language type information and media type information;
步骤S820,根据语言种类信息与媒介种类信息生成新增配置文件;Step S820, generating a new configuration file according to the language type information and the media type information;
步骤S830,根据新增配置文件,将语言种类信息与媒介种类信息所对应的语言组织文件转化为与媒介种类信息所对应的新增语言文件。In 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.
其中,新增种类信息包括语言种类信息与媒介种类信息。Wherein, the added type information includes language type information and media type information.
可以理解的是,新增种类信息包括语言种类信息与媒介种类信息,电源设备系统常见的操作媒介有液晶显示屏或网站等,其中液晶显示屏包括多种尺寸,如18寸、22寸等。不同尺寸的液晶显示屏能够显示不同的内容大小,因此,需要通过获取媒介种类信息确定对应的新增语言文件,提高多语言显示内容以提高用户的使用体验。It can be understood that 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.
将每一种语言建立相应的语言组织文件,语言组织文件的格式为Excel文件格式,并根据所获取的媒介种类信息将语言组织文件分为不同页,每一页中建立英文单词字典,即以key-value形式显示,以便于用户使用。根据获取的语言种类信息和媒介种类信息,确定对应的新增配置文件和转化工具,并确定语言种类信息和媒介种类信息所对应的选中语言组织文件。根据新增配置文件和转化工具将所对应的选中语言组织文件转化为媒介种类信息对应的新增语言文件,由于语言组织文件根据媒介种类信息分为不同页,在新增配置文件的转化下,将每一页转化为对应的新增语言文件,以便于进行后续的升级处理,降低处理量。语言组织文件中可以包括有电源设备系统支持的所有语言种类和媒介种类所对应的文件,但仅利用新增配置文件和转化工具,将新增种类信息所对应的文件进行转化,即新增语言文件是所有语言种类和媒介种类所对应文件中的一部分,能够达到按需完成多语言文件的制作,从而减少版本定制的情况,减少处理量。其中,新增语言文件的文件格式可以是可移植对象(Portable Object,PO)文件格式,当电源设备系统进行升级处理,通过升级程序处理PO文件,能够使翻译成果得以继承,减少翻译的处理量,提高升级速度。从而可以通过setlocale函数获取当前语言编码作为新增种类信息,确定当前语言环境,如当setlocale函数为setlocale(LC_ALL,“zh_CN.UTF-8”),可以确定当前运行环境为使用UTF-8编码的中文环境。电源设备系统支持液晶GUI(Graphical User Interface,图形用户接口)和Web(World Wide Web,全球广域网)在同一时刻采用不同的语言进行对外展示,其中Web后端服务的语言种类信息可以采用cookie数据及session会话控制技术进行持久化处理,切换语言种类时完成语言种类变更,前端和后端均采用相同的语言识别码进行识别,即新增种类信息、语言种类信息和历史种类信息相对应。可以通过bindtextdomain函数进行多语言域的选择,将媒介作为语言环境的域,如,可以通过bindtextdomain函数设定当前的语言环境为Web,即语言文件在转化过程中,选择Web对应的PO文件作为查找的语言资源文件。Create a corresponding language organization file for each language, 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. According to the obtained language type information and media type information, 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. According to 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. Since the language organization file is divided into different pages according to the media type information, under the conversion of the new configuration file, Convert each page into a corresponding new language file to facilitate subsequent upgrade processing and reduce processing load. 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. Among them, the file format of the newly added language file can be a Portable Object (PO) file format. When the power supply system is upgraded, 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. In this way, 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. You can use the bindtextdomain function to select a multilingual domain, and use the medium as the domain of the language environment. For example, you can use the bindtextdomain function to set the current language environment as Web, that is, during the conversion process of the language file, select the PO file corresponding to the Web as the search language resource file.
需要说明的是,鉴于在电源设备系统中二进制文件具有体积小和查询效率高的特性,可以通过新增配置文件将选中语言组织文件转化为MO文件(Machine Object,机器对象文件), 以便于用户进行查询,提高用户的使用体验。It should be noted that, in view of the small size and high query efficiency of binary files in the power supply system, 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.
需要说明的是,如果一个电源设备系统需管理多个媒介,则将需要管理的媒介全部绑定为域,从而能够通过查询对应的域即能够查询得到对应媒介的文件,以便于用户进行查询和使用,提高用户的使用体验。It should be noted that if a power supply system needs to manage multiple media, all the media to be managed should be bound as a domain, so that the files of the corresponding media can be obtained by querying the corresponding domain, so that users can query and Use to improve user experience.
参见图14,图14示出了本申请实施例提供的电源设备系统1400。该电源设备系统1400包括存储器1410、处理器1420及存储在存储器1410上并可在处理器1420上运行的计算机程序,处理器1420执行计算机程序时实现如上述实施例中的数据增量升级方法。Referring to FIG. 14 , FIG. 14 shows a
存储器1410作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序,如本申请上述实施例中的数据增量升级方法。处理器1420通过运行存储在存储器1410中的非暂态软件程序以及指令,从而实现上述本申请上述实施例中的数据增量升级方法。The
存储器1410可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储执行上述实施例中的数据增量升级方法所需的数据等。此外,存储器1410可以包括高速随机存取存储器1410,还可以包括非暂态存储器1410,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。需要说明的是,存储器1410可包括相对于处理器1420远程设置的存储器1410,这些远程存储器1410可以通过网络连接至该终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The
实现上述实施例中的数据增量升级方法所需的非暂态软件程序以及指令存储在存储器中,当被一个或者多个处理器执行时,执行上述实施例中的数据增量升级方法,例如,执行以上描述的图1中的方法步骤S100至步骤S300、图2中的方法步骤S310至步骤S320、图3中的方法步骤S330至步骤S350、图4中的方法步骤S101和图5中的方法步骤S301。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.
参见图15,图15示出了本申请实施例提供的网管1500。该网管1500包括存储器1510、处理器1520及存储在存储器1510上并可在处理器1520上运行的计算机程序,处理器1520执行计算机程序时实现如上述实施例中的数据增量升级方法。Referring to FIG. 15 , FIG. 15 shows a
存储器1510作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序,如本申请上述实施例中的数据增量升级方法。处理器1520通过运行存储在存储器1510中的非暂态软件程序以及指令,从而实现上述本申请上述实施例中的数据增量升级方法。As a non-transitory computer-readable storage medium, the
存储器1510可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储执行上述实施例中的数据增量升级方法所需的数据等。此外,存储器1510可以包括高速随机存取存储器1510,还可以包括非暂态存储器1510,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。需要说明的是,存储器1510可包括相对于处理器1520远程设置的存储器1510,这些远程存储器1510可以通过网络连接至该终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The
实现上述实施例中的数据增量升级方法所需的非暂态软件程序以及指令存储在存储器中,当被一个或者多个处理器执行时,执行上述实施例中的数据增量升级方法,例如,执行以上描述的图6中的方法步骤S400至步骤S600、图7中的方法步骤S510至步骤S520、图9中的 方法步骤S530至步骤S540、图10中的方法步骤S610至步骤S620、图12中的方法步骤S710至步骤S730和图13中的方法步骤S810至步骤S830。本申请实施例还提供了一种存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述的数据发送方法或数据接收方法。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 method step S710 to step S730 in FIG. 12 and the method step S810 to step S830 in FIG. 13 . 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.
本申请还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机可执行指令,计算机可执行指令用于使计算机执行如上述实施例中的数据增量升级方法,例如,执行以上描述的图1中的方法步骤S100至步骤S300、图2中的方法步骤S310至步骤S320、图3中的方法步骤S330至步骤S350、图4中的方法步骤S101和图5中的方法步骤S301,以及图6中的方法步骤S400至步骤S600、图7中的方法步骤S510至步骤S520、图9中的方法步骤S530至步骤S540、图10中的方法步骤S610至步骤S620、图12中的方法步骤S710至步骤S730和图13中的方法步骤S810至步骤S830中的至少一种。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. According to the solution provided by the embodiment of the present application, since the versions in the power supply system are different and the original startup programs are different, it is difficult for the upgrade package to match all the original startup programs, and the original startup program needs to fully upgrade the historical files in the power supply system. The processing capacity is large, and the upgrade speed is slow. Therefore, by adding an upgrade program to the upgrade package and using the upgrade program in the upgrade package to upgrade the new language files in the upgrade package according to the upgrade flag in the upgrade package, 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.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员 公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those skilled in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware and an appropriate combination 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). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. 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. In addition, 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 may include any information delivery media .
上面结合附图对本申请实施例作了详细说明,但是本申请不限于上述实施例,在技术领域普通技术人员所具备的知识范围内,还可以在不脱离本申请宗旨的前提下作出各种变化。The embodiments of the present application have been described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned embodiments, and various changes can be made without departing from the purpose of the present application within the scope of knowledge of those of ordinary skill in the technical field. .
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2024509124A JP7649920B2 (en) | 2021-09-10 | 2022-08-25 | Data incremental upgrade method, power supply system, network manager, and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111064693.7A CN115794185B (en) | 2021-09-10 | 2021-09-10 | Data increment upgrading method, power supply equipment system, network manager and storage medium |
| CN202111064693.7 | 2021-09-10 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023035966A1 true WO2023035966A1 (en) | 2023-03-16 |
Family
ID=85416873
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/114902 Ceased WO2023035966A1 (en) | 2021-09-10 | 2022-08-25 | Data increment upgrading method, power supply device system, network manager, and storage medium |
Country Status (3)
| Country | Link |
|---|---|
| JP (1) | JP7649920B2 (en) |
| CN (1) | CN115794185B (en) |
| WO (1) | WO2023035966A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118826195A (en) * | 2023-04-20 | 2024-10-22 | 中兴通讯股份有限公司 | Power management method, battery management method and device, network management system, medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105550060A (en) * | 2014-10-31 | 2016-05-04 | Tcl集团股份有限公司 | Increment upgrade backup method and device |
| CN107193560A (en) * | 2017-05-16 | 2017-09-22 | 奇瑞汽车股份有限公司 | Config update method and device |
| CN111176706A (en) * | 2019-12-17 | 2020-05-19 | 视联动力信息技术股份有限公司 | Terminal upgrading method and device, electronic equipment and storage medium |
| 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 (en) * | 1997-05-26 | 2002-12-03 | 日本電信電話株式会社 | Dictionary / rule learning device for machine translation system and storage medium storing dictionary / rule learning program for machine translation system |
| JP2004126846A (en) | 2002-10-01 | 2004-04-22 | Hitachi Koukiyou Syst Eng Kk | Processing method of version upgrade support workbench, its structure, and conversion dictionary used for it |
| JP2005063064A (en) | 2003-08-08 | 2005-03-10 | Casio Comput Co Ltd | Electronic dictionary search device and program |
| KR101426710B1 (en) | 2006-07-14 | 2014-09-23 | 삼성전자주식회사 | Apparatus and method for updating version information of a mobile terminal |
| RU2580065C2 (en) * | 2011-12-01 | 2016-04-10 | Тенсент Текнолоджи (Шэньчжэнь) Компани Лимитед | Method and system for software update |
| CN105354043A (en) * | 2014-08-20 | 2016-02-24 | 中兴通讯股份有限公司 | Terminal upgrade method and device |
| 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 (en) * | 2014-12-22 | 2017-10-31 | 广东欧珀移动通信有限公司 | Increment upgrade detection method, management method, terminal and increment updating and management platform |
| US9697194B2 (en) | 2015-06-08 | 2017-07-04 | International Business Machines Corporation | Contextual auto-correct dictionary |
| CN106909403A (en) * | 2015-12-22 | 2017-06-30 | 阿里巴巴集团控股有限公司 | A kind of method and apparatus being updated to APP language related informations |
| CN110597544A (en) * | 2019-08-20 | 2019-12-20 | 杭州辰汉智能科技有限公司 | Software system upgrading method and device |
| CN111090444A (en) * | 2019-12-03 | 2020-05-01 | 航天信息股份有限公司 | Version upgrading method and device, storage medium and electronic equipment |
-
2021
- 2021-09-10 CN CN202111064693.7A patent/CN115794185B/en active Active
-
2022
- 2022-08-25 JP JP2024509124A patent/JP7649920B2/en active Active
- 2022-08-25 WO PCT/CN2022/114902 patent/WO2023035966A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105550060A (en) * | 2014-10-31 | 2016-05-04 | Tcl集团股份有限公司 | Increment upgrade backup method and device |
| CN107193560A (en) * | 2017-05-16 | 2017-09-22 | 奇瑞汽车股份有限公司 | Config update method and device |
| US20200371771A1 (en) * | 2019-05-22 | 2020-11-26 | EMC IP Holding Company LLC | Upgrade of a software product |
| CN111176706A (en) * | 2019-12-17 | 2020-05-19 | 视联动力信息技术股份有限公司 | Terminal upgrading method and device, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7649920B2 (en) | 2025-03-21 |
| CN115794185A (en) | 2023-03-14 |
| JP2024532827A (en) | 2024-09-10 |
| CN115794185B (en) | 2023-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10713034B2 (en) | Updating web resources | |
| US12494963B2 (en) | Standardized format for containerized applications | |
| CN108984170B (en) | H5 page multilingual rendering method and device | |
| 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 (en) | IVR (interactive voice response) and realization method thereof | |
| WO2023035966A1 (en) | Data increment upgrading method, power supply device system, network manager, and storage medium | |
| CN111159616B (en) | Multi-language-based switch management method and device and storage medium | |
| CN110825622A (en) | Software testing method, device, equipment and computer readable medium | |
| CN112416468A (en) | Flutter privatization plug-in management system and method and computer storage medium | |
| CN118227170A (en) | Application updating method and device and electronic equipment | |
| US10419563B2 (en) | Persistent notification customization | |
| CN117056625A (en) | Display methods and related equipment | |
| CN117473192A (en) | Method, device, electronic equipment and computer readable medium for providing web page | |
| HK40001437A (en) | H5 page multilingual render method and device | |
| HK1177520A (en) | Recovery of tenant data across tenant moves |
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 |