CN110972220B - Wireless communication method, device, storage medium and terminal equipment - Google Patents

Wireless communication method, device, storage medium and terminal equipment Download PDF

Info

Publication number
CN110972220B
CN110972220B CN201911207042.1A CN201911207042A CN110972220B CN 110972220 B CN110972220 B CN 110972220B CN 201911207042 A CN201911207042 A CN 201911207042A CN 110972220 B CN110972220 B CN 110972220B
Authority
CN
China
Prior art keywords
target
port
sub
control
network mode
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
CN201911207042.1A
Other languages
Chinese (zh)
Other versions
CN110972220A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201911207042.1A priority Critical patent/CN110972220B/en
Publication of CN110972220A publication Critical patent/CN110972220A/en
Application granted granted Critical
Publication of CN110972220B publication Critical patent/CN110972220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

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

Abstract

The wireless communication method comprises the steps of acquiring a network mode switching instruction when the network mode of the mobile terminal is about to change, determining a main port and a sub-port group corresponding to a target network mode according to the acquired network mode switching instruction, and switching the on-off state of a transmitting port and a receiving port of the sub-port group in time, so that the mobile terminal can normally communicate after the network mode of the mobile terminal is changed.

Description

Wireless communication method, device, storage medium and terminal equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a wireless communication method, an apparatus, a storage medium, and a terminal device.
Background
In an actual network environment, the scheduling of the base station to the communication terminal is changed from time to time, and when the network mode of the current communication of the terminal is changed, the network needs to be searched again and a new base station needs to be accessed for communication.
In the wireless communication method of the mobile terminal in the prior art, when the network mode of the mobile terminal changes, the on-off states of the transmitting port and the receiving port of the sub-port group are not switched instantly, so that the mobile terminal and a new base station cannot establish communication connection successfully, and the mobile terminal cannot communicate normally.
Disclosure of Invention
The application provides a wireless communication method, a wireless communication device, a storage medium and a terminal device, which effectively solve the problem that when a network mode of a mobile terminal changes, the mobile terminal and a new base station cannot successfully establish communication connection, so that the mobile terminal cannot normally communicate.
In order to solve the above problem, an embodiment of the present application provides a wireless communication method applied to a mobile terminal, where the mobile terminal is configured to transmit signals in at least two network modes, and the wireless communication method includes:
acquiring a network mode switching instruction, wherein the network mode switching instruction carries a target signal transmission type;
determining a current network mode according to the network mode switching instruction;
determining a target network mode from the remaining network modes according to the current network mode;
determining a total port and a sub-port group corresponding to the target network mode as a target total port and a target sub-port group;
and controlling the target sub-port group according to the target signal transmission type so as to carry out communication in the target network mode through the target sub-port group.
In the wireless communication method provided in the present application, the step of controlling the target sub-port group according to the target signal transmission type specifically includes:
acquiring an address mapping table, wherein the address mapping table comprises mapping information of a plurality of control registers and a plurality of sub-port groups, and the control registers are used for controlling the signal transmission state of the corresponding sub-port groups;
determining a control register corresponding to the target sub-port group according to the address mapping table to be used as a target register;
and controlling the target sub-port group according to the target signal transmission type and the target register.
In the wireless communication method provided by the present application, the target sub-port group includes a transmitting port and a receiving port, and when the target signal transmission type is a transmitting type, the step of controlling the target sub-port group according to the target signal transmission type and the target register specifically includes:
and writing a first preset parameter value into the target register so as to control the transmitting port to be in a switch-on state and control the receiving port to be in a switch-off state.
In the wireless communication method provided by the present application, the target sub-port group includes a transmitting port and a receiving port, and when the target signal transmission type is a receiving type, the step of controlling the target sub-port group according to the target signal transmission type and the target register specifically includes:
and writing a second preset parameter value into the target register so as to control the receiving port to be in a closed circuit state and control the transmitting port to be in an open circuit state.
In the wireless communication method provided by the present application, the target sub-port group includes a transmitting port and a receiving port, and after the step of controlling the target sub-port group, the method further includes:
detecting whether the transmission type of the target signal needs to be changed at the next moment;
if so, writing a second preset parameter value into the target register when the target signal transmission type is the transmitting type so as to control the receiving port to be in an on state and control the transmitting port to be in an off state;
and when the target signal transmission type is a receiving type, writing a first preset parameter value into the target register so as to control the transmitting port to be in a closed circuit state and control the receiving port to be in an open circuit state.
In order to solve the above problem, an embodiment of the present application further provides a wireless communication apparatus, applied to a mobile terminal, where the mobile terminal is configured to transmit signals of at least two network modes, and the wireless communication apparatus includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a network mode switching instruction, and the network mode switching instruction carries a target signal transmission type;
the first determining module is used for determining the current network mode according to the network mode switching instruction;
a second determining module, configured to determine a target network mode from the remaining network modes according to the current network mode;
a third determining module, configured to determine a total port and a sub-port group corresponding to the target network mode, as a target total port and a target sub-port group;
and the control module is used for controlling the target sub-port group according to the target signal transmission type so as to carry out the communication of the target network mode through the target sub-port group.
In the wireless communication device provided in the present application, the control module specifically includes:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring an address mapping table, the address mapping table comprises a plurality of control registers and mapping information of a plurality of sub-port groups, and the control registers are used for controlling the signal transmission state of the corresponding sub-port groups;
the determining unit is used for determining a control register corresponding to the target sub-port group according to the address mapping table to serve as a target register;
and the control unit is used for controlling the target sub-port group according to the target signal transmission type and the target register.
In the wireless communication device provided in the present application, the target sub-port group includes a transmitting port and a receiving port, and the control unit specifically includes:
the first writing subunit is configured to write a first preset parameter value into the target register to control the transmitting port to be in an on state and control the receiving port to be in an off state when the target signal transmission type is the transmitting type;
and the second writing subunit is used for writing a second preset parameter value into the target register when the target signal transmission type is the receiving type so as to control the receiving port to be in an on state and control the transmitting port to be in an off state.
In the wireless communication apparatus provided by the present application, the wireless communication apparatus further includes a detection module configured to:
detecting whether the transmission type of the target signal needs to be changed at the next moment;
if so, writing a second preset parameter value into the target register when the target signal transmission type is the transmitting type so as to control the receiving port to be in an on state and control the transmitting port to be in an off state;
and when the target signal transmission type is a receiving type, writing a first preset parameter value into the target register so as to control the transmitting port to be in a closed circuit state and control the receiving port to be in an open circuit state.
In order to solve the above problem, an embodiment of the present application further provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor to execute any one of the wireless communication methods described above.
In order to solve the above problem, an embodiment of the present application further provides a terminal device, including a processor and a memory, where the processor is electrically connected to the memory, the memory is used to store instructions and data, and the processor is used to execute the steps in the wireless communication method according to any one of the above descriptions.
The beneficial effect of this application does: the wireless communication method comprises the steps of acquiring a network mode switching instruction when the network mode of the mobile terminal is about to change, determining a main port and a sub-port group corresponding to a target network mode according to the acquired network mode switching instruction, and switching the on-off state of a transmitting port and a receiving port of the sub-port group in time, so that the mobile terminal can normally communicate after the network mode of the mobile terminal is changed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a wireless communication method according to an embodiment of the present application.
Fig. 2 is another flowchart of a wireless communication method according to an embodiment of the present disclosure.
Fig. 3 is another flowchart of a wireless communication method according to an embodiment of the present disclosure.
Fig. 4 is a schematic view of an application scenario of a wireless communication method according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a wireless communication device according to an embodiment of the present application.
Fig. 6 is another schematic structural diagram of a wireless communication device according to an embodiment of the present disclosure.
Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a wireless communication method, a wireless communication device, a storage medium and terminal equipment.
Referring to fig. 1, fig. 1 is a flowchart illustrating a wireless communication method according to an embodiment of the present disclosure, where the wireless communication method is applied to a mobile terminal, the mobile terminal is configured to transmit signals of at least two network modes, and the mobile terminal may be any intelligent electronic device with a mobile communication function, such as a smart phone, a tablet computer, and a notebook computer. The specific flow of the wireless communication method provided by this embodiment may be as follows:
s101, a network mode switching instruction is obtained, and the network mode switching instruction carries a target signal transmission type.
The network mode includes, but is not limited to, TDD (Time Division Duplexing) and FDD (Frequency Division Duplexing), and the reception and transmission in the mobile communication system of the TDD mode are in different Time slots of the same Frequency channel, i.e., carrier, and the reception and transmission channels are separated by guaranteed Time; in the FDD mode, the receiving and transmitting are performed on two separate symmetric frequency channels, and the receiving and transmitting channels are separated by a guaranteed frequency band.
And S102, determining the current network mode according to the network mode switching instruction.
And S103, determining a target network mode from the rest network modes according to the current network mode.
In this embodiment, a case where only two network modes, namely TDD and FDD, exist is considered, that is, if the current network mode is the TDD mode, the target network mode is the FDD mode, and if the current network mode is the FDD mode, the target network mode is the TDD mode.
And S104, determining a total port and a sub-port group corresponding to the target network mode as a target total port and a target sub-port group.
In communication of the mobile terminal in different network modes, the duplexers through which signals are transmitted and received by the mobile terminal radio frequency module are also different, and the total port and the sub-port group that are required to be connected by outputs of MMPA (multi frequency multi mode Amplifier) corresponding to different duplexers are also different, so after a target network mode is determined, the total port and the sub-port group need to be further determined.
And S105, controlling the target sub-port group according to the target signal transmission type so as to carry out communication in a target network mode through the target sub-port group.
Further, the step S105 may specifically include:
acquiring an address mapping table, wherein the address mapping table comprises mapping information of a plurality of control registers and a plurality of sub-port groups, and the control registers are used for controlling the signal transmission state of the corresponding sub-port groups;
determining a control register corresponding to the target sub-port group according to the address mapping table to be used as a target register;
and controlling the target sub-port group according to the target signal transmission type and the target register.
When the on-off state of the transmitting port and the receiving port of the sub-port group is controlled by the target register, the address mapping table needs to be acquired to find the target register corresponding to the target sub-port group, and then the target sub-port group is controlled by the target register.
Specifically, the step of "controlling the target sub-port group according to the target signal transmission type and the target register" may specifically include:
when the target signal transmission type is an emission type, writing a first preset parameter value into a target register so as to control an emission port to be in an on-state and control a receiving port to be in an off-state;
and when the target signal transmission type is the receiving type, writing a second preset parameter value into the target register so as to control the receiving port to be in an on state and control the transmitting port to be in an off state.
Referring to fig. 2, fig. 2 is another schematic flow chart of a wireless communication method according to an embodiment of the present disclosure, the wireless communication method is applied to a mobile terminal, the mobile terminal is configured to transmit signals of at least two network modes, and the mobile terminal may be any intelligent electronic device with a mobile communication function, such as a smart phone, a tablet computer, a notebook computer, and the like. The specific flow of the wireless communication method provided by this embodiment may be as follows:
s201, a network mode switching instruction is obtained, and the network mode switching instruction carries a target signal transmission type.
The network mode includes, but is not limited to, TDD (Time Division Duplexing) and FDD (Frequency Division Duplexing), and the reception and transmission in the mobile communication system of the TDD mode are in different Time slots of the same Frequency channel, i.e., carrier, and the reception and transmission channels are separated by guaranteed Time; in the FDD mode, the receiving and transmitting are performed on two separate symmetric frequency channels, and the receiving and transmitting channels are separated by a guaranteed frequency band.
S202, determining the current network mode according to the network mode switching instruction.
And S203, determining a target network mode from the rest network modes according to the current network mode.
In this embodiment, a case where only two network modes, namely TDD and FDD, exist is considered, that is, if the current network mode is the TDD mode, the target network mode is the FDD mode, and if the current network mode is the FDD mode, the target network mode is the TDD mode.
And S204, determining a total port and a sub-port group corresponding to the target network mode as a target total port and a target sub-port group.
In communication of the mobile terminal in different network modes, the duplexers through which signals are transmitted and received by the mobile terminal radio frequency module are also different, and the total port and the sub-port group that are required to be connected by outputs of MMPA (multi frequency multi mode Amplifier) corresponding to different duplexers are also different, so after a target network mode is determined, the total port and the sub-port group need to be further determined.
S205, an address mapping table is obtained, wherein the address mapping table comprises mapping information of a plurality of control registers and a plurality of sub-port groups, and the control registers are used for controlling the signal transmission states of the corresponding sub-port groups.
S206, determining a control register corresponding to the target sub-port group according to the address mapping table to serve as a target register.
And S207, controlling the target sub-port group according to the target signal transmission type and the target register so as to carry out communication in a target network mode through the target sub-port group.
When the on-off state of the transmitting port and the receiving port of the sub-port group is controlled by the target register, the address mapping table needs to be acquired to find the target register corresponding to the target sub-port group, and then the target sub-port group is controlled by the target register.
Further, the target sub-port group includes a transmitting port and a receiving port, and the step S207 may specifically include:
when the target signal transmission type is an emission type, writing a first preset parameter value into a target register so as to control an emission port to be in an on-state and control a receiving port to be in an off-state;
and when the target signal transmission type is the receiving type, writing a second preset parameter value into the target register so as to control the receiving port to be in an on state and control the transmitting port to be in an off state.
Referring to fig. 3, fig. 3 is another schematic flow chart of a wireless communication method according to an embodiment of the present disclosure, where the wireless communication method is applied to a mobile terminal, the mobile terminal is configured to transmit signals of at least two network modes, and the mobile terminal may be any intelligent electronic device with a mobile communication function, such as a smart phone, a tablet computer, a notebook computer, and the like. The specific flow of the wireless communication method provided by this embodiment may be as follows:
s301, a network mode switching instruction is obtained, and the network mode switching instruction carries a target signal transmission type.
The network mode includes, but is not limited to, TDD (Time Division Duplexing) and FDD (Frequency Division Duplexing), and the reception and transmission in the mobile communication system of the TDD mode are in different Time slots of the same Frequency channel, i.e., carrier, and the reception and transmission channels are separated by guaranteed Time; in the FDD mode, the receiving and transmitting are performed on two separate symmetric frequency channels, and the receiving and transmitting channels are separated by a guaranteed frequency band.
S302, determining the current network mode according to the network mode switching instruction.
And S303, determining a target network mode from the rest network modes according to the current network mode.
In this embodiment, a case where only two network modes, namely TDD and FDD, exist is considered, that is, if the current network mode is the TDD mode, the target network mode is the FDD mode, and if the current network mode is the FDD mode, the target network mode is the TDD mode.
S304, determining a total port and a sub-port group corresponding to the target network mode as a target total port and a target sub-port group, wherein the target sub-port group comprises a transmitting port and a receiving port.
In communication of the mobile terminal in different network modes, the duplexers through which signals are transmitted and received by the mobile terminal radio frequency module are also different, and the total port and the sub-port group that are required to be connected by outputs of MMPA (multi frequency multi mode Amplifier) corresponding to different duplexers are also different, so after a target network mode is determined, the total port and the sub-port group need to be further determined.
S305, an address mapping table is obtained, wherein the address mapping table comprises mapping information of a plurality of control registers and a plurality of sub-port groups, and the control registers are used for controlling the signal transmission states of the corresponding sub-port groups.
When the on-off state of the transmitting port and the receiving port of the sub-port group is controlled by the target register, the address mapping table needs to be acquired to find the target register corresponding to the target sub-port group, and then the target sub-port group is controlled by the target register.
S306, determining a control register corresponding to the target sub-port group according to the address mapping table to serve as a target register.
S3071, when the target signal transmission type is an emission type, writing a first preset parameter value into the target register to control the emission port to be in an on state, and control the receiving port to be in an off state to perform communication in a target network mode through the target sub-port group.
S3072, when the target signal transmission type is a receiving type, writing a second preset parameter value into the target register to control the receiving port to be in an on-state and control the transmitting port to be in an off-state, so as to perform communication in a target network mode through the target sub-port group.
In addition, the wireless communication method may further include:
after controlling the target sub-port group, detecting whether the transmission type of the target signal needs to be changed at the next moment;
if so, writing a second preset parameter value into the target register when the target signal transmission type is the transmitting type so as to control the receiving port to be in an on-state and control the transmitting port to be in an off-state;
when the target signal transmission type is a receiving type, writing a first preset parameter value into the target register so as to control the transmitting port to be in a closed-circuit state and control the receiving port to be in an open-circuit state.
Further, the target signal transmission type is taken as a transmission type, and the current network mode is TDD for example.
For example, referring to fig. 4, fig. 4 is a schematic view of an application scenario of a wireless communication method provided in this embodiment, when a mobile terminal acquires a network mode switching instruction, the mobile terminal determines that a target network mode is FDD through the network mode switching instruction, then further determines a total port and a sub-port group in the FDD mode, then determines a control register corresponding to the sub-port group according to an address mapping table by acquiring the address mapping table, and then writes a first preset parameter value into the control register by using information carried in the network mode switching instruction, where the information indicates that a target signal transmission type is a transmission type, so as to control a transmission port of the sub-port group to be in an access state, so that the mobile terminal can normally communicate in the FDD network mode.
Therefore, different from the prior art, the wireless communication device provided by the application obtains the network mode switching instruction when the network mode of the mobile terminal is about to change, determines the main port and the sub-port group corresponding to the target network mode according to the obtained network mode switching instruction, and switches the on-off states of the transmitting port and the receiving port of the sub-port group in time, so that the mobile terminal can normally communicate after the network mode where the mobile terminal is located changes.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a wireless communication device according to an embodiment of the present disclosure, which is applied to a mobile terminal, where the mobile terminal is configured to transmit signals of at least two network modes, and the mobile terminal may be any intelligent electronic device with a mobile communication function, such as a smart phone, a tablet computer, and a notebook computer. The wireless communication apparatus provided in the present embodiment may include: an obtaining module 10, a first determining module 20, a second determining module 30, a third determining module 40, and a control module 50, wherein:
(1) acquisition module 10
The obtaining module 10 is configured to obtain a network mode switching instruction, where the network mode switching instruction carries a target signal transmission type.
The network mode includes, but is not limited to, TDD (Time Division Duplexing) and FDD (Frequency Division Duplexing), and the reception and transmission in the mobile communication system of the TDD mode are in different Time slots of the same Frequency channel, i.e., carrier, and the reception and transmission channels are separated by guaranteed Time; in the FDD mode, the receiving and transmitting are performed on two separate symmetric frequency channels, and the receiving and transmitting channels are separated by a guaranteed frequency band.
(2) First determination module 20
The first determining module 20 is configured to determine a current network mode according to the network mode switching instruction.
(3) Second determination module 30
A second determining module 30, configured to determine a target network mode from the remaining network modes according to the current network mode.
In this embodiment, a case where only two network modes, namely TDD and FDD, exist is considered, that is, if the current network mode is the TDD mode, the target network mode is the FDD mode, and if the current network mode is the FDD mode, the target network mode is the TDD mode.
(4) Third determination module 40
And a third determining module 40, configured to determine a total port and a sub-port group corresponding to the target network mode as a target total port and a target sub-port group.
In communication of the mobile terminal in different network modes, the duplexers through which signals are transmitted and received by the mobile terminal radio frequency module are also different, and the total port and the sub-port group that are required to be connected by outputs of MMPA (multi frequency multi mode Amplifier) corresponding to different duplexers are also different, so after a target network mode is determined, the total port and the sub-port group need to be further determined.
(5) Control module 50
And a control module 50, configured to control the target sub-port group according to the target signal transmission type, so as to perform target network mode communication through the target sub-port group.
Further, referring to fig. 6, fig. 6 is another schematic structural diagram of a wireless communication device according to an embodiment of the present application, where the control module 50 specifically includes:
an obtaining unit 51, configured to obtain an address mapping table, where the address mapping table includes mapping information of multiple control registers and multiple sub-port groups, and the control registers are used to control signal transmission states of the corresponding sub-port groups;
a determining unit 52, configured to determine, according to the address mapping table, a control register corresponding to the target sub-port group as a target register;
and a control unit 53 for controlling the target sub-port group according to the target signal transmission type and the target register.
When the on-off state of the transmitting port and the receiving port of the sub-port group is controlled by the target register, the address mapping table needs to be acquired to find the target register corresponding to the target sub-port group, and then the target sub-port group is controlled by the target register.
Further, referring to fig. 6, the control unit 53 may specifically include:
the first write-in subunit 531 is configured to write a first preset parameter value into the target register when the target signal transmission type is the transmission type, so as to control the transmission port to be in an on state and control the reception port to be in an off state;
the second writing subunit 532 is configured to write a second preset parameter value into the target register when the target signal transmission type is the receiving type, so as to control the receiving port to be in an on state and control the transmitting port to be in an off state.
In addition, the wireless communications apparatus can further include a detection module configured to:
detecting whether the transmission type of the target signal needs to be changed at the next moment;
if so, writing a second preset parameter value into the target register when the target signal transmission type is the transmitting type so as to control the receiving port to be in an on-state and control the transmitting port to be in an off-state;
when the target signal transmission type is a receiving type, writing a first preset parameter value into the target register so as to control the transmitting port to be in a closed-circuit state and control the receiving port to be in an open-circuit state.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
It can be seen from the above description that, different from the prior art, the wireless communication device provided in the present application obtains the network mode switching instruction from the obtaining module 10 when the network mode of the mobile terminal is about to change, determines the total port and the sub-port group corresponding to the target network mode according to the obtained network mode switching instruction, and switches the on/off states of the transmitting port and the receiving port of the sub-port group in time through the control module 50, so that the mobile terminal can perform normal communication after the network mode where the mobile terminal is located changes.
In addition, the embodiment of the application further provides a terminal device, and the terminal device can be a smart phone, a tablet computer and other devices. As shown in fig. 7, the terminal device 200 includes a processor 201 and a memory 202. The processor 201 is electrically connected to the memory 202.
The processor 201 is a control center of the terminal device 200, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or loading an application program stored in the memory 202 and calling data stored in the memory 202, thereby performing overall monitoring of the terminal device.
In this embodiment, the terminal device 200 is provided with a plurality of memory partitions, the plurality of memory partitions includes a system partition and a target partition, the processor 201 in the terminal device 200 loads instructions corresponding to processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 runs the application programs stored in the memory 202, so as to implement various functions:
acquiring a network mode switching instruction, wherein the network mode switching instruction carries a target signal transmission type;
determining a current network mode according to the network mode switching instruction;
determining a target network mode from the rest network modes according to the current network mode;
determining a main port and a sub-port group corresponding to a target network mode according to the target signal transmission type as a target main port and a target sub-port group;
and controlling the target sub-port group to be in a path state so as to enable the mobile terminal and the base station to communicate based on the target network mode.
Fig. 8 is a specific block diagram of a terminal device provided in an embodiment of the present invention, where the terminal device may be used to implement the wireless communication method provided in the above-described embodiment. The terminal device 300 may be a smart phone or a tablet computer.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11b, IEEE802.11g, and/or IEEE802.11 n standards), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access), wimax, other suitable short message protocols, and may even include those protocols that have not yet been developed.
The memory 320 may be configured to store software programs and modules, such as program instructions/modules corresponding to the automatic light supplement system and method for front-facing camera photographing in the foregoing embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, so as to implement the function of automatic light supplement for front-facing camera photographing. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 320 may further include memory located remotely from processor 380, which may be connected to terminal device 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means 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 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphic user interfaces of the terminal apparatus 300, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-emitting diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 8, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The terminal device 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the terminal device 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and terminal device 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 300.
The terminal device 300 may assist the user in e-mail, web browsing, streaming media access, etc. through the transmission module 370 (e.g., a Wi-Fi module), which provides the user with wireless broadband internet access. Although fig. 8 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the terminal device 300, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 380 is a control center of the terminal device 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal device 300 and processes data by running or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby performing overall monitoring of the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
Terminal device 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may be logically coupled to processor 380 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring a network mode switching instruction, wherein the network mode switching instruction carries a target signal transmission type;
determining a current network mode according to the network mode switching instruction;
determining a target network mode from the rest network modes according to the current network mode;
determining a main port and a sub-port group corresponding to a target network mode according to the target signal transmission type as a target main port and a target sub-port group;
and controlling the target sub-port group to be in a path state so as to enable the mobile terminal and the base station to communicate based on the target network mode.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the wireless communication methods provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any wireless communication method provided in the embodiment of the present invention, the beneficial effects that can be achieved by any wireless communication method provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
In addition to the above embodiments, other embodiments are also possible. All technical solutions formed by using equivalents or equivalent substitutions fall within the protection scope of the claims of the present application.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (10)

1. A wireless communication method applied to a mobile terminal, wherein the mobile terminal is configured to transmit signals of at least two network modes, the network modes include but are not limited to a time division duplex mode and a frequency division duplex mode, and the wireless communication method comprises:
acquiring a network mode switching instruction, wherein the network mode switching instruction carries a target signal transmission type;
determining a current network mode according to the network mode switching instruction;
determining a target network mode from the remaining network modes according to the current network mode;
determining a total port and a sub-port group corresponding to the target network mode as a target total port and a target sub-port group;
and controlling the target sub-port group according to the target signal transmission type so as to carry out communication in the target network mode through the target sub-port group.
2. The wireless communication method according to claim 1, wherein the step of controlling the target sub-port group according to the target signal transmission type specifically comprises:
acquiring an address mapping table, wherein the address mapping table comprises mapping information of a plurality of control registers and a plurality of sub-port groups, and the control registers are used for controlling the signal transmission state of the corresponding sub-port groups;
determining a control register corresponding to the target sub-port group according to the address mapping table to be used as a target register;
and controlling the target sub-port group according to the target signal transmission type and the target register.
3. The wireless communication method according to claim 2, wherein the target sub-port group comprises a transmitting port and a receiving port, and when the target signal transmission type is a transmitting type, the step of controlling the target sub-port group according to the target signal transmission type and the target register specifically comprises:
and writing a first preset parameter value into the target register so as to control the transmitting port to be in a switch-on state and control the receiving port to be in a switch-off state.
4. The wireless communication method according to claim 2, wherein the target sub-port group comprises a transmitting port and a receiving port, and when the target signal transmission type is a receiving type, the step of controlling the target sub-port group according to the target signal transmission type and the target register specifically comprises:
and writing a second preset parameter value into the target register so as to control the receiving port to be in a closed circuit state and control the transmitting port to be in an open circuit state.
5. The wireless communication method according to claim 1, wherein the target sub-port group comprises a transmitting port and a receiving port, and wherein the step of controlling the target sub-port group further comprises, after:
detecting whether the transmission type of the target signal needs to be changed at the next moment;
if so, writing a second preset parameter value into the target register when the target signal transmission type is the transmitting type so as to control the receiving port to be in an on state and control the transmitting port to be in an off state;
and when the target signal transmission type is a receiving type, writing a first preset parameter value into the target register so as to control the transmitting port to be in a closed circuit state and control the receiving port to be in an open circuit state.
6. A wireless communication apparatus, applied to a mobile terminal, wherein the mobile terminal is configured to transmit signals of at least two network modes, the network modes include but are not limited to a time division duplex mode and a frequency division duplex mode, and the wireless communication apparatus comprises:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a network mode switching instruction, and the network mode switching instruction carries a target signal transmission type;
the first determining module is used for determining the current network mode according to the network mode switching instruction;
a second determining module, configured to determine a target network mode from the remaining network modes according to the current network mode;
a third determining module, configured to determine a total port and a sub-port group corresponding to the target network mode, as a target total port and a target sub-port group;
and the control module is used for controlling the target sub-port group according to the target signal transmission type so as to carry out the communication of the target network mode through the target sub-port group.
7. The wireless communication device according to claim 6, wherein the control module specifically comprises:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring an address mapping table, the address mapping table comprises a plurality of control registers and mapping information of a plurality of sub-port groups, and the control registers are used for controlling the signal transmission state of the corresponding sub-port groups;
the determining unit is used for determining a control register corresponding to the target sub-port group according to the address mapping table to serve as a target register;
and the control unit is used for controlling the target sub-port group according to the target signal transmission type and the target register.
8. The wireless communication device according to claim 7, wherein the target sub-port group includes a transmitting port and a receiving port, and the control unit specifically includes:
the first writing subunit is configured to write a first preset parameter value into the target register to control the transmitting port to be in an on state and control the receiving port to be in an off state when the target signal transmission type is the transmitting type;
and the second writing subunit is used for writing a second preset parameter value into the target register when the target signal transmission type is the receiving type so as to control the receiving port to be in an on state and control the transmitting port to be in an off state.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the wireless communication method of any one of claims 1 to 5.
10. A terminal device comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the wireless communication method according to any one of claims 1 to 5.
CN201911207042.1A 2019-11-29 2019-11-29 Wireless communication method, device, storage medium and terminal equipment Active CN110972220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911207042.1A CN110972220B (en) 2019-11-29 2019-11-29 Wireless communication method, device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911207042.1A CN110972220B (en) 2019-11-29 2019-11-29 Wireless communication method, device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN110972220A CN110972220A (en) 2020-04-07
CN110972220B true CN110972220B (en) 2022-01-04

Family

ID=70032389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911207042.1A Active CN110972220B (en) 2019-11-29 2019-11-29 Wireless communication method, device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN110972220B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120171968A1 (en) * 2009-02-06 2012-07-05 Skyworks Solutions, Inc. Dual mode transceiver
CN106961706A (en) * 2017-05-15 2017-07-18 深圳星联天通科技有限公司 Method, mobile terminal and the computer-readable recording medium of communication pattern switching
CN108933609A (en) * 2017-05-27 2018-12-04 华为技术有限公司 TDD/FDD configurable device, method, radio-frequency module and communication equipment
CN110430179A (en) * 2019-07-26 2019-11-08 西安交通大学 A kind of control method and system for intranet and extranet secure access

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796953A (en) * 2014-01-22 2015-07-22 中兴通讯股份有限公司 Method of redirection between FDD (Frequency Division Duplexing) and TDD (Time Division Duplexing) of LTE (Long Term Evolution) system and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120171968A1 (en) * 2009-02-06 2012-07-05 Skyworks Solutions, Inc. Dual mode transceiver
CN106961706A (en) * 2017-05-15 2017-07-18 深圳星联天通科技有限公司 Method, mobile terminal and the computer-readable recording medium of communication pattern switching
CN108933609A (en) * 2017-05-27 2018-12-04 华为技术有限公司 TDD/FDD configurable device, method, radio-frequency module and communication equipment
CN110430179A (en) * 2019-07-26 2019-11-08 西安交通大学 A kind of control method and system for intranet and extranet secure access

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DL Mac Padding for RRM TCs;Anritsu;《3GPP TSG- RAN5 Meeting #47 R5-103610r1》;20100504;全文 *
LTE FDD-TDD混合组网中的关键技术;张光辉;《电信技术》;20150225;全文 *

Also Published As

Publication number Publication date
CN110972220A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
US11689655B2 (en) Method for adjusting parameter of audio service and terminal
CN111277991B (en) Operator name display method and device, mobile terminal and storage medium
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN111045737B (en) Equipment identifier acquisition method, device, terminal equipment and storage medium
CN111104012B (en) Distance measuring method and device, storage medium and terminal equipment
CN110489177B (en) Application control method and device, storage medium and terminal equipment
CN111104186A (en) Bluetooth configuration file loading method and device, storage medium and terminal equipment
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN110972220B (en) Wireless communication method, device, storage medium and terminal equipment
CN110048824B (en) Communication module control method, control device, and computer-readable storage medium
US11259222B2 (en) Mobile terminal and method and system for switching and controlling call link of mobile terminal
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN111273774A (en) Terminal device display screen control method and system, storage medium and terminal device
CN112437421A (en) Bluetooth control method, device, storage medium and mobile terminal
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN111026259A (en) Control method and device of mobile terminal and storage medium
CN112243269B (en) Method and device for downloading data and mobile terminal
CN111277642B (en) Method and device for enhancing information transmission speed, storage medium and mobile terminal
CN105278967B (en) System updating method, device and system of mobile terminal
CN112218338B (en) Data acquisition method and system, storage medium and mobile terminal
CN111245911B (en) Network transmission method and system, storage medium and terminal equipment
CN111031588B (en) Network searching method, device, terminal equipment and storage medium
CN109995441B (en) Communication information processing method, device and storage medium
CN111338452B (en) Method, system, storage medium and mobile terminal for simulating acceleration charging of U disk

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