CN110515743B - Write event notification method and device - Google Patents

Write event notification method and device Download PDF

Info

Publication number
CN110515743B
CN110515743B CN201910682178.1A CN201910682178A CN110515743B CN 110515743 B CN110515743 B CN 110515743B CN 201910682178 A CN201910682178 A CN 201910682178A CN 110515743 B CN110515743 B CN 110515743B
Authority
CN
China
Prior art keywords
identifier
network
state
current state
message
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
CN201910682178.1A
Other languages
Chinese (zh)
Other versions
CN110515743A (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.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data Technology 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN201910682178.1A priority Critical patent/CN110515743B/en
Publication of CN110515743A publication Critical patent/CN110515743A/en
Application granted granted Critical
Publication of CN110515743B publication Critical patent/CN110515743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a write event notification method and a device, wherein the method comprises the following steps: when a message to be sent is received, acquiring a current state identifier of a network IO; judging whether the state identifier is a first identifier or not; the first identifier is used for representing that the current state of the network IO is a writing state; and if the state identifier is the first identifier, directly writing the message to be sent into the network IO. The write event notification method provided by the invention determines the current state of the network IO through the current state identifier of the network IO, and controls the write event notification message not to be sent to the network IO but to be directly written into the network IO when the current state of the network IO is the write state. By applying the write event notification method provided by the invention, when the current state of the network IO is the write state, the write event notification message is not sent to the network IO, and the message to be sent is directly written into the network IO, so that the loss of system resources is reduced, and the transmission performance of the storage system is improved.

Description

Write event notification method and device
Technical Field
The invention relates to the technical field of computers, in particular to a write event notification method and device.
Background
The calculation, transmission and storage are used as three basic fields of information technology, the information technology is continuously evolved in the large tide, along with the rapid expansion of user data, the calculation and the storage are gradually separated, and the storage forms an independent network storage system. The AS13000 storage system is a highly modularized storage platform facing the requirements of medium-high-end storage application, and has the advantages of high reliability, simple and convenient management and the like.
In an actual generated application, the AS13000 generally needs to transmit data between an upper layer application and a network IO, that is, after receiving a message, the upper layer application sends a write event notification to the network IO and writes the message into the network IO.
In the existing write event notification method, an upper layer application sends a write event notification message to a network IO when receiving a message to be sent, and when the network IO is already in a write state, submission of a write event is not necessary at all, and on the contrary, resources of a storage system are occupied, so that the transmission performance of the storage system is poor.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a write event notification method, which can directly write a message to be sent into a network IO without sending a write event notification message to the network IO when the current state of the network IO is a write state, thereby reducing the loss of system resources and improving the transmission performance of a storage system.
The invention also provides a write event notification device for ensuring the realization and application of the method in practice.
A write event notification method, comprising:
when a message to be sent is received, acquiring a current state identifier of a network IO;
judging whether the state identifier is a first identifier or not; the first identifier is used for representing that the current state of the network IO is a writing state;
and if the state identifier is the first identifier, directly writing the message to be sent into the network IO.
The above method, optionally, further includes:
if the state identifier is not the first identifier, judging whether the state identifier is a second identifier, wherein the second identifier is used for representing that the current state of the IO network is an idle state;
and if the state identifier is a second identifier, sending a write event notification message to the network IO.
Optionally, the method, after sending the write event notification message to the network IO, further includes:
and writing the message to be sent into the network IO, and setting the current state identifier of the network IO as a first identifier from a second identifier.
Optionally, the obtaining the state identifier of the network IO includes:
sending a state identifier acquisition request to a network IO;
and when feedback information corresponding to the state identifier acquisition request fed back by the network IO is received, extracting the state identifier of the network IO contained in the feedback information.
Optionally, the method for extracting the state identifier of the network IO included in the feedback information includes:
determining a target character corresponding to a preset first numerical value in the feedback information; wherein the first numerical value is used for indicating the position of the target character;
and taking the target character as the state identification of the network IO.
A write event notification apparatus comprising:
the device comprises an acquisition unit, a sending unit and a receiving unit, wherein the acquisition unit is used for acquiring the current state identifier of the network IO when receiving a message to be sent;
the first judging unit is used for judging whether the state identifier is a first identifier or not; the first identifier is used for representing that the current state of the network IO is a writing state;
and the writing unit is used for directly writing the message to be sent into the network IO if the state identifier is the first identifier.
The above apparatus, optionally, further comprises:
a second determining unit, configured to determine whether the state identifier is a second identifier if the state identifier is not the first identifier, where the second identifier is used to represent that a current state of the IO network is an idle state;
and the sending unit is used for sending a write event notification message to the network IO if the state identifier is the second identifier.
The above apparatus, optionally, the sending unit further includes:
and the writing subunit is configured to write the message to be sent into the network IO, and set a current state identifier of the network IO as a first identifier from a second identifier.
The above apparatus, optionally, the obtaining unit includes:
the request subunit is configured to send a state identifier acquisition request to a network IO;
and the extracting subunit is configured to, when receiving feedback information corresponding to the status identifier obtaining request and fed back by the network IO, extract the status identifier of the network IO included in the feedback information.
The above apparatus, optionally, the extracting subunit includes:
the first determining subunit is used for determining a target character corresponding to a preset first numerical value in the feedback information; wherein the first numerical value is used for indicating the position of the target character;
and the second determining subunit is configured to use the target character as the status identifier of the network IO.
A storage medium, characterized in that the storage medium comprises stored instructions, wherein the instructions, when executed, control a device on which the storage medium is located to perform the above-mentioned write event notification method.
An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the above-described write event notification method.
Compared with the prior art, the invention has the following advantages:
the invention provides a write event notification method, which comprises the following steps: when a message to be sent is received, acquiring a current state identifier of a network IO; judging whether the state identifier is a first identifier or not; the first identifier is used for representing that the current state of the network IO is a writing state; and if the state identifier is the first identifier, directly writing the message to be sent into the network IO. The write event notification method provided by the invention determines the current state of the network IO through the current state identifier of the network IO, and controls the write event notification message not to be sent to the network IO but to be directly written into the network IO when the current state of the network IO is the write state. By applying the write event notification method provided by the invention, when the current state of the network IO is the write state, the write event notification message is not sent to the network IO, and the message to be sent is directly written into the network IO, so that the loss of system resources is reduced, and the transmission performance of the storage system is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for writing event notification according to the present invention;
FIG. 2 is a flow chart of another method of a write event notification method according to the present invention;
FIG. 3 is a flow chart of another method of a write event notification method according to the present invention;
FIG. 4 is a diagram illustrating a write event notification method according to the present invention;
FIG. 5 is a schematic structural diagram of a write event notification apparatus according to the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a write event notification method, where the method may be applied to a storage system, and an execution subject of the method may be an upper layer application in the storage system, and a method flowchart of the method is shown in fig. 1, and specifically includes:
s101: and when receiving a message to be sent, acquiring the current state identifier of the network IO.
In the method provided by the embodiment of the invention, the state identifier is set for the network IO according to the current state of the network IO, and the current state identifier of the network IO is firstly acquired when the message to be sent is received each time.
S102: and judging whether the state identifier is a first identifier or not.
In the method provided by the embodiment of the present invention, the current states of the network IO are different, and the state identifier of the network IO is different, optionally, when the network IO is currently in a write state, the state identifier thereof is a first identifier, and when the network IO is currently in an idle state, the state identifier thereof is a second identifier; optionally, the first identifier may be character 1, that is, when the network IO is currently in the write state, the current state identifier of the network IO is set to character 1, and the second identifier may be character 0, that is, when the network IO is currently in the idle state, the current state identifier of the network IO is set to character 0.
In the method provided by the embodiment of the invention, the current state identifier of the network IO is judged so as to determine the current state of the network IO.
S103: and if the state identifier is the first identifier, directly writing the message to be sent into the network IO.
In the method provided by the embodiment of the invention, if the state identifier is judged to be the first identifier, the current state of the network IO is determined to be the writing state, and for the network IO in the writing state, the message to be sent can be directly written into the network IO without sending a writing event notification message to the network IO.
In the write event notification method provided in the embodiment of the present invention, when the to-be-sent message is received, the current state identifier of the network IO is obtained, and when the current state identifier is the first identifier, that is, when the network IO is currently in a write state, the to-be-sent message is directly written into the network IO without sending the write event notification message to the network IO. By applying the write event notification method provided by the embodiment of the invention, when the current state of the network IO is the write state, the write event notification message is not sent to the network IO, and the message to be sent is directly written into the network IO, so that the loss of system resources is reduced, and the transmission performance of the storage system is improved.
The steps disclosed in fig. 1 in the above embodiment of the present invention, as shown in fig. 2, may specifically include:
s201: and when receiving a message to be sent, acquiring the current state identifier of the network IO.
In the method provided by the embodiment of the invention, the current state of the network IO is firstly acquired every time a message to be sent is received.
S202: and judging whether the state identifier is the first identifier or not.
In the method provided by the embodiment of the present invention, it is determined whether the status identifier is the first identifier, that is, it is determined whether the network IO is currently in a write-in status, if the status identifier is the first identifier, step S203 is executed, and if the status identifier is not the first identifier, step S204 is executed.
S203: and writing the message to be sent to the network IO.
In the method provided by the embodiment of the invention, if the state identifier is the first identifier, the write event notification is not sent to the network IO, and the message to be sent is directly written into the network IO.
S204: and judging whether the state identifier is a second identifier.
In the method provided in the embodiment of the present invention, if the state identifier is not the first identifier, it is determined whether the state identifier is the second identifier, that is, it is determined whether the current state of the network IO is an idle state, and if the current state of the network IO is an idle state, step S205 is executed.
S205: sending a write event notification message to the network IO.
In the method provided by the embodiment of the invention, if the state identifier is the second identifier, the network IO is sent to the write event notification message. Optionally, a write event notification message may be sent to the network IO according to preset notification information, and when a trigger condition is met, the preset notification information is directly triggered to be sent to the network IO, that is, when the state identifier is the second identifier, the preset notification information is triggered to be sent to the network IO.
S206: and writing the message to be sent into the network IO, and setting the current state identifier of the network IO as the first identifier from the second identifier.
In the method provided by the embodiment of the invention, after the write event notification message is sent to the network IO, the message to be sent can be written into the network IO, and the current state identifier of the network IO is changed from the second identifier to the first identifier. After the message to be sent is written into the network IO, the current state of the network IO is changed, the original idle state is changed into the writing state, when the current state of the network IO is changed, the state identifier of the network IO needs to be changed correspondingly, and at the moment, the state identifier of the network IO is changed from the second identifier into the first identifier.
In the method provided by the embodiment of the invention, when a message to be sent is received, a current state identifier of a network IO is acquired, when the state identifier is a first identifier, that is, when the network IO is currently in a write-in state, a write event notification message is not sent to the network IO, but the message to be sent is directly written into the network IO, when the state identifier is a second identifier, the write event notification message is sent to the network IO, the message to be sent is written into the network IO, and the state identifier of the network IO is set as the first identifier by using the second identifier. By applying the method provided by the embodiment of the invention, when the message to be sent is received, the current state of the network IO is judged firstly, if the current state of the network IO is the writing state, the message to be sent is directly written into the network IO without sending the writing event notification message to the network IO, and if the current state of the network IO is the idle state, the message to be sent is sent to the network IO and written into the network IO, so that the loss of system resources is reduced, and the transmission performance of the storage system is improved.
As shown in fig. 3, the obtaining of the status identifier of the network IO related to step S101 disclosed in fig. 1 in the embodiment of the present invention specifically includes:
s301: and sending a state identification acquisition request to the network IO.
In the method provided by the embodiment of the invention, when the message to be sent is received, a state identifier acquisition request is sent to the network IO to determine the current state of the network IO.
S302: when feedback information corresponding to the state identification obtaining request fed back by the network IO is received, determining a target character corresponding to a preset first numerical value in the feedback information.
In the method provided by the embodiment of the present invention, when receiving a state identifier obtaining request sent by an upper application, a network IO sends feedback information to the upper application according to its current state, optionally, the feedback information may be a fixed field, and the current state is set in the fixed field by a character, for example, the feedback information is a fixed field including 5 characters, where the character representing the state is a 3 rd character. Optionally, when the current state of the network IO is an idle state, the current state is represented by a character 0, and when the current state of the network IO is a write state, the current state is represented by a character 1.
In the method provided by the embodiment of the present invention, after receiving feedback information fed back by the network IO, a character corresponding to a preset first numerical value is determined, where the first numerical value is used to indicate a position of the character representing the current state of the network IO, for example, if the feedback information is a fixed field including 5 characters, and the character representing the current state of the network IO is a 3 rd character, the first numerical value is 3, and the numerical value 3 indicates that the character representing the current state of the network IO is a third-digit character.
S303: and taking the target character as the state identification of the network IO.
In the method provided by the embodiment of the invention, the target character corresponding to the first numerical value is determined as the state identifier of the network IO.
According to the write event notification method provided by the embodiment of the invention, when a message to be sent is received, a state identifier acquisition request is sent to the network IO, and when feedback information corresponding to the state identifier acquisition request and fed back by the network IO is received, a target character corresponding to a first numerical value in the feedback information is determined, and the target character is used as the state identifier of the network IO.
In the method provided in the embodiment of the present invention, a specific implementation of the write event notification method is illustrated, as shown in fig. 4:
the upper layer application sends a state identification acquisition request to the network IO when receiving a message to be sent, the network IO generates feedback information of a fixed field according to the current state of the network IO, and feeds back the feedback information to the upper layer application, after receiving the feedback information fed back by the network IO, the upper layer application extracts the state identifier of the current state of the network IO contained in the feedback information, and judging whether the state mark is a first mark, if so, representing that the network IO is in a write-in state currently, not sending a write event notification message to the network IO, directly writing the message to be sent into the network IO, if the status identifier is not the first identifier, judging whether the status identifier is the second identifier, if the status identifier is the second identifier, representing that the network IO is currently in an idle state, and sending a write event notification message to the network IO, and writing the message to be sent into the network IO. The write event notification message is sent to the network IO only when the current state of the network IO is an idle state, so that the loss of system resources is reduced, and the transmission performance of the storage system is improved.
Corresponding to the method described in fig. 1, an embodiment of the present invention further provides a write event notification apparatus, which is used for implementing the method in fig. 1 specifically, and a schematic structural diagram of the write event notification apparatus is shown in fig. 5, and specifically includes:
an obtaining unit 501, configured to obtain a current status identifier of a network IO when receiving a message to be sent;
a first judging unit 502, configured to judge whether the status flag is a first flag; the first identifier is used for representing that the current state of the network IO is a writing state;
a writing unit 503, configured to directly write the message to be sent to the network IO if the status identifier is the first identifier.
The write event notification device provided in the embodiment of the present invention obtains the current state identifier of the network IO when receiving the message to be sent, and directly writes the message to be sent into the network IO without sending the write event notification message to the network IO when the current state identifier is the first identifier, that is, the network IO is currently in a write state. By applying the write event notification device provided by the embodiment of the invention, when the current state of the network IO is the write state, the write event notification message is not sent to the network IO, and the message to be sent is directly written into the network IO, so that the loss of system resources is reduced, and the transmission performance of the storage system is improved.
In an embodiment of the present invention, based on the foregoing scheme, the write event notification apparatus may be further configured to:
a second determining unit, configured to determine whether the state identifier is a second identifier if the state identifier is not the first identifier, where the second identifier is used to represent that a current state of the IO network is an idle state;
and the sending unit is used for sending a write event notification message to the network IO if the state identifier is the second identifier.
In an embodiment of the present invention, based on the foregoing scheme, the sending unit is further configured to:
and the writing subunit is configured to write the message to be sent into the network IO, and set a current state identifier of the network IO as a first identifier from a second identifier.
In an embodiment of the present invention, based on the foregoing solution, the obtaining unit is configured to:
the request subunit is configured to send a state identifier acquisition request to a network IO;
and the extracting subunit is configured to, when receiving feedback information corresponding to the status identifier obtaining request and fed back by the network IO, extract the status identifier of the network IO included in the feedback information.
In an embodiment of the present invention, based on the foregoing scheme, the extraction subunit is configured to:
the first determining subunit is used for determining a target character corresponding to a preset first numerical value in the feedback information; wherein the first numerical value is used for indicating the position of the target character;
and the second determining subunit is configured to use the target character as the status identifier of the network IO.
The embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the device where the storage medium is located is controlled to execute the write event notification method.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 6, which specifically includes a memory 601 and one or more instructions 602, where the one or more instructions 602 are stored in the memory 601 and configured to be executed by one or more processors 603 to perform the following operations on the one or more instructions 602:
when a message to be sent is received, acquiring a current state identifier of a network IO;
judging whether the state identifier is a first identifier or not; the first identifier is used for representing that the current state of the network IO is a writing state;
and if the state identifier is the first identifier, directly writing the message to be sent into the network IO.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The method and the device for notifying write events provided by the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (6)

1. A write event notification method, comprising:
when a message to be sent is received, acquiring a current state identifier of a network IO;
judging whether the state identifier is a first identifier or not; the first identifier is used for representing that the current state of the network IO is a writing state;
if the state identifier is a first identifier, directly writing the message to be sent into the network IO;
the obtaining of the status identifier of the network IO includes:
sending a state identifier acquisition request to a network IO;
when feedback information corresponding to the state identifier acquisition request fed back by the network IO is received, extracting the state identifier of the network IO contained in the feedback information;
the extracting the state identifier of the network IO included in the feedback information includes:
determining a target character corresponding to a preset first numerical value in the feedback information; wherein the first numerical value is used for indicating the position of the target character;
taking the target character as a state identifier of the network IO;
the feedback information is a field with 5 fixed characters, the current state is set in the fixed field by using characters, the character representing the state is the 3 rd character, when the current state of the network IO is in an idle state, the current state is represented by using a character 0, and when the current state of the network IO is in a write-in state, the current state is represented by using a character 1.
2. The method of claim 1, further comprising:
if the state identifier is not the first identifier, judging whether the state identifier is a second identifier, wherein the second identifier is used for representing that the current state of the network IO is an idle state;
and if the state identifier is a second identifier, sending a write event notification message to the network IO.
3. The method of claim 2, wherein after sending the write event notification message to the network IO, further comprising:
and writing the message to be sent into the network IO, and setting the current state identifier of the network IO as a first identifier from a second identifier.
4. A write event notification apparatus, comprising:
the device comprises an acquisition unit, a sending unit and a receiving unit, wherein the acquisition unit is used for acquiring the current state identifier of the network IO when receiving a message to be sent;
the first judging unit is used for judging whether the state identifier is a first identifier or not; the first identifier is used for representing that the current state of the network IO is a writing state;
a writing unit, configured to directly write the message to be sent to the network IO if the status identifier is the first identifier;
the acquisition unit includes:
the request subunit is configured to send a state identifier acquisition request to a network IO;
the extracting subunit is configured to, when receiving feedback information corresponding to the state identifier obtaining request and fed back by the network IO, extract a state identifier of the network IO included in the feedback information;
the extraction subunit includes:
the first determining subunit is used for determining a target character corresponding to a preset first numerical value in the feedback information; wherein the first numerical value is used for indicating the position of the target character;
a second determining subunit, configured to use the target character as a status identifier of the network IO;
the feedback information is a field with 5 fixed characters, the current state is set in the fixed field by using characters, the character representing the state is the 3 rd character, when the current state of the network IO is in an idle state, the current state is represented by using a character 0, and when the current state of the network IO is in a write-in state, the current state is represented by using a character 1.
5. The apparatus of claim 4, further comprising:
a second determining unit, configured to determine whether the state identifier is a second identifier if the state identifier is not the first identifier, where the second identifier is used to represent that a current state of the network IO is an idle state;
and the sending unit is used for sending a write event notification message to the network IO if the state identifier is the second identifier.
6. The apparatus of claim 5, wherein the sending unit further comprises:
and the writing subunit is configured to write the message to be sent into the network IO, and set a current state identifier of the network IO as a first identifier from a second identifier.
CN201910682178.1A 2019-07-26 2019-07-26 Write event notification method and device Active CN110515743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910682178.1A CN110515743B (en) 2019-07-26 2019-07-26 Write event notification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910682178.1A CN110515743B (en) 2019-07-26 2019-07-26 Write event notification method and device

Publications (2)

Publication Number Publication Date
CN110515743A CN110515743A (en) 2019-11-29
CN110515743B true CN110515743B (en) 2022-03-22

Family

ID=68623699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910682178.1A Active CN110515743B (en) 2019-07-26 2019-07-26 Write event notification method and device

Country Status (1)

Country Link
CN (1) CN110515743B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199215B (en) * 2020-10-13 2024-01-19 恒生电子股份有限公司 Message processing method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101261568B (en) * 2008-04-09 2012-07-04 成都市华为赛门铁克科技有限公司 Method and apparatus for managing memory apparatus
CN101997861B (en) * 2009-08-27 2013-08-28 杭州华三通信技术有限公司 Data storage method and equipment
CN102055677A (en) * 2011-01-26 2011-05-11 杭州华三通信技术有限公司 Method and device for reducing network congestion
CN110865769B (en) * 2018-08-28 2023-06-20 阿里巴巴集团控股有限公司 Method for processing read/write request, network storage system and electronic equipment

Also Published As

Publication number Publication date
CN110515743A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
CN110597595B (en) Method for providing multi-language information, method for configuring multi-language information, device, equipment and medium
CN109960541B (en) Method, apparatus and computer storage medium for starting an applet
CN103812755A (en) Message synchronization method and device in instant messaging application
CN110287146B (en) Method, device and computer storage medium for downloading application
CN113722124B (en) Content processing method, device, equipment and storage medium of cloud mobile phone
CN110874200A (en) Interaction method, device, storage medium and operating system
CN107817962B (en) Remote control method, device, control server and storage medium
CN110515743B (en) Write event notification method and device
CN111177032A (en) Cache space application method, system, device and computer readable storage medium
CN105723314A (en) Two step content selection
CN111475388A (en) Data push test method and device, computer equipment and storage medium
CN116483425A (en) Micro-service gray level edition issuing method, device, equipment and storage medium thereof
US11558321B2 (en) Integration of an email client with hosted applications
WO2015074569A1 (en) Method and apparatus for displaying transmission status of cloud documents
CN102360392B (en) Method and device for determining webpage encoding mode
CN112491974A (en) Remote browsing method and device, storage medium, terminal equipment and server
CN113781154A (en) Information rollback method, system, electronic equipment and storage medium
CN110019631B (en) Method and device for processing multi-dimensional map
CN112631812A (en) Identification setting method and device, electronic equipment and storage medium
CN111339470A (en) Page return alarm method, system, device and readable storage medium
CN112187844B (en) Message pushing method, device and equipment based on printing equipment
CN116521630B (en) Task progress real-time display method and device, computer equipment and storage medium
US11736427B2 (en) Integration of client applications with hosted applications
CN112650814B (en) Data storage method, device, equipment and storage medium based on message middleware
CN108229917B (en) Project data analysis method and system

Legal Events

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