CN114423068B - Networking method, mobile communication module, storage medium and electronic equipment - Google Patents

Networking method, mobile communication module, storage medium and electronic equipment Download PDF

Info

Publication number
CN114423068B
CN114423068B CN202210006611.1A CN202210006611A CN114423068B CN 114423068 B CN114423068 B CN 114423068B CN 202210006611 A CN202210006611 A CN 202210006611A CN 114423068 B CN114423068 B CN 114423068B
Authority
CN
China
Prior art keywords
frequency
local area
area network
frequency band
cellular network
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
CN202210006611.1A
Other languages
Chinese (zh)
Other versions
CN114423068A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202210006611.1A priority Critical patent/CN114423068B/en
Publication of CN114423068A publication Critical patent/CN114423068A/en
Application granted granted Critical
Publication of CN114423068B publication Critical patent/CN114423068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a networking method, a mobile communication module, a storage medium and electronic equipment, comprising the following steps: when the mobile cellular network is in a connection state, sending a local area network detection signal; when a connectable local area network is scanned based on a local area network detection signal, establishing a communication protocol between the local area network and the local area network; determining a first frequency band corresponding to a mobile cellular network and a second frequency band corresponding to a communication protocol; wireless signals are transmitted alternately based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network. The mobile communication module can be compatible with and connected with a local area network.

Description

Networking method, mobile communication module, storage medium and electronic equipment
Technical Field
The present application relates to the field of network connection, and in particular, to a networking method, a mobile communication module, a storage medium, and an electronic device.
Background
The common networking modes in the prior art are two, one is a connection mobile cellular network, the functions of short messages, telephones, mobile traffic and the like can be realized based on the mobile cellular network, and the other is a connection router, and the wifi function can be realized.
Because the mobile communication module for realizing the connection with the mobile cellular network and the wifi module for realizing the connection with the router are incompatible in the prior art, a mobile communication module and a wifi module are often required to be arranged in the electronic equipment so as to adapt to different network requirements.
Disclosure of Invention
The embodiment of the application provides a networking method, a mobile communication module, a storage medium and electronic equipment, which can enable the mobile communication module to be compatible with a wifi function.
In a first aspect, embodiments of the present application provide a networking method comprising:
when the mobile cellular network is in a connection state, sending a local area network detection signal;
when a connectable local area network is scanned based on a local area network detection signal, establishing a communication protocol between the local area network and the local area network;
determining a first frequency band corresponding to a mobile cellular network and a second frequency band corresponding to a communication protocol;
wireless signals are transmitted alternately based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network.
In a second aspect, an embodiment of the present application further provides a mobile communication module, where the mobile communication module is configured to:
when the mobile cellular network is in a connection state, sending a local area network detection signal;
when a connectable local area network is scanned based on a local area network detection signal, establishing a communication protocol between the local area network and the local area network;
determining a first frequency band corresponding to a mobile cellular network and a second frequency band corresponding to a communication protocol;
wireless signals are transmitted alternately based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network.
In a third aspect, embodiments of the present application also provide a computer-readable storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform a networking method as provided by any of the embodiments of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, where the electronic device is provided with the mobile communication module provided by the embodiment of the present application.
According to the technical scheme provided by the embodiment of the application, based on the mobile communication module, the local area network detection signal is sent to establish a communication protocol between the local area network under the condition that the mobile communication module is connected with the mobile cellular network, and based on the first frequency band corresponding to the mobile cellular network and the second frequency band negotiated according to the communication protocol, the wireless signal is alternately sent based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network, so that the mobile communication module can be connected with the mobile cellular network and the local area network, and the wifi function compatible with the mobile communication module is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a networking method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of transmitting wireless signals alternately according to a first frequency and a second frequency according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a mobile communication module according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic 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 accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases 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. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The embodiment of the application provides a networking method, and an execution subject of the networking method can be a mobile communication module provided by the embodiment of the application or an electronic device integrated with the mobile communication module. The mobile communication module can be realized in a hardware or software mode, and the electronic equipment can be equipment provided with the mobile communication module, such as a smart phone, a tablet personal computer, a palm computer, a smart watch and the like.
It is foreseeable that the electronic device provided by the present application may be provided with a mobile communication module, and the networking method provided by the present application can be implemented by improving the mobile communication module, and of course, the electronic device of the present application is not limited to the device provided with the mobile communication module, and the networking method provided by the embodiment of the present application may be implemented by improving the existing electronic device and providing the mobile communication module in the electronic device not provided with the mobile communication module.
Therefore, there are various embodiments of the solution provided by the embodiments of the present application, in the following embodiments, the electronic device is used as an execution body to describe the solution, and it should be noted that only one mobile communication module and no wifi module are provided in the electronic device in the following embodiments.
Compared with the scheme that one mobile communication module and one wifi module are required to be arranged in the electronic equipment in the prior art, the scheme can realize that the mobile communication module is compatible with the wifi function under the condition of reducing one wifi module, and the original networking performance of the electronic equipment is not affected.
Referring to fig. 1, fig. 1 is a flow chart of a networking method according to an embodiment of the application. The specific flow of the networking method provided by the embodiment of the application can be as follows:
101. and when the mobile cellular network is in a connected state, sending a local area network detection signal.
The mobile cellular network refers to a network which can be connected in the coverage area of a base station, and the electronic equipment can be accessed to the mobile cellular network at any place in the coverage area of the base station, so that mobile connection between the electronic equipment and the base station is realized.
It can be understood that when the mobile communication module is provided in the electronic device, as long as the function of the mobile communication module is started, the electronic device will automatically detect nearby wireless signals, and when the current position is detected to have the strongest signal, the corresponding base station is connected to access the mobile cellular network within the coverage area of the base station. Repeated detection of the strongest signal is also performed as the location of the electronic device is updated to access the new mobile cellular network.
Among other things, the functions that the electronic device can implement through the mobile communication module include, but are not limited to: telephone functions, short message functions, mobile data functions, etc. Therefore, as long as the user sets the related functions of the mobile communication module on the electronic device, the different functions can be started, and the embodiment needs to emphasize the telephone function and the short message function of the mobile communication module.
The electronic device has a telephone networking function and a short message networking function when the electronic device is connected to the mobile cellular network, and the mobile device can be started to connect to the mobile cellular network.
It is known that a plurality of channels are provided in the coverage area of the same base station, and one channel includes a set of frequencies, so as to avoid the situation of communication blocking, multiple sets of frequencies are multiplexed in the coverage area of the base station with a certain distance, so as to avoid the situation that the communication blocking is caused by using a set of frequencies in the coverage area of the same base station at the same time.
In this case, the electronic device is connected to the mobile cellular network, and the base station allocates a channel to the electronic device, so that the electronic device currently has a channel to use, i.e. uses a frequency band, which may be referred to as a first frequency band.
When the electronic device is in a state of being connected with the mobile cellular network, a local area network detection signal is sent to scan for connectable local area networks. The transmitted local area network detection signal is transmitted according to the frequency band supported by the local area network. For example, when the electronic device is in a state of being connected with the mobile cellular network, local area network detection signals are sent at preset time intervals, the electronic device is replaced at preset time intervals, the frequency band is replaced by the current frequency band to be a frequency band receivable by the local area network, and local area network detection signals are sent based on the replaced frequency band, so that the electronic device can scan the connectable local area network. Alternatively, in another embodiment, when the electronic device is in a state of being connected to the mobile cellular network, the electronic device may continuously transmit the lan probe signal in a frequency band receivable by the lan until the connectable lan is scanned.
102. When a connectable local area network is scanned based on the local area network probe signal, a communication protocol with the local area network is established.
As known, the principles of the lan include a wired lan and a wireless lan, and the present application uses wifi as an example.
The wifi includes two frequency bands, which are divided into 2.4g frequency band and 5g frequency band, however, with the development of communication technology, the wifi may not be limited to 2.4g frequency band and 5g frequency band in the future, so it is understood that the wifi frequency band in the present application is only regarded as an example and not limited.
The wifi is realized based on router connection, when the electronic equipment works in a first frequency band, the frequency band can be replaced at preset time intervals to send signals of 2.4g frequency band or 5g frequency band, wherein the router is scanned by the 2.4g frequency band or 5g frequency band supported by the router, the connectable router can be scanned, and when the connectable router is scanned, a communication protocol between the router and the router is established.
The communication protocol defines the connection between the electronic equipment and the router, the time sequence of information transmission and information reception and the like, so that the mutual identification of the information transmission between the electronic equipment and the router is ensured.
103. And determining a first frequency band corresponding to the mobile cellular network and a second frequency band corresponding to the communication protocol.
The communication between the electronic device and the mobile cellular network currently uses a first frequency band, and the communication between the electronic device and the router uses a second frequency band, wherein the first frequency band is selected within a base station supporting frequency range, and the second frequency band is selected within a router supporting frequency range.
104. Wireless signals are transmitted alternately based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network.
After the electronic device establishes a communication protocol with the local area network, the first frequency band connected to the mobile cellular network and the second frequency band negotiated by the communication protocol are different, so that wireless signals need to be transmitted alternately according to the first frequency band and the second frequency band, and the mobile cellular network and the local area network are connected through the wireless signals.
In particular, the application is not limited by the order of execution of the steps described, as some of the steps may be performed in other orders or concurrently without conflict.
According to the networking method in the embodiment of the application, wireless signals can be alternately transmitted based on the first frequency band corresponding to the mobile cellular network and the second frequency band corresponding to the local area network, so that the base station and the router can receive the wireless signals in a time-sharing and frequency-dividing manner, the function that the wifi module can be compatible by only one mobile communication module is realized, the wifi module is omitted from being arranged in the electronic equipment, the production cost is further saved, furthermore, the electronic equipment can transmit the wireless signals in the full frequency band (comprising the frequency band supported by the mobile cellular network and the frequency band supported by the wifi) through one mobile communication module, the mobile cellular network and the local area network can be simultaneously connected, and moreover, the energy consumption of the original wifi module in the working process can be saved by omitting the wifi module in the electronic equipment, so that the energy consumption of the electronic equipment is saved.
The method described in the previous examples is described in further detail below by way of example.
In some embodiments, 104 comprises:
selecting a first frequency from the first frequency band and a second frequency from the second frequency band;
wireless signals are transmitted alternately based on the first frequency and the second frequency to connect the mobile cellular network and the local area network.
In this embodiment, a scheme of transmitting wireless signals alternately according to a first frequency band and a second frequency band is described.
The electronic device is typically currently connected to a channel used by the mobile cellular network, i.e. a first frequency band, wherein the first frequency band comprises a plurality of frequencies, by selecting one of the plurality of frequencies comprised in the first frequency band as the first frequency for connecting to the mobile cellular network.
After the electronic device establishes a communication protocol with the local area network, a channel used by the electronic device for connecting the local area network, namely a second frequency band, can be determined according to the communication protocol, and then one of a plurality of frequencies contained in the second frequency band is selected as a second frequency for connecting the local area network.
Wherein, for selecting the first frequency in the first frequency band and selecting the second frequency in the second frequency band, the first frequency can be selected randomly from the first frequency band, and the second frequency can be selected randomly from the second frequency band, or the minimum frequency in the first frequency band is selected as the first frequency, and the minimum frequency in the second frequency band is selected as the second frequency. Since there are various ways of selecting one frequency from one frequency band, the selection way is not limited herein, as long as the first frequency is selected from the frequency band supported by the mobile cellular network and the second frequency is selected from the frequency band supported by the local area network.
Illustratively, the frequency values of the first frequency and the second frequency are different to avoid interference between signal reception and transmission between the same frequencies.
In some embodiments, for establishing a communication protocol between the electronic device and the lan to negotiate a channel used by the electronic device, during negotiation, negotiation may be started from a frequency band supported by the router at the lowest, that is, a frequency band is selected from a frequency band range supported by the router at the lowest of 2.4g as a second frequency band, so that in the coverage area of the lan, an idle frequency channel is selected for use by the electronic device, and a plurality of frequencies in the frequency bands corresponding to the frequency channel are lower.
After the first frequency and the second frequency are determined, wireless signals are alternately transmitted according to the first frequency and the second frequency, a mobile cellular network of the base station can be accessed when wireless signals are transmitted to the base station based on the first frequency, and a local area network of the router can be accessed when wireless signals are transmitted to the router based on the second frequency.
Based on the communication protocol between the electronic device and the base station, the content negotiated according to the communication protocol includes the information sending and receiving time sequence and other content, and the base station can know the time for receiving and sending information when serving as a plurality of terminal information transmission media through the communication protocol, so that the smooth execution of the information transmission is ensured.
Based on this, in some embodiments, the local area network may also be connected at the second frequency by determining a time interval for transmitting and receiving information between the electronic device and the mobile cellular network, thereby avoiding the time interval for transmitting and receiving information by the mobile cellular network, and implementing information transmission and reception between the electronic device and the local area network.
In some embodiments, transmitting wireless signals alternately based on a first frequency and a second frequency to connect a mobile cellular network and a local area network includes:
determining a highest frequency of connection to the mobile cellular network;
calculating a sum of frequencies of the first frequency and the second frequency;
if the sum of the frequencies is not greater than the highest frequency, a wireless signal is alternately transmitted based on the first frequency and the second frequency to connect the mobile cellular network and the local area network.
In the present embodiment, a scheme of transmitting wireless signals alternately according to a first frequency and a second frequency is provided.
The mobile communication module is used for connecting with the mobile cellular network, but the highest frequency corresponding to the wireless signal transmitted by the mobile communication module cannot be higher than the highest frequency supported by the base station, otherwise, the mobile cellular network formed by the base station cannot be accessed, so that the highest frequency capable of connecting with the mobile cellular network needs to be known first.
For example, the mobile communication module may adopt a first generation mobile communication technology 1G, a second generation mobile communication technology 2G, a third generation mobile communication technology 3G, a fourth generation mobile communication technology 4G, and a fifth generation mobile communication technology 5G, wherein 3G, 4G, and 5G are currently commonly used mobile communication technologies, and 5G is taken as an example, two frequency bands supported by 5G are provided, one is a downlink frequency band 450MHz-6000MHz, the other is an uplink frequency band 24250MHz-52600MHz, and the highest frequency corresponding to the mobile communication module of 5G is 52600MHz for the electronic device.
It can be understood that, when the highest frequency supported by the mobile communication technology changes, the highest frequency connected to the mobile cellular network also changes, so that the specific value of the highest frequency in this embodiment can be determined by those skilled in the art according to the actual requirement, and is not limited herein.
After determining the highest frequency connected to the mobile cellular network, the first frequency, the second frequency and the highest frequency may be compared, and whether the sum of the frequencies of the first frequency and the second frequency is greater than the highest frequency may be determined first, and when the sum of the frequencies is less than or equal to the highest frequency, the wireless signals may be sent alternately directly based on the first frequency and the second frequency, and in particular, referring to fig. 2, fig. 2 is a schematic diagram of sending wireless signals alternately according to the first frequency and the second frequency according to an embodiment of the present application.
In fig. 2, the first signal waveform represents a signal wave of a first frequency, the second signal waveform represents a signal wave of a second frequency, and the signal wave of the wireless signal, that is, the third signal waveform represents a signal wave of the wireless signal, can be obtained by summing the two.
The frequencies covered by the wireless signal comprise a first frequency and a second frequency, the first frequency and the second frequency are periodically alternated, when the wireless signal uses the first frequency, the mobile cellular network is connected, and when the wireless signal uses the second frequency, the local area network is connected.
Or it may be explained in another angle that the wireless signal transmitted by the mobile communication module of the electronic device is based on the first frequency and the second frequency which are alternately used in a preset period to alternately connect the mobile cellular network and the local area network.
The period of the wireless signal may be set to 10ms, 100ms, 500ms, etc. to realize that the frequency used by the wireless signal switches between the first frequency and the second frequency, and it can be understood that the data amount of the data received and transmitted through the network in different scenarios is different, so the preset period may be determined according to the specific application scenario, and is not limited herein, as long as the mobile cellular network and the local area network can be alternately connected through the periodic switching frequency, and it can be understood that any mode capable of realizing such networking can be used in the present embodiment.
In some embodiments, before transmitting the wireless signal alternately based on the first frequency and the second frequency to connect the mobile cellular network and the local area network, the method further comprises:
the amplitude of the second frequency is reduced.
In the above embodiment, by selecting a first frequency from the first frequency band, and selecting a second frequency from the second frequency band, where the second frequency represents a frequency used by the connection router, and when the second frequency is higher, the amplitude of the second frequency will also be higher, and when the amplitude of the second frequency is higher, the signal corresponding to the second frequency may be transmitted for a longer distance, but correspondingly, the signal energy becomes weak, and the penetrating ability of the obstacle is weakened, so the amplitude of the second frequency is reduced, so as to improve the penetrating ability of the wireless signal to the obstacle.
In some embodiments, after calculating the sum of the frequencies of the first frequency and the second frequency, further comprising:
if the sum of the frequencies is greater than the highest frequency, reducing the first frequency to the third frequency;
wireless signals are transmitted alternately based on the second frequency and the third frequency to connect the mobile cellular network and the local area network.
The present embodiment provides a scheme for transmitting a wireless signal when the sum of the frequencies of the first frequency and the second frequency is greater than the highest frequency.
If the sum of the frequencies of the first frequency and the second frequency is greater than the highest frequency, the first frequency and the second frequency are difficult to be included into the same channel, because one channel is used by one electronic device, and the frequency values of a plurality of frequencies in one channel are approximate, therefore, the frequency values of the third frequency and the second frequency can be similar by reducing the first frequency to the third frequency, and the wireless signals can be alternately transmitted with the second frequency and the third frequency. The manner of alternately transmitting the wireless signals may refer to the above embodiments, and will not be described herein.
In order to better understand the scheme provided by the embodiment, an application scenario is provided herein for illustration, for example, the 5G mobile communication module covers the most wide frequency band, so that the embodiment may preferably use the 5G mobile communication module, where it is assumed that the 5G mobile communication module currently uses the a frequency band, the 5G mobile communication module further changes the frequency band at a preset time interval to send a local area network probe signal to scan the connectable router, and negotiates the B frequency band with the router after scanning the router, where the frequency band supported by the router is 2.4G and 5G frequency bands, and the negotiation starts with the frequency band supported by the router lowest, and it is assumed that the B frequency band is in the range of 2.4G.
And when the frequency E is greater than the frequency F, the frequency value of the frequency C is reduced to the frequency G, and the wireless signal is alternately transmitted according to the frequency G and the frequency D.
For example, frequency C is in a 5G channel and by reducing frequency C, the resulting frequency G may be in a 4G channel. The mode for reducing the frequency of the mobile communication module does not affect the 4G communication, namely the telephone function and the short message function when the electronic equipment uses the 4G network. Furthermore, the use of 4G networks also reduces traffic drain compared to 5G networks.
In some embodiments, after transmitting the wireless signal alternately based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network, the method further comprises:
when the mobile cellular network is connected based on the first frequency band, receiving a first signal returned from the mobile cellular network according to a signal receiving time set by a mobile communication protocol;
when the time slice rotates to point to the processing process of the first signal, the first signal is analyzed based on a mobile communication protocol, and mobile communication data are obtained;
when the local area network is connected based on the second frequency band, receiving a second signal returned from the local area network according to the signal receiving time set by the local area network communication protocol;
and when the time slice rotation points to the processing process of the second signal, analyzing the second signal based on the local area network communication protocol to obtain local area network data.
The present embodiment provides a solution for receiving signals returned from the base station and the router.
In an exemplary embodiment, after negotiating a channel where the first frequency band is located with the base station according to the mobile communication protocol, the mobile communication protocol sets a time sequence of receiving and transmitting information, and similarly, the local area network communication protocol sets a time sequence of receiving and transmitting information, when the wireless signal is transmitted based on the first frequency band and connected to the mobile cellular network, the information is transmitted based on the time sequence specified by the first frequency band according to the communication protocol, and the information is received according to the time sequence specified by the communication protocol. For the lan communication protocol, since the times of connecting the mobile cellular network and the lan are staggered, the timings of information reception and transmission set by the mobile communication protocol and the lan communication protocol are necessarily different, and thus the electronic device receives the returned signals from the mobile cellular network and the lan alternately.
Therefore, the embodiment of the present application is described for the purpose of describing, when a wireless signal is transmitted to a mobile cellular network based on a first frequency band, receiving a signal returned from the mobile cellular network according to the frequency band at a set information receiving timing, or transmitting information to the mobile cellular network at a set information transmitting timing, and similarly, when a wireless signal is transmitted to a local area network based on a second frequency band, the same procedure is adopted.
As can be seen from the above, when the time for receiving the signal returned from the mobile cellular network is different from the time for receiving the signal returned from the local area network, two signal storage spaces may be provided in the electronic device to store the signals, one for buffering the first signal returned from the mobile cellular network and the other for buffering the second signal returned from the local area network. Because the signal processing mode of the processor of the electronic equipment is based on time slice rotation, when the signal processing node is switched to process the first signal, the first signal is analyzed by a mobile communication protocol to obtain mobile communication data, and when the node is switched to process the second signal, the second signal is analyzed by a local area network communication protocol to obtain local area network data.
The division of the storage space may be based on the same register/memory, or based on different registers/memories, which are not limited herein.
It should be further noted that, in this embodiment, the mobile cellular network and the lan are both networked with the electronic device by using a TCP/IP transmission protocol, i.e. a transmission control/network protocol, which is also called a network communication protocol. Since the communication protocols of the mobile cellular network and the lan are the same, the resolution of the signals of the lan can be referred to as the resolution of the signals of the mobile communication, and since the resolution of the signals of the mobile communication is a conventional implementation, the details of the above are not described here, and only that the first signal and the second signal are received in a time-sharing manner and processed in a time-sharing manner is needed.
In some embodiments, after transmitting the wireless signal alternately based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network, the method further comprises:
receiving a frequency modulation instruction;
and regenerating a new wireless signal according to the target frequency indicated by the frequency modulation instruction, and connecting the mobile cellular network and the local area network by the new wireless signal.
When the target frequency indicates the first frequency, wireless signals are alternately sent according to the target frequency and the second frequency so as to connect the mobile cellular network and the local area network; when the target frequency indicates the second frequency, alternately transmitting wireless signals according to the target frequency and the first frequency so as to connect the mobile cellular network and the local area network; and when the target frequency indicates that the second frequency is closed, transmitting a wireless signal at the target frequency to connect to the mobile cellular network; and when the target frequency indicates that the first frequency is turned off, transmitting a wireless signal at the target frequency to connect to the local area network.
For example, when a user selects to use a certain networking mode, for example, a 4G network is used in the interface of the electronic device, the wireless signal transmitted by the mobile communication module needs to be switched from the first frequency to the frequency supporting the 4G network, and the wireless signal is alternately transmitted at the 4G frequency and the second frequency to connect the mobile cellular network and the local area network; for another example, when the user closes the traffic and only needs to enable wifi, the wireless signal transmitted by the mobile communication module needs to be switched to a wireless signal only supporting wifi connection, that is, only needs to transmit the wireless signal based on the second frequency to connect to the local area network.
It can be seen from the above that, the networking method provided by the embodiment of the present application can send the wireless signal with the first frequency supported by the mobile cellular network by time division and frequency division, and send the wireless signal with the second frequency supported by the local area network, so that the wifi function can be compatible by using only one mobile communication module, and further, the first signal returned from the mobile cellular network and the second signal returned from the local area network are received by time division and frequency division, and the first signal and the second signal are processed in a time division manner, thereby improving the performance of the mobile communication module and saving the production cost.
In one embodiment, a mobile communication module 200 is also provided. Fig. 3 is a schematic structural diagram of a mobile communication module 200 according to an embodiment of the application. The mobile communication module 200 comprises a processor 201 having one or more processing cores, a memory 202 having one or more computer readable storage media and a computer program stored on the memory 202 and executable on the processor 201, and an integrated circuit for mobile communication functions, based on which the processor 201 can be implemented when running, enabling mobile communication functions. The processor 201 is electrically connected to the memory 202. It will be appreciated by those skilled in the art that the mobile communication module structure shown in the drawings does not constitute a limitation of the mobile communication module and may include more or less components than those shown, or may combine certain components, or may have a different arrangement of components.
The processor 201 is a control center of the mobile communication module 200, connects various parts of the entire mobile communication module 200 using various interfaces and lines, and performs various functions of the mobile communication module 200 and processes data by running or loading software programs and/or modules stored in the memory 202 and calling data stored in the memory 202, thereby performing overall monitoring of the mobile communication module 200.
In the embodiment of the present application, the processor 201 in the mobile communication module 200 loads the instructions corresponding to the processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 executes the application programs stored in the memory 202, so as to implement various functions:
when the mobile cellular network is in a connection state, sending a local area network detection signal;
when a connectable local area network is scanned based on a local area network detection signal, establishing a communication protocol between the local area network and the local area network;
determining a first frequency band corresponding to a mobile cellular network and a second frequency band corresponding to a communication protocol;
wireless signals are transmitted alternately based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network.
In some embodiments, transmitting wireless signals alternately based on the first frequency band and the second frequency band to connect a mobile cellular network and a local area network includes:
selecting a first frequency from a first frequency band;
selecting a second frequency from the second frequency band;
wireless signals are transmitted alternately based on the first frequency and the second frequency to connect the mobile cellular network and the local area network.
In some embodiments, transmitting wireless signals alternately based on a first frequency and a second frequency to connect a mobile cellular network and a local area network includes:
determining a highest frequency of connection to the mobile cellular network;
calculating a sum of frequencies of the first frequency and the second frequency;
if the sum of the frequencies is not greater than the highest frequency, a wireless signal is alternately transmitted based on the first frequency and the second frequency to connect the mobile cellular network and the local area network.
In some embodiments, after calculating the sum of the frequencies of the first frequency and the second frequency, further comprising:
if the sum of the frequencies is greater than the highest frequency, reducing the first frequency to the third frequency;
wireless signals are transmitted alternately based on the second frequency and the third frequency to connect the mobile cellular network and the local area network.
In some embodiments, before transmitting the wireless signal based on the first frequency and the second frequency alternately to connect the mobile cellular network and the local area network, further comprising:
the amplitude of the second frequency is reduced.
In some embodiments, after transmitting the wireless signal based on the first frequency band and the second frequency band alternately to connect the mobile cellular network and the local area network, further comprising:
when the mobile cellular network is connected based on the first frequency band, receiving a first signal returned from the mobile cellular network according to a signal receiving time set by a mobile communication protocol;
when the time slice rotates to point to the processing process of the first signal, the first signal is analyzed based on a mobile communication protocol, and mobile communication data are obtained;
when the local area network is connected based on the second frequency band, receiving a second signal returned from the local area network according to the signal receiving time set by the local area network communication protocol;
and when the time slice rotation points to the processing process of the second signal, analyzing the second signal based on the local area network communication protocol to obtain local area network data.
In some embodiments, after transmitting the wireless signal based on the first frequency band and the second frequency band alternately to connect the mobile cellular network and the local area network, further comprising:
receiving a frequency modulation instruction;
and regenerating a new wireless signal according to the target frequency indicated by the frequency modulation instruction, and connecting the mobile cellular network and the local area network by the new wireless signal.
It should be noted that, the mobile communication module 200 provided in the embodiment of the present application belongs to the same concept as the networking method in the above embodiment, and any method provided in the networking method embodiment may be implemented by the mobile communication module 200, and detailed implementation processes of the method embodiment are shown in the networking method embodiment and will not be repeated herein.
As can be seen from the above, the mobile communication module 200 according to the embodiment of the present application can divide the frequency by time to send the wireless signal at the first frequency supported by the mobile cellular network and send the wireless signal at the second frequency supported by the local area network, so that the wifi function can be compatible by using only one mobile communication module 200.
The embodiment of the application also provides electronic equipment which can be equipment provided with a mobile communication module, such as a smart phone, a tablet personal computer, a palm computer, a smart watch and the like. As shown in fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, in which the mobile communication module 200 provided in the above embodiment is disposed in the electronic device 300, and the mobile communication module 200 is electrically connected to a circuit board of the electronic device 300, so as to implement the following functions:
when the mobile cellular network is in a connection state, sending a local area network detection signal;
when a connectable local area network is scanned based on a local area network detection signal, establishing a communication protocol between the local area network and the local area network;
determining a first frequency band corresponding to a mobile cellular network and a second frequency band corresponding to a communication protocol;
wireless signals are transmitted alternately based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the above, the electronic device provided in this embodiment can divide the frequency by time to send the wireless signal at the first frequency supported by the mobile cellular network and send the wireless signal at the second frequency supported by the local area network, so that the wifi function can be compatible only by using one mobile communication module, and further, receive the first signal returned from the mobile cellular network and the second signal returned from the local area network in a manner of dividing the frequency by time and receiving the first signal and the second signal by time, and process the first signal and the second signal by time, thereby improving the performance of the mobile communication module and saving the production cost.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium, and those skilled in the art will understand that all or part of the steps in implementing the method of the above embodiment may be implemented by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, where the program when executed includes the following steps:
when the mobile cellular network is in a connection state, sending a local area network detection signal;
when a connectable local area network is scanned based on a local area network detection signal, establishing a communication protocol between the local area network and the local area network;
determining a first frequency band corresponding to a mobile cellular network and a second frequency band corresponding to a communication protocol;
wireless signals are transmitted alternately based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The storage medium may be ROM/RAM, magnetic disk, optical disk, etc. The steps of any networking method provided by the embodiment of the present application can be executed by the computer program stored in the storage medium, so that the beneficial effects of any networking method provided by the embodiment of the present application can be achieved, and detailed descriptions of the foregoing embodiments are omitted.
The networking method, the mobile communication module, the medium and the electronic equipment provided by the embodiment of the application are described in detail, and specific examples are applied to the principle and implementation of the application, so that the description of the above embodiments is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present application, the present description should not be construed as limiting the present application in summary.

Claims (7)

1. A networking method, the method comprising:
when the mobile cellular network is in a connection state, sending a local area network detection signal;
when a connectable local area network is scanned based on the local area network detection signal, establishing a communication protocol with the local area network;
determining a first frequency band corresponding to the mobile cellular network and a second frequency band corresponding to the communication protocol;
alternately transmitting wireless signals based on the first frequency band and the second frequency band to connect the mobile cellular network and the local area network;
said alternately transmitting wireless signals based on said first frequency band and said second frequency band to connect said mobile cellular network and said local area network, comprising:
selecting a first frequency from the first frequency band and a second frequency from the second frequency band; the method comprises the steps of,
transmitting a wireless signal alternately based on the first frequency and the second frequency to connect the mobile cellular network and the local area network;
said alternately transmitting wireless signals based on said first frequency and said second frequency to connect said mobile cellular network and said local area network, comprising:
determining a highest frequency of connection to the mobile cellular network;
calculating a sum of frequencies of the first frequency and the second frequency;
and if the sum of the frequencies is not greater than the highest frequency, transmitting a wireless signal based on the first frequency and the second frequency alternately to connect the mobile cellular network and the local area network.
2. The method of claim 1, wherein after the calculating the sum of the frequencies of the first frequency and the second frequency, further comprising:
if the sum of the frequencies is greater than the highest frequency, reducing the first frequency to a third frequency;
a wireless signal is transmitted alternately based on the second frequency and the third frequency to connect the mobile cellular network and the local area network.
3. The method of claim 1, wherein before said alternately transmitting wireless signals based on said first frequency and said second frequency to connect said mobile cellular network and said local area network, said method further comprises:
reducing the amplitude of the second frequency.
4. A method according to any one of claims 1 to 3, wherein said alternately transmitting wireless signals based on said first frequency band and said second frequency band, after connecting said mobile cellular network and said local area network, further comprises:
when the mobile cellular network is connected based on the first frequency band, receiving a first signal returned from the mobile cellular network according to a signal receiving time set by a mobile communication protocol;
when the time slice rotates to point to the processing process of the first signal, analyzing the first signal based on the mobile communication protocol to obtain mobile communication data;
when the local area network is connected based on the second frequency band, receiving a second signal returned from the local area network according to the signal receiving time set by a local area network communication protocol;
and when the time slice rotates to point to the processing process of the second signal, analyzing the second signal based on the local area network communication protocol to obtain local area network data.
5. A method according to any one of claims 1 to 3, wherein said alternately transmitting wireless signals based on said first frequency band and said second frequency band, after connecting said mobile cellular network and said local area network, further comprises:
receiving a frequency modulation instruction;
and regenerating a new wireless signal according to the target frequency indicated by the frequency modulation instruction, and connecting the mobile cellular network and the local area network by the new wireless signal.
6. A computer readable storage medium having stored thereon a computer program, which when run on a computer causes the computer to perform the networking method of any of claims 1 to 5.
7. An electronic device, wherein a mobile communication module for performing the networking method according to any one of claims 1 to 5 is provided in the electronic device.
CN202210006611.1A 2022-01-05 2022-01-05 Networking method, mobile communication module, storage medium and electronic equipment Active CN114423068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210006611.1A CN114423068B (en) 2022-01-05 2022-01-05 Networking method, mobile communication module, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210006611.1A CN114423068B (en) 2022-01-05 2022-01-05 Networking method, mobile communication module, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114423068A CN114423068A (en) 2022-04-29
CN114423068B true CN114423068B (en) 2023-12-05

Family

ID=81271459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210006611.1A Active CN114423068B (en) 2022-01-05 2022-01-05 Networking method, mobile communication module, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114423068B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008131622A1 (en) * 2007-04-30 2008-11-06 Huawei Technologies Co., Ltd. Method for realizing service continuity in mobile lan
CN102257855A (en) * 2009-10-06 2011-11-23 莫塞德技术公司 System and method providing interoperability between cellular and other wireless systems
CN105052218A (en) * 2013-10-31 2015-11-11 华为技术有限公司 Power control method, user equipment, and base station
CN105142234A (en) * 2015-08-12 2015-12-09 Tcl集团股份有限公司 Network connection method and network connection system of intelligent terminal
CN105430687A (en) * 2014-09-02 2016-03-23 中国电信股份有限公司 Method for realizing communication between cellular network and wireless local area network, equipment and system thereof
CN105978580A (en) * 2016-05-04 2016-09-28 惠州Tcl移动通信有限公司 Mobile terminal, communication method thereof and communication system
CN107249207A (en) * 2017-05-05 2017-10-13 上海斐讯数据通信技术有限公司 Management method, management system and the radio reception device of any wireless network services
CN108174393A (en) * 2017-12-25 2018-06-15 广东欧珀移动通信有限公司 Communication means, electronic device and computer readable storage medium
CN109819458A (en) * 2019-02-19 2019-05-28 维沃移动通信有限公司 A kind of method for connecting network, terminal device and computer readable storage medium
CN113708858A (en) * 2021-08-30 2021-11-26 展讯通信(上海)有限公司 Signal processing method and wireless network access equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8050656B2 (en) * 2005-01-04 2011-11-01 Motorola Mobility, Inc. Wireless communication device and method for making a secure transfer of a communication connection
US20120158520A1 (en) * 2010-12-16 2012-06-21 Qualcomm Incorporated Context aware advertisement delivery
WO2014044312A1 (en) * 2012-09-20 2014-03-27 Huawei Technologies Co., Ltd. Receiver and method for accessing an access point of a wireless local area network
US20140357268A1 (en) * 2013-06-03 2014-12-04 Qualcomm Incorporated Method and apparatus for efficient radio access technology frequency scanning based on false alarms
CN104244354A (en) * 2013-06-09 2014-12-24 中兴通讯股份有限公司 Method and device for reducing coexistence equipment mutual interference of networks of adjacent frequency bands

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008131622A1 (en) * 2007-04-30 2008-11-06 Huawei Technologies Co., Ltd. Method for realizing service continuity in mobile lan
CN102257855A (en) * 2009-10-06 2011-11-23 莫塞德技术公司 System and method providing interoperability between cellular and other wireless systems
CN105052218A (en) * 2013-10-31 2015-11-11 华为技术有限公司 Power control method, user equipment, and base station
CN105430687A (en) * 2014-09-02 2016-03-23 中国电信股份有限公司 Method for realizing communication between cellular network and wireless local area network, equipment and system thereof
CN105142234A (en) * 2015-08-12 2015-12-09 Tcl集团股份有限公司 Network connection method and network connection system of intelligent terminal
CN105978580A (en) * 2016-05-04 2016-09-28 惠州Tcl移动通信有限公司 Mobile terminal, communication method thereof and communication system
CN107249207A (en) * 2017-05-05 2017-10-13 上海斐讯数据通信技术有限公司 Management method, management system and the radio reception device of any wireless network services
CN108174393A (en) * 2017-12-25 2018-06-15 广东欧珀移动通信有限公司 Communication means, electronic device and computer readable storage medium
CN109819458A (en) * 2019-02-19 2019-05-28 维沃移动通信有限公司 A kind of method for connecting network, terminal device and computer readable storage medium
CN113708858A (en) * 2021-08-30 2021-11-26 展讯通信(上海)有限公司 Signal processing method and wireless network access equipment

Also Published As

Publication number Publication date
CN114423068A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
US8160589B2 (en) Base station equipment
US8611933B2 (en) Methods and systems for idle operation in multi-mode mobile stations
CN110831134A (en) Energy-saving method of base station and base station
EP3648514A1 (en) Apparatus, system, and method for mobile station power saving
KR102415868B1 (en) Signal transmission method, network device and terminal device
CN106230492B (en) Terminal antenna switching method and device and mobile terminal
TW201330561A (en) Controlled idle mode behavior in user equipment supporting multiple radio access techniques
JP2021533628A (en) How to transmit signals, terminal equipment and network equipment
CN109246823B (en) Dual-system dual-connection method, device, storage medium, base station and terminal
CN112867069B (en) Interference processing method and device, storage medium and electronic equipment
EP4336744A1 (en) Electronic device, and method for reducing current consumption in electronic device connected to communication network
CN107959954B (en) Wireless communication method and terminal equipment
CN112911727A (en) Wireless communication method, client front-end equipment, user equipment and network side equipment
CN110073716A (en) Method for transmitting signals, terminal device and the network equipment for discontinuous reception
EP4024915A1 (en) Base station handover method and apparatus
WO2023185755A1 (en) Random access method, device, and storage medium
CN114423068B (en) Networking method, mobile communication module, storage medium and electronic equipment
CN112351461B (en) WiFi network switching method, wiFi network switching device, terminal and storage medium
CN113412649A (en) Method for monitoring control channel, terminal equipment and network equipment
EP2761953B1 (en) Apparatus, method and program product for allocating mimo resources in sleep mode
CN115314173A (en) Resource pool configuration method, device, terminal and network side equipment
CN113573420A (en) Carrier selection method, device, terminal and storage medium
CN109565739B (en) Signal measurement method, device, terminal and system
JP2006166081A (en) Mobile communication system and communication control method
JP2006246334A (en) Transmission power control method, and control apparatus and base station system utilizing the same

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