CN108093093B - Method and device for updating address table of destination equipment in source equipment - Google Patents

Method and device for updating address table of destination equipment in source equipment Download PDF

Info

Publication number
CN108093093B
CN108093093B CN201611042604.8A CN201611042604A CN108093093B CN 108093093 B CN108093093 B CN 108093093B CN 201611042604 A CN201611042604 A CN 201611042604A CN 108093093 B CN108093093 B CN 108093093B
Authority
CN
China
Prior art keywords
address
destination
equipment
srio interface
destination device
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.)
Active
Application number
CN201611042604.8A
Other languages
Chinese (zh)
Other versions
CN108093093A (en
Inventor
李照丹
赵金芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201611042604.8A priority Critical patent/CN108093093B/en
Publication of CN108093093A publication Critical patent/CN108093093A/en
Application granted granted Critical
Publication of CN108093093B publication Critical patent/CN108093093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • H04L61/2553Binding renewal aspects, e.g. using keep-alive messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method and a device for updating a destination equipment address table in source equipment, wherein the method comprises the following steps: when receiving an update message sent by destination equipment, source equipment reads an address of an SRIO interface of the destination equipment to be updated from a preset address, wherein the address of the SRIO interface of the destination equipment to be updated is written into the preset address by the destination equipment in advance; the source equipment updates a preset destination equipment address table in the source equipment according to the read address of the SRIO interface of the destination equipment to be updated; the method and the device can improve the efficiency of updating the address table of the destination equipment in the source equipment.

Description

Method and device for updating address table of destination equipment in source equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for updating an address table of a destination device in a source device.
Background
An SRIO (Serial Rapid Input Output) interface is an interconnection interface with high performance and low pin count, and supports two communication modes, namely DirectIO (direct Input Output) and Message paging (packet transmission). In practical application, the SRIO interface can be applied to communication interconnection between different devices. If the two devices communicate by adopting the SRIO interface, an SRIO interface is arranged in the source device, and an SRIO interface is also arranged in the destination device.
Therefore, in the prior art, in order to support the DirectIO communication method, a source device that uses an SRIO interface for communication interconnection is used, and in an initialization stage, a related technical worker configures a destination device address table in advance according to an address plan of a destination device in the source device, where the address table stores address information of the SRIO interface in the destination device; when the source device communicates with the destination device in a DirectIO communication mode, the source device first obtains address information of an SRIO interface of the destination device from a destination device address table configured in advance, and then communicates with the destination device according to the obtained address information of the SRIO interface of the destination device.
In the prior art, there is often a need to update the SRIO interface address in each device, and in order to support the DirectIO communication method, after the address of the SRIO interface in a destination device is updated, a destination device address table preset in a source device associated with the destination device generally needs to be updated manually and statically, so that the updating efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a method and a device for updating a destination device address table in source equipment, which are used for improving the efficiency of updating the destination device address table in the source equipment.
On one hand, the invention provides a method for updating a destination device address table in a source device, wherein the source device is internally preset with the destination device address table, and the destination device address table stores address information of an SRIO high-speed serial input/output interface in the destination device, and the method comprises the following steps:
when receiving an update message sent by destination equipment, source equipment reads an address of an SRIO interface of the destination equipment to be updated from a preset address, wherein the address of the SRIO interface of the destination equipment to be updated is written into the preset address by the destination equipment in advance;
and the source equipment updates a preset destination equipment address table in the source equipment according to the read address of the SRIO interface of the destination equipment to be updated.
Preferably, when the update message is an address adding message, the address of the SRIO interface of the destination device to be updated, which is read by the source device, is the address of the SRIO interface of the destination device to be added;
the source device updates a preset destination device address table in the source device according to the read address of the SRIO interface of the destination device to be updated, and the method comprises the following steps: and the source equipment adds the address of the SRIO interface of the destination equipment to be added into a destination equipment address table preset by the source equipment.
Preferably, when the update message is a modified address message, the address of the SRIO interface of the destination device to be updated, which is read by the source device, is the latest address of the SRIO interface of the destination device to be modified;
the source device updates a preset destination device address table in the source device according to the read address of the SRIO interface of the destination device to be updated, and the method comprises the following steps: and the source equipment modifies the address of the SRIO interface of the destination equipment to be modified into the latest address of the SRIO interface in a preset destination equipment address table.
Preferably, when the update message is a delete address message, the address of the SRIO interface of the destination device to be updated, which is read by the source device, is the address of the SRIO interface of the destination device to be deleted, and the source device updates the destination device address table preset in the source device according to the read address of the SRIO interface of the destination device to be updated, including: and the source equipment deletes the address of the SRIO interface of the destination equipment to be deleted in a preset destination equipment address table.
Preferably, the receiving, by the source device, the update message sent by the destination device includes:
the source equipment receives a broadcast message sent by the destination equipment;
the source device judges whether the broadcast message is used for updating the address table of the destination device;
if so, the source device determines that the broadcast message is the update message.
On the other hand, the present invention provides an apparatus for updating a destination device address table in a source device, where the source device is preset with the destination device address table, and the destination device address table stores address information of an SRIO high-speed serial input/output interface in a destination device, and the apparatus includes:
the device comprises a reading unit and a processing unit, wherein the reading unit is used for reading an address of an SRIO interface of target equipment to be updated from a preset address when an updating message sent by the target equipment is received, and the address of the SRIO interface of the target equipment to be updated is written into the preset address by the target equipment in advance;
and the updating unit is used for updating a preset destination equipment address table in the source equipment according to the read address of the SRIO interface of the destination equipment to be updated.
Preferably, when the update message is an address adding message, the address of the SRIO interface of the destination device to be updated read by the reading unit is the address of the SRIO interface of the destination device to be added;
the update unit is specifically configured to: and adding the address of the SRIO interface of the destination equipment to be added into a destination equipment address table preset by the source equipment.
Preferably, when the update message is a modified address message, the address of the SRIO interface of the destination device to be updated, which is read by the reading unit, is the latest address of the SRIO interface of the destination device to be modified;
the update unit is specifically configured to: and in a preset destination equipment address table, modifying the address of the SRIO interface of the destination equipment to be modified into the latest address of the SRIO interface.
Preferably, when the update message is a delete address message, the address of the SRIO interface of the destination device to be updated, which is read by the reading unit, is the address of the SRIO interface of the destination device to be deleted;
the update unit is specifically configured to: and deleting the address of the SRIO interface of the target equipment to be deleted in a preset target equipment address table.
Preferably, when receiving the update message sent by the destination device, the reading unit is specifically configured to:
receiving a broadcast message sent by destination equipment;
judging whether the broadcast message is used for updating the destination equipment address table or not;
if so, determining that the broadcast message is the update message.
As can be seen from the above, in the embodiment of the present invention, when the address of the SRIO interface in the source device needs to be updated, the address of the SRIO interface to be updated is written into the preset address, and then an update message is broadcast to notify the destination device, and when the destination device receives the update message, the destination device reads the address of the SRIO interface of the destination device to be updated from the preset address, and then updates the SRIO interface address table of the destination device stored in the destination device according to the read address of the SRIO interface to be updated; therefore, by adopting the above mode, when the address of the SRIO interface in the destination device needs to be updated, the source device can automatically update the address table stored therein, and compared with the mode of manually updating the address table in the source device in the prior art, the efficiency of updating the address table in the source device is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art according to these drawings.
Fig. 1 is a schematic flow chart of a method for updating an address table of a destination device in a source device according to an embodiment of the present invention;
fig. 2 is another schematic flowchart of a method for updating an address table of a destination device in a source device according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another method for updating an address table of a destination device in a source device according to an embodiment of the present invention;
fig. 4 is another schematic flowchart of a method for updating an address table of a destination device in a source device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of allocating an SRIO interface memory configuration according to an embodiment of the present invention;
fig. 6 is a schematic diagram of source device initialization according to an embodiment of the present invention;
FIG. 7 is a process flow diagram of a destination device according to an embodiment of the present invention;
fig. 8 is a schematic processing flow diagram of a source device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an apparatus for updating an address table of a destination device in a source device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Example one
The present invention provides a method for updating a destination device address table in a source device, as shown in fig. 1, the method includes the following steps:
step S11: when a destination device needs to update an address of an SIRO (Serial Rapid Input Output) interface, broadcasting an update message to a source device, and writing the address of an SRIO interface to be updated into a preset address;
in the embodiment of the present invention, the source device needs to update the address of the SIRO interface, which may specifically include deleting, adding, and modifying the address of the SIRO interface.
Step S12: when the source equipment receives the broadcast message, reading the address of the SRIO interface of the target equipment to be updated from a preset address;
in the embodiment of the present invention, the source device may specifically read, through an Nread command, an address of an SRIO interface of the destination device to be updated from a preset address;
step S13: and the source equipment updates a preset destination equipment address table in the source equipment according to the read address of the SRIO interface of the destination equipment to be updated.
In the embodiment of the present invention, correspondingly, the source device may perform operations of adding, deleting, or modifying the SRIO interface in the preset destination device address table according to the read address of the SRIO interface of the destination device to be updated.
As can be seen from the above, in the embodiment of the present invention, when the address of the SRIO interface in the source device needs to be updated, the address of the SRIO interface to be updated is written into the preset address, and then an update message is broadcast to notify the destination device, and when the destination device receives the update message, the destination device reads the address of the SRIO interface of the destination device to be updated from the preset address, and then updates the SRIO interface address table of the destination device stored in the destination device according to the read address of the SRIO interface to be updated; therefore, by adopting the above mode, when the address of the SRIO interface in the destination device needs to be updated, the source device can automatically update the address table stored therein, and compared with the mode of manually updating the address table in the source device in the prior art, the efficiency of updating the address table in the source device is improved.
Example two
The following will specifically describe the process of the present invention in detail by taking the example of deleting, modifying, and adding SRIO interface address of the destination device:
when the destination device needs to add an SRIO interface and an address is allocated to the SRIO interface, the destination device may specifically add the current SRIO interface address to the address table of the source device in the following manner, as shown in fig. 2, which at least includes the following steps:
step S21: the target equipment broadcasts an adding address message, and writes the SRIO interface address of the target equipment to be added into a preset address; it should be noted that, when the source device and the destination device communicate for the first time, both parties may agree on the preset address, and therefore both the source device and the destination device can know the preset address;
step S22: when the source device receives the broadcast message, reading the address of the SRIO interface of the destination device to be added from a preset address, wherein the destination device can specifically adopt an Nread command to read the address of the SRIO interface of the destination device to be added;
and step S23, the source device adds the address of the SRIO interface of the destination device to be added into a destination device address table preset by the source device.
By adopting the method, the SRIO interface address can be dynamically added into the destination equipment address table of the source equipment.
In the embodiment of the present invention, when the address of the SRIO interface in the destination device needs to be changed due to a change in memory allocation in the destination device, as shown in fig. 3, the method may specifically be as follows:
step S31: the target equipment broadcasts an address modification message, and writes the latest address of the SRIO interface of the target equipment to be modified into a preset address;
step S32: when the source device receives the broadcast message, reading the latest address of the SRIO interface of the destination device to be modified from the preset address, wherein the destination device can specifically read the latest address of the SRIO interface of the destination device to be modified by adopting an Nread command;
step S33: and the source equipment modifies the address of the SRIO interface of the destination equipment to be modified into the latest address in a preset destination equipment address table.
By adopting the method, the SRIO interface address in the destination equipment address table in the source equipment can be dynamically modified.
In this embodiment of the present invention, when the destination device needs to delete an address of an SRIO interface of the destination device, the following method may be specifically adopted, as shown in fig. 4, where the method at least includes the following steps:
step S41: the target equipment broadcasts a delete address message, and writes the SRIO interface address of the target equipment to be deleted into a preset address;
step S42: when the source device receives the broadcast message, reading the address of the SRIO interface of the destination device to be deleted from a preset address, wherein the destination device can specifically read the address of the SRIO interface of the destination device to be deleted by adopting an Nread command;
step S43: and the source equipment deletes the address of the SRIO interface of the destination equipment to be deleted in a preset destination equipment address table.
Therefore, in the embodiment of the invention, the address of the SRIO interface in the address table of the destination device in the source device can be deleted dynamically.
EXAMPLE III
In the embodiment of the present invention, taking an example that a source device and a destination device both use a DSP (Digital signal processor), the process of the present invention will be described in detail:
firstly, two memory thresholds are preset in source equipment, and configuration information of a local SRIO interface and configuration information of an SRIO interface in destination equipment are respectively stored, wherein the configuration information of the SRIO interface comprises address information of the SRIO interface.
In the embodiment of the invention, taking DSP of C64x and C66x series as an example, allocable addresses 0x 00800000-0 x008000ff are used for storing configuration information of a local SRIO interface, and allocable addresses 0x 00800100-0 x008001ff are used for storing configuration information of an SRIO interface of a destination device; in the configuration information of the SRIO interface of the destination device, address information of each SRIO interface of the destination device may be specifically stored, and details can be shown in fig. 5.
In this embodiment of the present invention, when the source device and the destination device communicate for the first time, the SRIO interface of the source device and the SRIO interface of the destination device perform handshake first, and after the handshake between the two is successful, the process of initializing the DSP of the source device, as shown in fig. 6, at least includes the following processes:
step S61: initializing DSP hardware of source equipment;
in the embodiment of the invention, the hardware initialization of the DSP comprises initialization of the P LL and peripheral equipment for initializing the DSP.
Step S62: initializing DSP software of source equipment;
in the embodiment of the present invention, the software initialization of the DSP includes initializing a global data structure and variables, managing and initializing a local memory, configuring a device ID of a local SRIO, and initializing SRIO device IDs of each destination device in the system.
Step S63: the source equipment detects whether the handshake with the destination equipment is successful; if successful, executing S64, otherwise ending the flow;
in the embodiment of the invention, the source device can determine whether the handshaking between the SRIO interface and the SRIO interface of the source device is successful by reading the status register of the SRIO interface of the source device;
step S64: and the source equipment acquires the address information of the SRIO interface in the destination equipment and stores the address information in the address table of the destination equipment.
In the embodiment of the present invention, the address information of the SRIO interface in the destination device may be specifically read through an Nread command.
Through the above process, the source device may communicate with the destination device, and in the operation stage of the source device, if the address of the SRIO interface of the destination device is changed, as shown in fig. 7, the destination device may specifically change the address of the SRIO interface in the destination device address table in the source device in the following manner:
step S71: the target equipment modifies the configuration information of the local SRIO interface, wherein the address information of the SRIO interface in the SRIO interface configuration information can be specifically modified;
step S72: the target equipment writes the modified configuration information of the SRIO interface into a preset address;
in the embodiment of the present invention, the source device may specifically send the broadcast message in the form of a doorbell message.
Step S73: the target equipment sends a broadcast message to the target equipment;
accordingly, as shown in fig. 8, the processing flow of the source device may be as follows:
step S81: the source equipment receives the broadcast message;
in the embodiment of the present invention, the source device may specifically receive the broadcast message in a polling or interrupt manner;
step S82: the source device judges whether the broadcast message is used for updating the address table of the destination device; if yes, go to step S83; otherwise, ending the flow;
since the doorbell message is generally applied to an interrupt event in practical applications, in the embodiment of the present invention, when the source device uses the doorbell message as a broadcast message, a flag for updating the address table generally needs to be set in the doorbell message; the source device needs to analyze the broadcast message and check whether the broadcast message has a mark for updating the address table or not when receiving the broadcast message; the source device may determine that the broadcast message is for updating the destination device address table if the broadcast message has an identification for updating the address table, and otherwise, may determine that the broadcast message is not for updating the destination device address table.
Step S83: the source equipment reads the modified configuration information from the preset address by using an Nread command;
step S84: the source device updates the destination device address table.
In the embodiment of the invention, in the system operation stage, the DirectIO memory allocation of a certain SRIO endpoint can be dynamically modified according to the system operation requirement, so that the risk of modifying the whole subversion of the system caused by modifying the DirectIO memory allocation can be avoided.
Example four
The same concept as above, the present invention further provides an apparatus for updating an address table of a destination device in a source device, where the address table of the destination device is preset in the source device, and address information of an SRIO high-speed serial input/output interface in the destination device is stored in the address table of the destination device, as shown in fig. 9, the apparatus includes:
a reading unit 91, configured to, when receiving an update message sent by a destination device, read an address of an SRIO interface of the destination device to be updated from a preset address, where the address of the SRIO interface of the destination device to be updated is written into the preset address by the destination device in advance;
and an updating unit 92, configured to update a preset destination device address table in the source device according to the read address of the destination device SRIO interface to be updated.
Optionally, when the update message is an address adding message, the address of the SRIO interface of the destination device to be updated read by the reading unit is an address of the SRIO interface of the destination device to be added; the updating unit 92 is specifically configured to: and adding the address of the SRIO interface of the destination equipment to be added into a destination equipment address table preset by the source equipment.
Optionally, when the update message is a modified address message, the address of the SRIO interface of the destination device to be updated, which is read by the reading unit, is the latest address of the SRIO interface of the destination device to be modified; the updating unit 92 is specifically configured to: and in a preset destination equipment address table, modifying the address of the SRIO interface of the destination equipment to be modified into the latest address of the SRIO interface.
Optionally, when the update message is a delete address message, the address of the SRIO interface of the destination device to be updated, which is read by the reading unit, is the address of the SRIO interface of the destination device to be deleted; the updating unit 92 is specifically configured to: and deleting the address of the SRIO interface of the target equipment to be deleted in a preset target equipment address table.
Optionally, when receiving the update message, the reading unit 91 may specifically be configured to: receiving a broadcast message sent by destination equipment; judging whether the broadcast message is used for updating the destination equipment address table or not; if so, determining that the broadcast message is the update message.
As can be seen from the above, in the embodiment of the present invention, when the address of the SRIO interface in the source device needs to be updated, the address of the SRIO interface to be updated is written into the preset address, and then an update message is broadcast to notify the destination device, and when the destination device receives the update message, the destination device reads the address of the SRIO interface of the destination device to be updated from the preset address, and then updates the SRIO interface address table of the destination device stored in the destination device according to the read address of the SRIO interface to be updated; therefore, by adopting the above mode, when the address of the SRIO interface in the destination device needs to be updated, the source device can automatically update the address table stored therein, and compared with the mode of manually updating the address table in the source device in the prior art, the efficiency of updating the address table in the source device is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (10)

1. A method for updating a destination device address table in a source device, wherein the source device is preset with the destination device address table, and the destination device address table stores address information of an SRIO high-speed serial input/output interface in the destination device, the method comprising:
when receiving an update message sent by destination equipment, source equipment reads an address of an SRIO interface of the destination equipment to be updated from a preset address, wherein the address of the SRIO interface of the destination equipment to be updated is written into the preset address by the destination equipment in advance;
and the source equipment updates a preset destination equipment address table in the source equipment according to the read address of the SRIO interface of the destination equipment to be updated.
2. The method according to claim 1, wherein when the update message is an address adding message, the address of the SRIO interface of the destination device to be updated read by the source device is the address of the SRIO interface of the destination device to be added;
the source device updates a preset destination device address table in the source device according to the read address of the SRIO interface of the destination device to be updated, and the method comprises the following steps: and the source equipment adds the address of the SRIO interface of the destination equipment to be added into a destination equipment address table preset by the source equipment.
3. The method according to claim 1, wherein when the update message is a modify address message, the address of the SRIO interface of the destination device to be updated, which is read by the source device, is the latest address of the SRIO interface of the destination device to be modified;
the source device updates a preset destination device address table in the source device according to the read address of the SRIO interface of the destination device to be updated, and the method comprises the following steps: and the source equipment modifies the address of the SRIO interface of the destination equipment to be modified into the latest address of the SRIO interface in a preset destination equipment address table.
4. The method according to claim 1, wherein when the update message is a delete address message, the address of the SRIO interface of the destination device to be updated, which is read by the source device, is an address of the SRIO interface of the destination device to be deleted, and the source device updates the destination device address table preset in the source device according to the read address of the SRIO interface of the destination device to be updated, including: and the source equipment deletes the address of the SRIO interface of the destination equipment to be deleted in a preset destination equipment address table.
5. The method according to any one of claims 1-4, wherein the source device receives the update message sent by the destination device, comprising:
the source equipment receives a broadcast message sent by the destination equipment;
the source device judges whether the broadcast message is used for updating the address table of the destination device;
if so, the source device determines that the broadcast message is the update message.
6. An apparatus for updating a destination device address table in a source device, where the source device is preset with the destination device address table, and address information of an SRIO high-speed serial input/output interface in the destination device is stored in the destination device address table, the apparatus comprising:
the device comprises a reading unit and a processing unit, wherein the reading unit is used for reading an address of an SRIO interface of target equipment to be updated from a preset address when an updating message sent by the target equipment is received, and the address of the SRIO interface of the target equipment to be updated is written into the preset address by the target equipment in advance;
and the updating unit is used for updating a preset destination equipment address table in the source equipment according to the read address of the SRIO interface of the destination equipment to be updated.
7. The apparatus according to claim 6, wherein when the update message is an address adding message, the address of the SRIO interface of the destination device to be updated read by the reading unit is an address of the SRIO interface of the destination device to be added;
the update unit is specifically configured to: and adding the address of the SRIO interface of the destination equipment to be added into a destination equipment address table preset by the source equipment.
8. The apparatus according to claim 6, wherein when the update message is a modify address message, the address of the SRIO interface of the destination device to be updated read by the reading unit is a latest address of the SRIO interface of the destination device to be modified;
the update unit is specifically configured to: and in a preset destination equipment address table, modifying the address of the SRIO interface of the destination equipment to be modified into the latest address of the SRIO interface.
9. The apparatus according to claim 6, wherein when the update message is a delete address message, the address of the SRIO interface of the destination device to be updated read by the reading unit is an address of the SRIO interface of the destination device to be deleted;
the update unit is specifically configured to: and deleting the address of the SRIO interface of the target equipment to be deleted in a preset target equipment address table.
10. The apparatus according to any of claims 6 to 9, wherein the reading unit, when receiving the update message sent by the destination device, is specifically configured to:
receiving a broadcast message sent by destination equipment;
judging whether the broadcast message is used for updating the destination equipment address table or not;
if so, determining that the broadcast message is the update message.
CN201611042604.8A 2016-11-23 2016-11-23 Method and device for updating address table of destination equipment in source equipment Active CN108093093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611042604.8A CN108093093B (en) 2016-11-23 2016-11-23 Method and device for updating address table of destination equipment in source equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611042604.8A CN108093093B (en) 2016-11-23 2016-11-23 Method and device for updating address table of destination equipment in source equipment

Publications (2)

Publication Number Publication Date
CN108093093A CN108093093A (en) 2018-05-29
CN108093093B true CN108093093B (en) 2020-07-17

Family

ID=62170176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611042604.8A Active CN108093093B (en) 2016-11-23 2016-11-23 Method and device for updating address table of destination equipment in source equipment

Country Status (1)

Country Link
CN (1) CN108093093B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110187852A (en) * 2019-06-03 2019-08-30 宜春宜联科技有限公司 The Dynamic Configuration and printer of printer interface address, server

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891902A (en) * 2012-09-28 2013-01-23 北京星网锐捷网络技术有限公司 Media access control address updating method and network equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104054302B (en) * 2011-12-16 2018-05-11 马维尔以色列(M.I.S.L.)有限公司 The network equipment, address resolution method, network and cache table minishing method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891902A (en) * 2012-09-28 2013-01-23 北京星网锐捷网络技术有限公司 Media access control address updating method and network equipment

Also Published As

Publication number Publication date
CN108093093A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
JP6481415B2 (en) Data storage management device and data storage management method
CN108287708B (en) Data processing method and device, server and computer readable storage medium
CN107807815B (en) Method and device for processing tasks in distributed mode
CN105787077A (en) Data synchronizing method and device
CN103699408A (en) Software updating method and equipment
CN107819615B (en) Equipment self-adaptive access method and device and master control equipment
CN106095432B (en) Method for identifying application type
CN111708557B (en) Method, device and storage medium for updating configuration file
KR101856486B1 (en) Method for bi-direction calling between open system and mainframe system
US9509832B2 (en) Recommending preferred ringer settings for a mobile communications device
CN110520844A (en) Cloud management platform, virtual machine management method and its system
CN108234551B (en) Data processing method and device
CN104267980A (en) Software score display method, terminal, data server and system
CN111679790A (en) Remote software development storage space distribution method and device
CN105245581A (en) Application program transmission method and device
CN104346195A (en) Software installing method and system
CN109918381B (en) Method and apparatus for storing data
CN108093093B (en) Method and device for updating address table of destination equipment in source equipment
CN103379145B (en) The method, apparatus and system of information processing
CN106453571A (en) Data migration method and terminal
CN106933646B (en) Method and device for creating virtual machine
CN113721936B (en) Application management method, intelligent terminal, device and storage medium
EP3015990A1 (en) Information processing device, and destination information updating method and program
CN112199132A (en) Page layout method and device
CN103118248A (en) Monitoring method, monitoring agency, monitoring server and monitoring system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant