CN108880631B - Information receiving and transmitting switching method and terminal - Google Patents

Information receiving and transmitting switching method and terminal Download PDF

Info

Publication number
CN108880631B
CN108880631B CN201810739640.2A CN201810739640A CN108880631B CN 108880631 B CN108880631 B CN 108880631B CN 201810739640 A CN201810739640 A CN 201810739640A CN 108880631 B CN108880631 B CN 108880631B
Authority
CN
China
Prior art keywords
network
antenna
information
receiving
preset threshold
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.)
Active
Application number
CN201810739640.2A
Other languages
Chinese (zh)
Other versions
CN108880631A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810739640.2A priority Critical patent/CN108880631B/en
Publication of CN108880631A publication Critical patent/CN108880631A/en
Application granted granted Critical
Publication of CN108880631B publication Critical patent/CN108880631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • H04B7/0608Antenna selection according to transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • H04B7/0825Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with main and with auxiliary or diversity antennas

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Radio Transmission System (AREA)

Abstract

The embodiment of the invention provides an information receiving and transmitting switching method and a terminal, belonging to the technical field of communication, wherein the terminal comprises: a first antenna; a second antenna; the control circuit is connected with the first antenna and the second antenna and is used for controlling the first antenna to be used as a main antenna of the first network when a preset application is operated and the signal intensity of the first network is greater than a first preset threshold value, receiving and transmitting information through the first network, controlling the second antenna to be used as a diversity receiving antenna of the first network, and receiving information through the first network; and when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, controlling the second antenna to serve as a main antenna of a second network, and transmitting and receiving information through the second network. In the embodiment of the invention, when the signal intensity of the network used for surfing the internet is low, the network can be switched to another network for receiving and sending information so as to ensure the operation effect of the preset application running on the terminal.

Description

Information receiving and transmitting switching method and terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an information receiving and transmitting switching method and a terminal.
Background
Nowadays, smart mobile terminals, such as smart phones, are becoming more popular, and users are using smart mobile terminals for office work, study and entertainment, wherein the operation effect of some applications is closely related to the signal quality of the network, such as online games, and if the signal quality of the network is not good, the game is likely to be jammed or stopped, which affects the user experience. Referring to the schematic distribution diagram of base stations in the cellular mobile communication system shown in fig. 1, the signal coverage distance of each base station is limited, and there may be a partial area between two base stations or between three base stations with poor signal quality (e.g., a circle portion in fig. 1), or even a signal blind area. When the smart mobile terminal running the online game is in a position with poor signal quality or a signal blind area, the game may be jammed or stopped due to low signal strength.
At present, no better solution is provided for the problems in the intelligent mobile terminal industry.
Disclosure of Invention
The embodiment of the invention provides an information receiving and transmitting switching method and a terminal, which aim to solve the problem that when the terminal is in an area with poor wireless signal coverage of a certain operator or in a wireless signal blind area, the operation effect of some applications is influenced.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a terminal, including:
a first antenna;
a second antenna;
the control circuit is connected with the first antenna and the second antenna and is used for controlling the first antenna to be used as a main antenna of the first network when a preset application is operated and the signal intensity of the first network is greater than a first preset threshold value, receiving and transmitting information through the first network, controlling the second antenna to be used as a diversity receiving antenna of the first network, and receiving information through the first network; and when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, controlling the second antenna to be used as a main antenna of a second network, and receiving and transmitting information through the second network, wherein the first network and the second network correspond to different mobile network operators respectively.
In a second aspect, an embodiment of the present invention further provides an information transceiving switching method, applied to a terminal, including:
when a preset application is operated and the signal intensity of a first network is greater than a first preset threshold value, controlling a first antenna to serve as a main antenna of the first network, receiving and transmitting information through the first network, controlling a second antenna to serve as a diversity receiving antenna of the first network, and receiving information through the first network;
and when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, controlling the second antenna to be used as a main antenna of a second network, and receiving and transmitting information through the second network, wherein the first network and the second network correspond to different mobile network operators respectively.
In a third aspect, an embodiment of the present invention further provides an information transceiving switching method, applied to a server, including:
when first notification information sent by a terminal is received, information is received and sent by adopting a second receiving and sending port corresponding to a second network, or information between the terminal and the terminal is received and sent by adopting a first receiving and sending port corresponding to a first network and a second receiving and sending port corresponding to the second network simultaneously, wherein the first receiving and sending port and the second receiving and sending port respectively correspond to the terminal only; and/or the presence of a gas in the gas,
and when receiving second notification information sent by a terminal, adopting a first transceiving port corresponding to a first network to transceive information between the first transceiving port and the terminal, wherein the first network and the second network respectively correspond to different mobile network operators.
In a fourth aspect, an embodiment of the present invention further provides a terminal, including:
the first control module is used for controlling a first antenna to be used as a main antenna of a first network when a preset application is operated and the signal intensity of the first network is greater than a first preset threshold value, receiving and sending information through the first network, controlling a second antenna to be used as a diversity receiving antenna of the first network, and receiving information through the first network;
and the second control module is used for controlling the second antenna to be used as a main antenna of a second network when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, and information is transmitted and received through the second network, wherein the first network and the second network correspond to different mobile network operators respectively.
In a fifth aspect, an embodiment of the present invention further provides a server, including:
the first communication module is used for receiving and transmitting information by adopting a second receiving and transmitting port corresponding to a second network when first notification information sent by a terminal is received, or simultaneously adopting a first receiving and transmitting port corresponding to a first network and a second receiving and transmitting port corresponding to the second network to receive and transmit information between the first receiving and transmitting port and the terminal, wherein the first receiving and transmitting port and the second receiving and transmitting port respectively correspond to the terminal only; and/or the presence of a gas in the gas,
and the second communication module is used for receiving and transmitting information between the terminal and a first receiving and transmitting port corresponding to a first network when receiving second notification information sent by the terminal, and the first network and the second network respectively correspond to different mobile network operators.
In a sixth aspect, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements any of the steps of the information transceiving switching method applied to the terminal.
In a seventh aspect, an embodiment of the present invention further provides a server, including a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the information transceiving switching method applied to the server.
In an eighth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of any of the above-mentioned information transceiving switching methods.
In the embodiment of the invention, when the application with high requirement on signal quality is operated and the signal of the first network is good, the first antenna is controlled to transmit and receive information through the first network, and the second antenna is controlled to be used as the diversity receiving antenna of the first network, so that the receiving effect is improved. And when the signal of the first network is deteriorated, the second antenna is controlled to be switched to the main antenna of the second network, so that information can be transmitted and received through the second network. Therefore, the network quality for transmitting and receiving information of certain applications with high requirements on signals can be ensured to the maximum extent when the applications run, so that the running effect of the applications is ensured. That is, the network for transceiving information is switched by switching the use of the first antenna and/or the second antenna, so that the terminal can transceive information using the second network when the signal of the first network is not good.
Drawings
Fig. 1 is a schematic diagram of base station distribution in a conventional cellular mobile communication system;
fig. 2 is a schematic diagram of an antenna layout of a conventional intelligent mobile terminal;
fig. 3 is a schematic structural diagram of a conventional intelligent mobile terminal;
fig. 4 is a schematic structural diagram of a terminal according to a first embodiment of the present invention;
fig. 5 is a flowchart illustrating an information transceiving switching method applied to a terminal according to a second embodiment of the present invention;
fig. 6 is a schematic flowchart of an information transceiving switching method applied to a server according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a terminal implementing an embodiment of the method of the present invention;
fig. 9 is a schematic structural diagram of a server according to a fifth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention;
fig. 11 is a schematic structural diagram of a server in the seventh embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention.
The existing intelligent mobile terminal with double-card double-standby function can only surf the internet by a single card, the other card is in a silent standby state, and when the network signal corresponding to the card used for surfing the internet is deteriorated and affects the running of some applications, for example, when a game is stuck or the game stops, the other card cannot be automatically switched to surf the internet, and the manual switching is needed. When the user manually switches, the user is required to leave the current interface and enter the network card switching interface, and the time from the user clicking the switching button to the successful switching is long, so that the running effect of some applications and the user experience are influenced.
Please refer to a general layout of antennas of the conventional smart mobile terminal shown in fig. 2 and a schematic diagram of an information transceiving hardware structure shown in fig. 3, wherein an upper antenna 01 is disposed at an upper portion of the smart mobile terminal, a lower antenna 02 is disposed at a lower portion of the smart mobile terminal, the upper antenna 01 is a main antenna and is used for Transmitting (TX) and Receiving (RX) radio frequency signals, and the lower antenna 02 is only used as a diversity receiving antenna and is only used for receiving diversity signals (DRX) without transmitting signals.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal includes:
a first antenna 1;
a second antenna 2;
a control circuit 3, connected to the first antenna 1 and the second antenna 2, configured to control the first antenna 1 as a main antenna of a first network when a preset application is running and a signal strength of the first network is greater than a first preset threshold, receive and transmit information through the first network, control the second antenna 2 as a diversity receiving antenna of the first network, and receive information through the first network; and when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, controlling the second antenna 2 to be used as a main antenna of a second network, and receiving and transmitting information through the second network, wherein the first network and the second network correspond to different mobile network operators respectively.
Generally, the network signal quality of each operator may be different in different places due to different base station distribution of each operator, for example, in places where the mobile network signal is poor, the telecommunication network signal may be better.
In the embodiment of the present invention, the terminal includes the first antenna 1 and the second antenna 2, and can transmit and receive information using at least one of the first network and the second network. When an application with high signal requirement is running, when the signal of the first network is good, the first antenna 1 is used for receiving and sending information through the first network by default, and the second antenna 2 is used as a diversity receiving antenna of the first network, so that the receiving effect is improved. And after the signal of the first network is worsened, the second antenna 2 is switched to the main antenna of the second network so as to receive and transmit information through the second network, thereby ensuring the network quality for receiving and transmitting information when certain applications with high requirements on signals run at the maximum.
For example, the terminal may be a smart phone having an upper antenna (a first antenna 1) and a lower antenna (a second antenna 2), and the smart phone has a dual-card dual-standby function, in which a main card and a sub card are inserted, the main card corresponds to a first network, the sub card corresponds to a second network, the first network may be a mobile network, and the second network may be a telecommunication network. The main card and the sub card may be SIM (Subscriber identity Module) cards or eSIM (Embedded-SIM) cards. When the online game application with high requirement on network signal quality is operated, the mobile network corresponding to the main card is used by default to send and receive information, at the moment, the first antenna 1 is used as the main antenna of the mobile network, and the second antenna 2 is used as the diversity receiving antenna of the mobile network, so that the receiving effect is ensured. But when detecting that the signal of the mobile network is deteriorated to affect the normal operation of the online game application, the second antenna 2 is switched to the main antenna of the telecommunication network so that the smart phone can transmit and receive information through the telecommunication network. Therefore, the problem of blocking of the online game application caused by low signal intensity of the first network is solved, the running effect of the online game application is guaranteed, and the user experience is improved.
The following is an example of the specific structure and operation of the terminal.
One preferred embodiment is as follows: the control circuit 3 is further configured to, when a preset application is run, control the second antenna 2 to be a main antenna of the second network, and the signal strength of the first network is greater than the first preset threshold, control the first antenna 1 to be a main antenna of the first network, receive and transmit information through the first network, control the second antenna 2 to be a diversity receiving antenna of the first network, and receive information through the first network, where the first preset threshold is greater than the second preset threshold.
In the present embodiment, the first antenna 1 as the main antenna of the first network and the second antenna 2 as the diversity receiving antenna of the first network are used simultaneously to receive information, and compared with the case where the second antenna 2 as the main antenna of the second network is used only to receive information, the receiving effect is better; compared to a scheme of simultaneously transceiving information through a first network using the first antenna 1 and transceiving information through a second network using the second antenna 2, it is possible to reduce a calculation processing amount of a processor of a terminal and to save power. Therefore, when the signal of the first network becomes good, the first antenna 1 is controlled as the main antenna of the first network, information is transmitted and received through the first network, and the second antenna 2 is switched to the diversity receiving antenna of the first network, and information is received through the first network. In addition, after the signal of the first network is improved, the scheme of only using the first network to receive and send information is switched back, and the use habit, the expense, the flow package and the like of the terminal user are comprehensively considered.
In addition, since the signal strength of the network may fluctuate, in order to prevent the terminal from frequently switching the network, in this embodiment, the first preset threshold is set to be greater than the second preset threshold, that is, the second antenna 2 is switched to the main antenna of the second network only when the signal strength of the first network is smaller than a smaller value and affects the normal operation of the preset application, and information is transmitted and received through the second network; only when the signal strength of the first network is greater than a larger value and the normal operation of the preset application can be guaranteed, the second antenna 2 is switched back to the diversity receiving antenna of the first network, information is received through the first network, and the first antenna 1 is controlled to be used as a main antenna of the first network, and information is received and sent through the first network. The specific values of the first preset threshold and the second preset threshold may be determined after the product is debugged.
When the preset application is run and the signal strength of the first network is smaller than the second preset threshold, in an optional specific embodiment, when the signal strength of the second network is larger than a third preset threshold, the control circuit 3 is further configured to control to close the mobile data function corresponding to the first antenna 1.
In this embodiment, if the signal strength of the second network is good enough (greater than the third preset threshold), the operation effect of the preset application may be ensured, and then the mobile data function corresponding to the first antenna 1 is controlled to be turned off, that is, the transceiver circuit and the data processing module corresponding to the first antenna 1 are in the silent standby state, and information is not transmitted and received through the first network, and only the second antenna 2 is used to transmit and receive information through the second network. Compared with the simultaneous use of the first network and the second network for transmitting and receiving information, the data processing amount of the terminal can be reduced and the power consumption can be reduced. The third preset threshold value can be specifically set in the subsequent debugging process according to parameters such as the data processing capacity of the terminal and the network performance requirement of the preset application.
In another optional embodiment, when the preset application is running and the signal strength of the first network is smaller than the second preset threshold, the control circuit 3 is further configured to control the first antenna 1 to send and receive information through the first network.
In this embodiment, in order to further ensure the operation effect of the preset application, when the signal of the first network is degraded, the first antenna 1 may be used to send and receive information through the first network and the second antenna 2 may be used to send and receive information through the second network, and a processor (CPU) of the terminal may analyze and correct the two paths of data, so as to improve the information interaction speed between the terminal and the server corresponding to the preset application, and reduce the error rate of the information received by the terminal. In addition, because the channel for receiving and transmitting information through the second network is added on the basis of receiving and transmitting information through the first network without cutting off the channel for receiving and transmitting information of the first network and switching to the channel for receiving and transmitting information of the second network, the phenomenon of pause in switching can not occur.
In the embodiment of the present invention, after switching the network in which the terminal receives and sends information, the server corresponding to the preset application needs to be correspondingly notified to correspondingly adjust the information receiving and sending port, and the specific scheme is as follows:
the control circuit 3 is further configured to send first notification information to a server corresponding to the preset application when the preset application is run and the signal strength of the first network is smaller than the second preset threshold, where the first notification information is used to notify the server to receive and transmit data through an information receiving and transmitting port corresponding to the second network.
The control circuit 3 is further configured to send second notification information to a server corresponding to the preset application when the preset application is run and the signal strength of the first network is greater than the first preset threshold, where the second notification information is used to notify the server to receive and transmit data through an information receiving and transmitting port corresponding to the first network.
That is, when the signal strength of the first network becomes low and the operation effect of the preset application is not sufficiently guaranteed, the second antenna 2 needs to be used for receiving and transmitting information through the second network, and at this time, the server needs to be notified to receive and transmit data through the information receiving and transmitting port corresponding to the second network. When the signal of the first network becomes good and the running effect of the preset application is sufficiently ensured, the server receives and transmits the interactive information with the server through the first network, so that the server needs to be informed to adopt an information receiving and transmitting port corresponding to the first network to receive and transmit data.
Specifically, referring to the schematic structural diagram of the terminal shown in fig. 4, in an embodiment of the present invention, the control circuit 3 includes: a first transceiver 311, a second transceiver 321, and a processor (CPU) 30;
the first transceiver 311, connected to the first antenna 1 and the second antenna 2, is configured to forward information from the first antenna 1 and the second antenna 2 to the processor and forward information from the processor to the first antenna 1 when the first antenna 1 is controlled to be a main antenna of the first network and the second antenna 2 is controlled to be a diversity receiving antenna of the first network; and/or, when the first antenna is controlled to be a main antenna of the first network and to receive and transmit information through the first network and the second antenna is controlled to be a main antenna of the second network and to receive and transmit information through the second network, forwarding the information from the first antenna to the processor and forwarding the information from the processor to the first antenna;
the second transceiver 321 is configured to forward information from the second antenna 2 to the processor and forward information from the processor to the second antenna 2 when the second antenna 2 is controlled as a main antenna of the second network.
In this embodiment, the second transceiver 321 is added, so that the second antenna 2, which is originally a diversity receiving antenna in the terminal, can be used as a main antenna of the second network, and thus, the second antenna 2 can be used to transmit and receive information through the second network. Therefore, in some cases, the terminal may simultaneously transmit and receive information through the first network by using the first antenna 1 and transmit and receive information through the second network by using the second antenna 2, so as to improve the information interaction speed and reduce the error rate of information transmission.
Preferably, referring to the schematic diagram of the terminal hardware structure shown in fig. 4, in an embodiment of the present invention, the control circuit 3 further includes:
a diversity receiving switch 315 connected between the first transceiver 311 and the second antenna 2, and configured to be closed to turn on the first transceiver 311 and the second antenna 2 when the second antenna 2 serves as a diversity receiving antenna of the first network, and to be opened to turn off the connection between the first transceiver 311 and the second antenna 2 when the second antenna 2 serves as a main antenna of the second network;
a switch K1, connected between the second transceiver 321 and the second antenna 2, for opening when the second antenna 2 is used as the diversity receiving antenna of the first network to disconnect the second transceiver 321 and the second antenna 2, and closing when the second antenna 2 is used as the main antenna of the second network to turn on the second transceiver 321 and the second antenna 2.
In this embodiment, the purpose of the second antenna 2 can be switched conveniently by controlling the on/off of the diversity reception switch 315 and the switch K1.
In addition, referring to fig. 4, the control circuit 3 of the terminal according to the embodiment of the present invention further includes: a first duplexer 313, a second duplexer 323, a first power amplifier 312, a second power amplifier 322, a first antenna switch 314, and a second antenna switch 324; a first duplexer 313 is disposed between the first transceiver 311 and the first antenna 1, a second duplexer 323 is disposed between the second transceiver 321 and the second antenna 2, and the duplexers are used for isolating a transmission signal and a reception signal, so that a terminal can simultaneously use the same antenna for signal reception and signal transmission; the first power amplifier 312 is disposed between a transmission port of the first transceiver 311 and the first duplexer 313, and is configured to amplify a signal to be transmitted, which is sent by the first transceiver 311; the second power amplifier 322 is disposed between a transmission port of the second transceiver 321 and the second duplexer, and is configured to amplify a signal to be transmitted, which is sent by the second transceiver 321; the first antenna switch 314 is disposed between the first duplexer 313 and the first antenna 1, and is used for opening or closing a transceiving channel of the first antenna 1, and the second antenna switch 324 is disposed between the second duplexer 323 and the second antenna 2, and is used for opening or closing a transceiving channel of the second antenna 2.
The technical scheme provided by the invention comprises the following working procedures:
step 31: when a preset application is running, a terminal defaults to control the first antenna 1 to be used as a main antenna of the first network, information is sent and received through the first network, the second antenna 2 is controlled to be used as a diversity receiving antenna of the first network, and information is received through the first network.
Step 32: when the terminal detects that the signal strength of the first network is smaller than the second preset threshold and detects that the signal strength of the second network is greater than the third preset threshold, the diversity receiving switch 315 is controlled to be disconnected to disconnect the first transceiver 311 and the second antenna 2, that is, to disconnect the diversity receiving loop of the second antenna 2; and controls the switch K1 to close, so as to close a transceiving loop formed by the second transceiver 321, the second duplexer 323, the second antenna switch 324 and the second antenna 2, that is, control the second antenna 2 to be a main antenna of a second network, and transmit and receive information through the second network.
Step 33: and closing the first network and switching to the second network, namely the card corresponding to the first network is in a silent state, does not receive and transmit mobile data, and can only receive and transmit information through the second network.
Step 34: and sending first notification information to a server corresponding to the preset application, wherein the first notification information is used for notifying the server to adopt an information transceiving port corresponding to the second network to receive and transmit data. The server simultaneously supports serial data transmission without network (mobile, communications, telecommunications) interfaces.
Step 35: and the server receives the first notification information, opens the information transceiving port corresponding to the second network according to the first notification information, and closes the information transceiving port corresponding to the first network. At this time, the server communicates with the terminal only through the information transmission/reception port corresponding to the second network, and the terminal communicates with the server through the second network only using the second antenna 2.
Step 36: when detecting that the signal strength of the first network is greater than the first preset threshold, the terminal controls the diversity receiving switch 315 to be closed, so as to connect the first transceiver 311 and the second antenna 2, that is, to connect the diversity receiving loop of the second antenna 2; the switch K1 is controlled to be turned off to open the transceiving loop formed by the second transceiver 321, the second duplexer 323, the second antenna switch 324 and the second antenna 2. Thereby switching the second antenna 2 back to the diversity receive antenna of the first network, receiving information via said first network, while the first antenna 1 receives and transmits information via the first network. The first preset threshold is larger than the second preset threshold.
Step 37: and sending second notification information to a server corresponding to the preset application, wherein the second notification information is used for notifying the server to adopt an information transceiving port corresponding to the first network to receive and transmit data.
Step 38: and the server receives the second notification information, opens the information receiving and transmitting port corresponding to the first network according to the second notification information, and closes the information receiving and transmitting port corresponding to the second network. At this time, the server communicates with the terminal only through the information transmission/reception port corresponding to the first network, and the terminal communicates with the server through the first network using both the first antenna 1 (transmitting/receiving information) and the second antenna 2 (receiving only).
Step 39: when the terminal detects that the signal strength of the first network is smaller than the second preset threshold and detects that the signal strength of the second network is greater than the third preset threshold, the process goes to step 32.
The other work flow of the technical scheme provided by the invention is as follows:
step 41: when a preset application is running, a terminal defaults to control the first antenna 1 to be used as a main antenna of the first network, information is sent and received through the first network, the second antenna 2 is controlled to be used as a diversity receiving antenna of the first network, and information is received through the first network.
Step 42: when the terminal detects that the signal strength of the first network is smaller than the second preset threshold (at this time, the signal strength of the second network may be greater than the third preset threshold, or may not be greater than the third preset threshold), the diversity receiving switch 315 is controlled to be disconnected to disconnect the first transceiver 311 and the second antenna 2, that is, disconnect the diversity receiving loop of the second antenna 2; and controls the switch K1 to close, so as to close a transceiving loop formed by the second transceiver 321, the second duplexer 323, the second antenna switch 324 and the second antenna 2, that is, control the second antenna 2 to be a main antenna of a second network, and transmit and receive information through the second network. At this time, the terminal can transmit and receive information through the second network, and simultaneously can transmit and receive information through the first network.
Step 43: and sending first notification information to a server corresponding to the preset application, wherein the first notification information is used for notifying the server to adopt an information transceiving port corresponding to the second network to receive and transmit data. Meanwhile, the server also adopts an information transceiving port corresponding to the first network to receive and transmit data. The server simultaneously supports parallel data transmission without network (mobile, connectivity, telecommunications) interfaces.
Step 44: the server receives the first notification information, and transmits and receives data through the second network by using the information transmitting and receiving port corresponding to the second network according to the first notification information, and keeps transmitting and receiving data through the first network by using the information transmitting and receiving port corresponding to the first network, that is, at this time, the server can simultaneously communicate with the terminal through the information transmitting and receiving port corresponding to the second network and the information transmitting and receiving port corresponding to the first network, and the terminal can simultaneously communicate with the server through the first network by using the first antenna 1 and the second network by using the second antenna 2.
Step 45: when detecting that the signal strength of the first network is greater than the first preset threshold, the terminal controls the diversity receiving switch 315 to be closed, so as to connect the first transceiver 311 and the second antenna 2, that is, to connect the diversity receiving loop of the second antenna 2; the switch K1 is controlled to be turned off to open the transceiving loop formed by the second transceiver 321, the second duplexer 323, the second antenna switch 324 and the second antenna 2. Thereby switching the second antenna 2 back to the diversity receive antenna of the first network, receiving information via said first network, while the first antenna 1 receives and transmits information via the first network. The first preset threshold is larger than the second preset threshold.
Step 46: and sending second notification information to a server corresponding to the preset application, wherein the second notification information is used for notifying the server to adopt an information transceiving port corresponding to the first network to receive and transmit data.
Step 47: and the server receives the second notification information and uses the information receiving and sending port corresponding to the first network according to the second notification information (the information receiving and sending port corresponding to the first network and the information receiving and sending port corresponding to the second network on the server are both kept in an open state). At this time, the server communicates with the terminal only through the information transmission/reception port corresponding to the first network, and the terminal communicates with the server through the first network using both the first antenna 1 (transmitting/receiving information) and the second antenna 2 (receiving only).
And 48: when the terminal detects that the signal strength of the first network is smaller than the second preset threshold and detects that the signal strength of the second network is greater than the third preset threshold, go to step 42.
Referring to fig. 5, fig. 5 is a flowchart illustrating an information transceiving switching method according to a second embodiment of the present invention, where the method is applicable to a terminal according to the first embodiment, and includes:
step 11: when a preset application is operated and the signal intensity of a first network is greater than a first preset threshold value, controlling a first antenna to serve as a main antenna of the first network, receiving and transmitting information through the first network, controlling a second antenna to serve as a diversity receiving antenna of the first network, and receiving information through the first network;
step 12: and when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, controlling the second antenna to be used as a main antenna of a second network, and receiving and transmitting information through the second network, wherein the first network and the second network correspond to different mobile network operators respectively.
In the information transceiving switching method provided by the embodiment of the present invention, when an application with a high signal requirement is running, and when a signal of a first network is good, a first antenna is controlled to transmit and receive information through the first network, and a second antenna is controlled to be used as a diversity receiving antenna of the first network, so as to improve a receiving effect. And when the signal of the first network is deteriorated, the second antenna is controlled to be switched to the main antenna of the second network so as to transmit and receive information through the second network. Therefore, the network quality for transmitting and receiving information of certain applications with high requirements on signals can be ensured to the maximum extent when the applications run, so that the running effect of the applications is ensured.
The above steps will be exemplified below.
In a preferred embodiment, when the preset application is run and the signal strength of the first network is smaller than a second preset threshold, the controlling the second antenna as a main antenna of a second network further includes, after the step of sending and receiving information through the second network:
when a preset application is operated and the signal intensity of the first network is greater than the first preset threshold value, the first antenna is controlled to serve as a main antenna of the first network, information is sent and received through the first network, the second antenna is controlled to serve as a diversity receiving antenna of the first network, information is received through the first network, and the first preset threshold value is greater than the second preset threshold value.
In the embodiment of the invention, the information is received by using the first antenna as the main antenna of the first network and the second antenna as the diversity receiving antenna of the first network at the same time, and compared with the information received by using only the second antenna as the main antenna of the second network, the receiving effect is better; compared to a scheme in which information is transceived through the first network using the first antenna and information is transceived through the second network using the second antenna at the same time, the calculation processing amount of the processor of the terminal may be reduced and power may be saved. Therefore, when the signal of the first network becomes good, the first antenna is controlled as the main antenna of the first network, information is transmitted and received through the first network, and the second antenna is switched to the diversity receiving antenna of the first network, and information is received through the first network. In addition, after the signal of the first network is improved, the scheme of only using the first network to receive and send information is switched back, and the use habit, the expense, the flow package and the like of the terminal user are comprehensively considered.
In addition, since the signal strength of the network may fluctuate, in order to prevent the terminal from frequently switching the network, in this embodiment, the first preset threshold is set to be greater than the second preset threshold, that is, the second antenna is switched to the main antenna of the second network only when the signal strength of the first network is smaller than a smaller value and affects the normal operation of the preset application, and information is transmitted and received through the second network; and switching the second antenna back to the diversity receiving antenna of the first network only when the signal strength of the first network is greater than a larger value and the normal operation of the preset application can be ensured, receiving information through the first network, controlling the first antenna to be used as a main antenna of the first network, and receiving and sending information through the first network. The specific values of the first preset threshold and the second preset threshold may be determined after the product is debugged.
In an optional implementation manner of the embodiment of the present invention, when the preset application is run and the signal strength of the first network is smaller than a second preset threshold, the controlling the second antenna to serve as a main antenna of a second network, and the step of sending and receiving information through the second network includes:
and when the preset application is operated, the signal intensity of the first network is smaller than the second preset threshold value, and the signal intensity of the second network is larger than a third preset threshold value, controlling the second antenna to be used as a main antenna of the second network, and controlling to close the mobile data function corresponding to the first antenna by receiving and sending information of the second network.
In this embodiment, if the signal strength of the second network is good enough (greater than the third preset threshold), the operation effect of the preset application may be ensured, and then the first antenna is controlled to stop receiving and transmitting the mobile data through the first network, that is, the receiving and transmitting circuit and the data processing module corresponding to the first antenna are in the silent standby state, and only the second antenna is used to receive and transmit information through the second network. Compared with the simultaneous use of the first network and the second network for transmitting and receiving information, the data processing amount of the terminal can be reduced and the power consumption can be reduced. The third preset threshold value can be specifically set in the subsequent debugging process according to parameters such as the data processing capacity of the terminal and the network performance requirement of the preset application.
In another optional implementation manner of the embodiment of the present invention, when the preset application is run and the signal strength of the first network is smaller than a second preset threshold, the controlling the second antenna to serve as a main antenna of a second network, and the step of sending and receiving information through the second network includes:
and when the preset application is operated and the signal intensity of the first network is smaller than the second preset threshold value, controlling the second antenna to serve as a main antenna of the second network, receiving and sending information through the second network, and controlling the first antenna to receive and send information through the first network.
In the embodiment of the present invention, in order to further ensure the operation effect of the preset application, when a signal of the first network is degraded, the first antenna may be used to send and receive information through the first network and the second antenna may be used to send and receive information through the second network, and a processor (CPU) of the terminal may analyze and correct the two paths of data, so as to improve the information interaction speed between the terminal and the server corresponding to the preset application, and reduce the error rate of the information received by the terminal. In addition, because the channel for receiving and transmitting information through the second network is added on the basis of receiving and transmitting information through the first network without cutting off the channel for receiving and transmitting information of the first network and switching to the channel for receiving and transmitting information of the second network, the phenomenon of pause in switching can not occur.
In the embodiment of the present invention, after switching the network in which the terminal receives and sends information, the server corresponding to the preset application needs to be correspondingly notified to correspondingly adjust the information receiving and sending port, and the specific scheme is as follows:
when the preset application is run and the signal strength of the first network is greater than a first preset threshold value, the method further includes the steps of controlling the first antenna to serve as a main antenna of the first network, receiving and transmitting information through the first network, controlling the second antenna to serve as a diversity receiving antenna of the first network, and receiving information through the first network:
and when the preset application is operated and the signal intensity of the first network is smaller than the second preset threshold value, sending first notification information to a server corresponding to the preset application, wherein the first notification information is used for notifying the server to adopt an information transceiving port corresponding to the second network to receive and transmit data.
In addition, the method further comprises:
and when the preset application is operated and the signal intensity of the first network is greater than the first preset threshold value, sending second notification information to a server corresponding to the preset application, wherein the second notification information is used for notifying the server to adopt an information receiving and sending port corresponding to the first network to receive and send data.
In this embodiment, when the signal strength of the first network becomes small and the operation effect of the preset application is not sufficiently ensured, the second antenna needs to be used to transmit and receive information through the second network, and at this time, the server needs to be notified to transmit and receive data through the information transmitting and receiving port corresponding to the second network. When the signal of the first network becomes good and the running effect of the preset application is sufficiently ensured, the server receives and transmits the interactive information with the server through the first network, so that the server needs to be informed to adopt an information receiving and transmitting port corresponding to the first network to receive and transmit data.
Referring to fig. 6, fig. 6 is a schematic flow chart of an information transceiving switching method according to a third embodiment of the present invention, which is applied to a server, and includes:
step 21: when first notification information sent by a terminal is received, information is received and sent by adopting a second receiving and sending port corresponding to a second network, or information between the terminal and the terminal is received and sent by adopting a first receiving and sending port corresponding to a first network and a second receiving and sending port corresponding to the second network simultaneously, wherein the first receiving and sending port and the second receiving and sending port respectively correspond to the terminal only; and/or the presence of a gas in the gas,
step 22: and when receiving second notification information sent by a terminal, adopting a first transceiving port corresponding to a first network to transceive information between the first transceiving port and the terminal, wherein the first network and the second network respectively correspond to different mobile network operators.
In the embodiment of the invention, the server supports information communication with the terminal by using different networks. When the server receives the first notification message sent by the terminal, it indicates that the second antenna of the terminal has been switched to the main antenna of the second network and transmits and receives messages through the second network, so the server also needs to transmit and receive messages through a second transmitting and receiving port corresponding to the second network. In this case, the server also needs to communicate with the terminal using the first transmission/reception port corresponding to the first network at the same time. When the server receives the second notification information sent by the terminal, the server indicates that the second antenna of the terminal has been switched to be used as the diversity receiving antenna of the first network, and the terminal can only receive and send information through the first network, so that the server only needs to adopt the first receiving and sending port corresponding to the first network to receive and send information between the server and the terminal.
In this embodiment, the server may correspondingly use networks of different network operators to communicate with the terminal according to different International Mobile Equipment Identities (IMEI) of the terminal. At least two receiving and transmitting ports which are uniquely corresponding to any one terminal are arranged on the server, namely at least two receiving and transmitting ports on the server are special for the terminal and are not public for other terminals, and each receiving and transmitting port receives and transmits information through different networks (networks of different operators). In one embodiment, the server supports serial data transmission of different network (mobile, connected, telecommunication) interfaces at the same time, and when a port corresponding to one network is used for information communication with the terminal, ports corresponding to other networks need to be closed, for example, when a transceiving port corresponding to a mobile network is used for communication with the terminal, a port corresponding to a telecommunication network and a port corresponding to a connected network need to be closed. The terminal can communicate with the server through the first network only using the first antenna (information transmitted by the server can be received simultaneously using the second antenna as a diversity reception antenna), or can communicate with the server through the second network using the second antenna, and cannot communicate with the server through the first network and the second network simultaneously. In another embodiment, the server may simultaneously support parallel data transmission of different network (mobile, internet, telecommunication) interfaces, and the server may simultaneously transmit and receive information through corresponding transceiving ports (also referred to as interfaces) of different networks by using the corresponding networks, so that the terminal may simultaneously communicate with the server through the first network and the second network.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention, where the terminal includes:
a first control module 51, configured to control a first antenna as a main antenna of a first network when a preset application is run and a signal strength of the first network is greater than a first preset threshold, receive and transmit information through the first network, control a second antenna as a diversity receiving antenna of the first network, and receive information through the first network;
a second control module 52, configured to control the second antenna to serve as a main antenna of a second network when the preset application is run and the signal strength of the first network is smaller than a second preset threshold, and send and receive information through the second network, where the first network and the second network correspond to different mobile network operators, respectively.
When the terminal provided by the embodiment of the invention runs an application with high signal requirement, when the signal of the first network is good, the first antenna is controlled to transmit and receive information through the first network, and the second antenna is controlled to be used as a diversity receiving antenna of the first network, so that the receiving effect is improved. And when the signal of the first network is deteriorated, the second antenna is controlled to be switched to the main antenna of the second network so as to transmit and receive information through the second network. Therefore, the network quality for transmitting and receiving information of certain applications with high requirements on signals can be ensured to the maximum extent when the applications run, so that the running effect of the applications is ensured.
Optionally, the terminal further includes a third control module, configured to control the first antenna to serve as a main antenna of the first network when a preset application is run, and the signal strength of the first network is greater than the first preset threshold, to receive and transmit information through the first network, control the second antenna to serve as a diversity receiving antenna of the first network, and receive information through the first network, where the first preset threshold is greater than the second preset threshold.
Optionally, the second control module 52 includes:
and the first control unit is used for controlling the second antenna to be used as a main antenna of the second network when the preset application is operated, the signal intensity of the first network is smaller than the second preset threshold value and the signal intensity of the second network is greater than the third preset threshold value, and the mobile data function corresponding to the first antenna is controlled to be closed by receiving and sending information through the second network.
Optionally, the second control module 52 includes:
and the second control unit is used for controlling the second antenna to be used as a main antenna of the second network when the preset application is operated and the signal intensity of the first network is smaller than the second preset threshold value, receiving and sending information through the second network and controlling the first antenna to receive and send information through the first network.
Optionally, the terminal further includes a first notification module, configured to send first notification information to a server corresponding to the preset application when the preset application is run and the signal strength of the first network is smaller than the second preset threshold, where the first notification information is used to notify the server to receive and transmit data through an information receiving and transmitting port corresponding to the second network.
Optionally, the terminal further includes a second notification module, configured to send second notification information to a server corresponding to the preset application when the preset application is run and the signal strength of the first network is greater than the first preset threshold, where the second notification information is used to notify the server to receive and transmit data through an information receiving and transmitting port corresponding to the first network.
The terminal provided in the embodiment of the present invention can implement each process of the information transceiving switching method described in the second embodiment, and is not described herein again to avoid repetition.
Fig. 8 is a schematic diagram of a hardware structure of a terminal for implementing various method embodiments of the present invention, where the terminal 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal configuration shown in fig. 8 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein the radio frequency unit 101 includes a first antenna and a second antenna. A processor 110, configured to control a first antenna as a main antenna of a first network, receive and transmit information through the first network, control a second antenna as a diversity receiving antenna of the first network, and receive information through the first network when a preset application is run and a signal strength of the first network is greater than a first preset threshold; and when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, controlling the second antenna to be used as a main antenna of a second network, and receiving and transmitting information through the second network, wherein the first network and the second network correspond to different mobile network operators respectively.
When the application with high signal requirement is operated, when the signal of the first network is good, the first antenna is controlled to transmit and receive information through the first network, and the second antenna is controlled to be used as the diversity receiving antenna of the first network, so that the receiving effect is improved. And when the signal of the first network is deteriorated, the second antenna is controlled to be switched to the main antenna of the second network so as to transmit and receive information through the second network. Therefore, the network quality for transmitting and receiving information of certain applications with high requirements on signals can be ensured to the maximum extent when the applications run, so that the running effect of the applications is ensured.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 8, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a server according to a fifth embodiment of the present invention, where the server includes:
a first communication module 61, configured to receive and transmit information using a second transceiving port corresponding to a second network when receiving first notification information sent by a terminal, or simultaneously receive and transmit information between the terminal using a first transceiving port corresponding to a first network and a second transceiving port corresponding to the second network, where the first transceiving port and the second transceiving port respectively correspond to the terminal uniquely; and/or the presence of a gas in the gas,
and a second communication module 62, configured to receive and send information between the terminal and a first receiving and sending port corresponding to a first network when receiving second notification information sent by the terminal, where the first network and the second network correspond to different mobile network operators, respectively.
The server provided by the embodiment of the invention can adopt the corresponding network transceiving ports to transmit and receive information between the terminal and the terminal according to different networks used by the terminal, so that the terminal can use the other network to transmit and receive information when the signal intensity of one network is poor, and the operation effect of certain applications (applications with high data transceiving real-time requirements) running on the terminal is further ensured.
The server provided in the embodiment of the present invention can implement each process in the method embodiment corresponding to fig. 6, and is not described here again to avoid repetition.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a terminal according to a sixth embodiment of the present invention, where the terminal 800 includes a processor 801, a memory 802, and a computer program stored in the memory 802 and operable on the processor 801, where the computer program when executed by the processor 801 implements the following steps:
when a preset application is operated and the signal intensity of a first network is greater than a first preset threshold value, controlling a first antenna to be used as a main antenna of the first network, receiving and sending information through the first network, controlling a second antenna to be used as a diversity receiving antenna of the first network, and receiving information through the first network;
and when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, controlling the second antenna to be used as a main antenna of a second network, and receiving and transmitting information through the second network, wherein the first network and the second network correspond to different mobile network operators respectively.
In the embodiment of the invention, when the application with high signal requirement is operated and the signal of the first network is good, the first antenna is controlled to transmit and receive information through the first network, and the second antenna is controlled to be used as the diversity receiving antenna of the first network, so that the receiving effect is improved. And when the signal of the first network is deteriorated, the second antenna is controlled to be switched to the main antenna of the second network so as to transmit and receive information through the second network. Therefore, the network quality for transmitting and receiving information of certain applications with high requirements on signals can be ensured to the maximum extent when the applications run, so that the running effect of the applications is ensured.
Optionally, the computer program when executed by the processor 801 may further implement the steps of:
when a preset application is operated, the second antenna is controlled to be a main antenna of the second network, and the signal intensity of the first network is greater than the first preset threshold, the first antenna is controlled to be used as the main antenna of the first network, information is transmitted and received through the first network, the second antenna is controlled to be used as a diversity receiving antenna of the first network, information is received through the first network, and the first preset threshold is greater than the second preset threshold.
Optionally, the computer program when executed by the processor 801 may further implement the steps of:
and when the preset application is operated, the signal intensity of the first network is smaller than the second preset threshold value, and the signal intensity of the second network is larger than a third preset threshold value, controlling the second antenna to be used as a main antenna of the second network, and controlling to close the mobile data function corresponding to the first antenna by receiving and sending information of the second network.
Optionally, the computer program when executed by the processor 801 may further implement the steps of:
and when the preset application is operated and the signal intensity of the first network is smaller than the second preset threshold value, controlling the second antenna to serve as a main antenna of the second network, receiving and sending information through the second network, and controlling the first antenna to receive and send information through the first network.
Optionally, the computer program when executed by the processor 801 may further implement the steps of:
and when the preset application is operated and the signal intensity of the first network is smaller than the second preset threshold value, sending first notification information to a server corresponding to the preset application, wherein the first notification information is used for notifying the server to adopt an information transceiving port corresponding to the second network to receive and transmit data.
Optionally, the computer program when executed by the processor 801 may further implement the steps of:
and when the preset application is operated and the signal intensity of the first network is greater than the first preset threshold value, sending second notification information to a server corresponding to the preset application, wherein the second notification information is used for notifying the server to adopt an information receiving and sending port corresponding to the first network to receive and send data.
The terminal can implement each process of the information transceiving switching method described in the second embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a server according to a seventh embodiment of the present invention, where the terminal 900 includes a processor 901, a memory 902, and a computer program stored in the memory 902 and operable on the processor 901, where the computer program when executed by the processor 901 implements the following steps:
when first notification information sent by a terminal is received, information is received and sent by adopting a second receiving and sending port corresponding to a second network, or information between the terminal and the terminal is received and sent by adopting a first receiving and sending port corresponding to a first network and a second receiving and sending port corresponding to the second network simultaneously, wherein the first receiving and sending port and the second receiving and sending port respectively correspond to the terminal only; and/or the presence of a gas in the gas,
and when receiving second notification information sent by a terminal, adopting a first transceiving port corresponding to a first network to transceive information between the first transceiving port and the terminal, wherein the first network and the second network respectively correspond to different mobile network operators.
The server provided by the embodiment of the invention can adopt the corresponding network transceiving ports to transmit and receive information between the terminal and the terminal according to different networks used by the terminal, so that the terminal can use the other network to transmit and receive information when the signal intensity of one network is poor, and the operation effect of certain applications (applications with high data transceiving real-time requirements) running on the terminal is further ensured.
The terminal can implement each process of the information transceiving switching method described in the third embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned information transceiving switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (21)

1. A terminal, comprising:
a first antenna;
a second antenna;
the control circuit is connected with the first antenna and the second antenna and is used for controlling the first antenna to be used as a main antenna of the first network when a preset application is operated and the signal intensity of the first network is greater than a first preset threshold value, receiving and transmitting information through the first network, controlling the second antenna to be used as a diversity receiving antenna of the first network, and receiving information through the first network; when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, controlling the second antenna to serve as a main antenna of a second network, and receiving and transmitting information through the second network, wherein the first network and the second network correspond to different mobile network operators respectively; the first preset threshold is greater than the second preset threshold.
2. The terminal of claim 1,
the control circuit is further configured to, when a preset application is run, control the second antenna to be a main antenna of the second network, and the signal strength of the first network is greater than the first preset threshold, control the first antenna to serve as the main antenna of the first network, receive and transmit information through the first network, control the second antenna to serve as a diversity receiving antenna of the first network, and receive information through the first network, where the first preset threshold is greater than the second preset threshold.
3. The terminal of claim 1,
the control circuit is further configured to control to close the mobile data function corresponding to the first antenna when the preset application is run, the signal strength of the first network is smaller than the second preset threshold, and the signal strength of the second network is greater than a third preset threshold.
4. The terminal of claim 1,
the control circuit is further configured to control the first antenna to receive and transmit information through the first network when the preset application is run and the signal strength of the first network is smaller than the second preset threshold.
5. The terminal of claim 1,
the control circuit is further configured to send first notification information to a server corresponding to the preset application when the preset application is run and the signal strength of the first network is smaller than the second preset threshold, where the first notification information is used to notify the server to receive and transmit data through an information receiving and transmitting port corresponding to the second network.
6. The terminal of claim 1,
the control circuit is further configured to send second notification information to a server corresponding to the preset application when the preset application is run and the signal strength of the first network is greater than the first preset threshold, where the second notification information is used to notify the server to receive and transmit data through an information receiving and transmitting port corresponding to the first network.
7. The terminal of claim 1, wherein the control circuit comprises: a first transceiver, a second transceiver, and a processor;
the first transceiver is connected with the first antenna and the second antenna, and is configured to forward information from the first antenna and the second antenna to the processor and forward information from the processor to the first antenna when the first antenna is controlled to be a main antenna of the first network and the second antenna is controlled to be a diversity receiving antenna of the first network; and/or, when the first antenna is controlled to be a main antenna of the first network and to receive and transmit information through the first network and the second antenna is controlled to be a main antenna of the second network and to receive and transmit information through the second network, forwarding the information from the first antenna to the processor and forwarding the information from the processor to the first antenna;
the second transceiver is configured to forward information from the second antenna to the processor and forward information from the processor to the second antenna when the second antenna is controlled to be a primary antenna of the second network.
8. The terminal of claim 7, wherein the control circuit further comprises:
a diversity receiving switch connected between the first transceiver and the second antenna, and configured to be closed to connect the first transceiver and the second antenna when the second antenna is used as a diversity receiving antenna of the first network, and to be opened to disconnect the first transceiver and the second antenna when the second antenna is used as a main antenna of the second network;
and the change-over switch is connected between the second transceiver and the second antenna and is used for being opened when the second antenna is used as a diversity receiving antenna of the first network so as to disconnect the second transceiver from the second antenna and being closed when the second antenna is used as a main antenna of the second network so as to conduct the second transceiver and the second antenna.
9. An information transceiving switching method is applied to a terminal, and comprises the following steps:
when a preset application is operated and the signal intensity of a first network is greater than a first preset threshold value, controlling a first antenna to serve as a main antenna of the first network, receiving and transmitting information through the first network, controlling a second antenna to serve as a diversity receiving antenna of the first network, and receiving information through the first network;
and when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, controlling the second antenna to serve as a main antenna of a second network, and receiving and transmitting information through the second network, wherein the first network and the second network correspond to different mobile network operators respectively, and the first preset threshold value is larger than the second preset threshold value.
10. The information transceiving switching method according to claim 9, wherein the step of controlling the second antenna as a main antenna of a second network when the predetermined application is run and the signal strength of the first network is smaller than a second predetermined threshold, and the step of transceiving information through the second network further comprises:
when a preset application is operated and the signal intensity of the first network is greater than the first preset threshold value, the first antenna is controlled to serve as a main antenna of the first network, information is sent and received through the first network, the second antenna is controlled to serve as a diversity receiving antenna of the first network, information is received through the first network, and the first preset threshold value is greater than the second preset threshold value.
11. The information transceiving switching method according to claim 9, wherein the step of controlling the second antenna as a main antenna of a second network when the predetermined application is run and the signal strength of the first network is smaller than a second predetermined threshold value, and the step of transceiving information through the second network comprises:
and when the preset application is operated, the signal intensity of the first network is smaller than the second preset threshold value, and the signal intensity of the second network is larger than a third preset threshold value, controlling the second antenna to be used as a main antenna of the second network, and controlling to close the mobile data function corresponding to the first antenna by receiving and sending information of the second network.
12. The information transceiving switching method according to claim 9, wherein the step of controlling the second antenna as a main antenna of a second network when the predetermined application is run and the signal strength of the first network is smaller than a second predetermined threshold value, and the step of transceiving information through the second network comprises:
and when the preset application is operated and the signal intensity of the first network is smaller than the second preset threshold value, controlling the second antenna to serve as a main antenna of the second network, receiving and sending information through the second network, and controlling the first antenna to receive and send information through the first network.
13. The information transceiving switching method according to claim 9, wherein when a predetermined application is running and a signal strength of a first network is greater than a first predetermined threshold, the method further comprises, after the steps of controlling a first antenna as a main antenna of the first network, transceiving information through the first network, controlling a second antenna as a diversity receiving antenna of the first network, and receiving information through the first network:
and when the preset application is operated and the signal intensity of the first network is smaller than the second preset threshold value, sending first notification information to a server corresponding to the preset application, wherein the first notification information is used for notifying the server to adopt an information transceiving port corresponding to the second network to receive and transmit data.
14. The information transmission/reception switching method according to claim 9, further comprising:
and when the preset application is operated and the signal intensity of the first network is greater than the first preset threshold value, sending second notification information to a server corresponding to the preset application, wherein the second notification information is used for notifying the server to adopt an information receiving and sending port corresponding to the first network to receive and send data.
15. A terminal, comprising:
the first control module is used for controlling a first antenna to be used as a main antenna of a first network when a preset application is operated and the signal intensity of the first network is greater than a first preset threshold value, receiving and sending information through the first network, controlling a second antenna to be used as a diversity receiving antenna of the first network, and receiving information through the first network;
and the second control module is used for controlling the second antenna to serve as a main antenna of the second network when the preset application is operated and the signal intensity of the first network is smaller than a second preset threshold value, information is transmitted and received through the second network, the first network and the second network respectively correspond to different mobile network operators, and the first preset threshold value is larger than the second preset threshold value.
16. The terminal according to claim 15, further comprising a third control module, configured to control the first antenna as a main antenna of the first network when a preset application is running, the second antenna is controlled to be a main antenna of the second network, and the signal strength of the first network is greater than the first preset threshold, and control the second antenna as a diversity reception antenna of the first network to receive information through the first network, where the first preset threshold is greater than the second preset threshold.
17. The terminal of claim 15, wherein the second control module comprises:
and the first control unit is used for controlling the second antenna to be used as a main antenna of the second network when the preset application is operated, the signal intensity of the first network is smaller than the second preset threshold value, and the signal intensity of the second network is larger than a third preset threshold value, and controlling to close the mobile data function corresponding to the first antenna by receiving and sending information through the second network.
18. The terminal of claim 15, wherein the second control module comprises:
and the second control unit is used for controlling the second antenna to be used as a main antenna of the second network when the preset application is operated and the signal intensity of the first network is smaller than the second preset threshold value, receiving and sending information through the second network and controlling the first antenna to receive and send information through the first network.
19. The terminal according to claim 15, further comprising a first notification module, configured to send first notification information to a server corresponding to the preset application when the preset application is run and the signal strength of the first network is smaller than the second preset threshold, where the first notification information is used to notify the server to receive and transmit data through an information receiving and transmitting port corresponding to the second network.
20. The terminal according to claim 15, further comprising a second notification module, configured to send second notification information to a server corresponding to the preset application when the preset application is run and the signal strength of the first network is greater than the first preset threshold, where the second notification information is used to notify the server to receive and transmit data through an information receiving and transmitting port corresponding to the first network.
21. A terminal comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the information transmission/reception switching method according to any one of claims 9 to 14.
CN201810739640.2A 2018-07-06 2018-07-06 Information receiving and transmitting switching method and terminal Active CN108880631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810739640.2A CN108880631B (en) 2018-07-06 2018-07-06 Information receiving and transmitting switching method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810739640.2A CN108880631B (en) 2018-07-06 2018-07-06 Information receiving and transmitting switching method and terminal

Publications (2)

Publication Number Publication Date
CN108880631A CN108880631A (en) 2018-11-23
CN108880631B true CN108880631B (en) 2020-07-10

Family

ID=64299996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810739640.2A Active CN108880631B (en) 2018-07-06 2018-07-06 Information receiving and transmitting switching method and terminal

Country Status (1)

Country Link
CN (1) CN108880631B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110350952A (en) * 2018-04-02 2019-10-18 仁宝电脑工业股份有限公司 Communication device, electronic device and its antenna adjusting method
CN109450508B (en) * 2018-11-26 2022-04-01 维沃移动通信有限公司 Antenna determination method and device and mobile terminal
CN109756259B (en) * 2019-02-22 2024-02-23 京信通信技术(广州)有限公司 Antenna and switching mechanism of working mode thereof
CN113015260A (en) * 2019-12-19 2021-06-22 中国电信股份有限公司 Network connection method, terminal and computer readable storage medium
CN113824482B (en) * 2020-06-19 2023-09-19 成都鼎桥通信技术有限公司 Antenna switching method, equipment and mobile terminal
CN112003984A (en) * 2020-08-27 2020-11-27 努比亚技术有限公司 Game data control method, mobile terminal and computer-readable storage medium
CN115225111B (en) * 2020-11-27 2023-12-15 Oppo广东移动通信有限公司 Radio frequency system, antenna switching method and customer premises equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010233023A (en) * 2009-03-27 2010-10-14 Nec Casio Mobile Communications Ltd Radio communication apparatus
CN103781202A (en) * 2014-02-26 2014-05-07 华为终端有限公司 Multi-module wireless terminal
CN104954546A (en) * 2015-01-23 2015-09-30 深圳市卡卓无线信息技术有限公司 Dual-card intelligent terminal and intelligent SIM card switching method based on the same
CN105281819A (en) * 2015-10-31 2016-01-27 东莞酷派软件技术有限公司 Antenna switching method and terminal
CN105744650A (en) * 2014-12-11 2016-07-06 联芯科技有限公司 Dual-standby dual-pass terminal
CN105873012A (en) * 2015-12-31 2016-08-17 乐视致新电子科技(天津)有限公司 Method and system for adjusting communication link of mobile terminal
CN106604258A (en) * 2016-12-20 2017-04-26 深圳市优克联新技术有限公司 User identity identification card switching method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010233023A (en) * 2009-03-27 2010-10-14 Nec Casio Mobile Communications Ltd Radio communication apparatus
CN103781202A (en) * 2014-02-26 2014-05-07 华为终端有限公司 Multi-module wireless terminal
CN105744650A (en) * 2014-12-11 2016-07-06 联芯科技有限公司 Dual-standby dual-pass terminal
CN104954546A (en) * 2015-01-23 2015-09-30 深圳市卡卓无线信息技术有限公司 Dual-card intelligent terminal and intelligent SIM card switching method based on the same
CN105281819A (en) * 2015-10-31 2016-01-27 东莞酷派软件技术有限公司 Antenna switching method and terminal
CN105873012A (en) * 2015-12-31 2016-08-17 乐视致新电子科技(天津)有限公司 Method and system for adjusting communication link of mobile terminal
CN106604258A (en) * 2016-12-20 2017-04-26 深圳市优克联新技术有限公司 User identity identification card switching method and apparatus

Also Published As

Publication number Publication date
CN108880631A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN108880631B (en) Information receiving and transmitting switching method and terminal
CN109361444B (en) Transmitting antenna switching method and terminal equipment
CN110149132B (en) Transmitting antenna switching method and terminal equipment
CN110247678B (en) Terminal control method and terminal
CN109547058B (en) Radio frequency circuit, signal interference avoiding method and terminal equipment
CN109039397B (en) Antenna circuit of mobile terminal, control method and device
CN109819450B (en) Signal receiving method, device and terminal
CN110753389A (en) Network control method and electronic equipment
WO2021129525A1 (en) Antenna circuit, electronic device, and antenna performance adjustment method
CN110289883B (en) Radio frequency circuit, terminal equipment and circuit control method
CN110299936B (en) Transmitting antenna switching method, terminal equipment and computer readable storage medium
CN109743737B (en) Method, terminal and base station for reducing coexistence interference of multiple networks
CN109788125B (en) Interference processing method and device and mobile terminal
CN110224709B (en) Signal transmission method, device and terminal
CN108495349B (en) Switching method of operator network and mobile terminal
CN107734586B (en) Antenna switching method and mobile terminal
CN110266323B (en) Signal control circuit, terminal equipment and signal control method
CN108282759B (en) Service processing method and mobile communication terminal
CN111817832B (en) Information processing method, terminal and network side equipment
CN110336623B (en) Power detection method and device and mobile terminal
CN113301603A (en) Data transmission method, device and medium
CN110557166B (en) Communication circuit adjusting method and terminal
CN109788114B (en) Call processing method and terminal
CN111800833B (en) Communication processing method, device, equipment and medium
CN109743141B (en) Data transmission adjusting method and terminal equipment

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
GR01 Patent grant
GR01 Patent grant