CN110445826B - Session information acquisition method, device and server - Google Patents

Session information acquisition method, device and server Download PDF

Info

Publication number
CN110445826B
CN110445826B CN201810421410.1A CN201810421410A CN110445826B CN 110445826 B CN110445826 B CN 110445826B CN 201810421410 A CN201810421410 A CN 201810421410A CN 110445826 B CN110445826 B CN 110445826B
Authority
CN
China
Prior art keywords
session information
server
connection
session
storage medium
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
CN201810421410.1A
Other languages
Chinese (zh)
Other versions
CN110445826A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810421410.1A priority Critical patent/CN110445826B/en
Publication of CN110445826A publication Critical patent/CN110445826A/en
Application granted granted Critical
Publication of CN110445826B publication Critical patent/CN110445826B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Abstract

The application provides a session information acquisition method, a session information acquisition device and a server, wherein the method comprises the following steps: the network card driving module acquires session information and stores the session information to a first storage medium; the network card driving module sends a first event instruction to the session information acquisition module; and the session information acquisition module acquires the session information from the first storage medium according to the first event instruction. By the technical scheme, the problems that the acquisition period is not easy to determine, session information is omitted and the like can be solved, all session information can be acquired, and the problem that the session information is lost is solved.

Description

Session information acquisition method, device and server
Technical Field
The present application relates to the field of internet, and in particular, to a method, an apparatus, and a server for acquiring session information.
Background
In the conventional TCP (Transmission Control Protocol)/IP technology, a large amount of server resources and memory bus bandwidth are occupied by an operating system and other software layers during data Processing, data is copied and moved back and forth among a system memory, a processor cache and a network controller cache, heavy burden is imposed on a CPU (Central Processing Unit) and a memory, and especially network bandwidth, mismatching between processor speed and memory bandwidth and network delay effect are further aggravated.
Therefore, an RDMA (Remote Direct Memory Access) technology is proposed, which is a Direct Memory Access technology and can directly transmit data from a Memory of one server to another server without intervention of operating systems of both parties and causing any influence on the operating systems. RDMA can be understood simply as: by using hardware and network technology, the network card of the server 1 can directly read and write the memory of the server 2, and finally the effects of high bandwidth, low delay and low resource utilization rate are achieved, and the application program does not need to participate in the data transmission process, and only needs to specify the memory read-write address, start transmission and wait for the completion of the transmission.
The session information is an important parameter of the RDMA technology, and the network connection state and the activity degree of network flow can be analyzed by collecting the session information, so that the functions of helping to position network hotspots, assisting in troubleshooting and the like are achieved. The conventional collection method is to collect session information periodically, for example, collecting session information once every 1 minute, however, the conventional collection method has the problems that the collection period is not easy to determine, the session information is omitted, and the like. For example, if the acquisition period is too short, the processing pressure of the server is increased by frequently acquiring the session information, the load of the server is increased, and even the processing of the normal service is affected, and if the acquisition period is too long, the session information is missed.
Disclosure of Invention
The application provides a session information acquisition method, which is applied to a server, wherein the server comprises a network card driving module and a session information acquisition module, and the method comprises the following steps:
the network card driving module acquires session information and stores the session information to a first storage medium;
the network card driving module sends a first event instruction to the session information acquisition module;
and the session information acquisition module acquires the session information from the first storage medium according to the first event instruction.
The application provides a session information acquisition method, which is applied to a server and comprises the following steps:
when the server establishes connection with another server, establishing a session corresponding to the connection;
acquiring session information corresponding to the session, and storing the session information to a first storage medium;
receiving a first event instruction aiming at the session information, determining that new session information is added in the first storage medium according to the first event instruction, and acquiring the new session information from the first storage medium.
The application provides a session information acquisition method, which is applied to a server adopting an RDMA mode to establish connection, wherein the server comprises a network card driving module and a session information acquisition module, and the method comprises the following steps:
the network card driving module acquires session information corresponding to at least two types of connections and stores the acquired session information into a first storage medium; wherein the at least two types of connections comprise connections established based on an application programming interface kernel module and connections established based on a connection management interface kernel module;
the session information acquisition module acquires session information from the first storage medium.
The application provides a session information acquisition device, is applied to the server, includes:
the network card driving module is used for acquiring session information, storing the session information into a first storage medium and sending a first event instruction to the session information acquisition module;
and the session information acquisition module is used for acquiring the session information from the first storage medium according to the first event instruction.
The application provides a session information acquisition device, is applied to the server, includes:
the establishment module is used for establishing a session corresponding to the connection and acquiring session information corresponding to the session when the server establishes the connection with another server;
the storage module is used for storing the session information to a first storage medium;
and the acquisition module is used for receiving a first event instruction aiming at the session information, determining that new session information is added in the first storage medium according to the first event instruction, and acquiring the new session information from the first storage medium.
The application provides a session information acquisition device, which is applied to a server adopting an RDMA mode to establish connection, and the device comprises:
the network card driving module is used for acquiring session information corresponding to at least two types of connections and storing the acquired session information into a first storage medium; wherein the at least two types of connections comprise connections established based on an application programming interface kernel module and connections established based on a connection management interface kernel module;
and the session information acquisition module is used for acquiring session information from the first storage medium.
The present application provides a server comprising: a processor and a machine-readable storage medium having stored thereon a plurality of computer instructions, the processor when executing the computer instructions performs: acquiring session information through a network card driving module, and storing the session information to a first storage medium; sending a first event instruction to a session information acquisition module through a network card driving module; and acquiring the session information from the first storage medium through a session information acquisition module according to the first event instruction.
The present application provides a server comprising: a processor and a machine-readable storage medium having stored thereon a plurality of computer instructions, the processor when executing the computer instructions performs: when the server establishes connection with another server, establishing a session corresponding to the connection; acquiring session information corresponding to the session, and storing the session information to a first storage medium; receiving a first event instruction aiming at the session information, determining that new session information is added in a first storage medium according to the first event instruction, and acquiring the new session information from the first storage medium.
The application provides a server for establishing connection by adopting an RDMA mode, which comprises the following steps: a processor and a machine-readable storage medium having stored thereon a plurality of computer instructions, the processor when executing the computer instructions performs: acquiring session information corresponding to at least two types of connections through a network card driving module, and storing the acquired session information into a first storage medium; wherein the at least two types of connections comprise connections established based on an application programming interface kernel module and connections established based on a connection management interface kernel module; and acquiring the session information from the first storage medium through a session information acquisition module.
Based on the above technical scheme, in the embodiment of the application, after the network card driving module acquires the session information, the network card driving module may store the session information in the first storage medium, and send the first event instruction to the session information acquisition module. The session information acquisition module acquires the session information from the first storage medium after receiving the first event instruction, rather than acquiring the session information periodically, so that the problems that the acquisition period is not easy to determine, the session information is omitted and the like can be solved. For example, the session information collection module does not need to determine the collection period, and there is no problem in determining the collection period. In addition, when the session information changes every time, the network card driving module sends a first event instruction to the session information acquisition module to trigger the session information acquisition module to acquire the session information, namely, each change of the session information triggers the session information acquisition module to acquire the session information, so that all the session information can be acquired, the problem of session information loss is solved, the accuracy and the integrity of the session information are improved, the granularity and the timeliness of acquiring the session information are improved, and the influence on a service system is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present application or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present application.
FIGS. 1A-1C are schematic diagrams of an application scenario in an embodiment of the present application;
fig. 2A and fig. 2B are flowcharts illustrating a session information obtaining method according to an embodiment of the present application;
fig. 3 is a flowchart of a session information acquisition method according to another embodiment of the present application;
fig. 4 is a block diagram of a session information acquisition apparatus according to an embodiment of the present application;
fig. 5 is a block diagram of a session information acquisition apparatus according to another embodiment of the present application.
Detailed Description
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
The embodiment of the application provides a session information acquisition method, which can be applied to a server, wherein the server can acquire data from another server by adopting an RDMA (remote direct memory access) technology, the RDMA technology is a direct memory access technology, the data can be directly transmitted from a memory of one server to another server, the intervention of operating systems of two parties is not needed, the influence on the operating systems is avoided, zero copy and kernel bypass can be realized through hardware, the participation of a CPU (central processing unit) is not needed, and high-performance data access can be provided.
In one example, the server may include, but is not limited to: the device comprises a network card driving module and a session information acquisition module. The network card driver module may be a driver (referred to as a device driver) for implementing communication between the operating system and the hardware device, and is equivalent to an interface of the hardware device, and the operating system can only control the operation of the hardware device through the driver. The session information acquisition module is used for acquiring session information and providing the session information for the upper layer application, so that the upper layer application analyzes the network connection state and the activity degree of network flow according to the session information, and the functions of helping to position network hotspots, assisting in troubleshooting and the like are achieved.
Referring to fig. 1A, which is a schematic view of an application scenario in the embodiment of the present application, a server may include, but is not limited to: the device comprises a network card driving module, a session information acquisition module, an application programming interface kernel module and a connection management interface kernel module. The application programming interface can be Verbs, and the Verbs are the bottom application programming interface defined by the RDMA technology and can provide the most basic management and transmission interface; the application programming interface kernel module is a kernel module for realizing the application programming interface function and can be controlled by an application program. In addition, the connection management interface kernel module can be rdmacm, and the rdmacm is a connection management interface defined by the RDMA technology, and can provide management interfaces for creating and destroying connections; the connection management interface kernel module is a kernel module for realizing the function of the connection management interface and can be controlled by an application program.
Referring to fig. 1B, the connection management interface kernel module may record session information of all sessions established by the application program through the connection management interface, and the connection management interface kernel module may provide a query interface to the session information collection module. Further, the session information collection module may collect the session information from the connection management interface kernel module periodically, for example, once every 1 minute, by accessing the query interface periodically.
However, the above-described method has the following problems: the acquisition period is not easy to determine and the session information is omitted. For example, if the collection period is too short, frequent collection of session information may increase the processing pressure of the server, increase the load of the server, and even affect the processing of normal services. If the acquisition period is too large, the session information is missed; for example, the session information collection module collects session information at time a and time B, and if a piece of session information is created after time a and deleted before time B, the session information collection module cannot collect the session information, so that session information between two collection operations is omitted.
In addition, the session information collection module can only collect session information from the connection management interface kernel module, and cannot collect all session information. For example, if an application program does not use the connection management interface to establish a session, but uses the application programming interface to establish a session, session information of the session is recorded in the application programming interface kernel module, and since the application programming interface kernel module does not provide a query interface to the session information collection module, the session information collection module cannot collect the session information from the application programming interface kernel module.
Different from the above manner, referring to fig. 1C, all session information (for example, without limitation, session information generated when a session is established using a connection management interface, session information generated when a session is established using an application programming interface, and the like) may be acquired by the network card driver module, and may be stored in the first storage medium. Moreover, when the session information changes each time, the network card driving module can send an event instruction to the session information acquisition module to indicate that the session information changes. After receiving the event instruction, the session information acquisition module may determine that the session information changes, and acquire the session information from the first storage medium.
Whether a session is established with another server by using the connection management interface or the application programming interface, the session needs to be established with another server by the network card driving module of the server. Based on this, the network card driver module may obtain all session information (e.g., session information when a session is established using the connection management interface, session information when a session is established using the application programming interface, etc.).
When the network card driving module stores the session information to the first storage medium, the session information may be stored to the first storage medium in a file format; therefore, the session information directly uses the file interface and is stored in the first storage medium in a directory and file mode, and the transparency of the session information is increased. Of course, the network card driver module may also store the session information in the first storage medium in other manners, which is not limited to this.
When the session information acquisition module acquires the session information from the first storage medium, the session information in the file format is acquired from the first storage medium, that is, the session information acquisition module can access the session information through a standard file interface, so that the application range of the session information acquisition module is expanded.
The session information acquisition module may monitor the network card driver module, determine that the session information changes (for example, session information of a newly-built session is added or an existing session is deleted) once an event instruction sent by the network card driver module is monitored, and acquire the session information from the first storage medium.
In the above embodiment, the first storage medium may include, but is not limited to, a memory of the server, and it is considered that the session information in the memory is deleted after power failure, therefore, after the session information acquisition module acquires the session information from the first storage medium, the session information may also be stored in the second storage medium, and the second storage medium may include, but is not limited to, a magnetic disk of the server, so as to ensure that the session information is not deleted due to power failure.
The disk of the server may further include, but is not limited to: a Solid State Drive (SSD), a Hybrid Hard Drive (HHD), a Hard Disk Drive (HDD), or the like, but may also be a phase change memory type Disk, a quantum memory type Disk, a graphene memory type Disk, or the like, and the type of the Disk is not limited.
In one example, protocols that support RDMA techniques may include, but are not limited to: IB (InfiniBand ), RoCE (RDMA over Converged Ethernet), iWARP (Internet Wide Area RDMA Protocol), etc., which are not limited to this, in this embodiment, RoCE is taken as an example for description, and the processing manner of other protocols is similar. In the RDMA technique based on the RoCE, the session information may also be referred to as RoCE session information.
In one example, a session refers to a mechanism that is established by both ends of a network through a transport layer and can be used for data exchange, and represents an end-to-end connection established through a RoCE technology, and all information corresponding to the session is called session information. The session information is an important parameter of RDMA, and the network connection state and the activity degree of network flow can be analyzed through the session information, so that the functions of helping to position network hotspots, assisting in troubleshooting and the like are achieved.
For example, if a connection is established between the server 1 and the server 2, the session information of the session corresponding to the connection may include, but is not limited to: session identifier, IP address of server 1, IP address of server 2, session state (such as establishment state, use state, destruction state, etc.), QP (Queue Pairs) information (such as QP number identifier, etc.) of server 1, QP information of server 2, etc. Of course, the above-mentioned session information is only an example of the present application, and the content of the session information is not limited in detail.
The RoCE is a standard of RDMA over ethernet, and may include two transmission modes, one mode is an RC (Reliable Connection) transmission mode, and the other mode is an UD (Unreliable data transmission) transmission mode. The RC transmission mode is a reliable transmission technology oriented to connection, and needs to ensure the reliability of transmission through mechanisms such as response and order preservation. The UD transmission mode is a non-connection-oriented data transmission technology, and mechanisms such as response and order preservation do not need to be provided to ensure the reliability of transmission. Based on this, the connection established between the server 1 and the server 2 may be an RC connection or an UD connection.
Wherein, QP (Queue Pairs) resources are basic resources for sending and receiving messages, and may include a sending Queue and a receiving Queue, each QP resource has a unique QP number identifier, and the QP resources are allocated and managed by network card hardware. For example, for a certain service 1 between the server 1 and the server 2, the server 1 allocates a QP resource a for the service 1, and the server 2 allocates a QP resource B for the service 1, so that when a connection is established between the server 1 and the server 2, the QP resource a of the server 1 is used to establish a connection with the QP resource B of the server 2, the QP information of the server 1 may be a QP number identifier of the QP resource a, and the QP information of the server 2 may be a QP number identifier of the QP resource B.
In an example, when establishing a connection between the QP resource a of the server 1 and the QP resource B of the server 2 to establish an RC connection or an UD connection, the server 1 may further send the QP number identifier of the QP resource a to the server 2, and the server 2 establishes a correspondence between the QP number identifier of the QP resource a and the QP number identifier of the QP resource B; similarly, the server 2 may also send the QP number identifier of the QP resource B to the server 1, and the server 1 establishes a correspondence between the QP number identifier of the QP resource B and the QP number identifier of the QP resource a. Of course, the above establishment procedure is only one example of establishing an RC connection or an UD connection, and the establishment procedure of the RC connection or the UD connection is not limited.
In the application scenario, referring to fig. 2A, a flowchart of a session information obtaining method provided in the embodiment of the present application is shown, where the method may be applied to a server, and the server may include but is not limited to: the method comprises the following steps of:
step 201, the network card driver module obtains the session information and stores the session information in a first storage medium.
The network card driving module of the server can establish a session with another server no matter whether the connection management interface is used for establishing the session with another server or the application programming interface is used for establishing the session with another server. Based on this, the network card driver module may obtain all session information (e.g., session information when a session is established using the connection management interface, session information when a session is established using the application programming interface, etc.).
The network card driver module obtains the session information, which may include but is not limited to: when the server establishes a connection with another server through the network card driving module, the network card driving module can establish a session corresponding to the connection and acquire session information corresponding to the session, and the session information acquisition process is not limited.
In one example, the server establishes a connection with another server through the network card driver module, which may include but is not limited to: in the first mode, the network card driving module can acquire the connection information of another server from the application programming interface kernel module, and establish connection with the connection information of another server by using the connection information of the server. And in the second mode, the network card driving module can acquire the connection information of the other server from the connection management interface kernel module and establish connection with the connection information of the other server by using the connection information of the server.
For the first mode, if the server uses the application programming interface to establish the session, the application programming interface kernel module may obtain the connection information of another server (e.g., the IP address and QP information of another server) from another server, and provide the connection information of another server to the network card driver module. Based on this, the network card driver module may obtain the connection information of another server from the application programming interface kernel module, and obtain the connection information of the server (such as the IP address and QP information of the server), and the obtaining manner is not limited. Then, the network card driving module may establish a connection, such as an RC connection or an UD connection, with connection information of another server by using the connection information of the server, without limitation to the establishment process.
After the network card driving module establishes connection with the connection information of another server by using the connection information of the server, a session corresponding to the connection can be established, and session information corresponding to the session, such as a session identifier, an IP address of the server, an IP address of another server, a session state (such as an establishment state, a use state, a destruction state, and the like), QP information of the server, QP information of another server, and the like, can be acquired.
In order to obtain the connection information of the other server from the other server, the api kernel module may establish a TCP connection or a UDP (User Datagram Protocol) connection with the other server, and obtain the connection information of the other server from the other server through the TCP connection or the UDP connection, which is not limited to this process.
For the second mode, if the server uses the connection management interface to establish the session, the connection management interface kernel module may read the connection information of another server (e.g., the IP address and QP information of another server) from the user mode repository, and provide the connection information of another server to the network card driver module. Based on this, the network card driver module may obtain the connection information of another server from the connection management interface kernel module, and obtain the connection information of the server (such as the IP address and QP information of the server), and the obtaining manner is not limited. Then, the network card driving module may establish a connection, such as an RC connection or an UD connection, with connection information of another server by using the connection information of the server, without limitation to the establishment process.
After the network card driving module establishes connection with the connection information of another server by using the connection information of the server, a session corresponding to the connection can be established, and session information corresponding to the session, such as a session identifier, an IP address of the server, an IP address of another server, a session state (such as an establishment state, a use state, a destruction state, and the like), QP information of the server, QP information of another server, and the like, can be acquired.
The reading, by the connection management interface kernel module, connection information of another server from the user mode repository may include: receiving connection information of another server input by a user, and storing the connection information of the other server in a user mode storage library; or capturing the connection information of another server from all the data and storing the connection information of the other server into the user state storage library. The process is not limited as long as the connection information of another server can be obtained and stored in the user state repository. Based on this, the connection management interface kernel module may read connection information of another server from the user state repository.
In one example, the network card driver module stores the session information to the first storage medium, which may include but is not limited to: the network card driving module stores the session information to a first storage medium in a file format; that is, the session information can be directly saved in the first storage medium in a directory and file manner using the file interface, thereby increasing the transparency of the session information. Of course, the network card driving module may also store the session information in the first storage medium by using other manners, such as a picture format, and the storage format is not limited.
In an example, the network card driver module may further add a record locally, which indicates that a session is established between the server and another server, and the content of the record is not limited.
Step 202, the network card driving module sends a first event instruction to the session information collecting module.
In one example, since the network card driving module can acquire all session information, when the session information changes each time, the network card driving module can acquire the change event and can send a first event instruction to the session information acquisition module to indicate that the session information has changed.
In step 203, the session information collection module obtains session information from the first storage medium according to the first event instruction. After receiving the first event instruction sent by the network card driving module, the session information acquisition module may determine that the session information changes, and acquire the session information from the first storage medium.
The session information acquisition module may monitor the network card driving module, determine that the session information changes (for example, session information for adding a new session) once a first event instruction sent by the network card driving module is monitored, and may acquire the session information for adding the new session from the first storage medium.
When the session information acquisition module acquires the session information from the first storage medium according to the first event instruction, the session information in the file format is acquired from the first storage medium according to the first event instruction, that is, the session information acquisition module can access the session information through a standard file interface, so that the application range of the session information acquisition module is expanded.
In the above embodiment, the first storage medium may include, but is not limited to, a memory of the server, and it is considered that the session information in the memory is deleted after power failure, therefore, after the session information acquisition module acquires the session information from the first storage medium according to the first event instruction, the session information may also be stored in the second storage medium, and the second storage medium may include, but is not limited to, a disk of the server, so as to ensure that the session information is not deleted due to power failure.
In an example, the execution sequence is only an example given for convenience of description, and in practical applications, the execution sequence between steps may also be changed, and the execution sequence is not limited. Moreover, in other embodiments, the steps of the respective methods do not have to be performed in the order shown and described herein, and the methods may include more or less steps than those described herein. Moreover, a single step described in this specification may be broken down into multiple steps for description in other embodiments; multiple steps described in this specification may be combined into a single step in other embodiments.
Referring to fig. 2B, another flowchart of a session information obtaining method is shown, where the method may be applied to a server, and the server may include a network card driving module and a session information collecting module, and the method may include:
in step 211, the network card driver module deletes the session corresponding to the session information recorded in the first storage medium.
The session deletion method includes that the network card drive module records a session corresponding to the session information in the first storage medium, and may include, but is not limited to: when the server is disconnected from another server through the network card driving module, the network card driving module may release the session corresponding to the connection, query session information corresponding to the session from the first storage medium, and record that the session corresponding to the session information is deleted in the first storage medium.
In one example, when the server is disconnected from another server, the network card driver module of the server may disconnect from the other server, and the network card driver module may release the session corresponding to the connection, and further, the network card driver module may query the session information corresponding to the session from the first storage medium, and record the session corresponding to the session information in the first storage medium and delete the session.
The network card driver module records that the session corresponding to the session information is deleted in the first storage medium, and may include but is not limited to: the network card driving module adds data in the session information of the first storage medium, where the data is used to indicate that the session corresponding to the session information is deleted, and the content of the data is not limited. Or, the network card driver module deletes the session information from the first storage medium, and after the session information is deleted, it may indicate that the session corresponding to the session information is deleted. Of course, the above-described manner is merely an example, and is not limited thereto.
In one example, after the network card driver module releases a session, a record may be added locally to indicate that the session between the server and another server is deleted, and the content of the record is not limited.
In step 212, the network card driver module sends a second event instruction to the session information collection module.
Because the network card driving module can know that the session is deleted, the network card driving module can send a second event instruction to the session information acquisition module to indicate that the session is deleted every time the session is deleted.
In step 213, the session information collection module obtains the session information of the deleted session from the first storage medium according to the second event instruction. After receiving the second event instruction sent by the network card driving module, the session information acquisition module may determine that the session is deleted, that is, the session corresponding to the session information is deleted, and therefore, the session information of the deleted session may be acquired from the first storage medium.
For example, if data is added to the session information of the first storage medium and the data indicates that the session corresponding to the session information is deleted, the session information collection module determines that the session information is the session information of the session that has been deleted by analyzing the data. Or, if the session information is deleted from the first storage medium, the session information that has been deleted is determined by comparing the current session information with the last session information.
The session information acquisition module can monitor the network card drive module, determine that a session is deleted once a second event instruction sent by the network card drive module is monitored, and can acquire session information of the deleted session from the first storage medium.
In an example, after the session information acquisition module acquires the session information of the session that has been deleted from the first storage medium according to the second event instruction, the session corresponding to the session information may also be recorded in the second storage medium to be deleted, and the recording manner is similar to the manner in which the session is recorded in the first storage medium to be deleted, and is not described herein again.
Based on the above technical scheme, in the embodiment of the application, after the network card driving module acquires the session information, the network card driving module may store the session information in the first storage medium, and send the first event instruction to the session information acquisition module. The session information acquisition module acquires the session information from the first storage medium after receiving the first event instruction, rather than acquiring the session information periodically, so that the problems that the acquisition period is not easy to determine, the session information is omitted and the like can be solved. For example, the session information collection module does not need to determine the collection period, and there is no problem in determining the collection period. In addition, when the session information changes every time, the network card driving module sends a first event instruction to the session information acquisition module to trigger the session information acquisition module to acquire the session information, namely, each change of the session information triggers the session information acquisition module to acquire the session information, so that all the session information can be acquired, the problem of session information loss is solved, the accuracy and the integrity of the session information are improved, the granularity and the timeliness of acquiring the session information are improved, and the influence on a service system is reduced.
Based on the same application concept as the above method, another session information acquisition method is also proposed in the embodiment of the present application, and referring to fig. 3, the method is a flowchart of the session information acquisition method proposed in the embodiment of the present application, and the method may be applied to a server, and the method may include the following steps:
step 301, when a server establishes a connection with another server, a session corresponding to the connection is established.
The server establishes a connection with another server, and the method can include: acquiring the connection information of another server from an application programming interface kernel module of the server, and establishing connection with the connection information of the other server by using the connection information of the server; or acquiring the connection information of another server from the connection management interface kernel module of the server, and establishing connection with the connection information of the other server by using the connection information of the server.
Step 302, session information corresponding to the session is obtained, and the session information is stored in a first storage medium.
Step 303, receiving a first event instruction for the session information, determining to add new session information to the first storage medium according to the first event instruction, and acquiring new session information from the first storage medium.
For example, when a server establishes a connection with another server, the network card driving module establishes a session corresponding to the connection, acquires session information corresponding to the session, stores the session information in a first storage medium, and sends a first event instruction for the session information to the session information acquisition module. Further, after receiving the first event instruction for the session information, the session information collection module may determine that new session information is added to the first storage medium, and may obtain the new session information from the first storage medium.
The processing in steps 301 to 303 can be referred to as step 201 and 203, and will not be described herein.
In one example, when the server is disconnected from another server, the session corresponding to the connection may be released, the session information corresponding to the session is queried from the first storage medium, and the session corresponding to the session information is recorded in the first storage medium to be deleted; and receiving a second event instruction aiming at the session information, and acquiring the session information of the deleted session from the first storage medium according to the second event instruction. For example, when the server is disconnected from another server, the network card driving module releases the session corresponding to the connection, queries session information corresponding to the session from the first storage medium, records that the session corresponding to the session information is deleted in the first storage medium, and sends a second event instruction for the session information to the session information acquisition module. And after receiving a second event instruction aiming at the session information, the session information acquisition module acquires the session information of the deleted session from the first storage medium.
The processing of the above process can be referred to as step 211-213, which is not described herein again.
Based on the same application concept as the method, another session information acquisition method is also provided in the embodiment of the present application, and the method can be applied to a server that establishes a connection in an RDMA manner, where the server includes a network card driver module and a session information acquisition module, and the method includes:
the network card driving module acquires session information corresponding to at least two types of connections and stores the acquired session information into a first storage medium; wherein the at least two types of connections include a connection established based on an application programming interface kernel module and a connection established based on a connection management interface kernel module.
The session information acquisition module acquires session information from the first storage medium.
The session information acquisition module acquires session information from the first storage medium, which may include but is not limited to: the session information acquisition module acquires session information from the first storage medium according to a first event instruction; the first event instruction is sent to the session information acquisition module by the network card driving module after the session information is stored in the first storage medium.
For the above process, reference may be made to the session information obtaining method in the above embodiment, which is not described herein again.
Based on the same application concept as the method, an embodiment of the present application further provides a session information obtaining apparatus, applied to a server, as shown in fig. 4, and being a structural diagram of the apparatus, where the apparatus includes:
the network card driving module 401 is configured to acquire session information, store the session information in a first storage medium, and send a first event instruction to the session information acquisition module;
a session information collecting module 402, configured to obtain the session information from the first storage medium according to the first event instruction.
When the network card driver module 401 acquires the session information, it is specifically configured to: when the network card driving module establishes connection with another server, establishing a session corresponding to the connection, and acquiring session information corresponding to the session; the device also comprises an application programming interface kernel module and/or a connection management interface kernel module; when the network card driving module 401 establishes a connection with another server, it is specifically configured to: acquiring the connection information of another server from an application programming interface kernel module, and establishing connection with the connection information of the another server by using the connection information of the server; or acquiring the connection information of another server from the connection management interface kernel module, and establishing connection with the connection information of the other server by using the connection information of the server.
Based on the same application concept as the method, an embodiment of the present application provides a server, including a processor and a machine-readable storage medium, where the machine-readable storage medium has a plurality of computer instructions stored thereon, and when the processor executes the computer instructions, the processor performs the following processing: acquiring session information through a network card driving module, and storing the session information to a first storage medium; sending a first event instruction to a session information acquisition module through a network card driving module; and acquiring the session information from the first storage medium through a session information acquisition module according to the first event instruction.
Based on the same application concept as the method, the embodiment of the present application further provides a machine-readable storage medium, where a plurality of computer instructions are stored on the machine-readable storage medium, and when executed, the computer instructions perform the following processes: acquiring session information through a network card driving module, and storing the session information to a first storage medium; sending a first event instruction to a session information acquisition module through a network card driving module; and acquiring the session information from the first storage medium through a session information acquisition module according to the first event instruction.
Based on the same application concept as the method, an embodiment of the present application further provides a session information obtaining apparatus, applied to a server, as shown in fig. 5, which is a structural diagram of the apparatus, where the apparatus includes:
an establishing module 501, configured to establish a session corresponding to a connection when the server establishes the connection with another server, and acquire session information corresponding to the session;
a storage module 502, configured to store the session information in a first storage medium;
the obtaining module 503 is configured to receive a first event instruction for the session information, determine, according to the first event instruction, to add new session information to the first storage medium, and obtain new session information from the first storage medium.
Based on the same application concept as the method, an embodiment of the present application provides a server, including a processor and a machine-readable storage medium, where the machine-readable storage medium stores a plurality of computer instructions, and when the processor executes the computer instructions, the processor performs the following processing: when the server establishes connection with another server, establishing a session corresponding to the connection; acquiring session information corresponding to the session, and storing the session information to a first storage medium; receiving a first event instruction aiming at the session information, determining that new session information is added in a first storage medium according to the first event instruction, and acquiring the new session information from the first storage medium.
Based on the same application concept as the method, the embodiment of the present application further provides a machine-readable storage medium, where a plurality of computer instructions are stored on the machine-readable storage medium, and when executed, the computer instructions perform the following processes: when the server establishes connection with another server, establishing a session corresponding to the connection; acquiring session information corresponding to the session, and storing the session information to a first storage medium; receiving a first event instruction aiming at the session information, determining that new session information is added in a first storage medium according to the first event instruction, and acquiring the new session information from the first storage medium.
Based on the same application concept as the method described above, an embodiment of the present application further provides a session information obtaining apparatus, which is applied to a server that establishes a connection in an RDMA manner, where the apparatus includes:
the network card driving module is used for acquiring session information corresponding to at least two types of connections and storing the acquired session information into a first storage medium; wherein the at least two types of connections comprise connections established based on an application programming interface kernel module and connections established based on a connection management interface kernel module;
and the session information acquisition module is used for acquiring session information from the first storage medium.
Based on the same application concept as the method described above, an embodiment of the present application provides a server that establishes a connection in an RDMA manner, including a processor and a machine-readable storage medium, where a plurality of computer instructions are stored on the machine-readable storage medium, and when the processor executes the computer instructions, the processor performs the following processing: acquiring session information corresponding to at least two types of connections through a network card driving module, and storing the acquired session information into a first storage medium; wherein the at least two types of connections comprise connections established based on an application programming interface kernel module and connections established based on a connection management interface kernel module; and acquiring the session information from the first storage medium through a session information acquisition module.
Based on the same application concept as the method, the embodiment of the present application further provides a machine-readable storage medium, where a plurality of computer instructions are stored on the machine-readable storage medium, and when executed, the computer instructions perform the following processes: acquiring session information corresponding to at least two types of connections through a network card driving module, and storing the acquired session information into a first storage medium; wherein the at least two types of connections comprise connections established based on an application programming interface kernel module and connections established based on a connection management interface kernel module; and acquiring the session information from the first storage medium through a session information acquisition module.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application 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 application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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.
Furthermore, 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.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (22)

1. A session information acquisition method is applied to a server, the server comprises a network card driving module and a session information acquisition module, and the method comprises the following steps:
the network card driving module acquires session information and stores the session information to a first storage medium;
the network card driving module sends a first event instruction to the session information acquisition module;
and the session information acquisition module acquires the session information from the first storage medium according to the first event instruction.
2. The method of claim 1,
the network card driving module acquires session information, and the method comprises the following steps:
when the network card driving module establishes connection with another server, the network card driving module establishes a session corresponding to the connection and acquires session information corresponding to the session.
3. The method of claim 2, wherein the server further comprises an application programming interface kernel module; the network card driving module establishes connection with another server, and the connection comprises the following steps:
and the network card driving module acquires the connection information of another server from the application programming interface kernel module and establishes connection with the connection information of the other server by using the connection information of the server.
4. The method according to claim 3, wherein before the network card driver module obtains the connection information of another server from the application programming interface kernel module, the method further comprises: and the application programming interface kernel module acquires the connection information of the other server from the other server.
5. The method of claim 2, wherein the server further comprises a connection management interface kernel module; the network card driving module establishes connection with another server, and the connection comprises the following steps:
and the network card driving module acquires the connection information of another server from the connection management interface kernel module and establishes connection with the connection information of the other server by using the connection information of the server.
6. The method according to claim 5, wherein before the network card driver module obtains the connection information of another server from the connection management interface kernel module, the method further comprises: and the connection management interface kernel module reads the connection information of the other server from the user mode storage library.
7. The method of claim 1,
the network card driving module stores the session information to a first storage medium, and the method includes: the network card driving module stores the session information to the first storage medium in a file format;
the session information acquisition module acquires the session information from the first storage medium according to the first event instruction, and the session information acquisition module includes: and the session information acquisition module acquires session information in a file format from the first storage medium according to the first event instruction.
8. The method of claim 1, wherein after the session information acquisition module obtains the session information from the first storage medium according to the first event instruction, the method further comprises:
and the session information acquisition module stores the session information to a second storage medium.
9. The method of claim 1, further comprising: the network card driving module records that the session corresponding to the session information is deleted in the first storage medium;
the network card driving module sends a second event instruction to the session information acquisition module;
and the session information acquisition module acquires the session information of the deleted session from the first storage medium according to the second event instruction.
10. The method according to claim 9, wherein the network card driver module records in the first storage medium that the session corresponding to the session information is deleted, and the method includes:
when the network card driving module is disconnected with another server, the network card driving module releases the session corresponding to the connection, inquires the session information corresponding to the session from the first storage medium, and records that the session corresponding to the session information is deleted in the first storage medium.
11. The method of claim 9,
after the session information acquisition module acquires the session information of the deleted session from the first storage medium according to the second event instruction, the method further includes: and the session information acquisition module records that the session corresponding to the session information is deleted in a second storage medium.
12. A session information acquisition method is applied to a server, and the method comprises the following steps:
when the server establishes connection with another server, establishing a session corresponding to the connection;
acquiring session information corresponding to the session, and storing the session information to a first storage medium;
receiving a first event instruction aiming at the session information, determining that new session information is added in the first storage medium according to the first event instruction, and acquiring the new session information from the first storage medium.
13. The method of claim 12,
the server establishes a connection with another server, including:
acquiring the connection information of another server from an application programming interface kernel module of the server, and establishing connection with the connection information of the other server by using the connection information of the server; alternatively, the first and second electrodes may be,
and acquiring the connection information of another server from the connection management interface kernel module of the server, and establishing connection with the connection information of the other server by using the connection information of the server.
14. The method of claim 12, further comprising:
when the server is disconnected from the other server, releasing the session corresponding to the connection, inquiring session information corresponding to the session from the first storage medium, and recording that the session corresponding to the session information is deleted in the first storage medium;
and receiving a second event instruction aiming at the session information, and acquiring the session information of the deleted session from the first storage medium according to the second event instruction.
15. A session information acquisition method is applied to a server which adopts an RDMA mode to establish connection, the server comprises a network card driving module and a session information acquisition module, and the method comprises the following steps:
the network card driving module acquires session information corresponding to at least two types of connections and stores the acquired session information into a first storage medium; wherein the at least two types of connections comprise connections established based on an application programming interface kernel module and connections established based on a connection management interface kernel module;
the session information acquisition module acquires session information from the first storage medium according to a first event instruction; the first event instruction is sent to the session information acquisition module by the network card driving module after the session information is stored in the first storage medium.
16. A session information acquisition apparatus, applied to a server, includes:
the network card driving module is used for acquiring session information, storing the session information into a first storage medium and sending a first event instruction to the session information acquisition module;
and the session information acquisition module is used for acquiring the session information from the first storage medium according to the first event instruction.
17. The apparatus according to claim 16, wherein the network card driver module, when acquiring the session information, is specifically configured to: when the network card driving module establishes connection with another server, establishing a session corresponding to the connection, and acquiring session information corresponding to the session;
the device also comprises an application programming interface kernel module and/or a connection management interface kernel module; when the network card driving module establishes connection with another server, the network card driving module is specifically configured to: acquiring the connection information of another server from an application programming interface kernel module, and establishing connection with the connection information of the other server by using the connection information of the server; or acquiring the connection information of another server from the connection management interface kernel module, and establishing connection with the connection information of the other server by using the connection information of the server.
18. A session information acquisition apparatus, applied to a server, includes:
the establishment module is used for establishing a session corresponding to the connection and acquiring session information corresponding to the session when the server establishes the connection with another server;
the storage module is used for storing the session information to a first storage medium;
and the acquisition module is used for receiving a first event instruction aiming at the session information, determining that new session information is added in the first storage medium according to the first event instruction, and acquiring the new session information from the first storage medium.
19. A session information acquisition apparatus, applied to a server that establishes a connection using RDMA, includes:
the network card driving module is used for acquiring session information corresponding to at least two types of connections and storing the acquired session information into a first storage medium; wherein the at least two types of connections comprise connections established based on an application programming interface kernel module and connections established based on a connection management interface kernel module;
the session information acquisition module is used for acquiring session information from the first storage medium according to a first event instruction; the first event instruction is sent to the session information acquisition module by the network card driving module after the session information is stored in the first storage medium.
20. A server, comprising: a processor and a machine-readable storage medium having stored thereon a plurality of computer instructions, the processor when executing the computer instructions performs: acquiring session information through a network card driving module, and storing the session information to a first storage medium; sending a first event instruction to a session information acquisition module through a network card driving module; and acquiring the session information from the first storage medium through a session information acquisition module according to the first event instruction.
21. A server, comprising: a processor and a machine-readable storage medium having stored thereon a plurality of computer instructions, the processor when executing the computer instructions performs: when the server establishes connection with another server, establishing a session corresponding to the connection; acquiring session information corresponding to the session, and storing the session information to a first storage medium; receiving a first event instruction aiming at the session information, determining that new session information is added in a first storage medium according to the first event instruction, and acquiring the new session information from the first storage medium.
22. A server for establishing a connection using RDMA, comprising: a processor and a machine-readable storage medium having stored thereon a plurality of computer instructions, the processor when executing the computer instructions performs: acquiring session information corresponding to at least two types of connections through a network card driving module, and storing the acquired session information into a first storage medium; wherein the at least two types of connections comprise connections established based on an application programming interface kernel module and connections established based on a connection management interface kernel module; acquiring session information from the first storage medium through a session information acquisition module according to a first event instruction; the first event instruction is sent to the session information acquisition module by the network card driving module after the session information is stored in the first storage medium.
CN201810421410.1A 2018-05-04 2018-05-04 Session information acquisition method, device and server Active CN110445826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810421410.1A CN110445826B (en) 2018-05-04 2018-05-04 Session information acquisition method, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810421410.1A CN110445826B (en) 2018-05-04 2018-05-04 Session information acquisition method, device and server

Publications (2)

Publication Number Publication Date
CN110445826A CN110445826A (en) 2019-11-12
CN110445826B true CN110445826B (en) 2021-11-30

Family

ID=68427184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810421410.1A Active CN110445826B (en) 2018-05-04 2018-05-04 Session information acquisition method, device and server

Country Status (1)

Country Link
CN (1) CN110445826B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113297110A (en) * 2021-05-17 2021-08-24 阿里巴巴新加坡控股有限公司 Data acquisition system, method and device
CN113923797A (en) * 2021-09-26 2022-01-11 深圳市广和通无线通信软件有限公司 Session establishing method, device, client device and computer storage medium
CN116302618B (en) * 2023-05-17 2023-09-12 上海云脉芯联科技有限公司 Session information processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101690304A (en) * 2007-07-11 2010-03-31 艾利森电话股份有限公司 Method and apparatus for determining service performance
CN103733218A (en) * 2011-08-19 2014-04-16 微软公司 Synchronizing conversation structures in web-based email systems
US8990329B1 (en) * 2012-08-12 2015-03-24 Google Inc. Access control list for a multi-user communication session
CN106663015A (en) * 2014-08-27 2017-05-10 谷歌公司 Resuming session states
CN106790420A (en) * 2016-11-30 2017-05-31 华为技术有限公司 A kind of many session channel method for building up and system
CN106933500A (en) * 2015-12-29 2017-07-07 伊姆西公司 Access the method and system of storage data object within the storage system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6862689B2 (en) * 2001-04-12 2005-03-01 Stratus Technologies Bermuda Ltd. Method and apparatus for managing session information
JP2005157494A (en) * 2003-11-20 2005-06-16 Aruze Corp Conversation control apparatus and conversation control method
US8346910B2 (en) * 2004-11-30 2013-01-01 American Express Travel Related Services Company, Inc. Method and apparatus for managing an interactive network session
US8626926B2 (en) * 2008-02-26 2014-01-07 Qualcomm Incorporated Method and apparatus for performing session info query for user plane location
CN101668043A (en) * 2009-07-25 2010-03-10 高维海 Method and system for acquiring communication session group
US9104452B2 (en) * 2009-07-27 2015-08-11 Microsoft Technology Licensing, Llc Hybrid remote sessions
US20130054635A1 (en) * 2011-08-30 2013-02-28 Verizon Patent And Licensing Inc. Procuring communication session records
US8880935B2 (en) * 2012-06-12 2014-11-04 International Business Machines Corporation Redundancy and load balancing in remote direct memory access communications
US10681157B2 (en) * 2015-09-11 2020-06-09 International Business Machines Corporation Adaptive event management framework for resource-constrained environments
US10341205B2 (en) * 2016-02-09 2019-07-02 GlassBox Ltd. System and method for recording web sessions
CN106973065A (en) * 2017-04-28 2017-07-21 武汉票据交易中心有限公司 A kind of server event processing system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101690304A (en) * 2007-07-11 2010-03-31 艾利森电话股份有限公司 Method and apparatus for determining service performance
CN103733218A (en) * 2011-08-19 2014-04-16 微软公司 Synchronizing conversation structures in web-based email systems
US8990329B1 (en) * 2012-08-12 2015-03-24 Google Inc. Access control list for a multi-user communication session
CN106663015A (en) * 2014-08-27 2017-05-10 谷歌公司 Resuming session states
CN106933500A (en) * 2015-12-29 2017-07-07 伊姆西公司 Access the method and system of storage data object within the storage system
CN106790420A (en) * 2016-11-30 2017-05-31 华为技术有限公司 A kind of many session channel method for building up and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Evaluating High Performance Data Transfer with RDMA-based Protocols in Wide-Area Networks;Ezra Kissel等;《Evaluating High Performance Data Transfer with RDMA-based Protocols in Wide-Area Networks》;20121212;全文 *
iSCSI协议研究与实现;戴志敏;《计算机应用与软件》;20050712;全文 *
基于Nginx的在线教育平台架构优化研究;张康;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170315;全文 *
基于动态信息同步的防火墙双机热备研究;孔平;《中国新通信》;20160205;全文 *

Also Published As

Publication number Publication date
CN110445826A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
US7581077B2 (en) Method and system for transferring data in a storage operation
US7209972B1 (en) High speed data transfer mechanism
KR101801432B1 (en) Providing transparent failover in a file system
US10579595B2 (en) Method and device for calling a distributed file system
CN110445826B (en) Session information acquisition method, device and server
US8275752B2 (en) Data backup method through distributed network, involves generating data segment copies to transmit to peer storage servers based on metadata with segment distribution matrix by calculating redundancy corresponding to data segments
US8725879B2 (en) Network interface device
JP2011501254A (en) Method and system for handling failover in a distributed environment using session affinity
US9372879B1 (en) Balanced append tree data structure
WO2020098654A1 (en) Data storage method and device based on cloud storage, and storage medium
US20170331883A1 (en) Hybrid quorum policies for durable consensus in distributed systems
US10341277B2 (en) Providing video to subscribers of a messaging system
CN103533087A (en) Cloud service platform middleware and cloud uploading method
CA2923896A1 (en) Email webclient notification queuing
CN112835524A (en) Storage resource allocation method, storage resource controller and scheduling system
CN108512753B (en) Method and device for transmitting messages in cluster file system
US20190370353A1 (en) Change notifications for object storage
CN114385674A (en) Platform message tracking method, system, device and storage medium
US10402241B1 (en) Forwarding metadata proxy server for asynchronous metadata operations
CN113411363A (en) Uploading method of image file, related equipment and computer storage medium
US9578120B1 (en) Messaging with key-value persistence
CN112527519A (en) High-performance local cache method, system, equipment and medium
CN110445666B (en) Network quality detection method and device and server
CN110798366B (en) Task logic processing method, device and equipment
CN111090818A (en) Resource management method, resource management system, server, and computer storage medium

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