[0001] This application claims priority to Chinese Patent Application No.
201711409077.4, filed with the China National Intellectual Property Administration on December 22,
2017 and entitled "WIRELESS WAKE-UP PACKET SENDING METHOD AND APPARATUS AND WIRELESS
WAKE-UP PACKET RECEIVING METHOD AND APPARATUS", which is incorporated herein by reference
in its entirety.
TECHNICAL FIELD
[0002] The present invention relates to the field of wireless communications, and more specifically,
to a wireless wake-up packet sending method and apparatus and a wireless wake-up packet
receiving method and apparatus.
BACKGROUND
[0003] In a short-range wireless communications network, for example, an IEEE802.11 series,
that is, a WLAN, or a short-range wireless communications network such as Bluetooth,
a feature of low power consumption is gradually discussed widely in the industry.
Especially, to meet a development requirement of the Internet of Things (Internet
of Things, IoT) based on a short-range wireless communications technology, the feature
of low power consumption is particularly important. Based on this case, application
of a wake-up receiver (Wake-up Receiver, WUR) can enhance overall power consumption
performance of a short-range wireless network.
[0004] The WUR is configured to: when a main radio (Main Radio, MR) having a relatively
strong communications function sleeps, listen to and receive a wake-up packet (Wake-up
Packet, WUP) used to wake up the main radio in a sleep state. When the MR sleeps,
power consumption thereof is reduced apparently. However, in this case, a communication
connection of the MR is interrupted. A longer sleep time indicates lower overall power
consumption. However, only after the device MR wakes up from the sleep state, a communications
function of the MR can be completed. Consequently, relatively low power consumption
results in a relatively long communication delay. A WUR technology is exactly generated
to resolve the contradiction between power consumption and a delay.
SUMMARY
[0005] During data transmission of a WUR, a reasonable and effective preamble sequence with
high performance is provided for a WUR device, to meet a requirement of the WUR device
for simplicity and low power consumption.
[0006] A wake-up packet sending method, including: obtaining, by a sending apparatus, a
wake-up packet WUP, where the WUP includes a preamble sequence, and
the preamble sequence includes N consecutive first sequences S, where N is an integer
greater than or equal to 2 (for example, [S S]), and the N consecutive first sequences
S are used to indicate that a data rate used for the WUP is a first value; or the
preamble sequence includes a second sequence M, where the second sequence M is used
to indicate that a data rate used for the WUP is a second value; and the second sequence
M and the first sequence S are in a bit logical negation relationship; and
sending the WUP, to wake up a main receiver of a receiving apparatus.
[0007] According to another aspect, a wake-up packet receiving method, including: receiving,
by a receiving apparatus, a data packet; and
performing correlation processing on a sequence in the received data packet and a
third sequence T stored in the receiving apparatus, and determining that the sequence
in the data packet is a wake-up preamble sequence based on a correlation processing
result; and
determining that the preamble sequence includes N consecutive first sequences S, that
is, [S S], or that the preamble sequence includes a second sequence M, where the N
consecutive first sequences S are used to indicate that a data rate used for the WUP
is a first value, and the second sequence M is used to indicate that a data rate used
for the WUP is a second value; the second sequence M and the first sequence are in
a bit logical negation relationship; and N is an integer greater than or equal to
2, where T meets one of the following relationships: T=S
∗2-1, T=[N consecutive Ss]
∗2-1, T=M
∗2-1, or T=[N consecutive Ms]
∗2-1.
[0008] According to other aspects, a corresponding processing apparatus is provided.
[0009] The foregoing method and apparatus have at least one of the following technical effects:
- 1. A detection success rate is relatively high.
- 2. A time synchronization feature is relatively desirable.
- 3. A data rate of a WUP payload part after a WUP preamble can be indicated, for example,
is 62.5 kbps or 250 kbps.
- 4. Overheads are relatively low.
- 5. These WUP preambles have a simple receiving and processing procedure.
BRIEF DESCRIPTION OF DRAWINGS
[0010] To describe the technical solutions in the embodiments of the present invention more
clearly, the following briefly introduces the accompanying drawings required for describing
the embodiments of the present invention. Apparently, the accompanying drawings in
the following description show merely some embodiments of the present invention, and
a person of ordinary skill in the art may derive other accompanying drawings from
these accompanying drawings without creative efforts.
FIG. 1 is a schematic diagram of an application scenario according to an embodiment
of the present invention, where a process in which an AP wakes up an MR of a STA by
using a WUR is described;
FIG. 2 is a schematic diagram of a basic frame structure of a WUP according to an
embodiment of the present invention;
FIG. 3 illustrates bit information using OOK modulation according to an embodiment
of the present invention;
FIG. 4 is a schematic diagram of a correlation value calculated by using expressions
(4) and (5) in a sequence 167 in Table 1 according to an embodiment of the present
invention;
FIG. 5 is a schematic structural diagram of a sending apparatus for wake-up according
to an embodiment of the present invention; and
FIG. 6 is a schematic structural diagram of a receiving apparatus for wake-up according
to an embodiment of the present invention.
DESCRIPTION OF EMBODIMENTS
[0011] The following clearly and completely describes technical solutions in the embodiments
of the present invention with reference to accompanying drawings in the embodiments
of the present invention. Apparently, the described embodiments are some rather than
all of the embodiments of the present invention. All other embodiments obtained by
a person of ordinary skill in the art based on the embodiments of the present invention
without creative efforts shall fall within the protection scope of the present invention.
[0012] The embodiments of the present invention may be applied to various wireless communications
systems having a wake-up function, for example, an IoT network or a wireless local
area network (Wireless Local Area Network, WLAN). Various implementations may be further
applied to a communications system that complies with another standard, for example,
a Bluetooth system or a ZigBee system. For a typical application scenario accompanying
drawing, refer to FIG. 1.
[0013] A system in each implementation includes a sending apparatus and a receiving apparatus.
The sending apparatus or the receiving apparatus is, for example, an AP, a legacy
station (Legacy STA), an Internet of Things station (IoT STA) in an IEEE 802.11 network,
and another device that can be woken up by using a WUR, or the WUR. The Internet of
Things station (IoT STA) is an Internet of Things station that uses a technology such
as IoT. This new type of station is different from a conventional IEEE 802.11 station
because of features such as simple information transmission, low power consumption,
low complexity, and low costs thereof. When a wake-up receiver WUR is applied to the
WLAN, the AP may be the sending apparatus that sends a wake-up packet, and a non-AP
STA may be the receiving apparatus that receives the wake-up packet. Certainly, in
another example, the non-AP STA may be the sending apparatus that sends the wake-up
packet, and the AP may be the receiving apparatus that receives the wake-up packet.
A case in which the AP is a sending apparatus for wake-up is used as an example for
description in the following, and is not limited to another possible application scenario.
[0014] Using the WLAN as an example, currently, a standard used by the WLAN is an IEEE802.11
series. The WLAN may include a plurality of BSSs, a network node in the BSS is a STA,
and the STA includes an access-point AP station and a non-access-point station (non-Access-Point
Station, non-AP STA). Each BSS may include one AP and a plurality of non-AP STAs associated
with the AP.
[0015] The AP may also be referred to as a wireless access point, a hotspot, or the like.
The AP is an access point used by a mobile user to access a wired network, and is
mainly deployed in a house, inside a building, and inside a campus with a typical
coverage radius of tens of meters to hundreds of meters. Certainly, the AP may also
be deployed outdoors. The AP is equivalent to a bridge that connects a wired network
and a wireless network. A main function of the AP is to connect wireless network clients
together, and then connect the wireless network to an Ethernet network. Specifically,
the AP may be a terminal device or a network device with a wireless fidelity (Wireless
Fidelity, Wi-Fi) chip. Optionally, the AP may be a device that supports an 802.11ax
standard, or another possible next-generation standard. Further, optionally, the AP
may be a device that supports a plurality of WLAN standards such as 802.11ac, 802.11n,
802.11g, 802.11b, or 802.11a.
[0016] The non-AP STA may be a wireless communications chip, a wireless sensor, or a wireless
communications terminal, for example, a mobile phone supporting a Wi-Fi communications
function, a tablet computer supporting the Wi-Fi communications function, a set-top
box supporting the Wi-Fi communications function, a smart TV supporting the Wi-Fi
communications function, a smart wearable device supporting the Wi-Fi communications
function, a vehicle-mounted communications device supporting the Wi-Fi communications
function, and a computer supporting the Wi-Fi communications function.
[0017] An apparatus in another network system is not described in detail again.
[0018] For ease of understanding, some acronyms/abbreviations mentioned in this specification
are provided herein.
English acronym/abbreviation |
Full English expression/Standard English term |
Chinese expression/Chinese term |
WLAN |
Wireless local area network |
Wireless local area network |
IoT |
Internet of Things |
Internet of Things |
WUR |
Wake-up receiver |
Wake-up receiver |
WUP |
Wake-up packet |
Wake-up packet |
STA |
Station |
Station |
AP |
Access point |
Access point. |
MR |
Main radio |
Main radio |
AGC |
Automatic gain control |
Automatic gain control |
OOK |
On-off keying |
On-off-keying |
[0019] As shown in FIG. 1, a WUR is an independent component added to a main radio MR. When
the MR sleeps, the WUR remains in an on state, or is on at a specified time point
or within a specified time segment, to listen to and receive a wake-up packet WUP
used to wake up the MR associated with the WUR. When the WUP received by the WUR wakes
up the MR associated with the WUR, the WUR wakes up the MR by using an internal software/hardware
trigger mechanism. In FIG. 1, an access point (Access Point, AP) sends, through an
air interface, a WUP carrying a destination identifier, to wake up a station (Station,
STA) indicated by the destination identifier. After receiving the WUP, the WUR of
the STA finds that the destination identifier in the WUP is consistent with an identifier
of the WUR, and therefore starts to wake up the MR associated with the WUR, so that
the MR can start to normally exchange data with the AP and perform another communications
function.
[0020] Compared with the MR, the WUR is only responsible for a function of receiving the
WUP and does not need to perform other complex communications with the AP. Therefore,
the WUR has advantages such as a simple structure, low costs, and low power consumption.
In this way, when the AP does not communicate with the MR, the MR may be set to the
sleep state, and the WUR is enabled to work in a listening state, thereby reducing
power consumption. When the AP needs to communicate with the MR, the AP sends the
WUP, the WUR wakes up the MR of the WUR after receiving the WUP, and then the MR completes
a subsequent normal wireless communications process.
[0021] A current WUR standardized process (IEEE 802.11ba) has entered a key step of preamble
design. An objective is to design a concise and effective preamble with an appropriate
length. A typical WUP structure is shown in FIG. 2 (a final structure of a final WUP
has not been determined by the IEEE 802.11ba standard, and only an example is used
herein to illustrate a basic structure of the WUP).
[0022] Referring to FIG. 2, after the WUR receives the WUP, a legacy preamble part of the
WUP usually uses relatively high bandwidth, and the WUR cannot decode the part, and
continues to read subsequent WUP preamble and WUP payload parts. The WUP preamble
has a synchronization and automatic gain control (Automatic Gain Control, AGC) adjustment
function, so that the WUR can accurately find a start location of the WUP payload,
to precisely decode information in the WUP payload. For example, it is proposed in
a formulating process of the IEEE 802.11ba standard that the legacy preamble part
of the WUP uses 20 MHz, and bandwidths of the WUP preamble and the WUP payload should
be less than 20 MHz.
[0023] Preferably, the WUP payload may represent bit information by using a modulation mode
of on-off keying (OOK). A basic OOK modulation mode is shown in FIG. 3:
[0024] It can be seen from FIG. 3 that in an OOK bit modulation mode, a transmission period
of a blank radio signal without energy (indicated by a dashed line) is used to indicate
a bit 0, and a transmission period of a radio signal with energy that is sent by a
transmitter (indicated by a block) is used to indicate a bit 1. After the modulation
mode is used, the WUR may perform bit information demodulation based on an apparatus
related to energy detection or envelope detection, thereby greatly reducing receiver
demodulation complexity.
[0025] In a specific example, the WUP may have at least two WUP payload data rates, for
example, 62.5 kbps and 250 kbps in the IEEE 802.11ba standard.
[0026] In an implementation, for a system similar to the foregoing wireless communications
system, a wake-up preamble sequence with high efficiency performance is provided.
a sending apparatus includes the following steps:
101. A sending apparatus obtains a wake-up packet (WUP, Wake-up Packet), where the
WUP includes a preamble sequence.
[0027] The preamble sequence includes N consecutive first sequences S, for example, [S S],
or the preamble sequence includes a second sequence M, where the N consecutive first
sequences S are used to indicate that a data rate used for the WUP is a first value,
and the second sequence M is used to indicate that a data rate used for the WUP is
a second value; the second sequence M and the first sequence are in a bit logical
negation relationship; and N is an integer greater than or equal to 2, where T meets
one of the following relationships: T=S
∗2-1, T=[N consecutive Ss]
∗2-1, T=M
∗2-1, or T=[N consecutive Ms]
∗2-1. Optionally, because there is a unique mapping relationship between the first
sequence and the second sequence, optionally, only the first sequence or only the
second sequence needs to be stored at a transmit end. Optionally, the transmit end
may also simultaneously store the first sequence and the second sequence.
[0028] For example, the wake-up packet has a data structure shown in FIG. 2, including a
legacy preamble, and a wake-up preamble sequence (WUP preamble).
[0029] The first sequence S is used to indicate that the data rate used for the WUP is the
first value, and the second sequence M is used to indicate that the data rate used
for the WUP is the second value. The second sequence M and the first sequence S are
in the bit-logical non-relationship.
[0030] 102. Send the WUP, to wake up a main receiver of a receiving apparatus.
[0031] A quantity of 0 is the same as a quantity of 1 in the sequence in the preamble. The
first sequence S, the second sequence M, and a third sequence T used for correlation
processing on a receive side (for example, storing, or obtaining and storing) meet
one of the following relationships: T=S
∗2-1, T=[N consecutive Ss]
∗2-1, T=M
∗2-1, or T=[N consecutive Ms]
∗2-1.
[0032] Specifically, the first sequence S may be one of sequences in the following specific
examples, for example, sequences in Table 1 or Table 2.
[0033] The sequences in these examples all meet the following conditions: a difference between
a first maximum value and a second maximum value in absolute values of results obtained
after the first sequence S and the third sequence T are correlated is the largest,
a difference between a first maximum value and a second maximum value in absolute
values of results after the second sequence M and the third sequence T are correlated
is also the largest, and the foregoing sequences also meet a condition that a sum
of the foregoing two differences is the largest.
[0034] Correspondingly, based on the foregoing wake-up preamble sequence, processing, by
the receiving apparatus, the wake-up packet (received signaling) based on a stored
sequence to parse and obtain the wake-up packet includes the following steps:
201. The receiving apparatus receives a data packet.
[0035] Specifically, the receiving apparatus does not know a specific structure of the data
packet. A standard followed by the data packet may be learned by detecting a legacy
preamble, and more information such as information in 202 and 203 may be obtained
by detecting a sequence following the legacy preamble.
[0036] 202. Perform correlation processing on a sequence in the received data packet and
a third sequence T stored in the receiving apparatus. A specific related technology
is not limited, and details are not described again.
[0037] 203. Determine that the sequence in the data packet is a wake-up preamble sequence
based on a correlation processing result, and determine that the preamble sequence
includes N consecutive first sequences S, or that the preamble sequence includes a
second sequence M, where the N consecutive first sequences S are used to indicate
that a data rate used for the WUP is a first value, and the second sequence M is used
to indicate that a data rate used for the WUP is a second value; the second sequence
M and the first sequence are in a bit logical negation relationship; and N is an integer
greater than or equal to 2, where T meets one of the following relationships: T=S
∗2-1, T=[N consecutive Ss]
∗2-1, T=M
∗2-1, or T=[N consecutive Ms]
∗2-1.
[0038] Preferably, N is 2.
[0039] Specifically, the third sequence T is one of sequences provided in various examples.
Optionally, the third sequence T may be permanently stored in the receiving apparatus.
Optionally, because the first sequence S, the second sequence M, and the third sequence
T meet the foregoing relationship, S or M may alternatively be permanently stored
at the receiving apparatus. When performing the correlation processing, T is first
obtained based on S or M and T is temporarily stored, and then, the correlation processing
is performed based on T.
[0040] Specifically, step 203 includes but is not limited to:
when any one of absolute values or a maximum value of the absolute values in the correlation
result is greater than or equal to a threshold, determining that the wake-up preamble
sequence (WUP Preamble) is correctly detected; and determining whether a value whose
absolute value is maximum is a positive value or a negative value, determining that
the N consecutive first sequences S are received when the value is a positive value,
and determining that the second sequence M is received when the value is a negative
value. Referring to subsequent FIG. 4, a value whose absolute value is maximum in
the correlation result is usually referred to as a peak. Generally, whether the WUP
preamble is detected is determined depending on whether an absolute value of the peak
reaches the threshold, and then information indicated by the WUP preamble is determined
depending on whether the peak is a positive value or a negative value. In FIG. 4,
a peak above a horizontal axis is a positive value, and a peak below the horizontal
axis is a negative value.
[0041] The WUP preamble in the foregoing implementation has at least one of the following
technical effects:
- 1. The WUP preamble has a relatively high detection success rate and may be easily
detected by a WUR, so that a WUR precisely identifies whether a currently received
packet is a WUP.
- 2. A time synchronization feature is relatively desirable. That is, after determining
that the packet is the WUP, the WUR can precisely detect a start time of a data part,
that is, a WUR payload.
- 3. A data rate of the WUP payload part after the WUP preamble may be indicated, for
example, is 62.5 kbps or 250 kbps.
- 4. Overheads are relatively low. Generally, a good detection rate and precise time
synchronization usually require a relatively long preamble, but an excessively long
preamble causes high air interface overheads, increasing overall network load. The
WUP preambles in various implementations very desirably balance performance and overheads.
- 5. The WUP preambles have a simple receiving and processing procedure. Because the
WUR is a relatively simple electronic device with low power consumption and weak performance,
a signal processing capability of the WUR is limited. Structures and detection manners
of the WUP preambles are relatively simple, and can be well adapted to the WUR
Example 1 of the first sequence S, the second sequence M, and the third sequence T
[0046] Specifically, in a wireless communications system using a wake-up technology, it
may be agreed on that one of sequences in Table 1 is the first sequence S. In this
way, correspondingly, a corresponding sequence M and a corresponding sequence T may
be learned based on a relationship among the sequence S, the sequence M, and the sequence
T. Certainly, the sequence M or the sequence T may also be directly specified in a
protocol.
[0047] The following describes in detail why the foregoing preferred sequence has the foregoing
technical effects:
[0048] 1. Generally, whether a feature of a sequence is good needs to be represented in
a receiving process of a receiver. In this implementation, optionally, a binary-sequence
receiving manner of the foregoing OOK is used. On a receive side, a correlator is
used to perform a correlation operation on a received signal, to determine whether
the received signal is a WUP preamble and find a start location of the WUP preamble,
and accordingly, an end location of the WUP preamble can be calculated. As shown in
FIG. 2, the end location of the WUP preamble is the start location of the WUP payload.
[0049] For ease of description, any sequence in Table 1 is defined as S(n), a sequence correlated
with S(n) is defined as T(n) on the receive side, and T(n) is obtained based on S(n):

[0050] n is a discrete expression of a time sampling point, and may be understood as an
instantaneous moment. It is easily learned that T(n) is a result obtained only after
keeping all 1 in S(n) unchanged, but setting all 0 to -1.
[0051] Another complementary sequence M(n) may be obtained based on S(n):

[0052] NOT represents a bit logical negation operation. To be specific, a negation operation
is performed on bits in S(n). In other words, 0 and 1 in S(n) are respectively set
to 1 and 0. For example, sequences whose sequence numbers are consistent in Table
1, Table 2, and Table 3 have relationships in the foregoing expressions (1) and (2).
[0053] During correlation, the receiver separately performs a correlation operation on S(n)
and T(n) and on M(n) and T(n). To be accurate, mathematical expressions of these correlation
operations are:

and

where C1(τ) is a correlation operation result of S(n) and T(n), and τ is a time shift.
[0054] FIG. 4 is a correlation result calculated based on a sequence 7 in Table 1. For example,
the result shown in FIG. 4 is obtained after calculation is performed on the sequence
7 by using software MATLAB based on the correlation operation in an operation equation
(3). It can be seen from FIG. 4 that a maximum value of the correlation result of
S(n) and T(n) is 16, a second maximum value is 2, and a minimum value is -2.
[0055] FIG. 5 is a result obtained after calculation by using software MATLAB based on a
correlation operation of the operation equation (4). It can be seen from FIG. 5 that
a minimum value of the correlation result of M(n) and T(n) is -16, a second minimum
value is -2, and a maximum value is +2. All sequences in Table 1 have this feature
(the sequences in Table 1 are exactly obtained based on the foregoing requirement
or principle).
[0056] More specifically, a process of obtaining the sequences in Table 1 is mainly to search
based on the following conditions to obtain preferred sequences:
First, quantities of 0 and 1 in an obtained binary sequence are the same. In this
way, correspondingly, a quantity of 1 is the same as a quantity of -1 in a local sequence
T(n) of a receiver. In this way, when the receiver locally generates a signal T(n),
a direct current component is 0. Because a direct current component (which may be
simply understood as an average value) in a circuit is vulnerable to influence of
another direct current. Therefore, generally, a smaller direct current component in
a signal is better.
[0057] Second, two (or more) different WUP preambles can be simply detected. The different
WUP preambles may be used to indicate two (or more) types of information, for example,
a current data rate.
[0058] According to an aspect, complementary sequences M(n) can be directly obtained from
all sequences S(n) in Table 1 complementary sequence. Therefore, the transmitter needs
to store only S(n). If M(n) needs to be sent, M(n) may be obtained by using a logical
negation circuit based on S(n).
[0059] According to another aspect, the receiver needs to store only a local sequence T(n)
for performing a correlation operation. If the transmitter sends S(n) (for example,
indicating a WUP payload rate), the receiver obtains a result similar to that in FIG.
4 after receiving S(n) and performing correlation with local T(n). If the transmitter
sends M(n) (for example, indicating another WUP payload rate), the receiver obtains
a result similar to that in FIG. 5 after performing the correlation. It can be seen
that the results of FIG. 4 and FIG. 5 differ greatly. In particular, peaks thereof,
being 16 and - 16 respectively, have completely equal absolute values, but have completely
opposite signs. In this way, the receiver may determine, by analyzing a plus or minus
sign (or polarity) of a peak (that is, a value whose absolute value is maximum), which
WUP preamble is received by the receiver. In this way, information (for example, a
WUP payload data rate) indicated by the WUP preamble may be obtained.
[0060] Briefly, the sequences in Table 1 are sequences that are preferably selected from
sequences of 32 bits based on the expressions (3) and (4) and conditions a) and b),
where the condition b) is that the sequences in Table 1 and the complementary sequences
thereof both have correlation maximum values of max(C1(τ))=16 and min(C2(τ))=-16.
According to the foregoing solution, complexity of the receiver is simplified, only
one group of local sequences T(n) need to be stored, and a sequence sent by the sending
apparatus can be detected by performing only one correlation operation on received
data, so that information indicated by the sequence can be obtained.
[0061] After the receiver performs correlation processing, a larger maximum value of an
absolute value of a correlation value is better. This is because the larger maximum
value of the absolute value better helps the WUR find a peak in a noise and interference
environment, so that a WUR receiver easily determines that the WUR receiver receives
a WUP preamble. Because after performing a correlation operation, the receiver always
determines, depending on whether the maximum value of the absolute value of the correlation
result exceeds a threshold, whether the receiver receives a WUP preamble, the larger
maximum value of the absolute value indicates less vulnerability to interference.
Briefly, the larger maximum value of the absolute value of the correlation value better
helps the receiver correctly determine whether the WUP preamble is received.
[0062] For example, the maximum value of the absolute value of the correlation value in
FIG. 4 and FIG. 5 is 16. It is assumed that the maximum value of the absolute value
is only 12 or less, and a threshold of correlation detection is set to 10. Once S(n)
or M(n) is affected by noise and other interference, it is very likely that a maximum
value of an absolute value that meets a requirement of being greater than the threshold
10 cannot be found from the absolute values of the correlation result. All sequences
S(n) in Table 1 and corresponding M(n) thereof both have the maximum value 16 of the
absolute values after correlation with T(n), and the maximum value 16 of the absolute
value is a possible maximum absolute value obtained under the condition a) after all
binary sequences of 32 bits are correlated based on expressions (3) and (4).
[0063] Therefore, a start point or an end point of the WUP preamble can be accurately detected.
Generally, on the receive side, the start point or the end point is calculated based
on a peak location of the correlation result. The peak is a value whose absolute value
of the correlation result is maximum, and the peak may be a positive value or may
be a negative value. As shown in c), the positive value or the negative value is used
to indicate different information.
[0064] To accurately detect a peak location, specifically, a difference between a first
maximum value and a second maximum value of absolute values of results obtained after
correlation between the first sequence S and the third sequence T should be the largest.
In addition, a difference between a first maximum value and a second maximum value
of absolute values of results after correlation between the second sequence M and
the third sequence T also should be the largest.
[0065] In other words, a difference between the peak in the absolute values of the results
after the correlation between the first sequence S and the third sequence T and all
other values is the largest; and a difference between the peak of the absolute values
of the results after the correlation between the second sequence M and the third sequence
T and all other values is also the largest.
[0066] For example, the following operations are performed, to help find a preferred first
sequence S according to a principle that a larger ACMetric_S is better and a larger
ACMetric_M is better:

and

[0067] In the foregoing expressions, abs() is an absolute value operation, max() is an operation
of obtaining a maximum value, and 2ndmax() is an operation of obtaining a second maximum
value.
[0068] Equivalently, or similarly, the following operation is performed, to find a better
first sequence according to a principle that a larger ACMetric_S" is better and a
smaller ACMetric_M" is better:

and

[0069] In the foregoing expressions, abs() is an absolute value operation, max() is an operation
of obtaining a maximum value, min() is an operation of obtaining a minimum value,
and 2ndmax() is an operation of obtaining a second maximum value.
[0070] Certainly, another representation manner may also be used to obtain the preferred
first sequence having the greatest difference between the peak and all other values.
[0071] For example, referring to FIG. 4, a first maximum value max(C1(τ)) in the results
after the correlation between S(n) and T(n) is 16.
[0072] In addition, a second maximum value 2ndmax(abs(C1(τ))) in the results after the correlation
between S(n) and T(n) is 2.
[0073] Referring to FIG. 5, a first minimum value min(C2(τ)) in the result after the correlation
between M(n) and T(n) is -16 (that is, the maximum value of the absolute values of
the correlation results is 16).
[0074] A second maximum value 2ndmax(abs(C2(τ))) in the absolute value of the result after
the correlation between M(n) and T(n) is 2.
[0075] Under the foregoing conditions, when affected by noise, interference, or the like,
the receiver can still easily and accurately find a location of a peak, for example,
max(C1(τ)) or min(C2(τ)), to easily find the start location of the WUP preamble.
[0076] Referring to the foregoing expressions (5) and (6), ACMetric_S and ACMetric_M are
respectively 8 and -8. If differences between max(C1(τ)) and the second maximum value
and between min(C2(τ)) and the second maximum value are small, a maximum value of
an absolute value is very likely to appear at another location once affected by noise,
interference, and the like. It is assumed that max(C1(τ)) is 16, but 2ndmax(abs(C1(τ)))
is 14. As a result, once affected by noise and interference, 2ndmax(abs(C1(τ))) is
very likely to be increased to 17. In this case, a receiver calculates a start point
of the WUP preamble based on the current max(C1(τ))=17, and an inaccurate start point
calculated causes a subsequent WUP payload part to be incorrectly decoded. That is,
the foregoing solution ensures a very good synchronization effect.
[0077] Regardless of whichever manner being used, in brief, a larger difference between
the peak and all other values is better and better helps accurately find the peak
location. Then the start location or the end location of the WUP is determined based
on the peak location, to determine the start location of the payload. In this way,
time synchronization precision is greatly improved. It should be specially noted that
all sequences in Table 1 have a relationship that ACMetric_S and/or ACMetric_M are/is
8 (or ACMetric_S" and ACMetric_M\" are respectively 8 and -8). This is optimal values
of ACMetric_S and ACMetric_M that can be attained when sequences of 32 bits obtained
by using a traversal algorithm meet the conditions a) and b).
[0078] In addition to the foregoing sequences with a length of 32 bits in Table 1, Table
2, and Table 3, there may be a sequence with another length. The sequence of another
length may be selected in a manner consistent with the foregoing principle, or a longer
first sequence S may be constructed based on the foregoing sequence of 32 bits and
the second sequence M and the third sequence T are correspondingly obtained.
[0079] Example 2 of the first sequence S, the second sequence M, and the third sequence
T
[0080] The first sequence S with a length of 16 bits is any sequence shown in Table 2. A
number of a sequence is merely for ease of subsequent description, and constitutes
no limitation.
Table 2
Number of a sequence |
S(n) sequence body of 16 bits |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
1 |
1 |
2 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
3 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
0 |
4 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
5 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
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1 |
1 |
0 |
1 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
97 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
98 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
99 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
100 |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
0 |
[0081] Correspondingly, Table 2a provides sequences T that are in a one-to-one correspondence
with the sequences S in Table 2.
Table 2a
Number of a sequence |
T(n) sequence |
1 |
-1 |
-1 |
-1 |
1 |
-1 |
1 |
-1 |
1 |
1 |
-1 |
1 |
1 |
-1 |
-1 |
1 |
1 |
2 |
-1 |
-1 |
-1 |
1 |
1 |
1 |
-1 |
1 |
-1 |
1 |
1 |
-1 |
1 |
1 |
-1 |
-1 |
3 |
-1 |
-1 |
-1 |
1 |
1 |
1 |
-1 |
1 |
1 |
-1 |
1 |
-1 |
1 |
1 |
-1 |
-1 |
4 |
-1 |
-1 |
1 |
-1 |
-1 |
1 |
1 |
-1 |
1 |
-1 |
1 |
1 |
1 |
1 |
-1 |
-1 |
5 |
-1 |
-1 |
1 |
-1 |
-1 |
1 |
1 |
1 |
1 |
-1 |
-1 |
1 |
-1 |
1 |
-1 |
1 |
6 |
-1 |
-1 |
1 |
-1 |
1 |
-1 |
-1 |
-1 |
1 |
1 |
1 |
1 |
1 |
1 |
-1 |
-1 |
7 |
-1 |
-1 |
1 |
-1 |
1 |
-1 |
1 |
-1 |
-1 |
1 |
1 |
1 |
1 |
-1 |
-1 |
1 |
8 |
-1 |
-1 |
1 |
-1 |
1 |
-1 |
1 |
1 |
-1 |
-1 |
1 |
1 |
1 |
1 |
-1 |
-1 |
9 |
-1 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 |
90 |
1 |
1 |
-1 |
-1 |
1 |
1 |
1 |
1 |
-1 |
-1 |
-1 |
-1 |
-1 |
1 |
-1 |
1 |
91 |
1 |
1 |
-1 |
1 |
-1 |
-1 |
-1 |
1 |
-1 |
1 |
1 |
-1 |
-1 |
-1 |
1 |
1 |
92 |
1 |
1 |
-1 |
1 |
-1 |
1 |
-1 |
-1 |
-1 |
-1 |
1 |
1 |
-1 |
1 |
1 |
-1 |
93 |
1 |
1 |
-1 |
1 |
-1 |
1 |
-1 |
-1 |
1 |
1 |
-1 |
-1 |
-1 |
-1 |
1 |
1 |
94 |
1 |
1 |
-1 |
1 |
-1 |
1 |
-1 |
1 |
1 |
-1 |
-1 |
-1 |
-1 |
1 |
1 |
-1 |
95 |
1 |
1 |
-1 |
1 |
-1 |
1 |
1 |
1 |
-1 |
-1 |
-1 |
-1 |
-1 |
-1 |
1 |
1 |
96 |
1 |
1 |
-1 |
1 |
1 |
-1 |
-1 |
-1 |
-1 |
1 |
1 |
-1 |
1 |
-1 |
1 |
-1 |
97 |
1 |
1 |
-1 |
1 |
1 |
-1 |
-1 |
1 |
-1 |
1 |
-1 |
-1 |
-1 |
-1 |
1 |
1 |
98 |
1 |
1 |
1 |
-1 |
-1 |
-1 |
1 |
-1 |
-1 |
1 |
-1 |
1 |
-1 |
-1 |
1 |
1 |
99 |
1 |
1 |
1 |
-1 |
-1 |
-1 |
1 |
-1 |
1 |
-1 |
-1 |
1 |
-1 |
-1 |
1 |
1 |
100 |
1 |
1 |
1 |
-1 |
1 |
-1 |
1 |
-1 |
-1 |
1 |
-1 |
-1 |
1 |
1 |
-1 |
-1 |
[0082] Correspondingly, Table 2b provides sequences M that are in a one-to-one correspondence
with the sequences S in Table 2. Optionally, the first sequence may also be formed
by repeating any sequence in Table 2b by N times. In this case, the second sequence
M corresponding to the first sequence still needs to be in a bit logical inversion
relationship with the first sequence; or the sequence M is a sequence in Table 2 corresponding
to that in Table 2b.
Table 2b
Number of a sequenc e |
M(n) body sequence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|
1 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
1 |
0 |
0 |
92 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
93 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
94 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
1 |
95 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
1 |
1 |
0 |
0 |
96 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
97 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
98 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
0 |
99 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
100 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
1 |
1 |
[0083] Table 2c includes sequences having a relatively small quantity of consecutive 0 or
1 in Table 2. The first sequence and the second sequence can be both optimized to
include no excessively long blank energy transmission period, to prevent a channel
from being preempted by another device. Likewise, the third sequences T shown in Table
2d and the second sequences M shown in Table 2e that are in a one-to-one correspondence
with the sequences in Table 2c may be induced based on Table 2c. Optionally, the first
sequence may also be formed by repeating any sequence in Table 2e for N times. In
this case, the second sequence M corresponding to the first sequence still needs to
be in a bit logical inversion relationship with the first sequence; or the sequence
M is a sequence in Table 1 corresponding to that in Table 1c.
Table 2c
Number of a sequence |
S(n) |
1 |
0 |
0 |
1 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
1 |
0 |
0 |
2 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
3 |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
4 |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
0 |
Table 2d
Number of a sequence |
T(n) |
1 |
-1 |
-1 |
1 |
-1 |
1 |
1 |
1 |
-1 |
1 |
-1 |
-1 |
1 |
1 |
1 |
-1 |
-1 |
2 |
-1 |
1 |
1 |
-1 |
1 |
-1 |
1 |
-1 |
1 |
1 |
-1 |
-1 |
-1 |
-1 |
1 |
1 |
3 |
1 |
1 |
-1 |
-1 |
1 |
1 |
-1 |
1 |
1 |
-1 |
1 |
-1 |
1 |
-1 |
-1 |
-1 |
4 |
1 |
1 |
1 |
-1 |
1 |
-1 |
1 |
-1 |
-1 |
1 |
-1 |
-1 |
1 |
1 |
-1 |
-1 |
Table 2e
Number of a sequence |
M(n) |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
1 |
0 |
0 |
0 |
1 |
1 |
2 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
3 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
4 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
0 |
0 |
1 |
1 |
[0084] Example 3 of the first sequence S, the second sequence M, and the third sequence
T.
[0085] In another implementation, a transmitter stores each sequence of 32 bits in Table
1 (alternatively, Table 1 may be obtained by storing Table 1a or Table 1b). However,
duration of each bit is determined as 2 microseconds. Therefore, a total time length
of each sequence in Table 1 (and Table 1a, Table 1b, Table 1c, Table Id, and Table
1e) is obtained and is 64 microseconds. Optionally, duration of each bit may also
be 4 microseconds, 8 microseconds, or 16 microseconds, so that a total time length
of each sequence in Table 1 (and Table 1a, Table 1b, Table 1c, Table Id, and Table
1e) is obtained and is 128 microseconds, 256 microseconds, or 512 microseconds.
[0086] In another implementation, the transmitter stores each sequence of 16 bits in Table
2 (alternatively, Table 2 may be obtained by storing table 2a or Table 2b), but duration
of each bit is determined as 4 microseconds. Therefore, a total time length of each
sequence in Table 2 (and Table 2a, Table 2b, Table 2c, Table 2d, and Table 2e) is
obtained and is 64 microseconds. Optionally, duration of each bit may also be 4 microseconds,
8 microseconds, or 16 microseconds, so that a total time length of each sequence in
Table 2 (and Table 2a, Table 2b, Table 2c, Table 2d, and Table 2e) is obtained and
is 64 microseconds, 128 microseconds, or 256 microseconds.
[0087] When the preamble sequence (binary sequence) in the foregoing embodiments is applied
to the transmitter or the receiver, there are the following technical effects:
A direct current component of the receiver is 0, and is not vulnerable to another
direct current.
[0088] This helps the WUR detect whether a currently received packet is a WUP.
[0089] This helps distinguish a data rate used for the subsequent WUP payload.
[0090] The WUR achieves a better synchronization effect when decoding the WUP preamble.
[0091] The following briefly describes how to obtain the sequence in the foregoing Table
1 or Table 2, to enable the foregoing sequence to have the foregoing advantages in
an application of the preamble. Whether a sequence feature in a wireless wake-up communications
system is good needs to be represented in a receiving process of a receiver. In a
binary-sequence receiving manner based on OOK, a correlator correlator is usually
used to perform a correlation operation on a received signal, to determine whether
the signal is a WUP preamble and find a start location of the WUP preamble, and accordingly,
an end location of the WUP preamble can be calculated, where the end location is also
a start location of WUP payload, as shown in FIG. 2.
[0092] For ease of description, any sequence in Table 1 is defined as S(n), and S(n) is
used to generate the WUR preamble described below. First, based on S(n), a preamble
sequence may be generated as follows:

[0093] A sequence that correlates with S(n) is defined as T(n), and T(n) is also obtained
based on S(n), as shown in Table 2:

[0094] n is a discrete expression of a time-sampling point, and may be understood as an
instantaneous moment. It is easily learned that T(n) is a result obtained only after
keeping all 1 in S(n) unchanged, but setting all 0 to -1.
[0095] Another preamble sequence M(n) continues to be obtained based on S(n), as shown in
Table 3:

[0096] NOT represents a logical negation operation. To be specific, a negation operation
is performed on bits in S(n). In other words, 0 and 1 in S(n) are respectively set
to 1 and 0.
[0097] During correlation, the receiver separately performs a correlation operation on SS(n)
and T(n) and on M(n) and T(n). To be accurate, mathematical expressions of these correlation
operations are:

and

[0098] C1(τ) is a correlation operation result of S(n) and T(n), and τ is a time shift.
[0099] Some operations are defined: abs() is an absolute value operation, max() is an operation
of obtaining a maximum value, 2ndmax() is an operation of obtaining a second maximum
value, and min() is an operation of obtaining a minimum value. Two sequence performance
standards are defined:

and

[0100] According to expression (2), expressions (6) and (7) are equivalent to the following
expressions (8) and (9):

and

[0101] In addition, for ease of implementation, based on expression (3), expression (2)
may also be converted into:

[0102] In this case, expressions (6) and (7) are equivalent to the following expression
(11) and (12):

and

[0103] The following uses an example to randomly select a sequence in Table 1, and calculate
a correlation result. For example, the result shown in FIG. 4 is obtained after calculation
is performed on the sequence 167 by using software MATLAB based on the correlation
operation of operation equations (1) to (5). A solid line in FIG. 4 represent the
calculation result of expression (4), and a dashed line in FIG.4 represent the calculation
result of expression (5). It may be obtained from the figure that, for the solid line,
a result obtained based on expression (6) is 16/2=8. For the dashed line, a result
obtained based on expression (7) is 16/3=5.3. A result obtained by using the solid
lines is a maximum value that can be obtained based on expressions (1) to (7) in all
sequences of 32 bits, and a result obtained by using the dashed lines is a maximum
value that can be obtained when the maximum value 8 in expression (6) is obtained
based on the solid line and the manners in expressions (1) to (7) are considered.
[0104] The following explains why a 32-bit-length binary sequence with such a feature is
expected to be traversed. Reasons are as follows according to sub-clause 1.2:
[0105] First, it is further required that quantities of 0 and 1 should be the same in a
found binary sequence. Quantities of 1 and -1 in the local sequence T(n) of the receiver
may be the same. In this way, when the receiver locally generates a signal T(n), a
direct current component is 0 (the direct current component may be simply understood
as an average value, and a direct current component in a circuit is vulnerable to
influence of another direct current. Therefore, usually, it is expected that a smaller
direct current component in a signal is better).
[0106] Second, the WUP preamble is expected to indicate two lengths. Because two preamble
sequences SS(n) and M(n) can be directly obtained from all sequences S(n) in Table
1, only S(n) needs to be stored in the transmitter. Only a local sequence T(n) needs
to be stored in the receiver for performing a correlation operation. If the transmitter
sends a WUP payload rate, a preamble of this segment of the WUR payload is one of
SS(n) and M(n). After receiving the preamble and completing correlation with the local
T(n), the receiver obtains one of results in FIG. 4, that is, the dashed line or the
solid line. It can be seen that the dashed-line and solid-line results in FIG. 4 differ
greatly. In particular, peaks thereof, being 16 and -16 respectively, have completely
equal absolute values, but have completely opposite signs. In this way, the receiver
may determine, by analyzing a plus or minus sign (or polarity) of a peak, which type
of WUP preamble is received by the receiver. In addition, for the solid-line result,
the receiver may determine again that the preamble is SS(n) based on two peaks that
appear. In this manner, a determining correct ratio of SS(n) is higher than that of
M(n). Such a detection manner not only distinguishes different WUP payload data rates,
but also simplifies complexity of the receiver. Only one group of local sequences
T(n) need to be stored, and only one correlation operation needs to be performed.
[0107] Third, it can be learned that a maximum value of absolute values of the correlation
values is 16 in FIG. 4. A larger value is better, and a larger maximum value better
helps the WUR find the peak in a noise and interference environment, so that the WUR
receiver determines that the WUR receiver receives a WUP preamble. After performing
a correlation operation, the receiver always determines, depending on whether a maximum
value of absolute values of a correlation result exceeds a threshold, whether the
receiver receives the WUP preamble. Assuming that if the maximum value of the absolute
value is only 12 or less, and a threshold of correlation detection is set to 10, once
SS(n) or M(n) is affected by noise and other interference, it is very likely that
a maximum value of an absolute value that meets the threshold requirement 10 cannot
be found in the correlation values. In conclusion, the larger maximum value of the
absolute value better helps the receiver correctly determine whether the WUP preamble
is received. After SS(n) and M(n) generated by all sequences S(n) in Table 1 are all
correlated with T(n), maximum values of absolute values are all 16, and the maximum
value 16 of the absolute value is a possible maximum absolute value obtained under
the condition a) after all 32-bit binary sequences are correlated based on expressions
(3) and (4).
[0108] Fourth, it may be further learned that max(abs(C1(τ)))=16 and max(abs(C2(τ)))=16
in FIG. 4. In addition, 2 ndmax(abs(C1(τ)))=2, and 2 ndmax(abs(C2(τ)))=3. In this
way, an advantage is achieved, that is, when there is influence such as noise and
interference, locations of max(abs(C1(τ))) and max(abs(C2(τ))) can still be easily
found. Because ACMetric_SS and ACMetric_M are respectively 8 and 5.3, the start location
of the WUP preamble can be easily found. For example, if a difference between max(abs(C1(τ)))
and the second maximum value and between max(abs(C2(τ))) and the second maximum value
is small, once there is influence such as noise and interference, a maximum value
of an absolute value may easily appear at another location. For example, if max(abs(C1(τ)))
is 16, but 2 ndmax(abs(C1(τ))) is 14, once there is influence of noise and interference,
2 ndmax(abs(C1(τ))) is very likely to be increased to 17, the receiver calculates
the start point of the WUP preamble based on the current max(C1(τ))=17. Consequently,
a result is apparently inaccurate, and directly causes the subsequent WUP payload
part to be incorrectly decoded. In conclusion, a larger ACMetric_SS and a smaller
ACMetric_M are better, and facilitate time synchronization precision. All sequences
in Table 1 have a relationship that ACMetric_SS and ACMetric_M are respectively 8
and 5.3. This is a possible maximum value of ACMetric_SS that can be attained when
sequences of 32 bits that are obtained by using a traversal algorithm meet conditions
a) and b). When it is ensured that ACMetric_SS reaches the maximum value 8, a maximum
attainable value of ACMetric_M is 5.3. In search for such a binary sequence of 32
bits, it is always first ensured that ACMetric_SS reaches a maximum value 8, and then
whether ACMetric_M of the sequence can reach 5.3 is calculated. If ACMetric_M reaches
5.3, the sequence meets the requirement.
[0109] Correspondingly, a sending apparatus for wake up applicable to the foregoing sending
apparatus and a receiving apparatus for wake-up applicable to the foregoing receiving
apparatus are further provided.
[0110] Referring to FIG. 5, a sending apparatus 600 for wake-up mainly includes a transmitter.
The transmitter may include a transmit circuit, a power controller, an encoder, and
an antenna.
[0111] Referring to FIG. 6, a receiving apparatus 700 for wake-up mainly includes a receiver.
The receiver may include a receive circuit, a power controller, a decoder, and an
antenna.
[0112] The sending apparatus 600 or the receiving apparatus 700 may further include a processor
and a memory. The processor may further be referred to as a CPU. The memory may include
a read-only memory and a random access memory, and provide an instruction and data
to the processor. A part of the memory may further include a non-volatile random access
memory (NVRAM).
[0113] In a specific application, the sending apparatus 600 or the receiving apparatus 700
may be built in or may be a wireless communications device such as a terminal device
or an access point, and may further include a carrier accommodating a transmit circuit
and the receive circuit, to allow data transmission and receiving between the sending
apparatus and the receiving apparatus and a remote location. The transmit circuit
and the receive circuit may be coupled into the antenna. Components of the sending
apparatus 600 and the receiving apparatus 700 may be coupled together by using a bus.
In addition to a data bus, the bus further includes a power bus, a control bus, and
a status signal bus. However, for the purpose of clarity, various buses are all marked
as the bus in figures. In different specific products, the decoder may be integrated
with a processing unit.
[0114] The processor can implement or perform the steps and the logical block diagrams that
are disclosed in the apparatus embodiments of the present invention. A general-purpose
processor may be a microprocessor, or the processor may be any conventional processor,
decoder, or the like. The steps of the apparatus disclosed with reference to the embodiments
of the present invention may be directly presented as being executed and completed
by a hardware processor, or executed and completed by a combination of hardware in
a decoding processor and a software module. The software module may be located in
a mature storage medium in the art, such as a random access memory, a flash memory,
a read-only memory, a programmable read-only memory, or an electrically erasable programmable
memory.
[0115] It should be understood that in the embodiments of the present invention, the processor
may be a central processing unit (Central Processing Unit, "CPU" for short), or the
processor may be another general-purpose processor, a digital signal processor (DSP),
an application-specific integrated circuit (ASIC), a field programmable gate array
(FPGA) or another programmable logic device, a discrete gate or a transistor logic
device, a discrete hardware component, or the like. The general-purpose processor
may be a microprocessor, or the processor may be any conventional processor or the
like.
[0116] The memory may include a read-only memory and a random access memory, and provide
an instruction and data for the processor. A part of the memory may further include
a non-volatile random access memory. For example, the memory may further store information
about a device type.
[0117] In addition to a data bus, a bus system may further include a power source bus, a
control bus, a status signal bus, and the like. However, for clear description, various
types of buses in the figures are marked as the bus system.
[0118] In an implementation process, the steps in the foregoing apparatus may be completed
by using an integrated logic circuit of hardware in the processor, or using an instruction
in a form of software. The steps of the apparatus disclosed with reference to the
embodiments of the present invention may be directly presented as being executed and
completed by a hardware processor, or executed and completed by a combination of hardware
in a processor and a software module. The software module may be located in a mature
storage medium in the art, such as a random access memory, a flash memory, a read-only
memory, a programmable read-only memory, an electrically erasable programmable memory,
and a register. The storage medium is located in the memory, and the processor reads
information from the memory and completes the steps in the foregoing apparatus with
reference to hardware thereof. To avoid repetition, details are not described herein
again.
[0119] A resource scheduling device 600 according to the embodiments of the present invention
may correspond to a receiving apparatus (for example, a terminal device) of apparatuses
of the embodiments of the present invention. In addition, each unit, namely, each
module, in the resource scheduling device 600 and the foregoing other operations and/or
functions are separately intended to implement the corresponding procedure of an apparatus
200. For clarity, details are not described herein again.
[0120] In the resource scheduling device according to the embodiments of the present invention,
at least some bits in a bit sequence are used to indicate whether one or more of resource
block locations possibly obtained by dividing a to-be-allocated frequency domain resource
is a to-be-allocated resource block actually obtained by dividing the to-be-allocated
frequency domain resource, and based on a distribution status of the to-be-allocated
resource blocks actually obtained by dividing the to-be-allocated frequency domain
resource and with reference to the resource block locations possibly obtained by dividing
the to-be-allocated frequency domain resource, bit sequences of different lengths
can be generated flexibly. Therefore, transmission resource overheads of resource
scheduling can be reduced.
[0121] It should be understood that in various embodiments of the present invention, sequence
numbers of the foregoing processes do not mean execution sequences. The execution
sequences of the processes should be determined based on functions and internal logic
of the processes, and shall not constitute any limitation on the implementation processes
of the embodiments of the present invention.
[0122] A person of ordinary skill in the art may be aware that units and algorithm steps
in the examples described with reference to the embodiments disclosed in this specification
can be implemented by electronic hardware or a combination of computer software and
electronic hardware. Whether the functions are performed by hardware or software depends
on particular applications and design constraints of the technical solutions. A person
skilled in the art may use different apparatuses to implement the described functions
for each particular application, but it should not be considered that the implementation
goes beyond the scope of the present invention.
[0123] It may be clearly understood by a person skilled in the art that, for ease and brevity
of description, for a detailed working process of the foregoing system, apparatus,
and unit, refer to a corresponding process in the foregoing apparatus embodiments,
and details are not described herein again.
[0124] In the several embodiments provided in this application, it should be understood
that the disclosed system and apparatus may be implemented in other manners. For example,
the described apparatus embodiment is merely an example. For example, the unit division
is merely logical function division and may be other division in actual implementation.
For example, a plurality of units or components may be combined or integrated into
another system, or some features may be ignored or not performed. In addition, the
displayed or discussed mutual couplings or direct couplings or communication connections
may be implemented by using some interfaces. The indirect couplings or communication
connections between the apparatuses or units may be implemented in an electronic form,
a mechanical form, or another form.
[0125] The units described as separate parts may or may not be physically separate, and
parts displayed as units may or may not be physical units, may be located in one location,
or may be distributed on a plurality of network units. Some or all of the units may
be selected based on actual requirements to achieve the objectives of the solutions
of the embodiments.
[0126] In addition, functional units in the embodiments of the present invention may be
integrated into one processing unit, or each of the units may exist alone physically,
or two or more units may be integrated into one unit.
[0127] When functions are implemented in the form of a software functional unit and sold
or used as an independent product, the functions may be stored in a computer-readable
storage medium. Based on such an understanding, the technical solutions of the present
invention essentially, or the part contributing to the prior art, or part of the technical
solutions may be implemented in the form of a software product. The computer software
product is stored in a storage medium, and includes several instructions for instructing
a computer device (which may be a personal computer, a server, a transmitting apparatus,
or the like) to execute all or some of the steps of the method in the embodiments
of the present invention. The storage medium includes any medium, such as a USB flash
drive, a removable hard disk, a read-only memory (read-only memory, ROM), a random
access memory (random access memory, RAM), a magnetic disk, or an optical disc that
can store program code.
[0128] The foregoing descriptions are merely specific implementations of the present invention,
but are not intended to limit the protection scope of the present invention. Any variation
or replacement readily figured out by a person skilled in the art within the technical
scope disclosed in the present invention shall fall within the protection scope of
the present invention. Therefore, the protection scope of the present invention should
be subject to the protection scope of the claims.
1. A wake-up packet sending method, comprising:
obtaining, by a sending apparatus, a wake-up packet, WUP, wherein the WUP comprises
a preamble sequence, and
the preamble sequence comprises N consecutive first sequences S, wherein N is an integer
greater than or equal to 2 (for example, [S S]), and the N consecutive first sequences
S are used to indicate that a data rate used for the WUP is a first value; or the
preamble sequence comprises a second sequence M, wherein the second sequence M is
used to indicate that a data rate used for the WUP is a second value; and the second
sequence M and the first sequence S are in a bit logical negation relationship; and
sending the WUP, to wake up a main receiver of a receiving apparatus.
2. The method according to claim 1, wherein
the first sequence S has a length of 32 bits, and is one of sequences listed in Table
1.
3. The method according to claim 2, wherein
a time of each bit in the first sequence S is 2 microseconds.
4. The method according to claim 1, wherein
the first sequence S has a length of 16 bits, and is one of sequences listed in Table
2.
5. The method according to claim 4, wherein
a time of each bit in the first sequence S is 4 microseconds.
6. A wake-up packet receiving method, comprising:
receiving, by a receiving apparatus, a wake-up packet, WUP;
performing correlation processing on a sequence in the received WUP and a third sequence
T stored in the receiving apparatus, and determining that the sequence in the WUP
is a wake-up preamble sequence based on a correlation processing result; and
determining that the preamble sequence comprises N consecutive first sequences S,
that is, [S S], or that the preamble sequence comprises a second sequence M, wherein
the N consecutive first sequences S are used to indicate that a data rate used for
the WUP is a first value, and the second sequence M is used to indicate that a data
rate used for the WUP is a second value; the second sequence M and the first sequence
are in a bit logical negation relationship; and N is an integer greater than or equal
to 2, wherein T meets one of the following relationships: T=S∗2-1, T=[N consecutive Ss]∗2-1, T=M∗2 - 1, or T=[N consecutive Ms]∗2-1.
7. The method according to claim 6, wherein
the determining that the sequence in the data packet is a wake-up preamble sequence
based on a correlation processing result comprises:
when an absolute value of either a maximum value or a minimum value of the correlation
result is greater than or equal to a threshold, determining that the wake-up preamble
sequence is correctly detected; and determining whether the N consecutive first sequences
S or the second sequence M are or is received by determining a plus/minus sign of
a value whose absolute value is the maximum value.
8. The method according to claim 6 or 7, wherein
the first sequence S has a length of 32 bits, and is one of sequences in Table 1.
9. The method according to claim 8, wherein
a time of each bit in the first sequence S is 2 microseconds.
10. The method according to claim 6 or 7, wherein
the first sequence S has a length of 16 bits, and is one of sequences in Table 2.
11. The method according to claim 10, wherein
a time of each bit in the first sequence S is 4 microseconds.
12. A wake-up packet sending apparatus, comprising:
an obtaining module, configured to obtain a wake-up packet (WUP, Wake-up Packet),
wherein the WUP comprises a preamble sequence, and the preamble sequence comprises
N consecutive first sequences S, wherein the N consecutive first sequences S are used
to indicate that a data rate used for the WUP is a first value; or the preamble sequence
comprises a second sequence M, wherein the second sequence M is used to indicate that
a data rate used for the WUP is a second value; and the second sequence M and the
first sequence S are in a bit logical negation relationship, and the first sequence
S is one of sequences in various implementations; and
a sending module, configured to send the WUP, to wake up a main receiver of a receiving
apparatus.
13. The sending apparatus according to claim 12, wherein
the first sequence S has a length of 32 bits, and is one of sequences listed in Table
1.
14. The sending apparatus according to claim 13, wherein
a time of each bit in the first sequence S is 2 microseconds.
15. The sending apparatus according to claim 12, wherein
the first sequence S has a length of 16 bits, and is one of sequences listed in Table
2.
16. The sending apparatus according to claim 15, wherein
a time of each bit in the first sequence S is 4 microseconds.
17. A wake-up packet receiving apparatus, comprising:
a receiving module, configured to receive a data packet; and
a correlation module, configured to:
perform correlation processing on a sequence in the received data packet and a third
sequence T stored in the receiving apparatus, and determine that the sequence in the
data packet is a wake-up preamble sequence based on a correlation processing result,
and
determine that the preamble sequence comprises N consecutive first sequences S, or
that the preamble sequence comprises a second sequence M, wherein the N consecutive
first sequences S are used to indicate that a data rate used for the WUP is a first
value, and the second sequence M is used to indicate that a data rate used for the
WUP is a second value; the second sequence M and the first sequence are in a bit logical
negation relationship; and N is an integer greater than or equal to 2, wherein T meets
one of the following relationships: T=S∗2-1, T=[N consecutive Ss]∗2-1, T=M∗2-1, or T=[N consecutive Ms]∗2-1.
18. The receiving apparatus according to claim 17, wherein
the correlation module is further configured to:
when an absolute value of either a maximum value or a minimum value of the correlation
result is greater than or equal to a threshold, determining that the wake-up preamble
sequence is correctly detected; and determining whether the N consecutive first sequences
S or the second sequence M are or is received by determining a plus/minus sign of
a value whose absolute value is the maximum value.
19. The receiving apparatus according to claim 17 or 18, wherein
the first sequence S has a length of 32 bits, and is one of sequences listed in Table
1.
20. The receiving apparatus according to claim 19, wherein
a time of each bit in the first sequence S is 2 microseconds.
21. The receiving apparatus according to claim 17 or 18, wherein
the first sequence S has a length of 16 bits, and is one of sequences listed in Table
2.
22. The receiving apparatus according to claim 21, wherein
a time of each bit in the first sequence S is 4 microseconds.