Wireless communication method, terminal device, cloud server and computer storage medium
By using the candidate frequency band and signal quality parameters provided by the cloud server in the terminal device to select the best frequency band for wireless communication, the problems of poor communication performance and high power consumption in weak signal environments are solved, and communication performance and standby time are improved.
Patent Information
- Application Number
- CN202411081213.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-11-01
AI Technical Summary
In a weak signal environment, the mobile phone needs to continuously scan all frequency bands to connect to the network, resulting in poor communication performance and high power consumption, shortening standby time.
By sending the current location to the cloud server in the terminal device, receiving candidate frequency bands and signal quality parameters, selecting the target frequency bands according to the signal quality for wireless communication, avoiding scanning of all frequency bands.
Improve communication performance, shorten communication interrupt time, reduce power consumption, and extend the standby time of terminal equipment.
Smart Images

Figure CN118890696A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a wireless communication method, terminal equipment, cloud server and computer storage medium. Background Art
[0002] When entering a weak signal environment, the phone will continuously scan all frequency bands. During the frequency band scanning process, the phone cannot quickly connect to the current environment network, which may cause the phone communication to be interrupted. At the same time, the phone needs to increase the output power to perform the scanning of each frequency band, which will greatly shorten the standby time of the phone.
[0003] It can be seen that common wireless communication methods have the problems of poor communication performance and high network search power consumption in weak signal scenarios. Summary of the invention
[0004] The embodiments of the present application provide a wireless communication method, a terminal device, a cloud server and a computer storage medium, which can improve communication performance and reduce network search power consumption.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a wireless communication method, which is applied to a terminal device, and the method includes:
[0007] When the current communication scenario is determined to be a weak signal scenario based on the current location, sending the current location to the cloud server;
[0008] Receiving a candidate frequency band corresponding to the current location and a signal quality parameter corresponding to the candidate frequency band sent by the cloud server; wherein the candidate frequency band and the signal quality parameter are determined by the cloud server based on a historical communication database;
[0009] Determine a network search frequency band in the candidate frequency bands according to the signal quality parameter, and determine a target frequency band corresponding to the current position based on the network search frequency band;
[0010] Wireless communication is performed based on the target frequency band.
[0011] In a second aspect, an embodiment of the present application provides a wireless communication method, which is applied to a cloud server, and the method includes:
[0012] Receiving the current location sent by the terminal device;
[0013] Determine a historical communication database corresponding to the current location, and determine a candidate frequency band and a signal quality parameter corresponding to the candidate frequency band based on the historical communication database;
[0014] The candidate frequency band and a signal quality parameter corresponding to the candidate frequency band are sent to the terminal device, so that the terminal device performs wireless communication based on the candidate frequency band and the signal quality parameter.
[0015] In a third aspect, an embodiment of the present application provides a terminal device, wherein the terminal device includes:
[0016] A first sending unit, configured to send the current location to a cloud server when the current communication scenario is determined to be a weak signal scenario based on the current location;
[0017] A first receiving unit is used to receive a candidate frequency band corresponding to the current position and a signal quality parameter corresponding to the candidate frequency band sent by the cloud server; wherein the candidate frequency band and the signal quality parameter are determined by the cloud server based on a historical communication database;
[0018] A first determining unit, configured to determine a network search frequency band in the candidate frequency bands according to the signal quality parameter, and determine a target frequency band corresponding to the current position based on the network search frequency band;
[0019] A communication unit is used for performing wireless communication based on the target frequency band.
[0020] In a fourth aspect, an embodiment of the present application provides a cloud server, the cloud server comprising:
[0021] A second receiving unit, used for receiving the current location sent by the terminal device;
[0022] A second determining unit, configured to determine a historical communication database corresponding to the current location, and determine a candidate frequency band and a signal quality parameter corresponding to the candidate frequency band based on the historical communication database;
[0023] The second sending unit is used to send the candidate frequency band and the signal quality parameter corresponding to the candidate frequency band to the terminal device, so that the terminal device performs wireless communication based on the candidate frequency band and the signal quality parameter.
[0024] In a fifth aspect, an embodiment of the present application provides a terminal device, which includes a processor and a memory storing instructions executable by the processor. When the instructions are executed by the processor, the method described in the first aspect is implemented.
[0025] In a sixth aspect, an embodiment of the present application provides a cloud server, comprising a processor and a memory storing instructions executable by the processor, wherein when the instructions are executed by the processor, the method described in the second aspect is implemented.
[0026] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, the method described in the first aspect above is implemented, or the method described in the second aspect above is implemented.
[0027] The embodiment of the present application provides a wireless communication method, a terminal device, a cloud server and a computer storage medium. When the terminal device determines that the current communication scenario is a weak signal scenario based on the current location, the terminal device sends the current location to the cloud server; receives the candidate frequency band corresponding to the current location and the signal quality parameter corresponding to the candidate frequency band sent by the cloud server; wherein the candidate frequency band and the signal quality parameter are determined by the cloud server based on the historical communication database; determines the network search frequency band in the candidate frequency band according to the signal quality parameter, and determines the target frequency band corresponding to the current location based on the network search frequency band; and performs wireless communication based on the target frequency band. The cloud server receives the current location sent by the terminal device; determines the historical communication database corresponding to the current location, and determines the candidate frequency band and the signal quality parameter corresponding to the candidate frequency band based on the historical communication database; sends the candidate frequency band and the signal quality parameter corresponding to the candidate frequency band to the terminal device, so that the terminal device performs wireless communication based on the candidate frequency band and the signal quality parameter. That is to say, in the embodiment of the present application, in the case of a weak signal scenario, the candidate frequency band corresponding to the current location can be obtained from the cloud server, and the network search frequency band can be selected according to the signal quality parameter of the candidate frequency band for network search, so that the target frequency band with the best signal quality can be obtained for wireless communication. It can be seen that in the embodiments of the present application, the network search frequency band is determined and the network search process is performed in combination with the candidate frequency bands obtained from the historical communication database, so that the target frequency band corresponding to the current position can be quickly found, which can not only shorten the communication interruption time as much as possible and improve the communication performance, but also solve the problem of high power consumption caused by continuous scanning of all frequency bands and increase the standby time of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 Schematic diagram of the implementation process of the wireless communication method proposed in the embodiment of the present application Figure 1 ;
[0029] Figure 2 A schematic diagram of the composition of a wireless communication system proposed in an embodiment of the present application;
[0030] Figure 3 Schematic diagram of the implementation process of the wireless communication method proposed in the embodiment of the present application Figure 2 ;
[0031] Figure 4 Schematic diagram of the implementation process of the wireless communication method proposed in the embodiment of the present application Figure 3 ;
[0032] Figure 5 Schematic diagram of the implementation process of the wireless communication method proposed in the embodiment of the present application Figure 4 ;
[0033] Figure 6 Schematic diagram of the implementation process of the wireless communication method proposed in the embodiment of the present application Figure 5 ;
[0034] Figure 7 A schematic diagram of a wireless communication method proposed in an embodiment of the present application;
[0035] Figure 8 Schematic diagram of the structure of the terminal device proposed in the embodiment of the present application Figure 1 ;
[0036] Fig. 9 Schematic diagram of the structure of the terminal device proposed in the embodiment of the present application Figure 2 ;
[0037] Fig.10 Schematic diagram of the structure of the cloud server proposed in this application embodiment Figure 1 ;
[0038] Fig.11 Schematic diagram of the structure of the cloud server proposed in this application embodiment Figure 2 . DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It is understood that the specific embodiments described herein are only used to explain the difference application, rather than to limit the application. It should also be noted that, for the convenience of description, only the parts that are different from the related applications are shown in the drawings.
[0040] Affected by the environment and other factors, the signal strength of mobile terminals, such as mobile phones, varies in different locations. For example, when entering a weak signal environment, the mobile phone will continuously scan all frequency bands (including but not limited to 2G, 3G, 4G, and 5G). During the frequency band scanning process, the mobile phone cannot quickly connect to the current environment network. At the same time, the mobile phone needs to increase the output power to perform the scanning of each frequency band.
[0041] It can be seen that the mobile phone cannot quickly connect to the current environment network due to the comprehensive scanning of each frequency band, which will cause the mobile phone communication to be interrupted. At the same time, the high-power working network search of the mobile phone communication system will reduce the standby time of the mobile phone.
[0042] That is to say, common wireless communication methods have the problems of poor communication performance and high network search power consumption in weak signal scenarios.
[0043] The embodiment of the present application provides a wireless communication method, the embodiment of the present application provides a wireless communication method, a terminal device, a cloud server and a computer storage medium, when the terminal device determines that the current communication scenario is a weak signal scenario based on the current location, the terminal device sends the current location to the cloud server; receives the candidate frequency band corresponding to the current location and the signal quality parameters corresponding to the candidate frequency band sent by the cloud server; wherein the candidate frequency band and the signal quality parameters are determined by the cloud server based on the historical communication database; determines the network search frequency band in the candidate frequency band according to the signal quality parameters, and determines the target frequency band corresponding to the current location based on the network search frequency band; and performs wireless communication based on the target frequency band. The cloud server receives the current location sent by the terminal device; determines the historical communication database corresponding to the current location, and determines the candidate frequency band and the signal quality parameters corresponding to the candidate frequency band based on the historical communication database; sends the candidate frequency band and the signal quality parameters corresponding to the candidate frequency band to the terminal device, so that the terminal device performs wireless communication based on the candidate frequency band and the signal quality parameters. That is to say, in the embodiment of the present application, in the case of a weak signal scenario, the candidate frequency band corresponding to the current position can be obtained from the cloud server, and the network search frequency band can be selected according to the signal quality parameters of the candidate frequency band for network search, so that the target frequency band with the best signal quality can be obtained for wireless communication. It can be seen that in the embodiment of the present application, the network search frequency band is determined and the network search process is performed in combination with the candidate frequency band obtained from the historical communication database, and the target frequency band corresponding to the current position can be quickly found, which can shorten the communication interruption time as much as possible and improve the communication performance. At the same time, it can solve the problem of high power consumption caused by continuous scanning of all frequency bands and increase the standby time of the terminal device.
[0044] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0045] An embodiment of the present application provides a wireless communication method, which can be applied to a terminal device and can also be applied to any device with a wireless communication function, and is not specifically limited in the present application.
[0046] Below, taking a terminal device as an example, the wireless communication method proposed in an embodiment of the present application is exemplarily described.
[0047] Furthermore, in the embodiments of the present application, Figure 1 Schematic diagram of the implementation process of the wireless communication method proposed in the embodiment of the present application Figure 1 ,like Figure 1 As shown, the wireless communication method may include the following steps:
[0048] Step 101: When the current communication scenario is determined to be a weak signal scenario based on the current location, the current location is sent to a cloud server.
[0049] In an embodiment of the present application, the terminal device may first determine the current location, and then determine whether the current communication scenario is a weak signal scenario based on the current location. If it is a weak signal scenario, the terminal device may further send the current location to the cloud server.
[0050] Furthermore, in an embodiment of the present application, the implementation scenario of the wireless communication method may be a communication system including a terminal device and a cloud server, wherein data can be transmitted between the terminal device and the cloud server via an established link.
[0051] For example, in some embodiments, Figure 2 A schematic diagram of the composition of a wireless communication system proposed in an embodiment of the present application is shown in FIG. Figure 2 As shown, after the terminal device establishes a connection with the cloud server, it can send messages and / or data to the cloud server, and can also receive messages and / or data sent by the cloud server.
[0052] It is understandable that in the embodiment of the present application, the terminal device may be configured with an antenna module, wherein the antenna module may be used to perform positioning processing. Accordingly, the terminal device may determine the location information at the current moment, that is, determine the current location, through the configured antenna module.
[0053] Further, in an embodiment of the present application, after determining the current position, the terminal device determines whether the current communication scenario is a weak signal scenario based on the current position. If the current position belongs to a preset position area, the current communication scenario is determined to be a weak signal scenario.
[0054] It is understood that in the embodiments of the present application, the preset location area can be used to indicate and determine the location or area with poor network signal quality. Among them, the embodiments of the present application do not limit the determination method of the preset location area. For example, the preset location area can be determined by the terminal device in response to the received setting instruction, or the preset location area can be determined based on the historical network signal quality of different locations, or the preset location area can be sent directly to the terminal device by the cloud server.
[0055] Furthermore, in an embodiment of the present application, the preset location area may include, but is not limited to, one or more of the following location areas: a subway area, an elevator area, a factory workshop area, a preset sea area, and a mountain forest area.
[0056] It can be understood that in the embodiments of the present application, for some locations or areas, such as subways, elevators, mountains and forests, there may be weak network signals. Therefore, when in these locations or areas with poor network signal quality, it can be determined as a weak signal scenario.
[0057] Exemplarily, in some embodiments, after determining the current location, if the current location belongs to a subway area, the terminal device may determine that the communication scenario at the current moment (ie, the current communication scenario) is a weak signal scenario.
[0058] Exemplarily, in some embodiments, after determining the current location, if the current location belongs to a mountainous area, the terminal device can determine that the communication scenario at the current moment (ie, the current communication scenario) is a weak signal scenario.
[0059] Furthermore, in the embodiments of the present application, a weak signal scenario can be understood as a scenario that cannot support all frequency bands, that is, in a weak signal scenario, the terminal device may only be able to reside in some frequency bands and cannot successfully reside in any frequency band.
[0060] For example, in some embodiments, assuming that the current location belongs to station A in the subway area, the terminal device may not be able to access the 5G network at this time. assuming that the current location belongs to station X in the subway area, the terminal device may not be able to access the 5G network and the 4G network at this time.
[0061] That is to say, in the embodiment of the present application, when the current communication scenario is a weak signal scenario, the network that the terminal device can access may be different for different current locations. Therefore, when the current communication scenario is determined to be a weak signal scenario based on the current location, the terminal device can send the current location information to the cloud server, that is, send the current location to the cloud server, so that the candidate frequency band corresponding to the current location and the signal quality parameter corresponding to the candidate frequency band can be obtained from the cloud server.
[0062] Step 102: Receive a candidate frequency band corresponding to the current location and a signal quality parameter corresponding to the candidate frequency band sent by a cloud server; wherein the candidate frequency band and the signal quality parameter are determined by the cloud server based on a historical communication database.
[0063] In an embodiment of the present application, if the current communication scenario is determined to be a weak signal scenario based on the current location, then after the terminal device sends the current location to the cloud server, it can receive the candidate frequency band corresponding to the current location and the signal quality parameters corresponding to the candidate frequency band sent by the cloud server.
[0064] It is understandable that, in the embodiment of the present application, the signal quality parameter corresponding to the candidate frequency band can be used to determine the signal quality of the candidate frequency band. The embodiment of the present application does not limit the specific type of the signal quality parameter.
[0065] Exemplarily, in some embodiments, the signal quality parameter may include but is not limited to any one of signal strength, signal-to-noise ratio, link quality, and channel capacity, or may be a parameter determined based on one or more of signal strength, signal-to-noise ratio, link quality, and channel capacity.
[0066] Exemplarily, in some embodiments, after sending the current location to the cloud server, the terminal device can receive a candidate frequency band corresponding to the current location and a signal strength corresponding to the candidate frequency band sent by the cloud server.
[0067] Exemplarily, in some embodiments, after sending the current location to the cloud server, the terminal device can receive a candidate frequency band corresponding to the current location and a signal-to-noise ratio corresponding to the candidate frequency band sent by the cloud server.
[0068] Furthermore, in an embodiment of the present application, the candidate frequency bands and signal quality parameters received by the terminal device are determined by the cloud server based on a historical communication database.
[0069] It should be noted that in an embodiment of the present application, the cloud server can pre-build a historical communication database, wherein the historical communication database corresponds to a preset location area, and different preset location areas correspond to different historical communication databases. For the historical communication database corresponding to any preset location area, the signal quality parameters of the supportable frequency band and the connectable frequency band corresponding to the preset location area are stored.
[0070] It can be understood that in the embodiments of the present application, when the cloud server constructs a historical communication database corresponding to a preset location area, it can collect, for any preset location area, various frequency bands and the signal strength (signal quality parameters) of each frequency band under different handshakes of different terminal devices within the preset location area within a period of time (preset collection period), and finally, based on the various frequency bands and the signal strength of each frequency band collected within this period of time, construct a historical communication database corresponding to the preset location area.
[0071] Furthermore, in an embodiment of the present application, the candidate frequency band sent by the cloud server and received by the terminal device may be one or more connectable frequency bands in a preset location area corresponding to the current location of the terminal device, that is, the candidate frequency band belongs to the connectable frequency band corresponding to the current location.
[0072] It can be understood that in the embodiments of the present application, the number of candidate frequency bands can be one or more. For example, the number of candidate frequency bands sent by the cloud server can be 1 or 5, and the present application does not make specific limitations.
[0073] That is to say, in an embodiment of the present application, when the current communication scenario of the terminal device is determined to be a weak signal scenario based on the current position, since the terminal device may not be able to access the entire network, the terminal device does not directly scan all frequency bands, but chooses to send the current position to the cloud server, and receives the candidate frequency bands corresponding to the current position and the signal quality parameters corresponding to the candidate frequency bands sent by the cloud server.
[0074] Step 103: Determine a network search frequency band from the candidate frequency bands according to the signal quality parameter, and determine a target frequency band corresponding to the current position based on the network search frequency band.
[0075] In an embodiment of the present application, after receiving the candidate frequency band corresponding to the current location and the signal quality parameters corresponding to the candidate frequency band sent by the cloud server, the network search frequency band can be further determined in the candidate frequency band according to the signal quality parameters, and then the target frequency band corresponding to the current location can be determined based on the network search frequency band.
[0076] It is understandable that in the embodiment of the present application, the network search frequency band may be one or more frequency bands in the candidate frequency bands determined based on the signal quality parameter for performing the network search process. The present application does not specifically limit the number of network search frequency bands.
[0077] That is to say, in an embodiment of the present application, after receiving multiple candidate frequency bands sent by the cloud server, the multiple candidate frequency bands can be screened by signal quality parameters, and one or more frequency bands with better signal quality can be selected from the multiple candidate frequency bands for network search processing.
[0078] It can be understood that in the embodiment of the present application, if a candidate frequency band is received from the cloud server, the candidate frequency band can be directly used as the corresponding network search frequency band.
[0079] Exemplarily, in some embodiments, assuming that the candidate frequency band is frequency band 1, then the finally determined network search frequency band is frequency band 1.
[0080] Furthermore, in an embodiment of the present application, when determining a network search frequency band among candidate frequency bands according to signal quality parameters, one or more frequency bands with the best signal quality can be determined among the candidate frequency bands based on the signal quality parameters, thereby determining one or more frequency bands with the best signal quality as the network search frequency band.
[0081] Exemplarily, in some embodiments, assuming that the signal quality parameter is signal strength, the candidate frequency bands are band 1, band 2, band 3, band 4, and band 5, wherein the order of signal strength of the candidate frequency bands from strong to weak is band 3, band 2, band 1, band 4, and band 5. Then, based on the signal strength of the candidate frequency bands, two network search frequency bands can be determined, namely band 3 and band 2.
[0082] Exemplarily, in some embodiments, assuming that the signal quality parameter is the signal-to-noise ratio, the candidate frequency bands are band 1, band 2, band 3, band 4, and band 5, wherein the signal-to-noise ratios of the candidate frequency bands are in the order of band 5, band 3, band 4, band 1, and band 2 from large to small. Then, based on the signal-to-noise ratios of the candidate frequency bands, one network search frequency band can be determined, which is band 5.
[0083] It can be understood that in the embodiment of the present application, the target frequency band corresponding to the current position may be the frequency band to be accessed when the terminal device is at the current position.
[0084] Further, in an embodiment of the present application, when determining a target frequency band corresponding to a current position based on a network search frequency band, a network search can be performed based on the network search frequency band to determine a network search result corresponding to the network search frequency band; finally, the target frequency band can be determined in the network search frequency band based on the network search result.
[0085] It can be understood that in an embodiment of the present application, after selecting a network search frequency band from the candidate frequency bands, network search processing can be performed based on the network search frequency band to obtain a network search result including a reference signal receiving power corresponding to the network search frequency band, and then a frequency band with the largest reference signal receiving power can be used as the final target frequency band and reside in the target frequency band.
[0086] Reference Signal Receiving Power (RSRP) refers to the power of a specific signal transmitted by a base station and received by a user device. It is an important indicator that can be used to measure the power of the signal transmitted by the base station and received by the user device, as well as the distance between the user device and the base station. Through RSRP, the strength of the signal and the quality of signal transmission can be evaluated.
[0087] It can be understood that in the embodiments of the present application, the network search is performed based on the screened network search frequency bands, that is, the network search frequency bands are scanned, and the RSRP of each network search frequency band is determined, among which the network search frequency band with the largest RSRP can be considered as the best frequency band corresponding to the current location, that is, the target frequency band, and then the target frequency band can be selected to receive and / or send data.
[0088] Further, in an embodiment of the present application, when determining the target frequency band corresponding to the current position based on the network search frequency band, the current working mode can be determined first; then the network can be searched based on the network search frequency band and the current working mode to determine the network search results corresponding to the network search frequency band; finally, the target frequency band can be determined in the network search frequency band based on the network search results.
[0089] It is understandable that in the embodiments of the present application, the current working mode can be used to determine the working condition or operating state of the terminal device at the current moment. The current working mode includes but is not limited to game mode, video mode, audio mode, call mode, standby state, etc.
[0090] Furthermore, in an embodiment of the present application, for different working modes, the corresponding antennas, radio frequency links or communication parameters used may be different. Therefore, the corresponding antennas, radio frequency links or communication parameters can be selected according to the current working mode corresponding to the terminal device.
[0091] That is to say, in an embodiment of the present application, when searching the network, the current working mode of the terminal device can be combined and the antenna, RF link or communication parameters corresponding to the current working mode can be used to search the network. The network search results obtained can be more in line with the requirements of the current working mode, thereby improving the accuracy of the network search results. Finally, based on the network search results, the best target frequency band can be selected for access.
[0092] Further, in an embodiment of the present application, when determining a target frequency band in the network searching frequency band according to the network searching result, a frequency band in the network searching frequency band with the largest reference signal receiving power may be selected as the target frequency band.
[0093] Exemplarily, in some embodiments, assuming that the network search frequency bands are frequency band 3 and frequency band 2, the reference signal receiving power of the network search frequency band is determined after the network search is performed based on the network search frequency band. If the reference signal receiving power of frequency band 3 is greater than the reference signal receiving power of frequency band 2, then frequency band 3 can be determined as the final target frequency band.
[0094] Exemplarily, in some embodiments, assuming that the network search frequency band is frequency band 1, then the target frequency band finally determined is frequency band 1.
[0095] Step 104: Perform wireless communication based on the target frequency band.
[0096] In an embodiment of the present application, after determining the network search frequency band in the candidate frequency bands according to the signal quality parameter and determining the target frequency band corresponding to the current position based on the network search frequency band, wireless communication can be further performed based on the target frequency band. In particular, the communication mode can be first determined based on the reference signal received power of the target frequency band, and then wireless communication can be performed according to the communication mode.
[0097] Furthermore, in an embodiment of the present application, when the communication mode is determined based on the reference signal received power of the target frequency band, when the reference signal received power of the target frequency band is less than or equal to a preset threshold, the communication mode is determined to be a weak signal mode; when the reference signal received power of the target frequency band is greater than the preset threshold, the communication mode is determined to be a non-weak signal mode.
[0098] It is understandable that in the case of a weak signal scenario, the network accessed by the terminal device may have poor network quality, so it is necessary to further determine the quality of the target frequency band to be accessed. Among them, the terminal device can choose to compare the reference signal receiving power of the target frequency band with a preset threshold, and then further determine the communication mode corresponding to the target frequency band based on the comparison result.
[0099] Further, in an embodiment of the present application, a preset threshold value may be used to measure the signal quality of the target frequency band. The value of the preset threshold value may be any value, which is not specifically limited in the present application. For example, the preset threshold value may be -95.
[0100] It can be understood that in an embodiment of the present application, if the comparison result of the reference signal received power of the target frequency band and the preset threshold is that the reference signal received power of the target frequency band is less than or equal to the preset threshold, then it can be considered that the signal quality of the target frequency band currently accessed by the terminal device is poor, and the communication mode can be determined to be a weak signal mode.
[0101] Accordingly, in an embodiment of the present application, if the comparison result between the reference signal received power of the target frequency band and the preset threshold is that the reference signal received power of the target frequency band is greater than the preset threshold, then it can be considered that the signal quality of the target frequency band currently accessed by the terminal device is normal, and then it can be determined that the communication mode is not a weak signal mode, that is, the communication mode is a normal mode.
[0102] Exemplarily, in some embodiments, assuming that the preset threshold is -80, if the target frequency band is determined to be frequency band 2 after searching the network, and the corresponding reference signal receiving power is -115, which is less than the preset threshold, then it can be determined that the signal quality of the target frequency band currently accessed by the terminal device is poor, and the communication mode can be determined to be a weak signal mode.
[0103] Furthermore, in an embodiment of the present application, when wireless communication is performed according to a communication mode, when the communication mode is a weak signal mode, wireless communication is performed through a communication enhancement method; wherein the communication enhancement method includes at least one or more of the following methods: a network transmission diversity method, an extreme communication method.
[0104] That is, in an embodiment of the present application, if the communication mode is determined to be a weak signal mode based on the reference signal received power of the target frequency band, then signal quality enhancement is required, for example, wireless communication is performed by means of communication enhancement.
[0105] It can be understood that in the embodiments of the present application, any communication enhancement method can be used to enhance signal quality, wherein the communication enhancement method includes but is not limited to a network transmission diversity method and an extreme communication method.
[0106] Accordingly, in an embodiment of the present application, if the communication mode is determined to be a non-weak signal mode based on the reference signal receiving power of the target frequency band, there is no need to enhance the signal quality, but data and / or information is received and / or sent in a conventional manner after accessing the target frequency band.
[0107] Furthermore, in the embodiments of the present application, Figure 3 Schematic diagram of the implementation process of the wireless communication method proposed in the embodiment of the present application Figure 2 ,like Figure 3 As shown, the wireless communication method may include the following steps:
[0108] Step 105: Record the real-time moving distance corresponding to the current position.
[0109] In an embodiment of the present application, after performing wireless communication according to the communication mode, the terminal device can also record the position offset in real time, that is, record the real-time moving distance corresponding to the current position.
[0110] It can be understood that in the embodiments of the present application, as the position changes, the signal quality of the target frequency band where the terminal device resides may change, and accordingly, the corresponding communication mode of the terminal device may also change. Therefore, the terminal device can record the position changes in real time based on the current position and obtain the real-time moving distance.
[0111] Step 106: When the real-time moving distance is greater than or equal to the distance threshold, re-determine the reference signal received power of the target frequency band, and determine the communication mode again based on the reference signal received power of the target frequency band.
[0112] In an embodiment of the present application, after performing wireless communication according to the communication mode and recording the real-time moving distance corresponding to the current position, if the real-time moving distance is greater than or equal to the distance threshold, the reference signal receiving power of the target frequency band can be re-determined, and the communication mode can be determined again based on the reference signal receiving power of the target frequency band.
[0113] It should be noted that, in the embodiment of the present application, the distance threshold may be used to determine whether the communication mode may change. The distance threshold may be any value greater than 0, and the present application does not specifically limit it.
[0114] It is understandable that in the embodiment of the present application, the terminal device can compare the real-time moving distance with the distance threshold, and then determine whether the communication mode is likely to change based on the comparison result. If the comparison result is that the real-time moving distance is greater than or equal to the distance threshold, then it can be considered that the terminal device has a large position offset based on the current position, and the communication mode is likely to change. Therefore, the reference signal received power of the target frequency band can be re-determined, so that the communication mode can be determined again based on the reference signal received power of the target frequency band.
[0115] Accordingly, in an embodiment of the present application, if the comparison result is that the real-time moving distance is less than the distance threshold, then it can be considered that the terminal device has no position offset based on the current position or only has a small position offset, and the communication mode will not change. Therefore, the communication enhancement method can continue to be used for wireless communication.
[0116] Exemplarily, in some embodiments, assuming that the preset threshold is -80 and the distance threshold is 10, if the target frequency band is determined to be frequency band 2 after searching the network, and the corresponding reference signal receiving power is -115, it can be determined that the communication mode is a weak signal mode, and wireless communication is performed through the communication enhancement method; then the real-time moving distance can be recorded. If the real-time moving distance determined at a certain moment is 3, which is less than the distance threshold, it can be determined that the communication mode has not changed, and therefore wireless communication can continue in the communication enhancement method.
[0117] Exemplarily, in some embodiments, assuming that the preset threshold is -80 and the distance threshold is 10, if the target frequency band is determined to be frequency band 2 after searching the network, and the corresponding reference signal receiving power is -115, the communication mode can be determined to be a weak signal mode, and wireless communication can be performed through a communication enhancement method; then the real-time moving distance can be recorded. If the real-time moving distance determined at a certain moment is 15, which is greater than the distance threshold, then it can be considered that the communication mode has changed, and therefore the reference signal receiving power of frequency band 2 can be re-determined. If the re-determined reference signal receiving power is -75, which is greater than the preset threshold, then the communication mode can be re-determined as a non-weak signal mode, and then there is no need to perform wireless communication through a communication enhancement method, but instead wireless communication can be performed in a conventional manner.
[0118] To summarize, through the wireless communication method proposed in steps 101 to 105, in a weak signal environment (weak signal scenario) such as a subway, the optimal communication mode can be locked more quickly, the risk of data interruption can be reduced, and communication performance can be improved. At the same time, the problem of increased power consumption caused by scanning all frequency bands can be avoided, thereby improving standby time.
[0119] The embodiment of the present application provides a wireless communication method, in which the terminal device sends the current position to the cloud server when the current communication scene is determined to be a weak signal scene based on the current position; receives the candidate frequency band corresponding to the current position and the signal quality parameter corresponding to the candidate frequency band sent by the cloud server; wherein the candidate frequency band and the signal quality parameter are determined by the cloud server based on the historical communication database; determines the network search frequency band in the candidate frequency band according to the signal quality parameter, and determines the target frequency band corresponding to the current position based on the network search frequency band; and performs wireless communication based on the target frequency band. That is to say, in the embodiment of the present application, in the case of a weak signal scene, the candidate frequency band corresponding to the current position can be obtained from the cloud server, and the network search frequency band can be selected according to the signal quality parameter of the candidate frequency band for network search, so that the target frequency band with the best signal quality can be obtained for wireless communication. It can be seen that in the embodiment of the present application, the network search frequency band is determined and the network search processing is performed in combination with the candidate frequency band obtained from the historical communication database, so that the target frequency band corresponding to the current position can be quickly found, which can shorten the communication interruption time as much as possible and improve the communication performance. At the same time, it can solve the problem of high power consumption caused by continuously scanning all frequency bands, and increase the standby time of the terminal device.
[0120] An embodiment of the present application provides a wireless communication method, which can be applied to a cloud server or any device with a wireless communication function, and is not specifically limited in the present application.
[0121] Below, taking a cloud server as an example, the wireless communication method proposed in an embodiment of the present application is exemplarily described.
[0122] Furthermore, in the embodiments of the present application, Figure 4 Schematic diagram of the implementation process of the wireless communication method proposed in the embodiment of the present application Figure 3 ,like Figure 4 As shown, the wireless communication method may include the following steps:
[0123] Step 401: Receive the current location sent by the terminal device.
[0124] In an embodiment of the present application, the cloud server may receive the current location sent by the terminal device, wherein the current location may be the location information of the terminal device at the current moment.
[0125] It can be understood that in an embodiment of the present application, the cloud server can receive the current location sent by the terminal device after the terminal device determines that the corresponding current communication scenario is a weak signal scenario based on the current location.
[0126] Step 402: Determine a historical communication database corresponding to the current location, and determine candidate frequency bands and signal quality parameters corresponding to the candidate frequency bands based on the historical communication database.
[0127] In an embodiment of the present application, after receiving the current location sent by the terminal device, the cloud server can determine the historical communication database corresponding to the current location, and then determine the candidate frequency band corresponding to the current location and the signal quality parameters of the candidate frequency band based on the historical communication database.
[0128] It should be noted that, in an embodiment of the present application, the cloud server may first obtain the communication connection data corresponding to the preset location area according to a preset collection period.
[0129] It is understood that in the embodiments of the present application, the preset location area can be used to indicate and determine the location or area where the network signal quality is poor. Among them, the embodiments of the present application do not limit the determination method of the preset location area. For example, the preset location area can be determined by the cloud server in response to the received setting instruction, or the preset location area can be determined based on the historical network signal quality of different locations, or the preset location area can be sent directly to the cloud server by the terminal device.
[0130] Furthermore, in an embodiment of the present application, the preset location area may include, but is not limited to, one or more of the following location areas: a subway area, an elevator area, a factory workshop area, a preset sea area, and a mountain forest area.
[0131] It can be understood that in the embodiments of the present application, for some locations or areas, such as subways, elevators, forests and other areas, there may be weak network signals. Therefore, the cloud server can collect communication connection data for these locations or areas with poor network signal quality, and thus construct a historical communication database based on the collected communication connection data.
[0132] It should be noted that in the embodiments of the present application, the cloud server can collect and obtain the communication connection data corresponding to the preset location area according to the preset collection period. Among them, the preset collection period can be set based on different preset location areas, or it can be uniformly set to a fixed value for different preset location areas, and this application does not specifically limit it.
[0133] Exemplarily, in some embodiments, assuming that the preset location area includes a subway and an elevator, the collection period for the subway can be set to 5 days, and the collection period for the elevator can be set to 10 days; the collection periods for the subway and the elevator can also be uniformly set to 5 days.
[0134] It should be noted that, in the embodiments of the present application, the communication connection data may include but is not limited to a connectable frequency band in a preset location area and a signal quality parameter of the connectable frequency band.
[0135] Exemplarily, in some embodiments, the signal quality parameter may include but is not limited to any one of signal strength, signal-to-noise ratio, link quality, and channel capacity, or may be a parameter determined based on one or more of signal strength, signal-to-noise ratio, link quality, and channel capacity.
[0136] Furthermore, in an embodiment of the present application, after acquiring the communication connection data corresponding to the preset location area according to the preset collection period, the server can further construct a historical communication database corresponding to the preset location area based on the connectable frequency band and the signal quality parameters of the connectable frequency band.
[0137] It can be understood that in the embodiments of the present application, for a connectable frequency band, the signal quality parameters of the connectable frequency band obtained at different times may be different. Therefore, multiple signal quality parameters of the connectable frequency band corresponding to multiple times can be obtained within a preset acquisition period, and finally a signal quality parameter corresponding to the connectable frequency band can be determined based on the multiple signal quality parameters at multiple times.
[0138] Exemplarily, in some embodiments, assuming that the preset collection period is 5 days and the signal quality parameter is signal strength, then 1000 signal strengths corresponding to 1000 moments of the connectable frequency band A can be obtained during the preset collection period, and then the average value of these 1000 signal strengths can be calculated, and the final calculated average result is determined as the signal strength corresponding to the connectable frequency band A.
[0139] Accordingly, in an embodiment of the present application, for each connectable frequency band corresponding to a preset location area, the signal quality parameter of the connectable frequency band can be determined based on multiple signal quality parameters obtained in a preset acquisition period. Finally, based on the mapping relationship between the connectable frequency band and the signal quality parameter, a historical communication database corresponding to the preset location area is constructed.
[0140] Exemplarily, in some embodiments, Table 1 is a representation of a historical communication database, assuming that the preset location area is subway station XX, and the connectable frequency bands corresponding to subway station XX include frequency band 1, frequency band 2 and frequency band 3, wherein the signal quality parameters corresponding to frequency band 1, frequency band 2 and frequency band 3 are signal strength 1, signal strength 2 and signal strength 3, respectively.
[0141] Table 1
[0142]
[0143] Exemplarily, in some embodiments, Table 2 is a representation of a historical communication database, assuming that the preset location area is Elevator No. 1 of XX Building, and the connectable frequency bands corresponding to Elevator No. 1 of XX Building include Band 1, Band 3, and Band 5, wherein the signal quality parameters corresponding to Band 1, Band 3, and Band 5 are SNR 1, SNR 3, and SNR 5, respectively.
[0144] Table 2
[0145]
[0146] Further, in an embodiment of the present application, when determining the historical communication database corresponding to the current location, a target location area corresponding to the current location is determined in a preset location area; and the historical communication database corresponding to the target location area is determined as the historical communication database corresponding to the current location.
[0147] It is understandable that in the embodiment of the present application, a target location area including the current location may be first determined in the preset location area, and then the historical communication database corresponding to the target location area may be used as the historical communication database corresponding to the current location.
[0148] For example, in some embodiments, assuming that the current location belongs to subway station XX, the cloud server may use the historical communication database of subway station XX shown in Table 1 above as the historical communication database corresponding to the current location.
[0149] Further, in an embodiment of the present application, after determining the historical communication database corresponding to the current location, the candidate frequency bands and the signal quality parameters corresponding to the candidate frequency bands can be determined according to the historical communication database.
[0150] It is understood that in the embodiment of the present application, one or more connectable frequency bands are stored in the historical communication database, and when determining the candidate frequency band, the cloud server can select the candidate frequency band from the one or more connectable frequency bands according to the corresponding signal quality parameters. For example, a frequency band with the best signal quality among the connectable frequency bands can be determined as the candidate frequency band based on the signal quality parameters.
[0151] Exemplarily, in some embodiments, assuming that the current location belongs to subway station XX, then based on Table 1 above, if the order of signal strength from high to low is signal strength 3, signal strength 1, and signal strength 2, then frequency band 3 and frequency band 1 can be selected as candidate frequency bands corresponding to the current location.
[0152] For example, in some embodiments, assuming that the current location belongs to Elevator No. 1 of Building XX, based on Table 2 above, if the order of the signal-to-noise ratios from large to small is signal-to-noise ratio 2, signal-to-noise ratio 1, and signal-to-noise ratio 3, then frequency band 2 can be selected as the candidate frequency band corresponding to the current location.
[0153] Step 403: Send the candidate frequency band and the signal quality parameter corresponding to the candidate frequency band to the terminal device, so that the terminal device performs wireless communication based on the candidate frequency band and the signal quality parameter.
[0154] In an embodiment of the present application, after determining a historical communication database corresponding to the current location and determining candidate frequency bands and signal quality parameters corresponding to the candidate frequency bands based on the historical communication database, the candidate frequency bands and signal quality parameters corresponding to the candidate frequency bands can be sent to the terminal device so that the terminal device can perform wireless communication based on the candidate frequency bands and signal quality parameters.
[0155] To summarize, through the wireless communication method proposed in steps 401 to 403, in a weak signal environment (weak signal scenario) such as a subway, the optimal communication mode can be locked more quickly, the risk of data interruption can be reduced, and communication performance can be improved. At the same time, the problem of increased power consumption caused by scanning all frequency bands can be avoided, thereby improving standby time.
[0156] The embodiment of the present application provides a wireless communication method, wherein a cloud server receives a current position sent by a terminal device; determines a historical communication database corresponding to the current position, and determines a candidate frequency band and a signal quality parameter corresponding to the candidate frequency band based on the historical communication database; sends the candidate frequency band and the signal quality parameter corresponding to the candidate frequency band to the terminal device, so that the terminal device performs wireless communication based on the candidate frequency band and the signal quality parameter. That is to say, in the embodiment of the present application, in the case of a weak signal scenario, the candidate frequency band corresponding to the current position can be obtained from the cloud server, and the network search frequency band can be selected according to the signal quality parameter of the candidate frequency band for network search, so that the target frequency band with the best signal quality can be obtained for wireless communication. It can be seen that in the embodiment of the present application, the network search frequency band is determined and the network search processing is performed in combination with the candidate frequency band obtained from the historical communication database, so that the target frequency band corresponding to the current position can be quickly found, which can shorten the communication interruption time as much as possible and improve the communication performance. At the same time, it can solve the problem of high power consumption caused by continuously scanning all frequency bands, and increase the standby time of the terminal device.
[0157] Based on the above embodiments, another embodiment of the present application provides a wireless communication method, which can be applied to a wireless communication system. The wireless communication system may include a terminal device and a cloud server, which is not specifically limited in the present application.
[0158] Below, taking a terminal device and a cloud server as an example, the wireless communication method proposed in the embodiment of the present application is exemplarily described.
[0159] Furthermore, in the embodiments of the present application, Figure 5 Schematic diagram of the implementation process of the wireless communication method proposed in the embodiment of the present application Figure 4 ,like Figure 5 As shown, the wireless communication method may include the following steps:
[0160] Step 501: The terminal device detects the current location in real time.
[0161] The terminal device can determine the current location information through the configured antenna module, that is, determine the current location.
[0162] Step 502: The terminal device determines whether the current communication scenario is a weak signal scenario based on the current location.
[0163] If the current location belongs to a preset location area, the terminal device can determine that the current communication scenario is a weak signal scenario. The preset location area can be used to indicate and determine a location or area with poor network signal quality.
[0164] The preset location area may include, but is not limited to, one or more of the following location areas: a subway area, an elevator area, a factory workshop area, a preset sea area, and a mountain forest area.
[0165] Step 503: When the current communication scenario is a weak signal scenario, the terminal device sends the current location to the cloud server.
[0166] If the current communication scenario is determined to be a weak signal scenario based on the current location, the terminal device sends the current location to the cloud server.
[0167] Step 504: The cloud server determines a target location area corresponding to the current location in the preset location area.
[0168] Step 505: The cloud server determines the historical communication database corresponding to the target location area as the historical communication database corresponding to the current location.
[0169] When determining the historical communication database corresponding to the current location, the cloud server determines a target location area corresponding to the current location in the preset location area; and determines the historical communication database corresponding to the target location area as the historical communication database corresponding to the current location.
[0170] Step 506: The cloud server determines a candidate frequency band and a signal quality parameter corresponding to the candidate frequency band based on a historical communication database corresponding to the current location.
[0171] One or more connectable frequency bands are stored in the historical communication database. When determining a candidate frequency band, the cloud server may select a candidate frequency band from the one or more connectable frequency bands according to corresponding signal quality parameters.
[0172] Step 507: The cloud server sends the candidate frequency band and the signal quality parameter corresponding to the candidate frequency band to the terminal device.
[0173] Step 508: The terminal device determines a network search frequency band from the candidate frequency bands according to the signal quality parameter.
[0174] The network search frequency band may be one or more frequency bands in the candidate frequency bands determined based on the signal quality parameter for performing the network search process. The terminal device may screen multiple candidate frequency bands by the signal quality parameter, and select one or more frequency bands with better signal quality from the multiple candidate frequency bands for network search processing.
[0175] Step 509: The terminal device performs a network search based on the network search frequency band to determine a target frequency band corresponding to the current location.
[0176] Step 510: The terminal device performs wireless communication based on the target frequency band.
[0177] The terminal device can search the network based on the search frequency band, obtain the search result including the reference signal receiving power corresponding to the search frequency band, and then can use the frequency band with the largest reference signal receiving power as the final target frequency band and reside in the target frequency band for wireless communication.
[0178] Step 511: When the current communication scenario is not a weak signal scenario, continue to execute step 501.
[0179] If the current communication scenario is determined to be a non-weak signal scenario based on the current position, the terminal device may continue to execute step 501, that is, continue to detect the current position in real time.
[0180] Furthermore, in the embodiments of the present application, Figure 6 Schematic diagram of the implementation process of the wireless communication method proposed in the embodiment of the present application Figure 5 ,like Figure 6 As shown, the wireless communication method may include the following steps:
[0181] Step 512: The cloud server obtains the connectable frequency band and the signal quality parameter of the connectable frequency band corresponding to the preset location area according to the preset collection period.
[0182] Step 513: The cloud server constructs a historical communication database corresponding to the preset location area according to the connectable frequency band and the signal quality parameters of the connectable frequency band.
[0183] The cloud server can collect the various frequency bands and (signal quality parameters) of each frequency band under different handshakes of different terminal devices in any preset location area within a period of time (preset collection period), and finally build a historical communication database corresponding to the preset location area based on the various frequency bands and signal strengths of each frequency band collected during this period of time.
[0184] Step 501: The terminal device detects the current location in real time.
[0185] Step 502: The terminal device determines whether the current communication scenario is a weak signal scenario based on the current location.
[0186] Step 503: When the current communication scenario is a weak signal scenario, the terminal device sends the current location to the cloud server.
[0187] Step 504: The cloud server determines a target location area corresponding to the current location in the preset location area.
[0188] Step 505: The cloud server determines the historical communication database corresponding to the target location area as the historical communication database corresponding to the current location.
[0189] Step 506: The cloud server determines a candidate frequency band and a signal quality parameter corresponding to the candidate frequency band based on a historical communication database corresponding to the current location.
[0190] Step 507: The cloud server sends the candidate frequency band and the signal quality parameter corresponding to the candidate frequency band to the terminal device.
[0191] Step 508: The terminal device determines a network search frequency band from the candidate frequency bands according to the signal quality parameter.
[0192] Step 511: When the current communication scenario is not a weak signal scenario, continue to execute step 501.
[0193] Step 514: The terminal device determines the current working mode.
[0194] The current working mode can be used to determine the working condition or running state of the terminal device at the current moment. The current working mode includes but is not limited to game mode, video mode, audio mode, call mode, standby state, etc.
[0195] Step 515: The terminal device performs a network search based on the network search frequency band and the current working mode to determine the target frequency band corresponding to the current location.
[0196] For different working modes, the corresponding antennas, RF links or communication parameters may be different. Therefore, when searching the network, you can combine the current working mode of the terminal device and use the antennas, RF links or communication parameters corresponding to the current working mode to search the network. The network search results obtained can be more in line with the needs of the current working mode, thereby improving the accuracy of the network search results. Finally, based on the network search results, you can select the best target frequency band for access.
[0197] Step 516: When the reference signal received power in the target frequency band is less than or equal to a preset threshold, wireless communication is performed in a communication enhancement manner.
[0198] The terminal device may choose to compare the reference signal receiving power of the target frequency band with a preset threshold, wherein the preset threshold may be used to measure the signal quality of the target frequency band.
[0199] If the reference signal receiving power of the target frequency band is less than or equal to the preset threshold, it can be considered that the signal quality of the target frequency band currently accessed by the terminal device is poor, and the communication mode can be determined to be a weak signal mode. Accordingly, when the communication mode is a weak signal mode, wireless communication is performed through a communication enhancement method; wherein the communication enhancement method includes at least one or more of the following methods: network transmission diversity method, extreme communication method.
[0200] Step 517: When the reference signal received power of the target frequency band is greater than a preset threshold, wireless communication is performed based on the target frequency band.
[0201] If the reference signal receiving power of the target frequency band is greater than the preset threshold, then it can be considered that the signal quality of the target frequency band currently accessed by the terminal device is normal, and then it can be determined that the communication mode is not a weak signal mode, that is, the communication mode is a normal mode.
[0202] Step 518: Record the real-time moving distance corresponding to the current position.
[0203] After the terminal device performs wireless communication according to the communication mode, it can also record the real-time moving distance corresponding to the current position.
[0204] Step 519: When the real-time moving distance is greater than or equal to the distance threshold, continue to execute step 513.
[0205] The terminal device may compare the real-time moving distance with a distance threshold, wherein the distance threshold may be used to determine whether the communication mode may change.
[0206] If the real-time moving distance is greater than or equal to the distance threshold, then it can be considered that the terminal device has a large position offset based on the current position, and the communication mode is likely to change. Therefore, the reference signal receiving power of the target frequency band can be re-determined, and the communication mode can be determined again based on the reference signal receiving power of the target frequency band.
[0207] Step 520: When the real-time moving distance is less than the distance threshold, continue to execute step 515.
[0208] If the comparison result is that the real-time moving distance is less than the distance threshold, then it can be considered that the terminal device has no position offset or only a small position offset based on the current position, and the communication mode will not change. Therefore, the communication enhancement method can continue to be used for wireless communication.
[0209] To summarize, through the wireless communication method proposed in steps 501 to 520, in a weak signal environment (weak signal scenario) such as a subway, the optimal communication mode can be locked more quickly, the risk of data interruption can be reduced, and communication performance can be improved. At the same time, the problem of increased power consumption caused by scanning all frequency bands can be avoided, thereby improving standby time.
[0210] The embodiment of the present application provides a wireless communication method, which can obtain a candidate frequency band corresponding to the current position from a cloud server in a weak signal scenario, and select a network search frequency band for network search based on the signal quality parameters of the candidate frequency band, so as to obtain a target frequency band with the best signal quality for wireless communication. It can be seen that in the embodiment of the present application, the network search frequency band is determined and the network search process is performed in combination with the candidate frequency band obtained from the historical communication database, and the target frequency band corresponding to the current position can be quickly found, which can shorten the communication interruption time as much as possible and improve the communication performance. At the same time, it can solve the problem of high power consumption caused by continuously scanning all frequency bands and increase the standby time of the terminal device.
[0211] Based on the above embodiments, in another embodiment of the present application, assuming that the preset location area is a subway area, the wireless communication method proposed in the embodiment of the present application may include a method for wireless communication in the subway area using a communication AI model. Among them, the AI model can be understood as a wireless communication optimization model in a subway weak signal scenario, which is applied to the wireless communication system proposed in the embodiment of the present application, and the wireless communication system includes a terminal device and a cloud server. The input of the AI model can be understood as the current location of the terminal device and the historical communication database constructed by the cloud server, and the output of the AI model can be understood as the target frequency band and communication mode corresponding to the current location.
[0212] Understandably, in general, if the signal is not good in the subway, you can choose to increase the output power and continuously scan all frequency bands (2G, 3G, 4G, 5G), but this will cause the problem of not being able to quickly connect to the current environment network, resulting in communication interruption. At the same time, the terminal equipment blindly searches for the network at high power, which will shorten the standby time.
[0213] In the embodiment of the present application, the positioning information can be used to determine whether the mobile phone has entered the subway, and the subway communication mode can be activated after entering the subway. In this mode, the terminal device can obtain the current subway supported frequency band information (such as candidate frequency bands) from the cloud server, and select the optimal communication frequency band (such as the target frequency band) and the optimal communication solution (such as using communication enhancement mode for wireless communication) according to the user's usage habits on big data.
[0214] Figure 7 A schematic diagram of a wireless communication method proposed in an embodiment of the present application is shown in FIG. Figure 7 As shown in the figure, when using the communication AI model for wireless communication in the subway area, it is first necessary to establish a shared cloud to collect the frequency bands (connectable frequency bands), signal strengths (signal quality parameters), etc. under different handshakes at different user locations in real time. For example, the data of the previous 15 days (preset collection period) can be averaged; when the terminal device positioning information is in the subway, the positioning information (current location) is reported to the cloud, and the subway communication enhancement mode is turned on at this time; the terminal device can also determine the current working mode (such as handshake, game, call, etc.) in real time; the cloud server can send information such as the communication frequency band and signal strength of the positioning location to the terminal device; the terminal device can select up to two priority modes based on the information The quality communication band (network search band) is selected, and other bands are turned off; after executing the network search process, the RSRP of the target band and the target band is determined, and then according to the RSRP of the selected band (target band), it is judged whether it is working under weak signal, that is, whether the communication mode is weak signal mode; if it is determined to work under weak signal, diversity or extreme communication and other technologies (communication enhancement mode) are enabled; subsequently, the real-time moving distance can be detected in real time. When the moving distance (real-time moving distance) exceeds 10 meters (distance threshold), the RSRP of the target band can be re-determined, and whether the communication mode is weak signal mode can be judged; it can also be judged whether to leave the subway according to the positioning information every 30S (preset time interval). If the positioning determines that you are in the subway, turn on the subway communication enhancement mode, that is, start sending the current location to the cloud server and other operations. If you are not in the subway, turn off the subway communication enhancement mode and use the normal communication mode.
[0215] To sum up, the wireless communication method proposed in the embodiment of the present application can lock the optimal communication mode more quickly, reduce the risk of data interruption, and improve communication performance in weak signal environments (weak signal scenarios) such as subways. At the same time, it can avoid the problem of increased power consumption caused by scanning all frequency bands and improve the standby time.
[0216] It should be noted that the wireless communication method proposed in the embodiment of the present application can be used in other weak signal scenarios in addition to subway scenarios. Weak signal scenarios and communications are classified, and databases for different devices and scenarios are established respectively. The AI model is trained through cloud data to recommend the optimal communication mode for device adaptation in real time, thereby improving the user experience of the device.
[0217] The embodiment of the present application provides a wireless communication method, which can obtain a candidate frequency band corresponding to the current position from a cloud server in a weak signal scenario, and select a network search frequency band for network search based on the signal quality parameters of the candidate frequency band, so as to obtain a target frequency band with the best signal quality for wireless communication. It can be seen that in the embodiment of the present application, the network search frequency band is determined and the network search process is performed in combination with the candidate frequency band obtained from the historical communication database, and the target frequency band corresponding to the current position can be quickly found, which can shorten the communication interruption time as much as possible and improve the communication performance. At the same time, it can solve the problem of high power consumption caused by continuously scanning all frequency bands and increase the standby time of the terminal device.
[0218] Based on the above embodiment, in another embodiment of the present application, Figure 8 This is a schematic diagram of the structure of the terminal device proposed in the embodiment of the present application, such as Figure 8 As shown, the terminal device 11 proposed in the embodiment of the present application may include:
[0219] The first sending unit 111 is used to send the current location to the cloud server when the current communication scenario is determined to be a weak signal scenario based on the current location;
[0220] The first receiving unit 112 is used to receive the candidate frequency band corresponding to the current position and the signal quality parameter corresponding to the candidate frequency band sent by the cloud server; wherein the candidate frequency band and the signal quality parameter are determined by the cloud server based on a historical communication database;
[0221] A first determining unit 113 is configured to determine a network search frequency band in the candidate frequency bands according to the signal quality parameter, and determine a target frequency band corresponding to the current position based on the network search frequency band;
[0222] The communication unit 114 is configured to perform wireless communication based on the target frequency band.
[0223] In the embodiments of the present application, further, Fig. 9 Schematic diagram of the structure of the terminal device proposed in the embodiment of the present application Figure 2 ,like Fig. 9 As shown, the terminal device 11 proposed in the embodiment of the present application may include a processor 121, a memory 122, a communication interface 123, and a bus 124 for connecting the processor 121, the memory 122 and the communication interface 123.
[0224] In the embodiment of the present application, the processor 121 can be at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic device used to implement the function of the processor can also be other, and the embodiment of the present application is not specifically limited. The control device 11 can also include a memory 122, which can be connected to the processor 121, wherein the memory 122 is used to store executable program code, the program code includes computer operation instructions, and the memory 122 may include a high-speed RAM memory, and may also include a non-volatile memory, for example, at least two disk memories.
[0225] In the embodiment of the present application, the bus 124 is used to connect the communication interface 123, the processor 121 and the memory 122, and the mutual communication between these devices.
[0226] In practical applications, the memory 122 may be a volatile memory, such as a random access memory (RAM); or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); or a combination of the above types of memories, and provide instructions and data to the processor 121.
[0227] Further, in an embodiment of the present application, the processor 121, when determining that the current communication scenario is a weak signal scenario based on the current location, sends the current location to the cloud server; receives the candidate frequency band corresponding to the current location and the signal quality parameters corresponding to the candidate frequency band sent by the cloud server; wherein the candidate frequency band and the signal quality parameters are determined by the cloud server based on a historical communication database; determines the network search frequency band in the candidate frequency bands according to the signal quality parameters, and determines the target frequency band corresponding to the current location based on the network search frequency band; and performs wireless communication based on the target frequency band.
[0228] In the embodiments of the present application, further, Fig.10 Schematic diagram of the structure of the cloud server proposed in this application embodiment Figure 1 ,like Fig.10 As shown, the cloud server 21 proposed in the embodiment of the present application may include:
[0229] The second receiving unit 211 is used to receive the current location sent by the terminal device;
[0230] A second determining unit 212 is configured to determine a historical communication database corresponding to the current location, and determine a candidate frequency band and a signal quality parameter corresponding to the candidate frequency band based on the historical communication database;
[0231] The second sending unit 213 is used to send the candidate frequency band and the signal quality parameter corresponding to the candidate frequency band to the terminal device, so that the terminal device performs wireless communication based on the candidate frequency band and the signal quality parameter.
[0232] In the embodiments of the present application, further, Fig.11 Schematic diagram of the structure of the cloud server proposed in this application embodiment Figure 2 ,like Fig.11 As shown, the cloud server 21 proposed in the embodiment of the present application may include a processor 221, a memory 222, a communication interface 223, and a bus 224 for connecting the processor 221, the memory 222 and the communication interface 223.
[0233] In the embodiment of the present application, the processor 221 can be at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic device used to implement the function of the processor can also be other, and the embodiment of the present application is not specifically limited. The control device 11 can also include a memory 222, which can be connected to the processor 221, wherein the memory 222 is used to store executable program code, the program code includes computer operation instructions, and the memory 222 may include a high-speed RAM memory, and may also include a non-volatile memory, for example, at least two disk memories.
[0234] In the embodiment of the present application, the bus 224 is used to connect the communication interface 223, the processor 221 and the memory 222, and the mutual communication between these devices.
[0235] In practical applications, the memory 222 may be a volatile memory, such as a random access memory (RAM); or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); or a combination of the above types of memories, and provide instructions and data to the processor 221.
[0236] Furthermore, in an embodiment of the present application, the processor 221 receives a current location sent by a terminal device; determines a historical communication database corresponding to the current location, and determines a candidate frequency band and a signal quality parameter corresponding to the candidate frequency band based on the historical communication database; and sends the candidate frequency band and the signal quality parameter corresponding to the candidate frequency band to the terminal device, so that the terminal device performs wireless communication based on the candidate frequency band and the signal quality parameters.
[0237] In addition, each functional module in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software functional modules.
[0238] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a cloud server, or a network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.
[0239] An embodiment of the present application provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the wireless communication method as described above is implemented.
[0240] Specifically, a program instruction corresponding to a wireless communication method in this embodiment may be stored on a storage medium such as a CD, a hard disk, or a USB flash drive. When a program instruction corresponding to a wireless communication method in the storage medium is read or executed by an electronic device, the following steps are included:
[0241] When the current communication scenario is determined to be a weak signal scenario based on the current location, sending the current location to the cloud server;
[0242] Receiving a candidate frequency band corresponding to the current location and a signal quality parameter corresponding to the candidate frequency band sent by the cloud server; wherein the candidate frequency band and the signal quality parameter are determined by the cloud server based on a historical communication database;
[0243] Determine a network search frequency band in the candidate frequency bands according to the signal quality parameter, and determine a target frequency band corresponding to the current position based on the network search frequency band;
[0244] Wireless communication is performed based on the target frequency band.
[0245] Specifically, a program instruction corresponding to a wireless communication method in this embodiment may be stored on a storage medium such as a CD, a hard disk, or a USB flash drive. When a program instruction corresponding to a wireless communication method in the storage medium is read or executed by an electronic device, the following steps are included:
[0246] Receiving the current location sent by the terminal device;
[0247] Determine a historical communication database corresponding to the current location, and determine a candidate frequency band and a signal quality parameter corresponding to the candidate frequency band based on the historical communication database;
[0248] The candidate frequency band and a signal quality parameter corresponding to the candidate frequency band are sent to the terminal device, so that the terminal device performs wireless communication based on the candidate frequency band and the signal quality parameter.
[0249] The embodiment of the present application also provides a computer program product.
[0250] In some embodiments, the computer program product may include a computer program or instructions.
[0251] In some embodiments, the computer program product can be applied to the computer device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the computer device in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0252] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0253] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0254] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0255] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0256] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A wireless communication method, characterized in that: The method is applied to a terminal device, and the method comprises: When the current communication scenario is determined to be a weak signal scenario based on the current location, sending the current location to the cloud server; Receiving a candidate frequency band corresponding to the current location and a signal quality parameter corresponding to the candidate frequency band sent by the cloud server; wherein the candidate frequency band and the signal quality parameter are determined by the cloud server based on a historical communication database; Determine a network search frequency band in the candidate frequency bands according to the signal quality parameter, and determine a target frequency band corresponding to the current position based on the network search frequency band; Wireless communication is performed based on the target frequency band.
2. The method according to claim 1, characterized in that The determining the target frequency band corresponding to the current location based on the network search frequency band includes: Determine the current working mode; Performing a network search based on the network search frequency band and the current working mode, and determining a network search result corresponding to the network search frequency band; The target frequency band is determined in the network searching frequency band according to the network searching result.
3. The method according to claim 1 or 2, characterized in that: The performing wireless communication based on the target frequency band includes: A communication mode is determined based on the reference signal received power of the target frequency band, and wireless communication is performed according to the communication mode.
4. The method according to claim 3, characterized in that The determining of the communication mode based on the reference signal received power of the target frequency band includes: When the reference signal received power of the target frequency band is less than or equal to a preset threshold, determining that the communication mode is a weak signal mode; When the reference signal received power of the target frequency band is greater than a preset threshold, it is determined that the communication mode is a non-weak signal mode.
5. The method according to claim 4, characterized in that The performing wireless communication according to the communication mode includes: When the communication mode is the weak signal mode, wireless communication is performed through a communication enhancement method; wherein the communication enhancement method includes at least one or more of the following methods: a network transmission diversity method and an extreme communication method.
6. The method according to claim 4 or 5, characterized in that: The method further comprises: Recording the real-time moving distance corresponding to the current position; When the real-time moving distance is greater than or equal to a distance threshold, the reference signal received power of the target frequency band is re-determined, and the communication mode is determined again based on the reference signal received power of the target frequency band.
7. The method according to claim 1, characterized in that The method further comprises: When the current location belongs to a preset location area, determining that the current communication scenario is a weak signal scenario; The preset location area includes at least one or more of the following location areas: a subway area, an elevator area, a factory workshop area, a preset sea area, and a mountain forest area.
8. A wireless communication method, characterized in that: The method is applied to a cloud server, and the method includes: Receiving the current location sent by the terminal device; Determine a historical communication database corresponding to the current location, and determine a candidate frequency band and a signal quality parameter corresponding to the candidate frequency band based on the historical communication database; The candidate frequency band and a signal quality parameter corresponding to the candidate frequency band are sent to the terminal device, so that the terminal device performs wireless communication based on the candidate frequency band and the signal quality parameter.
9. The method according to claim 8, characterized in that The method further comprises: Acquire communication connection data corresponding to a preset location area according to a preset collection cycle; wherein the preset location area includes at least one or more of the following location areas: a subway area, an elevator area, a factory workshop area, a preset sea area, and a mountain forest area; the communication connection data includes a connectable frequency band of the preset location area and a signal quality parameter of the connectable frequency band; Constructing a historical communication database corresponding to the preset location area according to the connectable frequency band and the signal quality parameter of the connectable frequency band; The determining of a historical communication database corresponding to the current location includes: Determine a target location area corresponding to the current location in the preset location area; The historical communication database corresponding to the target location area is determined as the historical communication database corresponding to the current location.
10. A terminal device, characterized in that: The terminal device includes a processor and a memory storing instructions executable by the processor. When the instructions are executed by the processor, the method described in any one of claims 1 to 7 is implemented.
11. A cloud server, characterized in that: The cloud server includes a processor and a memory storing instructions executable by the processor. When the instructions are executed by the processor, the method described in claim 9 or 10 is implemented.
12. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the method described in any one of claims 1 to 7 is implemented, or the method described in claim 9 or 10 is implemented.
