CN110247667B - Antenna sharing method and related equipment - Google Patents

Antenna sharing method and related equipment Download PDF

Info

Publication number
CN110247667B
CN110247667B CN201910557587.9A CN201910557587A CN110247667B CN 110247667 B CN110247667 B CN 110247667B CN 201910557587 A CN201910557587 A CN 201910557587A CN 110247667 B CN110247667 B CN 110247667B
Authority
CN
China
Prior art keywords
task
time slot
data stream
lpwan
antenna
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
CN201910557587.9A
Other languages
Chinese (zh)
Other versions
CN110247667A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910557587.9A priority Critical patent/CN110247667B/en
Publication of CN110247667A publication Critical patent/CN110247667A/en
Application granted granted Critical
Publication of CN110247667B publication Critical patent/CN110247667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • H04B1/0053Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with common antenna for more than one band
    • 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/0404Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas the mobile station comprising multiple antennas, e.g. to provide uplink diversity
    • 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/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/0805Diversity 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 single receiver and antenna switching
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses an antenna sharing method and related equipment, which are applied to electronic equipment comprising a main antenna set, a diversity antenna, a low power consumption wide area network (LPWAN) module and a cellular network module, wherein the LPWAN function and the cellular network function of the electronic equipment are both in an open state, and the method comprises the following steps: determining a first task for the cellular network module to perform and a second task for the LPWAN module to perform; when the first task is a network searching task and the second task is an LPWAN task, determining first signal quality when a cellular network module works; and when the first signal quality is greater than or equal to a first preset signal quality, distributing the data stream associated with the first task to a main set antenna for processing, and distributing the data stream associated with the second task to a diversity antenna for processing. By adopting the embodiment of the application, the coexistence problem of the LPWAN communication and the cellular network communication can be solved.

Description

Antenna sharing method and related equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to an antenna sharing method and a related device.
Background
With the release of 5G license plates in 6 th month, the communication of the Internet of things will formally enter our lives. In the communication scene of the internet of things, a remote and Low-Power-consumption communication technology is needed to be used for connecting people, objects and objects, and the technology is generally called a Low Power Wide Area Network (LPWAN) technology. This also presents a problem, how LPWAN communications coexist with existing cellular network communications, which is a problem that needs to be addressed urgently.
Disclosure of Invention
The embodiment of the application provides an antenna sharing method and related equipment, which are used for solving the coexistence problem of LPWAN communication and cellular network communication.
In a first aspect, an embodiment of the present application provides an antenna sharing method, which is applied to an electronic device including a main antenna set, a diversity antenna, a low power consumption wide area network LPWAN module, and a cellular network module, where an LPWAN function and a cellular network function of the electronic device are both in an on state, and the method includes:
determining a first task for the cellular network module to perform and determining a second task for the LPWAN module to perform;
when the first task is a network searching task and the second task is an LPWAN task, determining first signal quality of the cellular network module during working;
when the first signal quality is greater than or equal to a first preset signal quality, the data stream associated with the first task is allocated to the main set antenna for processing, and the data stream associated with the second task is allocated to the diversity antenna for processing.
In a second aspect, an embodiment of the present application provides an antenna sharing apparatus, which is applied to an electronic device including a main antenna, a diversity antenna, a low power consumption wide area network LPWAN module, and a cellular network module, where an LPWAN function and a cellular network function of the electronic device are both in an on state, the apparatus includes:
a task determination unit to determine a first task for the cellular network module to perform and to determine a second task for the LPWAN module to perform;
a signal quality determining unit, configured to determine, when the first task is a network searching task and the second task is an LPWAN task, a first signal quality when the cellular network module operates;
and a data stream allocating unit, configured to allocate, when the first signal quality is greater than or equal to a first preset signal quality, the data stream associated with the first task to the main set antenna for processing, and allocate the data stream associated with the second task to the diversity antenna for processing.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, a communication interface, and one or more programs, stored in the memory and configured to be executed by the processor, the programs including instructions for performing some or all of the steps described in the method according to the first aspect of the embodiments of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is executed by a processor to implement part or all of the steps described in the method according to the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in the method according to the first aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in this embodiment of the present application, when it is determined that the first task executed by the cellular network module is a network searching task and the second task executed by the LPWAN module is an LPWAN task, the electronic device determines a first signal quality when the cellular network module operates, and when the first signal quality is greater than or equal to a first preset signal quality, allocates a data stream associated with the first task to the main set antenna for processing and allocates a data stream associated with the second task to the diversity antenna for processing, the cellular network module processes the first task through the main set antenna, and the LPWAN processes the second task through the diversity antenna, where the two tasks coexist independently and do not interfere with each other, so that coexistence of LPWAN communication and cellular network communication is achieved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2A is a schematic flowchart of an antenna sharing method according to an embodiment of the present application;
fig. 2B is a schematic diagram of a timeslot allocation provided in an embodiment of the present application;
fig. 2C is a schematic diagram of a timeslot allocation provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of an antenna sharing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an antenna sharing device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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 partial embodiments of the present application, but not all 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 following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Hereinafter, some terms in the present application are explained to facilitate understanding by those skilled in the art.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. The electronic device includes a processor, a Memory, a signal processor, a transceiver, a touch screen, a speaker, a microphone, a Random Access Memory (RAM), a camera, a cellular network module, an LPWAN module, a sensor, and the like. The memory, the signal processor, the touch screen, the loudspeaker, the microphone, the RAM, the camera, the cellular network module, the LPWAN module and the sensor are connected with the processor, and the transceiver is connected with the signal processor.
The transceiver comprises a main antenna and a diversity antenna, wherein the main antenna is used for transmitting and receiving radio frequency signals, and the diversity antenna is only used for receiving the radio frequency signals and not transmitting the radio frequency signals.
The working frequency bands of the LPWAN module are sub _1GHz and 2.4GHz, the sub _1GHz and the 2.4GHz are also the working frequency bands of the cellular network module, and when the electronic equipment is designed, the LPWAN module and the cellular network module can be designed to be a common antenna, so that the space of the whole machine is saved.
The cellular network module is used for executing network searching tasks, tasks including audio data and other tasks, and the LPWAN module is used for executing LPWAN tasks.
The touch screen may be a Liquid Crystal Display (LCD), an Organic or inorganic Light-Emitting Diode (OLED), an Active Matrix/Organic Light-Emitting Diode (AMOLED), or the like.
The camera may be a common camera or an infrared camera, and is not limited herein. The camera may be a front camera or a rear camera, and is not limited herein.
Wherein the sensor comprises at least one of: light-sensitive sensors, gyroscopes, infrared proximity sensors, fingerprint sensors, pressure sensors, etc. Among them, the light sensor, also called an ambient light sensor, is used to detect the ambient light brightness. The light sensor may include a light sensitive element and an analog to digital converter. The photosensitive element is used for converting collected optical signals into electric signals, and the analog-to-digital converter is used for converting the electric signals into digital signals. Optionally, the light sensor may further include a signal amplifier, and the signal amplifier may amplify the electrical signal converted by the photosensitive element and output the amplified electrical signal to the analog-to-digital converter. The photosensitive element may include at least one of a photodiode, a phototransistor, a photoresistor, and a silicon photocell.
The processor is a control center of the electronic equipment, various interfaces and lines are used for connecting all parts of the whole electronic equipment, and various functions and processing data of the electronic equipment are executed by operating or executing software programs and/or modules stored in the memory and calling data stored in the memory, so that the electronic equipment is monitored integrally.
The processor may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
The memory is used for storing software programs and/or modules, and the processor executes various functional applications and data processing of the electronic equipment by operating the software programs and/or modules stored in the memory. The memory mainly comprises a program storage area and a data storage area, wherein the program storage area can store an operating system, a software program required by at least one function and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 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.
In an embodiment of the present application, a processor configured to determine a first task for the cellular network module to perform and determine a second task for the LPWAN module to perform; when the first task is a network searching task and the second task is an LPWAN task, determining first signal quality of the cellular network module during working; when the first signal quality is greater than or equal to a first preset signal quality, the data stream associated with the first task is allocated to the main set antenna for processing, and the data stream associated with the second task is allocated to the diversity antenna for processing.
In an implementation manner of the present application, the processor is further configured to allocate, when the first signal quality is less than the first preset signal quality, the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocate the data stream associated with the second task to the diversity antenna for processing.
In an implementation manner of the present application, a working frequency point of a diversity antenna includes a first time slot and a second time slot, where the first time slot is used for the diversity antenna to process a data stream associated with a second task, and the second time slot is used for the diversity antenna to process a data stream associated with a first task, and the first time slot is earlier than the second time slot.
In an implementation manner of the present application, in terms of allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, a processor is specifically configured to split the data stream associated with the first task into at least two sub-data streams; and allocating the at least two sub-data streams to the main set antenna and the diversity antenna for processing.
In an implementation manner of the present application, the first time slot and the second time slot are determined based on a time slot determination parameter, and the time slot determination parameter includes at least one of: the at least two sub-streams, the data stream associated with the LPWAN task, the first signal quality, and a second signal quality when the LPWAN is operating.
In an implementation manner of the present application, the processor is further configured to, when the first task is a task including audio data and the second task is the LPWAN task, allocate the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocate the data stream associated with the second task to the diversity antenna for processing.
In an implementation manner of the present application, the working frequency point of the diversity antenna includes a third time slot and a fourth time slot, the third time slot is used for the diversity antenna to process the data stream associated with the first task, the fourth time slot is used for the diversity antenna to process the data stream associated with the second task, and the third time slot is earlier than the fourth time slot.
It should be noted that, specific implementation procedures of the steps executed by the modules may refer to specific implementation procedures described in the following methods, and are not described herein.
Referring to fig. 2A, fig. 2A is a schematic flowchart of an antenna sharing method provided in an embodiment of the present application, and is applied to an electronic device including a main antenna, a diversity antenna, a low power wide area network LPWAN module, and a cellular network module, where LPWAN functions and cellular network functions of the electronic device are both in an on state, and the method includes:
step 201: determine a first task for the cellular network module to perform, and determine a second task for the LPWAN module to perform.
In which the cellular network technology supported by the cellular network module operates within the scope of the license, ensuring its reliability through a relatively consistent and standardized infrastructure. They typically support greater data rates, shorter battery life, and more expensive (but rapidly becoming cheaper) hardware. Therefore, cellular based internet of things solutions are typically provided by larger operators and telecom operators who may obtain licensed spectrum and hardware designs. The licensed spectrum is expensive to obtain. LPWAN technology supported by some LPWAN modules may run on unlicensed spectrum (free to all users), which is easier for end users to deploy. These techniques possess cheaper hardware and allow a greater degree of customization by the end user.
Wherein the cellular network module comprises at least one of: a second Generation mobile phone communication technology (2G) module, a third Generation mobile phone communication technology (3rd-Generation and free mobile phone technology, 3G) module, (4th-Generation and free mobile phone technology, 4G) module, a Long Term Evolution (LTE) module, and a fifth Generation mobile phone communication technology (5th-Generation and free mobile phone technology, 5G) module.
The LPWAN module comprises a first LPWAN module operating in an unlicensed spectrum and a second LPWAN module operating in a licensed spectrum. Wherein the first LPWAN module comprises at least one of: a Long Range (Long Range, Lora) module, a Sigfox module, a Weightless module, a Random Phase Multiple Access (RPMA) module, a Qowisio module, an N-wave module, and a Telensa module, wherein the second LPWAN module includes at least one of: an (LTE-Machine to Machine, LTE-M) module, an extended Coverage GSM (EC-GSM) module, and a narrowband Internet of things NB-IoT module.
The first task comprises a network searching task, an audio data task and the like, and the second task comprises an LPWAN task. The LPWAN task refers to a task of transmitting data periodically or aperiodically, and the LPWAN task is, for example, a soil monitoring task, a climate monitoring task, a parking timing task, and the like.
Wherein the data transmission speed required by the data stream associated with the first task is higher than the data transmission speed required by the data stream associated with the second task. For example, the data transmission speed of the Lora module is 0.3-50 kbps, the data transmission speed of the Sigfox module is 10-1000 bps, the data transmission speed of the GPRS module in the 2G module is 85.6kbps, and the data transmission speed of the WCDMA module in the 3G module is 2.4 Mbps.
Step 202: and when the first task is a network searching task and the second task is an LPWAN task, determining a first signal quality when the cellular network module works.
In an implementation manner of the present application, the determining the first signal quality when the cellular network module operates includes: detecting whether a network analysis application is installed on the electronic equipment; if the network analysis application is installed, starting the network analysis application; determining a first signal quality at which the cellular network module is operating based on the network analysis application.
In an implementation of the present application, the first signal quality is determined based on a first signal quality parameter.
Wherein the first signal quality parameter comprises at least one of: received Signal Strength Indication (RSSI), Signal to Noise Ratio (SNR), Reference Signal Receiving Power (RSRP), Reference Signal Receiving Quality (RSRQ).
Step 203: when the first signal quality is greater than or equal to a first preset signal quality, the data stream associated with the first task is allocated to the main set antenna for processing, and the data stream associated with the second task is allocated to the diversity antenna for processing.
It can be seen that, in this embodiment of the present application, when it is determined that the first task executed by the cellular network module is a network searching task and the second task executed by the LPWAN module is an LPWAN task, the electronic device determines a first signal quality when the cellular network module operates, and when the first signal quality is greater than or equal to a first preset signal quality, allocates a data stream associated with the first task to the main set antenna for processing and allocates a data stream associated with the second task to the diversity antenna for processing, the cellular network module processes the first task through the main set antenna, and the LPWAN processes the second task through the diversity antenna, where the two tasks coexist independently and do not interfere with each other, so that coexistence of LPWAN communication and cellular network communication is achieved.
In an implementation manner of the present application, the method further includes:
when the first signal quality is smaller than the first preset signal quality, allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocating the data stream associated with the second task to the diversity antenna for processing.
In an implementation manner of the present application, a working frequency point of a diversity antenna includes a first time slot and a second time slot, where the first time slot is used for the diversity antenna to process a data stream associated with a second task, and the second time slot is used for the diversity antenna to process a data stream associated with a first task, and the first time slot is earlier than the second time slot.
For example, as shown in fig. 2B, fig. 2B is a schematic diagram of time slot allocation provided in the embodiment of the present application, where a working frequency point of a carrier includes eight time slots a to h, a data stream associated with a second task is allocated to a first time slot (time slots a to d), and a data stream associated with a first task is allocated to a first time slot (time slots e to h).
It can be seen that, in the embodiment of the present application, when the cellular network module needs to use the diversity antenna to assist in network search, the diversity antenna mainly uses the time slot to process the LPWAN task, extracts a part of the time slot to call the cellular module, and when the cellular network module performs network search, the LPWAN module is also ensured to process the LPWAN task.
In an implementation manner of the present application, in allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, the method includes:
splitting the data stream associated with the first task into at least two sub-data streams;
and allocating the at least two sub-data streams to the main set antenna and the diversity antenna for processing.
In an implementation manner of the present application, the splitting the data stream associated with the first task into at least two sub-data streams includes:
splitting the first task-associated data stream into at least two sub-streams based on the first and second signal qualities.
In an implementation manner of the present application, the splitting the data stream associated with the first task into at least two sub-data streams based on the first signal quality and the second signal quality includes:
determining the shunt weights of the main set antenna and the diversity antenna according to the first transmission rate and the second transmission rate respectively;
splitting the data stream associated with the first task into at least two sub-data streams according to the determined two splitting weights.
The stream splitting weight is used to indicate the degree of importance in splitting the data stream.
Wherein the sum of the two splitting weights equals 1.
Further, a specific implementation manner of splitting the data stream associated with the first task into at least two sub-data streams according to the determined two splitting weights includes: the electronic equipment divides the data stream associated with the first task into at least two sub-data streams according to the number of the data streams associated with the first task and the determined two shunt weights.
For example, in the embodiment of the present application, the first transmission speed is 50kbps, the second transmission speed is 30kbps, the splitting weight of the main set antenna is determined to be 5/8, and the splitting weight of the diversity antenna is determined to be 3/8, and if the number of data streams associated with the first task is 8, the electronic device splits 5 data streams to the main set antenna and 3 data streams to the diversity antennas.
The data stream is a set of packets of the same data type, for example, a video-type packet belongs to one data stream, a picture-type packet belongs to one data stream, and the like.
It can be seen that, in the embodiment of the present application, the electronic device determines the splitting weights of the main set antenna and the diversity antenna based on the first data transmission speed when the cellular network module operates and the second data transmission speed when the LPWAN module operates, and finally splits the data based on the determined splitting weights and the number of data streams associated with the first task, so that when the first signal quality of the cellular network is poor, the splitting is performed reasonably for the main set antenna and the diversity antenna, and further, the stability of data transmission is improved.
In an implementation manner of the present application, the first time slot and the second time slot are determined based on a time slot determination parameter, and the time slot determination parameter includes at least one of: the at least two sub-streams, the data stream associated with the LPWAN task, the first signal quality, and a second signal quality when the LPWAN is operating.
In an implementation manner of the present application, the time slot determination parameter includes the at least two sub-data streams and the data stream associated with the LPWAN task, and the first time slot and the second time slot are determined based on the at least two sub-data streams and the data stream associated with the LPWAN task.
For example, if the number of data streams associated with the first task is 8, the electronic device may divide 5 data streams into the main set antenna and 3 data streams into the diversity antennas, and the number of data streams associated with the LPWAN task is 5, it may be determined that the first time slot includes time slots a-e and the second time slot includes time slots f-h.
For another example, if the electronic device distributes the 5G data stream associated with the first task to the diversity antennas, and the data stream associated with the LPWAN task is 3G, it may be determined that the first time slot includes time slots a to c, and the second time slot includes time slots d to h.
In an implementation manner of the present application, the time slot determination parameter includes the at least two sub-data streams and a data stream associated with the LPWAN task, and the first time slot and the second time slot are determined based on the first signal quality and the second signal quality.
For example, assuming that the first signal quality is worse than the second signal quality, the electronic device may divide the 5G data stream associated with the first task to the diversity antennas, and the data stream associated with the LPWAN task is 3G, it may be determined that the first time slot includes time slots a and b, and the second time slot includes time slots c-h.
In an implementation manner of the present application, the method further includes:
when the first task is a task including audio data and the second task is the LPWAN task, allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocating the data stream associated with the second task to the diversity antenna for processing.
In an implementation manner of the present application, the working frequency point of the diversity antenna includes a third time slot and a fourth time slot, the third time slot is used for the diversity antenna to process the data stream associated with the first task, the fourth time slot is used for the diversity antenna to process the data stream associated with the second task, and the third time slot is earlier than the fourth time slot.
For example, as shown in fig. 2C, fig. 2C is a schematic diagram of time slot allocation provided in the embodiment of the present application, where a working frequency point of a carrier includes eight time slots a to h, a data stream associated with a first task is allocated to a third time slot (time slots a to d), and a data stream associated with a second task is allocated to a fourth time slot (time slots e to h).
It should be noted that the determination method of the third time slot and the fourth time slot is the same as the determination method of the first time slot and the second time slot, and is not illustrated here.
It can be seen that, in the embodiment of the present application, when the cellular network module needs to use the diversity antenna to assist in processing the task including the audio data, the diversity antenna mainly uses the time slot for the task including the audio data, and extracts a part of the time slot to be called by the LPWAN module, so that the working of the LPWAN module can be maintained without interruption while the cellular network module is ensured to work normally.
Referring to fig. 3, in accordance with the embodiment shown in fig. 2A, fig. 3 is a schematic flowchart of an antenna sharing method provided in an embodiment of the present application, and is applied to an electronic device including a main set antenna, a diversity antenna, a low power consumption wide area network LPWAN module, and a cellular network module, where an LPWAN function and a cellular network function of the electronic device are both in an on state, where the method includes:
step 301: determine a first task for the cellular network module to perform, and determine a second task for the LPWAN module to perform.
Step 302: and when the first task is a network searching task and the second task is an LPWAN task, determining a first signal quality when the cellular network module works.
Step 303: when the first signal quality is greater than or equal to a first preset signal quality, the data stream associated with the first task is allocated to the main set antenna for processing, and the data stream associated with the second task is allocated to the diversity antenna for processing.
Step 304: splitting the data stream associated with the first task into at least two sub-data streams when the first signal quality is less than the first preset signal quality.
Step 305: allocating the at least two sub-data streams to the main set antenna and the diversity antenna for processing, and allocating the data stream associated with the second task to the diversity antenna for processing, where a working frequency point of the diversity antenna includes a first time slot and a second time slot, the first time slot is used for the diversity antenna to process the data stream associated with the second task, the second time slot is used for the diversity antenna to process the data stream associated with the first task, the first time slot is earlier than the second time slot, the first time slot and the second time slot are determined based on a time slot determination parameter, and the time slot determination parameter includes at least one of: the at least two sub-streams, the data stream associated with the LPWAN task, the first signal quality, and a second signal quality when the LPWAN is operating.
Step 306: when the first task is a task including audio data and the second task is the LPWAN task, allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocating the data stream associated with the second task to the diversity antenna for processing, where the working frequency point of the diversity antenna includes a third time slot and a fourth time slot, the third time slot is used for the diversity antenna to process the data stream associated with the first task, the fourth time slot is used for the diversity antenna to process the data stream associated with the second task, and the third time slot is earlier than the fourth time slot.
It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.
In accordance with the embodiments shown in fig. 2A and fig. 3, please refer to fig. 4, and fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps:
determining a first task for the cellular network module to perform and determining a second task for the LPWAN module to perform;
when the first task is a network searching task and the second task is an LPWAN task, determining first signal quality of the cellular network module during working;
when the first signal quality is greater than or equal to a first preset signal quality, the data stream associated with the first task is allocated to the main set antenna for processing, and the data stream associated with the second task is allocated to the diversity antenna for processing.
In an implementation manner of the present application, the program includes instructions for further performing the following steps:
when the first signal quality is smaller than the first preset signal quality, allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocating the data stream associated with the second task to the diversity antenna for processing.
In an implementation manner of the present application, a working frequency point of a diversity antenna includes a first time slot and a second time slot, where the first time slot is used for the diversity antenna to process a data stream associated with a second task, and the second time slot is used for the diversity antenna to process a data stream associated with a first task, and the first time slot is earlier than the second time slot.
In an implementation of the present application, in allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, the program includes instructions specifically configured to:
splitting the data stream associated with the first task into at least two sub-data streams;
and allocating the at least two sub-data streams to the main set antenna and the diversity antenna for processing.
In an implementation manner of the present application, the first time slot and the second time slot are determined based on a time slot determination parameter, and the time slot determination parameter includes at least one of: the at least two sub-streams, the data stream associated with the LPWAN task, the first signal quality, and a second signal quality when the LPWAN is operating.
In an implementation manner of the present application, the program includes instructions for further performing the following steps:
when the first task is a task including audio data and the second task is the LPWAN task, allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocating the data stream associated with the second task to the diversity antenna for processing.
In an implementation manner of the present application, the working frequency point of the diversity antenna includes a third time slot and a fourth time slot, the third time slot is used for the diversity antenna to process the data stream associated with the first task, the fourth time slot is used for the diversity antenna to process the data stream associated with the second task, and the third time slot is earlier than the fourth time slot.
It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.
The above embodiments mainly introduce the scheme of the embodiments of the present application from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The following is an embodiment of the apparatus of the present application, which is used to execute the method implemented by the embodiment of the method of the present application. Referring to fig. 5, fig. 5 is a schematic structural diagram of an antenna sharing apparatus provided in an embodiment of the present application, and is applied to an electronic device including a main antenna, a diversity antenna, a low power consumption wide area network LPWAN module, and a cellular network module, where an LPWAN function and a cellular network function of the electronic device are both in an on state, the apparatus includes:
a task determining unit 501, configured to determine a first task for the cellular network module to perform and determine a second task for the LPWAN module to perform;
a signal quality determining unit 502, configured to determine a first signal quality when the cellular network module operates when the first task is a network searching task and the second task is an LPWAN task;
a data stream allocating unit 503, configured to allocate, when the first signal quality is greater than or equal to a first preset signal quality, the data stream associated with the first task to the main set antenna for processing, and allocate the data stream associated with the second task to the diversity antenna for processing.
In an implementation manner of the present application, the data stream allocating unit 503 is further configured to allocate, when the first signal quality is less than the first preset signal quality, the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocate, to the diversity antenna, the data stream associated with the second task for processing.
In an implementation manner of the present application, a working frequency point of a diversity antenna includes a first time slot and a second time slot, where the first time slot is used for the diversity antenna to process a data stream associated with a second task, and the second time slot is used for the diversity antenna to process a data stream associated with a first task, and the first time slot is earlier than the second time slot.
In an implementation manner of the present application, in terms of allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, the data stream allocating unit 503 is specifically configured to split the data stream associated with the first task into at least two sub-data streams; and allocating the at least two sub-data streams to the main set antenna and the diversity antenna for processing.
In an implementation manner of the present application, the first time slot and the second time slot are determined based on a time slot determination parameter, and the time slot determination parameter includes at least one of: the at least two sub-streams, the data stream associated with the LPWAN task, the first signal quality, and a second signal quality when the LPWAN is operating.
In an implementation manner of the present application, the data stream allocating unit 503 is further configured to, when the first task is a task including audio data and the second task is the LPWAN task, allocate the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocate the data stream associated with the second task to the diversity antenna for processing.
In an implementation manner of the present application, the working frequency point of the diversity antenna includes a third time slot and a fourth time slot, the third time slot is used for the diversity antenna to process the data stream associated with the first task, the fourth time slot is used for the diversity antenna to process the data stream associated with the second task, and the third time slot is earlier than the fourth time slot.
It should be noted that the task determination unit 501, the signal quality determination unit 502, and the data stream allocation unit 503 may be implemented by a processor.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An antenna sharing method is applied to an electronic device comprising a main antenna set, a diversity antenna set, a low power consumption wide area network (LPWAN) module and a cellular network module, wherein the LPWAN function and the cellular network function of the electronic device are both in an on state, and the method comprises the following steps:
determining a first task for the cellular network module to perform and determining a second task for the LPWAN module to perform;
when the first task is a network searching task and the second task is an LPWAN task, determining first signal quality of the cellular network module during working;
when the first signal quality is greater than or equal to a first preset signal quality, the data stream associated with the first task is allocated to the main set antenna for processing, and the data stream associated with the second task is allocated to the diversity antenna for processing.
2. The method of claim 1, further comprising:
when the first signal quality is smaller than the first preset signal quality, allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocating the data stream associated with the second task to the diversity antenna for processing.
3. The method according to claim 2, wherein the operating frequency points of the diversity antenna include a first time slot and a second time slot, the first time slot is used for the diversity antenna to process the data stream associated with the second task, the second time slot is used for the diversity antenna to process the data stream associated with the first task, and the first time slot is earlier than the second time slot.
4. The method of claim 3, wherein the allocating the data streams associated with the first task to the main set antennas and the diversity antennas for processing comprises:
splitting the data stream associated with the first task into at least two sub-data streams;
and allocating the at least two sub-data streams to the main set antenna and the diversity antenna for processing.
5. The method of claim 4, wherein the first time slot and the second time slot are determined based on a time slot determination parameter, the time slot determination parameter comprising at least one of: the at least two sub-streams, the data stream associated with the LPWAN task, the first signal quality, and a second signal quality when the LPWAN is operating.
6. The method according to any one of claims 1-5, further comprising:
when the first task is a task including audio data and the second task is the LPWAN task, allocating the data stream associated with the first task to the main set antenna and the diversity antenna for processing, and allocating the data stream associated with the second task to the diversity antenna for processing.
7. The method according to claim 6, wherein the working frequency points of the diversity antenna include a third time slot and a fourth time slot, the third time slot is used for the diversity antenna to process the data stream associated with the first task, the fourth time slot is used for the diversity antenna to process the data stream associated with the second task, and the third time slot is earlier than the fourth time slot.
8. An antenna sharing apparatus applied to an electronic device including a main antenna, a diversity antenna, a low power consumption wide area network (LPWAN) module and a cellular network module, wherein the LPWAN function and the cellular network function of the electronic device are both in an on state, the apparatus comprising:
a task determination unit to determine a first task for the cellular network module to perform and to determine a second task for the LPWAN module to perform;
a signal quality determining unit, configured to determine, when the first task is a network searching task and the second task is an LPWAN task, a first signal quality when the cellular network module operates;
and a data stream allocating unit, configured to allocate, when the first signal quality is greater than or equal to a first preset signal quality, the data stream associated with the first task to the main set antenna for processing, and allocate the data stream associated with the second task to the diversity antenna for processing.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method of any one of claims 1 to 7.
CN201910557587.9A 2019-06-25 2019-06-25 Antenna sharing method and related equipment Active CN110247667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910557587.9A CN110247667B (en) 2019-06-25 2019-06-25 Antenna sharing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910557587.9A CN110247667B (en) 2019-06-25 2019-06-25 Antenna sharing method and related equipment

Publications (2)

Publication Number Publication Date
CN110247667A CN110247667A (en) 2019-09-17
CN110247667B true CN110247667B (en) 2021-04-09

Family

ID=67889396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910557587.9A Active CN110247667B (en) 2019-06-25 2019-06-25 Antenna sharing method and related equipment

Country Status (1)

Country Link
CN (1) CN110247667B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11589195B2 (en) 2020-08-20 2023-02-21 Ip Co, Llc Asset tracking systems and methods

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307291B (en) * 2014-05-28 2019-10-15 南京中兴软件有限责任公司 The signal transmitting method of communication terminal and communication terminal
CN105429647B (en) * 2015-11-06 2018-08-31 联想(北京)有限公司 Electronic equipment and its control method
CN105792259A (en) * 2016-04-26 2016-07-20 宇龙计算机通信科技(深圳)有限公司 3G communication control method of intelligent terminal
CN205793400U (en) * 2016-06-21 2016-12-07 深圳市美格智能技术股份有限公司 A kind of Internet of Things access system based on LTE M technology
CN208013715U (en) * 2018-01-09 2018-10-26 桑田智能技术(上海)有限公司 A kind of general Internet of Things intelligent object upgrading to Yunmen taboo for common gate inhibition
CN108494414B (en) * 2018-05-10 2020-08-04 武汉中电物联科技有限公司 Ultra-low power consumption multimode wireless module of internet of things

Also Published As

Publication number Publication date
CN110247667A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN110972102B (en) Resource selection method and terminal
CN109803325B (en) Data distribution method and device, mobile terminal and storage medium
EP3917205A1 (en) Data packet distribution method and apparatus, mobile terminal, and storage medium
KR101531924B1 (en) Method and apparatus for controlling bluetooth load
US11516684B2 (en) Method and device for performing channel sensing on unlicensed frequency band
JP5680183B2 (en) Dynamic allocation of spectrum sensing resources in cognitive radio networks
CN109922539B (en) Network connection method and related product
KR20200043615A (en) Apparatus and method for selecting uplink based on transmission state
KR20210143317A (en) Channel resource determination method, channel detection method and terminal
CN110730517B (en) Network connection control method and related product
US20230015263A1 (en) Resource selection method and apparatus, and user equipment
JP7354430B2 (en) Resource allocation method, device, equipment and storage medium
EP3706392B1 (en) Backhaul bandwidth adjusting method and apparatus
US10397874B2 (en) Information processing device, communication system, information processing method, and program
CN110521230A (en) Mutual interference indicating means, method of reseptance and device in equipment
CN110247667B (en) Antenna sharing method and related equipment
CA2475536A1 (en) Radio resource allocation in a radio communication network
KR20230018493A (en) WIRELESS COMMUNICATION METHOD AND APPARATUS, TERMINAL, AND STORAGE MEDIUM
CN106465397A (en) Terminal device, base station and program
CN114125930B (en) Method, device and system for switching access points
CN116671218A (en) Method for configuring SRS transmission resources, terminal equipment and network equipment
CN107659996B (en) Channel access method and equipment
JP7451762B2 (en) Data transmission methods, devices, communication equipment and storage media
CN108322943B (en) Local area network allocation method, terminal and storage medium
CN113162874A (en) Reference signal sending method, equipment and system

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