Information frame for network communication and information frame analysis method and device
By employing a preamble and sequence code information frame structure in wireless frequency modulation communication, the information frame parsing process is simplified, the problems of complexity and high bit error rate are solved, and efficient and accurate information frame parsing is achieved.
Patent Information
- Application Number
- CN202610049624.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-15
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2046-01-15
AI Technical Summary
In wireless frequency modulation communication, the parsing process of information frames is complex and inefficient, and is easily affected by time and frequency offsets, resulting in inaccurate parsing results and a high error rate.
An information frame structure containing preamble and sequence code information is adopted. The preamble is used to identify the information frame, and the sequence code information determines the device address through code elements arranged according to a preset change pattern, which simplifies the parsing process and reduces the bit error rate.
It significantly shortens the length of information frames and parsing time, improves parsing efficiency and accuracy, and reduces power consumption and bit error rate.
Smart Images

Figure CN121547148A_ABST
Abstract
Description
Technical Field
[0001] This disclosure generally relates to the Internet of Things (IoT) field, and particularly to an information frame, information frame parsing method, and apparatus for network communication. Background Technology
[0002] In the field of frequency modulation (FM) communication, devices typically send or receive information frames to monitor their operational status and transmit valid information or data. Whether sending or receiving, the device needs to fully parse the data within the information frame (e.g., a single bit of information). For example, at the transmitting end, the device performs cyclic redundancy check (CRC) processing, Hamming encoding, bit whitening, interleaving, and Gray mapping on the information frame. At the receiving end, the device performs the reverse process on the received information frame, including de-Gray mapping, deinterleaving, dewhitening, de-Hamming encoding, and CRC processing. However, this process is complex, inefficient, and prone to errors in parsing codewords within the information frame, leading to inaccurate results and a high error rate. Summary of the Invention
[0003] To address the above problems, in a first aspect of this disclosure, an information frame for network communication is provided, comprising: preamble information for identifying the information frame; and sequence code information, wherein the sequence code information includes a mapping table of multiple sequence codes corresponding to multiple device addresses, each sequence code including multiple code elements, the multiple code elements being arranged according to a preset change rule, and different sequence codes corresponding to different preset encoding methods; wherein the mapping table is configured to, when a device detects the preamble information, determine the relationship between the code elements in the sequence code according to the preset change rule, and determine the address of the device itself according to the relationship between the code elements.
[0004] In a second aspect of this disclosure, an information frame parsing method is provided. The method includes receiving an information frame, the information frame including sequence code information, wherein the sequence code information includes a mapping table of multiple sequence codes and multiple device addresses; when a preamble information is detected in the information frame, the sequence code information is decoded to determine the address of the device itself.
[0005] In a third aspect of this disclosure, an information frame parsing apparatus is provided, comprising an information frame receiving module configured to receive an information frame, the information frame including sequence code information, wherein the sequence code information includes a mapping table of multiple sequence codes and multiple device addresses; and a sequence code information decoding module configured to decode the sequence code information to determine the address of the device itself when a preamble information is detected in the information frame.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided having one or more computer instructions stored thereon, wherein the one or more computer instructions are executed by a processor to implement the method according to a second aspect of this disclosure.
[0007] It should be understood that the content described in this summary section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 A schematic diagram is shown of an example environment in which embodiments of the present disclosure may be implemented; Figure 2 A schematic diagram of the structure of an information frame for network communication according to some embodiments of the present disclosure is shown; Figure 3 A schematic diagram of the structure of an information frame for network communication according to other embodiments of the present disclosure is shown; Figure 4 A flowchart of an information frame parsing method according to some embodiments of the present disclosure is shown; Figure 5 A simulation comparison graph of packet error rates according to some embodiments of the present disclosure is shown; Figure 6 A block diagram schematic of an information frame parsing apparatus according to some embodiments of the present disclosure is shown; Figure 7 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0009] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0010] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0011] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0012] For ease of description, several concepts and terms are first defined here.
[0013] As used in this disclosure, a "symbol" (or code) refers to a basic signal unit that carries information, i.e., the numerical value demodulated from each symbol. A symbol can represent one bit or more bits.
[0014] The “preamble information” used in this disclosure, also known as a variable preamble, is used to provide signal detection, set receiver gain, and synchronize frequency and sampling time.
[0015] As used in this disclosure, "demodulation" refers to the receiving end converting the signal on the carrier wave into a digital signal to recover the original data.
[0016] As used in this disclosure, "decoding" refers to the receiving end restoring data according to rules, which may include decompression, error correction, etc.
[0017] As used in this disclosure, "time skew" refers to the relative delay that occurs during signal transmission. Time skew can lead to an increase in bit error rate and a decrease in system performance.
[0018] As used in this disclosure, "frequency offset" refers to the deviation between the actual frequency and the reference or nominal frequency. Frequency offset leads to an increase in the bit error rate and a decrease in system performance.
[0019] In IoT communication, multiple devices (such as gateways and multiple terminal devices) frequently transmit signals, including information frames. Traditional information frames are relatively long, storing the addresses of the terminal devices in the payload for transmission. Furthermore, both the transmitting and receiving ends require a complex and tedious parsing process for the entire information frame, resulting in long demodulation times and low efficiency. In addition, information frame transmission is susceptible to time and frequency offsets, leading to degraded demodulation performance and inaccurate data with a high error rate.
[0020] Therefore, this disclosure provides an information frame for network communication. The information frame includes preamble information for identifying information frame sequence code information. The sequence code information includes a mapping table corresponding to multiple sequence codes and multiple device addresses. Each sequence code includes multiple code elements, which are arranged according to a preset change rule. Different sequence codes correspond to different preset change rules. The mapping table is configured so that when a device detects the preamble information, it determines the relationship between the code elements in the sequence code according to the preset change rule, and determines the device's own address based on the relationship between the code elements. In this way, the length of the information frame is significantly shortened, the transmission and reception time of the information frame is reduced, and the transmission and reception power is improved. The demodulation process of the information frame is simplified, the demodulation time is shortened, and the demodulation efficiency and the accuracy of the mediated data are improved.
[0021] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0022] First see Figure 1 It illustrates a schematic diagram of an example environment in which embodiments of the present disclosure may be implemented. For example... Figure 1 As shown, in environment 100, environment 100 may include communication device 110 and first device 120-1, second device 120-2, ... Nth device 120-N. For example, communication device 110 may be a gateway device, and first device 120-1, second device 120-2, ... Nth device 120-N may be terminal devices, transmitting information frames between the gateway device and multiple terminal devices. In some embodiments, communication device 110 may send information frames without payload information to first device 120-1, second device 120-2, ... Nth device 120-N. These terminal devices receive the information frames, parse them to determine their own addresses, indicating that the terminal device is in a working state. In some embodiments, communication device 110 may also send information frames carrying payload information to first device 120-1, second device 120-2, ... Nth device 120-N. These terminal devices receive the information frames, parse them to determine their own addresses and the data in the payload information. This will be described in detail below.
[0023] It should be understood that the structure and function of environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0024] Figure 2 A schematic diagram of the structure of an information frame for network communication according to some embodiments of the present disclosure is shown. The following is in conjunction with... Figure 1 and Figure 2 This explains the structure of information frames and their transmission between devices.
[0025] like Figure 2 As shown, an information frame for network communication is provided. The first information frame 200 includes preamble information 210 and sequence code information 220. The preamble information 210 is used to identify the information frame. The sequence code information 220 includes a mapping table corresponding to multiple sequence codes and multiple device addresses. Each sequence code includes multiple code elements, which are arranged according to a preset change rule. Different sequence codes correspond to different preset change rules. The mapping table is configured so that when a device detects the preamble information, it determines the relationship between the code elements in the sequence code according to the preset change rule, and determines the device's own address based on the relationship between the code elements.
[0026] In some embodiments, the sequence code information 220 includes multiple symbols. The receiving device can demodulate each symbol of the sequence code information 220 and perform decoding operations on the relationship between adjacent symbols. The relationship between adjacent symbols is, for example, the relative value of the preceding and following symbols, such as the difference between the preceding and following symbols.
[0027] For example, such as Figure 1 As shown, communication device 110, acting as a gateway device, sends information frames to terminal devices such as first device 120-1, second device 120-2, ... Nth device 120-N. After receiving the information frames, first device 120-1, second device 120-2, ... Nth device 120-N detects the presence of preamble information 210 and then checks the sequence code information. The sequence code information contains a mapping table, which stores multiple sequence codes and multiple device addresses. For example, the first sequence code corresponds to the address of first device 120-1, the second sequence code corresponds to the address of first device 120-1, ... the Nth sequence code corresponds to the address of Nth device 120-N. Each sequence code includes multiple code elements, which are arranged according to a preset change rule. Different sequence codes correspond to different preset change rules. For example, the first sequence code includes multiple code elements 1, 2, 3, 4, and 5, where the difference between any two adjacent code elements is equal and equal to 1. The second sequence code includes multiple code elements of 2, 4, 6, 8, 10... The difference between any two adjacent code elements is equal, and the difference is 2. Similarly, the Nth sequence code includes multiple code elements, and the difference between any two adjacent code elements is equal, and the difference is N.
[0028] The first device 120-1, the second device 120-2, ..., the Nth device 120-N determine the relationship between the code elements in the sequence code according to a preset change rule (the difference between the preceding code and the following code is equal) (e.g., the difference is 1, 2...N), and determine the address of the device itself based on the relationship between the code elements. For example, the first device 120-1 only detects the difference between the preceding code and the following code, and the difference is 1, so the address of the first device 120-1 found in the mapping table is "1". Similarly, the second device 120-2 only detects the difference between the preceding code and the following code, and the difference is 2, so the address of the second device 120-2 found in the mapping table is "2"... and so on, the Nth device 120-N only detects the difference between the preceding code and the following code, and the difference is N, so the address of the Nth device 120-N found in the mapping table is "N".
[0029] In some embodiments, the first variation rule, the second variation rule, ... the Nth variation rule all include an arithmetic sequence function; wherein, multiple code elements in the first sequence code are arranged according to a first arithmetic sequence, the first arithmetic sequence indicating that the difference between adjacent preceding and following codes is a first value; multiple code elements in the second sequence code are arranged according to a second arithmetic sequence, the second arithmetic sequence indicating that the difference between adjacent preceding and following codes is a second value; ... multiple code elements in the Nth sequence code are arranged according to an Nth arithmetic sequence, the Nth arithmetic sequence indicating that the difference between adjacent preceding and following codes is an Nth value. The mapping table is configured to determine the corresponding device address based on the first value, the second value, ... the Nth value. In some embodiments, the first value, the second value, ... the Nth value is an arithmetic sequence.
[0030] For example, the first, second, ... Nth variation patterns are different arithmetic sequence functions. In other words, the difference between adjacent prefixes and suffixes in the first, second, ... Nth arithmetic sequence is an arithmetic sequence. For instance, the difference between adjacent prefixes and suffixes in the first arithmetic sequence is the first value "1", and the first sequence codes are 1, 2, 3, 4. The difference between adjacent prefixes and suffixes in the second arithmetic sequence is the second value "2", and the second sequence codes are 1, 3, 5, 7. The difference between adjacent prefixes and suffixes in the third arithmetic sequence is the second value "3", and the third sequence codes are 1, 4, 7, 10. And so on, the difference between adjacent prefixes and suffixes in the Nth arithmetic sequence is the Nth value "N". That is, the first value, the second value, ... the Nth value is an arithmetic sequence 1, 2, 3, ... N.
[0031] In some embodiments, the first value, the second value, ... the Nth value form a geometric sequence.
[0032] Continuing with the example above, the differences between adjacent prefixes and suffixes in the first, second, ..., Nth arithmetic sequences form geometric sequences. For example, assuming a common ratio of 2, the difference between adjacent prefixes and suffixes in the first arithmetic sequence is the first value "1", and the first sequence number is 1, 2, 3, 4. The difference between adjacent prefixes and suffixes in the second arithmetic sequence is the second value "2", and the second sequence number is 1, 3, 5, 7. The difference between adjacent prefixes and suffixes in the third arithmetic sequence is the second value "4", and the third sequence number is 1, 5, 9, 13. That is, the first, second, and third values form a geometric sequence of 1, 2, 4.
[0033] It should be understood that the above-listed pre-defined change patterns are merely examples, and other pre-defined change patterns are also possible. The sequence code can arrange multiple code elements according to any suitable function. For example, the first sequence code can arrange multiple code elements according to an arithmetic sequence, the second sequence code can arrange multiple code elements according to a geometric sequence, the third sequence code can arrange multiple code elements according to a linearly increasing function, and so on. This disclosure does not impose specific limitations in this regard.
[0034] In some embodiments, the information frame may further include payload information, which includes data for storing network communication; a frame start symbol for identifying the start point of the payload information; and a frame end symbol for identifying the end point of the payload information; wherein the length of the payload information is determined based on the frame start symbol and the frame end symbol.
[0035] For example, Figure 3 A schematic diagram of the structure of an information frame for network communication according to other embodiments of this disclosure is shown. For example... Figure 3 As shown, Figure 3 The second information frame 300 includes preamble information 310, sequence code information 320, frame start symbol 330, payload information 340, and frame end symbol 350. That is, the frame start symbol 330, payload information 340, and frame end symbol 350 are placed as an additional frame after the preamble information 310 and sequence code information 320. The payload information 340 is identified using the frame start symbol 330. The frame start symbol 330 may include two up-chirp signals and two down-chirp signals. The up-chirp signals refer to chirps with a positive slope (i.e., increasing frequency) and down-chirp signals refer to chirps with a negative slope (i.e., decreasing frequency). The payload information 340 follows the frame start symbol 330, and its length can be arbitrary. The frame end symbol 350 follows the payload information 320.
[0036] The above describes two information frame structures. Firstly, in scenarios where payload information does not need to be transmitted, the transmitting device can choose to send the first information frame 200; in scenarios where payload information needs to be transmitted, the transmitting device can choose to send the second information frame 300. The lengths of the first information frame 200 and the second information frame 300 are significantly shortened, reducing the transmission time, sending time, and receiving time of the information frames. Since the receiving device only needs to detect the sequence code information after receiving the first information frame 200 to determine the device address and wake up the terminal device, in scenarios where payload information does not need to be transmitted, the terminal device only needs to detect the relationship between the symbols in the sequence code (e.g., the relative values between adjacent symbols) to determine the device address. This eliminates the need for pre-processing operations such as encoding / decoding, CRC, interleaving, and Hamming encoding of the entire information frame, thus shortening the information frame parsing time, improving parsing efficiency, reducing transmission and reception power, and lowering power consumption. In scenarios where payload information needs to be transmitted, in addition to detecting the relationship between symbols in the sequence code to determine the device address, the terminal device also performs some preliminary operations such as encoding and decoding, CRC check, interleaving, and Hamming encoding on the payload information. When demodulating the payload information, each symbol in the payload information needs to be demodulated, and the absolute value of each code obtained needs to be decoded.
[0037] Secondly, information frames are susceptible to time and frequency offsets during transmission. For example, if the sequence code in the information frame is 8, 9, 10, 11, 12 before transmission, after being affected by time and frequency offsets during transmission, the sequence code arriving at the receiving end becomes 9, 10, 11, 12, 13. This means that the receiving terminal device generates bit errors when demodulating the sequence code, leading to errors in the demodulated address. The information frame provided in this disclosure only requires the receiving device to detect the relationship between the symbols in the sequence code; it does not need to parse the entire sequence code. Since the relationship between the symbols does not change due to parsing errors, determining the device's address based on the symbol relationship reduces the bit error rate and improves the accuracy of the demodulation result.
[0038] Thirdly, in scenarios requiring information transmission, traditional frame structures necessitate the addition of a frame header to convey payload information such as length and other details. At the transmitting or receiving end, the frame header also requires encoding / decoding, CRC, interleaving, Hamming encoding, and other preliminary operations, resulting in complex processes and high power consumption. The simplified information frame structure provided in this disclosure, compared to traditional information frame structures, eliminates the frame header and synchronization word. When parsing the sequence code information in the information frame, both the transmitting and receiving devices do not need to perform CRC checks, encoding / decoding, whitening, interleaving, Gray mapping, and other processing steps, thus shortening the parsing time, improving parsing efficiency, and reducing power consumption.
[0039] Figure 4 A flowchart of an information frame parsing method according to some embodiments of the present disclosure is shown.
[0040] In step 410, an information frame is received. The information frame includes sequence code information, wherein the sequence code information includes a mapping table corresponding to multiple sequence codes and multiple device addresses. For example, after the transmitting device sends the information frame, the terminal device receives the information frame.
[0041] In step 420, the presence of preamble information is detected in the information frame. For example, the terminal device detects whether preamble information exists in the information frame.
[0042] In step 430, when a preamble is detected in the information frame, the sequence code is decoded to determine the address of the device itself, thereby waking up the terminal device and notifying the transmitting device that the terminal device is in working state.
[0043] In some embodiments, the terminal device detects multiple sequence codes from a mapping table, determines the relationship between the code elements in each sequence code according to a preset change rule, and determines the address of the device itself according to the relationship between the code elements in each sequence code.
[0044] In step 440, a frame start character is checked in the information frame. For example, after determining that the currently resolved device address is correct, the terminal device checks the information frame for a frame start character to confirm whether there is any additional payload information.
[0045] In step 450, if a start-of-frame (FOB) character is present, the payload information is decoded based on the FOB character until the end-of-frame (NOT) character is received. For example, the terminal device completes the parsing of the entire payload information by performing a series of operations, such as decoding and verifying the payload information based on the FOB character, until the end-of-frame (NOT) character is received.
[0046] In some embodiments, the payload information includes payload symbols, each symbol of the payload information is demodulated, the absolute value of each decoded code is decoded, and subsequent processing operations such as CRC check, whitening, interleaving, and Gray mapping are performed.
[0047] The following example, using a bandwidth of 125kbps, a spreading factor of 9, and a 12-symbol preamble to transmit one byte of payload information, compares the transmission time of a traditional frame structure and the frame structure of this embodiment (e.g., the second information frame 300). Because the device address is transmitted within the payload information in the traditional frame structure, and a series of complex operations such as encoding and interleaving are required, the number of symbols to be transmitted increases. For one byte of payload, at a code rate of 4 / 5, transmission requires 8 symbols: 2 for the synchronization word, 2.25 for the start-of-frame symbol, and 8 for the frame header. The transmission time for one symbol is: As shown in Table 1 below, comparing traditional information frames with frame headers, traditional information frames without frame headers, and information frames of this disclosure, the length of information frames of this disclosure is significantly reduced, and the transmission time (ms) at a bandwidth of 125k is significantly reduced.
[0048] Table 1
[0049] Figure 5 Simulation comparison graphs of packet error rates according to some embodiments of this disclosure are shown. For example... Figure 5 As shown, the horizontal axis represents the signal-to-noise ratio (SNR), and the vertical axis represents the packet error rate (PER). PER (Packet Error Rate) is the ratio of the number of erroneous packets to the total number of packets transmitted during data transmission; it is an important indicator of network transmission reliability. A higher bit error rate leads to a higher packet error rate because if a bit in a data packet is incorrect, the entire packet may be discarded. Figure 5 As shown, the red curve represents the signal-to-noise ratio change of PER during transmission of the traditional frame structure, while the blue curve represents the signal-to-noise ratio change of PER during transmission of the frame structure of this disclosure. The blue curve becomes 0 at a signal-to-noise ratio of -13, indicating that the frame structure of this disclosure generates a lower packet error rate and better performance during transmission.
[0050] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 6 A block diagram schematic of an information frame parsing apparatus according to some embodiments of the present disclosure is shown.
[0051] like Figure 6 As shown, the device 600 includes: an information frame receiving module 610, configured to receive information frames, the information frames including sequence code information, wherein the sequence code information includes a mapping table of multiple sequence codes and multiple device addresses; and a sequence code information decoding module 620, configured to decode the sequence code information to determine the address of the device itself when a preamble information is detected in the information frame.
[0052] In some embodiments, each sequence code in the mapping table includes multiple code elements, which are arranged according to a preset change rule. Different sequence codes correspond to different preset change rules. The sequence code information decoding module 620 is also configured to detect multiple sequence codes from the mapping table. For each sequence code, the relationship between the code elements in the sequence code is determined according to the preset change rule. The address of the device itself is determined according to the relationship between the code elements in each sequence code.
[0053] In some embodiments, the apparatus 600 further includes: a payload information parsing module, configured to search for whether a frame start character exists in the information frame; if a frame start character exists, to decode the payload information based on the frame start character until a frame end character is received.
[0054] In some embodiments, the payload information parsing module is further configured to demodulate each symbol of the payload information and decode the absolute value of each decoded code.
[0055] Figure 7 A block diagram of an electronic device / server 700 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 7 The electronic device / server 700 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein.
[0056] like Figure 7 As shown, the electronic device / server 700 is in the form of a general-purpose electronic device. Components of the electronic device / server 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage devices 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. The processing unit 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device / server 700.
[0057] Electronic device / server 700 typically includes multiple computer storage media. Such media can be any available media accessible to electronic device / server 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 730 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data (e.g., training data for training) and can be accessed within electronic device / server 700.
[0058] The electronic device / server 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 7As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0059] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device / server 700 can be implemented as a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device / server 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0060] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device / server 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device / server 700, or with any device (e.g., network card, modem, etc.) that enables electronic device / server 700 to communicate with one or more other electronic devices. Such communication can be performed via input / output (I / O) interface (not shown).
[0061] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores one or more computer instructions, wherein one or more computer instructions are executed by a processor to implement the methods described above.
[0062] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0063] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0064] Various implementations of this disclosure have been described above. The foregoing description is exemplary and not exhaustive, nor is it limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the implementations disclosed herein.
Claims
1. An information frame for network communication, characterized in that, The information frame includes: Preamble information is used to identify the information frame; The sequence code information includes a mapping table between multiple sequence codes and multiple device addresses. Each sequence code includes multiple code elements, which are arranged according to a preset change rule. Different sequence codes correspond to different preset change rules. The mapping table is configured to determine the relationship between symbols in the sequence code according to the preset change rule when the device detects the preamble information, and to determine the address of the device itself according to the relationship between the symbols.
2. The information frame for network communication according to claim 1, characterized in that, The mapping table includes a first sequence code, a second sequence code, ... an Nth sequence code, and corresponding first addresses, second addresses, ... an Nth address, wherein the first sequence code, the second sequence code, ... the Nth sequence code respectively correspond to a first change rule, a second change rule, ... an Nth change rule; The mapping table is configured to determine the relationship between adjacent code elements or the relationship between code elements with a preset interval length in the first sequence code, the second sequence code, ... the Nth sequence code according to the first change rule, the second change rule, ... the Nth change rule.
3. The information frame for network communication according to claim 2, characterized in that, The first variation pattern, the second variation pattern, ... the Nth variation pattern all include arithmetic sequence functions; In this sequence, the multiple code elements are arranged according to a first arithmetic sequence, and the first arithmetic sequence indicates that the difference between adjacent preceding and following codes is a first value. The multiple code elements in the second sequence code are arranged according to a second arithmetic progression, whereby the difference between adjacent preceding and following code elements is a second numerical value;... The multiple code elements in the Nth sequence code are arranged according to the Nth arithmetic sequence, and the Nth arithmetic sequence indicates that the difference between adjacent preceding and following codes is the Nth value; The mapping table is configured to determine the corresponding device address based on the first value, the second value, ... the Nth value.
4. The information frame for network communication according to claim 3, characterized in that, The first value, the second value, ... the Nth value form an arithmetic sequence.
5. The information frame for network communication according to claim 3, characterized in that, The first value, the second value, ... the Nth value form a geometric sequence.
6. The information frame for network communication according to claim 1, characterized in that, Also includes: Load information, which includes data for storing network communication; A frame start character is used to identify the starting point of the payload information; A frame end marker is used to identify the end point of the payload information; The length of the payload information is determined based on the frame start symbol and the frame end symbol.
7. A method for parsing information frames, characterized in that, The method includes: Receive an information frame, the information frame including sequence code information, wherein the sequence code information includes a mapping table of multiple sequence codes and multiple device addresses; When a preamble is detected in the information frame, the sequence code is decoded to determine the address of the device itself.
8. The information frame parsing method according to claim 7, characterized in that, The information frame is the information frame as described in any one of claims 1 to 6.
9. The information frame parsing method according to claim 8, characterized in that, Each sequence code in the mapping table includes multiple code elements, which are arranged according to a preset change rule. Different sequence codes correspond to different preset change rules. The steps of decoding the sequence code information to determine the address of the device itself include: Detect the plurality of sequence codes from the mapping table; For each sequence code, the relationship between the code elements in the sequence code is determined according to the preset change rule; The address of the device itself is determined based on the relationship between the symbols in each sequence code.
10. The information frame parsing method according to claim 9, characterized in that, Also includes: Check if a frame start character exists in the information frame; If the start-of-frame symbol is present, the payload information is decoded based on the start-of-frame symbol until the end-of-frame symbol is received.
11. The information frame parsing method according to claim 10, characterized in that, The load information includes load symbols, and the steps for decoding the load information include: Demodulate each symbol of the payload information and decode the absolute value of each decoded symbol.
12. An information frame parsing device, characterized in that, The device includes: The information frame receiving module is configured to receive information frames, the information frames including sequence code information, wherein the sequence code information includes a mapping table of multiple sequence codes and multiple device addresses; The sequence code information decoding module is configured to decode the sequence code information to determine the address of the device itself when a preamble information is detected in the information frame.
13. A computer-readable storage medium, characterized in that, It stores one or more computer instructions, wherein the one or more computer instructions are executed by a processor to implement the method according to any one of claims 7 to 11.
Citation Information
Patent Citations
Data communication method and apparatus thereof
CN106685585A
Bus-based coding method and system, storage medium and equipment
CN115422115A
Equipment awakening method and device, equipment, readable storage medium and program product
CN118828909A
Downlink wake-up receiver implementation method and system based on chirp modulation
CN121098456A
Wireless communication device, system and method to provide an operational cyclic prefix length to decode a wake-up packet
US20180288706A1