WO2021179254A1 - Procédé, appareil et dispositif de mise à jour de données - Google Patents
Procédé, appareil et dispositif de mise à jour de données Download PDFInfo
- Publication number
- WO2021179254A1 WO2021179254A1 PCT/CN2020/079011 CN2020079011W WO2021179254A1 WO 2021179254 A1 WO2021179254 A1 WO 2021179254A1 CN 2020079011 W CN2020079011 W CN 2020079011W WO 2021179254 A1 WO2021179254 A1 WO 2021179254A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- update
- information
- update mode
- mode
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
- G06F9/445—Program loading or initiating
Definitions
- the embodiments of the present application relate to the field of communication technologies, and in particular, to a data update method, device, and equipment.
- Direct memory access is a high-speed data transfer mode. Data can be transferred from a channel directly between external devices and memory without the intervention of the central processing unit (CPU). .
- CPU central processing unit
- DMA Direct memory access
- routers can use DMA to refresh the multicast identification (MID) table configuration to update the MID stored in the router's memory.
- MID multicast identification
- the MID address corresponds to the physical address of the memory in the router one-to-one, and the MID address is required to be continuous when configured through the DMA refreshing table. If the data of a part of the MID address is updated, all the MIDs in the memory need to be read out and stored in the external storage space. After the data of a part of the MID address is modified in the external storage space, all the MIDs are configured back into the memory.
- the embodiments of the present application provide a data update method, device, and equipment, which improve the efficiency of data configuration and shorten the processing delay.
- an embodiment of the present application provides a data update method, including: receiving update information, the update information includes mode indication information, the mode indication information indicates the update mode of the update information and the data type included in the update information; Mode, obtain the target storage space in the storage area; among them, the storage area stores routing information; according to the data type included in the update information, extract the routing information to be updated from the update information; update the target storage space according to the routing information to be updated Routing information in.
- the update information is received, the update mode of the update information and the data type included in the update information can be obtained from the update information, and the target storage space in the storage area is obtained according to the update mode of the update information.
- the data type included in the information extracts the routing information to be updated from the update information, and updates the routing information in the target storage space according to the routing information to be updated. Since there is no need to read the information in the storage area to the external storage space, modify the data in the external storage space and write it back to the storage area, which reduces the requirements for external storage resources, shortens the time delay, and improves the efficiency of data configuration.
- receiving the update information includes: receiving the first data; if it is determined that the first data is associated with the second data according to the value of the indication field of the first data, acquiring The second data; where the update information includes the first data and the second data.
- determining that the first data is associated with the second data includes: determining the update mode of the first data according to the value of the indication field of the first data; If the update mode of the data is associated with at least two data types, it is determined that the first data is associated with the second data.
- the method further includes: if it is determined according to the value of the indication field of the first data that the first data is not associated with the second data, determining the first data as update information .
- obtaining the target storage space in the storage area according to the update mode of the update information includes: if the update mode of the update information is the first update mode, storing The area is determined as the target storage space; if the update mode of the update information is the second update mode or the third update mode or the fourth update mode, the target storage space is determined according to the data corresponding to the second data type.
- the indication field includes a first sub-indication field and a second sub-indication field
- the value of the first sub-indication field is related to preset multiple update modes
- the second The value of the sub-indicating field is related to preset multiple data types.
- the indication field is located at the front end of all bits in the data.
- an embodiment of the present application provides a data update device, including: a receiving module configured to receive update information, the update information includes mode indication information, the mode indication information indicates the update mode of the update information and the data type included in the update information;
- the first acquisition module is used to obtain the target storage space in the storage area according to the update mode of the update information; wherein the storage area stores routing information;
- the second acquisition module is used to obtain information from the update information according to the data type included in the update information
- the routing information to be updated is extracted from the processing module; the processing module is used to update the routing information in the target storage space according to the routing information to be updated.
- the receiving module is specifically configured to: receive the first data; if it is determined according to the value of the indication field of the first data that the first data is associated with the second data, obtain The second data; where the update information includes the first data and the second data.
- the receiving module is specifically configured to: determine the update mode of the first data according to the value of the indication field of the first data; if the update mode of the first data is at least If the two data types are associated, it is determined that the first data is associated with the second data.
- the receiving module is further configured to: if it is determined according to the value of the indication field of the first data that the first data is not associated with the second data, determine the first data To update information.
- the first acquisition module is specifically configured to: if the update mode of the update information is the first update mode, determine the storage area as the target storage space; if the update information is updated If the update mode of is the second update mode or the third update mode or the fourth update mode, the target storage space is determined according to the data corresponding to the second data type.
- the indication field includes a first sub-indication field and a second sub-indication field
- the value of the first sub-indication field is related to preset multiple update modes
- the second The value of the sub-indicating field is related to preset multiple data types.
- the indication field is located at the front end of all bits in the data.
- an embodiment of the present application provides a data update device, including a processor, a memory, and an interface circuit.
- the interface circuit is used to communicate with other devices, and the processor is used to call a program stored in the memory to execute the above-mentioned program provided in the first aspect.
- the data update method is used to call a program stored in the memory to execute the above-mentioned program provided in the first aspect.
- an embodiment of the present application provides a computer-readable storage medium with instructions stored in the computer-readable storage medium.
- the instructions are executed on a computer or a processor, the method provided in the above first aspect is implemented.
- inventions of the present application provide a program product.
- the program product includes a computer program.
- the computer program is stored in a readable storage medium.
- At least one processor of the device can read the computer program from the readable storage medium.
- the computer program is executed by the device to make the device implement the method provided in the above first aspect.
- the update information includes at least one preset bit length data
- the data includes an indication field; wherein the value of the indication field and the preset multiple update modes and The preset multiple data types are related, and each update mode is associated with at least one data type of the preset multiple data types.
- the preset multiple data types include: a first data type, used to indicate routing information to be updated; a second data type, used to indicate routing information to be updated corresponding to Address information; the third data type is used to indicate the bits that need to be updated in the routing information to be updated.
- preset multiple update modes include: a first update mode, the first update mode is only associated with the first data type; the second update mode, the second update mode and the first update mode A data type, a second data type, and a third data type are associated; a third update mode, the third update mode is associated with the first data type and the second data type, and the data corresponding to the first data type is one; Four update modes, the fourth update mode is associated with the first data type and the second data type, and there are at least two data corresponding to the first data type.
- FIG. 1 is a schematic diagram of the corresponding relationship between the physical address of the storage area and the MID address of the MID table;
- Figure 2 is a schematic diagram of an existing update MID table
- FIG. 3 is a schematic diagram of updating the MID table applicable to the embodiment of this application.
- FIG. 4 is a flowchart of a data update method provided by an embodiment of the application.
- FIG. 5 is a schematic diagram of update information provided by an embodiment of the application.
- FIG. 6 is a schematic diagram of data with a preset bit length in FIG. 5;
- FIG. 7 is a schematic diagram of the principle of the first update mode provided by an embodiment of the application.
- FIG. 8 is a schematic diagram of the principle of the second update mode provided by an embodiment of the application.
- FIG. 9 is a schematic diagram of the principle of the third update mode provided by an embodiment of the application.
- FIG. 10 is a schematic diagram of the principle of the fourth update mode provided by an embodiment of the application.
- FIG. 11 is another flowchart of a data update method provided by an embodiment of the application.
- FIG. 12 is a schematic structural diagram of a data update device provided by an embodiment of this application.
- FIG. 13 is a schematic structural diagram of a data update device provided by an embodiment of this application.
- the router can refresh the configuration of the MID table through DMA.
- the physical address of the storage area where the MID table is stored in the router corresponds to the MID address of the MID table in a one-to-one correspondence.
- FIG. 1 is a schematic diagram of the corresponding relationship between the physical address of the storage area and the MID address of the MID table.
- the physical address of the storage area (for example, memory) in the router is P0 ⁇ Pn
- the MID address of the MID table is MID0 ⁇ MID n
- the physical address P0 ⁇ Pn corresponds to the MID address MID 0 ⁇ MID n.
- the physical address P0 corresponds to the MID address MID
- the physical address P1 corresponds to the MID address MID 1.
- the router currently stores data D0 to Dn, which are also called MID entries. Among them, the data D0 is stored in the physical address P0, the data D1 is stored in the physical address P1, and so on.
- the router is configured by DMA refreshing the table, it is usually required that the MID address is continuous.
- the to-be-updated information corresponding to MID addresses MID 0 ⁇ MID n includes data D0' ⁇ Dn'.
- the router can perform continuous address updates and update the data D0 ⁇ Dn stored in the physical addresses P0 ⁇ Pn to Data D0' ⁇ Dn', for example, the data stored in the physical address P0 is updated from D0 to D0', and the data stored in the physical address P1 is updated from D1 to D1'.
- FIG. 2 is a schematic diagram of an existing update MID table.
- the existing update process includes: first read out the data D0 ⁇ Dn in the memory through the CPU and store it in the external storage area. In the external storage area, update the data corresponding to the MID address MID 1 from D1 to D1', and then store the data externally.
- the updated data D0, D1', D2 ⁇ Dn in the area are all written into the memory by the CPU to complete the data update, and the data in the storage area is updated from D0 ⁇ Dn to D0, D1', D2 ⁇ Dn.
- FIG. 3 is a schematic diagram of updating the MID table applicable to the embodiment of this application.
- the update information is received, and the update mode of the update information and the data type included in the update information can be extracted from the update information.
- the target storage space in the storage area that needs to update data can be determined.
- the target storage space may be the storage unit indicated by the physical address P1 corresponding to the MID address MID1.
- the routing information to be updated can be obtained by the data type included in the update information.
- the routing information in the target storage space can be updated according to the routing information to be updated.
- the data update method provided by the embodiment of the present application does not need to read the information in the storage area to the external storage space, modify the data in the external storage space and write it back to the storage area ,
- the data in the storage area can be directly updated, which reduces the requirements for external storage resources, and even has no demand for external storage resources, shortens the time delay, and improves the efficiency of data configuration.
- the data update method provided in the embodiment of the present application is applicable to devices that use DMA to update data, and the embodiment of the present application does not limit the type of the device.
- the device may include, but is not limited to, routers, switches, and so on.
- FIG. 4 is a flowchart of a data update method provided by an embodiment of the application.
- the execution subject may be a data update device or a data update device.
- the data update method provided in this embodiment may include:
- the update information includes mode indication information
- the mode indication information indicates the update mode of the update information and the type of data included in the update information.
- multiple update modes and multiple data types can be preset.
- Different update modes can be applied to different data update scenarios, and the data update scenarios can include but are not limited to the continuous address update scenario shown in FIG. 1 and the discontinuous address update scenario shown in FIG. 2 or FIG. 3.
- Different data types are used to indicate the meaning or purpose of the data.
- the update mode of the update information may be one of multiple preset update modes, and the data type included in the update information may be at least one of the preset multiple data types.
- multiple preset data types may include but are not limited to:
- the first data type is used to indicate the routing information to be updated.
- the second data type is used to indicate the address information corresponding to the routing information to be updated.
- the third data type is used to indicate the bits that need to be updated in the routing information to be updated.
- multiple preset update modes may include but are not limited to:
- the first update mode, the first update mode is only associated with the first data type.
- the second update mode, the second update mode is associated with the first data type, the second data type, and the third data type.
- the third update mode, the third update mode is associated with the first data type and the second data type, and there is one data corresponding to the first data type.
- the fourth update mode, the fourth update mode is associated with the first data type and the second data type, and there are at least two data corresponding to the first data type.
- S402 Obtain a target storage space in the storage area according to the update mode of the update information.
- the storage area stores routing information.
- the storage area is the memory of the router
- the physical address is P0 to Pn
- the target storage space is the storage area
- the physical address is P0 to Pn.
- the physical addresses of the storage area are P0 to Pn
- the target storage space is the storage unit indicated by the physical address P1.
- S403 Extract routing information to be updated from the update information according to the data type included in the update information.
- the routing information to be updated can be extracted from the update information according to the data types included in the update information.
- the routing information to be updated includes D0'-Dn'.
- the routing information to be updated includes D1'.
- the routing information in the target storage space can be updated.
- the routing information in the target storage space can be updated through DMA.
- this embodiment does not limit other update methods.
- the data update method provided in this embodiment can obtain the update mode of the update information and the data type included in the update information from the update information by receiving the update information, and obtain the target storage space in the storage area according to the update mode of the update information.
- the routing information to be updated is extracted from the update information according to the data type included in the update information, and the routing information in the target storage space is updated according to the routing information to be updated.
- the data update method provided by this embodiment does not need to read the information in the storage area to the external storage space, modify the data in the external storage space and write it back to the storage area, which reduces the requirements for external storage resources and shortens the time Delay, improve the efficiency of data allocation.
- the update information may include at least one piece of data with a preset bit length, and the data with a preset bit length may include an indication field.
- the value of the indication field is related to preset multiple update modes and preset multiple data types, and each update mode is associated with at least one data type of the preset multiple data types.
- this embodiment does not limit the specific value of the preset bit length, for example, the preset bit length is 32 bits.
- This embodiment does not limit the amount of data with a preset bit length included in the update information, which is related to the update mode of the update information and the type of data included in the update information.
- This embodiment does not limit the occupied position of the indicator field in the preset bit length and the bit length of the indicator field.
- the indicator field can be located at the front of all bits in the data of the preset bit length, and can occupy the preset bit length. Reserved bits in bit-length data.
- the indication field may include a first sub-indication field and a second sub-indication field. Multiple data types are related.
- this embodiment does not limit the front and back positions of the first sub-indication field and the second sub-indication field.
- the first sub-indication field is located in front of the second sub-indication field.
- the second sub-indication field may be located in front of the first sub-indication field.
- the bit length of the first sub-indication field may be related to the number of preset multiple update modes.
- the bit length of the first sub-indication field may be 2 bits, and when the preset multiple update modes include 5 update modes, the bit length of the first sub-indication field may be 3bit.
- This embodiment does not limit the correspondence between the value of the first sub-indication field and the preset multiple update modes.
- the preset multiple update modes include 2 update modes
- the bit length of the second sub-indication field may be related to the number of preset multiple data types. This embodiment does not limit the correspondence between the value of the second sub-indication field and the preset multiple data types. .
- update information in conjunction with Tables 1 to 6 and Figures 7 to 10, by way of example, update information, preset bit length data, indicator field, first sub-indicator field, second sub-indicator field, preset multiple update modes and A variety of data types are preset for description.
- bits 0 to 27 carry payload or effective information
- bits 28 to 31 are indicator fields
- the first sub indicator field is bit 30 to bit 31
- the second sub indicator field is bit 28 to bit 29.
- the preset multiple data types include the first data type to the third data type.
- the first data type may be expressed as a bitmap (bitmap, bmp), and bits 0 to 27 in bmp are used to indicate routing information to be updated.
- the second data type can be expressed as MID, and bits 0 to 27 in the MID are used to indicate the address information corresponding to the routing information to be updated.
- bits 0 to 27 in the MID are used to indicate MID 1.
- the third data type can be expressed as msk (mask), and bits 0 to 27 in msk are used to indicate the bits that need to be updated in the routing information to be updated.
- the bits that need to be updated in the routing information (28 bits) to be updated are bit5 ⁇ bit0
- the values of bit5 ⁇ bit0 in msk can all be binary 0, bit6 ⁇ bit27
- the value of can all be binary 1; or, in another implementation manner, the values of bit5 to bit0 in msk can all be binary 1, and the values of bit6 to bit27 can all be binary 0.
- the first data type (bmp) To To 0 1 To Second data type (MID) To To 0 0 To The third data type (msk) To To 1 0 To
- the preset multiple update modes include the first update mode to the fourth update mode.
- the value of bit31 and bit30 is binary 0, 0, it indicates the first update mode; when the value of bit31 and bit30 is binary 0, 1, it indicates the second update mode; when the value of bit31 and bit30 is binary 1, 0 , Indicates the third update mode; when the values of bit31 and bit30 are binary 1, 1, indicating the fourth update mode.
- Update mode bit31 bit30 bit29 bit28 bit27...bit0 First update mode 0 0 To To To Second update mode 0 1 To To To Third update mode 1 0 To To To To Fourth update mode 1 1 To To To To To To
- Table 3 shows the update information in the first update mode
- FIG. 7 is a schematic diagram of the principle of the first update mode provided in an embodiment of this application.
- the first update mode is only associated with the first data type.
- the first update mode may be suitable for continuous address update scenarios.
- the update information may include n+1 pieces of 32-bit data.
- the n+1 pieces of data are all of the first data type, and the n+1 pieces of data correspond to the MID address MID 0 ⁇ MID n.
- the values of bit31 and bit30 are binary 0 and 0, indicating the first update mode; the values of bit29 and bit28 are binary 0 and 1, indicating the first data type bmp; bit0 ⁇ bit27 are used to indicate the waiting Updated routing information.
- Table 3 and FIG. 7 are only examples, and this embodiment does not limit the number of the first data types included in the update information.
- the directly written DMA address and data correspond to the address and data of the MID table entry one-to-one, and the look-up table (Look-Up Table) , LUT) Internal First In First Out (First In First Out, FIFO) is cached and then distributed to the uplink multicast table (Ingress MID, iMID) or downlink multicast table (egress MID, eMID).
- the first update mode can be used as the default configuration mode of the MID table, and can be issued through DMA when the software is fully refreshed.
- Table 4 shows the update information in the second update mode
- FIG. 8 is a schematic diagram of the principle of the second update mode provided in an embodiment of this application.
- the second update mode is associated with the first data type, the second data type, and the third data type.
- the second update mode may be suitable for discontinuous address update scenarios, especially for update scenarios that carry a third data type (msk).
- the update information may include three 32-bit length data, which are respectively the first data type (bmp), the second data type (MID), and the third data type (msk).
- the values of bit31 and bit30 are binary 0 and 1, indicating the second update mode.
- bits 0 to bit 27 in the second data type (MID) are used to indicate the MID address MID 1
- bits 0 to bit 27 in the first data type (bmp) are used to indicate the to-be-updated corresponding to MID 1
- bits 0 to 27 in the third data type (msk) are used to indicate the bits that need to be updated in the routing information to be updated corresponding to MID 1.
- the three 32-bit data shown in Table 4 corresponds to the entry refresh of a MID address, which can be pre-stored in the LUT internal FIFO to perform all data After parsing, the update of each MID entry is completed.
- the second update mode can be used in the MID table item update scenario with the msk refresh part in the software increment, and can be issued through the DMA mode.
- Second data type 0 1 0 0 To The first data type (bmp) 0 1 0 1 To The third data type (msk) 0 1 1 0 To
- Table 5 shows the update information in the third update mode
- FIG. 9 is a schematic diagram of the principle of the third update mode provided in an embodiment of this application.
- the third update mode is associated with the first data type and the second data type, and there is one data corresponding to the first data type.
- the third update mode may be suitable for discontinuous address update scenarios.
- the update information may include two 32-bit length data, which are respectively the first data type (bmp) and the second data type (MID).
- the values of bit31 and bit30 are binary 1, 0, indicating the third update mode.
- bits 0 to bit 27 in the second data type (MID) are used to indicate the MID address MID 1
- bits 0 to bit 27 in the first data type (bmp) are used to indicate the to-be-updated corresponding to MID 1 Routing information.
- the two 32-bit data shown in Table 5 correspond to the entry refresh of a MID address, which can be pre-stored in the LUT internal FIFO to perform all data After parsing, the update of each MID entry is completed.
- the third update mode can be used in the MID table item update scenario where the software increment does not have the msk refresh part, and can be issued through DMA.
- Table 6 shows the update information in the fourth update mode
- FIG. 10 is a schematic diagram of the principle of the fourth update mode provided in an embodiment of this application.
- the fourth update mode is associated with the first data type and the second data type, and there are at least two data corresponding to the first data type.
- the fourth update mode may be suitable for discontinuous address update scenarios, especially for discontinuous address update scenarios in multiple storage areas.
- the update information may include 9 pieces of 32-bit length data, and the 9 pieces of data include 1 second data type (MID) and 8 first data types (bmp).
- the values of bit31 and bit30 are binary 1, 1, indicating the fourth update mode.
- bits 0 to bit 27 in the second data type (MID) are used to indicate the MID address MID
- the 8 bits 0 to bit 27 in the first data type (bmp) correspond to 8 storage areas (LUT0). ⁇ MID 0 in LUT7).
- Table 6 and FIG. 10 are only examples, and this embodiment does not limit the number of the first data types included in the update information.
- the eMID in an actual application that uses DMA to update data, can support the fourth update mode.
- MIDn has 8 bmps, corresponding to the MIDn of 8 LUTs.
- Each LUT receives the same MID plus 8 bmp data when writing via private global broadcast.
- Each LUT will extend a 3bit pin signal to connect to a fixed Value, connect 0-7 when connecting at the top level to let the LUT identify its own number, and then refresh the MID table with the corresponding bmp data.
- the fourth update mode can be used in application scenarios where DMA is used for broadcasting and the EMID table is incrementally configured.
- obtaining the target storage space in the storage area according to the update mode of the update information may include:
- the storage area is determined as the target storage space.
- the target storage space is determined according to the data corresponding to the second data type.
- the first update mode may be suitable for a continuous address update scenario, and the storage area may be determined as the target storage space.
- the second update mode, the third update mode, or the fourth update mode can be applied to discontinuous address update scenarios.
- the second update mode, the third update mode, or the fourth update mode are all associated with the second data type, and the second data type is used for In order to indicate the address information corresponding to the routing information to be updated, the target storage space is determined according to the data corresponding to the second data type.
- the address information indicated by the second data type may be an offset address relative to the base address of the storage area, or a virtual address corresponding to the physical address of the storage area.
- FIG. 11 is another flowchart of a data update method provided by an embodiment of the application.
- this embodiment provides another implementation manner of the data update method, and mainly provides an implementation manner of receiving update information in S401.
- receiving update information may include:
- the first data is the aforementioned data with a preset bit length.
- the update information includes the first data and the second data.
- This implementation manner may be applicable to the above-mentioned second update mode, third update mode, and fourth update mode.
- the second update mode, the third update mode, or the fourth update mode at least two data types are associated. Therefore, all the second data types associated with the first data need to be collected together as update information.
- S1103 If it is determined according to the value of the indication field of the first data that the first data is not associated with the second data, determine the first data as update information.
- the first update mode is only associated with the first data type, and therefore, the received first data is determined as update information.
- this embodiment does not limit the number of first data.
- the number of first data is n+1.
- determining that the first data is associated with second data may include:
- the update mode of the first data is determined.
- the first data is the first data type (bmp).
- the second update mode is determined. Since the second update mode is associated with the first data type, the second data type, and the third data type, it can be determined that the first data is associated with the second data, and the second data is the second data type (MID) and the third data type.
- Data type (msk) is the first data type (bmp).
- Table 4 Assume that the first data is of the second data type (MID). According to the values of bit31 and bit30 in the second data type (MID), it is determined as the second update mode. Since the second update mode is associated with the first data type, the second data type, and the third data type, it can be determined that the first data is associated with the second data, and the second data is the first data type (bmp) and the third data type. Data type (msk).
- the fourth update mode is determined. Since the fourth update mode is associated with the first data type and the second data type, and there are at least two data corresponding to the first data type, it can be determined that the first data is associated with the second data, and there are 8 second data.
- the first data type (bmp).
- the fourth update mode is determined. Since the fourth update mode is associated with the first data type and the second data type, and there are at least two data corresponding to the first data type, it can be determined that the first data is associated with the second data, and the second data is one The second data type (MID) and 7 first data types (bmp).
- the first data is the first data type (bmp). According to the values of bit31 and bit30 in the first data type (bmp), it is determined as the first update mode. Since the first update mode is only associated with the first data type, it can be determined that the first data is not associated with the second data, and the received n+1 first data types (bmp) are used as update information.
- FIG. 12 is a schematic structural diagram of a data update device provided by an embodiment of this application. As shown in Figure 12, the data update device provided in this embodiment may include:
- the receiving module 1201 is configured to receive update information, where the update information includes mode indication information, and the mode indication information indicates an update mode of the update information and the type of data included in the update information;
- the first obtaining module 1202 is configured to obtain the target storage space in the storage area according to the update mode of the update information; wherein the storage area stores routing information;
- the second acquisition module 1203 is configured to extract routing information to be updated from the update information according to the data type included in the update information
- the processing module 1204 is configured to update the routing information in the target storage space according to the routing information to be updated.
- the update information includes at least one data with a preset bit length, and the data includes an indication field; wherein, the value of the indication field is related to preset multiple update modes and preset multiple data types.
- This update mode is associated with at least one of the preset multiple data types.
- the receiving module 1201 is specifically configured to:
- the second data is acquired; wherein the update information includes the first data and the second data .
- the receiving module 1201 is specifically configured to:
- the receiving module 1201 is further configured to:
- the first data is determined as the update information.
- the preset multiple data types include:
- the first data type is used to indicate the routing information to be updated
- the second data type is used to indicate the address information corresponding to the routing information to be updated
- the third data type is used to indicate the bits that need to be updated in the routing information to be updated.
- the preset multiple update modes include:
- a first update mode where the first update mode is only associated with the first data type
- a second update mode where the second update mode is associated with the first data type, the second data type, and the third data type;
- a third update mode where the third update mode is associated with the first data type and the second data type, and there is one data corresponding to the first data type;
- a fourth update mode where the fourth update mode is associated with the first data type and the second data type, and there are at least two data corresponding to the first data type.
- the first obtaining module 1202 is specifically configured to:
- the target storage space is determined according to the data corresponding to the second data type.
- the indication field includes a first sub-indication field and a second sub-indication field, the value of the first sub-indication field is related to the preset multiple update modes, and the value of the second sub-indication field Related to the preset multiple data types.
- the indication field is located at the front of all bits in the data.
- the data update device provided in this embodiment is used to execute the data update method provided in the method embodiment of the present application.
- the technical principles and technical effects are similar, and will not be repeated here.
- modules in the above device is only a division of logical functions, and may be fully or partially integrated into one physical entity in actual implementation, or may be physically separated.
- the modules in the device may be all implemented in the form of software called by processing elements; or all may be implemented in the form of hardware; part of the modules may be implemented in the form of software called by the processing elements, and some of the modules may be implemented in the form of hardware.
- each module can be a separately established processing element, or it can be integrated in a certain chip of the device for implementation.
- it can also be stored in the memory in the form of a program, which is called and executed by a certain processing element of the device. Function.
- all or part of these modules can be integrated together or implemented independently.
- the processing element described here can also become a processor, which can be an integrated circuit with signal processing capabilities.
- each step of the above method or each of the above modules may be implemented by an integrated logic circuit of hardware in a processor element or implemented in a form of being called by software through a processing element.
- the modules in any of the above devices may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (ASICs), or, one or Multiple microprocessors (digital singnal processors, DSPs), or, one or more field programmable gate arrays (Field Programmable Gate Arrays, FPGAs), or a combination of at least two of these integrated circuits.
- ASICs application specific integrated circuits
- DSPs digital singnal processors
- FPGAs Field Programmable Gate Arrays
- FPGAs Field Programmable Gate Arrays
- the module in the device can be implemented in the form of a processing element scheduler
- the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call programs.
- these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
- SOC system-on-a-chip
- FIG. 13 is a schematic structural diagram of a data update device provided by an embodiment of this application. As shown in FIG. 13, this embodiment provides a data update device, including a processor 1301, a memory 1302, and an interface circuit 1303. The interface circuit 1303 is used to communicate with other devices, and the processor 1301 is used to call the The program stored in the memory 1302 is used to execute the data update method provided by the method embodiment of the present application. The technical principles and technical effects are similar, and will not be repeated here.
- the device may include, but is not limited to, routers, switches, and so on.
- the foregoing processor may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), and application specific integrated circuits (ASICs). )Wait.
- the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
- the steps in the data update method provided in conjunction with this application can be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
- the memory may be one memory or a collective term for multiple storage elements.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
L'invention concerne un procédé, un appareil et un dispositif de mise à jour de données. Le procédé de mise à jour de données comprend : la réception d'informations de mise à jour, les informations de mise à jour comprenant des informations d'indication de mode, et les informations d'indication de mode indiquant un mode de mise à jour des informations de mise à jour et un type de données compris dans les informations de mise à jour ; l'obtention d'un espace de stockage cible dans une zone de stockage en fonction du mode de mise à jour des informations de mise à jour, la zone de stockage stockant des informations de routage ; l'extraction, en fonction du type de données compris dans les informations de mise à jour, d'informations de routage à mettre à jour à partir des informations de mise à jour ; et la mise à jour des informations de routage dans l'espace de stockage cible en fonction des informations de routage à mettre à jour. Ainsi, l'efficacité de la configuration de données est améliorée, et le retard de traitement est raccourci.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/079011 WO2021179254A1 (fr) | 2020-03-12 | 2020-03-12 | Procédé, appareil et dispositif de mise à jour de données |
CN202080095654.0A CN115087958B (zh) | 2020-03-12 | 2020-03-12 | 数据更新方法、装置和设备 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/079011 WO2021179254A1 (fr) | 2020-03-12 | 2020-03-12 | Procédé, appareil et dispositif de mise à jour de données |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021179254A1 true WO2021179254A1 (fr) | 2021-09-16 |
Family
ID=77671150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/079011 WO2021179254A1 (fr) | 2020-03-12 | 2020-03-12 | Procédé, appareil et dispositif de mise à jour de données |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115087958B (fr) |
WO (1) | WO2021179254A1 (fr) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118672712A (zh) * | 2024-08-20 | 2024-09-20 | 广东保伦电子股份有限公司 | 一种界面同步方法、装置、设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005079691A (ja) * | 2003-08-28 | 2005-03-24 | Nippon Telegraph & Telephone East Corp | ルータの自動識別設定装置および方法ならびにプログラム |
CN1809809A (zh) * | 2003-06-20 | 2006-07-26 | 索尼株式会社 | 软件更新系统、软件提供装置、软件处理装置及软件更新方法 |
CN103902331A (zh) * | 2012-12-27 | 2014-07-02 | 株式会社理光 | 信息处理装置和信息处理方法 |
CN106610859A (zh) * | 2016-12-30 | 2017-05-03 | 珠海艾派克微电子有限公司 | 一种程序更新方法、装置、系统和成像盒 |
CN108322341A (zh) * | 2018-01-30 | 2018-07-24 | 上海康斐信息技术有限公司 | 一种更新路由器配置数据库的方法及系统 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102665196B (zh) * | 2012-04-28 | 2014-11-05 | 清华大学 | 一种无线传感器网络的在线渐进式程序更新方法 |
US9986434B2 (en) * | 2014-04-30 | 2018-05-29 | Avago Technologies General Ip (Singapore) Pte. Ltd. | System for accelerated network route update through exclusive access to routing tables |
CN106982236B (zh) * | 2016-01-18 | 2020-07-28 | 阿里巴巴集团控股有限公司 | 一种信息处理方法、装置和系统 |
CN106802932B (zh) * | 2016-12-28 | 2021-06-22 | 华为技术有限公司 | 一种数据库的路由方法、装置及数据库系统 |
CN107547364B (zh) * | 2017-08-15 | 2021-08-06 | 新华三技术有限公司 | 路由下发方法、装置和网络设备 |
CN113660161A (zh) * | 2018-08-30 | 2021-11-16 | 华为技术有限公司 | 通信方法和通信设备 |
CN109617820B (zh) * | 2019-02-15 | 2021-05-11 | 中国联合网络通信集团有限公司 | 一种sdn系统和路由更新方法 |
CN110166523B (zh) * | 2019-04-09 | 2022-12-27 | 腾讯科技(深圳)有限公司 | 内容更新方法、装置、设备和计算机可读存储介质 |
-
2020
- 2020-03-12 CN CN202080095654.0A patent/CN115087958B/zh active Active
- 2020-03-12 WO PCT/CN2020/079011 patent/WO2021179254A1/fr active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1809809A (zh) * | 2003-06-20 | 2006-07-26 | 索尼株式会社 | 软件更新系统、软件提供装置、软件处理装置及软件更新方法 |
JP2005079691A (ja) * | 2003-08-28 | 2005-03-24 | Nippon Telegraph & Telephone East Corp | ルータの自動識別設定装置および方法ならびにプログラム |
CN103902331A (zh) * | 2012-12-27 | 2014-07-02 | 株式会社理光 | 信息处理装置和信息处理方法 |
CN106610859A (zh) * | 2016-12-30 | 2017-05-03 | 珠海艾派克微电子有限公司 | 一种程序更新方法、装置、系统和成像盒 |
CN108322341A (zh) * | 2018-01-30 | 2018-07-24 | 上海康斐信息技术有限公司 | 一种更新路由器配置数据库的方法及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN115087958B (zh) | 2024-01-16 |
CN115087958A (zh) | 2022-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8035650B2 (en) | Tiled cache for multiple software programs | |
US9830264B2 (en) | Cache memory system and operating method for the same | |
CN112540938B (zh) | 处理器核、处理器、装置和方法 | |
JP6391855B2 (ja) | メモリ管理ユニット(mmu)パーティショニングされたトランスレーションキャッシュ、ならびに関連する装置、方法およびコンピュータ可読媒体を提供すること | |
US9760498B2 (en) | Hybrid cache comprising coherent and non-coherent lines | |
US10217400B2 (en) | Display control apparatus and method of configuring an interface bandwidth for image data flow | |
WO2021179254A1 (fr) | Procédé, appareil et dispositif de mise à jour de données | |
WO2019192379A1 (fr) | Appareil et procédé de transmission pdu mac | |
CN117093371B (zh) | 缓存资源分配方法、装置、电子设备和存储介质 | |
CN116601601A (zh) | 在多过程系统内执行可编程原子单元资源的方法 | |
US9697118B1 (en) | Memory controller with interleaving and arbitration scheme | |
US20220058867A1 (en) | Tessellation data processing method, system, medium and vector graphics processing device | |
US20240152474A1 (en) | On-chip integrated circuit, data processing device, and data processing method | |
US11275683B2 (en) | Method, apparatus, device and computer-readable storage medium for storage management | |
WO2019127416A1 (fr) | Procédé de détection de domaines connexes, circuit, dispositif et support de stockage lisible par ordinateur | |
US20130097390A1 (en) | Memory controller and methods | |
US20130031347A1 (en) | Arrangement and method | |
US20220021857A1 (en) | Demosaic operation circuit, image sensing device and operation method of the same | |
EP4277435A1 (fr) | Procédé de communication et dispositif de communication | |
US10346209B2 (en) | Data processing system for effectively managing shared resources | |
US8533396B2 (en) | Memory elements for performing an allocation operation and related methods | |
US10210083B1 (en) | Address remapping for efficient use of distributed memory | |
US9886380B2 (en) | Method and device of memory space management | |
CN111133422A (zh) | 用于存储器管理单元的事务调度器 | |
US20210286740A1 (en) | In-line memory module (imm) computing node with an embedded processor(s) to support local processing of memory-based operations for lower latency and reduced power consumption |
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: 20924315 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20924315 Country of ref document: EP Kind code of ref document: A1 |