WO2015127717A1 - Procédé et dispositif de contrôle de trafic, et support de stockage informatique - Google Patents

Procédé et dispositif de contrôle de trafic, et support de stockage informatique Download PDF

Info

Publication number
WO2015127717A1
WO2015127717A1 PCT/CN2014/076898 CN2014076898W WO2015127717A1 WO 2015127717 A1 WO2015127717 A1 WO 2015127717A1 CN 2014076898 W CN2014076898 W CN 2014076898W WO 2015127717 A1 WO2015127717 A1 WO 2015127717A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
speed
writing
instruction
receiving end
Prior art date
Application number
PCT/CN2014/076898
Other languages
English (en)
Chinese (zh)
Inventor
王诚
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015127717A1 publication Critical patent/WO2015127717A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2205/00Indexing scheme relating to group G06F5/00; Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F2205/06Indexing scheme relating to groups G06F5/06 - G06F5/16
    • G06F2205/061Adapt frequency, i.e. clock frequency at one side is adapted to clock frequency, or average clock frequency, at the other side; Not pulse stuffing only

Definitions

  • the present invention relates to data transmission technologies, and in particular, to a flow control method, apparatus, and computer storage medium. Background technique
  • the embodiment of the invention provides a flow control method, device and computer storage medium, which can effectively prevent data transmission overflow and realize data transmission speed control.
  • the embodiment of the invention provides a flow control method, which is applied to a flow control device; the method includes:
  • the delay time t is calculated according to the write speed VI, the read speed V2, the transmission speed V, and the capacity L, and the delay time t satisfies the following expression:
  • the delay time t is calculated according to the write speed VI, the read speed V2, the transmission speed V, and the capacity L, and the delay time t satisfies the following expression:
  • the user-set transmission speed V is greater than zero and less than the write speed VI and the read speed V2.
  • controlling the sending end to write data to the buffer area comprises: controlling the sending end to write data to a queue tail of a data queue in the buffer area;
  • the controlling the receiving end to read data from the buffer area comprises: controlling the receiving end to read data from a queue head of a data queue in the buffer area.
  • the embodiment of the present invention further provides a flow control device, wherein the flow control device is respectively connected to the transmitting end and the receiving end, and the flow control device includes a storage area module configured to store data; the flow control device further includes: Obtaining a module and a control module; The obtaining module is configured to acquire a write speed VI of the sending end, a read speed V2 of the receiving end, a transmission speed V set by a user, and a capacity L of the data queue of the storage area module and the data queue. Used capacity E;
  • the control module is configured to control the sending end to the buffer area according to the writing speed VI, the reading speed V2, the transmission speed V, the capacity L, and the used capacity E
  • the module writes a start timing and a stop timing of the data, and/or controls a start timing and a stop timing at which the receiving end reads data from the buffer area module.
  • control module includes:
  • a determining unit configured to determine whether the writing speed VI is greater than the reading speed V2, and obtain a determination result
  • a first control unit configured to send a write to the sending end when the determining result obtained by the determining unit is that the writing speed VI is greater than the reading speed V2, and the used capacity E is zero An instruction, so that the transmitting end writes data to the buffer area module according to the write instruction; and sends a stop reading instruction to the receiving end and starts timing to obtain a first timing time t1, so that the receiving Stopping reading data from the buffer area module according to the stop reading instruction; and configuring, when the first timing time t1 is equal to the delay time t calculated by the calculating unit, to the receiving end Transmitting a read instruction to cause the receiving end to read data from the buffer area module according to the read instruction; further configured to monitor the used capacity E, when the used capacity E is equal to the capacity L And sending a stop write instruction to the transmitting end, so that the sending end stops writing data to the buffer area module according to the stop write instruction.
  • control module comprises:
  • a calculating unit configured to convert according to the writing speed VI, the reading speed V2
  • a determining unit configured to determine whether the writing speed VI is greater than the reading speed V2, and obtain a determination result
  • a second control unit configured to send a write to the sending end when the determining result obtained by the determining unit is that the writing speed VI is not greater than the reading speed V2, and the used capacity E is zero Entering an instruction, so that the transmitting end writes data to the buffer area module according to the write instruction; and sends a stop read instruction to the receiving end, so that the receiving end stops reading the instruction according to the Stop reading data from the buffer module; further configured to monitor the used capacity E, and when the used capacity E is equal to the capacity L, send a read instruction to the receiving end, so that the Receiving, by the receiving end, data from the buffer area module according to the read instruction; and sending a stop writing instruction to the transmitting end and starting timing to obtain a second timing time t2, so that the sending end stops writing according to the The input instruction stops writing data to the buffer area module; and is further configured to: when the second timing time t2 is equal to the delay time t calculated by the calculating unit, to the transmitting end Send a write command, so that the transmitting end according
  • the user-set transmission speed V is greater than zero and less than the write speed VI and the read speed V2.
  • controlling the controlling module controlling the sending end to write data to the buffer area module comprises: controlling the sending end to write data to a queue tail of a data queue in the buffer area module;
  • the receiving end reading data from the buffer area module includes: controlling the receiving end to read data from a queue head of a data queue in the buffer area module.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the flow control method according to the embodiment of the present invention.
  • the flow control device obtains the write speed VI of the transmitting end, the reading speed V2 of the receiving end, the transmission speed V set by the user, and the buffer area of the flow control device itself.
  • the sending end writes a start timing and a stop timing of the data to the buffer area, and/or controls a start timing and a stop timing of the data read by the receiving end from the buffer area; thus, data transmission is effectively prevented Overflow and speed control during data transfer.
  • FIG. 1 is a schematic flowchart of a flow control method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a first embodiment of step S20 according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of step S20 according to an embodiment of the present invention. Schematic;
  • FIG. 5 is a schematic diagram of a first structure of a control module according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a second structure of a control module according to an embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a flow control method according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
  • S10 respectively obtain the write speed VI of the sender, the read speed V2 of the receiver, the transmission speed V set by the user, and the capacity L of the data queue of the buffer of the flow control device itself and the used capacity of the data queue.
  • the flow control device is respectively connected to the transmitting end and the receiving end, and configured To control the data transmission speed between the transmitting end and the receiving end.
  • the traffic control device includes a buffer area. Specifically, the data in the buffer area is saved in a data queue manner, and the capacity L of the data queue does not exceed the maximum capacity of the buffer area.
  • the capacity L of the data queue can be set according to actual needs.
  • the transmission speed V set by the user is an average transmission speed between the transmitting end and the receiving end set by the user.
  • the transmission speed V is greater than zero and less than the write speed VI and the read speed V2; for example, if the write speed VI is greater than the read speed V2, the transmission speed V is greater than zero and less than The reading speed V2; if the writing speed VI is smaller than the reading speed V2, the transmission speed V is greater than zero and smaller than the writing speed VI.
  • the user can set the transmission speed V according to actual needs.
  • the flow control device may send an acquisition instruction to the transmitting end and the receiving end, respectively, so that the sending end and the receiving end send the writing speed VI and according to the obtaining instruction.
  • the read speed V2 is fed back to the flow control device.
  • the write speed VI of the transmitting end refers to the speed at which the transmitting end writes data to the buffer area; the reading speed V2 of the receiving end refers to the speed at which the receiving end reads data from the buffer area.
  • S20 controlling, according to the write speed VI, the read speed V2, the transmission speed V, the capacity L, and the used capacity E, the start of writing data to the buffer by the transmitting end. Timing and stopping timing, and/or controlling a start timing and a stop timing at which the receiving end reads data from the buffer area.
  • controlling the start timing and the stop timing of the data written by the transmitting end to the buffer area, and/or controlling the start timing and the stop timing of the data read by the receiving end from the buffer area may include the following There are several cases: only controlling the sending end to write data to the buffer area, controlling the sending end to write data to the buffer area, and controlling the receiving end to read data from the buffer area, or only Controlling the receiving end to read data from the buffer area.
  • the controlling the sending end to write data to the buffer area including: The sending end writes data to the tail of the queue of the data queue in the buffer area; the controlling the receiving end to read data from the buffer area, comprising: controlling data of the receiving end from the buffer area The queue head of the queue reads the data; thus, the data in the data queue is guaranteed to be written first in the order in which it is read first.
  • step S20 is a schematic flowchart of the first embodiment of step S20 in the embodiment of the present invention. As shown in FIG. 2, the first embodiment of step S20 includes:
  • the flow control device Sending, by the sending end, a write instruction, so that the sending end writes data to the data queue of the buffer area, and sends a stop reading instruction to the receiving end and starts timing to obtain a first timing time t1, so that the The receiving end stops reading data from the data queue of the buffer area.
  • the flow control device controls the sending end to write data to the data queue, and controls the receiving end to stop reading data from the data queue to avoid data reading in the data queue, resulting in Data read error.
  • the flow control device further monitors that the receiving end stops reading from the data queue The duration of the data.
  • the flow control device also monitors the used capacity E of the data queue, because when the write speed VI is greater than the read speed V2, the used capacity E of the data queue gradually increases to the The capacity L of the data queue.
  • the flow control device sends a stop write command to the sending end, so that the sending end stops writing data to the data queue. In this way, the flow control device controls the transmitting end to stop writing data to the data queue; the flow control device does not send a stop reading instruction to the receiving end, that is, the flow control device continues to control the receiving The terminal reads data from the data queue.
  • the flow control device performs a read operation only on the data queue without performing a write operation.
  • the flow control device continues to monitor the used capacity E of the data queue, because only the receiving end performs a read operation on the data queue, and the used capacity of the data queue The amount E will gradually decrease by zero.
  • step S10 is re-executed.
  • the used capacity E of the data queue is zero, the end of a cycle of data transmission between the transmitting end and the receiving end.
  • FIG. 3 is a schematic flowchart of a second embodiment of step S20 in the embodiment of the present invention.
  • the second embodiment of step S20 includes:
  • step S32 Determine whether the writing speed VI is greater than the reading speed V2, and determine that the writing speed VI is not greater than the reading speed V2, proceed to step S33.
  • the flow control device sends the data to the Sending a write instruction to cause the transmitting end to write data to the data queue of the buffer area; and sending a stop read instruction to the receiving end, so that the receiving end stops the slave according to the stop instruction
  • the data queue of the buffer reads data. In this way, the flow control device controls the transmitting end to write data to the data queue, and controls the receiving end to stop reading data from the data queue to avoid data reading, resulting in data reading errors.
  • the flow control device also monitors the used capacity E of the data queue because In step S33, only the data queue is written without performing a read operation, and the used capacity E of the data queue is gradually increased to the capacity L of the data queue.
  • S34 monitoring the used capacity E, when the used capacity E is equal to the capacity L, sending a read instruction to the receiving end, so that the receiving end is from the cache according to the read instruction The area reads data; and sends a stop write command to the transmitting end and starts timing to obtain a second timing time t2, so that the transmitting end stops writing data to the buffer area according to the stop write instruction.
  • the flow control device sends a read command to the receiving end, so that the receiving end reads data from the data queue of the buffer area according to the read instruction; and sends a stop write to the sending end And causing the transmitting end to stop writing data to the data queue according to the stop writing instruction.
  • the flow control device only controls the receiving end to read data from the data queue, that is, only performs a read operation on the data queue without performing a write operation.
  • the flow control device further calculates a duration in which the transmitting end stops writing data to the data queue.
  • the flow control device continues to control the receiving end to read data from the data queue, that is, the flow control device does not The receiving end sends a stop read command; the flow control device sends a write command to the sending end, so that the sending end writes data to the data queue of the buffer area according to the write command.
  • the flow control device simultaneously controls the sending end to write data to the data queue and control the receiving end to read data from the data queue, that is, to the data team. Column read and write operations are performed simultaneously.
  • the flow control device also monitors the used capacity E of the data queue, because when the write speed VI is smaller than the read speed V2, the used capacity E of the data queue is gradually reduced to zero. .
  • step S10 is re-executed.
  • the used capacity E of the data queue is zero, the end of a cycle of data transmission between the transmitting end and the receiving end.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the flow control method according to the embodiment of the invention.
  • FIG. 4 is a schematic structural diagram of a flow control device according to an embodiment of the present invention. As shown in FIG. 4, the flow control device 100 is connected to a transmitting end 200 and a receiving end 300, respectively.
  • the flow control device 100 includes a storage area module 20,
  • the flow control device 100 further includes: an obtaining module 10 and a control module 30;
  • the obtaining module 10 is configured to acquire the write speed VI of the sending end 200, the reading speed V2 of the receiving end 300, the transmission speed V set by the user, and the data queue in the buffer area module 20. Capacity L and used capacity E of the data queue;
  • the control module 30 is configured to control, according to the write speed VI, the read speed V2, the transmission speed V, the capacity L, and the used capacity E, the sending end 200 to the
  • the buffer area module 20 writes the start timing and stop timing of the data, and/or controls the start timing and stop timing at which the receiving end 300 reads data from the buffer area module 20.
  • the data in the buffer area module 20 is saved in the form of a data queue, and the capacity L of the data queue does not exceed the maximum capacity of the buffer area module 20.
  • the capacity L of the data queue can be set according to actual needs.
  • the transmission speed V set by the user is the sending end and the receiving end set by the user. Average transmission speed between.
  • the transmission speed V is greater than zero and less than the write speed VI and the read speed V2; for example, if the write speed VI is greater than the read speed V2, the transmission speed V is greater than zero and less than The reading speed V2; if the writing speed VI is smaller than the reading speed V2, the transmission speed V is greater than zero and smaller than the writing speed VI.
  • the user can set the transmission speed V according to actual needs.
  • the obtaining module 10 may send an obtaining instruction to the sending end 200 and the receiving end 300, respectively, so that the sending end 200 and the receiving end 300 send the writing speed VI and the location according to the obtaining instruction.
  • the read speed V2 is fed back to the acquisition module 10.
  • the write speed VI of the sending end 200 refers to the speed at which the sending end 200 writes data to the data queue of the buffer area module 20; the reading speed V2 of the receiving end 300 refers to the receiving end 300 The speed at which data is read from the data queue of the buffer area module 20.
  • the control module 30 controls the sending end 200 to write data to the buffer area module 20, specifically, the control module 30 controls the sending end 200 to write data to the data queue of the buffer area module 20;
  • the control module 30 controls the receiving end 300 to read data from the buffer area module 20, specifically, the control module 30 controls the receiving end 300 to read data from the data queue of the buffer area module 20.
  • the control module 30 controls a start timing and a stop timing of the data written by the sending end 200 to the data queue in the buffer area module 20, and/or controls the receiving end 300 from the buffer area module.
  • the start time and the stop timing of the data queue read data in 20 may include the following cases: the control module 30 only controls the sending end 200 to write data to the data queue, and the control module 30 simultaneously controls The transmitting end 200 writes data to the data queue and controls the receiving end 300 to read data from the data queue, and the control module 30 only controls the receiving end 300 to read data from the data queue.
  • the control module 30 controlling the sending end 200 to write data to the data queue in the buffer area module 20 includes: controlling the sending end 200 to write data to the tail end of the data queue in the buffer area module 20
  • the control module 30 controls the receiving end 300 from the buffer area
  • the data queue read data in the module 20 includes: controlling the receiving end 300 to read data from a queue head of the data queue in the buffer area module 20; thus, ensuring that data in the data queue remains written first The order of reading.
  • FIG. 5 is a first schematic structural diagram of a control module according to an embodiment of the present invention.
  • the control module 30 includes: a computing unit 31, a determining unit 32, and a first control unit 33, where:
  • the calculating unit 31 is configured to calculate a delay time t according to the writing speed VI, the reading speed V2, the transmission speed V and the capacity L, and the delay time t satisfies the following expression:
  • the determining unit 32 is configured to determine whether the writing speed VI is greater than the reading speed V2, and obtain a determination result;
  • the first control unit 33 is configured to send to the sending unit when the determination result obtained by the determining unit 32 is that the writing speed VI is greater than the reading speed V2, and the used capacity E is zero.
  • the terminal 200 sends a write command, so that the transmitting end 200 writes data to the buffer area module 20 according to the write instruction; and sends a stop reading instruction to the receiving end 300 and starts timing to obtain the first timing.
  • Time t1 such that the receiving end 300 stops reading data from the buffer area module 20 according to the stop reading instruction; and is further configured to be equal to the calculation calculated by the calculating unit 31 when the first timing time t1 is equal to And delaying time t, sending a read instruction to the receiving end 200, so that the receiving end 300 reads data from the buffer area module 20 according to the read instruction; and is further configured to monitor the used capacity E, when the used capacity E is equal to the capacity L, sending a stop write instruction to the transmitting end 200, so that the sending end 200 stops to the slowing according to the stop writing instruction
  • the bank module 20 writes data.
  • the read speed V2 the first control unit 33 sends a write command to the sending end 200, so that the sending end 200 writes data to the data queue of the buffer area module 20, and
  • the receiving end 300 sends a stop reading instruction and starts timing to obtain a first timing time t1, so that the receiving end 300 stops reading data from the data queue of the buffer area module 20, that is, the first control unit 33 controls the
  • the transmitting end 200 writes data to the buffer area module 20, and controls the receiving end 300 to stop reading data from the buffer area module 20 to avoid data reading, resulting in data reading error;
  • the first control unit 33 also detects the duration at which the receiving end 300 stops reading data from the buffer area module 20.
  • the first control unit 33 When the first timing time t1 is equal to the delay time t, the first control unit 33 continues to control the sending end 200 to write data to the data queue of the buffer area module 20, and the first The control unit 33 sends a read command to the receiving end 300, so that the receiving end 300 reads data from the data queue of the buffer area module 20; thus, the first control unit 33 simultaneously controls the transmitting end 200, writing data to the data queue of the buffer area module 20 and controlling the receiving end 300 to read data from the data queue of the buffer area module 20, and performing read and write operations on the data queue simultaneously; The first control unit 33 also monitors the used capacity E of the data queue. Because the write speed VI is greater than the read speed V2, the used capacity E of the data queue gradually increases to the data queue. Capacity L.
  • the first control unit 33 sends a stop write instruction to the transmitting end 200, so that the sending end 200 stops writing data to the data queue of the buffer area module 20. In this way, the first control unit 33 controls the transmitting end 200 to stop writing data to the data queue; the first control unit 33 does not send a stop reading instruction to the receiving end, that is, The first control unit 33 continues to control the receiving end 300 to read data from the data queue.
  • the first control unit 33 performs a read operation only on the data queue without performing a write operation. In addition, the first control unit 33 continues to monitor the used capacity E of the data queue, because only the receiving end 300 performs a read operation on the data queue, and the used capacity E of the data queue is gradually reduced. Small to zero. When the used capacity E of the data queue is zero, the end of one cycle of data transmission between the transmitting end 200 and the receiving end 300.
  • FIG. 6 is a second schematic structural diagram of a control module according to an embodiment of the present invention.
  • the control module 30 includes: a computing unit 31, a determining unit 32, and a second control unit 34, where:
  • the calculating unit 31 is configured to calculate a delay time t according to the writing speed VI, the reading speed V2, the transmission speed V and the capacity L, and the delay time t satisfies the following expression:
  • the determining unit 32 is configured to determine whether the writing speed VI is greater than the reading speed V2, and obtain a determination result;
  • the second control unit 34 is configured to, when the determination result obtained by the determining unit 32 is that the writing speed VI is not greater than the reading speed V2, and the used capacity E is zero,
  • the transmitting end 200 sends a write instruction to cause the transmitting end 200 to write data to the buffer area module 20 according to the write instruction; and send a stop reading instruction to the receiving end 300 to cause the receiving
  • the terminal 300 stops reading data from the buffer area module 20 according to the stop read instruction; further configured to monitor the used capacity E, and when the used capacity E is equal to the capacity L, receive the data Sending a read instruction, so that the receiving end reads data from the buffer area module 20 according to the read instruction; and sends a stop writing instruction to the transmitting end and starts timing to obtain a second timing time t2, So that the transmitting end stops writing according to the Stopping writing data to the buffer module 20; further configured to send a write command to the transmitting terminal 200 when the second timing time t2 is equal to the delay time t calculated by the computing unit 31 So that the transmit
  • the second control unit 34 sends a write command to the sending end 200, so that the sending end 200 writes data to the data queue of the buffer area module 20; and to the receiving end
  • the 300 sends a stop read instruction to cause the receiving end 300 to stop reading data from the data queue of the buffer area module 20.
  • the second control unit 34 controls the sending end 200 to write data to the data queue, and controls the receiving end 300 to stop reading data from the data queue to avoid data reading, resulting in data reading. error.
  • the second control unit 34 also monitors the used capacity E of the data queue, because when the used capacity E is zero, only the data queue of the buffer module 20 is written, instead of The read operation, the used capacity E of the data queue will gradually increase to the capacity of the data queue! ⁇ .
  • the second control unit 34 When the used capacity E is equal to L, indicating that the data queue of the buffer area module 20 is full, the second control unit 34 sends a read instruction to the receiving end 300, so that the receiving end 300, reading data from the data queue, and sending a stop write instruction to the sending end 200, so that the sending end 200 stops writing data to the data queue, and thus, the second control unit 34 Only the receiving end 300 is controlled to read data from the data queue, that is, only a read operation is performed on the data queue without performing a write operation. In addition, the second control unit 34 is further configured to monitor the duration at which the sending end 200 stops writing data to the data queue. Between.
  • the second control unit 34 continues to control the receiving end 300 to read data from the data queue, that is, the second control unit 34 does not Sending a stop read instruction to the receiving end 300; the second control unit 34 sends a write command to the transmitting end 200 to cause the transmitting end 200 to write data to the data queue.
  • the second control unit 34 simultaneously controls the sending end 200 to write data to the data queue and controls the receiving end 300 to read data from the data queue, and simultaneously read and write the data queue. get on.
  • the second control unit 34 is further configured to monitor the used capacity E of the data queue, because the write speed VI is smaller than the read speed V2, and the used capacity E of the data queue is gradually reduced. Small to zero. When the used capacity E of the data queue is zero, the end of a cycle of data transmission between the transmitting end and the receiving end.
  • the flow control device may be implemented by a server in a practical application, and the server is connected to the sending end and the receiving end; the control module 30 and the sub-module thereof in the flow control device: the calculating unit 31 and the determining unit 32.
  • the first control unit 33 and the second control unit 34 may be implemented by a central processing unit (CPU), a digital signal processor (DSP), or a field in the actual application.
  • the implementation of the memory module module (FPGA) in the device is implemented by a memory in the device in an actual application; the acquisition module 10 in the device may be used in an actual application.
  • the CPU, DSP or FPGA in the device is implemented in conjunction with a transceiver.
  • embodiments of the present invention can be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the present invention is applicable to one or more computer-usable storage media (including but not limited to disks) having computer usable program code embodied therein. A form of computer program product embodied on a memory and optical storage, etc.).
  • the present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowcharts and/or block diagrams, and combinations of flow and/or blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions.
  • the computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing device to produce a machine such that a process or a process and/or a block diagram of a block or A device that has multiple functions specified in the box.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the used capacity E of the data queue controls the sending end to the slow
  • the storage area writes the start timing and the stop timing of the data, and/or controls the start timing and the stop timing of the data read by the receiving end from the buffer area; thus, the data transmission overflow is effectively prevented and the data transmission process is realized.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

L'invention concerne un procédé et un dispositif de contrôle de trafic, et un support de stockage informatique. Le procédé de contrôle de trafic est appliqué à un dispositif de contrôle de trafic. Le procédé comprend les étapes consistant à : acquérir respectivement une vitesse d'écriture V1 d'une extrémité d'envoi, une vitesse de lecture V2 d'une extrémité de réception, une vitesse d'émission V définie par un utilisateur et une capacité L d'une file d'attente de données d'une zone d'antémémoire du dispositif de contrôle de trafic lui-même et une capacité utilisée E de la file d'attente de données ; et, en fonction de la vitesse d'écriture V1, de la vitesse de lecture V2, de la vitesse d'émission V, de la capacité L et de la capacité utilisée E, commander le temporisateur de démarrage et le temporisateur d'arrêt pour que l'extrémité d'envoi écrive des données dans la zone d'antémémoire et/ou commander le temporisateur de démarrage et le temporisateur d'arrêt pour que l'extrémité de réception lise des données dans la zone d'antémémoire.
PCT/CN2014/076898 2014-02-26 2014-05-06 Procédé et dispositif de contrôle de trafic, et support de stockage informatique WO2015127717A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410067255.XA CN104869073B (zh) 2014-02-26 2014-02-26 一种流量控制方法及装置
CN201410067255.X 2014-02-26

Publications (1)

Publication Number Publication Date
WO2015127717A1 true WO2015127717A1 (fr) 2015-09-03

Family

ID=53914605

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076898 WO2015127717A1 (fr) 2014-02-26 2014-05-06 Procédé et dispositif de contrôle de trafic, et support de stockage informatique

Country Status (2)

Country Link
CN (1) CN104869073B (fr)
WO (1) WO2015127717A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995666A (zh) * 2019-04-12 2019-07-09 深圳市元征科技股份有限公司 一种消息传输方法及相关装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696451B (zh) * 2017-04-06 2021-09-14 上海诺基亚贝尔股份有限公司 一种用于控制流量的方法和装置
CN110912830B (zh) * 2018-09-17 2023-05-02 杭州海康威视系统技术有限公司 传输数据的方法和装置
CN111835651B (zh) * 2019-04-19 2022-03-18 上海哔哩哔哩科技有限公司 数据写入方法、系统、设备及计算机可读存储介质
CN115344396B (zh) * 2022-10-19 2023-02-28 势加透博(成都)科技有限公司 一种基于LabVIEW的面板间同步控制方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1754335A (zh) * 2003-02-25 2006-03-29 摩托罗拉公司 分组数据通信系统中的流量控制
CN101272331A (zh) * 2008-04-09 2008-09-24 重庆重邮信科(集团)股份有限公司 终端设备和终端适配器数据传输的流量控制方法及装置
CN101340358A (zh) * 2007-07-04 2009-01-07 鼎桥通信技术有限公司 一种流量控制方法、系统及流量控制实体
CN101656588A (zh) * 2009-09-21 2010-02-24 中兴通讯股份有限公司 一种传输数据的方法及系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100579061C (zh) * 2005-12-21 2010-01-06 华为技术有限公司 一种对光纤通道数据流速率进行调节的方法
CN101369957A (zh) * 2007-08-13 2009-02-18 硅谷数模半导体(北京)有限公司 数据传输系统及方法
CN101534173B (zh) * 2009-04-20 2011-11-09 福建星网锐捷网络有限公司 一种数据流量控制方法和系统
CN101959245B (zh) * 2009-07-13 2013-06-05 中兴通讯股份有限公司 一种WiMAX系统中流量控制的方法、装置及系统
CN102264103B (zh) * 2010-05-28 2014-05-07 大唐移动通信设备有限公司 数据发送方法和装置
CN103401804B (zh) * 2013-06-06 2016-06-08 中国人民解放军理工大学 无线传感器网络节点数据缓存转发控制系统及方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1754335A (zh) * 2003-02-25 2006-03-29 摩托罗拉公司 分组数据通信系统中的流量控制
CN101340358A (zh) * 2007-07-04 2009-01-07 鼎桥通信技术有限公司 一种流量控制方法、系统及流量控制实体
CN101272331A (zh) * 2008-04-09 2008-09-24 重庆重邮信科(集团)股份有限公司 终端设备和终端适配器数据传输的流量控制方法及装置
CN101656588A (zh) * 2009-09-21 2010-02-24 中兴通讯股份有限公司 一种传输数据的方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995666A (zh) * 2019-04-12 2019-07-09 深圳市元征科技股份有限公司 一种消息传输方法及相关装置

Also Published As

Publication number Publication date
CN104869073A (zh) 2015-08-26
CN104869073B (zh) 2019-09-06

Similar Documents

Publication Publication Date Title
US12052332B2 (en) Computer network packet transmission timing
WO2015127717A1 (fr) Procédé et dispositif de contrôle de trafic, et support de stockage informatique
JP5128724B2 (ja) メモリ・コントローラにおいてコマンドをスケジューリングするための方法、装置及びプログラム
US9047418B2 (en) Methods and devices for extending USB 3.0-compliant communication
JP2013537009A5 (ja) データの送信方法、送信機、受信機、並びにプログラム
JP2008545356A5 (fr)
JP2007521758A5 (fr)
JP2013085116A5 (fr)
WO2019165954A1 (fr) Procédé et dispositif de conversion de largeur de bits de données, et support de stockage lisible par ordinateur
US10402354B2 (en) Method, apparatus, communication equipment and storage media for determining link delay
US20120303843A1 (en) Variable depth buffer
JP5372699B2 (ja) 車載ネットワーク装置
US10353845B2 (en) Adaptive speed single-wire communications
JP5381109B2 (ja) 通信装置及びその制御プログラム
JP2014060686A (ja) 半導体装置
JP2015118571A5 (fr)
JP2016031547A (ja) 信号転送装置及び信号転送装置の制御方法
WO2016206516A1 (fr) Procédé de synchronisation de réseau de commutation, dispositif de commutation, dispositif d'accès et support d'informations
JP2011119999A (ja) 通信装置及びマスタ装置
JP6586666B2 (ja) 並列処理装置、ノード情報採取方法、およびノード情報採取プログラム
WO2015000294A1 (fr) Disque dur et procédé de transmission et d'obtention de données de disque dur
US20170125126A1 (en) Transmission apparatus, diagnosis method, computer-readable recording medium
JP2014238776A5 (fr)
CN116303130B (zh) 存储设备异步事件上报方法及其应用设备
JPWO2015068381A1 (ja) 送信装置、情報処理システム、マスタサーバ、データベースシステムおよび方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14883614

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14883614

Country of ref document: EP

Kind code of ref document: A1