CN111542081B - Communication switching method and device and Internet of things communication module - Google Patents

Communication switching method and device and Internet of things communication module Download PDF

Info

Publication number
CN111542081B
CN111542081B CN202010576980.5A CN202010576980A CN111542081B CN 111542081 B CN111542081 B CN 111542081B CN 202010576980 A CN202010576980 A CN 202010576980A CN 111542081 B CN111542081 B CN 111542081B
Authority
CN
China
Prior art keywords
network
sim card
internet
communication module
things
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
CN202010576980.5A
Other languages
Chinese (zh)
Other versions
CN111542081A (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 Jieruilian Technology Co ltd
Original Assignee
Shenzhen Jieruilian 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 Jieruilian Technology Co ltd filed Critical Shenzhen Jieruilian Technology Co ltd
Priority to CN202010576980.5A priority Critical patent/CN111542081B/en
Publication of CN111542081A publication Critical patent/CN111542081A/en
Application granted granted Critical
Publication of CN111542081B publication Critical patent/CN111542081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

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

Abstract

The embodiment of the invention provides a communication switching method and device and an Internet of things communication module. The method comprises the following steps: connecting a network through a solid SIM card connected with the Internet of things communication module; monitoring the network state of the entity SIM card in real time according to a monitoring strategy; judging whether the network state of the entity SIM card meets the triggering condition of switching the network; and if the network state of the entity SIM card meets the triggering condition of switching the network, connecting the network through a soft SIM card preset in the communication module of the Internet of things. The soft SIM card is preset in the communication module of the Internet of things, and the soft SIM card is started to provide a standby network when needed, so that the connection with a cellular mobile communication network is ensured, the communication is timely and effectively carried out, the reliability of the communication is improved, operation and maintenance personnel are not needed for carrying out field maintenance, and the maintenance cost is reduced.

Description

Communication switching method and device and Internet of things communication module
Technical Field
The invention relates to the technical field of wireless communication, in particular to a communication switching method and device and an internet of things communication module.
Background
With the rapid development of the internet of things technology, the technology plays an important role in various fields such as smart home, remote intelligent meter reading, wireless mobile sales terminals and positioning and tracking. A large amount of Internet of things equipment does not have a human-computer interaction interface, does not have wireless networking capabilities such as WIFI (wireless fidelity), Bluetooth and the like, and needs to realize information interaction by means of a cellular mobile communication network provided by an operator. Currently, the mainstream internet of things communication Module in the market only supports one entity Subscriber Identity Module (SIM) card, and the internet of things device relies on the cellular mobile communication network provided by a single operator to which the entity SIM card belongs for communication.
Due to the complex application scene of the internet of things equipment, the internet of things equipment which is dependent on a single operator to which the entity SIM card belongs to carry out communication often cannot be connected with the cellular mobile communication network due to various reasons, such as that an area where the internet of things equipment is deployed is not covered by the operator network to which the entity SIM card belongs, the entity SIM card fails, the operator network fails, and the like. Therefore, communication cannot be carried out in time, the reliability of communication of the equipment of the Internet of things is reduced, operation and maintenance personnel need to go to the equipment deployment area of the Internet of things for field maintenance, and the maintenance cost is high.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a communication switching method and apparatus, and an internet of things communication module.
According to a first aspect, an embodiment provides a communication switching method applied to an internet of things communication module, including:
connecting a network through a solid SIM card connected with the Internet of things communication module;
monitoring the network state of the entity SIM card in real time according to a monitoring strategy;
judging whether the network state of the entity SIM card meets the triggering condition of switching the network;
and if the network state of the entity SIM card meets the triggering condition of switching the network, connecting the network through a soft SIM card preset in the communication module of the Internet of things.
In one embodiment, before monitoring the network status of the physical SIM card in real time, the method further includes:
receiving a trigger condition of switching a network sent by a service platform;
and determining a monitoring strategy according to the triggering condition.
In one embodiment, the network status of the physical SIM card is measured by at least one of latency, jitter rate, throughput and packet loss rate.
In one embodiment, the soft SIM card that presets in thing networking communication module includes a plurality of seed code numbers, connects the network through the soft SIM card that presets in thing networking communication module, includes:
and selecting one seed code number from a plurality of seed code numbers included in the soft SIM card according to a preset random algorithm, and establishing initial connection with the operator network by using the selected seed code number.
In one embodiment, if the network status of the physical SIM card satisfies a trigger condition for switching networks, the method further includes:
and determining fault reasons triggering network switching, wherein the fault reasons comprise network side faults and entity SIM card faults.
In one embodiment, the soft SIM card that presets in thing networking communication module includes a plurality of seed code numbers, connects the network through the soft SIM card that presets in thing networking communication module, includes:
if the fault reason is a network side fault, selecting a seed code number belonging to different operators with the entity SIM card from a plurality of seed code numbers included in the soft SIM card, and establishing an initialization connection;
and/or the presence of a gas in the gas,
and if the fault reason is the fault of the entity SIM card, selecting one seed code number from a plurality of seed code numbers included in the soft SIM card according to a preset random algorithm and/or the priority of the seed code number, and establishing the initialization connection.
In one embodiment, after connecting a network through a preset soft SIM card in an internet of things communication module, the method further includes:
sending the fault reason to a service platform so that the service platform allocates a service code number to the Internet of things communication module according to the fault reason;
acquiring a service code number distributed to the Internet of things communication module by a service platform;
and receiving and transmitting the service data according to the service code number.
According to a second aspect, an embodiment provides a communication switching apparatus applied to a communication module of the internet of things, including:
the main connection module is used for connecting a network through a solid SIM card connected with the Internet of things communication module;
the monitoring module is used for monitoring the network state of the entity SIM card in real time according to a monitoring strategy;
the judging module is used for judging whether the network state of the entity SIM card meets the triggering condition of switching the network;
and the auxiliary connection module is used for connecting the network through a soft SIM card preset in the communication module of the Internet of things if the network state of the entity SIM card meets the triggering condition of switching the network.
According to a third aspect, an embodiment provides an internet of things communication module, including: at least one processor and memory;
the memory stores a computer program;
the at least one processor executes the memory-stored computer program to cause the at least one processor to perform the communication handover method according to any of the first aspects.
According to a fourth aspect, an embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is configured to implement the communication handover method according to any of the first aspect.
According to the communication switching method and device and the internet of things communication module of the embodiment, the network is connected through the entity SIM card connected with the internet of things communication module; monitoring the network state of the entity SIM card in real time according to a monitoring strategy; judging whether the network state of the entity SIM card meets the triggering condition of switching the network; and if the network state of the entity SIM card meets the triggering condition of switching the network, connecting the network through a soft SIM card preset in the communication module of the Internet of things. The soft SIM card is preset in the communication module of the Internet of things, and is started to provide a standby network when needed, so that the connection with a cellular mobile communication network is ensured, the communication is timely and effectively carried out, the reliability of the communication is improved, operation and maintenance personnel are not needed for carrying out field maintenance, and the maintenance cost is reduced.
Drawings
Fig. 1 is a schematic diagram of an application architecture of a communication handover method according to an embodiment of the present invention;
fig. 2 is a flowchart of a communication handover method according to an embodiment of the present invention;
fig. 3 is a flowchart of a communication handover method according to another embodiment of the present invention;
fig. 4 is a flowchart of another embodiment of a communication handover method provided by the present invention;
fig. 5 is a schematic structural diagram of a communication switching apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an embodiment of the internet of things communication module provided in the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings. Wherein like elements in different embodiments are numbered with like associated elements. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted or replaced with other elements, materials, methods in different instances. In some instances, certain operations related to the present application have not been shown or described in detail in order to avoid obscuring the core of the present application from excessive description, and it is not necessary for those skilled in the art to describe these operations in detail, so that they may be fully understood from the description in the specification and the general knowledge in the art.
Furthermore, the features, operations, or characteristics described in the specification may be combined in any suitable manner to form various embodiments. Also, the various steps or actions in the method descriptions may be transposed or transposed in order, as will be apparent to one of ordinary skill in the art. Thus, the various sequences in the specification and drawings are for the purpose of describing certain embodiments only and are not intended to imply a required sequence unless otherwise indicated where such sequence must be followed.
The numbering of the components as such, e.g., "first", "second", etc., is used herein only to distinguish the objects as described, and does not have any sequential or technical meaning. The term "connected" and "coupled" when used in this application, unless otherwise indicated, includes both direct and indirect connections (couplings).
The seed code number referred to in this application may comprise SIM card data required for establishing an initial connection with the operator cellular mobile communications network, for example may comprise authentication data required for establishing an initial connection, and the specific content and data format may be different for different operators or with different communication protocols, so the application does not limit the specific content and data format of the seed code number. In one particular implementation, the seed number may include, for example: public Land Mobile Network (PLMN), International Mobile Subscriber Identity (IMSI), Integrated Circuit Card Identity (ICCID), authentication Key (KI), and Operator root Key (OP). The service number referred to in this application may include card data required for transceiving service data. After the device establishes an initial connection with the operator cellular mobile communication network, the service code number is generated by the service platform and is issued by a Subscription management Data Preparation Server (SMDP).
Fig. 1 is a schematic view of an application architecture of a communication handover method according to an embodiment of the present invention. The application architecture shown in fig. 1 does not include an operator platform and an internet of things device, and may be implemented by referring to the prior art, which is not limited in this embodiment. As shown in fig. 1, the internet of things communication module provided in this embodiment is preset with a soft SIM card, where the soft SIM card is a virtualized SIM card that realizes a hardware SIM card communication function through computer software, and for example, information of the hardware SIM card may be stored in a soft SIM card file, and the connection with the cellular mobile communication network is realized by running the soft SIM card file. The entity SIM card in this embodiment may be a plug-in SIM card or an embedded SIM card. The Internet of things equipment can obtain the capability of connecting the cellular mobile communication network through the Internet of things communication module and the entity SIM card. If the SIM card is a plug-in SIM card, the card slot can be arranged on the Internet of things equipment or can be directly arranged on the Internet of things communication module; if the SIM card is embedded, the eSIM chip can be embedded into the Internet of things equipment and can also be directly embedded into the Internet of things communication module. No matter which mode, entity SIM all needs with thing networking communication module communication connection. The service platform is used for providing data service for the Internet of things equipment, such as generating a service code number. The SMDP + is used for preparing and distributing the service code number, such as encrypting, storing and safely issuing the service code number.
Fig. 2 is a flowchart of an embodiment of a communication switching method provided in the present invention, which can be applied to an internet of things communication module. As shown in fig. 2, the communication handover method provided in this embodiment may include:
s201, connecting a network through a solid SIM card connected with the Internet of things communication module.
When the internet of things equipment is started or restarted, the main controller of the internet of things equipment controls the internet of things communication module to be connected with the network. The communication module of the internet of things is connected with the network through the entity SIM card connected with the communication module of the internet of things after receiving the control command of the main controller for connecting the network. I.e. when the device is powered on and restarted, the network provided by the physical SIM is preferentially used.
The connection network related in this embodiment includes a process of establishing an initial connection with a mobile communication network of an operator, and after the network is successfully connected, the connection network may be kept in long connection with the service platform, so that the service platform can timely grasp the working state of each piece of internet-of-things equipment.
S202, monitoring the network state of the entity SIM card in real time according to the monitoring strategy.
And the Internet of things communication module monitors the network state of the entity SIM card in real time according to the monitoring strategy. By real-time monitoring, abnormal conditions in the entity SIM network can be found in time. The monitoring strategy in this embodiment may be qualitative monitoring, such as connection success and connection failure; the monitoring may also be quantitative monitoring, for example, real-time monitoring may be performed on indicators such as communication delay, jitter rate, throughput, and packet loss rate. For quantitative monitoring, the network status of the physical SIM card may be measured by at least one of latency, jitter rate, throughput, and packet loss rate. In particular, the monitoring may be realized by a ping command, for example.
S203, judging whether the network state of the entity SIM card meets the triggering condition of switching the network. If yes, executing step S204; otherwise, the network service provided by the entity SIM card continues to be used, and step S202 is executed to continuously monitor the network status of the entity SIM card.
The triggering condition for switching the network can be determined according to the application scene of the internet of things equipment. For the application with sensitive time delay, such as real-time public transport, the triggering condition can be that the time delay is more than or equal to 10 seconds; for the application with sensitive data, such as remote intelligent meter reading service, the triggering condition may be that the packet loss rate is greater than or equal to 10%. When the network state provided by the entity SIM card cannot meet the usage requirements of the internet of things device, for example, network connection fails, communication delay is too long, packet loss rate is too high, and the like, network switching is required.
And S204, connecting a network through a preset soft SIM card in the communication module of the Internet of things.
When the network state of the entity SIM card meets the triggering condition of switching the network, the communication module of the Internet of things starts a standby network provided by a soft SIM card preset in the communication module of the Internet of things, so that the equipment of the Internet of things can timely and effectively communicate.
In the communication switching method provided by this embodiment, a network is connected through a solid SIM card connected to an internet of things communication module; monitoring the network state of the entity SIM card in real time according to a monitoring strategy; judging whether the network state of the entity SIM card meets the triggering condition of switching the network; and if the network state of the entity SIM card meets the triggering condition of switching the network, connecting the network through a soft SIM card preset in the communication module of the Internet of things. The soft SIM card is preset in the communication module of the Internet of things, and is started to provide a standby network when needed, so that the connection with a cellular mobile communication network is ensured, the communication is timely and effectively carried out, the reliability of the communication is improved, operation and maintenance personnel are not needed for carrying out field maintenance, and the maintenance cost is reduced.
The demands of different kinds of internet of things devices on the communication quality of the mobile communication network are different. For the internet of things equipment for realizing real-time public transportation, under the condition that the bus moves rapidly, the acquired position information of the bus needs to be reported to the server through the internet of things communication module, so that the bus taking guidance is performed on a user, the tolerance of the communication delay is low, and the overlong communication delay can greatly reduce the user experience. For the internet of things equipment for realizing remote intelligent meter reading services such as an intelligent electric meter and an intelligent water meter, the internet of things equipment has no high requirement on communication delay, but has a higher requirement on packet loss rate, and after all, the accuracy of data transmission directly concerns the economic benefits of users and manufacturers. If the communication quality is monitored by adopting the same monitoring strategy without distinguishing, the requirements of different application scenes on the communication quality cannot be met.
Therefore, in order to meet the requirement of the internet of things device for the communication quality in different application scenarios, in this embodiment, a user is allowed to set a trigger condition for switching a network for each internet of things communication module through a service platform according to an International Mobile Equipment Identity (IMEI) of the internet of things communication module. For example, for an internet of things device for realizing real-time bus, the triggering condition for switching the network may be set to a communication delay of 10 seconds or more; for the internet of things equipment for realizing remote intelligent meter reading services such as an intelligent electric meter and an intelligent water meter, the triggering condition for switching the network can be set to be that the packet loss rate is more than or equal to 10%. Specifically, before monitoring the network state of the entity SIM card, the Internet of things communication module firstly receives a trigger condition for switching the network sent by the service platform, and then determines a monitoring strategy according to the trigger condition. If the triggering condition is that the communication delay is greater than or equal to 10 seconds, the monitoring strategy can be to obtain the difference value between the sending time and the receiving time of the data packet and judge whether the difference value is greater than or equal to 10 seconds; if the triggering condition is that the packet loss rate is greater than or equal to 10%, the monitoring policy may be to obtain a ratio of the number of lost data packets to all the transmitted data packets, and determine whether the ratio is greater than or equal to 10%. And personalized services are provided for the Internet of things equipment under different application scenes.
According to the method and the device, the soft SIM card is preset in the communication module of the Internet of things, and when the network provided by the entity SIM card cannot meet the application requirement or the entity SIM fails, the soft SIM card is started to provide a standby network. Therefore, the seed code number needs to be written into the soft SIM card. If adopt the mode of seed code number of writing in into one-to-one, 10000 seed code numbers just need to 10000 thing networking communication module, lack one can not. Considering that the probability that a plurality of internet of things communication modules start the soft SIM card at the same time is low, on the basis of any one of the above embodiments, the present embodiment provides a method for sharing the seed code number by the soft SIM card, so as to improve the utilization rate of the seed code number and reduce the cost. In the communication switching method provided in this embodiment, a soft SIM card preset in an internet-of-things communication module includes a plurality of seed code numbers, and if a network state of an entity SIM card satisfies a trigger condition for switching a network, one seed code number is selected from the plurality of seed code numbers included in the soft SIM card according to a preset random algorithm, and an initial connection is established with an operator network using the selected seed code number.
For example, the soft SIM cards of the first N1 communication modules of the internet of things include the same second N2 seed code numbers, and the second number is smaller than the first number, so that (N1-N2) seed code numbers can be saved. It can be understood that the second number is positively correlated with the first number, that is, the more the number of the communication modules of the internet of things is, the more the number of the required seed codes is. In actual use, the deployment environment of the internet of things equipment can be comprehensively considered, and the worse the environment is, the higher the probability of starting the soft SIM card is, and more seed code numbers are needed.
For a soft SIM card including multiple seed numbers, when the soft SIM card is enabled, a seed number needs to be selected from the multiple seed numbers first for establishing an initialization connection. If the soft SIM cards in the two communication modules of the Internet of things select the same seed code number, conflict is generated, and the standby network cannot be started successfully. Therefore, in order to avoid collision and improve the success probability of activating the standby network, in this embodiment, one seed code number may be selected from the plurality of seed code numbers included in the soft SIM card according to a preset random algorithm. For example, if the soft SIM card includes N seed code numbers, which are numbered sequentially from 1 to N, a random number with a value range between [1, N ] may be determined according to a preset random algorithm, and the seed code number of the corresponding number may be selected according to the determined random number. The present embodiment is not particularly limited to the random algorithm, and an existing random algorithm or a random algorithm that will occur in the future may be used.
Fig. 3 is a flowchart of a communication handover method according to another embodiment of the present invention. As shown in fig. 3, the communication handover method provided in this embodiment may include:
s301, connecting a network through a solid SIM card connected with the Internet of things communication module.
S302, receiving a trigger condition for switching the network, which is sent by the service platform.
And S303, determining a monitoring strategy according to the trigger condition.
And S304, monitoring the network state of the entity SIM card in real time according to the monitoring strategy.
S305, judging whether the network state of the entity SIM card meets the triggering condition of switching the network. If yes, executing step S306 to start the standby network; otherwise, continuing to execute step S304 to monitor the network status of the physical SIM card.
S306, selecting one seed code number from the plurality of seed code numbers included in the soft SIM card according to a preset random algorithm, and establishing initialization connection with the operator network by using the selected seed code number.
According to the communication switching method provided by the embodiment, on the basis of providing a standby network through the soft SIM card and improving the communication reliability, the triggering condition of the switching network sent by the service platform is further received, and the monitoring strategy is determined according to the triggering condition, so that different requirements on communication quality under different application scenes can be met, and personalized service is provided for a user; through presetting a plurality of seed code numbers in soft SIM card, realize sharing seed code number in thing networking communication module, improved the utilization ratio of seed code number.
Although when the network state of the entity SIM card meets the triggering condition of switching the network, a standby network is provided by starting the soft SIM card, so that the communication is guaranteed. However, the failure causes of network switching are various, such as loose plug-in solid SIM card, burning out eSIM chip, low throughput, long communication delay, network failure of the operator, and the like, and different measures need to be taken to improve the success rate of starting the standby network for different failure causes. Therefore, in this embodiment, when the network state of the entity SIM card meets the triggering condition for switching the network, the internet of things communication module determines a fault cause for triggering network switching, where the fault cause includes a network side fault and an entity SIM card fault. The handover caused by the operator network is determined as a network side fault, which may include, for example, that the operator network is uncovered, the operator network fault and communication indexes such as time delay, throughput, packet loss rate, jitter rate, and the like do not meet the standard. The switching caused by the physical SIM card is determined as a physical SIM card failure, which may include, for example, card looseness, a SIM card failure, and the like.
After the fault reason for triggering network switching is determined, for the soft SIM card with a plurality of preset seed code numbers, different measures can be taken for different fault reasons, so as to shorten the time for starting the standby network and improve the success rate of starting the standby network. Specifically, if the failure cause is a network side failure, selecting a seed code number belonging to a different operator from a plurality of seed code numbers included in the soft SIM card, and establishing an initialization connection; and/or if the failure reason is the failure of the entity SIM card, selecting one seed code number from a plurality of seed code numbers included by the soft SIM card according to a preset random algorithm and/or the priority of the seed code numbers, and establishing the initialization connection.
For example, the physical SIM card uses a cellular mobile communication network provided by operator a, and when the network of operator a fails, the triggering condition for switching networks is met, and the network needs to be connected through a preset soft SIM card. If the seed code number of the operator a is still selected from the plurality of seed code numbers included in the soft SIM card at this time, the network cannot be successfully connected. The above process of selecting the seed number and establishing the initial connection needs to be repeated. Multiple attempts may be required to successfully enable the standby network, which is time consuming. In this embodiment, if it is determined that the cause of the failure is a network side failure, when the seed code number is selected, the seed code number belonging to the same operator as the current entity SIM card is excluded, so that the time for starting the standby network can be effectively shortened, and the success rate for starting the standby network is improved.
In order to facilitate the service platform to allocate the service code number to the communication module of the internet of things according to the fault reason, in the embodiment, after connecting a network through a soft SIM card preset in the communication module of the internet of things, the communication module of the internet of things further sends the fault reason to the service platform, so that the service platform allocates the service code number to the communication module of the internet of things according to the fault reason; acquiring a service code number distributed to the Internet of things communication module by a service platform; and receiving and transmitting the service data according to the service code number.
After receiving the fault reason sent by the internet of things communication module, the service platform can generate a service code number according to the fault reason and store the generated service code number in the SMDP +. For example, when the failure cause is a network side failure, the service platform allocates service code numbers of other operators to the communication module group of the internet of things to ensure the receiving and sending of service data. The communication module of the internet of things acquires a service Activation Code (AC) from the service platform, and downloads a service Code number from the SMDP + by using the service AC to receive and send service data.
Fig. 4 is a flowchart of another embodiment of the communication switching method provided by the present invention, and is applied to an internet of things communication module. As shown in fig. 4, the communication handover method provided in this embodiment may include:
s401, connecting a network through a solid SIM card connected with the Internet of things communication module.
S402, monitoring the network state of the entity SIM card in real time according to the monitoring strategy.
S403, judging whether the network state of the entity SIM card meets the triggering condition of switching the network. If yes, go to step S404; otherwise, the network service provided by the entity SIM card continues to be used, and step S402 is executed to continuously monitor the network status of the entity SIM card.
S404, determining a fault reason for triggering network switching.
S405, according to the fault reason, selecting one seed code number from the plurality of seed code numbers included in the soft SIM card, and establishing the initialization connection.
S406, sending the failure reason to the service platform.
S407, acquiring a service code number distributed to the Internet of things communication module by the service platform according to the fault reason.
And S408, receiving and sending the service data according to the service code number.
Based on the above embodiments, the communication switching method provided in this embodiment further determines a failure cause triggering network switching, and selects a seed code number and a service code number according to the failure cause, thereby effectively shortening the time for starting the standby network and improving the success rate for starting the standby network.
The embodiment of the invention also provides a communication switching device which can be applied to the communication module of the Internet of things. Referring to fig. 5, the communication switching device 50 provided in this embodiment may include: the system comprises a main connection module 501, a monitoring module 502, a judgment module 503 and an auxiliary connection module 504.
A main connection module 501, configured to connect a network through a physical SIM card connected to the internet of things communication module;
a monitoring module 502, configured to monitor a network state of the entity SIM card in real time according to a monitoring policy;
the determining module 503 is configured to determine whether the network state of the entity SIM card meets a triggering condition for switching a network;
and the secondary connection module 504 is configured to connect a network through a soft SIM card preset in the communication module of the internet of things if the network state of the physical SIM card meets a trigger condition for switching the network.
The present embodiment provides a technical solution that the communication switching device can be used to execute the method embodiment corresponding to fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Optionally, the communication switching apparatus 50 may further include a receiving module and a first determining module (not shown in the figure). The receiving module is used for receiving a triggering condition of switching the network sent by the service platform before monitoring the network state of the entity SIM card in real time; and the first determining module is used for determining the monitoring strategy according to the triggering condition.
Optionally, the network state of the physical SIM card may be measured by at least one of latency, jitter rate, throughput, and packet loss rate.
Optionally, the soft SIM card preset in the communication module of the internet of things includes a plurality of seed code numbers, and the secondary connection module 504 is configured to select one seed code number from the plurality of seed code numbers included in the soft SIM card according to a preset random algorithm, and establish an initialization connection with the operator network using the selected seed code number.
Optionally, the communication switching apparatus 50 may further include a second determining module (not shown in the figure) configured to determine a failure cause for triggering network switching when the network status of the physical SIM card meets a triggering condition for switching the network, where the failure cause includes a network side failure and a physical SIM card failure.
Optionally, the soft SIM card preset in the communication module of the internet of things includes a plurality of seed code numbers, and the secondary connection module 504 is configured to select, if the failure cause is a network side failure, a seed code number belonging to a different operator from the entity SIM card from the plurality of seed code numbers included in the soft SIM card, and establish an initialization connection;
and/or the presence of a gas in the gas,
and if the fault reason is the fault of the entity SIM card, selecting one seed code number from a plurality of seed code numbers included in the soft SIM card according to a preset random algorithm and/or the priority of the seed code number, and establishing the initialization connection.
Optionally, the communication switching device 50 may further include a sending module and a processing module (not shown in the figure). The sending module is used for sending a fault reason to the service platform after connecting a network through a preset soft SIM card in the communication module of the Internet of things, so that the service platform allocates a service code number to the communication module of the Internet of things according to the fault reason; and the processing module is used for acquiring the service code number distributed to the Internet of things communication module by the service platform and receiving and sending service data according to the service code number.
Fig. 6 shows an internet of things communication module, which is only illustrated in fig. 6, and the embodiment of the present invention does not show that the present invention is limited thereto. Fig. 6 is a schematic structural diagram of an embodiment of the internet of things communication module provided in the present invention. As shown in fig. 6, the internet of things communication module 60 provided in this embodiment may include: memory 601, processor 602, and bus 603. The bus 603 is used to realize the connection between the elements.
The memory 601 stores a computer program, and when the computer program is executed by the processor 602, the technical solution of the communication switching method provided by any of the above-mentioned method embodiments can be implemented.
Wherein, the memory 601 and the processor 602 are electrically connected directly or indirectly to realize data transmission or interaction. For example, these elements may be electrically connected to each other via one or more communication buses or signal lines, such as bus 603. The memory 601 stores a computer program for implementing the communication switching method, which includes at least one software functional module that can be stored in the memory 601 in the form of software or firmware, and the processor 602 executes various functional applications and data processing by running the software program and the module stored in the memory 601.
The Memory 601 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 601 is used for storing programs, and the processor 602 executes the programs after receiving the execution instructions. Further, the software programs and modules within the memory 601 may also include an operating system, which may include various software components and/or drivers for managing system tasks (e.g., memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
The processor 602 may be an integrated circuit chip having signal processing capabilities. The Processor 602 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and so on. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. It will be appreciated that the configuration of fig. 6 is merely illustrative and may include more or fewer components than shown in fig. 6 or have a different configuration than shown in fig. 6. The components shown in fig. 6 may be implemented in hardware and/or software.
Through the thing networking communication module that this embodiment provided, can provide reliable communication connection for thing networking equipment.
Those skilled in the art will appreciate that all or part of the functions of the various methods in the above embodiments may be implemented by hardware, or may be implemented by computer programs. When all or part of the functions of the above embodiments are implemented by a computer program, the program may be stored in a computer-readable storage medium, and the storage medium may include: a read only memory, a random access memory, a magnetic disk, an optical disk, a hard disk, etc., and the program is executed by a computer to realize the above functions. For example, the program may be stored in a memory of the device, and when the program in the memory is executed by the processor, all or part of the functions described above may be implemented. In addition, when all or part of the functions in the above embodiments are implemented by a computer program, the program may be stored in a storage medium such as a server, another computer, a magnetic disk, an optical disk, a flash disk, or a removable hard disk, and may be downloaded or copied to a memory of a local device, or may be version-updated in a system of the local device, and when the program in the memory is executed by a processor, all or part of the functions in the above embodiments may be implemented.
The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.

Claims (7)

1. A communication switching method is applied to a communication module of the Internet of things and is characterized by comprising the following steps:
connecting a network through a solid SIM card connected with the Internet of things communication module;
receiving a network switching trigger condition sent by a service platform, wherein the service platform receives the network switching trigger condition set by a user for each Internet of things communication module according to an Internet of things communication module IMEI;
determining a monitoring strategy according to the triggering condition;
monitoring the network state of the entity SIM card in real time according to a monitoring strategy;
judging whether the network state of the entity SIM card meets the triggering condition of switching the network;
if the network state of the entity SIM card meets the triggering condition of switching the network, determining a fault reason for triggering network switching, and connecting the network through a seed code number in a soft SIM card preset in the Internet of things communication module, wherein the fault reason comprises a network side fault and an entity SIM card fault;
sending the fault reason to a service platform so that the service platform allocates a service code number to the Internet of things communication module according to the fault reason;
acquiring a service code number distributed to the Internet of things communication module by the service platform;
and receiving and transmitting the service data according to the service code number.
2. The method of claim 1, wherein the network status of the physical SIM card is measured by at least one of latency, jitter rate, throughput, and packet loss rate.
3. The method according to claim 1 or 2, wherein the soft SIM card preset in the communication module of the internet of things includes a plurality of seed code numbers, and the connecting the network through the seed code number in the soft SIM card preset in the communication module of the internet of things includes:
and selecting one seed code number from the plurality of seed code numbers included in the soft SIM card according to a preset random algorithm, and establishing initial connection with an operator network by using the selected seed code number.
4. The method of claim 1, wherein the soft SIM card preset in the communication module of the internet of things comprises a plurality of seed numbers, and the connecting a network through the seed numbers in the soft SIM card preset in the communication module of the internet of things comprises:
if the fault reason is a network side fault, selecting a seed code number which belongs to different operators with the entity SIM card from a plurality of seed code numbers included in the soft SIM card, and establishing an initialization connection;
and/or the presence of a gas in the gas,
and if the fault reason is the fault of the entity SIM card, selecting one seed code number from the plurality of seed code numbers included in the soft SIM card according to a preset random algorithm and/or the priority of the seed code number, and establishing the initialization connection.
5. The utility model provides a communication auto-change over device, is applied to thing networking communication module, its characterized in that includes:
the main connection module is used for connecting a network through a solid SIM card connected with the Internet of things communication module;
the service platform receives the trigger conditions of the switching network set for each Internet of things communication module by a user according to the IMEI (international mobile equipment identity) of the Internet of things communication module;
the first determining module is used for determining a monitoring strategy according to the triggering condition;
the monitoring module is used for monitoring the network state of the entity SIM card in real time according to a monitoring strategy;
the judging module is used for judging whether the network state of the entity SIM card meets the triggering condition of switching the network;
the auxiliary connection module is used for connecting a network through a soft SIM card preset in the communication module of the Internet of things if the network state of the entity SIM card meets the triggering condition of switching the network;
a second determining module, configured to determine a failure cause for triggering network switching if the network state of the entity SIM card meets a triggering condition for switching a network, where the failure cause includes a network side failure and an entity SIM card failure;
the sending module is used for sending the fault reason to a service platform so that the service platform allocates a service code number to the Internet of things communication module according to the fault reason;
and the processing module is used for acquiring the service code number distributed to the Internet of things communication module by the service platform and receiving and transmitting service data according to the service code number.
6. The utility model provides a thing networking communication module which characterized in that includes: at least one processor and memory;
the memory stores a computer program;
the at least one processor executes the computer program stored by the memory, causing the at least one processor to perform the communication handover method of any of claims 1-4.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out a communication handover method according to any one of claims 1 to 4.
CN202010576980.5A 2020-06-23 2020-06-23 Communication switching method and device and Internet of things communication module Active CN111542081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010576980.5A CN111542081B (en) 2020-06-23 2020-06-23 Communication switching method and device and Internet of things communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010576980.5A CN111542081B (en) 2020-06-23 2020-06-23 Communication switching method and device and Internet of things communication module

Publications (2)

Publication Number Publication Date
CN111542081A CN111542081A (en) 2020-08-14
CN111542081B true CN111542081B (en) 2020-11-10

Family

ID=71978268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010576980.5A Active CN111542081B (en) 2020-06-23 2020-06-23 Communication switching method and device and Internet of things communication module

Country Status (1)

Country Link
CN (1) CN111542081B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935703B (en) * 2020-09-09 2022-08-02 中国联合网络通信集团有限公司 Network connection management method and terminal equipment
CN112333797B (en) * 2020-10-23 2023-04-25 广西电网有限责任公司 System and method for intelligent switching of terminal communication card operators based on eSIM technology
CN112565459B (en) * 2020-12-28 2021-08-24 深圳杰睿联科技有限公司 Internet of things equipment and method for managing profile in eUICC card
CN114175702A (en) * 2021-01-29 2022-03-11 深圳市优克联新技术有限公司 Dynamic switching network card
CN113873598B (en) * 2021-10-15 2024-04-12 迈普通信技术股份有限公司 Network switching method, device, network equipment and storage medium
CN115175167B (en) * 2022-09-05 2023-05-02 北京智芯半导体科技有限公司 Method and device for processing code number abnormality of eSIM card, terminal equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100311402A1 (en) * 2009-06-08 2010-12-09 Prasanna Srinivasan Method and apparatus for performing soft switch of virtual sim service contracts
CN106257952A (en) * 2015-06-16 2016-12-28 西安中兴新软件有限责任公司 A kind of method switching mobile network and mobile terminal
CN105307152B (en) * 2015-11-17 2018-12-28 成都工百利自动化设备有限公司 A kind of multitask SIM/USIM management method and system
CN105682077B (en) * 2015-12-31 2019-08-02 宇龙计算机通信科技(深圳)有限公司 A kind of virtual SIM card switching method and device
CN107306387A (en) * 2016-04-18 2017-10-31 中兴通讯股份有限公司 Method for connecting network and device, terminal, system
CN105916149A (en) * 2016-05-27 2016-08-31 努比亚技术有限公司 Operator network switching method and communication terminal
EP3253172B1 (en) * 2016-06-01 2019-12-11 Intel IP Corporation Device and method for recovering services from network rejections to wireless communication devices

Also Published As

Publication number Publication date
CN111542081A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN111542081B (en) Communication switching method and device and Internet of things communication module
US9363735B2 (en) Device and method for providing simultaneous data transmission service over heterogeneous networks
CN109391498B (en) Management method of network component and network equipment
CN106658756B (en) Method and device for identifying connection between terminal equipment and hotspot
CN108781473B (en) Method and equipment for sharing files among different terminals
US20160088507A1 (en) Method for Detecting Coverage of Target Network, and Apparatus
CN111491036A (en) Internet of things equipment and communication method thereof
CN102083023A (en) Method, system and equipment for restarting remote control equipment
CN111163469A (en) Network distribution method of intelligent household appliance, wireless module and intelligent household appliance
CN105451356B (en) SIM card resource allocation method and device
CN107454659B (en) Terminal identification method, system, terminal equipment and base station
CN112738785B (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN105981416B (en) The method for managing several profiles in safety element
CN113810899A (en) eSIM device configuration system, method, apparatus and storage medium
CN105451301A (en) Wearable device gateway networking method and gateway management platform
WO2021109481A1 (en) Logged minimization of driving test (mdt) configuration and on demand system information (si)
CN113259918A (en) Equipment binding method and system
CN111372224A (en) Method, device and equipment for sharing seed code number by eSIM (embedded subscriber identity Module)
CN111182536A (en) SIM card state detection method, device, network equipment and storage medium
EP3065445A1 (en) Method, cse, and system for transmitting m2m application request
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN108370460B (en) Signaling transmission method and device
CN112469087B (en) Method for adjusting communication rate of air conditioning equipment, terminal and storage medium
CN108712782B (en) Tunnel establishment method and device, electronic equipment and readable storage medium
CN114567912B (en) Method, system, device and storage medium for switching operator network

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