Wireless keyboard pairing switching method and device based on polar code

通过在无线键盘配对切换中采用基于polar码的信道估计、极化码编码、旋转星座技术和波束成形优化方法,解决了无线键盘设备配对和切换复杂性和兼容性问题,实现了低延时、 High -reliability Multi -device scenarios use effect.

CN119356536AActive Publication Date: 2025-01-24WUHAN PANSHENG DINGCHENG TECH CO LTD

Patent Information

Application Number
CN202411407540.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-01-24
Estimated Expiration
2044-10-10

AI Technical Summary

Technical Problem

Existing wireless keyboards are complex and inconvenient in the process of device pairing and switching, and due to the different protocols and standards of different operating systems and device manufacturers, compatibility issues are caused, affecting the user experience and scope of application.

Method used

Using the Polar code -based wireless keyboard pairing method, through channel estimation and power distribution optimization system spectrum use, use polarization code encoding and joint decoding to improve data transmission reliability, use rotating constellation technology to reduce equipment switching interference, and optimize through beam forming optimization Signal transmission efficiency.

Benefits of technology

Implementing low-latency, high-reliability wireless keyboard pairing and switching in complex multi-device scenarios improves the system's spectrum utilization efficiency and data transmission reliability, and reduces interference and delays in device switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356536A_ABST
    Figure CN119356536A_ABST
Patent Text Reader

Abstract

The invention relates to a wireless keyboard pairing switching method and device based on a polar code, and the method comprises the steps: carrying out the channel estimation of each device connected with a wireless keyboard, and obtaining the channel gain of each device; based on the channel gain of each device, performing power distribution on each device in a preset power spectrum pair through non-orthogonal multiple access; coding the sending signal of each device through a polar code, and carrying out joint decoding on the received signals of the plurality of devices; in response to an equipment switching request of a user, separating equipment before and after switching through a constellation rotating method; the beam of each device is optimized based on the real-time channel estimation information. According to the method, dynamic channel distribution, polarization code and rotating constellation technologies are combined, interference and time delay of the wireless keyboard in switching are reduced, and reliability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of wireless communication and keyboard, and in particular relates to a method and device for pairing and switching wireless keyboards based on polar codes. Background Art

[0002] With the popularity of multi-device usage scenarios, wireless keyboards, as a convenient input device, have been widely used in multiple devices such as smartphones, tablets, and laptops. However, in actual use, users often encounter complex problems in device pairing and switching.

[0003] The traditional wireless keyboard pairing process requires manual operation to connect to each device, and when the user needs to frequently switch between multiple devices, repeated disconnection and reconnection operations are often required, which increases the complexity of use and affects the user experience.

[0004] In addition, since different operating systems and device manufacturers use different protocols and standards, the compatibility issues of wireless keyboards between different devices have become increasingly prominent, further limiting their scope of application. When users switch operating systems or devices, they often encounter problems such as keyboard input delays, invalid function keys, or unstable connections. This not only affects the convenience of using the keyboard, but also limits the widespread application of wireless keyboards in multiple devices and scenarios. Summary of the invention

[0005] In order to improve the reliability of the wireless keyboard and reduce the delay, a first aspect of the present invention provides a wireless keyboard pairing switching method based on polar codes, comprising:

[0006] Perform channel estimation on each device connected to the wireless keyboard to obtain the channel gain of each device;

[0007] Based on the channel gain of each device, power is allocated to each device in a preset power spectrum through non-orthogonal multiple access;

[0008] The transmitted signal of each device is encoded by polar code, and the received signals of multiple devices are jointly decoded;

[0009] In response to the user's device switching request, the devices before and after the switching are separated by rotating the constellation method; based on the real-time channel estimation information, the beam of each device is optimized.

[0010] In some embodiments of the present invention, the power allocation to each device in a preset power spectrum pair through non-orthogonal multiple access based on the channel gain of each device includes: constructing an objective function based on the real-time allocated power, channel gain and noise power of each device; based on the objective function, power allocation to each device in a preset power spectrum pair through non-orthogonal multiple access.

[0011] In some embodiments of the present invention, encoding the transmission signal of each device by polar code includes: before sending the signal, using polar code and channel polarization, performing reliability judgment on the bits in the data, and transmitting the reliable bits according to the judgment result; and adjusting the block length of the polar code according to the channel state of the device.

[0012] In some embodiments of the present invention, the separation of the devices before and after the switching by a rotating constellation method in response to a user's device switching request includes: modulating the signals of the devices before and after the switching in response to the user's device switching request; representing the modulated signal and the preset rotation angle by a constellation diagram, and performing phase rotation on the signal of each device.

[0013] Further, the phase rotation is expressed as:

[0014] X′=X·e jθ

[0015] Where X is the modulation signal sent by the device, X' is the modulation signal after rotation; θ is the device-specific rotation angle, and j is the imaginary unit.

[0016] In the above embodiment, the optimizing the beam of each device based on the real-time channel estimation information includes: determining the beamforming matrix corresponding to each device based on the real-time channel estimation information; and adjusting the beam direction of each device through the beamforming matrix.

[0017] A second aspect of the present invention provides a wireless keyboard pairing switching device based on polar codes, comprising:

[0018] The allocation module is used to perform channel estimation on each device connected to the wireless keyboard and obtain the channel gain of each device; based on the channel gain of each device, power is allocated to each device in a preset power spectrum through non-orthogonal multiple access;

[0019] The encoding and decoding module is used to encode the transmission signal of each device through polar code and jointly decode the signals received from multiple devices;

[0020] A separation module, used to respond to a user's device switching request and separate the devices before and after the switching by rotating the constellation method;

[0021] The optimization module is used to optimize the beam of each device based on real-time channel estimation information.

[0022] In a third aspect of the present invention, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the polar code-based wireless keyboard pairing switching method provided in the first aspect of the present invention.

[0023] In a fourth aspect of the present invention, a computer-readable medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the polar code-based wireless keyboard pairing switching method provided in the first aspect of the present invention is implemented.

[0024] The beneficial effects of the present invention are:

[0025] The present invention optimizes the spectrum utilization of the system through channel estimation and power allocation, while polarization code encoding and joint decoding improve the reliability of data transmission; then the rotation constellation technology reduces interference in device switching, and beamforming optimization improves the transmission efficiency of the signal. Through the combination of these technologies, the system can maintain low latency and high reliability in complex multi-device scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a basic flow chart of a polar code-based wireless keyboard pairing switching method in some embodiments of the present invention;

[0027] Figure 2 It is a schematic diagram of the principle of a wireless keyboard pairing switching method based on polar codes in some embodiments of the present invention;

[0028] Figure 3 It is a structural schematic diagram of a wireless keyboard pairing switching device based on polar code in some embodiments of the present invention;

[0029] Figure 4 It is a schematic diagram of the structure of an electronic device in some embodiments of the present invention. DETAILED DESCRIPTION

[0030] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0031] refer to Figure 1 and Figure 2 In a first aspect of the present invention, a method for pairing and switching a wireless keyboard based on polar codes is provided, comprising:

[0032] S100. Perform channel estimation on each device connected to the wireless keyboard to obtain the channel gain of each device; based on the channel gain of each device, allocate power to each device in a preset power spectrum through non-orthogonal multiple access;

[0033] S200. Encode the transmitted signal of each device by polar code, and jointly decode the received signals of multiple devices;

[0034] S300. In response to the user's device switching request, the devices before and after the switching are separated by rotating the constellation method;

[0035] S400. Optimize the beam of each device based on the real-time channel estimation information.

[0036] It can be understood that through channel estimation, the signal propagation path, attenuation and interference level of each device can be understood, and the channel gain of each device can be obtained. Channel gain is an important indicator to measure the strength of device signals and determines the power allocation required for each device. Channel estimation is usually achieved by monitoring the received signal strength (RSSI) or other wireless signal parameters of the device.

[0037] In step S100 of some embodiments of the present invention, allocating power to each device in a preset power spectrum by non-orthogonal multiple access based on the channel gain of each device includes:

[0038] Construct an objective function based on the real-time allocated power, channel gain, and noise power of each device;

[0039] Based on the objective function, power is allocated to each device in a preset power spectrum through non-orthogonal multiple access (NOMA).

[0040] Specifically, suppose the system has n devices and the channel gain of each device is h i The system allocates power P to each device. i , the goal is to maximize the signal transmission rate of each device. The total transmission rate R i It is expressed as:

[0041]

[0042] Where P i represents the power allocation of device i; h represents the channel gain of the device; N0 represents the noise power. Therefore, the goal of the system is to maximize the sum of the transmission rates of all devices:

[0043]

[0044] Through this objective function, the system dynamically adjusts power allocation so that devices with poor channel conditions are allocated more power, ensuring that the transmission rate of all devices is optimized.

[0045] Optionally, a different power layer is assigned to each device to ensure that the device signals in the power domain do not interfere with each other. By allocating different powers on the same spectrum, devices can transmit and receive data at the same time. The receiving end (wireless keyboard) uses successive interference cancellation (SIC) technology to decode the signals of multiple devices. SIC decodes the highest power signal first (usually the device farthest from the keyboard), and then decodes the signals of other devices in turn until all signals are decoded.

[0046] In step S200 of some embodiments of the present invention, encoding the transmission signal of each device by polar code includes:

[0047] S201. Before sending the signal, the reliability of the data bits is judged by polar code and channel polarization, and the reliable bits are transmitted according to the judgment results;

[0048] S202. Adjust the block length of the polarization code according to the channel state of the device.

[0049] Specifically, for polar code encoding, there are N transmission blocks, and the signal-to-noise ratio γ of the channel determines the transmission quality of the data block. The error correction performance of the polar code can be expressed as the bit error rate P e :

[0050]

[0051] Wherein, N represents the block length of the polar code; γ represents the signal-to-noise ratio of the channel; and C represents the channel capacity.

[0052] The block length N and signal-to-noise ratio γ of the polar code directly affect the reliability and bit error rate of transmission. After receiving signals from multiple devices, the system uses joint decoding technology to decode multiple signals simultaneously, thereby reducing interference and improving transmission efficiency.

[0053] It can be understood that polar code is an efficient forward error correction coding technology that can improve the reliability of data transmission through error correction mechanism in a multi-device environment. The core idea of ​​polar code is to divide the transmission channel into reliable channel and unreliable channel through channel polarization, and give priority to transmitting data on reliable channel. For the signal of each device, the system uses polar code to encode according to the power allocation result, and then jointly decodes the signals of multiple devices at the receiving end.

[0054] In step S300 of some embodiments of the present invention, in response to a device switching request from a user, separating the devices before and after the switching by a constellation rotation method includes:

[0055] S301. In response to the user's device switching request, modulate the signal of the device before and after the switching;

[0056] Specifically, the wireless keyboard first modulates the signal (such as QAM or PSK, BPSK, etc.) each time the device is switched. The modulated signal is represented in the form of a constellation diagram, and the constellation point is a combination of the phase and amplitude of the signal.

[0057] S302. The modulation signal and the preset rotation angle are represented by a constellation diagram, and the signal of each device is phase rotated.

[0058] Further, the phase rotation is expressed as:

[0059] X′=X·e jθ

[0060] Where X is the modulated signal sent by the device, X' is the modulated signal after rotation; θ is the device-specific rotation angle, and j is the imaginary unit. When the wireless keyboard receives signals from multiple devices, the constellation rotation technology can identify and separate the signal phases of different devices to ensure that the signals of different devices will not interfere during decoding.

[0061] Optionally, to further reduce signal interference between devices, the system can dynamically adjust the rotation angle in the constellation diagram to maximize signal differentiation, thereby reducing bit error rate and signal interference. The optimized rotation constellation diagram ensures maximum signal phase separation for each device and can cope with more complex channel conditions.

[0062] In step S400 of the above embodiment, the optimizing the beam of each device based on the real-time channel estimation information includes:

[0063] S401. Determine the beamforming matrix corresponding to each device based on real-time channel estimation information;

[0064] Specifically, the wireless keyboard first obtains the channel state information (CSI) of each device, including the device's location, distance, channel quality, etc. Through CSI, the system can understand the current signal propagation path and channel conditions.

[0065] S402. Adjust the beam direction of each device through the beamforming matrix.

[0066] According to the channel information, the system designs the corresponding beamforming matrix F for each deviceRF and F BB , respectively control the signal processing in the RF domain and the baseband domain. The transmission model of beamforming is:

[0067]

[0068] Among them, F BB F is the baseband beamforming matrix, which adjusts the baseband processing of the signal; RF is the RF beamforming matrix, which is used to adjust the RF direction of the signal; r is the received signal.

[0069] Furthermore, for each device, the system ensures that the signal energy is concentrated in the direction of the device through the beamforming matrix, thereby reducing signal attenuation and interference. During the switching process, the wireless keyboard can dynamically adjust the direction of the beam to ensure that the signal can be quickly adjusted to the new device when switching. For multiple devices connected at the same time, the system needs to optimize and schedule the beam according to the distance, location and channel conditions of the devices to minimize signal interference between multiple devices. Through intelligent beam selection, efficient parallel connection and switching of multiple devices can be achieved.

[0070] In order to fully evaluate the above indicators, the system needs to be tested in a variety of usage scenarios.

[0071] Test scenario 1: Multi-device switching in a low-load environment

[0072] Objective: To test the switching delay and power consumption of the system when connecting and switching a small number of devices (2-3).

[0073] Solution: Test the connection and switching between a wireless keyboard and a laptop, tablet, and smartphone. Test the response time and power consumption of device switching by simulating common office scenarios.

[0074] Test scenario 2: Multi-device switching in a high-load environment

[0075] Objective: To evaluate the switching speed, signal stability, and resource utilization of the system under high load when multiple devices are connected in parallel.

[0076] Solution: Connect 5-6 devices and switch devices frequently in a short period of time to test the system's latency, power consumption, and signal quality when processing concurrent tasks. At the same time, monitor the multi-core utilization of the processor to evaluate the efficiency of parallel processing.

[0077] Test scenario 3: Multi-device switching in a weak channel environment

[0078] Objective: To evaluate the system’s performance in environments with poor channel quality (e.g., long-distance connections or signal interference), specifically the error correction capability of polar codes and the anti-interference capability of rotating constellations.

[0079] Solution: Place the device at different distances, especially in an environment with poor channel conditions to test the switching performance of the wireless keyboard. Focus on testing the bit error rate and signal stability.

[0080] Test scenario 4: Compatibility testing of different operating systems and devices

[0081] Objective: To test the compatibility and switching stability of wireless keyboards between different operating systems and devices.

[0082] Solution: Test the switching response and connection stability of wireless keyboards between Windows, macOS, iOS, and Android systems to ensure that the system maintains consistent performance in cross-operating system scenarios.

[0083] After completing the test, we can further verify the system's performance and make necessary optimization adjustments by analyzing the test data. By analyzing the switching delay, power consumption, bit error rate, and resource utilization, we can determine the advantages and disadvantages of the system in actual use.

[0084] Optimization point 1: Dynamic priority adjustment

[0085] Based on the test results, the priority adjustment algorithm may need to be optimized for certain scenarios. For example, in a high-load scenario, changes in channel quality may cause some devices to have too low a priority, thereby increasing switching delays. The weight parameters w1 and w2 in the priority calculation formula can be further optimized based on the test data.

[0086] Optimization point 2: Power consumption management optimization

[0087] If the test results show that the system power consumption is too high in certain scenarios, the intelligent power management system can be further optimized, especially for those devices that are in standby mode for a long time, the dynamic sleep mechanism can be further adjusted to reduce standby power consumption.

[0088] Optimization point 3: Parameter optimization of polarization code and constellation rotation

[0089] By testing the bit error rate data, we can further optimize the block length N of the polarization code and the phase angle θ of the constellation rotation to ensure a low bit error rate and high transmission efficiency in scenarios with multi-device interference.

[0090] Through the above steps, the system can provide stable and efficient performance in the use scenarios of multi-device switching and parallel connection. The optimized wireless keyboard system can not only achieve fast switching under low power consumption conditions, but also maintain efficient and stable multi-device parallel connection. At the same time, through dynamic priority management and parallel processing technology, the system can better cope with complex multi-device scenarios and further optimize performance through test data.

[0091] refer to Figure 3 In a second aspect of the present invention, a wireless keyboard pairing switching device 1 based on polar codes is provided, comprising:

[0092] The allocation module 11 is used to perform channel estimation on each device connected to the wireless keyboard and obtain the channel gain of each device; based on the channel gain of each device, power is allocated to each device in a preset power spectrum through non-orthogonal multiple access;

[0093] The encoding and decoding module 12 is used to encode the transmission signal of each device through polar code and jointly decode the signals received from multiple devices;

[0094] A separation module 13, configured to respond to a device switching request from a user and separate the devices before and after the switching by a constellation rotation method;

[0095] The optimization module 14 is used to optimize the beam of each device based on the real-time channel estimation information.

[0096] Furthermore, the allocation module includes: a construction unit for constructing an objective function based on the real-time allocation power, channel gain and noise power of each device; an allocation unit for allocating power to each device in a preset power spectrum through non-orthogonal multiple access based on the objective function.

[0097] In the process of hardware implementation of the above modules, it is necessary to efficiently integrate different hardware modules in order to achieve the optimized solution while maintaining the low cost and high reliability of the product. For the processing requirements of rotating constellations and polar codes, FPGA or ASIC can be selected to implement hardware acceleration of decoding and modulation. Especially in a high-load environment where multiple devices are connected at the same time, hardware acceleration can significantly reduce the delay of signal processing. The key to low-power design is to combine intelligent power management, RF module and processor energy consumption control. Using a microcontroller with intelligent power control function (such as ARM Cortex-M series processors that support low-power sleep mode) can effectively reduce the power consumption of the device when it is idle, while ensuring that the processing power responds in time when the device is switched. By adopting power gating technology, the system can dynamically enable and disable unnecessary functional modules according to the use of the device. For example, when the device is not used for a long time, it enters deep sleep mode; when a device switching request is detected, the relevant modules are quickly woken up.

[0098] refer to Figure 4 In a third aspect of the present invention, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the polar code-based wireless keyboard pairing switching method in the first aspect of the present invention.

[0099] The electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0100] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 4Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0101] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above functions defined in the method of the embodiment of the present disclosure are executed. It should be noted that the computer-readable medium described in the embodiment of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus, or a device. In an embodiment of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus, or a device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

[0102] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device. The computer-readable medium carries one or more computer programs. When the one or more programs are executed by the electronic device, the electronic device:

[0103] Computer program code for performing the operations of embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, Python, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0104] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0105] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A wireless keyboard pairing switching method based on polar code, characterized in that: include: Perform channel estimation on each device connected to the wireless keyboard to obtain the channel gain of each device; based on the channel gain of each device, allocate power to each device in a preset power spectrum through non-orthogonal multiple access; The transmitted signal of each device is encoded by polar code, and the received signals of multiple devices are jointly decoded; In response to a user's device switching request, separating the devices before and after the switching by rotating the constellation method; Based on real-time channel estimation information, the beam is optimized for each device.

2. The method for pairing and switching a wireless keyboard based on polar codes according to claim 1, characterized in that: The allocating power to each device in a preset power spectrum by non-orthogonal multiple access based on the channel gain of each device comprises: Construct an objective function based on the real-time allocated power, channel gain, and noise power of each device; Based on the objective function, power is allocated to each device in a preset power spectrum through non-orthogonal multiple access.

3. The method for pairing and switching wireless keyboards based on polar codes according to claim 1, characterized in that: The encoding of the transmission signal of each device by polar code includes: Before sending the signal, the reliability of the bits in the data is judged through polar code and channel polarization, and the reliable bits are transmitted according to the judgment results; The block length of the polarization code is adjusted according to the channel status of the device.

4. The method for pairing and switching wireless keyboards based on polar codes according to claim 1, characterized in that: In response to the user's device switching request, separating the devices before and after the switching by rotating the constellation method includes: In response to a user's device switching request, modulating signals of the devices before and after the switching; The modulation signal and the preset rotation angle are represented by a constellation diagram, and the signal of each device is phase rotated.

5. The method for pairing and switching wireless keyboards based on polar codes according to claim 4, characterized in that: The phase rotation is expressed as: X′=X·e jθ Where X is the modulation signal sent by the device, X' is the modulation signal after rotation; θ is the device-specific rotation angle, and j is the imaginary unit.

6. The method for pairing and switching wireless keyboards based on polar codes according to claim 1, characterized in that: The optimizing the beam of each device based on the real-time channel estimation information includes: Determine the beamforming matrix corresponding to each device based on the real-time channel estimation information; The beam direction of each device is adjusted through the beamforming matrix.

7. A wireless keyboard pairing switching device based on polar code, characterized in that: include: The allocation module is used to perform channel estimation on each device connected to the wireless keyboard and obtain the channel gain of each device; based on the channel gain of each device, power is allocated to each device in a preset power spectrum through non-orthogonal multiple access; The encoding and decoding module is used to encode the transmission signal of each device through polar code and jointly decode the signals received from multiple devices; A separation module, used to respond to a user's device switching request and separate the devices before and after the switching by rotating the constellation method; The optimization module is used to optimize the beam of each device based on real-time channel estimation information.

8. The wireless keyboard pairing switching device based on polar code according to claim 7, characterized in that: The allocation module comprises: A construction unit for constructing an objective function based on real-time allocated power, channel gain, and noise power of each device; The allocation unit is used to allocate power to each device in a preset power spectrum through non-orthogonal multiple access based on the objective function.

9. An electronic device, comprising: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the polar code-based wireless keyboard pairing switching method as described in any one of claims 1 to 6.

10. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the polar code-based wireless keyboard pairing switching method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Apparatus and method for signalling of non-orthogonal transmissions

    CN107251461A

  • Non-Orthogonal Multiple Access System based Spatial Modulation and the method therof

    KR101560499B1

  • Methods, Apparatus and Systems Using A Multidimensional Gray Coding Scheme For Real Number M-ARY QAM Signaling

    TW201806363A

  • Broadcast receiving device and operating method thereof

    US20150189486A1

  • Method for processing bluetooth data packet and communication apparatus

    US20230171028A1

Cited By

  • Multi-device intelligent switching system and method based on Polar code

    CN120499860A

  • Multi-device intelligent switching system and method based on polar code

    CN120499860B