Wireless communication method and device, equipment, storage medium and program product
By obtaining the frequency band distribution information of the target area from the communication database, and selecting high-quality frequency bands to access the wireless network, the problem of communication interruption and increased power consumption caused by frequent scanning of mobile phones in weak signal environments is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202411110836.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-10-22
AI Technical Summary
In a weak signal environment, mobile phones need to frequently scan all frequency bands to connect to the network, causing communication interruption and increased power consumption, affecting user experience.
By obtaining the frequency band distribution information of the target area from the pre-built communication database, high-quality frequency bands are selected according to the signal reception quality for access to the wireless communication network, thereby avoiding the access delay and power consumption caused by frequency scanning.
It shortens the access delay in weak signal scenarios, saves power consumption, and improves user communication experience.
Smart Images

Figure CN118828802A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to communication technology, and is related to but not limited to wireless communication methods and devices, equipment, storage media, and program products. Background Art
[0002] When a mobile phone enters a weak signal environment, it will continuously scan all frequency bands. However, during the frequency band scanning process, the mobile phone cannot quickly connect to the current environment network, which may cause the mobile phone communication to be interrupted. At the same time, the mobile phone needs to increase the output power to perform the scanning of each frequency band, which will greatly shorten the standby time of the mobile 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 wireless communication method, apparatus, device, storage medium, and program product provided by the present application include:
[0005] In a first aspect, an embodiment of the present application provides a wireless communication method, the method comprising: obtaining frequency band distribution information of a target area from a pre-constructed communication database, the frequency band distribution information comprising at least one candidate frequency band and a first parameter value of the candidate frequency band; wherein the communication scenario of the target area is a weak signal scenario; the first parameter value is used to characterize the signal reception quality of the corresponding candidate frequency band; according to the first parameter value of the at least one candidate frequency band, selecting a first target frequency band from the at least one candidate frequency band; and when it is determined based on the current position that the target area has been entered or is about to be entered, accessing the wireless communication network according to the first target frequency band.
[0006] In a second aspect, an embodiment of the present application provides a wireless communication device, comprising: an acquisition module, configured to acquire frequency band distribution information of a target area from a pre-built communication database, the frequency band distribution information comprising at least one candidate frequency band and a first parameter value of the candidate frequency band; wherein the communication scenario of the target area is a weak signal scenario; the first parameter value is used to characterize the signal reception quality of the corresponding candidate frequency band; a determination module, configured to select a first target frequency band from the at least one candidate frequency band according to the first parameter value of the at least one candidate frequency band; and an access module, configured to access the wireless communication network according to the first target frequency band when it is determined based on the current position that the target area has been entered or is about to be entered.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the method described in the embodiment of the present application is implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in the embodiment of the present application.
[0009] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the method provided in the embodiment of the present application.
[0010] In an embodiment of the present application, since the first target frequency band is not obtained by scanning all supported frequency bands, but is selected from the at least one candidate frequency band according to the first parameter value of the at least one candidate frequency band, and the first parameter value of the at least one candidate frequency band is obtained from a pre-built communication database, rather than being obtained by scanning / searching the network or measuring; therefore, when the electronic device has entered or is about to enter a weak signal scenario, accessing the wireless communication network according to the first target frequency band can shorten the access delay caused by scanning in the weak signal scenario and save the power consumption caused by scanning, thereby improving the user's communication experience in the weak signal scenario.
[0011] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0013] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0014] Figure 1 Schematic diagram of the implementation process of the wireless communication method provided in the embodiment of the present application Figure 1 ;
[0015] Figure 2 A schematic diagram of a partial implementation flow of a wireless communication method provided in an embodiment of the present application;
[0016] Figure 3 Schematic diagram of the implementation process of the wireless communication method provided in the embodiment of the present application Figure 2 ;
[0017] Figure 4 A schematic diagram of the structure of a wireless communication device provided in an embodiment of the present application;
[0018] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0021] In the following description, reference is made to “some embodiments”, “this embodiment”, “embodiments of the present application” and examples, etc., which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0022] The descriptions of “first, second, third” etc. that appear in the embodiments of the present application are only for illustration and distinction of the description objects. There is no distinction of order, nor do they indicate any special limitation on the number of devices in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application.
[0023] In the relevant scheme, when the mobile phone enters a weak signal environment, it will continuously scan all the frequency bands supported by the mobile phone (such as 2G, 3G, 4G and 5G bands, etc.). This will cause the mobile phone to connect to the network in the weak signal environment slowly and the quality of the connected network communication will be poor. At the same time, in order to quickly obtain the optimal working frequency band information, the mobile phone will scan the network and increase the power of the device ineffectively. This will lead to a waste of mobile phone battery power and reduce the standby time of the mobile phone.
[0024] In view of the analysis of the above-mentioned technical problems, an embodiment of the present application provides a wireless communication method, in which frequency band distribution information of a target area is obtained from a pre-constructed communication database, and the frequency band distribution information includes at least one candidate frequency band and a first parameter value of the candidate frequency band; wherein the communication scenario of the target area is a weak signal scenario; the first parameter value is used to characterize the signal reception quality of the corresponding candidate frequency band; according to the first parameter value of the at least one candidate frequency band, a first target frequency band is selected from the at least one candidate frequency band; and when it is determined based on the current position that the target area has been entered or is about to be entered, the wireless communication network is accessed according to the first target frequency band.
[0025] In this way, since the first target frequency band is not obtained by scanning all supported frequency bands, but is selected from at least one candidate frequency band according to the first parameter value of the at least one candidate frequency band, and the first parameter value of the at least one candidate frequency band is obtained from a pre-built communication database, rather than being obtained by scanning or measurement; therefore, when the electronic device has entered or is about to enter a weak signal scenario, accessing the wireless communication network according to the first target frequency band can shorten the access delay caused by scanning in the weak signal scenario and save the power consumption caused by scanning, thereby improving the user's communication experience in the weak signal scenario.
[0026] The wireless communication method provided in the embodiment of the present application is applied to an electronic device, and the electronic device can be various types of devices with wireless communication functions during the implementation process, for example, the electronic device can include a mobile phone, a tablet computer, a laptop computer, a wireless intercom device, smart glasses, a smart watch, etc. The function implemented by the method can be implemented by calling the program code by the processor in the electronic device, and of course the program code can be stored in a computer storage medium. It can be seen that the electronic device at least includes a processor and a storage medium.
[0027] Figure 1 Schematic diagram of the implementation process of the wireless communication method provided in the embodiment of the present application Figure 1 ,like Figure 1 As shown, the method may include the following steps 101 to 103:
[0028] Step 101, obtaining frequency band distribution information of a target area from a pre-built communication database, the frequency band distribution information including at least one candidate frequency band and a first parameter value of the candidate frequency band; wherein the communication scenario of the target area is a weak signal scenario; and the first parameter value is used to characterize the signal reception quality of the corresponding candidate frequency band;
[0029] Step 102, selecting a first target frequency band from the at least one candidate frequency band according to a first parameter value of the at least one candidate frequency band;
[0030] Step 103: when it is determined based on the current position that the target area has been entered or is about to be entered, access the wireless communication network according to the first target frequency band.
[0031] It can be understood that in the embodiment of the present application, since the first target frequency band is not obtained by scanning all supported frequency bands, but is selected from the at least one candidate frequency band according to the first parameter value of the at least one candidate frequency band, and the first parameter value of the at least one candidate frequency band is obtained from a pre-built communication database, rather than being obtained by scanning or measurement; therefore, when the electronic device has entered or is about to enter a weak signal scenario, accessing the wireless communication network according to the first target frequency band can shorten the access delay caused by scanning in the weak signal scenario and save the power consumption caused by scanning, thereby improving the user's communication experience in the weak signal scenario.
[0032] The following describes further optional implementations and related terms of each of the above steps.
[0033] Step 101, obtaining frequency band distribution information of a target area from a pre-constructed communication database, wherein the frequency band distribution information includes at least one candidate frequency band and a first parameter value of the candidate frequency band; wherein the communication scenario of the target area is a weak signal scenario; and the first parameter value is used to characterize the signal reception quality of the corresponding candidate frequency band.
[0034] In an embodiment of the present application, the pre-constructed communication database may be pre-constructed by a cloud server. In one possible implementation, the electronic device may determine whether the electronic device is on a specific means of transportation (such as a subway, high-speed rail, train, or other means of transportation that may enter and exit weak signal scenes multiple times) based on the location information obtained by the positioning module; if the electronic device is determined to be on a specific means of transportation, the pre-constructed communication database is obtained from the cloud server. In other embodiments, the electronic device may also obtain the pre-constructed communication database when it is determined to be on a specific means of transportation and before entering a weak signal scene; in yet other embodiments, the electronic device may also obtain the pre-constructed communication database when it is determined to be on a specific means of transportation and the current signal reception quality is greater than or equal to a second threshold.
[0035] In an embodiment of the present application, the pre-built communication database obtained by the electronic device from the cloud server may include frequency band distribution information of one or more preset location areas; each preset location area corresponds to identification information of at least one candidate frequency band and a first parameter value of each candidate frequency band in the preset location area; in some embodiments, each candidate frequency band corresponding to each preset location area is a high-quality frequency band, and the high-quality frequency band refers to a frequency band whose first parameter value is greater than or equal to a third threshold.
[0036] It can be understood that the first parameter value recorded in the pre-built communication database is historical data. In some embodiments, the pre-built communication database can be a cloud server that collects various frequency bands and the received signal strength of each frequency band under different handshake postures of different electronic devices in a preset location area within a period of time (preset collection period) (an example of the first parameter value), and constructs at least one candidate frequency band and the corresponding received signal strength corresponding to the preset location area based on the various frequency bands and the received signal strength of each frequency band collected during this period of time, thereby obtaining a pre-built communication database.
[0037] The pre-built communication database includes frequency band distribution information of a preset location area, and the preset location area may be an area that the electronic device will enter next;
[0038] The pre-built communication database includes frequency band distribution information of multiple preset location areas. In some embodiments, the multiple preset location areas may be the stations that the transportation vehicle where the electronic device is located needs to pass through from the current location to the destination; wherein the destination refers to the destination that the user carrying the electronic device expects to reach. In other embodiments, the multiple preset location areas may be all the stations between the departure station and the terminal station of the transportation vehicle where the electronic device is located.
[0039] As mentioned above, the target area described in step 101 has a weak signal scenario, which may cause the electronic device to be disconnected from the wireless communication network and may not be able to access any wireless communication network. For example, the target area may be a subway platform, a tunnel, an underground garage, or other weak signal scenarios.
[0040] As mentioned above, the first parameter value of the candidate frequency band in step 101 is used to characterize the signal reception quality of the corresponding candidate frequency band. In some embodiments, the first parameter value may include one or more of the following parameters:
[0041] (1) Received signal strength;
[0042] (2) Signal-to-noise ratio;
[0043] (3) Link quality;
[0044] (4) Channel capacity;
[0045] (5) A composite value determined based on one or more of the above parameters.
[0046] Step 102: Select a first target frequency band from the at least one candidate frequency band according to a first parameter value of the at least one candidate frequency band.
[0047] In some embodiments, the first target frequency band satisfies one or more of the following conditions:
[0048] (1) The first parameter value is the maximum value among the first parameter values of the at least one candidate frequency band;
[0049] (2) The first parameter value is greater than or equal to the first threshold; wherein the first threshold and the third threshold may be the same threshold or different thresholds; for example, the first threshold is greater than or equal to the third threshold;
[0050] (3) The first parameter value is greater than the second parameter value of the current frequency band; wherein the current frequency band refers to the currently connected frequency band, and the second parameter value is used to characterize the current signal reception quality of the current frequency band.
[0051] It should be noted that the second parameter value and the first parameter value have the same parameter type, that is, the second parameter value and the first parameter value are determined in the same way.
[0052] In some embodiments, when there is no first target frequency band meeting the condition in the at least one candidate frequency band, the current connection is maintained.
[0053] Step 103: when it is determined based on the current position that the target area has been entered or is about to be entered, access the wireless communication network according to the first target frequency band.
[0054] In some embodiments, when the distance between the current position and a specific position point of the target area is less than or equal to a first distance threshold, it is determined that the electronic device is about to enter the target area; wherein the specific position point of the target area may be a pre-set coordinate position, and the first distance threshold is related to the coordinate position. For example, the specific position point is the center point of the target area, and the first distance threshold should be greater than the distance from the center point of the target area to the first boundary of the target area; the first boundary is the boundary that the electronic device passes through first in the direction of movement.
[0055] In other embodiments, the estimated time it takes for the electronic device to enter the target area is determined based on the distance between the current location and the target area and the driving speed of the electronic device; and when the estimated time is less than or equal to a preset time threshold, it is determined that the electronic device is about to enter the target area.
[0056] For the wireless communication method described in one or more of the above embodiments, in some embodiments, the method also includes: when it is determined based on the current position that the target area has been entered or is about to be entered, turning on the communication enhancement mode; in this way, the communication performance of the electronic device in a weak signal scenario can be enhanced.
[0057] The communication enhancement mode includes one or more of the following modes:
[0058] (1) Diversity transmission mode;
[0059] (2) Diversity reception mode;
[0060] (3) Extreme communication mode.
[0061] Furthermore, in some embodiments, the diversity transmission mode and the diversity reception mode may include one or more of time diversity, space diversity, frequency diversity, polarization diversity, and coding diversity; wherein polarization diversity refers to receiving signals by using antennas with different polarizations to increase signal redundancy, thereby improving signal reliability; coding diversity refers to sending multiple redundant signal copies by using different coding methods to increase signal redundancy, thereby improving signal reliability; for example, using convolutional codes for encoding or using Turbo codes for encoding, etc.
[0062] Furthermore, in some embodiments, the extreme communication mode can be achieved by using technologies such as a high-sensitivity receiver, a high-power transmitter and / or adaptive modulation and coding; wherein the high-sensitivity receiver can effectively receive signals at low signal strength and reduce noise interference; the high-power transmitter can increase the transmission power when necessary to overcome signal loss on long distances or high attenuation paths; and the adaptive modulation and coding can automatically adjust the transmission rate and coding method according to channel conditions to optimize communication efficiency and reliability.
[0063] For the wireless communication method described in one or more of the above embodiments, in some embodiments, Figure 2 As shown, the method further includes the following steps 201 to 203:
[0064] Step 201, measuring the at least one candidate frequency band to obtain measurement results corresponding to the at least one candidate frequency band; the measurement results represent the signal reception quality of the corresponding candidate frequency band currently measured by the electronic device;
[0065] Step 202: Select a second target frequency band from the at least one candidate frequency band according to the measurement results respectively corresponding to the at least one candidate frequency band.
[0066] In some embodiments, the second target frequency band satisfies one or more of the following conditions:
[0067] (1) The measurement result is the maximum value of the at least one candidate frequency band;
[0068] (2) The measurement result is greater than or equal to a fourth threshold; wherein the fourth threshold may be the same as or different from the first threshold and the third threshold.
[0069] Step 203: accessing a wireless communication network according to the second target frequency band.
[0070] It should be noted that the electronic device may perform the following steps after accessing the wireless communication network according to the first target frequency band, or when the attempt to access the wireless communication network based on the first target frequency band fails: Figure 2 Steps 201 to 203 shown, exemplarily, for step 203, in some embodiments, may include: when the signal reception quality of the second target frequency band is better than that of the first target frequency band, or when an attempt to access the wireless communication network based on the first target frequency band fails, accessing the wireless communication network based on the second target frequency band.
[0071] In some other embodiments, the electronic device may also perform the following steps if the first target frequency band that meets the conditions is not found: Figure 2 Steps 201 to 203 are shown. Exemplarily, in some embodiments, step 203 may include: when there is no first target frequency band meeting the condition in the at least one candidate frequency band, accessing the wireless communication network according to the second target frequency band.
[0072] Further, in some embodiments, the wireless communication method described in one or more embodiments further includes: in one of the following cases, performing frequency scanning based on a frequency band supported by the electronic device to obtain a third target frequency band; and accessing a wireless communication network based on the third target frequency band:
[0073] (1) There is no first target frequency band that meets the conditions in the at least one candidate frequency band and access based on the second target frequency band fails;
[0074] (2) Access based on the first target frequency band and based on the second target frequency band both fail;
[0075] (3) There is no first target frequency band and no second target frequency band that meet the conditions in the at least one candidate frequency band.
[0076] The following examples describe possible implementations of the shooting methods described in one or more of the above embodiments.
[0077] Figure 3 Schematic diagram of the implementation process of the wireless communication method provided in the embodiment of the present application Figure 2 ;like Figure 3 As shown, the method includes the following steps 301 to 309:
[0078] Step 301, determine whether the mobile phone is on the subway through positioning; if yes, execute step 302; otherwise, return to execute step 301;
[0079] Step 302, obtaining in advance the high-quality frequency band information of the platform where the user is currently riding the subway (i.e., an example of a pre-built communication database);
[0080] Step 303, determining the target platform (i.e., an example of a target area) that the mobile phone is about to enter through the positioning information and the measurement information of the acceleration sensor;
[0081] Step 304, obtaining high-quality frequency band information of a target platform from the high-quality frequency band information of the platform currently taking the subway obtained previously; wherein the high-quality frequency band information of the target platform includes at least one high-quality frequency band and a historical RSRP of the high-quality frequency band (i.e., an example of the first parameter value);
[0082] Step 305, determining an incoming frequency band with the largest historical RSRP (i.e., an example of a first target frequency band) according to the historical RSRP in the high-quality frequency band information of the target platform;
[0083] Step 306, determine whether the historical RSRP of the incoming frequency band is greater than -95dBm; if yes, proceed to step 307; otherwise, maintain the current connection;
[0084] Step 307, locking the station access frequency band (i.e., accessing the corresponding wireless communication network according to the station access frequency band); proceeding to step 308;
[0085] Step 308, enabling functions such as Tx diversity and extreme communication;
[0086] Step 309, after locking the entry frequency band, perform real-time measurement on the high-quality frequency bands included in the high-quality frequency band information of the target platform to determine whether there is a real-time frequency band (i.e., an example of the second target frequency band) whose RSRP is greater than the current frequency band; if so, switch the connection to the real-time frequency band; otherwise, return to step 308.
[0087] like Figure 3As shown, first of all, mobile phone manufacturers need to establish a shared cloud to collect in real time (average of the previous 15 days' data) the signal strength of the platform frequency band under different handshakes at different user locations. When the mobile phone user is determined to be on the subway based on the positioning information, the high-quality frequency band information of all platforms of the current subway is obtained from the cloud (i.e., an example of a pre-built communication database); and detect whether it has entered the platform state; when the platform state is triggered, the frequency band information of the platform that is about to arrive is analyzed; the RSRP of the platform frequency band ahead is detected (i.e., the historical value recorded in the communication database), and when the RSRP is greater than -95dBm, the frequency band is locked, and the communication enhancement function (diversity / extreme communication) is turned on; when there is a real-time frequency band with an RSRP greater than this frequency band, switch to the real-time frequency band with the larger RSRP. In this way, when the subway enters the platform, the high-quality frequency band of the existing network on the platform is quickly connected in advance, thereby improving the user's communication experience in the subway environment.
[0088] The wireless communication method provided in the embodiment of the present application can be applied not only to subway scenarios, but also to other transportation scenarios (cars, high-speed trains, etc.). Switch to the high-quality network supported by the mobile phone in advance according to the direction of travel. Classify these scenarios and establish databases for different scenarios of different devices respectively. Through cloud data training, users can access high-quality networks in advance. Improve the user experience of device users.
[0089] It should be noted that although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.; or, steps in different embodiments may be combined into a new technical solution.
[0090] Based on the foregoing embodiments, an embodiment of the present application provides a wireless communication device, which includes the modules included and the units included in the modules, which can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be an AI acceleration engine (such as NPU, etc.), GPU, central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA), etc.
[0091] Figure 4 A schematic diagram of the structure of a wireless communication device provided in an embodiment of the present application, such as Figure 4 As shown, the wireless communication device 400 includes:
[0092] The acquisition module 401 is configured to acquire frequency band distribution information of a target area from a pre-built communication database, wherein the frequency band distribution information includes at least one candidate frequency band and a first parameter value of the candidate frequency band; wherein the communication scenario of the target area is a weak signal scenario; and the first parameter value is used to characterize the signal reception quality of the corresponding candidate frequency band;
[0093] The determination module 402 is configured to select a first target frequency band from the at least one candidate frequency band according to a first parameter value of the at least one candidate frequency band;
[0094] The access module 403 is configured to access the wireless communication network according to the first target frequency band when it is determined based on the current position that the target area has been entered or is about to be entered.
[0095] In some embodiments, the first target frequency band satisfies one or more of the following conditions:
[0096] (1) The first parameter value is the maximum value among the first parameter values of the at least one candidate frequency band;
[0097] (2) The first parameter value is greater than or equal to the first threshold;
[0098] (3) The first parameter value is greater than the second parameter value of the current frequency band; wherein the current frequency band refers to the currently connected frequency band, and the second parameter value is used to characterize the current signal reception quality of the current frequency band.
[0099] In some embodiments, the wireless communication device 400 also includes a measurement module, which is configured to measure the at least one candidate frequency band to obtain measurement results corresponding to the at least one candidate frequency band; a determination module 402 is configured to select a second target frequency band from the at least one candidate frequency band based on the measurement results corresponding to the at least one candidate frequency band; and an access module 403 is configured to access the wireless communication network based on the second target frequency band.
[0100] In some embodiments, the access module 403 is configured to access the wireless communication network based on the second target frequency band when there is no first target frequency band that meets the conditions in the at least one candidate frequency band, or when an attempt to access the wireless communication network based on the first target frequency band fails, or when the signal reception quality of the second target frequency band is better than that of the first target frequency band.
[0101] In some embodiments, the access module 403 is configured to maintain the current connection if there is no first target frequency band that meets the condition in the at least one candidate frequency band.
[0102] In some embodiments, the wireless communication device 400 further includes a control module configured to start the communication enhancement mode when it is determined based on the current position that the target area has been entered or is about to be entered;
[0103] The communication enhancement mode includes one or more of the following modes:
[0104] (1) Diversity transmission mode;
[0105] (2) Diversity reception mode;
[0106] (3) Extreme communication mode.
[0107] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0108] It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It may also be implemented in the form of a combination of software and hardware.
[0109] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0110] An embodiment of the present application provides an electronic device, Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 5As shown, the electronic device 500 includes a memory 501 and a processor 502, wherein the memory 501 stores a computer program that can be run on the processor 502, and the processor 502 implements the steps in the method provided in the above embodiment when executing the program.
[0111] Alternatively, if Figure 5 As shown, the electronic device 500 may further include a transceiver 503, and the processor 502 may control the transceiver 503 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices.
[0112] The transceiver 503 may include a transmitter and a receiver. The transceiver 503 may further include an antenna, and the number of the antennas may be one or more.
[0113] It should be noted that the memory 501 is configured to store instructions and applications executable by the processor 502, and can also cache data to be processed or already processed by the processor 502 and various modules in the electronic device 500 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0114] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the above embodiment are implemented.
[0115] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps of the method provided in the above method embodiment.
[0116] It should be noted here that the description of the above electronic device, storage medium and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the electronic device, storage medium and computer program product embodiments of this application, please refer to the description of the method embodiment of this application for understanding.
[0117] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.
[0118] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.
[0119] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0120] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.
[0121] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0122] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0123] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0124] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0125] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0126] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0127] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0128] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A wireless communication method, characterized in that: The method comprises: Obtaining frequency band distribution information of a target area from a pre-built communication database, the frequency band distribution information including at least one candidate frequency band and a first parameter value of the candidate frequency band; wherein the communication scenario of the target area is a weak signal scenario; and the first parameter value is used to characterize the signal reception quality of the corresponding candidate frequency band; Selecting a first target frequency band from the at least one candidate frequency band according to a first parameter value of the at least one candidate frequency band; When it is determined based on the current position that the target area has been entered or is about to be entered, the wireless communication network is accessed according to the first target frequency band.
2. The method according to claim 1, characterized in that The first target frequency band satisfies one or more of the following conditions: The first parameter value is a maximum value among the first parameter values of the at least one candidate frequency band; The first parameter value is greater than or equal to the first threshold; The first parameter value is greater than the second parameter value of the current frequency band; wherein the current frequency band refers to the currently connected frequency band, and the second parameter value is used to characterize the current signal reception quality of the current frequency band.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: Measuring the at least one candidate frequency band to obtain measurement results corresponding to the at least one candidate frequency band; Selecting a second target frequency band from the at least one candidate frequency band according to the measurement results respectively corresponding to the at least one candidate frequency band; Access a wireless communication network according to the second target frequency band.
4. The method according to claim 3, characterized in that The accessing the wireless communication network according to the second target frequency band includes: In the case where there is no first target frequency band that meets the conditions in the at least one candidate frequency band, or in the case where an attempt to access the wireless communication network based on the first target frequency band fails, or in the case where the signal reception quality of the second target frequency band is better than that of the first target frequency band, access the wireless communication network based on the second target frequency band.
5. The method according to claim 2, characterized in that: If there is no first target frequency band meeting the condition in the at least one candidate frequency band, the current connection is maintained.
6. The method according to any one of claims 1 to 5, characterized in that The method further includes: in a case where it is determined based on the current position that the target area has been entered or is about to be entered, turning on a communication enhancement mode; The communication enhancement mode includes one or more of the following modes: Diversity transmission mode; Diversity reception mode; Extreme communication mode.
7. A wireless communication device, characterized in that: The device comprises: An acquisition module is configured to acquire frequency band distribution information of a target area from a pre-built communication database, wherein the frequency band distribution information includes at least one candidate frequency band and a first parameter value of the candidate frequency band; wherein the communication scenario of the target area is a weak signal scenario; and the first parameter value is used to characterize the signal reception quality of the corresponding candidate frequency band; a determination module configured to select a first target frequency band from the at least one candidate frequency band according to a first parameter value of the at least one candidate frequency band; The access module is configured to access the wireless communication network according to the first target frequency band when it is determined based on the current position that the target area has been entered or is about to be entered.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
