Wireless fidelity WiFi communication method, system and device, equipment and storage medium
By encoding and decoding WiFi signals using pre-stored orthogonal codes in wireless access devices and electronic devices, identifying target signals, the problems of difficulty in signal recognition and poor anti-interference ability in multiple WiFi signal environments are solved, and the problem of improved The efficiency and quality of WiFi communication.
Patent Information
- Application Number
- CN202310679515.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2024-12-10
AI Technical Summary
In multiple WiFi signal environments, it is difficult for the prior art to effectively find the target WiFi signal, which has poor anti-interference ability and requires complex correlation operations, resulting in high power consumption and low signal transmission quality.
By pre-stored multiple orthogonal codes in wireless access devices and electronic devices, the initial WiFi signal is encoded and decoded, and the target WiFi signal is identified by using the characteristics of the orthogonal code to avoid complex related operations and improve resistance. Interference performance.
It realizes the effective identification of target WiFi signals in multiple WiFi signal environments, improves anti-interference ability, reduces computing volume, and improves the throughput and signal transmission quality of WiFi communication.
Smart Images

Figure CN119110311A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless fidelity (WiFi), and in particular to a wireless fidelity WiFi communication method, system, device, electronic device, wireless access device, computer storage medium and computer program product. Background Art
[0002] Currently, WiFi technology based on the 802.11 protocol standard is increasingly widely used in wireless LANs, but this brings with it the problem that there are more and more wireless access devices and equipment, and the channels are becoming more and more crowded in the limited spectrum resources. The surrounding environment is filled with various different WiFi signals. How to find the WiFi signals for wireless access devices and electronic devices to communicate among the numerous WiFi signals, avoid a large number of scanning processes, and thus save device power consumption is a problem that WiFi needs to solve. Summary of the invention
[0003] The present application provides a wireless fidelity WiFi communication method, system, device, electronic device, wireless access device, computer storage medium and computer program product, which can effectively find a desired signal among numerous surrounding WiFi signals, have strong anti-interference ability, do not need to perform complex related operations, reduce the amount of calculation, and improve WiFi throughput and transmission quality.
[0004] In a first aspect, the present application provides a wireless communication method, which is applied to an electronic device configured with a target orthogonal code, and the method includes:
[0005] Receiving multiple coded signals sent by a wireless access device; wherein the wireless access device pre-stores multiple mutually orthogonal orthogonal codes, the target orthogonal code is one of the multiple orthogonal codes, the coded signal is a signal generated by the wireless access device using the orthogonal code to encode an initial WiFi signal, and the orthogonal codes used by each coded signal are different;
[0006] Decoding each of the coded signals according to the target orthogonal code, and correspondingly obtaining a plurality of decoded signals;
[0007] A target WiFi signal is determined according to each of the decoded signals, where the target WiFi signal is a communication signal between the electronic device and the wireless access device.
[0008] In a second aspect, the present application provides a wireless fidelity WiFi communication method, which is applied to a wireless access device, and the method includes:
[0009] Encoding the initial WiFi signal using a plurality of mutually orthogonal pre-stored orthogonal codes to generate a plurality of coded signals; wherein the orthogonal codes used by the coded signals are different;
[0010] Each of the coded signals is sent to instruct the electronic device to decode each of the coded signals using a pre-configured target orthogonal code, and a target WiFi signal is determined according to a decoded signal corresponding to each of the coded signals; wherein the target WiFi signal is a communication signal between the wireless access device and the electronic device, and the target orthogonal code is one of a plurality of the orthogonal codes.
[0011] In a third aspect, the present application provides a wireless fidelity WiFi communication system, the system comprising at least one wireless access device and at least one electronic device; wherein,
[0012] The wireless access device is used to encode the initial WiFi signal using a plurality of mutually orthogonal orthogonal codes stored in advance, generate a plurality of coded signals accordingly, and send each of the coded signals; wherein the orthogonal codes used by each of the coded signals are different;
[0013] The electronic device is used to receive each of the coded signals, and decode each of the coded signals according to a pre-configured target orthogonal code, correspondingly obtain multiple decoded signals, and determine a target WiFi signal according to each of the decoded signals; wherein the target WiFi signal is a communication signal between the electronic device and the wireless access device, and the target orthogonal code is one of the multiple orthogonal codes.
[0014] In a fourth aspect, the present application provides a wireless fidelity WiFi communication device, the device comprising:
[0015] A receiving module, configured to receive multiple coded signals sent by a wireless access device; wherein the wireless access device pre-stores multiple mutually orthogonal orthogonal codes, the target orthogonal code is one of the multiple orthogonal codes, the coded signal is a signal generated by the wireless access device using the orthogonal code to encode an initial WiFi signal, and the orthogonal codes used by each coded signal are different;
[0016] A decoding module, used for respectively decoding each of the coded signals according to the target orthogonal code, and correspondingly obtaining a plurality of decoded signals;
[0017] The determination module is used to determine a target WiFi signal according to each of the decoded signals, where the target WiFi signal is a communication signal between the electronic device and the wireless access device.
[0018] In a fifth aspect, the present application provides a wireless fidelity WiFi communication device, the device comprising:
[0019] A coding module, used to encode the initial WiFi signal using a plurality of mutually orthogonal orthogonal codes stored in advance, and generate a plurality of coded signals accordingly; wherein the orthogonal code includes a target orthogonal code corresponding to the electronic device, and the orthogonal codes used by the coded signals are different;
[0020] A sending module is used to send each of the coded signals to instruct the electronic device to decode each of the coded signals using the target orthogonal code, and determine a target WiFi signal according to a decoded signal corresponding to each of the coded signals; wherein the target WiFi signal is a communication signal between the wireless access device and the electronic device.
[0021] In a sixth aspect, the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the wireless fidelity WiFi communication method provided in the first aspect are implemented.
[0022] In a seventh aspect, the present application provides a wireless access device, including a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, the steps of the wireless fidelity WiFi communication method provided in the second aspect are implemented.
[0023] In an eighth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the wireless fidelity WiFi communication method provided in the first aspect or the steps of the wireless fidelity WiFi communication method provided in the second aspect are implemented.
[0024] In a ninth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the wireless fidelity WiFi communication method provided in the first aspect or the steps of the wireless fidelity WiFi communication method provided in the second aspect.
[0025] In the above-mentioned wireless fidelity WiFi communication method, system, device, electronic device, wireless access device, computer storage medium and computer program product, during the WiFi communication process, the wireless access device uses a plurality of pre-stored mutually orthogonal orthogonal codes to encode the initial WiFi signal, and sends a plurality of coded signals corresponding to each orthogonal code. After the electronic device receives the plurality of coded signals sent by the wireless access device, it can use the target orthogonal code to decode the plurality of coded signals to obtain a plurality of decoded signals. Since the target orthogonal code is orthogonal to other orthogonal codes pre-stored by the wireless access device, the electronic device can determine the target WiFi signal communicating with the wireless access device from the plurality of decoded signals, thereby achieving effective search for the target WiFi signal, improving anti-interference performance, and not requiring complex correlation operations, reducing the amount of calculation. The method is not only applicable to WiFi communication in TDD mode, but also to WiFi communication in FDD mode, thereby improving the throughput of WiFi communication and the quality of signal transmission, and can bring a better user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A schematic diagram of a 2.4G WiFi channel provided by an embodiment;
[0027] Figure 2 A schematic diagram of an application environment of a WiFi communication method provided by an embodiment;
[0028] Figure 3 One of the flowcharts of a WiFi communication method provided by an embodiment;
[0029] Figure 4 A schematic diagram of a flow chart of step S204 in a WiFi communication method provided by an embodiment;
[0030] Figure 5 A second flowchart of a WiFi communication method provided by an embodiment;
[0031] Figure 6 A schematic diagram of an application environment of a WiFi communication method provided by another embodiment;
[0032] Figure 7 A third flowchart of a WiFi communication method provided by an embodiment;
[0033] Figure 8 A fourth flowchart of a WiFi communication method provided by an embodiment;
[0034] Fig. 9 A fifth flowchart of a WiFi communication method provided by an embodiment;
[0035] Fig.10 A structural block diagram of a WiFi communication device provided by an embodiment;
[0036] Fig.11 A structural block diagram of a WiFi communication device provided by another embodiment;
[0037] Fig.12 A structural block diagram of an electronic device or a wireless access device provided by an embodiment. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0039] As mentioned in the background technology, how to find the WiFi signal for wireless access devices and electronic devices to communicate from numerous WiFi signals is an urgent problem to be solved. In the related technology, the electronic device can detect the strength of the surrounding WiFi signals and detect the WiFi signals in combination with the correlation calculation. Specifically, the electronic device detects the strength of the surrounding WiFi signals, and when the detected WiFi signal strength is greater than a certain threshold, the next step is performed. This process is to detect the degree of environmental interference of the current WiFi channel. If the WiFi signal strength is detected to be small, it indicates that the current environmental interference is large, then it is necessary to change the wireless access device. On the contrary, if the WiFi signal strength is detected to be large, then it is determined whether the detected WiFi is the desired signal, by determining the correlation between the detected WiFi signal and the preset WiFi signal, such as the correlation of the amplitude or phase of the WiFi signal. If the correlation is high, the corresponding demodulation is performed. If the correlation is low, it means that it is not the desired WiFi signal and is discarded.
[0040] The disadvantages of the above-mentioned related technologies are that when there are other WiFi signals around, on the one hand, there is interference from the noise environment, which affects the signal strength of the WiFi and has poor anti-interference ability. In addition, there are certain limitations in finding the desired WiFi signal from a large number of WiFi signals. If the WiFi connection between the wireless access device and the electronic device adopts the time division duplex (TDD) mode, the efficiency of the wireless transmission is not as high as the frequency division duplex (FDD) mode. If it is the FDD mode, it is necessary to distinguish different WiFi signals. If different devices transmit WiFi signals of the same frequency, it is difficult for the WiFi signal to detect the desired signal, and it is only suitable for WiFi signals of different frequencies. Figure 1Taking the 2.4G WiFi channel shown as an example, when the wireless access device and user 1 and user 2 are connected in FDD mode, when the WiFi channel is relatively idle, user 1 and user 2 can use different WiFi sub-channels for connection, such as user 1 using 2.4G channel 2 and user 2 using 2.4G channel 8. However, when the WiFi channel is very crowded and there are many WiFi interference signals around, especially when different users use the same WiFi sub-channel, such as user 1 and user 2 both use 2.4G channel 6, it is difficult to distinguish the desired WiFi signal from the WiFi signal interfering with the surrounding environment. On the other hand, it is necessary to determine the correlation between the received WiFi signal and the preset WiFi signal. Generally, the cross-correlation operation between the two is performed to obtain the cross-correlation coefficient. If the length of the received WiFi signal is too long, the amount of calculation is large, the more operation logic units are required, and the power consumption of the electronic device is large.
[0041] Based on the above, the present application provides a WiFi communication method, system, device, electronic device, wireless access device, computer storage medium and computer program product, which can effectively find the desired signal among the numerous surrounding WiFi signals, have strong anti-interference ability, do not need to perform complex related calculations, reduce the amount of calculations, and improve WiFi throughput and transmission quality.
[0042] The WiFi communication method provided in the embodiment of the present application can be applied to Figure 2 In the application environment shown. Among them, the electronic device 102 communicates with the wireless access device 104 through a WiFi network. The electronic device 102 and the wireless access device 104 can store corresponding orthogonal codec programs. Among them, the electronic device 102 can be but not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The wireless access device 104 can be a wireless access point (AP) device, a wireless router, a wireless connector, etc. In this application, there is no limitation on the electronic device 102 and the wireless access device 104.
[0043] In one embodiment, Figure 3 As shown, a WiFi communication method is provided, and the method is applied to Figure 1 The electronic device in is used as an example for explanation. Among them, the electronic device is pre-configured with a target orthogonal code, and the target orthogonal code is used to perform WiFi communication with the wireless access device. The WiFi communication method provided in this application may include the following steps S302 to S306.
[0044] S302: Receive multiple coded signals sent by a wireless access device.
[0045] The wireless access device pre-stores a plurality of mutually orthogonal orthogonal codes, and the target orthogonal code is one of the plurality of orthogonal codes. The wireless access device pre-stores a target orthogonal code and a first orthogonal code, wherein the target orthogonal code is 10, the first orthogonal code is 01, and the target orthogonal code is orthogonal to the first orthogonal code. Exemplarily, the plurality of orthogonal codes may be different column vectors or different row vectors of a Walsh matrix. In the present application, no limitation is imposed on the plurality of orthogonal codes pre-stored by the wireless access device.
[0046] The coded signal sent by the wireless access device is a signal generated by the wireless access device encoding the initial WiFi signal using an orthogonal code, and each coded signal uses a different orthogonal code. The multiple coded signals sent by the wireless access device include a target coded signal generated by the wireless access device encoding the initial WiFi signal using a target orthogonal code.
[0047] S304: Decode each coded signal according to the target orthogonal code to obtain a plurality of corresponding decoded signals. The electronic device decodes the coded signal using a decoding method corresponding to the coding method of the wireless access device to obtain a decoded signal corresponding to each coded signal.
[0048] S306: Determine a target WiFi signal according to each decoded signal, wherein the target WiFi signal is a communication signal between the electronic device and the wireless access device, and the target WiFi signal is a signal obtained by the electronic device after decoding using the target orthogonal code.
[0049] In the above-mentioned WiFi communication method, during the WiFi communication process between the electronic device and the wireless access device, since the wireless access device will encode the initial WiFi signal using multiple mutually orthogonal codes stored in advance before transmitting it to the electronic device, after the electronic device receives the multiple coded signals sent by the wireless access device, it can use the target orthogonal code to decode the multiple coded signals to obtain multiple decoded signals accordingly. Since the target orthogonal code is orthogonal to other orthogonal codes pre-stored by the wireless access device, the electronic device can determine the target WiFi signal that communicates with the wireless access device from the multiple decoded signals, thereby achieving effective search for the target WiFi signal, improving anti-interference performance, and not requiring complex correlation operations, reducing the amount of calculation. The method is not only applicable to WiFi communication in TDD mode, but also to WiFi communication in FDD mode, thereby improving the throughput of WiFi communication and the quality of signal transmission, and can bring a better user experience.
[0050] In one embodiment, Figure 4As shown, step S304: decoding each coded signal according to the target orthogonal code respectively, and correspondingly obtaining multiple decoded signals, may include the following steps S402 and S404.
[0051] S402: Obtain inner product values of the target orthogonal code and each coded signal respectively.
[0052] S404: Obtain decoded signals corresponding to the encoded signals according to the inner product values.
[0053] Since the target orthogonal code is orthogonal to other orthogonal codes pre-stored in the wireless access device, according to the orthogonal characteristics of the orthogonal code, the inner product value of the target orthogonal code and the target coded signal is not 0, so the target WiFi signal is a decoded signal whose inner product value is not 0; the inner product value of the target orthogonal code and other coded signals is 0, and the coded signal corresponding to the inner product value of 0 is an interference signal. Among them, the target coded signal refers to the signal generated by the wireless access device after encoding the initial WiFi signal using the target orthogonal code. Based on this, the electronic device can effectively find the target WiFi signal that communicates with the wireless access device from multiple coded signals according to the inner product value corresponding to each coded signal, thereby improving the anti-interference performance, avoiding a large amount of calculations caused by related calculations, and improving the throughput and signal transmission quality of WiFi communication.
[0054] In one embodiment, the initial WiFi signal includes a binary sequence signal, in other words, the initial WiFi signal is a binary 01 sequence. For example, the initial WiFi signal is 1100. Based on this, step S302: obtaining the decoded signal corresponding to each coded signal according to each inner product value, may include: obtaining the decoded signal corresponding to each coded signal according to each inner product value and a preset first decoding method. Among them, the first decoding method is: determining an inner product value greater than 0 as a binary number 0 and determining an inner product value less than 0 as a binary number 1. In other words, if the inner product value is greater than 0, it indicates that the initial WiFi signal sent by the wireless access device is a binary number 0; if the inner product value is less than 0, it indicates that the initial WiFi signal sent by the wireless access device is a binary number 1.
[0055] Accordingly, the wireless access device is used to encode the initial WiFi signal according to the orthogonal code and the preset first encoding method, and generate multiple encoded signals accordingly. Among them, the target encoded signal included in the multiple encoded signals is generated by the wireless access device encoding the initial WiFi signal using the target orthogonal code and the first encoding method. Among them, the first encoding method is: encoding the binary number 0 in the initial WiFi signal as an orthogonal code, and encoding the binary number 1 in the initial WiFi signal as the inverse code of the orthogonal code.
[0056] For example, the initial WiFi signal includes a binary number 1, and the wireless access device pre-stores a target orthogonal code 10 and a first orthogonal code 01. The target coded signal generated after encoding the initial WiFi signal 1 using the target orthogonal code 10 and the first coding method is 01, and the first coded signal generated after encoding the initial WiFi signal 1 using the first orthogonal code 01 and the first coding method is 10.
[0057] In the above WiFi communication method, the electronic device decodes the coded signal using the first decoding method corresponding to the first coding method, so that the target WiFi signal can be correctly decoded from each coded signal and found, thereby improving the anti-interference performance of WiFi communication and reducing the related calculation amount.
[0058] In one embodiment, the initial WiFi signal includes a binary sequence signal. Based on this, step S302: obtaining the decoded signal corresponding to each coded signal according to each inner product value, may include: obtaining the decoded signal corresponding to each coded signal according to each inner product value and a preset second decoding method. Among them, the second decoding method is: determining an inner product value greater than 0 as a binary number 1 and determining an inner product value less than 0 as a binary number 0. In other words, if the inner product value is greater than 0, it indicates that the initial WiFi signal sent by the wireless access device is a binary number 1; if the inner product value is less than 0, it indicates that the initial WiFi signal sent by the wireless access device is a binary number 0.
[0059] Accordingly, the wireless access device is used to encode the initial WiFi signal according to the orthogonal code and the preset second encoding method, and generate multiple encoded signals accordingly. Among them, the target encoded signal included in the multiple encoded signals is generated by the wireless access device encoding the initial WiFi signal using the target orthogonal code and the second encoding method. Among them, the second encoding method is: encoding the binary number 1 in the initial WiFi signal as an orthogonal code, and encoding the binary number 0 in the initial WiFi signal as the inverse code of the orthogonal code.
[0060] For example, the initial WiFi signal includes a binary number 1, and the wireless access device pre-stores a target orthogonal code 10 and a first orthogonal code 01. The target coded signal generated by encoding the initial WiFi signal 1 using the target orthogonal code 10 and the second coding method is 10, and the first coded signal generated by encoding the initial WiFi signal 1 using the first orthogonal code 01 and the first coding method is 01.
[0061] In the above WiFi communication method, the electronic device decodes the coded signal using the second decoding method corresponding to the second coding method, so that the target WiFi signal can be correctly decoded from each coded signal and found, thereby improving the anti-interference performance of WiFi communication and reducing the related calculation amount.
[0062] In one embodiment, the WiFi communication method may further include: determining the connection status with the wireless access device according to the inner product value corresponding to the target WiFi signal. Since there is a certain distance between the electronic device and the wireless access device, and there is loss during signal transmission, the coded signal received by the electronic device will have a certain signal attenuation compared to the coded signal sent by the wireless access device. For example, the coded signal sent by the wireless access device is a binary number 1, and the coded signal received by the electronic device may be 0.6 or 0.8. Based on this, the electronic device can screen the wireless access device according to the inner product value calculated during the decoding process to ensure a high WiFi communication quality.
[0063] In one embodiment, Figure 5 As shown, the above step, i.e. the electronic device determines the connection status with the wireless access device according to the inner product value corresponding to the target WiFi signal, may include the following steps S502 and S504.
[0064] S502: When the absolute value of the inner product value corresponding to the target WiFi signal is less than a preset connection threshold, disconnect the wireless access device.
[0065] The preset connection threshold is pre-set and can be determined according to an experimental value, and is not limited here. If the absolute value of the inner product value corresponding to the target WiFi signal is less than the preset connection threshold, it indicates that the quality of the target WiFi signal is poor, and the quality of the WiFi signal for communication between the electronic device and the wireless access device is poor. In this case, the electronic device can disconnect from the wireless access device.
[0066] Furthermore, in an application scenario where there are multiple wireless access devices, there are differences in the distance between the electronic device and each wireless access device, so there are differences in the strength of the signal received by the electronic device, and thus, there are differences in the inner product value corresponding to the target coded signal determined by the electronic device decoding. Taking the wireless access device including the first wireless access device and the second wireless access device as an example, if the electronic device is first connected to the first wireless access device, and it is determined that the absolute value of the inner product value corresponding to the first target coded signal is less than the preset connection threshold, the connection with the first wireless access device is disconnected, and the second wireless access device is connected to find a better quality WiFi signal, thereby realizing the switching of the wireless access device and improving the transmission quality of the WiFi signal.
[0067] like Figure 6As shown, another application scenario of the WiFi communication method is provided. In this application scenario, the electronic devices include a smartphone 102a of user 1 and a smartphone 102b of user 2, and the wireless access devices include a wireless access point 104a and a wireless access point 104b. During the WiFi communication process, the best access point for user 1 is the wireless access point 104a, and the best access point for user 2 is the wireless access point 104b.
[0068] S504: When the absolute value of the inner product value corresponding to the target WiFi signal is greater than or equal to a preset connection threshold, maintain connection with the wireless access device.
[0069] If the absolute value of the inner product value corresponding to the target WiFi signal is less than the preset connection threshold, it indicates that the quality of the target WiFi signal is good, and the quality of the WiFi signal for communication between the electronic device and the wireless access device is good. In this case, the electronic device can maintain connection with the wireless access device and maintain WiFi communication with the wireless access device.
[0070] With the above WiFi communication method, the electronic device can switch the wireless access device according to the inner product value corresponding to the target WiFi signal, thereby improving the WiFi communication quality between the electronic device and the wireless access device and further improving the user experience.
[0071] In one embodiment, Figure 6 As shown, there are multiple wireless access devices for WiFi communication with electronic devices. Based on this, Figure 7 As shown, the WiFi communication method may further include the following steps S702 to S706.
[0072] S702: Receive initial WiFi signals sent by multiple wireless access devices, wherein the initial WiFi signals are signals that are not encoded by the wireless access devices using orthogonal codes.
[0073] S704: Determine a target wireless access device from a plurality of wireless access devices according to the strength information of each initial WiFi signal.
[0074] Exemplarily, the electronic device may use the wireless access device corresponding to the maximum value of the strength information as the target access device to connect to the target wireless access device.
[0075] S706: Send a target orthogonal code to a target wireless access device.
[0076] Based on the above step S704, after the electronic device determines the target electronic device, it can send a pre-configured target orthogonal code to the target access device, so that during the process of WiFi communication between the target access device and the electronic device, the target orthogonal code can be used to perform orthogonal precoding on the initial WiFi signal to be transmitted, and then the electronic device uses the target orthogonal code to perform corresponding orthogonal decoding, thereby finding the desired target WiFi signal among the numerous WiFi signals.
[0077] In the above WiFi communication method, the electronic device determines the target wireless access device with better WiFi communication quality by comparing the strength information of the initial WiFi signals sent by each wireless access device, thereby realizing the preliminary screening before WiFi communication and further improving the transmission quality of the WiFi signal.
[0078] Based on the same inventive concept as above, the present application also provides another WiFi communication method, which is applied to Figure 2 The wireless access device shown in the figure is pre-configured with an orthogonal coding program to encode the initial WiFi signal to be transmitted using a plurality of pre-stored mutually orthogonal orthogonal codes to achieve WiFi communication with the electronic device. Figure 8 As shown, the WiFi communication method may include the following steps S802 and S804.
[0079] S802: Encode the initial WiFi signal using a plurality of mutually orthogonal orthogonal codes stored in advance, and generate a plurality of coded signals accordingly. The orthogonal codes used by the coded signals are different, and the target orthogonal code corresponding to the electronic device that performs WiFi communication with the wireless access device is one of the plurality of orthogonal codes. The plurality of coded signals include a target coded signal generated by numbering the initial WiFi signal using the target orthogonal code.
[0080] S804: Send each coded signal to instruct the electronic device to decode each coded signal using a pre-configured target orthogonal code, and determine a target WiFi signal according to a decoded signal corresponding to each coded signal.
[0081] The target WiFi signal is a communication signal between a wireless access device and an electronic device, and the target orthogonal code is one of a plurality of orthogonal codes. The target WiFi signal is a signal determined after the electronic device decodes the target coded signal using the target orthogonal code.
[0082] In the above-mentioned WiFi communication method, during the WiFi communication process between the wireless access device and the electronic device, the wireless access device will encode the initial WiFi signal using a plurality of mutually orthogonal codes pre-stored, generate a coded signal corresponding to each orthogonal code, and send each coded signal. Since the target orthogonal code is orthogonal to other orthogonal codes pre-stored by the wireless access device, after receiving the plurality of coded signals, the electronic device can use the target orthogonal code to decode the plurality of decoded signals and determine the target WiFi signal communicating with the wireless access device therefrom, thereby achieving effective search for the target WiFi signal, improving anti-interference performance, and eliminating the need for complex correlation operations, reducing the amount of calculation. The method is not only applicable to WiFi communication in TDD mode, but also to WiFi communication in FDD mode, thereby improving the throughput of WiFi communication and the quality of signal transmission, and can bring a better user experience.
[0083] In one embodiment, the initial WiFi signal includes a binary sequence signal. Based on this, step S702, using a plurality of pre-stored mutually orthogonal orthogonal codes to encode the initial WiFi signal, may include: using a plurality of pre-stored mutually orthogonal orthogonal codes and a preset first encoding method to encode the initial WiFi signal. Among them, the first encoding method is: encoding the binary number 0 in the initial WiFi signal as an orthogonal code, and encoding the binary number 1 in the initial WiFi signal as the inverse code of the orthogonal code. Among them, the electronic device is used to perform an inner product with each coded signal according to the target orthogonal code, and obtain the decoded signal corresponding to each coded signal according to each inner product value and a preset first decoding method. Among them, the target WiFi signal is a decoded signal with an inner product value of 0, and the first decoding method is: determining an inner product value greater than 0 as a binary number 0, and determining an inner product value less than 0 as a binary number 1. The encoding and decoding process can refer to the relevant content of the embodiment of the WiFi communication method applied to the electronic device above, and will not be repeated here.
[0084] In one embodiment, the initial WiFi signal includes a binary sequence signal. Based on this, step S702, using a plurality of pre-stored mutually orthogonal orthogonal codes to encode the initial WiFi signal, may include: using a plurality of pre-stored mutually orthogonal orthogonal codes and a preset second encoding method to encode the initial WiFi signal. Among them, the second encoding method is: encoding the binary number 1 in the initial WiFi signal as an orthogonal code, and encoding the binary number 0 in the initial WiFi signal as the inverse code of the orthogonal code. Among them, the electronic device is used to perform an inner product with each coded signal according to the target orthogonal code, and obtain the decoded signal corresponding to each coded signal according to each inner product value and a preset second decoding method. Among them, the target WiFi signal is a decoded signal with an inner product value of 0, and the second decoding method is: determining an inner product value greater than 0 as a binary number 1, and determining an inner product value less than 0 as a binary number 0. The encoding and decoding process can refer to the relevant content of the embodiment of the WiFi communication method applied to the electronic device above, and will not be repeated here.
[0085] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0086] Based on the WiFi communication method provided in the above embodiment, the present application also provides a WiFi communication system. The implementation solution for solving the problem provided by the system is similar to the implementation solution recorded in the above method. Therefore, the specific limitations in one or more WiFi communication system embodiments provided below can refer to the limitations on the WiFi communication method above, and will not be repeated here.
[0087] In one embodiment, Figure 2As shown, the WiFi communication system includes at least one electronic device 102 and at least one wireless access device 104. The wireless access device 104 is used to encode the initial WiFi signal using a plurality of mutually orthogonal orthogonal codes pre-stored, correspondingly generate a plurality of coded signals, and send each coded signal. The orthogonal codes used by each coded signal are different. The electronic device 102 is used to receive each coded signal and decode each of the coded signals according to a pre-configured target orthogonal code, correspondingly obtain a plurality of decoded signals, and determine the target WiFi signal according to each decoded signal. The target WiFi signal is a communication signal between the electronic device and the wireless access device, and the target orthogonal code is one of the plurality of orthogonal codes.
[0088] The above-mentioned WiFi communication system includes an electronic device and a wireless access device. During the WiFi communication process, the wireless access device uses a plurality of mutually orthogonal orthogonal codes pre-stored to encode the initial WiFi signal, and sends a plurality of coded signals corresponding to each orthogonal code. After the electronic device receives the plurality of coded signals sent by the wireless access device, it can use the target orthogonal code to decode the plurality of coded signals to obtain a plurality of decoded signals. Since the target orthogonal code is orthogonal to other orthogonal codes pre-stored by the wireless access device, the electronic device can determine the target WiFi signal communicating with the wireless access device from the plurality of decoded signals, thereby achieving effective search for the target WiFi signal, improving anti-interference performance, and not requiring complex correlation operations, reducing the amount of calculation. The method is not only applicable to WiFi communication in TDD mode, but also to WiFi communication in FDD mode, thereby improving the throughput of WiFi communication and the quality of signal transmission, and can bring a better user experience.
[0089] In one embodiment, a WiFi communication system includes at least two wireless access devices. Each wireless access device is further configured to send an initial WiFi signal, which is a signal not encoded using an orthogonal code. The terminal device is further configured to receive the initial WiFi signal sent by each wireless access device, and determine a target wireless access device from a plurality of wireless access devices based on the strength information of each initial WiFi signal, and send a target orthogonal code to the target wireless access device.
[0090] In one embodiment, the system comprises at least two electronic devices, each electronic device being pre-configured with mutually orthogonal codes.
[0091] In one embodiment, each orthogonal code is a different column vector or a different row vector in a Walsh matrix. The orthogonal code can be generated by Walsh transformation. The matrix generated by Walsh transformation has the advantage of fast operation, and each column vector or each row vector is mutually orthogonal. Therefore, in the embodiment of the present application, each orthogonal column vector or row vector in the Walsh matrix can be respectively corresponded to a different wireless access device or electronic device for corresponding demodulation.
[0092] For a better understanding, Figure 4 Taking the WiFi communication system shown in the figure as an example, each electronic device is pre-configured with mutually orthogonal orthogonal codes. When the electronic device searches for WiFi in the surrounding environment, it finds that the WiFi signal comes from different wireless access devices and surrounding electronic devices. Here, the WiFi connected by FDD is taken as an example. Fig. 9 As shown, in order to find a suitable WiFi signal, you can do the following:
[0093] S901: Each wireless electronic device sends an initial WiFi signal.
[0094] S902: The electronic device receives the initial WiFi signals sent by each wireless electronic device, and determines the wireless access device corresponding to the maximum value of the strength information of each initial WiFi signal as the target wireless access device.
[0095] S903: The electronic device sends a target orthogonal code to a target wireless access device.
[0096] S904: The target wireless access device stores the target orthogonal code.
[0097] S905: During the WiFi communication process, the target wireless access device encodes the initial WiFi signal according to a plurality of mutually orthogonal orthogonal codes pre-stored and a first encoding method, and generates a plurality of encoded signals accordingly. The plurality of orthogonal codes include a target orthogonal code, and the orthogonal codes used by the encoded signals are different. The initial WiFi signal is a binary sequence signal, and the first encoding method is: encoding the binary number 0 in the initial WiFi signal as the orthogonal code, and encoding the binary number 1 in the initial WiFi signal as the inverse code of the orthogonal code.
[0098] S906: The target wireless access device sends multiple coded signals.
[0099] S907: The electronic device receives multiple coded signals sent by the wireless access device, obtains the inner product values of the target orthogonal code and the inner product of each coded signal, and determines the target WiFi signal communicating with the wireless access device according to each inner product value and the first decoding method. Among them, the first decoding method is: determining the inner product value greater than 0 as the binary number 0 and the inner product value less than 0 as the binary number 1. Among them, the coded signal corresponding to the inner product value of 0 is the interference signal. Based on this, the electronic device performs correct signal transmission with the wireless access device, avoids interference from surrounding WiFi signals, and does not perform unnecessary other WiFi signal calculations.
[0100] The above is the transmission process of wireless devices and electronic devices. According to the characteristics of orthogonal codes, when the wireless access device and the electronic device code are the same, the inner product result is not zero. When they are orthogonal to each other, the inner product is zero to identify different WiFi signals. When the wireless access device and user 1 and user 2 are connected in FDD mode, when the WiFi channel is relatively idle, user 1 and user 2 can use different WiFi sub-channels for connection; when the WiFi channel is very crowded and there are many WiFi interference signals around, especially when different users use the same WiFi sub-channel, such as user 1 and user 2 use the same WiFi sub-channel, this application can be used, that is, the orthogonal code is introduced in the connection method of the FDD mode WiFi, and the corresponding user 1 and user 2 signals can be demodulated according to the characteristics of the orthogonal code.
[0101] The above-mentioned WiFi connection method based on orthogonal code encoding and decoding has a certain anti-interference ability and has the function of automatically switching the best line. Due to the distance between the electronic device and the wireless access device, the strength of the received signal is different. In this way, the inner product value obtained during the decoding process is different. The wireless access device can be switched according to the size of the inner product value. For example, the best access point for user 1 is wireless access point 1, and the best access point for user 2 is wireless access point 2, thereby improving the transmission quality of WiFi.
[0102] The above-mentioned WiFi communication method based on orthogonal codes can effectively find the desired signal among numerous WiFi signals around, has the ability to resist interference, and has the function of automatically switching to the best wireless access device. It does not require complex related operations and reduces the amount of calculation. It can be realized by storing the corresponding orthogonal encoding and decoding program in the wireless access device and the electronic device, especially in the increasingly crowded WiFi channels, improving the WiFi throughput and transmission quality, and bringing a better user experience.
[0103] Based on the WiFi communication method applied to the electronic device provided in the above embodiment, the present application also provides a WiFi communication device based on the same inventive concept. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more WiFi communication device embodiments provided below can refer to the limitations on the WiFi communication method above, and will not be repeated here.
[0104] In one embodiment, Fig.10 As shown, a WiFi communication device is provided. The WiFi communication device 1000 includes a receiving module 1001, a decoding module 1002 and a determining module 1003. The receiving module 1001 is used to receive multiple coded signals sent by a wireless access device; wherein the wireless access device pre-stores multiple mutually orthogonal orthogonal codes, the target orthogonal code is one of the multiple orthogonal codes, and the coded signal is a signal generated by the wireless access device using the orthogonal code to encode the initial WiFi signal, and the orthogonal codes used by each coded signal are different. The decoding module 1002 is used to decode each coded signal according to the target orthogonal code, and obtain multiple decoded signals accordingly. The determining module 1003 is used to determine the target WiFi signal according to each decoded signal, and the target WiFi signal is a communication signal between the electronic device and the wireless access device.
[0105] In one embodiment, the decoding module is further used to obtain inner product values of the target orthogonal code and each coded signal, and obtain decoded signals corresponding to each coded signal according to each inner product value. The target WiFi signal is a decoded signal whose inner product value is not 0.
[0106] In one embodiment, the initial WiFi signal includes a binary sequence signal, and the decoding module is further used to obtain the decoding signals corresponding to the encoded signals according to each inner product value and a preset first decoding method; wherein the first decoding method is: determining the inner product value greater than 0 as the binary number 0 and determining the inner product value less than 0 as the binary number 1. The wireless access device is used to encode the initial WiFi signal according to the orthogonal code and the preset first encoding method; wherein the first encoding method is: encoding the binary number 0 in the initial WiFi signal as an orthogonal code, and encoding the binary number 1 in the initial WiFi signal as the inverse code of the orthogonal code.
[0107] In one embodiment, the initial WiFi signal includes a binary sequence signal, and the decoding module is further used to obtain the decoding signals corresponding to the encoded signals according to each inner product value and a preset second decoding method; wherein the second decoding method is: determining the inner product value greater than 0 as a binary number 1 and determining the inner product value less than 0 as a binary number 0. The wireless access device is used to encode the initial WiFi signal according to the orthogonal code and the preset first encoding method; wherein the second encoding method is: encoding the binary number 1 in the initial WiFi signal as an orthogonal code, and encoding the binary number 0 in the initial WiFi signal as the inverse code of the orthogonal code.
[0108] In one embodiment, the WiFi communication device further includes a determination module, which is used to determine the connection status with the wireless access device according to the inner product value corresponding to the target WiFi signal.
[0109] In one embodiment, the determination module is also used to disconnect the connection with the wireless access device when the absolute value of the inner product value corresponding to the target WiFi signal is less than a preset connection threshold, and to maintain the connection with the wireless access device when the absolute value of the inner product value corresponding to the target WiFi signal is greater than or equal to the preset connection threshold.
[0110] In one embodiment, the receiving module is further used to receive initial WiFi signals sent by multiple wireless access devices. The determination is also used to determine the target wireless access device from the multiple wireless access devices based on the strength information of each initial WiFi signal. The WiFi communication device also includes a sending module, which is used to send a target orthogonal code to the target wireless access device.
[0111] Based on the WiFi communication method applied to the wireless access device provided in the above embodiment, the present application also provides another WiFi communication device based on the same inventive concept. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more WiFi communication device embodiments provided below can refer to the limitations on the WiFi communication method above, and will not be repeated here.
[0112] In one embodiment, Fig.11As shown, a WiFi communication device is provided. The WiFi communication device 1100 includes a coding module 1101 and a sending module 1102. The coding module 1101 is used to encode the initial WiFi signal using a plurality of mutually orthogonal orthogonal codes stored in advance, and generate a plurality of coded signals accordingly; wherein the orthogonal code includes a target orthogonal code corresponding to the electronic device, and each coded signal uses a different orthogonal code. The sending module 1102 is used to send each coded signal to instruct the electronic device to decode each coded signal using the target orthogonal code, and determine the target WiFi signal according to the decoded signal corresponding to each coded signal; wherein the target WiFi signal is a communication signal between the wireless access device and the electronic device.
[0113] In one embodiment, the initial WiFi signal includes a binary sequence signal, and the encoding module is further used to encode the initial WiFi signal using a plurality of pre-stored mutually orthogonal orthogonal codes and a preset first encoding method; wherein the first encoding method is: encoding the binary number 0 in the initial WiFi signal as an orthogonal code, and encoding the binary number 1 in the initial WiFi signal as the inverse code of the orthogonal code. The electronic device is used to perform an inner product with each encoded signal according to the target orthogonal code, and obtain a decoded signal corresponding to each encoded signal according to each inner product value and a preset first decoding method; wherein the target WiFi signal is a decoded signal whose inner product value is not 0, and the first decoding method is: determining an inner product value greater than 0 as a binary number 0, and determining an inner product value less than 0 as a binary number 1.
[0114] In one embodiment, the initial WiFi signal includes a binary sequence signal, and the encoding module is further used to encode the initial WiFi signal using a plurality of pre-stored mutually orthogonal orthogonal codes and a preset second encoding method; wherein the second encoding method is: encoding the binary number 1 in the initial WiFi signal as an orthogonal code, and encoding the binary number 0 in the initial WiFi signal as the inverse code of the orthogonal code. The electronic device is used to perform an inner product with each encoded signal according to the target orthogonal code, and obtain a decoded signal corresponding to each encoded signal according to each inner product value and a preset second decoding method; wherein the target WiFi signal is a decoded signal whose inner product value is not 0, and the second decoding method is: determining an inner product value greater than 0 as a binary number 1, and determining an inner product value less than 0 as a binary number 0.
[0115] Each module in the above WiFi communication device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0116] The present application also provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the WiFi communication method applied to the electronic device provided in the above embodiment are implemented.
[0117] The present application also provides a wireless access device, which includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of the wireless fidelity WiFi communication method applied to the wireless access device provided in the above embodiment are implemented.
[0118] The internal structure diagram of the above electronic device or wireless access device can be as follows: Fig.12 As shown. The electronic device or wireless access device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the electronic device or wireless access device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device or wireless access device is used to store orthogonal codes. The network interface of the electronic device or wireless access device is used to communicate with an external terminal through a WiFi network connection. When the computer program is executed by the processor, a WiFi communication method is implemented.
[0119] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device or wireless access device to which the scheme of the present application is applied. The specific electronic device or wireless access device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0120] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the wireless fidelity WiFi communication method described in any of the above embodiments are implemented.
[0121] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the wireless fidelity WiFi communication method described in any of the above embodiments.
[0122] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0123] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A wireless communication method, characterized in that: Applied to an electronic device configured with a target orthogonal code, the method comprises: Receiving multiple coded signals sent by a wireless access device; wherein the wireless access device pre-stores multiple mutually orthogonal orthogonal codes, the target orthogonal code is one of the multiple orthogonal codes, the coded signal is a signal generated by the wireless access device using the orthogonal code to encode an initial WiFi signal, and the orthogonal codes used by each coded signal are different; Decoding each of the coded signals according to the target orthogonal code, and correspondingly obtaining a plurality of decoded signals; A target WiFi signal is determined according to each of the decoded signals, where the target WiFi signal is a communication signal between the electronic device and the wireless access device.
2. The wireless fidelity WiFi communication method according to claim 1, characterized in that: The step of respectively decoding each of the coded signals according to the target orthogonal code to correspondingly obtain a plurality of decoded signals includes: Respectively obtaining inner product values of the target orthogonal code and each of the coded signals; The decoded signals corresponding to the encoded signals are respectively obtained according to the inner product values; wherein the target WiFi signal is a decoded signal whose inner product value is not 0.
3. The wireless fidelity WiFi communication method according to claim 2, characterized in that: The initial WiFi signal includes a binary sequence signal, and the obtaining, according to each inner product value, a decoded signal corresponding to each encoded signal includes: Obtaining decoded signals corresponding to the encoded signals respectively according to the inner product values and a preset first decoding method; wherein the first decoding method is: determining an inner product value greater than 0 as a binary number 0 and determining an inner product value less than 0 as a binary number 1; The wireless access device is used to encode the initial WiFi signal according to the orthogonal code and a preset first encoding method; wherein the first encoding method is: encoding the binary number 0 in the initial WiFi signal as the orthogonal code, and encoding the binary number 1 in the initial WiFi signal as the inverse code of the orthogonal code.
4. The wireless fidelity WiFi communication method according to claim 2, characterized in that: The initial WiFi signal includes a binary sequence signal, and the obtaining, according to each inner product value, a decoded signal corresponding to each encoded signal includes: Obtaining decoded signals corresponding to the encoded signals respectively according to the inner product values and a preset second decoding method; wherein the second decoding method is: determining an inner product value greater than 0 as a binary number 1 and determining an inner product value less than 0 as a binary number 0; The wireless access device is used to encode the initial WiFi signal according to the orthogonal code and a preset first encoding method; wherein the second encoding method is: encoding the binary number 1 in the initial WiFi signal as the orthogonal code, and encoding the binary number 0 in the initial WiFi signal as the inverse code of the orthogonal code.
5. The wireless fidelity WiFi communication method according to claim 2, characterized in that: The method further comprises: A connection state with the wireless access device is determined according to an inner product value corresponding to the target WiFi signal.
6. The wireless fidelity WiFi communication method according to claim 5, characterized in that: The method further comprises: When the absolute value of the inner product value corresponding to the target WiFi signal is less than a preset connection threshold, disconnecting the wireless access device; When the absolute value of the inner product value corresponding to the target WiFi signal is greater than or equal to the preset connection threshold, the connection with the wireless access device is maintained.
7. The wireless fidelity WiFi communication method according to claim 1, characterized in that: The method further comprises: Receiving initial WiFi signals sent by multiple wireless access devices; Determining the target wireless access device from the multiple wireless access devices according to the strength information of each of the initial WiFi signals; The target orthogonal code is sent to the target wireless access device.
8. A wireless fidelity WiFi communication method, characterized in that: Applied to a wireless access device, the method comprises: Encoding the initial WiFi signal using a plurality of mutually orthogonal pre-stored orthogonal codes to generate a plurality of coded signals; wherein the orthogonal codes used by the coded signals are different; Each of the coded signals is sent to instruct the electronic device to decode each of the coded signals using a pre-configured target orthogonal code, and a target WiFi signal is determined according to a decoded signal corresponding to each of the coded signals; wherein the target WiFi signal is a communication signal between the wireless access device and the electronic device, and the target orthogonal code is one of a plurality of the orthogonal codes.
9. The wireless fidelity WiFi communication method according to claim 8, characterized in that: The initial WiFi signal includes a binary sequence signal, and the encoding of the initial WiFi signal using a plurality of mutually orthogonal pre-stored orthogonal codes includes: The initial WiFi signal is encoded using a plurality of pre-stored mutually orthogonal orthogonal codes and a preset first encoding method; wherein the first encoding method is: encoding a binary number 0 in the initial WiFi signal as the orthogonal code, and encoding a binary number 1 in the initial WiFi signal as the inverse code of the orthogonal code; The electronic device is used to perform an inner product with each of the coded signals according to the target orthogonal code, and obtain a decoded signal corresponding to each of the coded signals according to each of the inner product values and a preset first decoding method; wherein the target WiFi signal is a decoded signal whose inner product value is not 0, and the first decoding method is: determining an inner product value greater than 0 as a binary number 0, and determining an inner product value less than 0 as a binary number 1.
10. The wireless fidelity WiFi communication method according to claim 8, characterized in that: The initial WiFi signal includes a binary sequence signal, and the encoding of the initial WiFi signal using a plurality of mutually orthogonal pre-stored orthogonal codes includes: The initial WiFi signal is encoded using a plurality of pre-stored mutually orthogonal orthogonal codes and a preset second encoding method; wherein the second encoding method is: encoding a binary number 1 in the initial WiFi signal as the orthogonal code, and encoding a binary number 0 in the initial WiFi signal as the inverse code of the orthogonal code; The electronic device is used to perform an inner product with each of the coded signals according to the target orthogonal code, and obtain a decoded signal corresponding to each of the coded signals according to each of the inner product values and a preset second decoding method; wherein the target WiFi signal is a decoded signal whose inner product value is not 0, and the second decoding method is: determining an inner product value greater than 0 as a binary number 1, and determining an inner product value less than 0 as a binary number 0.
11. A wireless fidelity WiFi communication system, characterized in that: The system includes at least one wireless access device and at least one electronic device; wherein, The wireless access device is used to encode the initial WiFi signal using a plurality of mutually orthogonal orthogonal codes stored in advance, generate a plurality of coded signals accordingly, and send each of the coded signals; wherein the orthogonal codes used by each of the coded signals are different; The electronic device is used to receive each of the coded signals, and decode each of the coded signals according to a pre-configured target orthogonal code, correspondingly obtain multiple decoded signals, and determine a target WiFi signal according to each of the decoded signals; wherein the target WiFi signal is a communication signal between the electronic device and the wireless access device, and the target orthogonal code is one of the multiple orthogonal codes.
12. The wireless fidelity WiFi communication system according to claim 11, characterized in that: The system comprises at least two electronic devices, each of which is pre-configured with mutually orthogonal codes.
13. The wireless fidelity WiFi communication system according to claim 11, characterized in that: Each of the orthogonal codes is a different column vector or a different row vector in the Walsh matrix.
14. The wireless fidelity WiFi communication system according to claim 11, characterized in that: The electronic device is also used to respectively obtain inner product values of the target orthogonal code and each of the coded signals, and obtain decoded signals corresponding to each of the coded signals according to each of the inner product values; wherein the target WiFi signal is a decoded signal whose inner product value is not 0.
15. The wireless fidelity WiFi communication system according to claim 14, characterized in that: The initial WiFi signal includes a binary sequence signal; wherein, The target wireless access device is further used to encode the initial WiFi signal according to each of the orthogonal codes and a preset first encoding method to generate an encoded signal corresponding to each orthogonal code; wherein the first encoding method is: encoding the binary number 0 in the initial WiFi signal as the orthogonal code, and encoding the binary number 1 in the initial WiFi signal as the inverse code of the orthogonal code; The electronic device is also used to obtain decoding signals corresponding to each of the encoded signals according to each of the inner product values and a preset first decoding method; wherein the first decoding method is: determining an inner product value greater than 0 as a binary number 0 and determining an inner product value less than 0 as a binary number 1.
16. The wireless fidelity WiFi communication system according to claim 14, characterized in that: The initial WiFi signal includes a binary sequence signal; wherein, The target wireless access device is further used to encode the initial WiFi signal according to each of the orthogonal codes and a preset second encoding method to generate an encoded signal corresponding to each orthogonal code; wherein the second encoding method is: encoding the binary number 1 in the initial WiFi signal as the orthogonal code, and encoding the binary number 0 in the initial WiFi signal as the inverse code of the orthogonal code; The electronic device is also used to obtain the decoding signals corresponding to each of the encoded signals according to each of the inner product values and a preset second decoding method; wherein the second decoding method is: determining the inner product value greater than 0 as the binary number 1 and determining the inner product value less than 0 as the binary number 0.
17. The wireless WiFi communication system according to claim 14, characterized in that: The electronic device is further configured to determine a connection status with the wireless access device according to an inner product value of the target WiFi signal.
18. The wireless fidelity WiFi communication system according to claim 17, characterized in that: The electronic device is also used to disconnect the connection with the wireless access device when the absolute value of the inner product value of the target WiFi signal that is not zero is less than a preset connection threshold, and to maintain the connection with the wireless access device when the absolute value of the inner product value of the target WiFi signal that is not zero is greater than or equal to the preset connection threshold.
19. The wireless fidelity WiFi communication system according to claim 11, characterized in that: The system comprises at least two wireless access devices; wherein, Each of the wireless access devices is further used to send an initial WiFi signal, where the initial WiFi signal is a signal that is not encoded using each of the orthogonal codes; The terminal device is also used to receive the initial WiFi signal sent by each of the wireless access devices, and determine the target wireless access device from the multiple wireless access devices according to the strength information of each of the initial WiFi signals, and send the target orthogonal code to the target wireless access device.
20. A wireless fidelity WiFi communication device, characterized in that: include: A receiving module, configured to receive multiple coded signals sent by a wireless access device; wherein the wireless access device pre-stores multiple mutually orthogonal orthogonal codes, the target orthogonal code is one of the multiple orthogonal codes, the coded signal is a signal generated by the wireless access device using the orthogonal code to encode an initial WiFi signal, and the orthogonal codes used by each coded signal are different; A decoding module, used for respectively decoding each of the coded signals according to the target orthogonal code, and correspondingly obtaining a plurality of decoded signals; The determination module is used to determine a target WiFi signal according to each of the decoded signals, where the target WiFi signal is a communication signal between the electronic device and the wireless access device.
21. A wireless fidelity WiFi communication device, characterized in that: include: A coding module, used to encode the initial WiFi signal using a plurality of mutually orthogonal orthogonal codes stored in advance, and generate a plurality of coded signals accordingly; wherein the orthogonal code includes a target orthogonal code corresponding to the electronic device, and the orthogonal codes used by the coded signals are different; A sending module is used to send each of the coded signals to instruct the electronic device to decode each of the coded signals using the target orthogonal code, and determine a target WiFi signal according to a decoded signal corresponding to each of the coded signals; wherein the target WiFi signal is a communication signal between the wireless access device and the electronic device.
22. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the wireless fidelity WiFi communication method according to any one of claims 1 to 7 are implemented.
23. A wireless access device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the wireless fidelity WiFi communication method according to any one of claims 8 to 10 are implemented.
24. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the wireless fidelity WiFi communication method according to any one of claims 1 to 7 or the steps of the wireless fidelity WiFi communication method according to any one of claims 8 to 10 are implemented.
25. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the wireless fidelity WiFi communication method according to any one of claims 1 to 7 or the steps of the wireless fidelity WiFi communication method according to any one of claims 8 to 10 are implemented.
