Communication terminal multi-card single standby implementation method, communication terminal and power collection device
By acquiring and calculating the signal quality parameters of multiple cards in the electrical acquisition equipment, the best card is automatically selected for communication, which solves the problems of high communication cost and unstable signal quality in the existing technology, achieves flexible and high-quality communication, and Reduces the complexity and cost of multi-card and multi-standby terminals.
Patent Information
- Application Number
- CN201911028891.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-28
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-10-28
AI Technical Summary
The communication cost of existing power collection equipment in multi-card and multi-standby terminals is high and complicated, and it is impossible to effectively select the operator with the best signal quality for communication, resulting in unstable communication quality.
By obtaining the RSRP, RSRQ, and SINR parameters of each card for normalization processing and weighted sum calculation, the card with the best signal quality is automatically selected to connect to the communication module to improve communication quality, and the card is switched when necessary. Maintain optimal signal.
It reduces communication costs, improves the flexibility and stability of communication quality, can choose the best communication network for communication in different environments, and avoids the complexity and high cost of multi-card and multi-standby terminals.
Smart Images

Figure CN110650470B
Abstract
Description
Technical Field
[0001] The present invention relates to communication of electric power collection equipment, and in particular to a method for realizing multi-card single standby of a communication terminal, a communication terminal and an electric power collection equipment. Background Art
[0002] There are three major operators in my country (China Mobile, China Unicom, and China Telecom), and the communication networks of these operators cannot be interconnected. Due to the different network layouts of each operator, the network signal strength of different operators at the same location may be different. Due to changes in the on-site environment, the network signal quality of each operator may also change at different times; therefore, how to choose the operator with the best signal quality for communication is also a demand of users.
[0003] At present, the common communication mode is dual-card dual-standby or triple-card triple-standby, which is convenient to a certain extent. However, in the field of communication of electric data acquisition equipment, there is often little demand for multi-card multi-standby working mode. As long as the information of the electric data acquisition equipment can be received and sent, it can be done. However, it cannot be equipped with only a single card slot or a single operator, and the external communication quality of the electric data acquisition equipment must always be kept at the best. In addition, the existing three-card triple-standby terminal needs to integrate three communication systems, which is self-evidently expensive and costly.
[0004] Patent document with application number 201711212736.5 discloses a communication module of a smart meter and a smart meter, which adopts a method of integrating a main control chip with a communication module for communication, but still cannot solve the above-mentioned problem.
[0005] Therefore, there are deficiencies in this field, and inventors are urgently needed to innovate and invent. Summary of the invention
[0006] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a method for implementing multi-card single-standby in a communication terminal, a communication terminal and an electrical acquisition device, so as to select the communication card with the best signal quality from multiple communication cards for communication, thereby ensuring the communication quality of the system and reducing the communication cost compared with a multi-card multi-standby terminal.
[0007] In order to achieve the above object, the present invention adopts the following technical solutions:
[0008] A method for realizing multi-card single standby in a communication terminal comprises the steps of:
[0009] S1. Obtain RSRP, RSRQ, and SINR parameters of each card respectively, and then normalize the RSRP, RSRQ, and SINR parameters of each card respectively to obtain corresponding normalized values;
[0010] S2. Perform weighted sum calculation on the normalized values of RSRP, RSRQ, and SINR parameters of each card to obtain a sum value;
[0011] S3. Compare the sum of each card, connect the card with the largest sum to the communication module, and match the communication source according to the card type.
[0012] Preferably, in the communication terminal multi-card single standby implementation method, the normalization processing algorithm is:
[0013]
[0014] in, is the normalized value; X is the parameter value, which are RSRP, RSRQ, and SINR parameters respectively; X max is the maximum value in the range of X; min The minimum value in the range of X.
[0015] Preferably, the method for realizing multi-card single standby of a communication terminal, the weighted ratio in step S2 is
[0016]
[0017] Preferably, in the communication terminal multi-card single standby implementation method, the calculation formula of the sum value is:
[0018]
[0019] Among them, R is the sum value; They are the normalized values of RSRP, RSRQ and SINR respectively.
[0020] Preferably, the communication terminal multi-card single standby implementation method further includes the steps of:
[0021] S4. Real-time detection of the sum of the currently connected cards. When it is lower than a predetermined value, execute step S1; otherwise, continue to use the currently connected cards for communication.
[0022] A communication terminal using the method includes a communication module, a card switching switch, a plurality of card slots, and a power supply;
[0023] The card slot is used to load the SIM card and is connected to the card switching switch;
[0024] The power supply is used to supply power to the communication module;
[0025] The card switching switch is used to connect one of the plurality of card slots to the communication module.
[0026] Preferably, in the communication terminal, the card switching switch includes a plurality of switching chips.
[0027] Preferably, in the communication terminal, the communication module is one or both of a 3G module and a 4G module.
[0028] Preferably, in the communication terminal, the communication module comprises a storage unit for storing the value range data of the parameters of the SIM card and the predetermined value data of the sum value.
[0029] An electric collection device, comprising the communication terminal, communication interface, serial port level converter, module enabler, indicator light, USB debugging interface, antenna and base meter;
[0030] The serial port level converter, the module enabler, the indicator light, the USB debugging interface, and the antenna are electrically connected to the communication terminal respectively;
[0031] The serial port level converter and the module enabler are electrically connected to the communication interface respectively;
[0032] The base meter is communicatively connected to the communication interface and electrically connected to a power source in the communication terminal.
[0033] Compared with the prior art, the present invention provides a method for implementing multi-card single-standby in a communication terminal, a communication terminal and an electrical collection device. Using the method provided by the present invention, during the device startup phase, the sum values of multiple cards are automatically compared, and then the card with the best signal quality is selected to connect to the communication module, thereby achieving the purpose of increasing communication quality. Compared with multi-card multi-standby terminals, it has obvious cost advantages; compared with single-card single-standby terminals, it can flexibly select a communication network with better quality for communication, which is a great progress in this field. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a flow chart of the method for realizing multi-card single standby in a communication terminal provided by the present invention;
[0035] Figure 2 is a structural block diagram of embodiment 1 of the communication terminal provided by the present invention;
[0036] Figure 3 It is a structural block diagram of the electric collection device provided by the present invention;
[0037] Figure 4a-4b They are respectively circuit diagrams of two switch chips of the card switching switch in Embodiment 1 provided by the present invention;
[0038] Figure 5a-5c They are respectively circuit diagrams of the three card slots in Example 1 provided by the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0040] Example 1
[0041] Please refer to Figure 1 The present invention provides a method for realizing multi-card single standby of a communication terminal, comprising the steps of:
[0042] S1. Obtain RSRP, RSRQ, and SINR parameters of each card respectively, and then normalize the RSRP, RSRQ, and SINR parameters of each card respectively to obtain corresponding normalized values;
[0043] S2. Perform weighted sum calculation on the normalized values of RSRP, RSRQ, and SINR parameters of each card to obtain a sum value;
[0044] S3. Compare the sum of each card, connect the card with the largest sum to the communication module, and match the communication source according to the card type.
[0045] For further information, please refer to Figure 2 , the present invention also provides a communication terminal using the method, comprising a communication module 11, a card switching switch 12, a plurality of card slots 13, and a power supply 14;
[0046] The card slot 13 is used to load a SIM card, and the card switching switch is connected;
[0047] The power supply 14 is used to supply power to the communication module 11;
[0048] The card switching switch 12 is used to connect one of the plurality of card slots 13 according to the instruction of the communication module 11 and connect to the communication module 11;
[0049] The communication module 11 is used to obtain the RSRP, RSRQ, and SINR parameters of the card and calculate the corresponding normalized values, obtain the sum value according to the normalized values, and determine the maximum sum value among several sum values of several SIM cards, and send an instruction to the card switching switch according to the maximum sum value.
[0050] As a preferred solution, in this embodiment, the communication module 11 is one or both of a 3G module and a 4G module.
[0051] Specifically, please refer to Figures 4-5. In this embodiment, the number of the card slots 13 is preferably 3, namely card slot 1, card slot 2 and card slot 3, which correspond to China Unicom 4G, China Mobile 4G and China Telecom 4G among the three major operators, respectively. Of course, in other implementation situations, it can also be a corresponding 3G network; accordingly, the communication module 11 is a full-network 4G module. In the device startup phase, the card switching switch 12 connects the three card slots 13 to the communication module 11 in turn, and the communication module 11 obtains the RSRP, RSRQ, and SINR parameters of the three cards respectively, and then calculates the corresponding normalized values of the RSRP, RSRQ, and SINR parameters of each card, and then calculates the sum of each card, and then stably connects the card slot with the highest sum. When one of the cards is connected, the other two cards do not work.
[0052] When the communication module 11 includes both a 3G module and a 4G module, the card switching switch 12 is connected to the 3G module and the 4G module respectively. When selecting the card with the best communication quality, the largest one among the 6 groups of sum values (the 3G / 4G sum value of card No. 1, the 3G / 4G sum value of card No. 2, and the 3G / 4G sum value of card No. 3) should be selected to connect the communication.
[0053] As a preferred solution, in this embodiment, the card switching switch includes a plurality of switching chips.
[0054] Please refer to Figure 4. a -4b, the number of card slots 13 in this embodiment is three, so the card switching switch 12 includes two two-choose-one switching chips (model FSA2567), which can realize the three-choose-one switching function, as shown in FIG5 a -5 c The connections are made through locations with the same identity.
[0055] Furthermore, other design schemes are to establish communication connections between several card slots 13 and the communication module 11, and the communication module 11 and the card switching switch 12 are electrically connected. When the card switching switch 12 is connected to the corresponding card slot 13, the card slot 13 will be energized, and then the card slot 13 will communicate with the communication module 11, and the communication module 11 can detect the response parameters and data of this card.
[0056] As a preferred solution, in this embodiment, the communication module 11 includes a storage unit for storing the value range data of the parameters of the SIM card and the preset value data of the sum.
[0057] As a preferred solution, in this embodiment, the RSRP value range is -115 to -85 dBm; the SINR value range is 3 to 25; and the RSRQ value range is -3 to -19.5.
[0058] The algorithm of the normalization process is:
[0059]
[0060] in, is the normalized value; X is the parameter value, which are RSRP, RSRQ, and SINR parameters respectively; X max is the maximum value in the range of X; min It is the minimum value in the value range of X. The value range of the normalized value is [0,1]. When the signal quality of this card is the worst, the normalized value is 0. On the contrary, when the signal quality is the strongest, the normalized value is 1.
[0061] Correspondingly, the formulas for RSRP, RSRQ, and SINR parameters are:
[0062]
[0063]
[0064]
[0065] As a preferred solution, in this embodiment, the weighted ratio in step S2 is:
[0066]
[0067] The calculation formula of the sum is:
[0068]
[0069] Among them, R is the sum value; are the normalized values of RSRP, RSRQ, and SINR parameters respectively. The sum value ranges from [0,10], where it is 0 when the signal quality is the worst and 10 when the signal quality is the best.
[0070] As a preferred solution, in this embodiment, the communication module is also used to determine in real time whether the sum of the currently connected cards is lower than the predetermined value. The method also includes the steps of:
[0071] S4. Real-time detection of the sum of the currently connected cards. When it is lower than a predetermined value, execute step S1; otherwise, continue to use the currently connected cards for communication.
[0072] The predetermined value is 3 to 7. In this embodiment, generally, the preferred value of the predetermined value is 3, 4 or 5, that is, when the communication module detects that the sum of the currently connected cards is less than 3, 4 or 5, the step S1 is executed.
[0073] Specifically, the corresponding relationship between the sum value and the communication signal quality is: the range of R is [0, 10], R∈[0, 3] is poor signal quality; R∈(3, 7] is medium signal quality; R∈(7, 10] is excellent signal quality. During the operation of the device, the communication module obtains the RSRP, RSRQ, and SINR parameters of the currently connected card in real time, and obtains the sum value. If the sum value is less than the predetermined value, the step S1 is re-executed to calculate a new round of card parameters, and the card with the best communication quality is re-determined to connect the communication.
[0074] Example 2
[0075] Please refer to Figure 3 , the present invention also provides an electrical collection device, including the communication terminal, the communication interface 2, the serial port level converter 3, the module enabler 4, the indicator light 5, the USB debugging interface 6, the antenna 7 and the base meter 8;
[0076] The serial port level converter 3, the module enabler 4, the indicator light 5, the USB debugging interface 6, and the antenna 7 are electrically connected to the communication terminal respectively; specifically, the serial port level converter 3, the module enabler 4, the indicator light 5, the USB debugging interface 6, and the antenna 7 are connected to the communication module 11 of the communication terminal respectively;
[0077] The serial port level converter 3 and the module enabler 4 are electrically connected to the communication interface 2 respectively;
[0078] The base meter 8 is communicatively connected to the communication interface 2 and electrically connected to the power supply 14 in the communication terminal.
[0079] Specifically, the communication interface 2 is used to communicate with the base meter 8 via a serial port; the serial port level converter 3 is used to convert the 5V signal output by the base meter 8 into 1.8V and supply it to the communication module 11, and convert the 1.8V signal output by the communication module 11 into 5V and supply it to the base meter 8; the power supply 14 is used to convert the 5V provided by the base meter 8 into 4V and supply it to the communication module 11; the module enabler 4 is used to control the power on and off of the communication module 11; the indicator light 5 is used to indicate information such as power supply, network status, and communication status; the USB debugging interface 6 is used to print the debugging information of the communication module 11, and burn the program, etc.; the communication module 11 in the communication terminal has a modulation and demodulation function. When transmitting data, the data received by the serial port is modulated and converted into a radio frequency signal and transmitted through the antenna 7. When receiving data, the radio frequency signal received by the antenna 7 is demodulated and sent to the base meter 8 through the serial port level converter 3 and the communication interface 2.
[0080] The electrical collection equipment provided by the present invention can still ensure the best communication quality for communication with the server even in extremely unfavorable environments (such as typhoons), where the mobile signal may become very poor but the China Unicom and China Telecom signals are still good, or the China Unicom signal may become very poor but the mobile and China Telecom signals are still good.
[0081] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the protection scope of the claims attached to the present invention.
Claims
1. A method for implementing multi-card single standby in a communication terminal, characterized in that: Includes steps: S1. Obtain RSRP, RSRQ, and SINR parameters of each card respectively, and then normalize the RSRP, RSRQ, and SINR parameters of each card respectively to obtain corresponding normalized values; The algorithm of the normalization process is: in, is the normalized value; X is the parameter value, which are RSRP, RSRQ, and SINR parameters respectively; X max is the maximum value in the range of X; X min is the minimum value in the range of X; S2. Perform weighted sum calculation on the normalized values of RSRP, RSRQ, and SINR parameters of each card to obtain a sum value; The weighted ratio in step S2 is: The calculation formula of the sum is: Among them, R is the sum value; They are the normalized values of RSRP, RSRQ, and SINR respectively; S3, comparing the sum of each card, connecting the card with the largest sum to the communication module, and matching the communication source according to the card type; S4. Real-time detection of the sum of the currently connected cards. When it is lower than a predetermined value, execute step S1; otherwise, continue to use the currently connected cards for communication.
2. A communication terminal using the method of claim 1, characterized in that: It includes a communication module, a card switching switch, several card slots, and a power supply; The card slot is used to load the SIM card and is connected to the card switching switch; The power supply is used to supply power to the communication module; The card switching switch is used to connect one of the plurality of card slots to the communication module.
3. The communication terminal according to claim 2, characterized in that: The card switching switch includes a plurality of switching chips.
4. The communication terminal according to claim 2, characterized in that: The communication module is one or both of a 3G module and a 4G module.
5. The communication terminal according to claim 2, characterized in that: The communication module comprises a storage unit for storing the value range data of the parameters of the SIM card and the predetermined value data of the sum value.
6. An electrical collection device, characterized in that: The device comprises a communication terminal, a communication interface, a serial port level converter, a module enabler, an indicator light, a USB debugging interface, an antenna and a base meter as described in any one of claims 2 to 5; The serial port level converter, the module enabler, the indicator light, the USB debugging interface, and the antenna are electrically connected to the communication terminal respectively; The serial port level converter and the module enabler are electrically connected to the communication interface respectively; The base meter is communicatively connected to the communication interface and electrically connected to a power source in the communication terminal.
