Gateway upgrading method, device and equipment and readable storage medium
By identifying the supplier of the gateway and determining the corresponding write address, the gateway is automatically upgraded, solving the problem of cumbersome and error-prone problems when upgrading gateways of different suppliers by vehicle manufacturers, and improving the accuracy and efficiency of the upgrade.
Patent Information
- Application Number
- CN202411705150.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-21
AI Technical Summary
When upgrading gateways provided by different suppliers, vehicle manufacturers need to switch different software, which leads to cumbersome steps and error-prone.
By obtaining the gateway's routing table upgrade firmware, identifying the gateway's supplier, and determining the corresponding FLASH driver and routing table upgrade firmware write addresses based on the supplier, realizing automated upgrade management.
It realizes unified automation upgrade of gateways for different suppliers, improves the accuracy and efficiency of upgrades, and reduces manual operation errors.
Smart Images

Figure CN119668660A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a gateway upgrade method, device, equipment and readable storage medium. Background Art
[0002] The gateway is the core device for the communication of the LAN inside the car, responsible for information sharing, network management and fault diagnosis on various buses. With the rapid development of automobile technology, the software upgrade of the gateway has become increasingly frequent.
[0003] However, the gateways of vehicle manufacturers are usually supplied by multiple suppliers. Different suppliers usually use different software to upgrade the gateway. Therefore, when upgrading the gateways provided by different suppliers, the vehicle manufacturers need to switch to the software of the corresponding suppliers, which leads to cumbersome steps and easy errors when upgrading the gateways provided by different suppliers. Summary of the invention
[0004] The present application provides a gateway upgrade method, device, equipment and readable storage medium, aiming to solve the technical problem that when vehicle manufacturers upgrade gateways provided by different suppliers, they need to switch to the software of the corresponding supplier, which leads to cumbersome steps and prone to errors when upgrading gateways provided by different suppliers.
[0005] In a first aspect, an embodiment of the present application provides a gateway upgrade method, the gateway upgrade method comprising:
[0006] Get the gateway's routing table and upgrade the firmware;
[0007] Identify the gateway vendor and determine the write address of the corresponding FLASH driver and routing table upgrade firmware according to the gateway vendor;
[0008] The routing table upgrade firmware is written into the gateway's memory according to the write address of the routing table upgrade firmware through the gateway's FLASH driver.
[0009] Optionally, the routing table upgrade firmware of gateways from different vendors uses unified content and file format.
[0010] Optionally, before determining the write address of the corresponding FLASH driver and routing table upgrade firmware according to the gateway supplier, the method further includes:
[0011] Establishing a first correspondence between the gateway supplier, the FLASH driver, and the write address of the routing table upgrade firmware;
[0012] Determining the write address of the corresponding FLASH driver and routing table upgrade firmware according to the gateway supplier includes:
[0013] The first corresponding relationship is searched according to the supplier of the gateway to determine the writing address of the FLASH driver and the routing table upgrade firmware corresponding to the supplier of the gateway.
[0014] Optionally, before the FLASH driver of the gateway writes the routing table upgrade firmware into the memory of the gateway according to the write address of the routing table upgrade firmware, the method further includes:
[0015] Get the FLASH driver of the gateway;
[0016] Determine the write address of the corresponding FLASH driver according to the gateway supplier;
[0017] Write the FLASH driver into the gateway's memory according to the write address of the FLASH driver.
[0018] Optionally, before determining the write address of the corresponding FLASH driver according to the supplier of the gateway, the method further includes:
[0019] Establishing a second correspondence between the supplier of the gateway and the write address of the FLASH driver;
[0020] Determining the write address of the corresponding FLASH driver according to the supplier of the gateway includes:
[0021] The second corresponding relationship is searched according to the supplier of the gateway to determine the write address of the FLASH driver corresponding to the supplier of the gateway.
[0022] In a second aspect, an embodiment of the present application provides a gateway upgrade device, the gateway upgrade device comprising:
[0023] The acquisition module is used to obtain the routing table of the gateway and upgrade the firmware;
[0024] A determination module is used to identify the supplier of the gateway and determine the write address of the corresponding FLASH driver and routing table upgrade firmware according to the supplier of the gateway;
[0025] The upgrade module is used to write the routing table upgrade firmware into the memory of the gateway according to the write address of the routing table upgrade firmware through the FLASH driver of the gateway.
[0026] Optionally, the routing table upgrade firmware of gateways from different vendors uses unified content and file format.
[0027] Optionally, the gateway upgrading device further includes a first establishing module, configured to:
[0028] Establishing a first correspondence between the gateway supplier, the FLASH driver, and the write address of the routing table upgrade firmware;
[0029] Identify modules, also used for:
[0030] The first corresponding relationship is searched according to the supplier of the gateway to determine the writing address of the FLASH driver and the routing table upgrade firmware corresponding to the supplier of the gateway.
[0031] In a third aspect, an embodiment of the present application provides a gateway upgrade device, which includes a processor, a memory, and a gateway upgrade program stored in the memory and executable by the processor, wherein when the gateway upgrade program is executed by the processor, the steps of the gateway upgrade method described above are implemented.
[0032] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a gateway upgrade program is stored, wherein when the gateway upgrade program is executed by a processor, the steps of the gateway upgrade method described above are implemented.
[0033] The beneficial effects brought by the technical solution provided in the embodiments of the present application include:
[0034] In an embodiment of the present application, the routing table upgrade firmware of the gateway is obtained; the supplier of the gateway is identified, and the write address of the corresponding FLASH driver and the routing table upgrade firmware is determined according to the supplier of the gateway; the routing table upgrade firmware is written into the memory of the gateway according to the write address of the routing table upgrade firmware through the FLASH driver of the gateway. Through the embodiment of the present application, the write addresses of the FLASH driver and the routing table upgrade firmware corresponding to the gateways provided by different suppliers are usually different, and the traditional ones need to be switched manually. When upgrading the routing table firmware of the gateway, the embodiment of the present application can first identify the supplier of the gateway through the supplier identification of the gateway, and determine the write address of the corresponding gateway FLASH driver and the routing table upgrade firmware according to the supplier of the gateway, and then write the routing table upgrade firmware into the memory of the gateway according to the write address of the routing table upgrade firmware through the FLASH driver of the gateway, thereby realizing unified and automated upgrade management for gateways of different suppliers, and being able to accurately and efficiently complete the upgrade of gateways of different suppliers. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a flow chart of an embodiment of a gateway upgrade method of the present application;
[0036] Figure 2 This is a schematic diagram of FLASH partitions in an embodiment of a gateway upgrade method of the present application;
[0037] Figure 3 This is a schematic diagram of the FLASH driver writing process of an embodiment of the gateway upgrade method of the present application;
[0038] Figure 4This is a functional module diagram of an embodiment of a gateway upgrade device of the present application;
[0039] Figure 5 This is a schematic diagram of the hardware structure of the gateway upgrade device involved in the embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0041] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0042] In a first aspect, an embodiment of the present application provides a gateway upgrade method.
[0043] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of an embodiment of the gateway upgrade method of the present application. Figure 1 As shown, the gateway upgrade method includes:
[0044] Step S10, obtaining the routing table of the gateway and upgrading the firmware.
[0045] In this embodiment, it should be noted that the software of the gateway is mainly divided into two parts: software for routing functions (only including software for routing and forwarding messages) and other functional software (such as software update function, diagnostic function and other functions to ensure the normal operation of the software, etc.). Since the basic function of the gateway is message forwarding based on the routing table, the upgrade and changes after the mass production of the gateway are basically changes in the routing function (such as adding some messages that need to be forwarded, deleting messages that do not need to be forwarded, and modifying the source address or target address of the message, etc.), and changes in functional requirements will only adjust the routing table. Therefore, when upgrading the software of the gateway, only the routing table firmware is upgraded, and the other functions of the gateway are kept unchanged, thereby saving the upgrade time of the gateway and reducing the errors that may be caused by the gateway upgrade.
[0046] Step S20, identifying the supplier of the gateway, and determining the writing address of the corresponding FLASH driver and routing table upgrade firmware according to the supplier of the gateway.
[0047] In this embodiment, when the gateway needs to be upgraded after obtaining the routing table upgrade firmware of the gateway, the upgrade program of the vehicle manufacturer can identify the supplier of the gateway by using a diagnostic device to read the supplier code identification of the gateway, for example, using the diagnostic device to send a request to the gateway through UDS (Unified Diagnostic Services) to obtain the supplier code identification of the gateway. It should be noted that since the write addresses of the FLASH driver and routing table upgrade firmware corresponding to the gateways provided by different suppliers are usually different, the traditional gateway upgrade requires manual switching of the corresponding supplier's software, that is, adjusting the corresponding FLASH driver and routing table upgrade firmware write addresses by switching the corresponding supplier's software. Therefore, in this embodiment, after identifying the supplier of the gateway, the corresponding FLASH driver and routing table upgrade firmware write addresses are determined according to the supplier of the gateway, and the automatic switching of the write addresses of the FLASH driver and routing table upgrade firmware is realized, thereby realizing unified and automated upgrade management of gateways from different suppliers. Among them, FLASH is a non-volatile memory.
[0048] Step S30, writing the routing table upgrade firmware into the memory of the gateway according to the write address of the routing table upgrade firmware through the FLASH driver of the gateway.
[0049] In this embodiment, it should be noted that the upgrade process of the gateway software is actually a process of rewriting the contents of the corresponding location in the gateway memory such as FLASH after erasing, wherein FLASH is where the gateway stores the software program, and its capacity and the address of the stored software program are hardware characteristics fixed by the chip manufacturer when designing the chip, and cannot be modified by the outside world. Figure 2 , Figure 2 This is a schematic diagram of FLASH partitions in an embodiment of the gateway upgrade method of the present application. Figure 2As shown, the FLASH memory is divided into multiple partitions, such as routing table firmware, other software firmware and FLASH driver (FLASH DRIVER), etc. Each part has its fixed storage address, so it is necessary to write the gateway's memory according to the write address of the table upgrade firmware, so as to write the new routing table firmware to the correct position and complete the smooth upgrade of the gateway software. It should be noted that the FLASH driver mainly includes two functions: FLASH erasure and FLASH programming. FLASH programming is to write a program into the FLASH. Before writing a new program into the FLASH, the original old program must be erased first. Only after erasing can the new program be written to avoid mixing the new and old programs and causing errors. Writing the routing table upgrade firmware into the gateway's memory according to the write address of the routing table upgrade firmware is mainly completed by the FLASH driver. If there is no FLASH driver, it is impossible to write the program into the gateway's memory to complete the upgrade. The writing of the routing table upgrade firmware by the FLASH driver can also ensure the security of the gateway upgrade.
[0050] In this embodiment, when the routing table upgrade firmware of the gateway is obtained and the gateway needs to be upgraded, the upgrade program of the vehicle manufacturer can identify the supplier of the gateway by using diagnostic equipment to read the supplier coding identification of the gateway, and determine the corresponding FLASH driver and the write address of the routing table upgrade firmware according to the supplier of the gateway. Compared with the traditional gateway upgrade, which requires manual switching of the corresponding supplier's software, that is, adjusting the corresponding FLASH driver and the write address of the routing table upgrade firmware by switching the corresponding supplier's software, unified and automated upgrade management of gateways from different suppliers is realized. The routing table upgrade firmware is written into the gateway's memory according to the write address of the routing table upgrade firmware through the gateway's FLASH driver, which can accurately and efficiently complete the upgrade of gateways from different suppliers, and also ensure the security of the gateway upgrade.
[0051] Furthermore, in one embodiment, the routing table upgrade firmware of gateways of different vendors adopts a unified content and file format.
[0052] In this embodiment, it should be noted that different gateway suppliers develop the routing table upgrade firmware according to the functional requirements of the vehicle manufacturer. Since different suppliers develop separately, the content and file format of the routing table upgrade firmware provided by different suppliers are usually not unified, which brings many inconveniences to the upgrade of the gateway, such as the need to convert different file formats, etc. The content and file format of the routing table upgrade firmware of different suppliers' gateways are unified, so that the routing table upgrade firmware of different suppliers' gateways can be universal, which can ensure that the generated routing table firmware is logically consistent and can avoid errors that may occur during the upgrade process. Among them, the routing table upgrade firmware is a file formed by the compiler tool translating the routing table related code written by the programmer, and the content of the routing table upgrade firmware is unified. For example, if there is an array in a certain section of the routing function code for storing message information, different suppliers are required to arrange this array in the order of message ID, message source address and message target address, which occupy 32 bytes, 32 bytes and 8 bytes respectively. The file format of the routing table upgrade firmware includes file formats such as hex or s19, and different suppliers can be required to adopt a unified file format. It should be noted that it is not necessary for the routing table upgrade firmware of different vendors' gateways to use unified content and file format. If the content and file format of the routing table upgrade firmware of different vendors' gateways are not unified, it is necessary to parse the routing table content according to the corresponding content writing rules and file format.
[0053] Further, in one embodiment, before determining the write address of the corresponding FLASH driver and routing table upgrade firmware according to the gateway supplier, it includes:
[0054] Establishing a first correspondence between the gateway supplier, the FLASH driver, and the write address of the routing table upgrade firmware;
[0055] Determining the write address of the corresponding FLASH driver and routing table upgrade firmware according to the gateway supplier includes:
[0056] The first corresponding relationship is searched according to the supplier of the gateway to determine the writing address of the FLASH driver and the routing table upgrade firmware corresponding to the supplier of the gateway.
[0057] In this embodiment, for example, a first correspondence between the gateway supplier, the FLASH driver, and the write address of the routing table upgrade firmware can be pre-established in the database. After the gateway supplier is identified, the first correspondence database is searched according to the gateway supplier, so that the write address of the FLASH driver and the routing table upgrade firmware corresponding to the gateway supplier can be determined.
[0058] Further, in one embodiment, referring to Figure 3 , Figure 3 This is a schematic diagram of the FLASH driver writing process of an embodiment of the gateway upgrade method of the present application, such as Figure 3 As shown, before step S30, the following steps are included:
[0059] Step S01, obtaining the FLASH driver of the gateway;
[0060] Step S02, determining the write address of the corresponding FLASH driver according to the gateway supplier;
[0061] Step S03: write the FLASH driver into the memory of the gateway according to the write address of the FLASH driver.
[0062] In this embodiment, the FLASH drivers and write addresses of the gateways of different suppliers are usually different, and the FLASH driver is essential for writing the routing table upgrade firmware into the gateway's memory according to the write address of the routing table upgrade firmware. Therefore, before writing the routing table upgrade firmware into the gateway's memory according to the write address of the routing table upgrade firmware, it is necessary to first write the FLASH driver into the gateway's memory according to the write address of the FLASH driver. It should be noted that the main function of the FLASH driver is to erase and write the FLASH. Although the FLASH drivers and write addresses of the gateways of different suppliers are usually different, the FLASH driver and the write address of the FLASH driver usually do not change. Therefore, there are two ways to write the FLASH driver. One is to write the FLASH driver to the RAM volatile memory of the gateway. The FLASH driver data will be lost every time the device is powered off. This method requires writing to the FLASH driver every time, but it is more secure. The other is to write the FLASH driver to the FLASH non-volatile memory of the gateway. Even if the device is powered off, the FLASH driver data will not be lost. The security of this method is poor. The specific writing method of the FLASH driver can be selected according to your own security needs.
[0063] Further, in one embodiment, before determining the write address of the corresponding FLASH driver according to the supplier of the gateway, the method includes:
[0064] Establishing a second correspondence between the supplier of the gateway and the write address of the FLASH driver;
[0065] Determining the write address of the corresponding FLASH driver according to the supplier of the gateway includes:
[0066] The second corresponding relationship is searched according to the supplier of the gateway to determine the write address of the FLASH driver corresponding to the supplier of the gateway.
[0067] In this embodiment, for example, a second correspondence between the gateway supplier and the write address of the FLASH driver can be pre-established in the database. When in use, the second correspondence database is searched according to the gateway supplier, so that the write address of the FLASH driver corresponding to the gateway supplier can be determined.
[0068] In a second aspect, an embodiment of the present application also provides a gateway upgrading device.
[0069] In one embodiment, referring to Figure 4 , Figure 4 This is a functional module diagram of an embodiment of a gateway upgrade device of the present application. Figure 4 As shown, the gateway upgrade device includes:
[0070] An acquisition module 10 is used to acquire the routing table upgrade firmware of the gateway;
[0071] A determination module 20 is used to identify the supplier of the gateway and determine the write address of the corresponding FLASH driver and routing table upgrade firmware according to the supplier of the gateway;
[0072] The upgrading module 30 is used to write the routing table upgrading firmware into the memory of the gateway according to the writing address of the routing table upgrading firmware through the FLASH driver of the gateway.
[0073] Furthermore, in one embodiment, the routing table upgrade firmware of gateways of different vendors adopts a unified content and file format.
[0074] Furthermore, in one embodiment, the gateway upgrade device further includes a first establishing module, which is used to:
[0075] Establishing a first correspondence between the gateway supplier, the FLASH driver, and the write address of the routing table upgrade firmware;
[0076] The determination module 20 is further used for:
[0077] The first corresponding relationship is searched according to the supplier of the gateway to determine the writing address of the FLASH driver and the routing table upgrade firmware corresponding to the supplier of the gateway.
[0078] Furthermore, in one embodiment, the gateway upgrade device further includes a writing module, which is used to:
[0079] Get the FLASH driver of the gateway;
[0080] Determine the write address of the corresponding FLASH driver according to the gateway supplier;
[0081] Write the FLASH driver into the gateway's memory according to the write address of the FLASH driver.
[0082] Furthermore, in one embodiment, the gateway upgrade device further includes a second establishing module, which is used to:
[0083] Establishing a second correspondence between the supplier of the gateway and the write address of the FLASH driver;
[0084] The writing address of the corresponding FLASH driver determined according to the supplier of the gateway is also used for:
[0085] The second corresponding relationship is searched according to the supplier of the gateway to determine the write address of the FLASH driver corresponding to the supplier of the gateway.
[0086] Among them, the functional implementation of each module in the above-mentioned gateway upgrading device corresponds to each step in the above-mentioned gateway upgrading method embodiment, and its functions and implementation processes are no longer repeated here one by one.
[0087] In a third aspect, an embodiment of the present application provides a gateway upgrade device.
[0088] Reference Figure 5 , Figure 5 The hardware structure diagram of the gateway upgrade device involved in the embodiment of the present application is shown in FIG. In the embodiment of the present application, the gateway upgrade device may include a processor, a memory, a communication interface, and a communication bus.
[0089] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.
[0090] The communication interface includes input / output (I / O) interface, physical interface and logical interface, etc., which are used to realize the interconnection of devices inside the gateway upgrade device, and the interface used to realize the interconnection between the gateway upgrade device and other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.; the user device can be a display, a keyboard, etc.
[0091] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.
[0092] The processor may be a general-purpose processor, and the general-purpose processor may call the gateway upgrade program stored in the memory and execute the gateway upgrade method provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the gateway upgrade program is called may refer to the various embodiments of the gateway upgrade method of the present application, and will not be repeated here.
[0093] Those skilled in the art will understand that Figure 5 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0094] In a fourth aspect, an embodiment of the present application also provides a readable storage medium.
[0095] The readable storage medium of the present application stores a gateway upgrade program, wherein when the gateway upgrade program is executed by the processor, the steps of the gateway upgrade method as described above are implemented.
[0096] Among them, the method implemented when the gateway upgrade program is executed can refer to the various embodiments of the gateway upgrade method of the present application, and will not be repeated here.
[0097] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0098] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.
[0099] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.
[0100] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.
[0101] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.
[0102] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.
[0103] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A gateway upgrade method, characterized in that: The gateway upgrade method comprises: Get the gateway's routing table and upgrade the firmware; Identify the gateway vendor and determine the write address of the corresponding FLASH driver and routing table upgrade firmware according to the gateway vendor; The routing table upgrade firmware is written into the gateway's memory according to the write address of the routing table upgrade firmware through the gateway's FLASH driver.
2. The gateway upgrade method according to claim 1, characterized in that: The routing table upgrade firmware of gateways from different vendors uses unified content and file format.
3. The gateway upgrade method according to claim 1, characterized in that: Before determining the write address of the corresponding FLASH driver and routing table upgrade firmware according to the gateway supplier, it includes: Establishing a first correspondence between the gateway supplier, the FLASH driver, and the write address of the routing table upgrade firmware; Determining the write address of the corresponding FLASH driver and routing table upgrade firmware according to the gateway supplier includes: The first corresponding relationship is searched according to the supplier of the gateway to determine the writing address of the FLASH driver and the routing table upgrade firmware corresponding to the supplier of the gateway.
4. The gateway upgrade method according to claim 1, characterized in that: Before the FLASH driver of the gateway writes the routing table upgrade firmware into the memory of the gateway according to the write address of the routing table upgrade firmware, the method includes: Get the FLASH driver of the gateway; Determine the write address of the corresponding FLASH driver according to the gateway supplier; Write the FLASH driver into the gateway's memory according to the write address of the FLASH driver.
5. The gateway upgrade method according to claim 4, characterized in that: Before determining the write address of the corresponding FLASH driver according to the supplier of the gateway, the method includes: Establishing a second correspondence between the supplier of the gateway and the write address of the FLASH driver; Determining the write address of the corresponding FLASH driver according to the supplier of the gateway includes: The second corresponding relationship is searched according to the supplier of the gateway to determine the write address of the FLASH driver corresponding to the supplier of the gateway.
6. A gateway upgrade device, characterized in that: The gateway upgrading device comprises: The acquisition module is used to obtain the routing table of the gateway and upgrade the firmware; A determination module is used to identify the supplier of the gateway and determine the write address of the corresponding FLASH driver and routing table upgrade firmware according to the supplier of the gateway; The upgrade module is used to write the routing table upgrade firmware into the memory of the gateway according to the write address of the routing table upgrade firmware through the FLASH driver of the gateway.
7. The gateway upgrade device according to claim 6, characterized in that: The routing table upgrade firmware of gateways from different vendors uses unified content and file format.
8. The gateway upgrade device according to claim 6, characterized in that: The gateway upgrade device further includes a first establishing module, which is used to: Establishing a first correspondence between the gateway supplier, the FLASH driver, and the write address of the routing table upgrade firmware; Identify modules, also used for: The first corresponding relationship is searched according to the supplier of the gateway to determine the writing address of the FLASH driver and the routing table upgrade firmware corresponding to the supplier of the gateway.
9. A gateway upgrade device, characterized in that: The gateway upgrade device comprises a processor, a memory, and a gateway upgrade program stored in the memory and executable by the processor, wherein when the gateway upgrade program is executed by the processor, the steps of the gateway upgrade method according to any one of claims 1 to 5 are implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a gateway upgrade program, wherein when the gateway upgrade program is executed by the processor, the steps of the gateway upgrade method according to any one of claims 1 to 5 are implemented.