CN107248890A - Wireless communications method, device, storage medium and terminal - Google Patents

Wireless communications method, device, storage medium and terminal Download PDF

Info

Publication number
CN107248890A
CN107248890A CN201710401762.6A CN201710401762A CN107248890A CN 107248890 A CN107248890 A CN 107248890A CN 201710401762 A CN201710401762 A CN 201710401762A CN 107248890 A CN107248890 A CN 107248890A
Authority
CN
China
Prior art keywords
terminal
short
wireless communication
base station
distance wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710401762.6A
Other languages
Chinese (zh)
Inventor
杨怀
伏奎
陈再成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710401762.6A priority Critical patent/CN107248890A/en
Publication of CN107248890A publication Critical patent/CN107248890A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B15/00Suppression or limitation of noise or interference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/345Interference values
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements

Abstract

The embodiment of the present invention provides a kind of wireless communications method, device, storage medium and terminal, and this method is when the radiofrequency signal of first terminal is interfered, and search is with the presence or absence of the second terminal that can be connected by short-distance wireless communication mode;If in the presence of the second terminal, setting up the short-distance wireless communication with the second terminal and being connected;The upstream data for being sent to base station is sent to the second terminal, and the downlink data that the base station is sent is received from the second terminal.The program is when the radiofrequency signal of first terminal is interfered, short-distance wireless communication is set up with second terminal to be connected, communication transfer is carried out between the first terminal and base station by the second terminal, realize the information transmit-receive between base station, communication quality when being communicated so as to improve between first terminal and base station indirectly by the second terminal.

Description

Wireless communications method, device, storage medium and terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of wireless communications method, device, storage medium and terminal.
Background technology
The interference problem of radio communication is all important topic urgently to be resolved hurrily all the time.Wherein both include in radio system Interference between portion, also includes interference of other functional units to radio communication.Such as motor, shooting in mobile terminal Head, fingerprint recognition module etc..For example, by taking motor as an example, High-frequency Interference pulse can be produced when motor is vibrated with certain frequency Signal, when High-frequency Interference pulse signal formation spectrum energy overflows, can be interfered to radio communication.And then cause movement The signal stabilization of terminal is mutually reduced, and influences the proper communication of mobile terminal.Therefore need to further improve.
The content of the invention
The embodiment of the present invention provides a kind of wireless communications method, device, storage medium and terminal, can improve the logical of terminal Believe quality.
The embodiment of the present invention provides a kind of wireless communications method, including:
When the radiofrequency signal for detecting first terminal is interfered, search, which whether there is, can pass through short-distance wireless communication The second terminal that mode is connected;
If there is the second terminal, set up the short-distance wireless communication with the second terminal and be connected;
The upstream data for being sent to base station is sent to the second terminal, and the base is received from the second terminal Stand send downlink data, to realize the data interaction between the first terminal and the base station.
The embodiment of the present invention also provides a kind of radio communication device, including:
Search module, for when the radiofrequency signal for detecting first terminal is interfered, search to whether there is and can pass through The second terminal that short-distance wireless communication mode is connected;
Link block, for when there is the second terminal, setting up the short-distance wireless with the second terminal and leading to Letter connection;
Data transmit-receive module, for the upstream data for being sent to base station to be sent into the second terminal, and from described Second terminal receives the downlink data that the base station is sent, to realize that the data between the first terminal and the base station are handed over Mutually.
The embodiment of the present invention also provides a kind of storage medium, and be stored with a plurality of instruction in the storage medium, and the instruction is suitable to Loaded to perform above-mentioned wireless communications method by processor.
The embodiment of the present invention also provide be stored with a kind of terminal, including processor and storage medium, the storage medium it is many Bar is instructed, and the processor loads the instruction to perform above-mentioned wireless communications method.
The embodiment of the present invention also provides another terminal, including processor, memory and radio circuit, the processor It is electrically connected with the memory, radio circuit, the memory is used for store instruction and data, the radio circuit is used to receive Send out radiofrequency signal;The processor is used to perform following steps:
When the radiofrequency signal for detecting the terminal is interfered, search, which whether there is, can pass through short-distance wireless communication The second terminal that mode is connected;
If there is the second terminal, set up the short-distance wireless communication with the second terminal and be connected;
The upstream data for being sent to base station is sent to the second terminal, and the base is received from the second terminal Stand send downlink data, to realize the data interaction between the first terminal and the base station.
Wireless communications method provided in an embodiment of the present invention, when the radiofrequency signal of first terminal is interfered, search is It is no to there is the second terminal that connected by short-distance wireless communication mode;If in the presence of the second terminal, with the second terminal Set up short-distance wireless communication connection;The upstream data for being sent to base station is sent to the second terminal, and from this second Terminal receives the downlink data of base station transmission.The program is when the radiofrequency signal of first terminal is interfered, with second terminal Short-distance wireless communication connection is set up, communication transfer is carried out between the first terminal and base station by the second terminal, by this Second terminal realizes the information transmit-receive between base station indirectly, logical when being communicated so as to improve between first terminal and base station Believe quality.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described.It should be evident that drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is the schematic flow sheet of wireless communications method provided in an embodiment of the present invention.
Fig. 2 is another schematic flow sheet of wireless communications method provided in an embodiment of the present invention.
Fig. 3 is the another schematic flow sheet of wireless communications method provided in an embodiment of the present invention.
Fig. 4 is another schematic flow sheet of wireless communications method provided in an embodiment of the present invention.
Fig. 5 is the application scenarios schematic diagram of wireless communications method provided in an embodiment of the present invention.
Fig. 6 is the structural representation of radio communication device provided in an embodiment of the present invention.
Fig. 7 is another structural representation of radio communication device provided in an embodiment of the present invention.
Fig. 8 is the another structural representation of radio communication device provided in an embodiment of the present invention.
Fig. 9 is the structural representation of terminal provided in an embodiment of the present invention.
Figure 10 is another structural representation of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described.Obviously, described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made Example, belongs to protection scope of the present invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this The object of sample description can be exchanged in the appropriate case.In addition, term " comprising " and " having " and their any deformation, meaning Figure is to cover non-exclusive include.For example, containing the process of series of steps, method or containing a series of modules or list The device of member, terminal, system are not necessarily limited to those steps or module or the unit clearly listed, and can also include unclear The step of ground is listed or module or unit, can also be included for intrinsic its of these processes, method, device, terminal or system Its step or module or unit.
The embodiment of the present invention provides a kind of wireless communications method, and this method can apply in first terminal.First end End can be the equipment such as smart mobile phone, tablet personal computer.As shown in figure 1, the wireless communications method, may comprise steps of:
S110, when the radiofrequency signal of first terminal is interfered, search, which whether there is, can pass through short-distance wireless communication The second terminal that mode is connected.
Wherein, first terminal can pass through wired, the wireless or satellite-based communication by frame or packet transmission data System is run.Control interface used in the communication system can include UMTS (Universal Mobile Telecommunications System, UMTS), CDMA (Code Division Multiple Access, CDMA), frequency division multiple access (Frequency Division Multiple Access, FDMA), global mobile communication system System (Global System for Mobile Communication, GSM), digital nest honeybee system (Digital Cellular System, DCS) etc..
By taking gsm communication system as an example, gsm communication system can include multiple terminals, multiple base stations, base station controller and shifting Dynamic switching centre.Each base station can service multiple regions, and each base station is provided with multiple multidirectional antennas or points to certain party To antenna.The signal launched on antenna can with the corresponding coverage of coverage base station, each coverage can by one or Person's more than one antenna covering.Each base station can support multiple frequencies to distribute, wherein the distribution of each frequency has specific frequency range.
Base station receives the radiofrequency signal sent from first terminal, and the radio signal transmission received to base station is controlled in base station Device processed, then radio signal transmission to mobile switching centre is subjected to signal exchange by base station controller, with realize active user with Communication connection between other network users.
It is understood that conversed in the first terminal, received and sent messages etc. communication behavior when, in first terminal except Outside radio circuit, other operational modules may be also in work.The display screen of such as first terminal be in bright screen or Camera works.It now there may be the situation of communication quality difference.Now, the first terminal may search for whether surrounding deposits In the second terminal that can be connected by short-distance wireless communication mode.
Wherein, the second terminal can also be the equipment such as smart mobile phone, tablet personal computer.It is understood that short distance without Line communication mode can include the radio communications such as Bluetooth communication, Wireless Fidelity (WiFi) communication, ZigBee protocol (ZigBee) communication Mode.
S120, if in the presence of the second terminal, setting up the short-distance wireless communication with the second terminal and being connected.
Wherein, can after first terminal is searched out in the presence of the second terminal that can be connected by short-distance wireless communication mode It is connected with setting up the short-distance wireless communication with the second terminal.Set up after short-distance wireless communication connection, the first terminal is It can be communicated with the second terminal.
S130, is sent to the second terminal, and receive the base from the second terminal by the upstream data for being sent to base station Stand send downlink data.
Wherein, first terminal is set up before short-distance wireless communication with second terminal, and first terminal is direct by radio communication Communicated with base station.For example, first terminal can call other-end user by base station, or receive other-end use The phone incoming call at family, or transmitting-receiving short message etc. between other-end user.The upstream data of the base station to be sent be this One terminal will be sent to the data of base station.
First terminal and second terminal are set up after short-distance wireless communication, first terminal can by the short distance of foundation without The upstream data for being sent to base station is sent to the second terminal by line communication.Set up and penetrate between the second terminal and the base station Frequency is communicated, and the upstream data received from the first terminal is sent into base station.Base station receives the upper of second terminal transmission After row data, the downlink data for being sent to the first terminal can will be needed to be sent to the second terminal.Then, the first terminal The downlink data that the base station is sent is received from the second terminal by short-distance wireless communication.
With reference to Fig. 5, first terminal is set up after short-distance wireless communication with second terminal, and first terminal can pass through short distance Radio communication is communicated with the second terminal, to realize the information transmit-receive between the second terminal.The second terminal can be with Radio communication is set up with base station, to be communicated by radio communication with base station, the information transmit-receive between base station is realized.
When the radiofrequency signal of first terminal is interfered, the radio communication quality reduction between first terminal and base station. Now, the radio communication between first terminal and base station is likely to occur communication failure, causes the letter between first terminal and base station Breath transmitting-receiving failure.First terminal and second terminal are set up after short-distance wireless communication, second terminal first terminal and base station it Between enter row information transfer.Now, first terminal is communicated by short-distance wireless communication mode with second terminal, first terminal Information transmit-receive can be successfully carried out between second terminal.And carried out between second terminal and base station by radio communication mode Communication, also can successfully carry out information transmit-receive between second terminal and base station.So as to which first terminal can pass through second terminal Transfer, to realize communication between base station indirectly, so as to realize the data interaction between base station, it is possible to increase first eventually Hold communication quality during with being communicated between base station, it is to avoid communication failure.
In certain embodiments, as shown in Fig. 2 S110, when the radiofrequency signal of first terminal is interfered, search whether Before the second terminal that can be connected by short-distance wireless communication mode, it can also comprise the following steps:
S141, obtains the intensity level for the radiofrequency signal that first terminal is received;
S142, judges whether the intensity level is less than predetermined threshold value;
If less than predetermined threshold value, search is with the presence or absence of the second terminal that can be connected by short-distance wireless communication mode.
Wherein, predetermined threshold value can be a signal strength values being stored in advance in first terminal.For example, predetermined threshold value For -94dBm (dBm).The predetermined threshold value represents that the radiofrequency signal in first terminal is interfered and be not affected by point of interference Boundary's point.That is, when RF signal strength value is more than or equal to the predetermined threshold value, represent that radiofrequency signal is not affected by interference;Radiofrequency signal When intensity level is less than the predetermined threshold value, represent that radiofrequency signal is interfered.
In practical application, first terminal can obtain the radio frequency letter received by inquiring about the running parameter of radio circuit Number intensity level.Then, the intensity level of the radiofrequency signal got is compared with the predetermined threshold value, to judge the intensity level Whether the predetermined threshold value is less than.When the intensity level is less than the predetermined threshold value, represent that the radiofrequency signal of first terminal is interfered, Now first terminal search is with the presence or absence of the second terminal that can be connected by short-distance wireless communication mode;When the intensity level is more than Or during equal to the predetermined threshold value, represent that the radiofrequency signal of first terminal is not affected by interference, now first terminal can be with termination process Or re-execute this flow.
In certain embodiments, the short-distance wireless communication mode includes Bluetooth communication and WiFi communication, as shown in Fig. 2 Search comprises the following steps with the presence or absence of the second terminal that can be connected by short-distance wireless communication mode:
S111, passes sequentially through the bluetooth module of the first terminal, wireless fidelity module search with the presence or absence of can be by bluetooth Communication mode or the second terminal of Wireless Fidelity communication mode connection.
Wherein, there is bluetooth module and WiFi module in first terminal.When the radiofrequency signal of first terminal is interfered, First terminal can open bluetooth module and WiFi module, pass sequentially through bluetooth module, WiFi module search and whether there is and can lead to Cross the second terminal of Blue-tooth communication method or the connection of Wireless Fidelity communication mode.
When bluetooth module is searched in the presence of the second terminal that can be connected by Blue-tooth communication method, or WiFi module search During to the second terminal that can be connected by WiFi communication mode, represent that search result has attachable second terminal.Work as bluetooth Module does not search the second terminal that can be connected by Blue-tooth communication method, and WiFi module is not searched and can led to by WiFi During the second terminal that letter mode is connected, represent that attachable second terminal is not present in search result.
In certain embodiments, if as shown in Fig. 2 S120, in the presence of the second terminal, set up this with the second terminal short Before distance wireless communication connection, it can also comprise the following steps:
S151, if in the presence of the second terminal, obtaining user's mark of the second terminal;
S152, judges to whether there is the user mark identical user with the second terminal in the address list of the first terminal Mark;
If being identified in the presence of identical user is identified with the user of the second terminal, the short distance is set up with the second terminal Wireless communication connection.
Wherein, user's mark can be the telephone number associated with the second terminal.The user is identified for uniquely referring to The identity of the user of the second terminal.There is address list in first terminal.The address list is used to store multiple user's marks.Example Such as, be stored with the telephone number of multiple users in the address list of first terminal.
When exist in the address list of first terminal identified with the user of the second terminal mark identical user when, represent the There are social networks between the user of one terminal and the user of second terminal.Now, the first terminal passes through second end When end carries out communication transfer, it is possible to increase the Information Security during communication transfer.
Wherein, when presence can set up the second terminal of short-distance wireless communication connection in the search result of first terminal, First terminal can obtain user's mark of the second terminal.In practical application, first terminal can search second terminal Afterwards, the terminal iidentification of second terminal is obtained.Wherein, the terminal iidentification can uniquely refer to the identity of the second terminal.For example, the end End mark can be the information such as the physical address of second terminal.Then, the terminal iidentification got is reported to base by first terminal Stand, the user that second terminal is inquired about in base station according to the terminal iidentification identifies, and the user sent a query to the first terminal marks Know.In certain embodiments, first terminal can set up the transfer agreement that communicates, communication transfer association between second terminal in advance Discuss the information type for arranging to get mutually between first terminal and second terminal.Now, first terminal can root User's mark of second terminal is directly obtained according to the communication transfer agreement.
First terminal is got after user's mark of second terminal, by user mark with being deposited in the address list of first terminal Multiple users mark of storage is compared, with the presence or absence of the user with the second terminal in the address list to judge the first terminal Identify identical user mark.If being identified in the presence of identical user is identified with the user of the second terminal, with the second terminal Set up short-distance wireless communication connection.
In certain embodiments, it is connected as shown in Fig. 2 setting up the short-distance wireless communication with the second terminal including following Step:
S121, short-distance wireless communication connection request is sent to the second terminal;
S122, receives the response message of second terminal return, and the response message carries the mandate for authorizing and setting up connection Information;
S123, sets up the short-distance wireless communication according to the authorization message and the second terminal and is connected.
Wherein, first terminal can send short-distance wireless communication connection request to second terminal.For example, first terminal can To send Bluetooth connection request to the second terminal.
Second terminal is received after the wireless communication connection request of first terminal transmission, can be according to history linkage record pair The connection request is responded automatically, or receives the operation of user and same ask of the connection is responded.Second terminal is to this When connection request is responded, response message is returned to the first terminal.Carry to authorize in the response message and set up connection Authorization message.For example, the authorization message can be pairing password.
First terminal is received after the response message of second terminal return, and the authorization message is extracted from the response message, And short-distance wireless communication is set up with the second terminal according to the authorization message be connected.
In certain embodiments, if as shown in figure 3, in the presence of the second terminal, the short distance is set up with the second terminal Wireless communication connection, comprises the following steps:
S124, if in the presence of the second terminal, whether the quantity for judging the second terminal is multiple;
S125, if the quantity of the second terminal is multiple, the short-distance wireless is chosen from multiple second terminals and is led to Believe that a signal most strong terminal sets up connection.
Wherein, first terminal is searched after the second terminal that can be connected by short-distance wireless communication mode, according to search As a result the quantity of the second terminal is obtained, and judges whether the quantity of the second terminal is multiple.It is understood that multiple tables Show two or more.
If the quantity of the second terminal is multiple, first terminal can obtain the short distance of each second terminal respectively The signal intensity of radio communication, and therefrom choose a short-distance wireless communication signal most strong terminal and set up connection.
In certain embodiments, if as shown in figure 4, in the presence of the second terminal, the short distance is set up with the second terminal Wireless communication connection, comprises the following steps:
S126, if in the presence of the second terminal, whether the quantity for judging the second terminal is multiple;
S127, if the quantity of the second terminal is multiple, obtains each second terminal and the first terminal respectively The distance between;
S128, the selected distance first terminal is nearest from multiple second terminals according to the multiple distances got one Individual terminal sets up connection.
Wherein, first terminal is searched after the second terminal that can be connected by short-distance wireless communication mode, according to search As a result the quantity of the second terminal is obtained, and judges whether the quantity of the second terminal is multiple.It is understood that multiple tables Show two or more.
If the quantity of the second terminal is multiple, first terminal can obtain the position letter of each second terminal respectively Breath, and the distance between each second terminal and the first terminal are determined according to the positional information got.Then, according to true The multiple distances made nearest terminal of the selected distance first terminal from the plurality of second terminal sets up connection.
When it is implemented, the present invention is not limited by the execution sequence of each described step, conflict is not being produced In the case of, some steps can also be carried out using other orders or carried out simultaneously.
From the foregoing, it will be observed that wireless communications method provided in an embodiment of the present invention, when the radiofrequency signal of first terminal is interfered When, search is with the presence or absence of the second terminal that can be connected by short-distance wireless communication mode;If in the presence of the second terminal, with this Second terminal sets up short-distance wireless communication connection;The upstream data for being sent to base station is sent to the second terminal, and The downlink data of base station transmission is received from the second terminal.The program when the radiofrequency signal of first terminal is interfered, with Second terminal sets up short-distance wireless communication connection, in the second terminal is communicated between the first terminal and base station Turn, the information transmit-receive between base station is realized indirectly by the second terminal, so as to improve between first terminal and base station Communication quality during communication.
The embodiment of the present invention also provides a kind of radio communication device, and the device can be integrated in first terminal, and this first Terminal can be the equipment such as smart mobile phone, tablet personal computer.
As shown in fig. 6, radio communication device 200 can include:Search module 201, link block 202, data transmit-receive mould Block 203.
Search module 201, for when the radiofrequency signal of first terminal is interfered, search, which whether there is, can to pass through short distance The second terminal connected from communication.
Wherein, conversed in first terminal, received and sent messages etc. communication behavior when, in first terminal except radio circuit it Outside, other operational modules may be also in work.The display screen of such as first terminal be in bright screen or camera Work.It now there may be the situation of communication quality difference.Now, search module 201 may search for around whether there is and can pass through The second terminal that short-distance wireless communication mode is connected.
Wherein, the second terminal can also be the equipment such as smart mobile phone, tablet personal computer.It is understood that short distance without Line communication mode can include the radio communications such as Bluetooth communication, Wireless Fidelity (WiFi) communication, ZigBee protocol (ZigBee) communication Mode.
Link block 202, for when there is the second terminal, setting up the short-distance wireless communication with the second terminal and connecting Connect.
Wherein, after search module 201 is searched out in the presence of the second terminal that can be connected by short-distance wireless communication mode, Link block 202 can set up the short-distance wireless communication with the second terminal and be connected.Set up after short-distance wireless communication connection, The first terminal can be communicated with the second terminal.
Data transmit-receive module 203, for the upstream data for being sent to base station to be sent into the second terminal, and from this Two terminals receive the downlink data of base station transmission.
Wherein, first terminal is set up before short-distance wireless communication with second terminal, and first terminal is direct by radio communication Communicated with base station.For example, first terminal can call other-end user by base station, or receive other-end use The phone incoming call at family, or transmitting-receiving short message etc. between other-end user.The upstream data of the base station to be sent be this One terminal will be sent to the data of base station.
First terminal is set up after short-distance wireless communication with second terminal, and data transmit-receive module 203 can pass through foundation The upstream data for being sent to base station is sent to the second terminal by short-distance wireless communication.The second terminal and the base station it Between set up radio communication, and the upstream data received from the data transmit-receive module 203 is sent to base station.Base station receives number After the upstream data sent according to transceiver module 203, the downlink data for being sent to the data transmit-receive module 203 can will be needed to send Give the second terminal.Then, the data transmit-receive module 203 receives the base station from the second terminal by short-distance wireless communication and sent out The downlink data sent.
When the radiofrequency signal of first terminal is interfered, the radio communication quality reduction between first terminal and base station. Now, the radio communication between first terminal and base station is likely to occur communication failure, causes the letter between first terminal and base station Breath transmitting-receiving failure.First terminal and second terminal are set up after short-distance wireless communication, second terminal first terminal and base station it Between enter row information transfer.Now, first terminal is communicated by short-distance wireless communication mode with second terminal, first terminal Information transmit-receive can be successfully carried out between second terminal.And carried out between second terminal and base station by radio communication mode Communication, also can successfully carry out information transmit-receive between second terminal and base station.So as to which first terminal can pass through second terminal Transfer, to realize communication between base station indirectly, so as to realize the data interaction between base station, it is possible to increase first eventually Hold communication quality during with being communicated between base station, it is to avoid communication failure.
In certain embodiments, as shown in fig. 7, radio communication device 200 also includes:First acquisition module 204, first are sentenced Disconnected module 205.
First acquisition module 204, the intensity level for obtaining the radiofrequency signal that first terminal is received;
First judge module 205, for judging whether the intensity level is less than predetermined threshold value;
The search module 201, for the intensity level be less than predetermined threshold value when, search with the presence or absence of can by short distance without The second terminal of line communication mode connection.
Wherein, predetermined threshold value can be a signal strength values being stored in advance in first terminal.For example, predetermined threshold value For -94dBm (dBm).The predetermined threshold value represents that the radiofrequency signal in first terminal is interfered and be not affected by point of interference Boundary's point.That is, when RF signal strength value is more than or equal to the predetermined threshold value, represent that radiofrequency signal is not affected by interference;Radiofrequency signal When intensity level is less than the predetermined threshold value, represent that radiofrequency signal is interfered.
In practical application, the first acquisition module 204 can be received by inquiring about the running parameter of radio circuit to obtain Radiofrequency signal intensity level.Then, the first judge module 205 is by the intensity level of the radiofrequency signal got and the predetermined threshold value It is compared, to judge whether the intensity level is less than the predetermined threshold value.When the intensity level is less than the predetermined threshold value, first is represented The radiofrequency signal of terminal is interfered, and the now search of search module 201 whether there is and can be connected by short-distance wireless communication mode The second terminal connect;When the intensity level be more than or equal to the predetermined threshold value when, represent first terminal radiofrequency signal be not affected by it is dry Disturb, now radio communication device 200 with termination process or can re-execute this flow.
In certain embodiments, the short-distance wireless communication mode includes Bluetooth communication and WiFi communication, search module 201 For performing following steps:
When the radiofrequency signal of first terminal is interfered, bluetooth module, the Wireless Fidelity of the first terminal are passed sequentially through Block search is with the presence or absence of the second terminal that can be connected by Blue-tooth communication method or Wireless Fidelity communication mode.
Wherein, there is bluetooth module and WiFi module in first terminal.When the radiofrequency signal of first terminal is interfered, Search module 201 can open bluetooth module and WiFi module, pass sequentially through bluetooth module, WiFi module search with the presence or absence of can The second terminal connected by Blue-tooth communication method or Wireless Fidelity communication mode.
When search module 201 is searched in the presence of the second terminal that can be connected by Blue-tooth communication method, or search can During the second terminal connected by WiFi communication mode, represent that search result has attachable second terminal.Work as search module 201 do not search the second terminal that can be connected by Blue-tooth communication method, and do not search and can be connected by WiFi communication mode During the second terminal connect, represent that attachable second terminal is not present in search result.
In certain embodiments, as shown in figure 8, radio communication device 200 also includes:Second acquisition module 206, second are sentenced Disconnected module 207.
Second acquisition module 206, user's mark for when there is the second terminal, obtaining the second terminal;
With the presence or absence of the use with the second terminal in second judge module 207, the address list for judging the first terminal Family mark identical user's mark;
Link block 202, for when existing and the user mark identical user of the second terminal identifies, with this second Terminal sets up short-distance wireless communication connection.
Wherein, user's mark can be the telephone number associated with the second terminal.The user is identified for uniquely referring to The identity of the user of the second terminal.There is address list in first terminal.The address list is used to store multiple user's marks.Example Such as, be stored with the telephone number of multiple users in the address list of first terminal.
When exist in the address list of first terminal identified with the user of the second terminal mark identical user when, represent the There are social networks between the user of one terminal and the user of second terminal.Now, the first terminal passes through second end When end carries out communication transfer, it is possible to increase the Information Security during communication transfer.
Wherein, when in the search result of search module 201 presence can set up short-distance wireless communication connection second terminal When, the second acquisition module 206 can obtain user's mark of the second terminal.In practical application, the second acquisition module 206 can be with After second terminal is searched, the terminal iidentification of second terminal is obtained.Wherein, the terminal iidentification can uniquely refer to the second terminal Identity.For example, the terminal iidentification can be the information such as the physical address of second terminal.Then, the second acquisition module 206 will be obtained The terminal iidentification got is reported to base station, and the user that second terminal is inquired about in base station according to the terminal iidentification identifies, and to this first User's mark that terminal is sent a query to.In certain embodiments, first terminal can set up logical between second terminal in advance Believe transfer agreement, the communication transfer agreement is used for the info class for arranging to get mutually between first terminal and second terminal Type.Now, the second acquisition module 206 can directly obtain user's mark of second terminal according to the communication transfer agreement.
Second acquisition module 206 is got after user's mark of second terminal, and the second judge module 207 identifies the user With stored in the address list of first terminal multiple users mark be compared, in the address list to judge the first terminal whether Identified in the presence of with the user of second terminal mark identical user.If being used in the presence of with the user of second terminal mark identical Family is identified, then link block 202 is set up the short-distance wireless communication with the second terminal and is connected.
In certain embodiments, link block 202 is used to perform following steps:
Short-distance wireless communication connection request is sent to the second terminal;
The response message of second terminal return is received, the response message carries the authorization message for authorizing and setting up connection;
The short-distance wireless communication is set up according to the authorization message and the second terminal to be connected.
Wherein, link block 202 can send short-distance wireless communication connection request to second terminal.For example, connection mould Block 202 can send Bluetooth connection request to the second terminal.
Second terminal is received after the wireless communication connection request of the transmission of link block 202, can be connected and remembered according to history Record is responded automatically to the connection request, or receives the operation of user and same ask of the connection is responded.Second terminal When being responded to the connection request, response message is returned to the link block 202.Mandate is carried in the response message to set up The authorization message of connection.For example, the authorization message can be pairing password.
Link block 202 is received after the response message of second terminal return, and mandate letter is extracted from the response message Cease, and short-distance wireless communication is set up with the second terminal according to the authorization message and be connected.
In certain embodiments, link block 202 is used to perform following steps:
If in the presence of the second terminal, whether the quantity for judging the second terminal is multiple;
If the quantity of the second terminal is multiple, the short-distance wireless communication signal is chosen from multiple second terminals A most strong terminal sets up connection.
Wherein, search module 201 is searched after the second terminal that can be connected by short-distance wireless communication mode, connects mould Block 202 obtains the quantity of the second terminal according to search result, and judges whether the quantity of the second terminal is multiple.It can manage Solution, it is multiple to represent two or more.
If the quantity of the second terminal is multiple, link block 202 can obtain the short of each second terminal respectively The signal intensity of distance wireless communication, and therefrom choose a short-distance wireless communication signal most strong terminal and set up connection.
In certain embodiments, link block 202 is used to perform following steps:
If in the presence of the second terminal, whether the quantity for judging the second terminal is multiple;
If the quantity of the second terminal is multiple, obtain respectively between each second terminal and the first terminal Distance;
According to the multiple distances got from multiple second terminals a nearest end of the selected distance first terminal Connection is set up at end.
Wherein, search module 201 is searched after the second terminal that can be connected by short-distance wireless communication mode, connects mould Block 202 obtains the quantity of the second terminal according to search result, and judges whether the quantity of the second terminal is multiple.It can manage Solution, it is multiple to represent two or more.
If the quantity of the second terminal is multiple, link block 202 can obtain the position of each second terminal respectively Confidence ceases, and determines the distance between each second terminal and the first terminal according to the positional information got.Then, root According to the multiple distances determined, a nearest terminal of the selected distance first terminal sets up connection from the plurality of second terminal.
It when it is implemented, above modules can be realized as independent entity, can also be combined, be made Realized for same or several entities.
From the foregoing, it will be observed that radio communication device 200 provided in an embodiment of the present invention, when the radiofrequency signal of first terminal is by dry When disturbing, the search of search module 201 is with the presence or absence of the second terminal that can be connected by short-distance wireless communication mode;If in the presence of this Two terminals, then link block 202 set up the short-distance wireless communication with the second terminal and be connected;Data transmit-receive module 203 will be treated The upstream data for being sent to base station is sent to the second terminal, and receives the downlink data that the base station is sent from the second terminal. The program is set up short-distance wireless communication when the radiofrequency signal of first terminal is interfered, with second terminal and is connected, by this Two terminals carry out communication transfer between the first terminal and base station, realize the letter between base station indirectly by the second terminal Breath transmitting-receiving, communication quality when being communicated so as to improve between first terminal and base station.
The embodiment of the present invention also provides a kind of terminal.The terminal can be the equipment such as smart mobile phone, tablet personal computer.Such as Fig. 9 Shown, terminal 300 includes processor 301, memory 302 and radio circuit 303.Wherein, processor 301 respectively with memory 302nd, radio circuit 303 is electrically connected with.
Processor 301 is the control centre of terminal 300, utilizes various interfaces and each portion of the whole terminal of connection Point, the application program in memory 302 by operation or load store, and call the data being stored in memory 302, The various functions and processing data of terminal are performed, so as to carry out integral monitoring to terminal.
In the present embodiment, the processor 301 in terminal 300 can be according to the steps, will be one or more The corresponding instruction of the process of application program is loaded into memory 302, and is run by processor 301 and be stored in memory 302 In application program, so as to realize various functions:
When the radiofrequency signal of first terminal is interfered, search, which whether there is, to be connected by short-distance wireless communication mode The second terminal connect;
If there is the second terminal, set up the short-distance wireless communication with the second terminal and be connected;
The upstream data for being sent to base station is sent to the second terminal, and the base is received from the second terminal Stand send downlink data.
In certain embodiments, the short-distance wireless communication mode includes Bluetooth communication and Wireless Fidelity communicates, institute When stating search with the presence or absence of the second terminal that can be connected by short-distance wireless communication mode, processor 301 performs following steps: The bluetooth module of the first terminal, wireless fidelity module search are passed sequentially through with the presence or absence of can be by Blue-tooth communication method or nothing The second terminal of line fidelity communication mode connection.
In certain embodiments, set up with the second terminal before the short-distance wireless communication is connected, processor 301 is also Perform following steps:If there is the second terminal, user's mark of the second terminal is obtained;Judge the first terminal Address list in whether there is and identified with the user of second terminal mark identical user;If in the presence of with the second terminal User's mark identical user mark, then set up the short-distance wireless communication with the second terminal and be connected.
In certain embodiments, if there is the second terminal, the short-distance wireless is set up with the second terminal During communication connection, processor 301 performs following steps:If there is the second terminal, the quantity of the second terminal is judged Whether it is multiple;If the quantity of the second terminal to be multiple, chosen from multiple second terminals the short distance without A line signal of communication most strong terminal sets up connection.
In certain embodiments, if there is the second terminal, the short-distance wireless is set up with the second terminal During communication connection, processor 301 performs following steps:If there is the second terminal, the quantity of the second terminal is judged Whether it is multiple;If the quantity of the second terminal is multiple, each described second terminal and described first is obtained respectively The distance between terminal;First terminal is most according to the multiple distances got selected distance from multiple second terminals A near terminal sets up connection.
In certain embodiments, if there is the second terminal, the short-distance wireless is set up with the second terminal During communication connection, processor 301 performs following steps:If there is the second terminal, send described to the second terminal Short-distance wireless communication connection request;The response message that the second terminal is returned is received, the response message carries mandate Set up the authorization message of connection;The short-distance wireless communication is set up according to the authorization message and the second terminal to be connected.
In certain embodiments, when the radiofrequency signal of first terminal is interfered, search, which whether there is, can pass through short distance Before the second terminal connected from communication, processor 301 also performs following steps:What acquisition first terminal was received penetrates The intensity level of frequency signal;Judge whether the intensity level is less than predetermined threshold value;If the intensity level is less than the predetermined threshold value, Search is with the presence or absence of the second terminal that can be connected by short-distance wireless communication mode.
Memory 302 can be used for storage application program and data.Including in the application program that memory 302 is stored can be The instruction performed in processor.Application program can constitute various functions module.Processor 301 is stored in memory by operation 302 application program, so as to perform various function application and data processing.
Radio circuit 303 is used for transceiving radio frequency signal, to be entered by radio communication with the network equipment or other electronic equipments Row communication.
In certain embodiments, as shown in Figure 10, terminal 300 also includes:Display screen 304, control circuit 305, input are single Member 306, voicefrequency circuit 307, sensor 308 and power supply 309.Wherein, processor 301 respectively with display screen 304, control circuit 305th, input block 306, voicefrequency circuit 307, sensor 308 and power supply 309 are electrically connected with.
Display screen 304 can be used for showing the information inputted by user or be supplied to the information of user and the various figures of terminal Shape user interface, these graphical user interface can be made up of image, text, icon, video and its any combination.
Control circuit 305 is electrically connected with display screen 304, for the display information of control display screen 304.
Input block 306 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and Keyboard, mouse, action bars, optics or the trace ball signal relevant with user's setting and function control is produced to input.Wherein, Input block 306 can include fingerprint recognition module.
Voicefrequency circuit 307 can provide the COBBAIF between user and terminal by loudspeaker, microphone.
Sensor 308 is used to gather external environmental information.Sensor 308 can include ambient light sensor, acceleration One or more in the sensors such as sensor, gyroscope.
Power supply 309 is used to power to all parts of terminal 300.In certain embodiments, power supply 309 can pass through power supply Management system and processor 301 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although not shown in Figure 10, terminal 300 can also include camera, bluetooth module, Wireless Fidelity (WiFi) module Deng will not be repeated here.
From the foregoing, it will be observed that the embodiments of the invention provide a kind of terminal, when the radiofrequency signal of first terminal is interfered, searching Rope whether there is the second terminal that can be connected by short-distance wireless communication mode;If in the presence of the second terminal, with this second Terminal sets up short-distance wireless communication connection;The upstream data for being sent to base station is sent to the second terminal, and from this Second terminal receives the downlink data of base station transmission.The program is when the radiofrequency signal of first terminal is interfered, with second Terminal sets up short-distance wireless communication connection, and communication transfer is carried out between the first terminal and base station by the second terminal, leads to Information transmit-receive of the second terminal indirectly between realization and base station is crossed, when being communicated so as to improve between first terminal and base station Communication quality.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps can be by program to instruct the hardware of correlation to complete, and the program can be stored in computer-readable storage medium In matter, storage medium can include but is not limited to:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Wireless communications method, device, storage medium and the terminal provided above the embodiment of the present invention has been carried out in detail Introduce, specific case used herein is set forth to the principle and embodiment of the present invention, the explanation of above example It is only intended to the method and its core concept for helping to understand the present invention;Simultaneously for those skilled in the art, according to the present invention Thought, will change in specific embodiments and applications, in summary, this specification content should not be understood For limitation of the present invention.

Claims (11)

1. a kind of wireless communications method, applied to first terminal, it is characterised in that including:
When the radiofrequency signal for detecting first terminal is interfered, search, which whether there is, can pass through short-distance wireless communication mode The second terminal of connection;
If there is the second terminal, set up the short-distance wireless communication with the second terminal and be connected;
The upstream data for being sent to base station is sent to the second terminal, and the base station hair is received from the second terminal The downlink data sent, to realize the data interaction between the first terminal and the base station.
2. wireless communications method according to claim 1, it is characterised in that the short-distance wireless communication mode includes indigo plant Tooth communicates and Wireless Fidelity communication, and the search is with the presence or absence of the second terminal that can be connected by short-distance wireless communication mode The step of include:
The bluetooth module of the first terminal, wireless fidelity module search are passed sequentially through with the presence or absence of can be by Blue-tooth communication method Or the second terminal of Wireless Fidelity communication mode connection.
3. wireless communications method according to claim 1, it is characterised in that set up the short distance with the second terminal Before wireless communication connection, the wireless communications method also includes:
If there is the second terminal, user's mark of the second terminal is obtained;
Judge to whether there is user's mark identical user's mark with the second terminal in the address list of the first terminal;
If being identified in the presence of identical user is identified with the user of the second terminal, the short distance is set up with the second terminal From wireless communication connection.
4. wireless communications method according to any one of claim 1 to 3, it is characterised in that if having described second eventually End, then set up the short-distance wireless communication with the second terminal and be connected, including:
If there is the second terminal, whether the quantity for judging the second terminal is multiple;
If the quantity of the second terminal is multiple, the short-distance wireless communication letter is chosen from multiple second terminals A number most strong terminal sets up connection.
5. wireless communications method according to any one of claim 1 to 3, it is characterised in that if having described second eventually End, then set up the short-distance wireless communication with the second terminal and be connected, including:
If there is the second terminal, whether the quantity for judging the second terminal is multiple;
If the quantity of the second terminal is multiple, obtain respectively between each described second terminal and the first terminal Distance;
A nearest end of first terminal according to the multiple distances got selected distance from multiple second terminals Connection is set up at end.
6. wireless communications method according to any one of claim 1 to 3, it is characterised in that if having described second eventually End, then set up the short-distance wireless communication with the second terminal and be connected, including:
If there is the second terminal, the short-distance wireless communication connection request is sent to the second terminal;
The response message that the second terminal is returned is received, the response message carries the authorization message for authorizing and setting up connection;
The short-distance wireless communication is set up according to the authorization message and the second terminal to be connected.
7. wireless communications method according to any one of claim 1 to 3, it is characterised in that when the radio frequency of first terminal When signal is interfered, search whether there is the second terminal that can be connected by short-distance wireless communication mode, including:
Obtain the intensity level for the radiofrequency signal that first terminal is received;
Judge whether the intensity level is less than predetermined threshold value;
If the intensity level is less than the predetermined threshold value, search whether there is what can be connected by short-distance wireless communication mode Second terminal.
8. a kind of radio communication device, it is characterised in that including:
Search module, for when the radiofrequency signal for detecting first terminal is interfered, search, which whether there is, can to pass through short distance The second terminal connected from communication;
Link block, for when there is the second terminal, setting up the short-distance wireless communication with the second terminal and connecting Connect;
Data transmit-receive module, for the upstream data for being sent to base station to be sent into the second terminal, and from described second Terminal receives the downlink data that the base station is sent, to realize the data interaction between the first terminal and the base station.
9. a kind of storage medium, it is characterised in that be stored with a plurality of instruction in the storage medium, the instruction is suitable to by handling Device loading is with the wireless communications method any one of perform claim requirement 1 to 7.
10. a kind of terminal, it is characterised in that including processor and storage medium, be stored with a plurality of refer in the storage medium Order, the processor loading instruction is with the wireless communications method any one of perform claim requirement 1 to 7.
11. a kind of terminal, including processor, memory and radio circuit, it is characterised in that:
The processor is electrically connected with the memory, radio circuit, and the memory is used for store instruction and data, described Radio circuit is used for transceiving radio frequency signal;The processor is used to perform following steps:
When the radiofrequency signal for detecting the terminal is interfered, search, which whether there is, can pass through short-distance wireless communication mode The second terminal of connection;
If there is the second terminal, set up the short-distance wireless communication with the second terminal and be connected;
The upstream data for being sent to base station is sent to the second terminal, and the base station hair is received from the second terminal The downlink data sent, to realize the data interaction between the first terminal and the base station.
CN201710401762.6A 2017-05-31 2017-05-31 Wireless communications method, device, storage medium and terminal Pending CN107248890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710401762.6A CN107248890A (en) 2017-05-31 2017-05-31 Wireless communications method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710401762.6A CN107248890A (en) 2017-05-31 2017-05-31 Wireless communications method, device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN107248890A true CN107248890A (en) 2017-10-13

Family

ID=60017887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710401762.6A Pending CN107248890A (en) 2017-05-31 2017-05-31 Wireless communications method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN107248890A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405462A (en) * 2020-03-16 2020-07-10 浙江亚特电器有限公司 Positioning method, device, equipment and readable storage medium
CN112564294A (en) * 2019-09-24 2021-03-26 北京小米移动软件有限公司 Charging method, charging device and storage medium
CN112867115A (en) * 2021-01-18 2021-05-28 恒玄科技(上海)股份有限公司 Wireless device and wireless communication method
WO2021127915A1 (en) * 2019-12-23 2021-07-01 北京小米移动软件有限公司 Information acquisition method, information acquisition apparatus and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130053061A1 (en) * 2011-08-26 2013-02-28 Pantech Co., Ltd. Terminal, localization system, and method for determining location
CN102984213A (en) * 2012-11-08 2013-03-20 北京小米科技有限责任公司 Information sharing method, device and system
CN106332119A (en) * 2015-06-23 2017-01-11 阿里巴巴集团控股有限公司 Information processing method and device
CN106534495A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Method of information processing, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130053061A1 (en) * 2011-08-26 2013-02-28 Pantech Co., Ltd. Terminal, localization system, and method for determining location
CN102984213A (en) * 2012-11-08 2013-03-20 北京小米科技有限责任公司 Information sharing method, device and system
CN106332119A (en) * 2015-06-23 2017-01-11 阿里巴巴集团控股有限公司 Information processing method and device
CN106534495A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Method of information processing, device and equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112564294A (en) * 2019-09-24 2021-03-26 北京小米移动软件有限公司 Charging method, charging device and storage medium
WO2021127915A1 (en) * 2019-12-23 2021-07-01 北京小米移动软件有限公司 Information acquisition method, information acquisition apparatus and storage medium
CN113383566A (en) * 2019-12-23 2021-09-10 北京小米移动软件有限公司 Information acquisition method, information acquisition apparatus, and storage medium
CN111405462A (en) * 2020-03-16 2020-07-10 浙江亚特电器有限公司 Positioning method, device, equipment and readable storage medium
CN112867115A (en) * 2021-01-18 2021-05-28 恒玄科技(上海)股份有限公司 Wireless device and wireless communication method
CN112867115B (en) * 2021-01-18 2024-01-09 恒玄科技(上海)股份有限公司 Wireless device and wireless communication method

Similar Documents

Publication Publication Date Title
CN107147419A (en) Reduce method, storage medium and the terminal of signal interference
CN105744528A (en) Fake base station identification method and device and terminal
CN107248890A (en) Wireless communications method, device, storage medium and terminal
CN106851780B (en) Network connection method and terminal
CN106413036B (en) Network access processing method and terminal equipment
EP3099106B1 (en) Activating a mobile hotspot operation
CN110022553B (en) User identity identification card management method and mobile terminal
CN111343699A (en) Icon display method and device, storage medium and electronic equipment
CN108966296B (en) Signal prompting method, mobile terminal and computer readable storage medium
CN107094303B (en) Terminal network registration method, device and computer readable storage medium
EP3361786A1 (en) Network access method, terminal and storage medium
CN106961710B (en) Network access method and terminal
CN107147450A (en) Radio frequency interference processing method, device, storage medium and terminal
CN111066348B (en) Network access method and terminal equipment
CN106101989A (en) A kind of method selecting safe unit and mobile terminal
CN104869621B (en) A kind of Network Recognition method and apparatus
CN110677842B (en) Network searching method, device, terminal equipment and storage medium
CN209949085U (en) User identity identification integrated card, data communication equipment and system
CN107682916B (en) Network searching connection adaptation method and device and computer readable storage medium
CN108307380A (en) A kind of location of mobile users method for secret protection and mobile gateway
CN111065126B (en) Hot spot sharing method and device, storage medium and electronic equipment
CN107040985A (en) Radio frequency interference processing method, device, storage medium and terminal
CN107708141A (en) A kind of scan method of wireless network, mobile terminal and storage medium
CN105357671A (en) System and method for connecting wireless access points with same SSID and different passwords
CN107529171B (en) Method for detecting terminal access pseudo base station and related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171013

RJ01 Rejection of invention patent application after publication