CN113630835B - Equipment connection method, device, equipment and storage medium, and access method and device of Internet of things - Google Patents

Equipment connection method, device, equipment and storage medium, and access method and device of Internet of things Download PDF

Info

Publication number
CN113630835B
CN113630835B CN202010388000.9A CN202010388000A CN113630835B CN 113630835 B CN113630835 B CN 113630835B CN 202010388000 A CN202010388000 A CN 202010388000A CN 113630835 B CN113630835 B CN 113630835B
Authority
CN
China
Prior art keywords
abnormal
network
cell
information
target cell
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
CN202010388000.9A
Other languages
Chinese (zh)
Other versions
CN113630835A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010388000.9A priority Critical patent/CN113630835B/en
Publication of CN113630835A publication Critical patent/CN113630835A/en
Application granted granted Critical
Publication of CN113630835B publication Critical patent/CN113630835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/305Handover due to radio link failure
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/142Network analysis or design using statistical or mathematical methods
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Pure & Applied Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Algebra (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a device connection method, a device, equipment and a storage medium for accessing an Internet of things, so as to improve the network stability under the weak network condition. The method comprises the following steps: determining a target cell according to the cell list and the abnormal statistical information, wherein the abnormal statistical information is used for counting the network abnormal information of the cell; scanning a cell; if the target cell is scanned, connecting the target cell; and if the target cell is not scanned, updating the abnormal statistical information and reselecting the target cell. The method can collect network abnormal data to optimize network selection, select a high-quality target cell for residence, and improve the success rate of cell residence and the stability after networking.

Description

Equipment connection method, device, equipment and storage medium, and access method and device of Internet of things
Technical Field
The present application relates to the field of communications technologies, and in particular, to a device connection method and apparatus, an access method and apparatus for an internet of things, an electronic device, and a storage medium.
Background
The 'cloud pipe end' ecology of the Internet of things platform is mature day by day, and the intelligent upgrading of the traditional manufacturing industry and the rise of large-scale consumption markets promote the acceleration of the Internet of things from shallow tools and products to deepen infrastructure and key elements for remodeling production organization modes.
Cellular internet of things equipment is mainly connected into the internet of things by adopting a cellular communication module (2G/3G/4G/5G) or an LPWAN (Low-Power Wide-Area Network) module, the cellular communication module and the LPWAN module are key links in a link internet of things sensing layer and a Network layer of the cellular internet of things equipment, cellular communication module and LPWAN module manufacturers pay more attention to the connection between the module and a cellular base station or a gateway, and the application data communication perception of the cellular internet of things equipment is lacked. In addition, due to cost considerations when an operator deploys a cellular base station, cellular base station signal coverage may not be particularly comprehensive, resulting in poor network stability performance of cellular internet of things devices in the case of a weak network.
Disclosure of Invention
The embodiment of the application provides an equipment connection method to improve network stability under the weak network condition.
Correspondingly, the embodiment of the application also provides an equipment connecting device, an access method and device of the Internet of things, electronic equipment and a storage medium, so as to ensure the implementation and application of the method.
In order to solve the above problem, an embodiment of the present application discloses an apparatus connection method, which is applied to a cellular internet of things apparatus, and the method includes: determining a target cell according to the cell list and the abnormal statistical information, wherein the abnormal statistical information is used for counting the network abnormal information of the cell; scanning a cell; if the target cell is scanned, connecting the target cell; and if the target cell is not scanned, updating the abnormal statistical information and reselecting the target cell.
The embodiment of the application also discloses an access method of the Internet of things, which comprises the following steps: selecting a target cell according to the abnormal statistical information, and accessing the target cell to a cellular network, wherein the abnormal statistical information is used for counting network abnormal information of the cell; after the cellular network is successfully accessed, connecting the Internet of things server and carrying out communication; and reselecting the target cell and updating the abnormal statistical information aiming at the failure condition in the networking communication process.
The embodiment of the application also discloses an apparatus connecting device, including: the cell selection module is used for determining a target cell according to a cell list and abnormal statistical information, wherein the abnormal statistical information is used for counting network abnormal information of the cell; and reselecting the target cell; the cell scanning module is used for scanning the cell; the resident module is used for connecting the target cell if the target cell is scanned; and the updating module is used for updating the abnormal statistical information if the target cell is not scanned.
The embodiment of the application also discloses an access device of the internet of things, the device includes: the selection module is used for selecting a target cell according to the cell list and the abnormal statistical information, wherein the abnormal statistical information is used for counting the network abnormal information of the cell; a scanning module for scanning a cell of a cellular network; the access module is used for connecting a target cell if the target cell is scanned so as to access the Internet of things through the cellular network; and if the target cell is not scanned, updating the abnormal statistical information and reselecting the target cell.
The embodiment of the application also discloses an electronic device, which comprises: a processor; and a memory having executable code stored thereon that, when executed, causes the processor to perform a method as described in one or more of the embodiments of the application.
Embodiments of the present application also disclose one or more machine-readable media having executable code stored thereon that, when executed, cause a processor to perform a method as described in one or more of the embodiments of the present application.
Compared with the prior art, the embodiment of the application has the following advantages:
in the embodiment of the application, the network abnormal information of the cell can be counted to obtain abnormal statistical information, so that when the cellular internet of things equipment is networked, the target cell is determined according to the cell list and the abnormal statistical information, network abnormal data can be collected to optimize network selection, and a high-quality target cell is selected to reside, so that the cell can be scanned, if the target cell is scanned, the target cell is connected, and if the target cell is not scanned, the abnormal statistical information is updated, the target cell is reselected, and the success rate of cell residence and the stability after networking are improved.
Drawings
Fig. 1 is a schematic diagram of an internet of things architecture based on cellular internet of things technology according to an embodiment of the present application;
FIG. 2 is a flow chart of steps of an embodiment of a device connection method of the present application;
FIG. 3 is a flow chart of steps in another device connection method embodiment of the present application;
FIG. 4 is a flow chart of steps in yet another embodiment of a method for device attachment according to the present application;
fig. 5 is a flowchart illustrating steps of an embodiment of an access method for the internet of things according to the present application;
FIG. 6 is a block diagram of an embodiment of a device connection apparatus of the present application;
FIG. 7 is a block diagram of an alternative embodiment of a device connection apparatus of the present application;
fig. 8 is a block diagram of an embodiment of an access device of the internet of things according to the present application;
fig. 9 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The method and The device can be applied to The field of Internet of Things (IoT), and for The Internet of Things equipment based on The cellular Internet of Things technology (cellular Internet of Things equipment for short), The success rate of equipment networking in The weak network environment can be improved, and The network stability under The weak network condition can be improved.
Referring to an internet of things architecture diagram based on a cellular internet of things technology shown in fig. 1, cellular internet of things equipment can select a target cell according to a cell list and abnormal statistical information, scan the cell in a cellular network, and then reside in the corresponding target cell, so that the cellular network can be connected, the internet is connected through the cellular network, and then the cellular network is connected with an internet of things server, so that communication can be performed based on the internet of things. However, failure may occur in cell access, connection with the internet of things server, and during communication, and in this case, network abnormal information corresponding to the failure may be recorded and the cell may be reconnected. The cellular network may also be referred to as a mobile network, and the signal coverage of each communication base station constituting the network coverage is hexagonal, so that the entire network is named as a single cell, and may include 2G, 3G, 4G, 5G, 6G, and more.
Taking fig. 1 as an example, the cellular internet of things device selects a target cell, for example, a target cell c1, according to the cell list and the abnormal statistical information, then performs cell scanning, and if the target cell c1 is not scanned or the target cell c1 is scanned but the residence fails, may add corresponding network abnormal information to the abnormal statistical information, for example, record the abnormal number of times +1, and reselect the target cell. If the reselected target cell is c4, the residence is successful in the target cell c4, and then the service end of the internet of things is connected and communicates, in the process, if any one of the following failure conditions occurs: the connection of the service end of the Internet of things fails; network read-write abnormity occurs in the communication process with the service end of the Internet of things; when the network data packet exploration operation is abnormal, corresponding network abnormal information can be added into the abnormal statistical information, for example, the abnormal times +1 is recorded, and the target cell is reselected. If the reselected target cell is c3, the residence is successful in the target cell c3, then the internet of things server is connected and communicates, if the connection with the internet of things server is normal and the communication process is normal, the cellular internet of things device can communicate and interact with the internet of things server, and various functions based on the internet of things are realized.
In the connection and communication process of the cellular internet of things equipment and the internet of things server, communication protocols possibly involved include: a Message Queue Telemetry Transport (MQTT) Protocol, a Transport Layer Security (TLS) Protocol, a Dynamic Host Configuration Protocol (DHCP), a Domain Name System (DNS) Protocol, a Transmission Control Protocol (TCP)/User Datagram Protocol (UDP), an Internet Protocol (IP), and the like. Different connection and communication processes relate to different protocols, communication failure between cellular Internet of things equipment and an Internet of things server can be caused due to various reasons in the connection and communication process based on the protocols, the equipment can record the network abnormal information to form network abnormal distribution of each cell in each network, and a high-quality cell is selected to reside according to the cell abnormal distribution counted in real time, so that the problem of weak network of wide area network communication is solved.
In the networking communication process of cell residence, connection with a server, communication and the like, the cellular internet of things equipment can collect and count network abnormal information to obtain corresponding abnormal statistical information, and the abnormal statistical information is used for counting the network abnormal information of the cell. Wherein the network anomaly comprises at least one of: abnormal network injection process, abnormal network establishment, abnormal network reading and writing and abnormal network data packet exploration; the network anomaly information comprises at least one of the following: abnormal information of the network injection process, abnormal information of network establishment, abnormal information of network reading and writing and abnormal information of network data packet searching.
The network injection process abnormity is the abnormity of a cellular module or an LPWAN module of the Internet of things equipment in the network injection process, and the abnormity causes the network injection failure of the module and can not communicate with the network, such as the rejection of the module access by a base station, the failure of the module to search a cell, the overtime of the module network injection and the like; the network establishment exception is an exception which occurs when the internet of things equipment establishes connection with the internet of things server after the network is successfully established, and the exception generally causes network establishment failure of the equipment and the cloud platform and cannot communicate with the server, for example, the equipment cannot communicate with the internet of things server, such as common DNS resolution failure, TLS handshake or authentication failure, equipment identity authentication failure, and the like; the network read-write abnormality is usually that after the device is successfully connected with the service end of the internet of things, read-write errors based on a connection channel are abnormal, and the abnormal occurrence can cause the disconnection and reestablishment of the connection between the device and the service end of the internet of things, possibly resulting in packet loss and communication delay; the network packet retrieval anomaly may also be referred to as a network Ping anomaly, and the Ping operation is used for determining whether the connection between the device and the server is normal or not, because in order to keep the connection between the device and the internet of things server effective, the Ping operation may be executed, and accordingly, the network Ping anomaly may be detected according to the Ping operation, for example, the device may not reply to the internet of things server when the Ping request continuously sent to the server does not arrive at the internet of things server, and the occurrence of the network Ping anomaly may cause disconnection between the cellular physical network device and the internet of things server, and connection needs to be reestablished, which may cause packet loss and communication delay.
Therefore, in the process that the equipment is connected with the cell and communicates with the service end of the Internet of things, the abnormity occurring in the network can be collected and counted, and the abnormal statistical information is obtained, so that the high-quality cell can be conveniently selected to reside, and the weak network problem of wide area network communication is solved.
Referring to fig. 2, a flowchart illustrating steps of an embodiment of a device connection method of the present application is shown.
Step 202, determining a target cell according to the cell list and the abnormal statistical information, wherein the abnormal statistical information is used for counting the network abnormal information of the cell.
The cellular internet of things equipment can collect and count abnormal conditions in a network in the networking communication process, for example, in the processes of scanning and residing in a cell and the processes of connecting and communicating with a cellular internet of things server after residing in the cell, after network abnormality is found, corresponding network abnormality information can be obtained, the network abnormality information of the cell is counted, and the abnormality counting information is stored in the internet of things equipment.
The network injection process of a cellular module or an LPWAN module of the cellular Internet of things equipment is mainly divided into two processes of camping and registering, wherein the camping process is that PLMN (public land Mobile network) selection and Cell (Cell) selection are matched with each other, so that the cellular module or the LPWAN module is successfully camped on a proper Cell of an operator network, and the first step in the network injection process is completed. The registration process is that the module initiates a position registration process to the network after finishing the camping, and the module can normally use the service provided by the network after the process is successful.
Therefore, after the cellular internet of things equipment is powered on, the PLMN can be selected, then the cell list in the PLMN can be read, the stored abnormal statistical information is obtained, and then the target cell is determined according to the cell list and the abnormal statistical information. The selectable cells can be determined based on the cell list, and the abnormal statistical information determines the abnormal network conditions corresponding to the cells, so as to determine the target cell.
In an optional embodiment, the determining the target cell according to the cell list and the abnormal statistical information includes: reading a cell list from a public land mobile network, and acquiring stored abnormal statistical information; determining the priority order of more than one cell according to the abnormal statistical information and the cell list; and selecting the target cells according to the priority order. And reading the cell list from the PLMN, acquiring abnormal statistical information stored in the equipment, and screening the cells by the cell list according to the abnormal statistical information to determine a target cell to be selected. The method includes the steps of firstly screening a part of cells from a cell list based on abnormal statistical information, then sorting more than one screened cell according to cell information of each cell in the cell list, such as cell signal strength, to obtain a priority order, and selecting a target cell according to the priority order, for example, selecting a first-ranked cell as the target cell. In other examples, more than one cell may be first screened from the cell list according to cell information, such as signal strength, and the like, then sorted according to the abnormal statistical information of each cell, the priority order of the cells is determined, and the target cell is selected according to the priority order. Therefore, in a further optional embodiment, said determining more than one priority order according to said anomaly statistics and said cell list comprises at least one of the following steps: selecting more than one cell meeting a first condition from a cell list, and determining the priority order of the more than one cell according to abnormal statistical information; and determining more than one cell meeting the second condition according to the abnormal statistical information, and determining the priority order of the more than one cell according to the cell list. The first condition is a condition screened according to the cell information, such as the signal intensity is higher than an intensity threshold; the second condition is a screening condition of the network abnormal information, such as the frequency is lower than a frequency threshold, or the abnormal weighted value is lower than a weighted threshold, and the second condition can be specifically set according to requirements.
In the process of screening and sorting the cells based on the cell list, the screening is performed based on the cell information in the cell list, such as the signal strength of the cells. In the process of screening and sorting the cells based on the abnormal statistical information, the weighted calculation can be carried out on different types of network abnormal information, and a certain type of network abnormal information can also be designated as target network abnormal information according to requirements, so that screening and sorting are carried out according to the target network abnormal information. The network anomaly information generally includes network anomaly times, such as anomaly times of network injection process anomalies, anomaly times of network establishment anomalies, anomaly times of network read-write anomalies, anomaly times of network data packet exploration anomalies, and the like. Corresponding weights can be set for each type of network anomaly information, so that weighting calculation can be carried out based on the number of times and the weights of each type of network anomaly to obtain corresponding anomaly weighted values, and cells are selected or sorted based on the anomaly weighted values.
In other examples, the target network exception information may be specified as required, for example, based on a failure reason of a last networking communication process, the network exception information corresponding to the reason may be specified as the target network exception information, for example, a failure to scan a target cell or a failure to camp on the target cell may be specified, and the network injection process exception information may be specified as the target network exception information; if the connection of the service end of the Internet of things fails, the abnormal information established by the network can be designated as the abnormal information of the target network; network read-write abnormity occurs in the communication process with the service end of the Internet of things, and the network read-write abnormity information can be designated as target network abnormity information; when the network data packet exploration operation is abnormal, the network data packet exploration abnormal information can be designated as target network abnormal information and the like, so that the target network abnormal information can be designated based on the failure reason, and then the cells are selected or sorted according to the abnormal times in the target network abnormal information. In some examples, a certain network anomaly information may be defaulted as a target network anomaly information, or determined based on specific requirements, which is not limited by the embodiments of the present application.
Therefore, in an alternative embodiment, the screening out more than one cell according to cell information such as signal strength of the cell, and then the determining the priority order of the more than one cell according to the abnormal statistical information may include at least one of the following steps: determining abnormal weighted values respectively corresponding to the more than one cells according to the network abnormal information; determining the priority order of the more than one cell according to the abnormal weighted value; and sequencing the more than one cell according to the target network abnormal information, and determining the priority order of the more than one cell. And then selecting the target cells according to the priority order.
In another optional embodiment, the determining more than one cell meeting the second condition according to the abnormal statistic information includes at least one of the following steps: determining abnormal weighted values respectively corresponding to more than one cell for the cells in the cell list according to the network abnormal information; selecting more than one cell for which the weighted value meets a second condition; and for the cells in the cell list, determining more than one cell of which the target network abnormal information meets a second condition. And sequencing more than one cell according to the cell information of the signal strength, determining a priority order, and then selecting a target cell according to the priority order.
Step 204, scanning the cell.
After the target cell is determined, each cell may be scanned, and whether the target cell can be scanned is determined, wherein an Access stratum (Access stop, AS) may be designated by a non-Access stratum (No Access stop, NAS) to scan the designated target cell.
If the target cell can be scanned, step 206 can be executed; if the target cell is not scanned, step 208 may be performed.
Step 206, connecting the target cell.
If the target cell is scanned, the target cell can be connected. The cell information of the target cell, including cell related information, cell selection information, etc., can be obtained by scanning, so that the channel quality of the cell can be evaluated based on the cell information, and when the cell access criterion is met, the target cell can be resided in the target cell, and if the cell access criterion is not met, the target cell needs to be reselected and resided.
In an optional embodiment, the connecting to the target cell may include: scanning cell information of the target cell; if the cell information meets the residence condition, residing the target cell; and if the cell information does not meet the residence condition, updating the abnormal information of the network injection process of the target cell in the abnormal statistical information, and reselecting the target cell. Scanning the target cell, measuring the target cell to obtain cell information, judging whether a residence condition is met according to the cell information, wherein the residence condition can be set according to an access criterion, if the cell information meets the residence condition, the cellular Internet of things equipment can reside in the target cell, if the cell information does not meet the residence condition, the target cell needs to be reselected, and if the network injection process of the target cell is abnormal, the network injection is overtime, the network abnormal information of the target cell can be updated in the abnormal statistical information, and if the network injection process is abnormal, the number of times of abnormality +1 is included in the network injection process abnormal information.
And step 208, updating the abnormal statistical information and executing the step of reselecting the target cell.
If the target cell is not scanned, the target cell needs to be reselected, and the module fails to search for the cell when the network injection process of the target cell is abnormal, so that the network abnormal information of the target cell can be updated in the abnormal statistical information, for example, the number of times of abnormality in the network injection process is +1 in the abnormal information in the network injection process.
In some other examples, when the cellular internet of things device resides in the target cell, but in the subsequent network connection communication processes such as the network establishment process of the internet of things device and the server, the read-write process of network communication, and the process of network Ping operation, the abnormal statistical information may also be updated when a network abnormality occurs, and the target cell is reselected when the network abnormality reaches a certain threshold.
In an embodiment of a device connection method shown in fig. 3:
step 302, reading the cell list from the PLMN, and obtaining the stored abnormal statistical information.
Step 304, determining the priority order of more than one cell according to the abnormal statistical information and the cell list; and selecting the target cells according to the priority order.
Wherein the determining more than one priority order according to the abnormal statistical information and the cell list comprises at least one of the following steps: selecting more than one cell meeting a first condition from a cell list, and determining the priority order of the more than one cell according to abnormal statistical information; and determining more than one cell meeting the second condition according to the abnormal statistical information, and determining the priority order of the more than one cell according to the cell list.
In an optional embodiment, the determining the priority order of the more than one cell according to the abnormal statistic information includes at least one of the following steps: determining abnormal weighted values respectively corresponding to the more than one cells according to the network abnormal information; determining the priority order of the more than one cell according to the abnormal weighted value; and sequencing the more than one cell according to the target network abnormal information, and determining the priority order of the more than one cell.
In another optional embodiment, the determining more than one cell meeting the second condition according to the abnormal statistic information includes at least one of the following steps: determining abnormal weighted values respectively corresponding to more than one cell for the cells in the cell list according to the network abnormal information; selecting more than one cell for which the weighted value meets a second condition; and for the cells in the cell list, determining more than one cell of which the target network abnormal information meets a second condition.
Step 306, scanning the target cell, and judging whether the target cell is scanned.
If yes, go to step 308; if not, go to step 322.
Step 308, determining whether the cell information of the target cell meets the residence condition.
If yes, go to step 310, otherwise go to step 322.
Step 310, residing in the target cell.
In step 312, it is determined whether the target cell is camped successfully.
If yes, go to step 314; if not, go to step 322.
And step 314, after the target cell is successfully resided, establishing connection with the server.
After the cellular internet of things equipment successfully resides in the cell, the cellular internet of things equipment can normally perform networking communication, so that the cellular internet of things equipment can be connected with the server, for example, a connection request is sent to the server.
In step 316, it is determined whether the connection is successful.
The cellular internet of things equipment is connected with the server side, whether the connection is successful or not can be judged, and if yes, step 318 is executed; if not, go to step 322.
The connection failure between the cellular internet of things device and the server may be caused by DNS resolution failure, TLS handshake or authentication failure, device identity authentication failure, and the like.
Step 318, judging whether the communication process between the cellular internet of things equipment and the server side is normal.
After the cellular internet of things equipment is successfully connected with the server, the cellular internet of things equipment can perform data communication with the server, and whether abnormity occurs is judged in the data communication process, such as network read-write abnormity, such as read-write error abnormity based on a connecting channel.
If so, i.e. the communication process is normal, step 320 can be executed; if not, the communication process between the cellular internet of things device and the server side is abnormal in network reading and writing, and step 322 is executed.
And 320, in the idle state, judging whether the connection state is normal or not through network data packet searching operation.
If so, the network packet probing operation can be executed; if not, step 322 may be performed.
Step 322, updating the abnormal statistical information and reselecting the target cell.
If the target cell is not scanned, updating the abnormal statistical information and reselecting the target cell; the target cell does not meet the residence condition, the abnormal statistical information can be updated, and the target cell is reselected; under the condition that the target cell is unsuccessfully resided, the abnormal statistical information can be updated and the target cell can be reselected; if network read-write abnormality occurs in the communication process with the server, updating the abnormality statistical information and reselecting a target cell; and if the network data packet searching operation is abnormal, updating the abnormal statistical information and reselecting the target cell. Wherein the updating of the anomaly statistical information comprises the number of times of corresponding types of network anomaly information + 1.
In summary, the network anomaly information of the cell is counted to obtain the anomaly statistical information, so that when the cellular internet of things device is networked, the target cell is determined according to the cell list and the anomaly statistical information, network anomaly data can be collected to optimize network selection, and a high-quality target cell is selected to reside, so that the cell can be scanned, if the target cell is scanned, the target cell is connected, if the target cell is not scanned, the anomaly statistical information is updated, and the target cell is reselected, thereby improving the success rate of cell residence and the stability after networking.
In the embodiment of the application, various types of network anomalies can be counted, so that the corresponding types of network anomalies can be counted based on the cell connection process of the cellular internet of things equipment and the communication process after cell residence, and the target cell can be selected more accurately.
Referring to fig. 4, a flowchart illustrating steps of yet another embodiment of a device connection method of the present application is shown.
Step 402, reading the cell list from the PLMN and reading the stored anomaly statistics.
Step 404, determining a priority order of more than one cell according to the abnormal statistical information and the cell list; and selecting the target cells according to the priority order.
Wherein the determining more than one priority order according to the abnormal statistical information and the cell list comprises at least one of the following steps: selecting more than one cell meeting a first condition from a cell list, and determining the priority order of the more than one cell according to abnormal statistical information; and determining more than one cell meeting the second condition according to the abnormal statistical information, and determining the priority order of the more than one cell according to the cell list.
In an optional embodiment, the determining the priority order of the more than one cell according to the abnormal statistical information includes at least one of the following steps: determining abnormal weighted values respectively corresponding to the more than one cells according to the network abnormal information; determining the priority order of the more than one cell according to the abnormal weighted value; and sequencing the more than one cell according to the target network abnormal information, and determining the priority order of the more than one cell.
In another optional embodiment, the determining more than one cell meeting the second condition according to the abnormal statistic information includes at least one of the following steps: determining abnormal weighted values respectively corresponding to more than one cell for the cells in the cell list according to the network abnormal information; selecting more than one cell for which the weighted value meets a second condition; and for the cells in the cell list, determining more than one cell of which the target network abnormal information meets a second condition.
Step 406, scanning the target cell, and determining whether the target cell is scanned.
If yes, go to step 408; if not, go to step 414.
Step 408, determining whether the cell information of the target cell meets the residence condition.
If yes, go to step 410, if no, go to step 414.
Step 410, residing in the target cell.
Step 412, determine whether the target cell is camped successfully.
If yes, go to step 416; if not, go to step 414.
And 414, updating the abnormal information of the network injection process of the target cell in the abnormal statistical information.
And step 416, after the target cell is successfully resided, establishing connection with the server.
After the cellular internet of things equipment successfully resides in the cell, the cellular internet of things equipment can normally perform networking communication, so that the cellular internet of things equipment can be connected with the server, for example, a connection request is sent to the server.
Step 418, determine whether the connection is successful.
The cellular internet of things equipment establishes connection with the server, whether the connection is successful or not can be judged, and if yes, step 422 is executed; if not, go to step 420.
The connection failure between the cellular internet of things device and the server may be caused by DNS resolution failure, TLS handshake or authentication failure, device identity authentication failure, and the like.
Step 420, updating the network establishment abnormal information of the target cell in the abnormal statistical information.
Step 422, judging whether the communication process between the cellular internet of things equipment and the server side is normal.
After the cellular internet of things equipment is successfully connected with the server, the cellular internet of things equipment can be in data communication with the server, and whether abnormity occurs is judged in the data communication process, such as network read-write abnormity, including read-write error abnormity based on a connection channel.
If so, i.e., the communication process is normal, step 428 can be executed; if not, the communication process between the cellular internet of things device and the server side is abnormal in network reading and writing, and step 424 is executed.
Step 424, updating the network read-write abnormal information of the target cell in the abnormal statistical information.
And 426, judging whether the number of times of the network read-write abnormity reaches a first time threshold value.
If yes, go back to step 402 to reselect the target cell; if not, go to step 434.
Network read-write abnormality occurs in the data communication process, network read-write abnormality statistics is updated, and when the network read-write abnormality reaches a certain threshold (a first time threshold), a high-quality cell is selected again according to the updated abnormality statistics; if the first time threshold value is not reached, disconnecting and reestablishing the connection
In step 428, in the idle state, it is determined whether the connection state is normal through a network packet probing operation.
If so, the network packet probing operation can be executed; if not, step 430 may be performed.
Step 430, updating the network data packet exploration exception information of the target cell in the exception statistical information.
Step 432, determining whether the number of abnormal network packet detection times reaches a second time threshold.
If yes, go back to step 402 to reselect the target cell; if not, go to step 434.
And step 434, disconnecting the connection with the server and reestablishing the connection.
When the equipment is idle, starting Ping operation to keep network connection available all the time, updating network Ping abnormity statistics when Ping operation is abnormal, and when the network Ping abnormity reaches a certain threshold (a second time threshold), reselecting a high-quality cell according to the updated abnormity statistics; if the second threshold is not reached, the connection is disconnected and reestablished.
On the basis of the above embodiments, the embodiment of the application further provides an access method of the internet of things, which can count the conditions of various networking devices and record abnormal statistical information in the networking communication process of the cellular internet of things devices, so that a higher-quality cell can be selected when the cellular internet of things devices are accessed to a network, and the networking success rate is improved.
Referring to fig. 5, a flowchart illustrating steps of an embodiment of an access method for an internet of things according to the present application is shown.
Step 502, selecting a target cell according to the abnormal statistical information, and accessing the target cell to the cellular network, wherein the abnormal statistical information is used for counting network abnormal information of the cell.
And step 504, after the cellular network is successfully accessed, connecting the internet of things server and carrying out communication.
Step 506, reselecting the target cell and updating the abnormal statistical information according to the failure condition in the networking communication process.
In the embodiment of the application, the networking communication process refers to a process in which the cellular internet of things equipment is connected with a cellular network, is connected with and communicates with an internet of things server, and resides in the network. In the network connection communication process of the cellular internet of things equipment, connection failure may be caused by various reasons, and corresponding network abnormal information in abnormal statistical information can be recorded, so that auxiliary selection of a target cell is facilitated in the subsequent network connection communication process. Wherein. The failure in the networking communication process comprises at least one of: failure to scan the target cell; the target cell fails to camp; the connection of the service end of the Internet of things fails; network read-write abnormity occurs in the communication process with the service end of the Internet of things; and the network data packet searching operation is abnormal.
The failure of scanning the target cell and the failure of residing the target cell can correspondingly record abnormal information of the network injection process; the abnormal information of the network establishment can be recorded corresponding to the connection failure of the service end of the Internet of things; network read-write abnormity occurs in the communication process with the service end of the Internet of things, and network read-write abnormity information can be correspondingly recorded; and when the network data packet exploration operation is abnormal, the network data packet exploration abnormal information can be correspondingly recorded.
Wherein, selecting the target cell according to the abnormal statistical information and accessing the cellular network comprises: the cell list is read from the PLMN and the stored anomaly statistics are read. Determining the priority order of more than one cell according to the abnormal statistical information and the cell list; and selecting the target cells according to the priority order. Scanning the target cell and judging whether the target cell is scanned or not; if the target cell is scanned, whether the cell information of the target cell meets the residence condition can be judged, and if the cell information of the target cell meets the residence condition, the target cell can be resided and accessed to the cellular network.
The case of failure in the networking communication process includes: if the target cell is not scanned or the target cell is scanned but the camping fails, the abnormality information of the network injection process of the target cell can be updated in the abnormality statistical information, and the target cell is reselected.
Wherein the determining more than one priority order according to the abnormal statistical information and the cell list comprises at least one of the following steps: selecting more than one cell meeting a first condition from a cell list, and determining the priority order of the more than one cell according to abnormal statistical information; and determining more than one cell meeting the second condition according to the abnormal statistical information, and determining the priority order of the more than one cell according to the cell list.
In an optional embodiment, the determining the priority order of the more than one cell according to the abnormal statistic information includes at least one of the following steps: determining abnormal weighted values respectively corresponding to the more than one cells according to the network abnormal information; determining the priority order of the more than one cell according to the abnormal weighted value; and sequencing the more than one cell according to the target network abnormal information, and determining the priority order of the more than one cell.
In another optional embodiment, the determining more than one cell meeting the second condition according to the abnormal statistic information includes at least one of the following steps: determining abnormal weighted values respectively corresponding to more than one cell for the cells in the cell list according to the network abnormal information; selecting more than one cell for which the weighted value meets a second condition; and for the cells in the cell list, determining more than one cell of which the target network abnormal information meets a second condition.
After the cellular network is successfully accessed, connecting the internet of things server and carrying out communication, wherein the communication comprises the following steps: after the target cell is successfully resided, connection is established with a server, whether the connection is successful or not is judged, if the connection is successful, whether the communication process between the cellular Internet of things equipment and the server is normal or not is judged, and if the communication process is normal, communication can be normally carried out. And in the idle state of the cellular Internet of things equipment, whether the connection state is normal or not is judged through network data packet exploration operation, and if the connection state is normal, the connection state is maintained.
The case of failure in the networking communication process includes: if the connection between the cellular Internet of things equipment and the server fails, updating network establishment abnormal information of the target cell in the abnormal statistical information; after the cellular internet of things equipment is successfully connected with the server, the communication process of data communication with the server is abnormal, and the network read-write abnormal information of the target cell can be updated in the abnormal statistical information; in an idle state, judging that the connection state is abnormal through network data packet searching operation; and updating the network data packet exploration abnormal information of the target cell in the abnormal statistical information. In addition, after the connection between the cellular Internet of things equipment and the server fails, the target cell can be selected again; when the number of times of abnormal network reading and writing reaches the first time threshold value, the target cell can be selected again; and after the number of times of the network data packet exploration abnormity reaches the second time threshold value, the target cell can be reselected.
The processes in the embodiments of the present application are similar to those in the embodiments described above, and specific reference may be made to the description of the corresponding parts in the embodiments described above.
Therefore, the problem of the weak network of the wide area network can be effectively solved, the abnormal distribution of the cells can be obtained based on real-time abnormal statistics of data communication of the Internet of things equipment, the high-quality cells are selected according to the abnormal statistical distribution of the cells, the defect of cellular communication is overcome, the weak network performance of the cellular Internet of things equipment is improved, and the operation and maintenance cost of the cellular Internet of things equipment is reduced.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
On the basis of the above embodiments, the present embodiment further provides an apparatus connecting device, which is applied to electronic apparatuses such as a terminal apparatus and a server.
Referring to fig. 6, a block diagram of a device connection apparatus according to an embodiment of the present application is shown, which may specifically include the following modules:
a cell selection module 602, configured to determine a target cell according to a cell list and abnormal statistical information, where the abnormal statistical information is used to count network abnormal information of the cell; and reselecting the target cell.
A cell scanning module 604, configured to scan a cell.
A camping module 606, configured to connect to the target cell if the target cell is scanned.
An updating module 608, configured to update the abnormal statistical information if the target cell is not scanned.
In summary, the network anomaly information of the cell is counted to obtain the anomaly statistical information, so that when the cellular internet of things device is networked, the target cell is determined according to the cell list and the anomaly statistical information, network anomaly data can be collected to optimize network selection, and a high-quality target cell is selected to reside, so that the cell can be scanned, if the target cell is scanned, the target cell is connected, if the target cell is not scanned, the anomaly statistical information is updated, and the target cell is reselected, thereby improving the success rate of cell residence and the stability after networking.
Referring to fig. 7, a block diagram of an alternative embodiment of the device connection apparatus of the present application is shown, which may specifically include the following modules:
a cell selection module 702, configured to determine a target cell according to a cell list and abnormal statistical information, where the abnormal statistical information is used to count network abnormal information of the cell; and reselecting the target cell.
A cell scanning module 704, configured to scan a cell.
A camping module 706, configured to connect to the target cell if the target cell is scanned.
An updating module 708, configured to update the abnormal statistical information if the target cell is not scanned.
A connection module 710, configured to establish a connection with the server after the target cell is camped successfully.
And a communication detection module 712, configured to detect a communication process with the server.
The exploration detection module 714 is configured to detect a connection state through a network packet exploration operation in the idle state.
Wherein the network anomaly comprises at least one of: abnormal network injection process, abnormal network establishment, abnormal network reading and writing and abnormal network data packet exploration; the network anomaly information comprises at least one of the following: abnormal information of the network injection process, abnormal information of network establishment, abnormal information of network reading and writing and abnormal information of network data packet searching. The abnormal statistical information is collected according to a collection point inserted in the network in advance.
The cell selection module 702 is configured to read a cell list and abnormal statistical information; and selecting a target cell from the cell list according to the abnormal statistical information.
The cell selection module 702 is configured to determine priority information of cells in the cell list according to the abnormal statistical information; and selecting the target cell according to the priority information.
The camping module 704 is configured to scan cell information of the target cell; if the cell information meets the residence condition, residing the target cell; if the cell information does not meet the residence condition, triggering an updating module 708 to update the abnormal information of the network injection process of the target cell in the abnormal statistical information; the update module 708 then triggers the cell selection module 702 to reselect the target cell.
After the connection module 710 fails to connect with the server, triggering the updating module 708 to update the network establishment exception information of the target cell in the exception statistical information; the update module 708 then triggers the cell selection module 702 to reselect the target cell.
If the network communication detection module 712 is abnormal in network read-write during the communication with the server, the update module 708 is triggered to update the network read-write abnormal information of the target cell in the abnormal statistical information; the network communication detection module 712 is configured to determine whether the number of times of the network read-write anomaly reaches a first threshold; and when the number of times of the network abnormal reading and writing reaches the first time threshold value, triggering the cell selection module 702 to reselect the target cell.
When the network packet exploration operation of the exploration detection module 714 is abnormal, the exploration detection module 708 is triggered to update the network packet exploration abnormal information of the target cell in the abnormal statistical information; the exploration detection module 714 is used for judging whether the number of times of network data packet exploration abnormity reaches a second time threshold value; and when the number of times of the network data packet abnormal detection reaches the second time threshold value, triggering the cell selection module 702 to reselect the target cell.
On the basis of the above embodiments, the present embodiment further provides an access device for an internet of things, which is applied to electronic devices such as a terminal device and a server.
Referring to fig. 8, a block diagram of an embodiment of an access device of an internet of things according to the present application is shown, and specifically, the access device may include the following modules:
a selecting module 802, configured to select a target cell according to the cell list and the abnormal statistical information, where the abnormal statistical information is used to count network abnormal information of the cell.
A scanning module 804 configured to scan cells of a cellular network.
An access module 806, configured to connect to a target cell if the target cell is scanned, so as to access the internet of things through the cellular network; and if the target cell is not scanned, updating the abnormal statistical information and reselecting the target cell.
Wherein the failure in the networking communication process comprises at least one of: failure to scan the target cell; the target cell fails to camp; the connection of the service end of the Internet of things fails; network read-write abnormity occurs in the communication process with the service end of the Internet of things; and the network data packet searching operation is abnormal.
Therefore, the problem of the weak network of the wide area network can be effectively solved, the abnormal distribution of the cells can be obtained based on real-time abnormal statistics of data communication of the Internet of things equipment, the high-quality cells are selected according to the abnormal statistical distribution of the cells, the defect of cellular communication is overcome, the weak network performance of the cellular Internet of things equipment is improved, and the operation and maintenance cost of the cellular Internet of things equipment is reduced.
The present application further provides a non-transitory, readable storage medium, where one or more modules (programs) are stored, and when the one or more modules are applied to a device, the device may execute instructions (instructions) of method steps in this application.
Embodiments of the present application provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an electronic device to perform the methods as described in one or more of the above embodiments. In the embodiment of the present application, the electronic device includes various types of devices such as a terminal device and a server (cluster).
Embodiments of the present disclosure may be implemented as an apparatus, which may include electronic devices such as a terminal device, a server (cluster), etc., using any suitable hardware, firmware, software, or any combination thereof, to perform a desired configuration. Fig. 9 schematically illustrates an example apparatus 900 that may be used to implement various embodiments described herein.
For one embodiment, fig. 9 illustrates an example apparatus 900 having one or more processors 902, a control module (chipset) 904 coupled to at least one of the processor(s) 902, a memory 906 coupled to the control module 904, a non-volatile memory (NVM)/storage 908 coupled to the control module 904, one or more input/output devices 910 coupled to the control module 904, and a network interface 912 coupled to the control module 904.
The processor 902 may include one or more single-core or multi-core processors, and the processor 902 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the apparatus 900 can be used as a terminal device, a server (cluster), or the like in this embodiment.
In some embodiments, apparatus 900 may include one or more computer-readable media (e.g., memory 906 or NVM/storage 908) having instructions 914 and one or more processors 902 in combination with the one or more computer-readable media and configured to execute instructions 914 to implement modules to perform the actions described in this disclosure.
For one embodiment, control module 904 may include any suitable interface controllers to provide any suitable interface to at least one of the processor(s) 902 and/or any suitable device or component in communication with control module 904.
The control module 904 may include a memory controller module to provide an interface to the memory 906. The memory controller module may be a hardware module, a software module, and/or a firmware module.
The memory 906 may be used, for example, to load and store data and/or instructions 914 for the device 900. For one embodiment, memory 906 may comprise any suitable volatile memory, such as suitable DRAM. In some embodiments, the memory 906 may comprise a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, control module 904 may include one or more input/output controllers to provide an interface to NVM/storage 908 and input/output device(s) 910.
For example, NVM/storage 908 may be used to store data and/or instructions 914. NVM/storage 908 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 908 may include storage resources that are physically part of the device on which apparatus 900 is installed, or it may be accessible by the device and need not be part of the device. For example, NVM/storage 908 may be accessed over a network via input/output device(s) 910.
Input/output device(s) 910 may provide an interface for apparatus 900 to communicate with any other suitable device, input/output devices 910 may include communication components, audio components, sensor components, and so forth. Network interface 912 may provide an interface for device 900 to communicate over one or more networks, and device 900 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as access to a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof.
For one embodiment, at least one of the processor(s) 902 may be packaged together with logic for one or more controller(s) (e.g., memory controller module) of the control module 904. For one embodiment, at least one of the processor(s) 902 may be packaged together with logic for one or more controller(s) of the control module 904 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 902 may be integrated on the same die with logic for one or more controller(s) of the control module 904. For one embodiment, at least one of the processor(s) 902 may be integrated on the same die with logic of one or more controllers of the control module 904 to form a system on a chip (SoC).
In various embodiments, the apparatus 900 may be, but is not limited to being: a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.), among other terminal devices. In various embodiments, apparatus 900 may have more or fewer components and/or different architectures. For example, in some embodiments, device 900 includes one or more cameras, keyboards, Liquid Crystal Display (LCD) screens (including touch screen displays), non-volatile memory ports, multiple antennas, graphics chips, Application Specific Integrated Circuits (ASICs), and speakers.
The detection device can adopt a main control chip as a processor or a control module, sensor data, position information and the like are stored in a memory or an NVM/storage device, a sensor group can be used as an input/output device, and a communication interface can comprise a network interface.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for a device connection method and apparatus, an electronic device and a storage medium, and specific examples are applied herein to illustrate the principles and embodiments of the present application, and the description of the above embodiments is only used to help understand the method and core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (15)

1. A device connection method is applied to cellular Internet of things devices, and comprises the following steps:
determining a target cell according to the cell list and the abnormal statistical information, wherein the abnormal statistical information is used for counting the network abnormal information of the cell;
scanning a cell;
if the target cell is scanned, connecting the target cell;
if the target cell is not scanned, updating the abnormal statistical information and reselecting the target cell;
after the cell is successfully resided, if any one of the following failure conditions occurs in the process of connecting the internet of things server and performing communication: the method comprises the following steps that the connection of an Internet of things server fails, network read-write abnormity occurs in the communication process with the Internet of things server, and the network data packet searching operation is abnormal; adding corresponding network abnormal information in the abnormal statistical information and reselecting a target cell;
the network anomaly comprises at least one of: abnormal network injection process, abnormal network establishment, abnormal network reading and writing and abnormal network data packet exploration; the network anomaly information comprises at least one of the following: abnormal information of the network injection process, abnormal information of network establishment, abnormal information of network reading and writing and abnormal information of network data packet searching.
2. The method of claim 1, wherein determining the target cell according to the cell list and the abnormal statistic information comprises:
reading a cell list from a public land mobile network, and acquiring stored abnormal statistical information;
determining the priority order of more than one cell according to the abnormal statistical information and the cell list;
and selecting the target cells according to the priority order.
3. The method according to claim 2, wherein said determining more than one priority order based on said anomaly statistics and said cell list comprises at least one of:
selecting more than one cell meeting a first condition from a cell list, and determining the priority order of the more than one cell according to abnormal statistical information;
and determining more than one cell meeting the second condition according to the abnormal statistical information, and determining the priority order of the more than one cell according to the cell list.
4. The method according to claim 3, wherein said determining the priority order of said more than one cell based on abnormal statistics comprises at least one of:
determining abnormal weighted values respectively corresponding to the more than one cells according to the network abnormal information; determining the priority order of the more than one cell according to the abnormal weighted value;
and sequencing the more than one cell according to the target network abnormal information, and determining the priority order of the more than one cell.
5. The method of claim 3, wherein the determining more than one cell meeting the second condition based on the abnormal statistics comprises at least one of the following steps:
determining abnormal weighted values respectively corresponding to more than one cell for the cells in the cell list according to the network abnormal information; selecting more than one cell for which the weighted value meets a second condition;
and for the cells in the cell list, determining more than one cell of which the target network abnormal information meets a second condition.
6. The method of claim 1, wherein the connecting to the target cell comprises:
scanning cell information of the target cell;
if the cell information meets the residence condition, residing the target cell;
and if the cell information does not meet the residence condition, updating the abnormal information of the network injection process of the target cell in the abnormal statistical information, and reselecting the target cell.
7. The method of claim 6, further comprising:
and after the target cell is successfully resided, establishing connection with the service end of the Internet of things.
8. The method according to claim 1, wherein the adding corresponding network anomaly information to the anomaly statistics information comprises:
and after the connection with the service end of the Internet of things is failed, updating the network establishment abnormal information of the target cell in the abnormal statistical information, and reselecting the target cell.
9. The method according to claim 7, wherein the adding corresponding network anomaly information to the anomaly statistics information comprises:
if network read-write abnormity occurs in the communication process with the service end of the Internet of things, updating network read-write abnormity information of the target cell in the abnormity statistical information;
and when the times of the network abnormal reading and writing reaches a first time threshold value, reselecting the target cell.
10. The method of claim 7, further comprising:
in an idle state, detecting a connection state through network data packet searching operation;
the adding of the corresponding network abnormal information in the abnormal statistical information comprises:
when the network data packet searching operation is abnormal, updating the network data packet searching abnormal information of the target cell in the abnormal statistical information;
and when the number of times of the network data packet abnormal detection reaches a second time threshold value, reselecting the target cell.
11. An access method of the internet of things, the method comprising:
selecting a target cell according to the abnormal statistical information, and accessing the target cell to a cellular network, wherein the abnormal statistical information is used for counting network abnormal information of the cell;
after the cellular network is successfully accessed, connecting the Internet of things server and carrying out communication; and
reselecting a target cell according to the failure condition in the networking communication process, and updating the abnormal statistical information; wherein the failure in the networking communication process comprises at least one of: failure to scan the target cell; the target cell fails to camp; the connection of the service end of the Internet of things fails; network read-write abnormity occurs in the communication process with the service end of the Internet of things; the network data packet detection operation is abnormal;
the network anomaly comprises at least one of: abnormal network injection process, abnormal network establishment, abnormal network reading and writing and abnormal network data packet exploration; the network anomaly information comprises at least one of the following: abnormal information of the network injection process, abnormal information of network establishment, abnormal information of network reading and writing and abnormal information of network data packet searching.
12. An apparatus connecting device, comprising:
the cell selection module is used for determining a target cell according to a cell list and abnormal statistical information, wherein the abnormal statistical information is used for counting network abnormal information of the cell; and reselecting the target cell;
the cell scanning module is used for scanning the cell;
the resident module is used for connecting the target cell if the target cell is scanned;
the updating module is used for updating the abnormal statistical information if the target cell is not scanned; after the cell is successfully resided, if any one of the following failure conditions occurs in the process of connecting the internet of things server and performing communication: the method comprises the following steps that the connection of an Internet of things server fails, network read-write abnormity occurs in the communication process with the Internet of things server, and network data packet searching operation is abnormal; adding corresponding network abnormal information in the abnormal statistical information and reselecting a target cell;
the network anomaly comprises at least one of: abnormal network injection process, abnormal network establishment, abnormal network reading and writing and abnormal network data packet exploration; the network anomaly information comprises at least one of the following: abnormal information of the network injection process, abnormal information of network establishment, abnormal information of network reading and writing and abnormal information of network data packet searching.
13. An access device for the internet of things, the device comprising:
the selection module is used for selecting a target cell according to abnormal statistical information, wherein the abnormal statistical information is used for counting network abnormal information of the cell;
a scanning module for accessing a cellular network;
the access module is used for connecting the Internet of things server and carrying out communication after the cellular network is successfully accessed; and, for the situation of failure in the communication process of networking, reselect the goal district, and upgrade the said unusual statistical information; wherein the failure in the networking communication process comprises at least one of: failure to scan the target cell; the target cell fails to camp; the connection of the service end of the Internet of things fails; network read-write abnormity occurs in the communication process with the service end of the Internet of things; the network data packet detection operation is abnormal;
the network anomaly comprises at least one of: abnormal network injection process, abnormal network establishment, abnormal network reading and writing and abnormal network data packet exploration; the network anomaly information comprises at least one of the following: abnormal information of the network injection process, abnormal information of network establishment, abnormal information of network reading and writing and abnormal information of network data packet searching.
14. An electronic device, comprising: a processor; and
a memory having executable code stored thereon that, when executed, causes the processor to perform the method of one or more of claims 1-11.
15. One or more machine-readable media having executable code stored thereon that, when executed, causes a processor to perform the method of one or more of claims 1-11.
CN202010388000.9A 2020-05-09 2020-05-09 Equipment connection method, device, equipment and storage medium, and access method and device of Internet of things Active CN113630835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010388000.9A CN113630835B (en) 2020-05-09 2020-05-09 Equipment connection method, device, equipment and storage medium, and access method and device of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010388000.9A CN113630835B (en) 2020-05-09 2020-05-09 Equipment connection method, device, equipment and storage medium, and access method and device of Internet of things

Publications (2)

Publication Number Publication Date
CN113630835A CN113630835A (en) 2021-11-09
CN113630835B true CN113630835B (en) 2022-05-27

Family

ID=78377544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010388000.9A Active CN113630835B (en) 2020-05-09 2020-05-09 Equipment connection method, device, equipment and storage medium, and access method and device of Internet of things

Country Status (1)

Country Link
CN (1) CN113630835B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984711A (en) * 2010-11-16 2011-03-09 中兴通讯股份有限公司 Method for controlling cell reselection and wireless communication terminal
CN103874147A (en) * 2012-12-07 2014-06-18 联芯科技有限公司 Cell selection method and cell selection system for improving success rate of services of wireless communication system
CN109068368A (en) * 2018-07-31 2018-12-21 Oppo广东移动通信有限公司 A kind of district staying method, updates server and storage medium at terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10595214B2 (en) * 2015-08-19 2020-03-17 Qualcomm Incorporated Identifying, avoiding, and/or allowing limited access to sub-optimal cells
CN106658613B (en) * 2015-11-03 2020-04-14 中国移动通信集团公司 Cell reselection method and device
WO2020066890A1 (en) * 2018-09-26 2020-04-02 Nec Corporation Network data analytics function, access and mobility function, and control method for ue analytics assistance for network automation and optimisation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984711A (en) * 2010-11-16 2011-03-09 中兴通讯股份有限公司 Method for controlling cell reselection and wireless communication terminal
CN103874147A (en) * 2012-12-07 2014-06-18 联芯科技有限公司 Cell selection method and cell selection system for improving success rate of services of wireless communication system
CN109068368A (en) * 2018-07-31 2018-12-21 Oppo广东移动通信有限公司 A kind of district staying method, updates server and storage medium at terminal

Also Published As

Publication number Publication date
CN113630835A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
US10609575B2 (en) Method and apparatus for monitoring and adjusting multiple communication services at a venue
JP6273011B2 (en) User equipment (UE), program, and computer-readable recording medium
US9730085B2 (en) Method and apparatus for managing wireless probe devices
US20230148353A1 (en) Battery efficient wireless network connection and registration for a low-power device
CN113613283B (en) Wi-Fi hotspot connection method and terminal
CN106028279B (en) Network registration method and device
WO2009082973A1 (en) Method, apparatus and system for detecting network coverage
US20140307574A1 (en) Communication connection control method and electronic apparatus supporting the same
JP6155516B2 (en) Terminal and processing method after access failure
US20170280334A1 (en) Coverage estimation of wireless cellular networks by user equipment (ue) idle mode measurements
CN114080062A (en) Method, medium and equipment for reselecting relay UE
CN110874315A (en) Test method, test device, electronic equipment and storage medium
CN113645625B (en) Pseudo base station positioning method, pseudo base station positioning device, electronic equipment and readable medium
CN113630835B (en) Equipment connection method, device, equipment and storage medium, and access method and device of Internet of things
US20180199219A1 (en) Apparatus and method for diagnosing anomaly in mobile communication network
CN115004650A (en) Node configuration method, device, distributed system and computer readable medium
CN110865931B (en) Simulation method, simulation device, electronic equipment and storage medium
CN103152801B (en) The method and apparatus being connected is set up with wireless access device
CN110830527A (en) Method and device for data communication between networks and data communication system
CN102457988A (en) Method for displaying wireless fidelity accessing point names and wireless communication device
CN112533233B (en) Wireless network detection method, device and system based on user interaction
DE602004002477D1 (en) TEST SYSTEM AND METHOD FOR A MOBILE RADIO NETWORK
JP6516392B2 (en) User equipment (UE), program, method, and computer readable recording medium
CN108566471B (en) Information processing method, device, mobile terminal and computer readable storage medium
US9961534B2 (en) Program and information processing apparatus

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40063940

Country of ref document: HK