CN106658686B - Data forwarding method and access device - Google Patents

Data forwarding method and access device Download PDF

Info

Publication number
CN106658686B
CN106658686B CN201611263365.9A CN201611263365A CN106658686B CN 106658686 B CN106658686 B CN 106658686B CN 201611263365 A CN201611263365 A CN 201611263365A CN 106658686 B CN106658686 B CN 106658686B
Authority
CN
China
Prior art keywords
radio frequency
target data
frequency module
power consumption
low power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611263365.9A
Other languages
Chinese (zh)
Other versions
CN106658686A (en
Inventor
白剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611263365.9A priority Critical patent/CN106658686B/en
Publication of CN106658686A publication Critical patent/CN106658686A/en
Application granted granted Critical
Publication of CN106658686B publication Critical patent/CN106658686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • 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/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • 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

Abstract

The embodiment of the invention discloses a data forwarding method and access equipment, wherein the method comprises the following steps: a wireless communication module of the access equipment receives target data sent to the terminal equipment; the wireless communication module determines whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode; and under the condition that the type of the target data does not meet the requirement of awakening the radio frequency module in the low power consumption mode, caching the target data, and under the condition that a preset awakening condition is met, awakening the radio frequency module to enable the radio frequency module to forward the cached target data. The CPU is not required to be awakened due to data forwarding, and the interruption processing is not required to be executed by the CPU, so that the work of the CPU is deployed into hardware with an intelligent function, on one hand, the load balance is realized, on the other hand, the interruption of the CPU is reduced, the load of the CPU can be reduced, and the efficiency of the whole access equipment system is improved.

Description

Data forwarding method and access device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data forwarding method and an access device.
Background
A Central Processing Unit (CPU) is an ultra-large scale integrated circuit, and is an operation Core (Core) and a Control Core (Control Unit) of a hardware device. Its function is mainly to interpret computer instructions and to process data in computer software.
The cpu mainly includes an Arithmetic Unit (ALU), a Cache memory (Cache), and a Data (Data), control and status Bus (Bus) for implementing the connection between them. It is called three core components of electronic equipment together with internal Memory (Memory) and input/output (I/O) devices.
The working process of the CPU is as follows: instructions are fetched from memory or cache, placed in an instruction register, and decoded. It decomposes the instruction into a series of micro-operations, then sends out various control commands, executes the micro-operation series, thereby completing the execution of one instruction. An instruction is a basic command that a computer specifies the type and operands of an execution operation. An instruction is composed of one or more bytes including an opcode field, one or more fields for operand addresses, and some status words and signature codes that characterize the state of the machine. Some instructions also include the operands themselves directly.
Therefore, in the electronic device, all the functional modules, for example: the device comprises a modem (modem), a wireless fidelity (WIFI), a power module, a video module and other functional modules; the tasks are allocated by the CPU, and the execution processing of the functional modules can initiate CPU interruption, so that the load of the CPU is large, and the efficiency of the whole system is low.
Disclosure of Invention
The embodiment of the invention provides a data forwarding method and access equipment, which are used for reducing the load of a CPU (Central processing Unit) and improving the efficiency of a whole access equipment system.
In one aspect, an embodiment of the present invention provides a data forwarding method, including:
a wireless communication module of the access equipment receives target data sent to the terminal equipment;
the wireless communication module determines whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode;
and under the condition that the type of the target data does not meet the requirement of awakening the radio frequency module in the low power consumption mode, caching the target data, and under the condition that a preset awakening condition is met, awakening the radio frequency module to enable the radio frequency module to forward the cached target data.
In an optional implementation manner, the determining, by the wireless communication module, the type of the target data, whether the target data meets a requirement of waking up the radio frequency module in the low power consumption mode includes:
the wireless communication module determines a service quality requirement of the target data, if the delay of the service quality requirement is lower than a preset threshold value, the requirement of waking up the radio frequency module in the low power consumption mode is determined to be met, and otherwise, the requirement of waking up the radio frequency module in the low power consumption mode is determined not to be met.
In an optional implementation manner, the waking up the radio frequency module to make the radio frequency module forward the cached target data until a predetermined wake-up condition is met includes:
awakening the radio frequency module until the cached data amount reaches a first preset value, so that the radio frequency module forwards the cached target data;
or, when the cached data amount reaches a second predetermined value and the rate of receiving the data to be forwarded is higher than a predetermined value, waking up the radio frequency module to enable the radio frequency module to forward the cached target data;
or after the timer is overtime, the radio frequency module is awakened to enable the radio frequency module to forward the cached target data.
In an optional implementation manner, before the wireless communication module determines whether the type of the target data meets a requirement of waking up the radio frequency module in the low power consumption mode, the method further includes:
analyzing the target data, and discarding the target data under the condition that the target data meets a filtering condition; and under the condition that the target data do not meet the filtering condition, executing the determination of the type of the target data, and judging whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode.
In an optional implementation manner, the determining that the target data meets the filtering condition includes:
and determining that the data type of the target data belongs to at least one of a spam short message, a data packet of broadcast data and advertisement traffic, or determining that the target data is from an internet protocol address of a blacklist of the terminal equipment.
In an optional implementation manner, the waking up the radio frequency module to make the radio frequency module forward the cached target data includes:
the wireless communication module sends a wake-up instruction to the radio frequency module through communication connection between the wireless communication module and the radio frequency module, so that the radio frequency module is switched from a low power consumption mode to a working mode, and the radio frequency module forwards the cached target data in the working mode.
In another aspect, an embodiment of the present invention further provides an access device, including: a wireless communication module and a radio frequency module,
the wireless communication module includes:
a receiving unit configured to receive target data addressed to a terminal device;
a wake-up determining unit, configured to determine whether a type of the target data meets a requirement for waking up a radio frequency module in a low power consumption mode;
the cache unit is used for caching the target data under the condition that the type of the target data does not meet the requirement of awakening the radio frequency module in the low power consumption mode;
and the awakening control unit is used for awakening the radio frequency module until a preset awakening condition is met so that the radio frequency module can forward the cached target data.
In an optional implementation manner, the wake-up determining unit is configured to determine a quality of service requirement of the target data, and if a delay of the quality of service requirement is lower than a predetermined threshold, determine that a requirement for waking up the radio frequency module in the low power consumption mode is met, otherwise, determine that the requirement for waking up the radio frequency module in the low power consumption mode is not met.
In an optional implementation manner, the wake-up control unit is configured to wake up the radio frequency module to enable the radio frequency module to forward the cached target data until the amount of the cached data reaches a first predetermined value;
or, when the cached data amount reaches a second predetermined value and the rate of receiving the data to be forwarded is higher than a predetermined value, waking up the radio frequency module to enable the radio frequency module to forward the cached target data;
or after the timer is overtime, the radio frequency module is awakened to enable the radio frequency module to forward the cached target data.
In an optional implementation manner, the wireless communication module further includes:
the filter control unit is used for analyzing the target data and discarding the target data under the condition that the target data meets the filter condition before the awakening determining unit determines whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode;
and the awakening determining unit is used for executing the determination of the type of the target data under the condition that the target data does not meet the filtering condition, and whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode.
In an optional implementation manner, the filtering control unit, configured to determine that the target data meets the filtering condition includes:
and determining that the data type of the target data belongs to at least one of a spam short message, a data packet of broadcast data and advertisement traffic, or determining that the target data is from an internet protocol address of a blacklist of the terminal equipment.
In an optional implementation manner, the wake-up control unit is configured to send a wake-up instruction to the radio frequency module through a communication connection between the wireless communication module and the radio frequency module, so that the radio frequency module is switched from a low power consumption mode to a working mode, and the radio frequency module forwards the cached target data in the working mode.
Embodiments of the present invention in three aspects further provide another access device, including: the wireless communication module is the wireless communication module in the foregoing embodiments, and details are not repeated here.
According to the technical scheme, the embodiment of the invention has the following advantages: the wireless communication module controls a data forwarding function, and in addition, the working mode switching of the radio frequency module is controlled by the wireless communication module, so that the CPU is not required to be awakened and the interruption processing is not required due to data forwarding, the work of the CPU is deployed into hardware with an intelligent function, on one hand, the load balance is realized, on the other hand, the interruption of the CPU is reduced, the load of the CPU can be reduced, and the efficiency of the whole access equipment system is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an access device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an access device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a data forwarding method, as shown in fig. 1, including:
101: a wireless communication module of the access equipment receives target data sent to the terminal equipment;
the access device refers to an access device in a wireless communication network, and the terminal device accesses the communication network through the access device. Therefore, the access device as a bridge between the terminal device and the communication network needs to forward a large amount of data, and the wireless communication module of the access device receives a large amount of data that needs to be sent to the terminal device, and these data are called target data in the embodiment of the present invention.
102: the wireless communication module determines whether the type of the target data meets the requirement of awakening the radio frequency module in a low power consumption mode;
the data type of the target data can be the data of what type the target data belongs to, and can also be the data of what requirement the target data belongs to; for example: QoS (Quality of Service) requirements, latency requirements, etc. of the target data; for target data with higher service quality requirement or lower delay, forwarding as soon as possible is needed; the radio frequency module can be immediately awakened to perform data forwarding.
In this embodiment, the low power consumption mode refers to an abnormal operating mode, and is an operating mode with lower power consumption than the normal operating mode. The low power mode may be a sleep state.
103: and under the condition that the type of the target data does not meet the requirement of awakening the radio frequency module in the low power consumption mode, caching the target data, and under the condition that a preset awakening condition is met, awakening the radio frequency module to enable the radio frequency module to forward the cached target data.
In this embodiment, the manner in which the wireless communication module wakes up the radio frequency module may be that the wireless communication module directly sends a wake-up instruction to the radio frequency module, or may be that the wake-up instruction is forwarded by the CPU, depending on whether there is a link for direct communication between the wireless communication module and the radio frequency module.
In addition, the predetermined wake-up condition may be: the periodic wake-up radio frequency module may also be a wake-up radio frequency module after a certain amount of data is reached by a cache, or may be a wake-up radio frequency module in any other manner, which is not limited in this embodiment.
In this embodiment, the wireless communication module controls the data forwarding function, and in addition, the switching of the working mode of the radio frequency module is controlled by the wireless communication module, so that it is not necessary to wake up the CPU due to data forwarding and execute interrupt processing because the CPU is not needed, and the work of the CPU is deployed in hardware with an intelligent function, which on one hand realizes load balancing and on the other hand reduces the interruption of the CPU, thereby reducing the load of the CPU and improving the efficiency of the whole access device system.
In an alternative implementation manner, an embodiment of the present invention provides a specific example of waking up a radio frequency module in a low power consumption mode, where the specific example is as follows: the determining, by the wireless communication module, the type of the target data, and whether the type of the target data meets a requirement for waking up the radio frequency module in the low power consumption mode includes:
the wireless communication module determines a service quality requirement of the target data, and if the delay of the service quality requirement is lower than a predetermined threshold, the wireless communication module determines that the requirement for waking up the radio frequency module in the low power consumption mode is met, otherwise, the wireless communication module determines that the requirement for waking up the radio frequency module in the low power consumption mode is not met.
In this embodiment, whether the radio frequency module in the low power consumption mode is immediately awakened or not is controlled by the service quality requirement of the target data, so that on one hand, the transmission requirement of the target data which is sensitive to the service quality and requires a higher requirement can be ensured, on the other hand, the processing quantity of the interrupt and the control of the working time of the radio frequency module are considered, and the electric energy is saved.
In an optional implementation manner, based on that the target data does not need to wake up the radio frequency module in the low power consumption mode immediately, the target data is cached, and in this case, the embodiment of the present invention further provides an implementation scheme that specifically under what kind of circumstances, the radio frequency module in the low power consumption mode can be woken up, as follows: and if the predetermined wake-up condition is satisfied, waking up the radio frequency module to make the radio frequency module forward the cached target data, wherein the wake-up is performed by:
awakening the radio frequency module until the cached data amount reaches a first preset value, so that the radio frequency module forwards the cached target data;
or, when the cached data amount reaches a second predetermined value and the rate of receiving the data to be forwarded is higher than a predetermined value, waking up the radio frequency module to enable the radio frequency module to forward the cached target data;
or after the timer is overtime, the radio frequency module is awakened to enable the radio frequency module to forward the cached target data.
In this embodiment, the first predetermined value is greater than the second predetermined value; the first preset value is a threshold value used for judging whether the data volume is too much and needs to be forwarded out; the second predetermined value is a condition that it is determined that there is a certain data amount and the requirement for current data forwarding is relatively strong. In a third case, the timer is used for timing a low power consumption mode of the radio frequency module, and the timer is restarted each time the radio frequency module enters the low power consumption mode, where the entering of the radio frequency module into the low power consumption mode may be: the target data that has been sent and buffered may be the target data that is sent after being immediately woken up, and the target data that has been sent and buffered.
It should be noted that, in this embodiment, if the type of the target data meets the requirement of waking up the radio frequency module in the low power consumption mode, the radio frequency module is woken up; the rf module forwards the target data just received and the target data buffered before that. Therefore, the switching times of the working state of the radio frequency module can be reduced, the working efficiency of awakening the radio frequency module every time is improved, and the total interruption times are reduced.
In an optional implementation manner, since the wireless communication module receives the target data and knows the terminal device to be sent, in this case, the access device may help the terminal device to perform information filtering, so as to improve user experience of the terminal device, which is specifically as follows: before the wireless communication module determines whether the type of the target data meets a requirement for waking up the radio frequency module in the low power consumption mode, the method further includes:
analyzing the target data, and discarding the target data under the condition that the target data meets the filtering condition; and under the condition that the target data do not meet the filtering condition, executing the step of determining the type of the target data, and judging whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode.
In this embodiment, on one hand, the access device can help the terminal device perform information filtering, thereby improving the user experience of the terminal device; on the other hand, the data volume of target data which is unnecessarily forwarded is reduced, the waste of power consumption can be reduced, and the frequency of interrupt processing can be reduced.
In an optional implementation manner, an embodiment of the present invention further provides a specific implementation scheme for filtering information at an access device side, where the specific implementation scheme is as follows: the determining that the target data satisfies the filtering condition includes:
and determining that the data type of the target data belongs to at least one of a spam short message, a data packet of broadcast data and advertisement traffic, or determining that the target data is from an internet protocol address of a blacklist of the terminal equipment.
In this embodiment, since the terminal device to which the target data is to be forwarded is already determined, if the terminal device sets a blacklist in the access device, the forwarding device may filter information, and save related data transmission and processing resources of the access device and the terminal device. It should be noted that, in the embodiment of the present invention, filtering of the target data may also use other rules to control information filtering, which is not limited in the embodiment of the present invention, and the above examples should not be understood as an exhaustive list of available information filtering.
In an optional implementation manner, the manner in which the wireless communication module wakes up the radio frequency module may be that the wireless communication module directly sends a wake-up instruction to the radio frequency module, or may be that the wake-up instruction is forwarded by the CPU, and based on this embodiment, the following solutions are provided: the waking up the radio frequency module to make the radio frequency module forward the cached target data includes:
the wireless communication module sends a wake-up instruction to the radio frequency module through communication connection between the wireless communication module and the radio frequency module, so that the radio frequency module is switched from a low power consumption mode to a working mode, and the radio frequency module forwards the cached target data in the working mode.
In this embodiment, a direct communication link exists between the wireless communication module and the radio frequency module, and the direct communication link may be a bus or others; therefore, the wireless communication module and the radio frequency module are directly communicated without being processed by the CPU, so that the CPU is not required to be awakened completely, and the efficiency is higher.
The radio frequency module of the access device consumes more power, and if the access device starts to monitor what the message is, the access device also consumes more power or causes the problem that the message is not received timely, so the embodiment of the invention provides the following scheme:
the access device can receive and send data regularly, and the access device judges whether the condition for waking up the radio frequency module is met, if so, for example: and accumulating messages for a period of time, or accumulating messages with a certain data volume, or if the data needs to be forwarded immediately, waking up a radio frequency module of the access device to transmit uplink or downlink data.
By using the technical scheme of the embodiment of the invention, the CPU can be always in a low power consumption mode under the condition of no activated application, and can be similar to a dormant state under the low power consumption mode; the radio frequency module can also be in a low power consumption state.
In two aspects, an embodiment of the present invention further provides an access device, as shown in fig. 2, including: a wireless communication module 201 and a radio frequency module 202,
the wireless communication module 201 includes:
a receiving unit configured to receive target data addressed to a terminal device;
a wake-up determining unit, configured to determine whether the type of the target data meets a requirement for waking up the radio frequency module 202 in the low power consumption mode;
a cache unit, configured to cache the target data when the type of the target data does not satisfy the condition of waking up the radio frequency module 202 in the low power consumption mode;
a wake-up control unit, configured to wake up the radio frequency module 202 until a predetermined wake-up condition is met, so that the radio frequency module 202 forwards the cached target data.
The access device refers to an access device in a wireless communication network, and the terminal device accesses the communication network through the access device. Therefore, the access device as a bridge between the terminal device and the communication network needs to forward a large amount of data, and the wireless communication module of the access device receives a large amount of data that needs to be sent to the terminal device, and these data are called target data in the embodiment of the present invention.
The data type of the target data can be the data of what type the target data belongs to, and can also be the data of what requirement the target data belongs to; for example: QoS (Quality of Service) requirements, latency requirements, etc. of the target data; for target data with higher service quality requirement or lower delay, forwarding as soon as possible is needed; the radio frequency module can be immediately awakened to perform data forwarding.
In this embodiment, the low power consumption mode refers to an abnormal operating mode, and is an operating mode with lower power consumption than the normal operating mode. The low power mode may be a sleep state.
In this embodiment, the manner in which the wireless communication module wakes up the radio frequency module may be that the wireless communication module directly sends a wake-up instruction to the radio frequency module, or may be that the wake-up instruction is forwarded by the CPU, depending on whether there is a link for direct communication between the wireless communication module and the radio frequency module.
In addition, the predetermined wake-up condition may be: the periodic wake-up radio frequency module may also be a wake-up radio frequency module after a certain amount of data is reached by a cache, or may be a wake-up radio frequency module in any other manner, which is not limited in this embodiment.
In this embodiment, the wireless communication module controls the data forwarding function, and in addition, the switching of the working mode of the radio frequency module is controlled by the wireless communication module, so that it is not necessary to wake up the CPU due to data forwarding and execute interrupt processing because the CPU is not needed, and the work of the CPU is deployed in hardware with an intelligent function, which on one hand realizes load balancing and on the other hand reduces the interruption of the CPU, thereby reducing the load of the CPU and improving the efficiency of the whole access device system.
In an alternative implementation manner, an embodiment of the present invention provides a specific example of waking up a radio frequency module in a low power consumption mode, where the specific example is as follows: the wake-up determining unit is configured to determine a quality of service requirement of the target data, and if a delay of the quality of service requirement is lower than a predetermined threshold, determine that the requirement for waking up the radio frequency module 202 in the low power consumption mode is met, otherwise, determine that the requirement for waking up the radio frequency module 202 in the low power consumption mode is not met.
In this embodiment, whether the radio frequency module in the low power consumption mode is immediately awakened or not is controlled by the service quality requirement of the target data, so that on one hand, the transmission requirement of the target data which is sensitive to the service quality and requires a higher requirement can be ensured, on the other hand, the processing quantity of the interrupt and the control of the working time of the radio frequency module are considered, and the electric energy is saved.
In an optional implementation manner, based on that the target data does not need to wake up the radio frequency module in the low power consumption mode immediately, the target data is cached, and in this case, the embodiment of the present invention further provides an implementation scheme that specifically under what kind of circumstances, the radio frequency module in the low power consumption mode can be woken up, as follows: the wake-up control unit is configured to wake up the radio frequency module 202 until the amount of the buffered data reaches a first predetermined value, so that the radio frequency module 202 forwards the buffered target data;
or, when the buffered data amount reaches a second predetermined value and the rate of receiving the data to be forwarded is higher than a predetermined value, waking up the radio frequency module 202 to enable the radio frequency module 202 to forward the buffered target data;
or, after the timer is timed out, the rf module 202 is awakened to enable the rf module 202 to forward the cached target data.
In this embodiment, the first predetermined value is greater than the second predetermined value; the first preset value is a threshold value used for judging whether the data volume is too much and needs to be forwarded out; the second predetermined value is a condition that it is determined that there is a certain data amount and the requirement for current data forwarding is relatively strong. In a third case, the timer is used for timing a low power consumption mode of the radio frequency module, and the timer is restarted each time the radio frequency module enters the low power consumption mode, where the entering of the radio frequency module into the low power consumption mode may be: the target data that has been sent and buffered may be the target data that is sent after being immediately woken up, and the target data that has been sent and buffered.
It should be noted that, in this embodiment, if the type of the target data meets the requirement of waking up the radio frequency module in the low power consumption mode, the radio frequency module is woken up; the rf module forwards the target data just received and the target data buffered before that. Therefore, the switching times of the working state of the radio frequency module can be reduced, the working efficiency of awakening the radio frequency module every time is improved, and the total interruption times are reduced.
In an optional implementation manner, since the wireless communication module receives the target data and knows the terminal device to be sent, in this case, the access device may help the terminal device to perform information filtering, so as to improve user experience of the terminal device, which is specifically as follows: the wireless communication module 201 further includes:
a filtering control unit, configured to parse the target data before the wakeup determining unit determines whether the type of the target data meets a requirement for waking up the radio frequency module 202 in the low power consumption mode, and discard the target data when determining that the target data meets a filtering condition;
the wake-up determining unit is configured to determine, when the target data does not satisfy the filtering condition, whether the type of the target data meets a requirement for waking up the radio frequency module 202 in the low power consumption mode.
In this embodiment, on one hand, the access device can help the terminal device perform information filtering, thereby improving the user experience of the terminal device; on the other hand, the data volume of target data which is unnecessarily forwarded is reduced, the waste of power consumption can be reduced, and the frequency of interrupt processing can be reduced.
In an optional implementation manner, an embodiment of the present invention further provides a specific implementation scheme for filtering information at an access device side, where the specific implementation scheme is as follows: the filtering control unit, configured to determine that the target data satisfies the filtering condition, includes:
and determining that the data type of the target data belongs to at least one of a spam short message, a data packet of broadcast data and advertisement traffic, or determining that the target data is from an internet protocol address of a blacklist of the terminal equipment.
In this embodiment, since the terminal device to which the target data is to be forwarded is already determined, if the terminal device sets a blacklist in the access device, the forwarding device may filter information, and save related data transmission and processing resources of the access device and the terminal device. It should be noted that, in the embodiment of the present invention, filtering of the target data may also use other rules to control information filtering, which is not limited in the embodiment of the present invention, and the above examples should not be understood as an exhaustive list of available information filtering.
In an optional implementation manner, the manner in which the wireless communication module wakes up the radio frequency module may be that the wireless communication module directly sends a wake-up instruction to the radio frequency module, or may be that the wake-up instruction is forwarded by the CPU, and based on this embodiment, the following solutions are provided: the wake-up control unit is configured to send a wake-up instruction to the radio frequency module 202 through a communication connection between the wireless communication module 201 and the radio frequency module 202, so that the radio frequency module 202 is switched from a low power consumption mode to a working mode, and the radio frequency module 202 forwards the cached target data in the working mode.
In this embodiment, a direct communication link exists between the wireless communication module and the radio frequency module, and the direct communication link may be a bus or others; therefore, the wireless communication module and the radio frequency module are directly communicated without being processed by the CPU, so that the CPU is not required to be awakened completely, and the efficiency is higher.
Embodiments of the present invention in three aspects also provide another access device, as shown in fig. 3, including: a wireless communication module 301, a radio frequency module 302, a processor 303, and a memory 304; the above hardware modules may communicate using a bus.
The wireless communication module 301 is configured to receive target data sent to a terminal device; determining whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode; and under the condition that the type of the target data does not meet the requirement of awakening the radio frequency module in the low power consumption mode, caching the target data, and under the condition that a preset awakening condition is met, awakening the radio frequency module to enable the radio frequency module to forward the cached target data.
The access device refers to an access device in a wireless communication network, and the terminal device accesses the communication network through the access device. Therefore, the access device as a bridge between the terminal device and the communication network needs to forward a large amount of data, and the wireless communication module of the access device receives a large amount of data that needs to be sent to the terminal device, and these data are called target data in the embodiment of the present invention.
The data type of the target data can be the data of what type the target data belongs to, and can also be the data of what requirement the target data belongs to; for example: QoS (Quality of Service) requirements, latency requirements, etc. of the target data; for target data with higher service quality requirement or lower delay, forwarding as soon as possible is needed; the radio frequency module can be immediately awakened to perform data forwarding.
In this embodiment, the low power consumption mode refers to an abnormal operating mode, and is an operating mode with lower power consumption than the normal operating mode. The low power mode may be a sleep state.
In this embodiment, the manner in which the wireless communication module wakes up the radio frequency module may be that the wireless communication module directly sends a wake-up instruction to the radio frequency module, or may be that the wake-up instruction is forwarded by the CPU, depending on whether there is a link for direct communication between the wireless communication module and the radio frequency module.
In addition, the predetermined wake-up condition may be: the periodic wake-up radio frequency module may also be a wake-up radio frequency module after a certain amount of data is reached by a cache, or may be a wake-up radio frequency module in any other manner, which is not limited in this embodiment.
In this embodiment, the wireless communication module controls the data forwarding function, and in addition, the switching of the working mode of the radio frequency module is controlled by the wireless communication module, so that it is not necessary to wake up the CPU due to data forwarding and execute interrupt processing because the CPU is not needed, and the work of the CPU is deployed in hardware with an intelligent function, which on one hand realizes load balancing and on the other hand reduces the interruption of the CPU, thereby reducing the load of the CPU and improving the efficiency of the whole access device system.
In an alternative implementation manner, an embodiment of the present invention provides a specific example of waking up a radio frequency module in a low power consumption mode, where the specific example is as follows: the wireless communication module 301, configured to determine whether the type of the target data meets a requirement for waking up the radio frequency module in the low power consumption mode, includes:
and determining the service quality requirement of the target data, if the delay of the service quality requirement is lower than a preset threshold value, determining that the requirement of awakening the radio frequency module in the low power consumption mode is met, and otherwise, determining that the requirement of awakening the radio frequency module in the low power consumption mode is not met.
In this embodiment, whether the radio frequency module in the low power consumption mode is immediately awakened or not is controlled by the service quality requirement of the target data, so that on one hand, the transmission requirement of the target data which is sensitive to the service quality and requires a higher requirement can be ensured, on the other hand, the processing quantity of the interrupt and the control of the working time of the radio frequency module are considered, and the electric energy is saved.
In an optional implementation manner, based on that the target data does not need to wake up the radio frequency module in the low power consumption mode immediately, the target data is cached, and in this case, the embodiment of the present invention further provides an implementation scheme that specifically under what kind of circumstances, the radio frequency module in the low power consumption mode can be woken up, as follows: the wireless communication module 301 is configured to wake up the radio frequency module until a predetermined wake-up condition is met, so that the forwarding of the cached target data by the radio frequency module includes:
awakening the radio frequency module until the cached data amount reaches a first preset value, so that the radio frequency module forwards the cached target data;
or, when the cached data amount reaches a second predetermined value and the rate of receiving the data to be forwarded is higher than a predetermined value, waking up the radio frequency module to enable the radio frequency module to forward the cached target data;
or after the timer is overtime, the radio frequency module is awakened to enable the radio frequency module to forward the cached target data.
In this embodiment, the first predetermined value is greater than the second predetermined value; the first preset value is a threshold value used for judging whether the data volume is too much and needs to be forwarded out; the second predetermined value is a condition that it is determined that there is a certain data amount and the requirement for current data forwarding is relatively strong. In a third case, the timer is used for timing a low power consumption mode of the radio frequency module, and the timer is restarted each time the radio frequency module enters the low power consumption mode, where the entering of the radio frequency module into the low power consumption mode may be: the target data that has been sent and buffered may be the target data that is sent after being immediately woken up, and the target data that has been sent and buffered.
It should be noted that, in this embodiment, if the type of the target data meets the requirement of waking up the radio frequency module in the low power consumption mode, the radio frequency module is woken up; the rf module forwards the target data just received and the target data buffered before that. Therefore, the switching times of the working state of the radio frequency module can be reduced, the working efficiency of awakening the radio frequency module every time is improved, and the total interruption times are reduced.
In an optional implementation manner, since the wireless communication module receives the target data and knows the terminal device to be sent, in this case, the access device may help the terminal device to perform information filtering, so as to improve user experience of the terminal device, which is specifically as follows: the wireless communication module 301 is further configured to, before determining whether the type of the target data meets a requirement for waking up a radio frequency module in a low power consumption mode, parse the target data, and discard the target data when determining that the target data meets a filtering condition; and under the condition that the target data do not meet the filtering condition, executing the step of determining the type of the target data, and judging whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode.
In this embodiment, on one hand, the access device can help the terminal device perform information filtering, thereby improving the user experience of the terminal device; on the other hand, the data volume of target data which is unnecessarily forwarded is reduced, the waste of power consumption can be reduced, and the frequency of interrupt processing can be reduced.
In an optional implementation manner, an embodiment of the present invention further provides a specific implementation scheme for filtering information at an access device side, where the specific implementation scheme is as follows: the wireless communication module 301, configured to determine that the target data satisfies the filtering condition, includes:
and determining that the data type of the target data belongs to at least one of a spam short message, a data packet of broadcast data and advertisement traffic, or determining that the target data is from an internet protocol address of a blacklist of the terminal equipment.
In this embodiment, since the terminal device to which the target data is to be forwarded is already determined, if the terminal device sets a blacklist in the access device, the forwarding device may filter information, and save related data transmission and processing resources of the access device and the terminal device. It should be noted that, in the embodiment of the present invention, filtering of the target data may also use other rules to control information filtering, which is not limited in the embodiment of the present invention, and the above examples should not be understood as an exhaustive list of available information filtering.
In an optional implementation manner, the manner in which the wireless communication module wakes up the radio frequency module may be that the wireless communication module directly sends a wake-up instruction to the radio frequency module, or may be that the wake-up instruction is forwarded by the CPU, and based on this embodiment, the following solutions are provided: the wireless communication module 301 is configured to wake up the radio frequency module so that the forwarding of the cached target data by the radio frequency module includes:
and sending a wake-up instruction to the radio frequency module through communication connection between the wireless communication module and the radio frequency module, so that the radio frequency module is converted into a working mode from a low power consumption mode, and the radio frequency module forwards the cached target data in the working mode.
In this embodiment, a direct communication link exists between the wireless communication module and the radio frequency module, and the direct communication link may be a bus or others; therefore, the wireless communication module and the radio frequency module are directly communicated without being processed by the CPU, so that the CPU is not required to be awakened completely, and the efficiency is higher.
It should be noted that, in the above embodiment of the access device, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it is understood by those skilled in the art that all or part of the steps in the above method embodiments may be implemented by related hardware, and the corresponding program may be stored in a computer readable storage medium, where the above mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the embodiment of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for forwarding data, comprising:
a wireless communication module of the access equipment receives target data sent to the terminal equipment;
the wireless communication module determines whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode;
under the condition that the type of the target data does not meet the requirement of awakening the radio frequency module in the low power consumption mode, caching the target data, and under the condition that a preset awakening condition is met, awakening the radio frequency module to enable the radio frequency module to forward the cached target data;
the waking up the radio frequency module to make the radio frequency module forward the cached target data includes:
the wireless communication module sends a wake-up instruction to the radio frequency module through communication connection between the wireless communication module and the radio frequency module, so that the radio frequency module is switched from a low power consumption mode to a working mode, and the radio frequency module forwards the cached target data in the working mode.
2. The method of claim 1, wherein the wireless communication module determining whether the type of the target data meets a requirement for waking up a radio frequency module in a low power consumption mode comprises:
the wireless communication module determines a service quality requirement of the target data, if the delay of the service quality requirement is lower than a preset threshold value, the requirement of waking up the radio frequency module in the low power consumption mode is determined to be met, and otherwise, the requirement of waking up the radio frequency module in the low power consumption mode is determined not to be met.
3. The method of claim 1, wherein waking up the radio frequency module until a predetermined wake-up condition is met to cause the radio frequency module to forward the cached target data comprises:
awakening the radio frequency module until the cached data amount reaches a first preset value, so that the radio frequency module forwards the cached target data;
or, when the cached data amount reaches a second predetermined value and the rate of receiving the data to be forwarded is higher than a predetermined value, waking up the radio frequency module to enable the radio frequency module to forward the cached target data;
or after the timer is overtime, the radio frequency module is awakened to enable the radio frequency module to forward the cached target data.
4. The method of any of claims 1 to 3, wherein before the wireless communication module determines whether the type of the target data meets a requirement for waking up a radio frequency module in a low power consumption mode, the method further comprises:
analyzing the target data, and discarding the target data under the condition that the target data meets a filtering condition; and under the condition that the target data do not meet the filtering condition, executing the determination of the type of the target data, and judging whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode.
5. The method of claim 4, wherein the determining that the target data satisfies a filtering condition comprises:
and determining that the data type of the target data belongs to at least one of a spam short message, a data packet of broadcast data and advertisement traffic, or determining that the target data is from an internet protocol address of a blacklist of the terminal equipment.
6. An access device, comprising: a wireless communication module and a radio frequency module, characterized in that,
the wireless communication module includes:
a receiving unit configured to receive target data addressed to a terminal device;
a wake-up determining unit, configured to determine whether a type of the target data meets a requirement for waking up a radio frequency module in a low power consumption mode;
the cache unit is used for caching the target data under the condition that the type of the target data does not meet the requirement of awakening the radio frequency module in the low power consumption mode;
the wake-up control unit is used for waking up the radio frequency module until a preset wake-up condition is met, so that the radio frequency module forwards the cached target data;
the wake-up control unit is configured to send a wake-up instruction to the radio frequency module through communication connection between the wireless communication module and the radio frequency module, so that the radio frequency module is switched from a low power consumption mode to a working mode, and the radio frequency module forwards the cached target data in the working mode.
7. The access device of claim 6,
and the awakening determining unit is used for determining the service quality requirement of the target data, if the delay of the service quality requirement is lower than a preset threshold value, determining that the requirement of awakening the radio frequency module in the low power consumption mode is met, and otherwise, determining that the requirement of awakening the radio frequency module in the low power consumption mode is not met.
8. The access device of claim 6,
the wake-up control unit is configured to wake up the radio frequency module until the amount of the cached data reaches a first predetermined value, so that the radio frequency module forwards the cached target data;
or, when the cached data amount reaches a second predetermined value and the rate of receiving the data to be forwarded is higher than a predetermined value, waking up the radio frequency module to enable the radio frequency module to forward the cached target data;
or after the timer is overtime, the radio frequency module is awakened to enable the radio frequency module to forward the cached target data.
9. The access device of any one of claims 6 to 8, wherein the wireless communication module further comprises:
the filter control unit is used for analyzing the target data and discarding the target data under the condition that the target data meets the filter condition before the awakening determining unit determines whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode;
and the awakening determining unit is used for executing the determination of the type of the target data under the condition that the target data does not meet the filtering condition, and whether the type of the target data meets the requirement of awakening the radio frequency module in the low power consumption mode.
10. The access device of claim 9, wherein the filtering control unit is configured to determine that the target data satisfies a filtering condition includes:
and determining that the data type of the target data belongs to at least one of a spam short message, a data packet of broadcast data and advertisement traffic, or determining that the target data is from an internet protocol address of a blacklist of the terminal equipment.
CN201611263365.9A 2016-12-30 2016-12-30 Data forwarding method and access device Active CN106658686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611263365.9A CN106658686B (en) 2016-12-30 2016-12-30 Data forwarding method and access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611263365.9A CN106658686B (en) 2016-12-30 2016-12-30 Data forwarding method and access device

Publications (2)

Publication Number Publication Date
CN106658686A CN106658686A (en) 2017-05-10
CN106658686B true CN106658686B (en) 2020-01-14

Family

ID=58837770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611263365.9A Active CN106658686B (en) 2016-12-30 2016-12-30 Data forwarding method and access device

Country Status (1)

Country Link
CN (1) CN106658686B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108551668B (en) * 2018-03-29 2020-06-09 海信视像科技股份有限公司 Information transmission method, device, equipment and storage medium
CN109714716B (en) * 2019-02-01 2020-08-25 Oppo广东移动通信有限公司 Data packet forwarding method and device and mobile terminal
CN114401288A (en) * 2021-12-28 2022-04-26 四川瑞霆智汇科技有限公司 Low-power-consumption access system and method based on edge Internet of things agent and storage medium thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201725376U (en) * 2010-07-05 2011-01-26 健雄职业技术学院 Wireless wake-up type active student label recognition system
CN103442415A (en) * 2013-08-23 2013-12-11 青岛海信移动通信技术股份有限公司 Data sending method and mobile terminal
CN103983990A (en) * 2014-05-19 2014-08-13 北京诺亦腾科技有限公司 Locating method and system low in power consumption
CN104023379A (en) * 2013-03-01 2014-09-03 华为终端有限公司 Data transmission method and data forwarding device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI474734B (en) * 2009-01-23 2015-02-21 Realtek Semiconductor Corp Power management method for a wireless communication device and wireless communication device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201725376U (en) * 2010-07-05 2011-01-26 健雄职业技术学院 Wireless wake-up type active student label recognition system
CN104023379A (en) * 2013-03-01 2014-09-03 华为终端有限公司 Data transmission method and data forwarding device
CN103442415A (en) * 2013-08-23 2013-12-11 青岛海信移动通信技术股份有限公司 Data sending method and mobile terminal
CN103983990A (en) * 2014-05-19 2014-08-13 北京诺亦腾科技有限公司 Locating method and system low in power consumption

Also Published As

Publication number Publication date
CN106658686A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US20220150834A1 (en) Method for using power saving signaling pattern, terminal, and computer readable storage medium
EP2876945B1 (en) Method for processing data, modem and terminal
US8576757B2 (en) Dynamic adjustment of setup time based on paging performance
WO2019161780A1 (en) Method and apparatus for setting dormancy period of service
US8310969B2 (en) Mobile device and power saving method thereof
US20190021055A1 (en) Communication method used in wireless local area network, and apparatus
CN106658686B (en) Data forwarding method and access device
JP2015537485A (en) Service agent method, modem and terminal
CN108551668B (en) Information transmission method, device, equipment and storage medium
US11882524B2 (en) Power saving host-modem interaction in a communication device
CN110831128A (en) Method for determining sleep state, terminal and readable medium
CN111436098A (en) Communication method and device
CN111586814B (en) Low-power consumption processing method, device, equipment and storage medium for wireless network terminal node
CN106851737B (en) Method for sending uplink data and terminal equipment
WO2007094610A1 (en) Method and apparatus for waiting time gain of user equipment through efficient process of assigned slot in mobile communication system
CN106598193B (en) Power consumption control method and device
Saidu et al. An efficient battery lifetime aware power saving (EBLAPS) mechanism in IEEE 802.16 e networks
TWI407765B (en) Mobile device, power saving method and computer executable medium
CN106817305B (en) Forwarding control method and access equipment
CN114040483A (en) Terminal wake-up signal monitoring method and device, storage medium and electronic equipment
Chen et al. A downlink and uplink alignment scheme for power saving in IEEE 802.16 protocol
CN115767743A (en) Monitoring method, awakening signal transmission method, device, terminal and network side equipment
CN112118590A (en) Terminal DRX configuration method, terminal and base station
CN112118616A (en) Terminal blind decoding method, terminal and base station
WO2018133300A1 (en) Method and device for establishing data communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant