CN105245387A - Method and system for processing message - Google Patents

Method and system for processing message Download PDF

Info

Publication number
CN105245387A
CN105245387A CN201510704864.6A CN201510704864A CN105245387A CN 105245387 A CN105245387 A CN 105245387A CN 201510704864 A CN201510704864 A CN 201510704864A CN 105245387 A CN105245387 A CN 105245387A
Authority
CN
China
Prior art keywords
network interface
interface card
main frame
message
context
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.)
Pending
Application number
CN201510704864.6A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510704864.6A priority Critical patent/CN105245387A/en
Publication of CN105245387A publication Critical patent/CN105245387A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method and a system for processing a message. The method is applied to the system for processing the message. The system includes a first host, a first network card and a second network card. The first network card generates a context which is used as a reference for processing other messages of a session and sends the context to the first host. Then, the first host instructs the second network card to obtain the context when the first network card fails, so that the second network card can process other received messages of the session on the basis of the context. Thus, the second network card can obtain the context even if the first network card is failed, and process the received messages.

Description

A kind of method and system processing message
Technical field
The present invention relates to computer realm, particularly a kind of method and system processing message.
Background technology
Network interface card is a kind of physical hardware be configured in main frame, network interface card receive other main frames send message and on give main frame, main frame processes this message.In order to improve the reliability of main frame, two or more network interface card can be configured in main frame, like this, even if a network interface card breaks down, also the network interface card can being taken over to have broken down by a network interface card in residue network interface card, can not affect main frame and process the message that other main frames send.
Along with main frame needs message to be processed to get more and more, there is the network interface card with offloading functions at present, hardware offload has been realized to message.If have the network interface card of network card configuration belonging to main frame of offloading functions, then originally need the segment message in the message of host process can be processed by the network interface card with offloading functions, therefore, the workload of main frame reduces, and performance improves.
In order to the reliability of main frame, at least two can be had the network interface card of network card configuration belonging to main frame of offloading functions, the network interface card with offloading functions needs according to up-to-date context, processes the message receiving session.But up-to-date context is stored in the network interface card processed the message of this session usually, other network interface cards owing to there is no up-to-date context, so cannot process the message of the described session received.
Summary of the invention
The embodiment of the present invention provides a kind of method and system processing message, for solving after first network interface card in the network interface card being configured to belonging to main frame that exists in prior art with offloading functions breaks down, the problem that another second network interface card with offloading functions cannot process the message received.
Embodiment of the present invention first aspect provides a kind of method processing message, and be applied to a kind of system processing message, described system comprises: the first main frame, the first network interface card and the second network interface card, and described method comprises:
Described first network interface card receives the first message of session, processes, the context of other message time institute foundations of session described in generating process to described first message;
Described context is sent to described first main frame by described first network interface card;
Described first net card failure determined by described first main frame;
Described second network interface card of described first main frame instruction obtains described context.
First network interface card receives the first message of session, processes, the context of other message time institute foundations of session described in generating process, and described context is sent to the first main frame to described first message; Then the first net card failure determined by the first main frame, and indicate the second network interface card to obtain context in the first main frame, like this, based on context the second network interface card, processes other messages of the described session received.Therefore, even if the first network interface card breaks down, the second network interface card can obtain context, so the second network interface card can process the message received.
In conjunction with first aspect, in the first possible implementation of first aspect, after described second network interface card obtains described context, described method also comprises:
Other messages of described session are sent to described second network interface card by described first host notification switch, and described switch is used for the communication between described first main frame and the second main frame.
After first main frame determines that the first network interface card breaks down, the message of described session is sent to the second network interface card by timely notice switch, switch is known in time, and the first network interface card there occurs fault, avoid switch and determine the process that the first network interface card breaks down, the notice that switch sends according to the first main frame, by originally sending to the message of the described session of the first network interface card to send to the second network interface card, making the second network interface card receive the message of described session in time, improve the efficiency of the message of network interface card process session.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second of first aspect is possible, after the context of other message time institute foundations of session described in generating process, described method also comprises:
Described first network interface card generates the first check value according to described context, and described first check value is sent to described first main frame;
Before described second network interface card of described first main frame instruction obtains described context, described method also comprises:
Described first main frame generates the second check value according to the context received;
When described second check value is identical with described first check value, described first main frame determines that described context is complete.First main frame is before instruction second network interface card obtains context, contextual integrality is verified by check value, ensure that the context that the second network interface card gets is complete, make the second network interface card according to the context got, correctly can process the message of the session received.
Embodiment of the present invention second aspect provides a kind of system processing message, and described system comprises:
First main frame, the first network interface card and the second network interface card;
Wherein, described first network interface card is used for: the first message receiving session, processes described first message, the context of other message time institute foundations of session described in generating process; Described context is sent to described first main frame;
Described first main frame is used for: determine described first net card failure; Described second network interface card is indicated to obtain described context.
In conjunction with second aspect, in the first possible implementation of second aspect, described first main frame also for:
Other messages of described session are sent to described second network interface card by notice switch, and described switch is used for the communication between described first main frame and the second main frame.
In conjunction with the first possible implementation of second aspect or second aspect, in the implementation that the second of second aspect is possible, described first network interface card also for:
Generate the first check value according to described context, and described first check value is sent to described first main frame;
Described first main frame also for: generate the second check value according to the context received; When described second check value is identical with described first check value, determine that described context is complete.
The one or more technical schemes provided in the embodiment of the present invention, at least have following technique effect or advantage:
In the embodiment of the present invention, the first network interface card receives the first message of session, processes, the context of other message time institute foundations of session described in generating process, and described context is sent to the first main frame to described first message; Then the first net card failure determined by the first main frame, and indicate the second network interface card to obtain context in the first main frame, like this, based on context the second network interface card, processes other messages of the described session received.Therefore, even if the first network interface card breaks down, the second network interface card can obtain context, so the second network interface card can process the message received, achieves the flexible switching of Message processing function between network interface card.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of structural representation processing the system of message that Fig. 1 provides for the embodiment of the present invention;
The information interaction schematic diagram of the method for the system execution process message that Fig. 2 provides for the embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Without special instruction, the network interface card that the embodiment of the present invention is mentioned is all the network interface card with offloading functions.Usually the agreement that the message realizing hardware offload on network interface card is followed has: TCP (Chinese: transmission control protocol; English: TransmissionControlProtocol), iSCSI (Chinese: Internet Small Computer Systems Interface; English: InternetSmallComputerSystemInterface) agreement, FCoE (Chinese: Ethernet optical-fibre channel; English: FibreChanneloverEthernet) agreement etc.
Above-mentioned agreement is all the agreement having state, if the agreement that message is followed is the agreement having state, then has dependence between message, and context is used for the dependence between recorded message, and network interface card processes message according to context.Because original message becomes processed message after network interface card process, so the dependence between message correspondingly changes, therefore, after network interface card processes message at every turn, context all can correspondingly change.Network interface card needs to process message according to up-to-date context, if the context of foundation is not up-to-date, then network interface card correctly can not process message.
Unloading is divided into full unloading and half uninstall.For full unloading, by network interface card, message is processed completely, main frame does not participate in Message processing, and therefore, network interface card is when process first message, do not have up-to-date context can foundation, after network interface card processes first message, according to processed first message, generate up-to-date context, network interface card, according to the up-to-date context generated, processes other messages after first message.
For half uninstall, first main frame processes the simple message of a part, is then unloaded on network interface card by message complicated for a residue part, is processed the message that a residue part is complicated by network interface card.Therefore, first main frame processes the simple message of a described part, then the processed simple message of a described part, generate up-to-date context, and send to network interface card, message complicated for a described residue part is sent to network interface card simultaneously, network interface card is when processing first message in the complicated message of a described residue part, according to the up-to-date context that main frame sends, first message in the message complicated to a described residue part processes, after network interface card processes first message in the complicated message of a described residue part, according to first message in the message that a processed described residue part is complicated, generate up-to-date context, network interface card is according to the up-to-date context generated, process other messages after first message in the complicated message of a described residue part.
First there is for two network card configuration network interface card belonging to the first main frame of offloading functions, the technical problem that message processing method of the prior art exists is described.
Suppose that the first main frame and the second main frame set up physical connection by switch, and set up session between the first main frame and the second main frame, two have the first network interface card in the network interface card of offloading functions is primary network interface card, second network interface card is network interface card for subsequent use, switch receives after the second main frame sends to the message of this session of the first main frame, can be forwarded to primary network interface card.
If the message of this session unloads entirely, then, after primary network interface card receives first message of this session that the second main frame is sent by switch, the message received is processed.If the message half uninstall of this session, after part of message in the message of then first this session of host process, according to processed message, generate up-to-date context and issue primary network interface card, primary network interface card receive the second main frame by switch send to should after the remainder message of session, primary network interface card, according to the up-to-date context received, processes the message received.
No matter be full unloading or half uninstall, after primary network interface card processes the message received, according to the message after process, generate up-to-date context, so that receive the second main frame by switch send to should after other messages of session, according to up-to-date context, other messages of this session are processed.When primary network interface card breaks down, switch receives after the second main frame sends to the message of the first main frame, network interface card for subsequent use can be forwarded to, because up-to-date context is that primary network interface card generates, be buffered in primary network interface card, so there is no up-to-date context in network interface card for subsequent use, cause network interface card for subsequent use cannot to process the message received.
In the face of above-mentioned technical problem, embodiments provide a kind of method of Message processing, the method is applicable to a kind of system processing message.As shown in Figure 1, this system comprises: the first main frame, the first network interface card and the second network interface card, described first network interface card and the network interface card of described second network card configuration belonging to described first main frame, first network interface card is primary network interface card, second network interface card is network interface card for subsequent use, and described first network interface card and described second network interface card all have offloading functions.Certainly, the quantity with the network interface card of offloading functions being configured to the network interface card belonging to described first main frame also can be two or more, and the embodiment of the present invention is two for the quantity with the network interface card of offloading functions be configured to belonging to described first main frame and is described.
Wherein, the first main frame sets up physical connection by switch and the second main frame, has communication network between switch and the second main frame, or switching network.The physical hardware that second main frame configures is not limited, as long as physical connection can be set up by switch and the first main frame, the network interface card with offloading functions of any amount can be configured in second main frame, also can configure the network interface card without offloading functions of any amount.
Please refer to Fig. 2, the method for the Message processing that the embodiment of the present invention provides comprises:
Step 21: described first network interface card receives the first message of session, processes, the context of other message time institute foundations of session described in generating process to described first message;
Step 22: described context is sent to described first main frame by described first network interface card;
Step 23: described first net card failure determined by described first main frame;
Step 24: described second network interface card of described first main frame instruction obtains described context.
In the embodiment of the present invention, the first host configuration has memory, for storing the context sent by primary network interface card received.Primary network card configuration has the first buffer, network card configuration for subsequent use has the second buffer, as shown in Figure 1, the content stored in the memory of the first host configuration is shared for the first buffer and the second buffer, primary network interface card can read the context stored in the memory of the first main frame, and be stored in the first buffer, and network interface card for subsequent use cannot read the context stored in the memory of the first main frame, the second buffer is empty.If primary net card failure and network interface card for subsequent use is normal, then the first main frame using network interface card for subsequent use as new primary network interface card, network interface card for subsequent use can read the context stored in the memory of the first main frame, and be stored in the second buffer, content invalid in first buffer or empty, until former primary network interface card recover normal after, the first main frame using former primary network interface card as new network interface card for subsequent use.
In addition, primary network interface card has the authority processed the message of the described session received, at the processed message of primary network interface card according to described session, the context of other message time institute foundations of session described in generating process is also stored into after in the buffer of self, also there is the authority be synchronized to by the up-to-date context stored in buffer in the memory of the first main frame, and network interface card for subsequent use does not have above-mentioned two kinds of authorities, until because primary net card failure and network interface card for subsequent use is normal, first main frame using network interface card for subsequent use as after new primary network interface card, network interface card for subsequent use just has above-mentioned two kinds of authorities, and former primary network interface card does not have above-mentioned two kinds of authorities simultaneously.
When primary network interface card is normal, switch receives after the second main frame sends to the message of described session of the first main frame, and can be transmitted to primary network interface card, like this, primary network interface card just have received the message of described session.The message of the described session received by primary network interface card is below called the first message of described session.
Primary network interface card, after the first message receiving described session, processes the first message of the described session received.Then according to the first processed message of described session, the context of other message time institute foundations of session described in generating process, and be stored in the buffer of self, then the context stored in the buffer of self is synchronized in the memory of the first main frame.
The health status of the primary network interface card of the first main frame real-time inspection and network interface card for subsequent use, or primary network interface card and network interface card for subsequent use timing can send health detection message to the first main frame, notice the health status of oneself.A health detecting method the simplest is exactly, primary network interface card and network interface card for subsequent use store the variable that the first main frame sends, and this variable is changed in timing, simultaneously the first main frame timer detects the variable that primary network interface card and network interface card for subsequent use send to the first main frame respectively, if the variable receiving the transmission of primary network interface card sends to the variable of primary network interface card identical with the first main frame, then think that primary network interface card does not regularly change the variable that the first main frame sends to primary network interface card, primary net card failure is described.In addition, if primary network interface card and network interface card for subsequent use be checked through faults itself also can proactive notification first main frame.
First main frame by perform above-mentioned health detecting method determine primary net card failure and network interface card for subsequent use is normal time, using network interface card for subsequent use as new primary network interface card, namely the authority that the message giving the described session of network interface card for subsequent use to receiving processes, so that network interface card for subsequent use, when the message of the described session received, processes the message of the described session received.Optionally, until former primary network interface card recover normal after, the first main frame using former primary network interface card as new network interface card for subsequent use.
When primary net card failure determined by the first main frame and network interface card for subsequent use is normal, switch receives after the second main frame sends to the message of described session of the first main frame, and can be transmitted to network interface card for subsequent use, like this, network interface card for subsequent use just have received the message of described session.
In order to the second main frame sends to the message repeating of the described session of the first main frame to network interface card for subsequent use by switch in time, the first main frame can perform following steps:
Other messages of described session are sent to described second network interface card by described first host notification switch, and described switch is used for the communication between described first main frame and the second main frame.
Particularly, the first main frame can send out a free address analysis protocol message or other any messages to new primary network interface card, be switched to port corresponding to new primary network interface card to make the message that switch mails to the described session of the first main frame.
But, the first main frame using network interface card for subsequent use after new primary network interface card, network interface card for subsequent use only has the authority processed the message of the described session received, can't process the message of the described session received, because there is no the context of other message time institute foundations of session described in caching process in the buffer of network interface card for subsequent use, this context is that primary network interface card generates, and is buffered in the buffer of primary network interface card, and has been synchronized in the memory of the first main frame.
In order to ensure that network interface card for subsequent use can process the message of the described session received, network interface card for subsequent use needs to obtain context from the memory of the first main frame, then processes according to the message of context to the described session received.
Network interface card for subsequent use obtains described context from the first main frame multiple embodiment, is described for following two kinds of embodiments at this:
Before the first embodiment is performed, further comprising the steps of:
Described network interface card for subsequent use receives the message of described session.
Correspondingly, the first embodiment comprises the following steps:
Described network interface card for subsequent use reads the described context that described first main frame stores.
In the first embodiment, the first main frame using network interface card for subsequent use after new primary network interface card, first main frame indicates network interface card for subsequent use to obtain context, if network interface card for subsequent use receives the message of described session, then network interface card for subsequent use can read described context from the memory of the first main frame.
Before the second embodiment is performed, further comprising the steps of:
Described first main frame reads described context from described primary network interface card.
Correspondingly, the second embodiment comprises the following steps:
Described network interface card for subsequent use receives the described context write by described first main frame.
It is not the scene of memory and buffer that the second execution mode data be applicable between the first main frame and primary network interface card and network interface card for subsequent use store.First main frame reads described context from primary network interface card, and then the described context read is write network interface card for subsequent use by the first main frame.
No matter be that by which kind of execution mode above-mentioned, network interface card for subsequent use can both obtain described context, like this, network interface card for subsequent use can perform step following steps:
Described network interface card for subsequent use receives the message of described session, according to described context, processes the message of the described session received.
Due to the first main frame using network interface card for subsequent use as new primary network interface card, so network interface card for subsequent use has the authority processed the message of described session, under this prerequisite, network interface card for subsequent use gets context, so network interface card for subsequent use can process the message of the described session received.
In another embodiment of the invention, consider primary network interface card in the process described context being sent to the first main frame with regard to fault, the context in the memory of the first main frame is caused to be partial refresh, such as: contextual first half section has refreshed, second half section does not also have enough time to refresh primary network interface card with regard to fault, causes context imperfect.Therefore, primary network interface card, after the described context of generation, can also perform following steps:
Described primary network interface card generates the first check value, and described first check value is sent to described first main frame;
Correspondingly, the first main frame can perform following steps:
Described first main frame generates the second check value according to the context received;
When described second check value is identical with described first check value, described first main frame determines that described context is complete.
Context is imperfect will cause network interface card correctly to process the message of the described session received.In order to evade the incomplete problem of above-mentioned context, such as, can add a check field within a context, calculating the check value made new advances when each primary network interface card refreshes and upgrading check field.Particularly, primary network interface card generates described context and after the context of generation is sent to the first main frame, then generates the first check value according to the context generated, and then the first check value is sent to the first main frame.Meanwhile, the first main frame, after the context receiving the transmission of primary network interface card, generates the second check value according to the context received, and the method that the first main frame generates the second check value employing is identical with the method that primary network interface card generates the first check value.Second check value compares with the first check value by last first main frame, if identical, then illustrate that context is complete, then the first main frame can indicate network interface card for subsequent use to obtain context, to ensure that network interface card for subsequent use can process the message of the described session received.
If the message of described session unloads entirely, then in abovementioned steps 21, if the message of the described session that primary network interface card receives is first message in all messages of described session, then do not have context, primary network interface card directly processes this first message.
If the message half uninstall of described session, after then the part of message of the first main frame to described session processes, according to the processed part of message of described session, the context of the residue message time institute foundation of session described in generating process, then this context is sent to primary network interface card, or this context stores in memory by the first main frame, primary network interface card, after the first message receiving described session belongs to the residue message of described session, reads this context from the memory of the first main frame.Correspondingly, in abovementioned steps 21, primary network interface card, according to the context received, processes the first message of the described session received.
The message processing method that the explanation embodiment of the present invention of giving one example below provides.The application scenarios of this example is: have the affiliated network interface card that the primary network interface card of offloading functions and network card configuration for subsequent use are the first main frame, the first main frame is set up TCP by switch with the second main frame and is connected.The message half uninstall that this TCP connects.
The first step: the first main frame processes the segment message that this TCP connects, generates context according to the processed segment message that this TCP connects.
Second step a: message in the residue message that this TCP connects by switch sends to primary network interface card, and primary network interface card obtains context from the first main frame, processes this message, and generate new context according to the message after process.
3rd step: new context is sent to the first main frame by primary network interface card.
4th step: primary net card failure determined by the first main frame and network interface card for subsequent use is normal.
5th step: network interface card for subsequent use as new primary network interface card, and is notified that other messages of described session are sent to described network interface card for subsequent use by switch by the first main frame.
6th step: network interface card for subsequent use receives other messages of the described session that switch sends.
7th step: network interface card for subsequent use obtains new context from the first main frame, processes the residue message that this TCP connects.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of system processing message.As shown in Figure 1, this messaging system is for performing the method for above-mentioned process message, and succinct in order to specification, just repeats no more at this.
Those skilled in the art should understand, the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The application describes with reference to according to the flow chart of the method for the embodiment of the present application, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the application and not depart from the spirit and scope of the application.Like this, if these amendments of the application and modification belong within the scope of the application's claim and equivalent technologies thereof, then the application is also intended to comprise these change and modification.

Claims (6)

1. process a method for message, it is characterized in that, be applied to a kind of system processing message, described system comprises: the first main frame, the first network interface card and the second network interface card, and described method comprises:
Described first network interface card receives the first message of session, processes, the context of other message time institute foundations of session described in generating process to described first message;
Described context is sent to described first main frame by described first network interface card;
Described first net card failure determined by described first main frame;
Described second network interface card of described first main frame instruction obtains described context.
2. the method for claim 1, is characterized in that, after described second network interface card obtains described context, described method also comprises:
Other messages of described session are sent to described second network interface card by described first host notification switch, and described switch is used for the communication between described first main frame and the second main frame.
3. method as claimed in claim 1 or 2, it is characterized in that, after the context of other message time institute foundations of session described in generating process, described method also comprises:
Described first network interface card generates the first check value according to described context, and described first check value is sent to described first main frame;
Before described second network interface card of described first main frame instruction obtains described context, described method also comprises:
Described first main frame generates the second check value according to the context received;
When described second check value is identical with described first check value, described first main frame determines that described context is complete.
4. process a system for message, it is characterized in that, described system comprises:
First main frame, the first network interface card and the second network interface card;
Wherein, described first network interface card is used for: the first message receiving session, processes described first message, the context of other message time institute foundations of session described in generating process; Described context is sent to described first main frame;
Described first main frame is used for: determine described first net card failure; Described second network interface card is indicated to obtain described context.
5. system as claimed in claim 4, is characterized in that, described first main frame also for:
Other messages of described session are sent to described second network interface card by notice switch, and described switch is used for the communication between described first main frame and the second main frame.
6. the system as described in claim 4 or 5, is characterized in that, described first network interface card also for:
Generate the first check value according to described context, and described first check value is sent to described first main frame;
Described first main frame also for: generate the second check value according to the context received; When described second check value is identical with described first check value, determine that described context is complete.
CN201510704864.6A 2015-10-26 2015-10-26 Method and system for processing message Pending CN105245387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510704864.6A CN105245387A (en) 2015-10-26 2015-10-26 Method and system for processing message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510704864.6A CN105245387A (en) 2015-10-26 2015-10-26 Method and system for processing message

Publications (1)

Publication Number Publication Date
CN105245387A true CN105245387A (en) 2016-01-13

Family

ID=55042898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510704864.6A Pending CN105245387A (en) 2015-10-26 2015-10-26 Method and system for processing message

Country Status (1)

Country Link
CN (1) CN105245387A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071430A1 (en) * 2015-10-26 2017-05-04 华为技术有限公司 Message processing method, network card, system, information update method, and server
WO2021208101A1 (en) * 2020-04-17 2021-10-21 华为技术有限公司 Stateful service processing method and apparatus
WO2023143618A1 (en) * 2022-01-30 2023-08-03 华为技术有限公司 Method for reading data or method for writing data, and system related thereto

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046330A1 (en) * 2001-09-04 2003-03-06 Hayes John W. Selective offloading of protocol processing
CN1679003A (en) * 2002-09-05 2005-10-05 国际商业机器公司 Remote direct memory access enabled network interface controller switchover and switchback support
CN103957242A (en) * 2014-04-16 2014-07-30 北京大学工学院南京研究院 Internet-of-things gateway achieving IP virtualization conversion

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046330A1 (en) * 2001-09-04 2003-03-06 Hayes John W. Selective offloading of protocol processing
CN1679003A (en) * 2002-09-05 2005-10-05 国际商业机器公司 Remote direct memory access enabled network interface controller switchover and switchback support
CN103957242A (en) * 2014-04-16 2014-07-30 北京大学工学院南京研究院 Internet-of-things gateway achieving IP virtualization conversion

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071430A1 (en) * 2015-10-26 2017-05-04 华为技术有限公司 Message processing method, network card, system, information update method, and server
WO2021208101A1 (en) * 2020-04-17 2021-10-21 华为技术有限公司 Stateful service processing method and apparatus
WO2023143618A1 (en) * 2022-01-30 2023-08-03 华为技术有限公司 Method for reading data or method for writing data, and system related thereto

Similar Documents

Publication Publication Date Title
US11403227B2 (en) Data storage method and apparatus, and server
CN111682927B (en) Message synchronization method, device, equipment and medium based on MLAG environment
CN111917846A (en) Kafka cluster switching method, device and system, electronic equipment and readable storage medium
US9430221B2 (en) Device and method for updating firmware of a rackmount server system
CN103401726A (en) Network path detecting method, device and system
CN102882704B (en) Link protection method in the soft reboot escalation process of a kind of ISSU and equipment
CN106209449A (en) A kind of method and device binding network interface card
US9838110B2 (en) Dynamic link repair from lane failure with minimal link-down time while sparing fault channels
US10437851B2 (en) Synchronizing object in local object storage node
CN107688503A (en) A kind of message treatment method based on ActiveMQ data/address bus, device and electronic equipment
CN105245387A (en) Method and system for processing message
CN107948063B (en) Method for establishing aggregation link and access equipment
CN110620739B (en) BFD message sending method and device
CN104270287A (en) Message disorder detecting method and device
CN104407947A (en) Main/backup NAS (Network attached storage) switching method and device
CN105406989A (en) Message processing method, network card and system, information updating method and host
CN105141696A (en) File uploading method and device
CN102325171B (en) Data storage method in monitoring system and system
CN111988391A (en) Message sending method and device
CN104426624A (en) Synchronous image display method and apparatus
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN112131201B (en) Method, system, equipment and medium for high availability of network additional storage
CN111130941B (en) Network error detection method and device and computer readable storage medium
CN104009873A (en) Processing method and device for iSCSI
US10951536B1 (en) Sequence number recovery in stateful devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160113

RJ01 Rejection of invention patent application after publication