WO2018014688A1 - Procédé et dispositif de commande de flux de trame, et support de stockage informatique - Google Patents
Procédé et dispositif de commande de flux de trame, et support de stockage informatique Download PDFInfo
- Publication number
- WO2018014688A1 WO2018014688A1 PCT/CN2017/089080 CN2017089080W WO2018014688A1 WO 2018014688 A1 WO2018014688 A1 WO 2018014688A1 CN 2017089080 W CN2017089080 W CN 2017089080W WO 2018014688 A1 WO2018014688 A1 WO 2018014688A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frame stream
- station
- data
- transmit
- idle
- 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.)
- Ceased
Links
Images
Definitions
- the present invention relates to the field of power line communication technologies, and in particular, to a frame stream control method and apparatus, and a computer storage medium.
- Power line communication networks generally adopt a tree topology. There are continuous data flows between the two sites of the parent-child relationship (the sending site and the receiving site, respectively).
- the data stream buffer is saved on the sending/receiving site, and the data structure of the data stream buffer is managed as a frame stream.
- a logical data transmission link is formed between the transmission frame stream and the received frame stream.
- Each site maintains data communication at the same time with other sites directly adjacent to the network topology.
- data transmission between the transmit/receive frame streams of the two sites must be coordinated through some commands and responses.
- the existing HomePlug Green PHY standard defines the hierarchical structure and functions of the power line communication protocol stack.
- the Media Access Control (MAC) implements a set of frame flow control mechanisms to coordinate the transmission/reception of two sites. Frame the stream to keep it in sync.
- the frame stream control has a release (RELEASE) command for synchronous release between the sending frame stream of the transmitting station and the corresponding receiving frame stream of the receiving station, that is, the transmitting station notifies the receiving station when releasing a certain sending frame stream.
- the corresponding received frame stream is also released. This operation will take up a certain letter Channel bandwidth. In the environment where the channel is not good, the response may not be received, and the sending station can only release the transmitted frame stream unilaterally through the timer.
- an embodiment of the present invention is to provide a frame stream control method and apparatus, and a computer storage medium, which utilizes a frame stream timer count and an idle frame stream preemption mechanism to implement asynchronous release of frame streams and frame stream resource recovery. use.
- an embodiment of the present invention provides a frame flow control method, where the method includes:
- the idle connection frame stream is used to establish a data transmission link to transmit data.
- the timer count of the transmit/receive frame stream in the station is checked, and the transmit/receive frame stream whose timer count expires is released, including :
- the transmission/reception frame stream is directly released.
- the timer count of the sent/received frame stream is checked, and the updated timer count is obtained, including:
- the station If the transmit/receive frame stream of the station includes data, the station resets a timer count of the transmit/receive frame stream, and determines the reset transmit/receive frame stream timer count as The updated first timer count;
- the station Pointing a timer count of the transmit/receive frame stream minus an idle time of the transmit/receive frame stream, obtaining a timer count remaining for the transmit/receive frame stream, and remaining the transmit/receive frame stream
- the timer count is determined to be the updated second timer count.
- the idle transmission frame stream is used to transmit data, including:
- the station determines, according to the source address and the destination address, that the data transmission link is not established by using the transmit/receive frame stream, searching for the idle docked frame stream;
- the transmit/receive data is transmitted using the idle docked frame stream to establish a data transmission link.
- searching for the idle docked frame stream includes:
- the station looks for an idle docked frame stream from its own assigned docked frame stream.
- the establishing, by using the idle connected frame stream, a data transmission link to transmit the transmit/receive data including:
- the station establishes the data transmission link by using the temporary idle docking frame stream according to the source address and the destination address of the sending/receiving data, and allocates a data buffer from the shared buffer pool according to the source address and the destination address. ;
- an embodiment of the present invention provides a frame flow control device, where the device includes: an inspection module, a release module, and a transmission module;
- the checking module is configured to check a timer count of a transmit/receive frame stream in the station when it is determined that the station has no data transmission;
- the release module is configured to release the transmit/receive frame stream whose timer count expires
- the transmitting module is configured to: when it is determined that the station has data transmission, and determine that an idle docking frame stream is available in the station, use the idle docking frame stream to establish a data transmission link to transmit data.
- the device further includes: an acquiring module; wherein
- the acquiring module is configured to: when it is determined that the station has no data transmission, check a timer count of the sent/received frame stream, and obtain an updated timer count;
- the releasing module is configured to directly release the sent/received frame stream when it is determined that the updated timer count of the sent/received frame stream expires.
- the checking module includes: a reset submodule, a determining submodule, and a subtraction submodule; wherein
- the reset submodule is configured to reset a timer count of the transmit/receive frame stream if the transmit/receive frame stream of the station includes data;
- the determining submodule is configured to determine the reset transmit/receive frame flow timer count as an updated first timer count
- the subtraction submodule is configured to: if the data in the transmit/receive frame stream of the station does not include data in an idle state, the station subtracts the timer count of the transmit/receive frame stream from the transmit/receive frame The idle time of the stream, and the remaining timer count of the transmitted/received frame stream is obtained;
- the determining submodule is further configured to determine a timer count remaining in the transmit/receive frame stream as an updated second timer count.
- the device further includes: a lookup module; wherein
- the acquiring module is configured to acquire a source address and a destination address of the sending/receiving data when determining that the station has sending/receiving data;
- the searching module is configured to: when the station determines, according to the source address and the destination address, that the data transmission link is not established by using the sending/receiving frame stream, searching for the idle docking frame stream;
- the transmission module is configured to use the idle docked frame stream to establish a data transmission link to transmit the transmit/receive data.
- the searching module is configured to: when the station determines, according to the source address and the destination address, that the data transmission link is not established by sending/receiving the frame stream, searching for the unassigned docking frame stream by itself;
- the station looks for an idle docked frame stream from its own assigned docked frame stream.
- the device further includes: an allocation module; wherein
- the searching module is configured to: search for, from the idle connected frame stream, a temporary idle docking frame stream whose timer counts the shortest remaining time;
- the allocating module is configured to establish, by the station, the data transmission link by using the temporary idle docking frame stream according to the source address and the destination address of the sending/receiving data, and according to the source address and the destination address. Allocating data caches in the shared cache pool;
- the releasing module is configured to perform a corresponding sending/receiving operation on the sending/receiving data according to the allocated data buffer, and release the allocated data cache after completing the sending/receiving operation.
- the inspection module, the release module, the transmission module, the acquisition module, the The reset submodule, the determining submodule, the subtraction submodule, the lookup module, and the allocation module may use a central processing unit (CPU) and a digital signal processor (DSP) when performing processing. , Digital Singnal Processor) or Field-Programmable Gate Array (FPGA) implementation.
- CPU central processing unit
- DSP digital signal processor
- FPGA Field-Programmable Gate Array
- Embodiments of the present invention also provide a computer storage medium in which computer executable instructions are stored, the computer executable instructions being configured to perform the frame flow control method.
- the embodiment of the invention provides a frame flow control method and device.
- the frame stream timer is used to count and determine the expired frame stream, and the expired frame stream is released; when the station has data transmission
- the preemptive idle frame stream transmits data, and realizes asynchronous release of the frame stream and resource multiplexing of the frame stream.
- Figure 1 is a topological diagram of a power line communication network
- FIG. 2 is a schematic diagram of a data transmission link in a power line communication network topology
- FIG. 3 is a schematic flowchart of a specific implementation process of a frame flow control method according to Embodiment 1 of the present invention.
- FIG. 4 is a schematic flowchart of a frame flow control method according to Embodiment 2 of the present invention.
- FIG. 5 is a schematic flowchart of a method for releasing a frame stream according to Embodiment 2 of the present invention.
- FIG. 6 is a schematic flowchart of a method for obtaining an updated timer count according to Embodiment 2 of the present invention.
- FIG. 7 is a schematic flowchart of a method for transmitting data by using an idle docked frame stream according to Embodiment 2 of the present invention.
- FIG. 8 is a schematic flowchart of a method for searching for an idle docked frame stream according to Embodiment 2 of the present invention.
- FIG. 9 is a schematic flowchart of a specific method for transmitting data by using an idle docked frame stream according to Embodiment 2 of the present invention.
- FIG. 10 is a schematic flowchart of another method for releasing a frame stream according to Embodiment 3 of the present invention.
- FIG. 11 is a schematic diagram of frame stream release in a power line communication network topology according to Embodiment 3 of the present invention.
- FIG. 12 is a schematic flowchart of another method for transmitting data by using an idle docked frame stream according to Embodiment 4 of the present invention.
- FIG. 13 is a schematic diagram of frame stream multiplexing in a power line communication network topology according to Embodiment 4 of the present invention.
- FIG. 14 is a schematic diagram of frame stream recovery in a power line communication network topology according to Embodiment 4 of the present invention.
- FIG. 15 is a schematic structural diagram of a frame flow control apparatus according to Embodiment 5 of the present invention.
- FIG. 16 is a schematic structural diagram of another frame flow control apparatus according to Embodiment 5 of the present invention.
- FIG. 17 is a schematic structural diagram of an inspection module according to Embodiment 5 of the present invention.
- FIG. 1 is a schematic diagram of a power line communication network topology
- site A there are three sub-sites under the parent site A shown in FIG. 1 , namely, site B, site C, and site D.
- Site C There are two sub-sites under Site C, namely Site E and Site F.
- each station has a maximum of two transmit frame streams (TX1 and TX2) and two receive frame streams (RX1 and RX2).
- TX1 and TX2 transmit frame streams
- RX1 and RX2 receive frame streams
- the TX2 of the site A and the RX1 of the site C establish a link for transmitting data from the site A to the site C
- the TX1 of the site A and the RX1 of the site B establish a slave.
- the TX1 of the site B and the RX1 of the site A establish a link for transmitting data from the site B to the site A
- the TX1 of the site C and the RX2 of the site A are established from the site C to the site.
- a link to send data is established.
- TX1 and TX2 transmit frame streams
- RX1 and RX2 receive frame streams
- each station has more than two transmit/receive frame streams, assuming N.
- the invention realizes the asynchronous release of the inter-site frame stream and the resource multiplexing of the frame stream by the frame stream timer counting and the idle frame stream preemption mechanism, so that the station can simultaneously and greater than the N transmit/receive frame streams.
- N sites maintain data communication.
- an embodiment of the present invention provides a method for controlling a frame stream, where the method may include:
- step S101 Determine whether the station has transmission/reception data. If the station has transmission/reception data, step S102 and step S103 are performed; if the station does not send/receive data, steps S106 to S108 are performed.
- the station needs to send/receive data, it needs to obtain source address/destination address information of the required transmission/reception data for transmitting or receiving data.
- step S103 Determine, according to the source address/destination address information, whether the transmission link has been established by sending/receiving the frame stream, and if it is determined that the transmission link has been established by sending/receiving the frame stream, step S104 and S105 are performed; if it is determined that the transmission link is not transmitted/ Receiving the frame stream to establish a transmission link, step S109 is performed.
- the data buffer is allocated from the shared buffer pool according to the source address/destination address information.
- the station needs to send or receive data through the transmission/reception frame stream after the transmission or reception of the data, the data can be transmitted only after the transmission/reception frame stream establishes the transmission link. Transfer in the link.
- a timer is set.
- the time set in the timer indicates the maximum time that a data transmission link represented by a transmission/reception frame stream can exist.
- the timing period of sending the frame stream is greater than or equal to the packet sending interval of the two packets before and after the data transmission link represented by the sending frame stream, and a fixed value may be selected according to actual service requirements.
- the timing period of receiving the frame stream is greater than the timing period of the sending frame stream.
- the purpose of the setting is to ensure that the transmission frame stream on the transmitting side of the same data transmission link is released later than normal, and may also be based on the actual service.
- the demand chooses a fixed value.
- the timer count is reset in order to ensure the active state of the transmit/receive frame stream.
- the timer is subtracted from the idle time because the transmit/receive frame does not currently contain data, indicating that the transmit/receive frame is currently in an idle state, and the timer count needs to be subtracted from the idle time to calculate the timer.
- the remaining count that is, the remaining time of the transmitted/received frame.
- Step S107 Determine whether the timer count of the transmit/receive frame stream is expired. If the timer count of the transmit/receive frame stream expires, step S108 is performed; if the timer count of the send/receive frame stream is not expired, then Step S101 is performed.
- the timer of the transmission/reception frame stream counts the release of the expired transmission/reception frame stream, and the step S101 is re-executed.
- the transmit/receive frame stream may be released.
- step S109 If the transmission link is not established by sending/receiving the frame stream, determining whether there is unallocated The transmission/reception frame stream, if there is an unallocated transmission/reception frame stream, performs step S110; if there is no unallocated transmission/reception frame stream, step S111 is performed.
- step S110 If there is an unallocated transmission/reception frame stream, initialize the obtained transmission/reception frame stream, establish a transmission/reception link, and go to step S104.
- the transmission link is not established by transmitting/receiving the frame stream.
- the obtained transmission/reception frame stream can be initialized.
- the transmission/reception link is established by transmitting/receiving a frame stream.
- step S111 If there is no unassigned transmit/receive frame stream, it is determined whether there is an idle transmit/receive frame stream. If there is an idle transmit/receive frame stream, step S112 is performed; if there is no idle transmit/receive frame stream Then, step S113 is performed.
- the frame stream with the shortest surviving time is selected here, in order to select a shortest active idle transmit/receive frame stream in the idle transmit/receive frame stream, and use the timer to count up.
- the idle transmit/receive frame stream of the period is utilized.
- step S113 If there is no idle transmission/reception frame stream, the transmitted/received data is discarded, and the process proceeds to step S106.
- the embodiment of the invention provides a frame flow control method.
- the frame stream timer is used to count and determine the expired frame stream, and the expired frame stream is released; when the station has data transmission, the preemption is performed.
- the idle frame stream transmits data, realizing the asynchronous release of the frame stream and Resource multiplexing of frame streams.
- an embodiment of the present invention provides a method for controlling a frame stream, where the method may include:
- step S201 includes steps S2011 and S2012:
- the release of the transmission/reception frame stream is judged based on whether the timer count of the transmission/reception frame is expired, so the timer count of the transmission/reception frame stream is first updated to determine the remaining of the transmission/reception frame stream timer. time.
- step S2011 includes S20111 and S20112:
- S20111 If the transmit/receive frame stream of the station includes data, the station resets a timer count of the sent/received frame stream, and counts the reset transmit/receive frame flow timer Determined to count the updated first timer.
- the transmit/receive frame stream still contains data, it will not be released, and its timer count needs to be reset to keep it active. It should be noted here that when there is no data transmission at the site, the reason that the transmission/reception frame stream may contain data is that it is possible that the transmitted data is a long message. It takes a long time to divide the long message into multiple times, so there is no data to be transmitted at the site, but the data still needs to be transmitted in the frame stream.
- S20112 If the transmit/receive frame stream of the station does not include data in an idle state, the station subtracts a timer count of the transmit/receive frame stream from the transmit/receive frame stream. In the idle time, the remaining timer count of the transmitted/received frame stream is obtained, and the remaining timer count of the transmitted/received frame stream is determined as the updated second timer count.
- the idle state of the frame stream refers to a transmission/reception frame stream of the data transmission link represented by the frame stream that does not contain the transmission data or the reception data, and the data stream represented by the frame stream.
- the timer count of the frame stream is subtracted from the idle time of the frame stream, so that the time remaining for the timer of the current frame stream can be obtained.
- the updated timer count of the transmitted/received frame stream expires, it can be directly released.
- the released frame stream can be reused for the transmission or reception of other data.
- the idle connection frame stream is used to establish a data transmission link to transmit data.
- step S202 includes steps S2021 to S2023:
- S2021 When it is determined that the station has sending/receiving data, obtain a source address and a destination address of the sending/receiving data.
- the source address and the destination address of the transmitted/received data are used for identifying the frame stream, that is, when the station has to send/receive data, the corresponding transmit/receive frame stream can be identified by the source address and the destination address. .
- S2022 When the station determines, according to the source address and the destination address, that the data transmission link is not established by using the transmit/receive frame stream, searching for the idle docked frame stream.
- step S2022 includes steps S20221 and S20222:
- the unallocated docking frame stream refers to a frame stream that is not allocated for transmission or reception of any data in the station.
- the station searches for an idle docking frame stream from its own allocated docking frame stream.
- the station has no unassigned docking frame stream, indicating that all frame streams in the station have been allocated, and the data needs to be transmitted, it is necessary to find the idle docking frame stream in the already allocated docking frame stream. , multiplexing the idle docked frame stream.
- step S2023 includes steps S20231 to S20233:
- the temporary idle docked frame stream indicates that the idle docked frame stream is the fastest and soon to expire frame stream in all the found idle docked frame streams.
- the station establishes the data transmission link by using the temporary idle docking frame stream according to the source address and the destination address of the sending/receiving data, and allocates the data transmission link according to the source address and the destination address.
- Data cache
- the corresponding data transmission link can be established by using the idle idle docking frame stream.
- the data can be transmitted by the station after the data transmission link is established. Transferring data first requires allocating a data cache for the transmitted data in the shared buffer pool.
- the data to be sent or received is stored in the data cache, and after the data is sent or received correspondingly, the previously allocated data cache is released to release the cache.
- the embodiment of the invention provides a frame flow control method.
- the frame stream timer is used to count and determine the expired frame stream, and the expired frame stream is released; when the station has data transmission, the preemption is performed.
- the idle frame stream transmits data, and realizes asynchronous release of the frame stream and resource multiplexing of the frame stream.
- an embodiment of the present invention provides a frame flow control method for implementing asynchronous release of a frame stream between a first station and a second station by using a frame stream timer.
- the method may include :
- the first station sends data to the second station by sending a frame stream, and resets a timer count of the sent frame stream.
- the first station and the second station perform data transmission, the first station sends data to the second station by sending a frame stream.
- the transmission frame stream of the first station and the received frame stream of the second station enable data to be transmitted between the two sites by establishing a data transmission link.
- a timer is set, and the timer for sending the frame stream is reset every time data is sent, so that it remains active.
- the received frame stream of the second station receives data sent by the sending frame stream, and resets a timer count of the received frame stream.
- the data sent by the sending frame stream of the first station is sent to the second station through the data transmission link, and the received frame stream of the second station receives the data transmitted by the sending frame stream of the first station.
- the timer frame of the first station and the received frame stream of the second station are kept synchronized.
- the timing period of sending the frame stream is greater than or equal to the packet sending interval of the two packets before and after the data transmission link represented by the sending frame stream, and a fixed value may be selected according to actual service requirements.
- the timing period of receiving the frame stream is greater than the timing period of the sending frame stream, and is guaranteed to be released later than the sending frame stream of the transmitting side of the same data transmission link under normal conditions, and a fixed value may be selected according to actual service requirements.
- the first station needs to check the sending frame stream of the first station.
- the content to be checked includes whether the first frame's transmitted frame stream further contains data, and whether the timer count of the transmitted frame stream expires.
- Step S303 Checking the sent frame stream of the first station, and obtaining the updated timer count, which specifically includes the following two situations:
- the first station resets the timer count of the sending frame stream, and the reset the received frame stream timer count is determined as if the data is included in the sending frame stream of the first station.
- the updated first timer counts are used to determine the timer count of the sending frame stream.
- the timer count of the transmitted frame stream needs to be reset.
- the function of the reset is to re-time the timer for transmitting the frame stream to maintain the activity of the data transmission link represented by the transmission frame stream and ensure the transmission of data.
- the device If the data of the first station's sending frame stream does not contain data, the device is in an idle state. The first station subtracts the idle time of the sent frame stream from the timer count of the sent frame stream, obtains the remaining timer count of the sent frame stream, and determines the remaining timer count of the sent frame stream as The updated second timer counts.
- the first station will subtract the transmission frame stream from the timer stream of the frame stream.
- the idle time is obtained by the remaining time count of the transmit frame stream timer, that is, the updated second timer count.
- the updated second timer count is used to determine whether the timer count of the transmitted frame stream has expired.
- the updated timer count of the sent frame stream is determined to be expired, indicating that the timer of the sent frame stream is expired, and the sent frame stream is no longer occupied, and is released.
- the received frame stream of the second station does not receive the data sent by the sending frame stream of the first station, the received frame stream of the second station is time-decayed according to the timer count, and the timer technology is no longer performed. Reset and other updates.
- the transmission frame stream TX1 of the station C is used to send data to the site A, and is carried by the site.
- the RX2 receiving frame stream of A receives the data transmitted by station C.
- station C has no data to send to station A, to release the transmission frame stream TX1
- the transmission frame stream TX1 is directly released, and at this time, the received frame stream RX2 of station A remains unexpired due to the timer. Reserved. Since the transmission frame stream TX1 of the station C has been released, the received frame stream RX2 of the station A does not receive data, so its timer time is not reset.
- the received frame stream RX2 timer count of station A expires, the frame stream is also released. Finally, the transmit frame stream TX1 of the station C and the receive frame stream RX2 of the station A are all released by the timer count, realizing the asynchronous release of the transmit frame stream and the received frame stream in the data transmission link.
- the embodiment of the present invention provides a frame stream control method.
- the frame stream timer is used to count and determine the expired frame stream, and the expired frame stream is released, thereby realizing the asynchronous release of the frame stream.
- an embodiment of the present invention provides a frame flow control method, which is used to implement resource multiplexing of a frame stream by using idle frame stream preemption.
- the method may include:
- the first station sends data to the second station by sending a frame stream.
- the first station transmits the data to the second station by creating a transmission frame stream as the transmitting station.
- the second station receives data sent by the first station, and acquires source address information and destination address information of the sent data.
- the source address information and the destination address information carried in the sending data are acquired.
- the source data and the destination address information carried in the data may also carry information such as data service classification information.
- the second station searches, according to the source address information and the destination address information, whether there is a received frame stream that is connected to the sending frame stream.
- the second station since the second station cannot determine whether there is an already allocated received frame stream to buffer the received data at this time, it is necessary to find itself whether there is a received frame stream that is connected to the transmitted frame stream.
- the second station if it does not find the received frame stream corresponding to the transmitted frame stream, it searches for itself whether there is an unallocated received frame stream.
- the unassigned received frame stream means that the received frame stream is not used as a received frame stream corresponding to any other station sending frame stream, that is, the unallocated received frame stream does not currently have any task of receiving the data buffer.
- the idle received frame stream refers to a received frame stream that is currently in an idle state and has no received data in the already received received frame stream.
- the second station searches, in the idle received frame stream, a temporary idle received frame stream whose timer counts the shortest remaining time, and uses the temporary idle received frame stream as a docking with the sending frame stream. Receive frame stream.
- the second station may find more than one idle received frame stream, and look up the idle idle received frame stream with the shortest remaining time from the found idle received frame stream, so as to expire soon.
- the released idle received frame stream is multiplexed to maximize the utilization of the idle idle received frame stream.
- the second station initializes the temporary idle receiving frame stream, so that the temporary idle receiving frame stream establishes a data transmission link with the sending frame stream.
- the idle idle receive frame stream and the transmit frame stream establish a data transmission link for implementing data cache management.
- the second station allocates a data buffer from the shared buffer pool according to the source address information and the destination address information, and receives data sent by the sending frame stream.
- the second station allocates a data buffer from the shared buffer pool to receive the data sent by the first station.
- the second station releases the allocated data cache after the data receiving is completed.
- the second data station releases the allocated data cache, and the released cache is used for buffering other data.
- the idle frame stream preemption mechanism is used to implement multiplexing of the received frame stream resources.
- Site A has only two transmit and receive frame streams available, but maintains communication with three sites B, C, and D, maintaining network topology relationships and transmitting data.
- Site A communicates with Site D, it is necessary to obtain the available frame stream according to the above procedure according to the actual situation.
- site A after receiving the data packet sent by site D, site A extracts the source and destination addresses of the packet. Then, according to the source address and the destination address, it is searched whether there is a corresponding received frame stream. If no allocated received frame stream is docked with the transmitted frame stream of station D, then it is found whether station A has an unassigned received frame stream.
- the station A has no unassigned received frame stream, the received frame stream in the idle state with the shortest remaining timer time is found from the allocated frame streams RX1 and RX2, and it is assumed here that the received frame stream satisfying the above condition is RX2. After the received frame stream RX2 is found, the received frame stream RX2 is initialized, and a data transmission link is established with the station D to complete the data receiving process.
- the embodiment of the present invention only uses the resource multiplexing of the received frame stream as an example.
- the resource multiplexing method for receiving the frame stream is also applicable to resource multiplexing of the transmitted frame stream in the station.
- the foregoing method implements resource multiplexing of the frame stream by preempting the idle frame stream.
- the data transmission link destroyed in the above scheme due to being preempted can be recovered. Referring to FIG. 14, the recovery process of the data transmission link that is destroyed due to preemption is further explained by using an example:
- the station A occupies the received frame in the idle state and the shortest remaining time of the timer from the allocated frame streams RX1 and RX2. Flow, so the data transmission link established when the original site C sends data to the site A is temporarily interrupted because the received frame stream RX2 of the site A is preempted, as shown in FIG. 13, the received frame stream RX2 of the A and the site D TX1 has established a new data transmission link. It is assumed that the transmission frame stream of the station C in the example of the third embodiment has new data to be sent to the station A before being released, and the received frame stream RX1 of the station A is just in an idle state. Then, like the resource multiplexing of the above received frame stream, the idle received frame stream RX1 of station A can be initialized and used to receive data from station C.
- the embodiment of the invention provides a frame stream control method, which preempts an idle frame stream to transmit data when the station has data transmission, and implements resource multiplexing of the frame stream.
- an embodiment of the present invention provides a frame stream control apparatus 15 that includes: an inspection module 1501, a release module 1502, and a transmission module 1503;
- the checking module 1501 is configured to check a timer count of the transmit/receive frame stream in the station when it is determined that the station has no data transmission;
- the release module 1502 is configured to release the transmit/receive frame stream whose timer count expires;
- the transmitting module 1503 is configured to: when it is determined that the station has data transmission, and determine that an idle docking frame stream is available in the station, use the idle docking frame stream to establish a data transmission link to transmit data.
- the device further includes: an obtaining module 1504;
- the obtaining module 1504 is configured to: when it is determined that the station has no data transmission, check the timer count of the sent/received frame stream, and obtain an updated timer count;
- the release module 1502 is configured to directly release the transmit/receive frame stream when it is determined that the updated timer count of the transmit/receive frame stream expires.
- the checking module 1501 includes: a reset submodule 1505, a determining submodule 1506, and a subtraction submodule 1507;
- the reset submodule 1505 is configured to reset a timer count of the send/receive frame stream if the transmit/receive frame stream of the station includes data;
- the determining sub-module 1506 is configured to determine the reset transmit/receive frame flow timer count as an updated first timer count
- the subtraction sub-module 1507 is configured to: if the data in the transmit/receive frame stream of the station does not include data in an idle state, the station subtracts the timer count of the transmit/receive frame stream from the sending/receiving The idle time of the frame stream, and the remaining timer count of the transmitted/received frame stream is obtained;
- the determining sub-module 1506 is further configured to determine a timer count remaining in the transmit/receive frame stream as an updated second timer count.
- the device further includes: a searching module 1508;
- the obtaining module 1504 is configured to acquire a source address and a destination address of the sending/receiving data when determining that the station has sending/receiving data;
- the searching module 1508 is configured to: when the site is determined according to the source address and the destination address When the data transmission link is not established through the transmit/receive frame stream, the idle docked frame stream is searched;
- the transmission module 1503 is configured to establish, by using the idle connected frame stream, a data transmission link to transmit the transmission/reception data.
- the searching module 1508 is configured to: when the station determines that the data transmission link is not established by sending/receiving a frame stream according to the source address and the destination address, searching for unallocated docking itself Frame stream
- the station looks for an idle docked frame stream from its own assigned docked frame stream.
- the device further includes: an allocation module 1509;
- the searching module 1508 is configured to: search, from the idle docked frame stream, a temporary idle received frame stream whose timer counts the shortest remaining time;
- the allocating module 1509 is configured to establish, by the station, the data transmission link by using the temporary idle docking frame stream according to the source address and the destination address of the sending/receiving data, and according to the source address and the destination address. Allocate data caches from the shared cache pool;
- the release module 1502 is configured to perform a corresponding transmission/reception operation on the transmit/receive data according to the allocated data cache, and release the allocated data cache after completing the send/receive operation.
- the checking module 1501, the releasing module 1502, the transmitting module 1503, the obtaining module 1504, the reset submodule 1505, the determining submodule 1506, the subtracting submodule 1507, the searching module 1508, and the allocating module 1509 may all be located in a frame.
- a central processing unit CPU, Central Processing Unit
- MPU Micro Processor Unit
- DSP Digital Signal Processor
- FPGA Field Programmable Gate Array
- the embodiment of the invention provides a frame stream control device, which uses a frame stream timer to count and determine an expired frame stream when the station has no data transmission, and releases the expired frame stream; when the station has data transmission, the preemption
- the idle frame stream transmits data, and realizes asynchronous release of the frame stream and resource multiplexing of the frame stream.
- Embodiments of the present invention also provide a computer storage medium in which computer executable instructions are stored, the computer executable instructions being configured to perform the frame flow control method.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- 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 frame stream timer when there is no data transmission at the station, the frame stream timer is used to count and determine the expired frame stream, and the expired frame stream is released; when the station has data transmission, preempt the idle frame stream to perform data transmission. Transmission, the asynchronous release of the frame stream and the resource multiplexing of the frame stream are realized.
Landscapes
- Mobile Radio Communication Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
Les modes de réalisation de l'invention portent sur un procédé de commande de flux de trame. Le procédé consiste : lors de la détermination qu'une station n'effectue pas de transmission de données, à vérifier un compte de minuterie destiné à un flux de trame d'émission/de réception dans la station, et à libérer le flux de trame d'émission/de réception correspondant à une minuterie expirée ; et lorsqu'il est déterminé que la station effectue une transmission de données, et qu'un flux de trame connecté et inactif est disponible dans la station, à établir, à l'aide du flux de trame connecté et inactif, une liaison de transmission de données, de façon à effectuer une transmission de données. Les modes de réalisation de la présente invention concernent également un dispositif de commande de flux de trame et un support de stockage informatique.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610570353.4 | 2016-07-18 | ||
| CN201610570353.4A CN107634914B (zh) | 2016-07-18 | 2016-07-18 | 一种帧流控制方法和装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018014688A1 true WO2018014688A1 (fr) | 2018-01-25 |
Family
ID=60991902
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/089080 Ceased WO2018014688A1 (fr) | 2016-07-18 | 2017-06-19 | Procédé et dispositif de commande de flux de trame, et support de stockage informatique |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107634914B (fr) |
| WO (1) | WO2018014688A1 (fr) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112039686A (zh) * | 2019-06-03 | 2020-12-04 | 杭州海康威视系统技术有限公司 | 一种数据流传输控制方法、装置、监控设备及存储介质 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110868242B (zh) * | 2018-10-12 | 2022-04-19 | 南方电网数字电网研究院有限公司 | 一种基于异步通信的数据采集方法 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1852196A (zh) * | 2005-11-03 | 2006-10-25 | 华为技术有限公司 | 一种在WiMAX系统中释放空闲资源的方法 |
| CN1984025A (zh) * | 2006-05-17 | 2007-06-20 | 华为技术有限公司 | 释放被无效占用的资源的方法和存储转发装置 |
| WO2015148022A1 (fr) * | 2014-03-26 | 2015-10-01 | Intel Corporation | Mécanisme de mise en file d'attente de trafic réseau côté client pour réduire la consommation de puissance radio sur des clients mobiles |
| CN105210349A (zh) * | 2014-03-27 | 2015-12-30 | 三菱电机株式会社 | 无线通信品质信息处理装置及通信系统 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101626334B (zh) * | 2009-08-10 | 2013-06-12 | 中兴通讯股份有限公司 | 通讯总线控制方法和装置 |
| KR101511150B1 (ko) * | 2014-04-14 | 2015-04-10 | 아주대학교산학협력단 | 분산형 인지 무선 네트워크에서의 채널 선점을 이용한 매체 접근 제어 방법 |
| CN105101451B (zh) * | 2015-06-26 | 2019-06-04 | 上海无线通信研究中心 | 无线分布式网络中mac层的自适应确定性退避方法及系统 |
-
2016
- 2016-07-18 CN CN201610570353.4A patent/CN107634914B/zh active Active
-
2017
- 2017-06-19 WO PCT/CN2017/089080 patent/WO2018014688A1/fr not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1852196A (zh) * | 2005-11-03 | 2006-10-25 | 华为技术有限公司 | 一种在WiMAX系统中释放空闲资源的方法 |
| CN1984025A (zh) * | 2006-05-17 | 2007-06-20 | 华为技术有限公司 | 释放被无效占用的资源的方法和存储转发装置 |
| WO2015148022A1 (fr) * | 2014-03-26 | 2015-10-01 | Intel Corporation | Mécanisme de mise en file d'attente de trafic réseau côté client pour réduire la consommation de puissance radio sur des clients mobiles |
| CN105210349A (zh) * | 2014-03-27 | 2015-12-30 | 三菱电机株式会社 | 无线通信品质信息处理装置及通信系统 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112039686A (zh) * | 2019-06-03 | 2020-12-04 | 杭州海康威视系统技术有限公司 | 一种数据流传输控制方法、装置、监控设备及存储介质 |
| CN112039686B (zh) * | 2019-06-03 | 2023-08-04 | 杭州海康威视系统技术有限公司 | 一种数据流传输控制方法、装置、监控设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107634914B (zh) | 2021-01-22 |
| CN107634914A (zh) | 2018-01-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7214891B2 (ja) | 時間に敏感なネットワークのデータ伝送を実現する方法、関連装置及びコンピュータプログラム | |
| KR102410422B1 (ko) | 네트워크에서의 분산 프로세싱 | |
| US6134514A (en) | Large-scale network simulation method and apparatus | |
| WO2014079091A1 (fr) | Procédé de transmission de données à base d'ethernet déclenché temporellement et dispositif de nœud | |
| WO2015196685A1 (fr) | Procédé et appareil de synchronisation d'horloge | |
| WO2015117501A1 (fr) | Procédé de synchronisation, dispositif de logique programmable, carte unique et élément de réseau | |
| CN107147467A (zh) | 一种tte终端系统内部时间同步系统及方法 | |
| CN106130680A (zh) | 一种工业互联网现场层宽带总线时钟同步实现方法 | |
| WO2022040847A1 (fr) | Procédé et appareil de traitement de données de communication | |
| JP2022522984A (ja) | リソース周期構成方法およびデバイス、リンク処理および確立方法およびデバイス | |
| WO2017049558A1 (fr) | Procédé et dispositif d'émission de données de liaison montante | |
| CN114095901A (zh) | 通信数据处理方法及装置 | |
| WO2021092839A1 (fr) | Procédé de transmission de données, dispositifs électroniques, système et support de stockage | |
| CN107634914B (zh) | 一种帧流控制方法和装置 | |
| CN113518476B (zh) | 通信方法及装置 | |
| US20250088298A1 (en) | Control method for real-time channel group, network system, and storage medium | |
| CN101478826B (zh) | 一种无线传感器网络的通信调度方法及系统 | |
| WO2022006725A1 (fr) | Procédé et appareil de communication | |
| CN108605006B (zh) | 控制网络系统及其节点装置 | |
| JP2014033251A (ja) | 通信システム及びパケット送信方法 | |
| Stöhrmann et al. | Fast Vehicular TSN Network Reconfiguration with Application Aware Network Synchronization | |
| CN115696544A (zh) | 时间信息处理系统、信息传输方法、装置及通信节点 | |
| CN106357429B (zh) | 一种数据处理方法及系统 | |
| CN118413496B (zh) | 数据包的传输时延确定方法、装置、基站及存储介质 | |
| Stöhrmann et al. | Object-Synchronized TSN Reconfiguration Under Continuous Low-latency Streaming |
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: 17830323 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: 17830323 Country of ref document: EP Kind code of ref document: A1 |