WO2014131335A1 - Procédé de transmission de données et appareil de transfert de données - Google Patents

Procédé de transmission de données et appareil de transfert de données Download PDF

Info

Publication number
WO2014131335A1
WO2014131335A1 PCT/CN2014/072193 CN2014072193W WO2014131335A1 WO 2014131335 A1 WO2014131335 A1 WO 2014131335A1 CN 2014072193 W CN2014072193 W CN 2014072193W WO 2014131335 A1 WO2014131335 A1 WO 2014131335A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
module
cache module
storage area
client
Prior art date
Application number
PCT/CN2014/072193
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 WO2014131335A1 publication Critical patent/WO2014131335A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0203Power saving arrangements in the radio access network or backbone network of wireless communication networks
    • H04W52/0206Power saving arrangements in the radio access network or backbone network of wireless communication networks in access points, e.g. base stations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications, and in particular, to a data transmission method and a data forwarding device.
  • the wireless routing data terminal includes a wireless wide area network (WWAN) access module and a wireless local area network (WLAN) access module, so that multiple clients can simultaneously pass data through the wireless local area network.
  • the wireless WAN input and output completes data communication with the remote client on the network side, and the data transmission between the client and the remote client on the network side is bidirectional. And in order to improve the mobility of the wireless routing data terminal, the wireless routing data terminal is usually powered by a battery.
  • Embodiments of the present invention provide a data transmission method and a data forwarding device capable of reducing power consumption of a data forwarding device.
  • a data transmission method including:
  • the data forwarding device receives the data sent by the at least one client through the data access module, and sends the data received by the data access module to the data cache module for storage;
  • the data forwarding device receives data sent by at least one client through a data access module, and sends the data received by the data access module to Before the data cache module is stored, it includes:
  • the data cache module when the data storage state meets the data sending condition, the data sending instruction is sent to the data sending module by using the data cache module, including:
  • the method further includes: Calculating an average value of a maximum data fill rate of the data cache module in all the timeout periods after the timer of the data cache module is started; when the timer of the data cache module does not reach the timeout period, And the average value of the maximum data filling rate is greater than a preset upper threshold, and the data sending instruction is sent to the data sending module by using the data cache module.
  • the method further includes:
  • the data transmission instruction is sent to the data transmission module by the data buffer module.
  • the data forwarding device receives data sent by at least one client through a data access module, and sends the data to the data cache by using the data access module.
  • Module storage including:
  • the method further includes:
  • Determining whether the data cache module has a free storage area if the free storage area exists in the data cache module, applying a storage area with the new number identifier as the identifier in the free storage area, and The data sent by the client corresponding to the new number identifier is stored in the storage area.
  • the method further includes:
  • sending, by using the data cache module, a data sending instruction includes: if the storage area where the data is not stored exists, sending the data sending instruction to the data sending module by using the data cache module.
  • a data forwarding device including a data access module and a data sending module, wherein the data forwarding device further includes: a data cache module and a data processing module connected to the data cache module, The data cache module is connected to the data access module and the data sending module; wherein the data access module is configured to receive data sent by at least one client; and the data cache module is configured to store the data connection Data sent by at least one client received by the module;
  • the data processing module is configured to: when determining that the data storage state in the data cache module meets the data sending condition, send the data sending instruction to the data sending module by using the data cache module;
  • the data sending module is configured to send the data stored by the data cache module according to the data sending instruction.
  • the data forwarding device further includes: a timing module, configured to determine whether the at least one client is accessed by the data in the data cache module The data sent by the module; and if the result of the determination is no, the timer set in the data cache module is started.
  • the timing module is further configured to stop the data cache module when it is determined that data is not stored in a preset timeout period.
  • the timer set in .
  • the data processing module is specifically configured to be used when the second aspect or the first possible implementation manner or the second possible implementation manner is used.
  • the data transmission instruction is sent to the data transmission module when the timing time set in the device exceeds a preset timeout period.
  • the data processing module includes:
  • the data determining unit is configured to determine whether a storage area of each client of the at least one client is full of data in one of the timeout periods; the command sending unit is configured to: if the data determining unit is The result of the determination is that any one of the storage areas of the client is full of data, and the data transmission instruction is sent to the data transmission module.
  • a fifth possible implementation manner if the storage area of all the clients is not full of data according to the fourth possible implementation manner, if the judgment result of the data determining unit is the storage of all the clients The area is not full of data.
  • the instruction sending unit further includes:
  • the data fill rate calculation subunit is configured to calculate an average value of a maximum data fill rate of the data cache module in all the timeout periods after the timer of the data cache module is started;
  • the instruction sending subunit is configured to: when the timer in the data cache module does not reach the timeout period, and the average value of the maximum data filling rate is greater than a preset upper threshold, send the data sending instruction to The data sending module.
  • the instruction sending subunit is further configured to send the data sending instruction to the data sending module.
  • the data filling rate calculation subunit is specifically configured to be recorded in combination with any one of the fifth possible implementation manner or the sixth possible implementation manner.
  • the maximum of the data fill rates of the storage areas of each of the at least one client during each of the timeout periods after the timer is started is the data cache module of each of the timeout periods
  • the maximum data fill rate is also used to calculate an average of the maximum data fill rate of each of the timeout periods after the data cache module is started by the timer of the data cache module.
  • the data cache module further includes: a first data storage unit, configured to send, by the at least one client, received by the data access module Data is stored in a pre-stored area in the data cache module;
  • the identifier determining unit is configured to sequentially determine, according to the sequence of the data storage, whether each client of the at least one client has a corresponding number identifier in the data cache module;
  • the second data storage unit is further configured to: if the identifier determining unit determines that the number identifier exists in the data cache module, store the data sent by the client that has the number identifier in the data cache module Corresponding to the number identifier in the data cache module The storage area of the client.
  • the identifier determining unit determines that the number identifier does not exist in the data cache module
  • the second data storage unit further includes: the identifier generating subunit, configured to generate a new number identifier for the client without the number identifier; the storage area determining subunit, configured to determine the data cache Whether the module has a free storage area, and the storage area requesting unit is configured to: if the storage area determining unit determines that the free storage area exists in the data cache module, apply for a piece in the free storage area The new number is identified as the storage area of the identifier, and the data sent by the client corresponding to the new number identifier is stored in the storage area.
  • the storage area application subunit is further configured to determine the data if the free storage area does not exist in the data cache module, according to the ninth possible implementation manner. Whether there is a storage area in which the data is not stored in the cache module; and if the storage area of the unstored data exists, the storage area in which the longest idle time is selected in the storage area in which the unstored data is selected is preferentially released, and The storage area with the longest idle time is allocated to the client corresponding to the new number identifier, so as to store the data sent by the client corresponding to the new number identifier.
  • the data processing module is further configured to: if the storage area determining subunit determines that the data cache module does not exist, the unstored a storage area of data, the data transmission instruction being sent to the data transmission module.
  • the data transmission method and the data forwarding device provided by the embodiment of the present invention can cache the data according to the data transmission instruction sent by the data cache module when the data storage state of the data stored in the data cache module satisfies the data transmission condition.
  • the data stored by the module is sent, so that the number of times the data sending module is awakened is reduced, and the idle sleep time is increased, thereby reducing the power consumption of the data forwarding device.
  • FIG. 1 is a schematic flowchart of a data transmission method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another data transmission method according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a data transmission method according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a data forwarding device according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of another data forwarding apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of still another data forwarding apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of still another data forwarding apparatus according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another data forwarding apparatus according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a data forwarding apparatus according to another embodiment of the present invention.
  • Embodiments of the present invention are applied to a mode in which two modules are connected for data transmission Data forwarding device, and the data forwarding device may be a wireless routing data terminal, the wireless routing data terminal has mobility, is usually powered by a battery, and will wake up the wireless routing data at any time when each data packet passes Two access modules, therefore, the two access modules are often in a working state, and the data forwarding device provided by the present invention further expands the application of the data cache module, and reduces the number of wake-up times of the data access module to the data sending module.
  • the power transmission method of the data forwarding device is further reduced as follows. As shown in FIG. 1 , the data transmission method provided by the present invention includes the following steps:
  • the data forwarding device receives data sent by at least one client through the data access module, and sends the data received by the data access module to the data cache module for storage.
  • the data forwarding device sends the data transmission instruction to the data transmission module through the data cache module.
  • the data forwarding device sends the data stored by the data cache module through the data sending module according to the data sending instruction.
  • the data access module sends and stores the received data in the data cache module, or the data cache module sends the data to the data sending module, where the data is transmitted according to the first in first out (F irst Input F irst Out put , F IFO ) The principle is transmitted.
  • the data transmission method provided by the embodiment of the present invention can store the data cache module according to the data transmission instruction sent by the data cache module when the data storage state of the data stored in the data cache module satisfies the data transmission condition.
  • the data is transmitted, so that the number of times the data transmitting module is awakened is reduced, and the idle sleep time is increased, thereby reducing the power consumption of the data forwarding device.
  • the present invention discloses a data transmission method. As shown in FIG. 2, the data transmission method mentioned in this embodiment determines whether to send a data transmission instruction according to the amount of data stored in the entire data cache module and the timing time.
  • the data transmission method includes the following steps:
  • the data forwarding device receives data sent by at least one client through the data access module, and sends the data received by the data access module to the data cache module for storage.
  • the data forwarding device stores the data sent by the at least one client received by the data access module into a pre-stored area in the data cache module.
  • the pre-stored area in the data cache module is a reserved part of the data cache module, and is not included in the calculation of the storage space in the data cache module.
  • the data forwarding device sequentially determines, according to a sequence of data storage, whether each client of the at least one client has a corresponding number identifier in the data cache module. If there is a number identifier in the data cache module, go to step 2 01 c l . If there is no number identifier in the data cache module, go to step 201 c 2 .
  • the data forwarding device stores the data sent by the client with the number identifier in the data cache module into the storage area of the client corresponding to the number identifier in the data cache module.
  • Step 201 c 2 includes the following steps:
  • the data forwarding device generates a new number identifier for the client without the number identification.
  • the data forwarding device determines whether the data cache module has a free storage area. If the result of the determination is that there is a free storage area, then go to step a3. If the result of the determination is that the free storage area does not exist, go to step 201c3.
  • the data forwarding device applies for a storage area marked with a new number in the free storage area, and stores the data sent by the client corresponding to the new number identifier into the storage area.
  • Step 201 c 3 includes the following steps:
  • the data forwarding device determines whether there is a storage area in the data cache module where no data is stored.
  • the data forwarding device selects the storage area with the longest idle time in the storage area where no data is stored, and releases the storage area with the longest idle time to the new storage area.
  • the number identifies the corresponding client in order to store the data sent by the client corresponding to the new number identifier.
  • the data forwarding device sends the data sending instruction to the data sending module through the data cache module.
  • the data forwarding device sends the data stored by the data cache module through the data sending module according to the data sending instruction. Further, whether the data access module transmits and stores the received data in the data exchange module, or the data cache module sends the data to the data transmission module, the data transmission is performed according to the first-in first-out F IFO principle. .
  • the data cache module between the data access module and the data sending module in the data forwarding device may be divided into an uplink data cache module and/or Or the downstream data cache module.
  • the data access module receives the uplink data sent by at least one client, and stores the received uplink data in the uplink data cache module.
  • the uplink data cache module is full of uplink data and there is no storage area where the data is not stored, the uplink data buffer module sends a data transmission instruction to the data sending module, and finally the data sending module sends the uplink data in the data buffer module to the data sending instruction according to the data sending instruction.
  • Remote client When the uplink data is initiated, the data access module receives the uplink data sent by at least one client, and stores the received uplink data in the uplink data cache module.
  • the uplink data buffer module sends a data transmission instruction to the data sending module, and finally the data sending module sends the uplink data in the data buffer module to the data sending instruction according to the data sending instruction.
  • the data sending module receives the downlink data sent by the at least one remote client, and stores the received downlink data in the downlink data cache module.
  • the downlink data cache module is full of downlink data and there is no storage area where the data is not stored, the downlink data buffer module sends a data transmission instruction to the data sending module, and finally the data sending module sends the downlink data in the data storage module to the data sending instruction according to the data sending instruction.
  • Client computer When the downlink data is initiated, the data sending module receives the downlink data sent by the at least one remote client, and stores the received downlink data in the downlink data cache module.
  • the size of the storage space of the uplink data cache module and the downlink data cache module can be allocated according to the actual service demand, and generally does not have symmetry, since the uplink data is generally The request information of the actual service, and the downlink data is generally the corresponding download information of the request information of the actual service in the uplink data. Therefore, the space of the downlink data cache module is larger than the space of the uplink data cache module to satisfy the actual asymmetry. Data throughput requirements.
  • the data transmission method provided by the embodiment of the present invention can store the data cache module according to the data transmission instruction sent by the data cache module when the data storage state of the data stored in the data cache module satisfies the data transmission condition. The data is transmitted, so that the number of times the data transmitting module is awakened is reduced, and the idle sleep time is increased, thereby reducing the power consumption of the data forwarding device.
  • the present invention discloses a data transmission method.
  • the amount of data proposed in this embodiment determines how to send a data transmission instruction, as shown in FIG. Degree (that is, the amount of data stored in each client in the data cache module) to illustrate the data storage method, the method includes the following steps:
  • the data forwarding device determines whether data sent by at least one client through the data access module exists in the data cache module.
  • the data forwarding device starts a timer set in the data cache module.
  • the data forwarding device receives data sent by at least one client through the data access module, and sends the data to the data cache module for storage by using the data access module.
  • the data forwarding device determines whether the storage area corresponding to each client of the at least one client is full of data within a timeout period.
  • Step 305a can have the following situations:
  • the data forwarding device sends a data sending instruction to the data sending module through the data buffering module.
  • the data forwarding device calculates an average value of the maximum data filling rate of the data cache module in all timeout periods after the timer of the data cache module is started.
  • step 305 a2 The specific calculation process of step 305 a2 is as follows:
  • the data forwarding device records the data filling rate of the storage area of each of the at least one client in each timeout period after the timer of the data cache module is started.
  • the data forwarding device selects, in each timeout period after the timer of the data cache module is started, the maximum value of the data filling rate of the storage area of each client in at least one client is the data buffer of each timeout period.
  • the maximum data fill rate of the module is the maximum data fill rate of the module.
  • the data forwarding device calculates an average value of the maximum data filling rate of each timeout period after the data buffer module starts the timer of the data buffering module.
  • the data forwarding device sends the data sending instruction to the data sending module by using the data cache module.
  • the data forwarding device sends the data sending instruction to the data sending module by using the data cache module.
  • the data forwarding device records the data filling rate of the storage area of each client in the at least one client in the timeout period in each timeout period after the timer of the data cache module is started, and then selects the largest one.
  • the value is used as the maximum data fill rate of the data cache module in each timeout period, and the maximum data fill rate is stored in a virtual loop container with a storage function, and the maximum data fill rate is stored once every time the cycle period expires. And calculate the average of all the maximum data fill rates stored in the virtual loop container described above.
  • the average value of the maximum data filling rate is greater than the preset upper threshold, and the timer of the data cache module does not reach the timeout period, or the average value of the maximum data filling rate is less than the preset lower threshold, and the timer of the data cache module When the timeout period is reached, the calculation process of the average value of the maximum data fill rate is stopped.
  • the average value at this time is an average threshold preset by the loop container. .
  • the average value of the maximum data filling rate is greater than the preset upper threshold, it indicates that the data transmitted during the data transmission is continuous, and all data is directly transmitted; when the maximum data filling rate is average If the threshold is lower than the preset lower limit, it means that the data transmitted during the data transmission is intermittent. Only when the timer of the data cache module reaches the timeout period, all data can be transmitted.
  • the data forwarding device sends the data stored by the data cache module to the data sending module according to the data sending instruction.
  • the data storage method is illustrated, and the method includes the following steps:
  • the data forwarding device determines whether data sent by at least one client through the data access module exists in the data cache module.
  • the data forwarding device starts a timer set in the data cache module.
  • 303b When the timer set by the timer in the data cache module exceeds a preset timeout period, the data forwarding device sends the data sending instruction to the data sending module through the data cache module.
  • the data forwarding device sends the data stored by the data cache module through the data sending module according to the data sending instruction.
  • the timer set in the data cache module is stopped.
  • the data transmission is performed according to the first-in first-out FI FO principle.
  • the space size of the data cache module should be selected according to actual needs.
  • the data buffer module between the data access module and the data sending module in the data forwarding device may be divided into an uplink data buffer module and/or a downlink.
  • Data cache module When the data transmitted by the data transmission method includes uplink data and/or downlink data, the data buffer module between the data access module and the data sending module in the data forwarding device may be divided into an uplink data buffer module and/or a downlink. Data cache module.
  • the data access module receives the uplink data sent by the at least one client, and stores the received uplink data in the uplink data cache module, the uplink data cache module first starts the timer, and then Perform uplink data storage.
  • the uplink data buffer module buffers the uplink data reaches a preset timeout period
  • the data stored in the storage area of the client reaches a predetermined amount or when the time when the uplink data cache module buffers the uplink data reaches a preset timeout period
  • the uplink data sends a data transmission instruction to the data sending module, and finally the data sending module sends the uplink data in the data buffer module to the remote client according to the data sending instruction.
  • the data sending module receives the downlink data sent by the at least one remote client, and before the received downlink data is stored in the downlink data cache module, the downlink data cache module first starts the timer. Then, the downlink data is stored. When the time when the downlink data buffer module buffers the downlink data reaches a preset timeout period, the data stored in the storage area of the client reaches a predetermined amount or the time when the uplink data cache module buffers the uplink data reaches a preset timeout period, the downlink data The cache module sends a data transmission instruction to the data sending module, and finally the data sending module sends the data according to the data sending instruction. The downlink data in the cache module is sent to the remote client.
  • the size of the storage space of the uplink data cache module and the downlink data cache module can be allocated according to the actual service demand, and generally does not have symmetry, since the uplink data is generally The request information of the actual service, and the downlink data is generally the corresponding download information of the request information of the actual service in the uplink data. Therefore, the space of the downlink data cache module is larger than the space of the uplink data cache module to satisfy the actual asymmetry. Data throughput requirements.
  • the data transmission method provided by the embodiment of the present invention can store the data cache module according to the data transmission instruction sent by the data cache module when the data storage state of the data stored in the data cache module satisfies the data transmission condition.
  • the data is transmitted, so that the number of times the data transmitting module is awakened is reduced, and the idle sleep time is increased, thereby reducing the power consumption of the data forwarding device.
  • the embodiment of the present invention provides a data forwarding device, which may be a wireless routing data terminal, and the data access module in the data forwarding device may be a wireless local area network (WLAN) access.
  • WLAN wireless local area network
  • the data transmission module in the data forwarding device may be a wireless wide area network (WWAN) access module, wherein the wireless wide area network access module can be used but is not limited to the existing global mobile communication system (Global System for Mobile Communications, GSM), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), etc., wireless LAN access module can be used but not limited to existing wireless Internet access Technology (Wireless Fidelity, Wi-Fi), Bluetooth (Bluetooth).
  • the client for sending data can be a personal digital assistant (PDA), a wireless modem, a wireless communication device, a handheld device, a smart phone, a laptop electric moon bird. (Laptop Computer) or Wireless Local Loop (WLL) station.
  • PDA personal digital assistant
  • WLL Wireless Local Loop
  • the data forwarding device is configured to implement the foregoing data transmission method.
  • the data forwarding device 5 includes: a data access module 41, a data sending module 42, a data cache module 43, and a data processing module 44, wherein the data is
  • the cache module 43 is connected to the data access module 41 and the data sending module 42.
  • the data processing module 44 is connected to the data buffer module 43.
  • the actual data processing module 44 may be in the actual wireless routing terminal.
  • the CPU Central Processing Unit
  • the data buffering module 42 may be a memory in the wireless routing terminal, such as a read-only memory (ROM), and the above data access module. 41 and data transmitting module 42 can be in any of the wireless routing terminals. Specifically, the specific functions of the above modules are implemented as follows:
  • the data access module 41 is configured to receive data sent by at least one client.
  • the data cache module 43 is configured to store data sent by at least one client received by the data access module 41.
  • the data processing module 44 is configured to send the data sending instruction to the data sending module 42 through the data buffering module 43 when it is determined that the data storage state in the data buffering module 43 satisfies the data sending condition.
  • the data sending module 42 is configured to send the data stored by the data caching module 43 according to the data sending instruction.
  • the data forwarding device further includes: a timing module 45, configured to determine whether the data buffer module 43 stores at least one data sent by the client through the data access module; If the result of the determination is no, the timer set in the data cache module is started.
  • timing module 45 is further configured to stop the timer set in the data cache module when it is determined that the data is not stored in the preset timeout period.
  • the data processing module 44 is specifically configured to send a data sending instruction to the data sending module 42 when the timing time set in the timer exceeds a preset timeout period.
  • the data processing module 44 includes: a data judging subunit 441 and an instruction sending subunit 442, wherein: the data judging unit 441 is configured to determine the storage of each client of the at least one client. Whether the area is full of data during a timeout period.
  • the command transmitting unit 442 is configured to transmit a data transmission command to the data transmitting module 42 if the result of the determination by the data determining unit 441 is that the storage area of any one of the clients is full.
  • the instruction transmitting unit 442 includes: a data filling rate calculation subunit 442a, an instruction transmitting subunit. 442b, wherein: a data fill rate calculation sub-unit 442a is configured to calculate an average value of a maximum data fill rate of the data cache module in all timeout periods after the timer of the data cache module 43 is started;
  • the instruction sending sub-unit 442b is configured to send the data sending instruction to the data sending module 42 when the timer in the data buffering module 43 does not reach the timeout period and the average value of the maximum data filling rate is greater than the preset upper threshold.
  • the instruction transmission subunit 442b is further configured to send a data transmission instruction to the data transmission module 42.
  • the data filling rate calculation sub-unit 442a is specifically configured to record each client in at least one client in each timeout period after the timer of the data cache module 43 is started.
  • the data fill rate of the storage area also used to select the maximum value of the data fill rate of the storage area of each of the at least one client in each timeout period after the timer of the data cache module 43 is started is The maximum data fill rate of the data cache module 43 of the timeout period; also used to calculate the average value of the maximum data fill rate of each timeout period after the data cache module 43 starts the timer of the data cache module 43.
  • the data cache module 43 includes: a data storage unit 431 and an identifier determining unit 432, wherein: the first data storage unit 431 is configured to receive at least one client that is received by the data access module 41. The data sent by the machine is stored in the pre-stored area in the data buffer module 43.
  • the identifier determining unit 432 is configured to sequentially determine, according to the order of data storage, whether each client of the at least one client has a corresponding number identifier in the data cache module 43.
  • the second data storage unit 433 is further configured to: if the identifier determining unit 432 determines the data cache If the number identifier is present in the module 43, the data sent by the client having the number identifier in the data cache module 43 is stored in the storage area of the client corresponding to the number identifier in the data cache module 43.
  • the second data storage unit 433 includes:
  • the identifier generation subunit 433a is configured to generate a new number identifier for the client without the number identifier.
  • the storage area determining sub-unit 433b is configured to determine whether the data caching module 43 has an empty storage area.
  • the storage area application sub-unit 433c is configured to, if the storage area determining unit 433b determines that there is a free storage area in the data cache module 43, apply for a storage area marked with a new number in the free storage area, and add a new number.
  • the data sent by the corresponding client is stored in the storage area.
  • the storage area application sub-unit 433c is further configured to: if there is no free storage area in the data cache module 43, determine whether there is a storage area in the data cache module 43 that does not store data; and if there is no storage The storage area of the data is selected, and the storage area with the longest idle time in all the storage areas where the data is not stored is preferentially released, and the storage area with the longest idle time is allocated to the client corresponding to the new number identifier, so as to store the new number. Identifies the data sent by the corresponding client.
  • the data processing module 44 is further configured to: if the storage area determining sub-unit 433b determines that there is no storage area in the data buffering module 43 where no data is stored, send the data sending instruction to the data sending module 41.
  • the data forwarding device provided by the embodiment of the present invention can store the data cache module according to the data transmission instruction sent by the data cache module when the data storage state of the data stored in the data cache module satisfies the data transmission condition. The data is transmitted, so that the number of times the data transmitting module is awakened is reduced, and the idle sleep time is increased, thereby reducing the power consumption of the data forwarding device.
  • FIG. 10 is a schematic structural diagram of a data forwarding apparatus according to another embodiment of the present invention.
  • the data forwarding apparatus is configured to implement the foregoing data sending method, and the data forwarding apparatus may be a router or a wireless routing data terminal, where the data is Forwarding device 5 includes a processor 51, a memory 52, a communication interface 53, and a bus 54.
  • the processor 51 may include a data processing module 511, and the memory 52 may include a data cache module 521.
  • the communication interface 53 may include: a data access module 531 and a data sending module 532.
  • the data access module 531 is configured to receive data sent by at least one client.
  • the data cache module 521 is configured to store data sent by at least one client received by the data access module 531.
  • the data processing module 511 is configured to send the data sending instruction to the data sending module 532 through the data buffering module 521 when it is determined that the data storage state in the data buffering module 521 satisfies the data sending condition.
  • the data sending module 532 is configured to send the data stored by the data caching module 521 according to the data sending instruction.
  • the memory further includes: a timing module 522, configured to determine, in the data cache module 521, whether at least one client sends data sent by the data access module, and if the result of the determination is no, start the data cache.
  • the timer set in module 521 configured to determine, in the data cache module 521, whether at least one client sends data sent by the data access module, and if the result of the determination is no, start the data cache. The timer set in module 521.
  • timing module 522 is further configured to stop the timer set in the data caching module 521 when it is determined that no data is stored in the preset timeout period.
  • the data processing module 511 is specifically configured to send a data sending instruction to the data sending module 532 when a timing time set in the timer exceeds a preset timeout period. Further optionally, the data processing module 511 includes: a data judging subunit and an instruction sending subunit, wherein:
  • the data judging unit is configured to judge whether the storage area of each client of the at least one client is full of data in a timeout period.
  • the command transmitting unit is configured to send the data transmission command to the data transmitting module 532 if the result of the determination by the data determining unit is that the storage area of any one of the clients is full of data. Further, if the judgment result of the data judging unit is that all the storage areas of the client are not full of data, the instruction sending unit includes: a data filling rate calculation subunit, and an instruction sending subunit, wherein:
  • the data fill rate calculation sub-unit is configured to calculate an average value of the maximum data fill rate of the data cache module in all timeout periods after the timer of the data cache module is started.
  • the instruction sending subunit is configured to send the data sending instruction to the data sending module 532 when the timer in the data buffering module 521 does not reach the timeout period and the average value of the maximum data filling rate is greater than a preset upper threshold.
  • the instruction transmitting subunit is further configured to send a data sending instruction to the data sending module
  • the data filling rate calculation sub-unit is specifically configured to record a data filling rate of a storage area of each client in at least one client in each timeout period after the timer of the data caching module 521 is started;
  • the data cache module 521 for each timeout period is also selected for selecting the maximum value of the data fill rate of the storage area of each of the at least one client in each timeout period after the timer of the data cache module is started.
  • the maximum data fill rate is also used to calculate an average of the maximum data fill rate of each timeout period after the data cache module 521 starts the timer of the data cache module 521.
  • the data cache module 521 includes: a data storage unit and an identifier determining unit, where:
  • the first data storage unit is configured to store data sent by at least one client received by the data access module 531 into a pre-stored area in the data cache module 521.
  • the identifier determining unit is configured to sequentially determine, according to a sequence of data storage, whether each client of the at least one client has a corresponding number identifier in the data cache module 521.
  • the second data storage unit is further configured to: if the identifier determining unit determines that the number identifier exists in the data cache module 521, store the data sent by the client with the number identifier in the data cache module 521 in the data cache module 521 corresponding to the number identifier. The storage area of the client. Further, if the identifier determining unit determines that the number identifier does not exist in the data cache module 5 2 1 , the second data storage unit includes:
  • the identifier generation subunit is used to generate a new number identifier for the client without the number identifier.
  • the storage area determining subunit is configured to determine whether the data caching module 5 2 1 has a free storage area.
  • a storage area requesting sub-unit configured to: if the storage area determining unit determines that there is a free storage area in the data cache module 43, apply for a storage area marked with a new number in the free storage area, and identify the new number The data sent by the corresponding client is stored in the storage area.
  • the storage area application sub-unit is further configured to: if there is no free storage area in the data cache module 52, determine whether there is a storage area in the data cache module 52 that does not store data; If there is a storage area where data is not stored, the storage area with the longest idle time in all the storage areas where the data is not stored is preferentially released, and the storage area with the longest idle time is allocated to the client corresponding to the new number identifier for storage. The new number identifies the data sent by the corresponding client.
  • the data processing module 5 1 1 is further configured to: if the storage area determining subunit determines that there is no storage area in the data buffering module 52 that does not store data, send a data sending instruction to the data sending module.
  • the data forwarding device provided by the embodiment of the present invention can store the data cache module according to the data transmission instruction sent by the data cache module when the data storage state of the data stored in the data cache module satisfies the data transmission condition. The data is transmitted, so that the number of times the data transmitting module is awakened is reduced, and the idle sleep time is increased, thereby reducing the power consumption of the data forwarding device.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

La présente invention se rapporte à un procédé de transmission de données et à un appareil de transfert de données. La présente invention appartient au domaine technique des communications. Elle est apte à réduire la consommation de puissance de l'appareil de transfert de données. Le procédé selon l'invention comprend les étapes suivantes : un appareil de transfert de données reçoit des données envoyées par au moins un client, au moyen d'un module d'accès aux données; il transmet les données reçues au moyen du module d'accès aux données, à un module de stockage temporaire de données, en vue de leur stockage; quand il est déterminé qu'un statut de stockage des données qui sont stockées dans le module de stockage temporaire de données répond à une exigence de transmission, l'appareil de transfert de données transmet une instruction de transmission de données, à un module de transmission de données, au moyen du module de stockage temporaire de données; et, sur la base de l'instruction de transmission de données, l'appareil de transfert de données transmet les données qui sont stockées dans le module de stockage temporaire de données, au moyen du module de transmission de données. La présente invention peut être mise en œuvre dans un module de transmission de données.
PCT/CN2014/072193 2013-03-01 2014-02-18 Procédé de transmission de données et appareil de transfert de données WO2014131335A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310066554.7A CN104023379B (zh) 2013-03-01 2013-03-01 一种数据传输方法及数据转发装置
CN201310066554.7 2013-03-01

Publications (1)

Publication Number Publication Date
WO2014131335A1 true WO2014131335A1 (fr) 2014-09-04

Family

ID=51427521

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/072193 WO2014131335A1 (fr) 2013-03-01 2014-02-18 Procédé de transmission de données et appareil de transfert de données

Country Status (2)

Country Link
CN (1) CN104023379B (fr)
WO (1) WO2014131335A1 (fr)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445420A (zh) * 2016-10-12 2017-02-22 安徽徽云信息科技有限公司 一种计算机存储系统
CN106658686B (zh) * 2016-12-30 2020-01-14 Oppo广东移动通信有限公司 一种数据转发方法,及接入设备
CN106817305B (zh) * 2016-12-30 2020-03-10 Oppo广东移动通信有限公司 一种转发控制方法,及接入设备
CN106851737B (zh) * 2016-12-30 2020-01-14 Oppo广东移动通信有限公司 一种发送上行数据的方法,及终端设备
CN111049926B (zh) * 2019-12-24 2022-09-20 浙江中控技术股份有限公司 一种数据传输方法及相关设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691590A (zh) * 2004-04-19 2005-11-02 华为技术有限公司 无线链路数据传输中接收端发送窗口大小调整信息的方法
CN101043446A (zh) * 2007-03-08 2007-09-26 华为技术有限公司 数据转发处理的方法和装置
CN101207570A (zh) * 2007-11-26 2008-06-25 上海华为技术有限公司 数据传输方法、数据发送速率控制方法及基站
CN102244856A (zh) * 2010-05-13 2011-11-16 电信科学技术研究院 一种mtc设备下行数据传输控制方法和设备
US20120009876A1 (en) * 2009-03-13 2012-01-12 St-Ericsson Sa Process of Audio Data Exchanges of Information Between a Central Unit and a Bluetooth Controller

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588602B (zh) * 2009-05-22 2011-07-13 中兴通讯股份有限公司 降低wapi移动终端功耗的方法及wapi移动终端
CN101925160A (zh) * 2009-06-11 2010-12-22 上海易狄欧电子科技有限公司 无线数据收发方法及其系统
CN102893577A (zh) * 2010-06-17 2013-01-23 松下电器产业株式会社 数据发送装置及数据发送方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691590A (zh) * 2004-04-19 2005-11-02 华为技术有限公司 无线链路数据传输中接收端发送窗口大小调整信息的方法
CN101043446A (zh) * 2007-03-08 2007-09-26 华为技术有限公司 数据转发处理的方法和装置
CN101207570A (zh) * 2007-11-26 2008-06-25 上海华为技术有限公司 数据传输方法、数据发送速率控制方法及基站
US20120009876A1 (en) * 2009-03-13 2012-01-12 St-Ericsson Sa Process of Audio Data Exchanges of Information Between a Central Unit and a Bluetooth Controller
CN102244856A (zh) * 2010-05-13 2011-11-16 电信科学技术研究院 一种mtc设备下行数据传输控制方法和设备

Also Published As

Publication number Publication date
CN104023379A (zh) 2014-09-03
CN104023379B (zh) 2017-11-17

Similar Documents

Publication Publication Date Title
WO2014131335A1 (fr) Procédé de transmission de données et appareil de transfert de données
JP4615615B2 (ja) 間欠受信のための明示的なレイヤ2シグナリング
WO2018170626A1 (fr) Procédé de récupération de connexion, entité de fonction de gestion d'accès et de mobilité, et équipement utilisateur
WO2013020379A1 (fr) Procédé et dispositif d'économie d'énergie
JP2009038803A5 (fr)
WO2009100668A1 (fr) Procédé, dispositif et système servant à déclencher la distribution de ressources
WO2013123902A1 (fr) Procédé, point d'accès, et station de transmission de données
WO2011017920A1 (fr) Procédé, dispositif et terminal permettant une régulation de flux
WO2018107925A1 (fr) Procédé et appareil de traitement de flus de données et support de stockage informatique
CN107276727A (zh) 一种进行反馈的方法和设备
CN103974339B (zh) 一种数据缓存的方法和装置
TWI330968B (en) Method and apparatus of communication in a wireless communications system
CN114584707B (zh) 摄像机中无线通信组件功耗的控制方法
WO2015113199A1 (fr) Procédé et appareil de commande de réception discontinue
CN104995892A (zh) 确定gre隧道的方法、网关设备和接入站点
WO2011020365A1 (fr) Procédé et dispositif de commande pour transmission de données de service en mode d'attente
US20230164682A1 (en) Selection of a radio access technology for communicating data between network devices
Kwon et al. An energy-efficient multimedia streaming transport protocol over heterogeneous wireless networks
WO2015127599A1 (fr) Procédé d'attribution de ressources en liaison montante, terminal d'accès et point d'accès
TWI519180B (zh) A method of dynamically adjusting a radio resource control timer
US20230111984A1 (en) Methods and Apparatus for Adaptive Power Profiling in A Baseband Processing System
CN104768229B (zh) 一种下行缓存数据上报方法及设备
WO2015061940A1 (fr) Procédé, dispositif et appareil de commande d'état rrc
US7623545B2 (en) Method and apparatus for extended control over a wireless medium between two or more devices
JP5933027B2 (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: 14757364

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: 14757364

Country of ref document: EP

Kind code of ref document: A1