CN112367682A - Terminal, network-resident control method and system thereof, electronic device and storage medium - Google Patents

Terminal, network-resident control method and system thereof, electronic device and storage medium Download PDF

Info

Publication number
CN112367682A
CN112367682A CN202011193433.5A CN202011193433A CN112367682A CN 112367682 A CN112367682 A CN 112367682A CN 202011193433 A CN202011193433 A CN 202011193433A CN 112367682 A CN112367682 A CN 112367682A
Authority
CN
China
Prior art keywords
terminal
network
module
delay
delay time
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.)
Granted
Application number
CN202011193433.5A
Other languages
Chinese (zh)
Other versions
CN112367682B (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.)
Chongqing Simcom Wireless Solutions Co ltd
Original Assignee
Chongqing Simcom Wireless Solutions 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 Chongqing Simcom Wireless Solutions Co ltd filed Critical Chongqing Simcom Wireless Solutions Co ltd
Priority to CN202011193433.5A priority Critical patent/CN112367682B/en
Publication of CN112367682A publication Critical patent/CN112367682A/en
Application granted granted Critical
Publication of CN112367682B publication Critical patent/CN112367682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0072Transmission or use of information for re-establishing the radio link of resource information of target access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0077Transmission or use of information for re-establishing the radio link of access information of target access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention discloses a terminal and a control method and a system for network residence thereof, an electronic device and a storage medium, wherein the control method comprises the following steps: and after the terminal is started, reading the delay time length stored locally, and initiating a network-residing request after the delay time length. The invention aims at the application scene that a large number of wireless terminals initiate the network-residing request in a centralized way, and carries out time sequence control on the network-residing flow according to the distribution position and the historical shutdown state of the module, thereby better avoiding the risk that the wireless terminals request the network-residing in a centralized way in batches to block, and improving the efficiency of the network-residing request.

Description

Terminal, network-resident control method and system thereof, electronic device and storage medium
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a terminal, a method and a system for controlling a network resident of the terminal, an electronic device, and a storage medium.
Background
In a production environment, deployment of wireless modules is usually distributed in a centralized area, once a wireless module in a certain area is subjected to large-scale network loss caused by unexpected conditions such as power failure and the like, a large number of wireless terminals concurrently request a base station to be in a network residence after power supply is recovered, and the base station processes the network residence request according to self resource configuration in the process.
Disclosure of Invention
The invention provides a terminal, a network residing control method and system thereof, electronic equipment and a storage medium, aiming at overcoming the defect that the network residing request of a user terminal is blocked due to overload of base station work under the condition that wireless modules in the same area concurrently request network residing in batch in the prior art.
The invention solves the technical problems through the following technical scheme:
the invention provides a control method for terminal network residence, which comprises the following steps: and after the terminal is started, reading the delay time length stored locally, and initiating a network-residing request after the delay time length.
Preferably, after the terminal successfully camps on the network, the control method further includes: the terminal resets the delay time length, and the delay time length does not exceed the maximum network residence delay allowed by the terminal; and the reset delay time length is used as the delay time length read by the next starting of the terminal.
Preferably, the step of resetting the delay time duration by the terminal includes:
the terminal acquires the total number N of terminals connected with the resident base stationd
The terminal acquires the lead code number M of the resident base stationch
The terminal acquires a network-residing factor PHNetwork residence factor PHFor enabling the terminal to have the maximum network-resident success rate P under the condition that the total number of the terminals and the number of the lead codes are determinedr
Namely, it is
Figure BDA0002753340150000021
When is making PrP with a maximum valueHIs the network residence factor;
the terminal resets the time delay duration to PHT, T is the maximum dwell delay.
Preferably, the terminal network-residing control method is used when the total number of terminals connected to the base station where the terminal resides after the previous network-residing is successful is greater than a preset terminal number threshold.
Preferably, the terminal pushes a check-in message to an MQTT server, and the MQTT server is configured to receive the check-in message pushed by the terminal and check-in messages sent by all other terminals connected to the base station, and forward all the check-in messages to all the terminals;
and the terminal receives all check-in messages forwarded by the MQTT server, and takes the number of the received check-in messages as the total number of the terminal.
Preferably, before the step of resetting the delay time duration by the terminal, the control method further includes:
and the terminal judges whether the physical position where the terminal is located is changed, and if so, the terminal resets the delay time length.
Preferably, the method for determining whether the physical location of the terminal changes includes:
acquiring a coordinate value of the terminal, wherein if the coordinate value exceeds a preset offset threshold, the physical position is changed;
or the like, or, alternatively,
acquiring a cell number where the terminal resides, wherein if the cell number is different from a cell number where the terminal resides last time, the physical position is changed;
or obtaining the coordinate value of the terminal and the cell number where the terminal resides, and if the coordinate value of the terminal exceeds a preset offset threshold value and the cell number where the terminal resides is different from the cell number where the terminal resides last time, changing the physical position.
Preferably, the control method includes: after the terminal is started, reading the identifier stored locally; the identifier is used for indicating whether the terminal needs to delay network residence or not; if the indication result of the identifier is negative, initiating a network residing request; if the indication result of the identifier is yes, the locally stored delay time length is read, and a network residence request is initiated after the delay time length.
Preferably, the control method further includes: and the indication result of the identifier is defaulted to be that when the terminal is normally powered off, the indication result of the identifier is set to be negative.
Preferably, after the step of initiating the network-residing request by the terminal, the control method further includes: and the terminal receives remote manual configuration or local manual configuration of the delay time length.
The invention also provides a control system for terminal network residence, which comprises:
the delay module is used for reading the delay time length of the local storage after the terminal is started;
and the network-residing request module is used for initiating a network-residing request after the delay time duration.
Preferably, the control system further comprises:
the delay resetting module is used for resetting the delay time length of the terminal after the terminal successfully resides in the network, and the delay time length does not exceed the maximum network residence delay allowed by the terminal; and the reset delay time length is used as the delay time length read by the next starting of the terminal.
Preferably, the delay resetting module includes a delay obtaining module, and the delay obtaining module is configured to:
acquiring total number N of terminals connected with resident base stationd
Obtaining the number M of the lead codes of the resident base stationch
Obtaining a network-residing factor PHNetwork residence factor PHFor enabling the terminal to have the maximum network-resident success rate P under the condition that the total number of the terminals and the number of the lead codes are determinedr
Namely, it is
Figure BDA0002753340150000031
When is making PrP with a maximum valueHIs the network residence factor;
the delay duration is reset to PHT, T is the maximum dwell delay.
Preferably, the control system is used when the total number of terminals connected to the base station where the terminal resides after the previous successful network residence is greater than the preset terminal number threshold.
Preferably, the control system further comprises:
the system comprises a sign-in message pushing module, a base station and an MQTT server, wherein the sign-in message pushing module is used for pushing a sign-in message to the MQTT server, and the MQTT server is used for receiving the sign-in message pushed by the terminal and the sign-in messages sent by all other terminals connected with the base station and forwarding all the sign-in messages to all the terminals;
the check-in message receiving module is used for receiving all check-in messages forwarded by the MQTT server;
and the terminal total number acquisition module is used for taking the number of the received check-in messages as the total number of the terminals.
Preferably, the control system further includes a position determination module, where the position determination module is configured to determine whether a physical position of the terminal changes, and if so, the delay resetting module is called.
Preferably, the position determining module includes:
the first position judgment module is used for acquiring a coordinate value of the terminal, and if the coordinate value exceeds a preset offset threshold value, the physical position is changed;
or the like, or, alternatively,
a second position judgment module, configured to obtain a cell number where the terminal resides, and if the cell number is different from a cell number where the terminal resides last time, change the physical position;
or the like, or, alternatively,
and the third position judgment module is used for acquiring the coordinate value of the terminal and the cell number where the terminal resides, and if the coordinate value of the terminal exceeds a preset offset threshold value and the cell number where the terminal resides is different from the cell number where the terminal resides last time, the physical position is changed.
Preferably, the control system further comprises an identifier module, wherein the identifier module is used for reading the locally stored identifier after the terminal is powered on; the identifier is used for indicating whether the terminal needs to delay network residence or not; if the indication result of the identifier is negative, the identifier module controls the terminal to initiate a network residing request; if the indication result of the identifier is yes, the delay module and the network-residing request module are called.
Preferably, the identifier module is further configured to set the indication result of the identifier to no when the terminal is normally powered off, if the indication result of the identifier defaults to yes.
Preferably, the control system further comprises a manual configuration module, and the manual configuration module is configured to receive remote manual configuration or local manual configuration of the delay time duration.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the control method for any terminal to reside in the network.
The present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method for controlling a terminal to camp on a network as described above.
The invention also provides a terminal, which comprises the control system for terminal network residence.
The positive progress effects of the invention are as follows:
the invention aims at the application scene that a large number of wireless terminals initiate the network-residing request in a centralized way, and carries out time sequence control on the network-residing flow according to the distribution position and the historical shutdown state of the module, thereby better avoiding the risk that the wireless terminals request the network-residing in a centralized way in batches to block, and improving the efficiency of the network-residing request.
Drawings
Fig. 1 is a flowchart of a method for controlling network residence of a terminal in embodiment 1 of the present invention.
Fig. 2 is a flowchart of a method for controlling network residence of a terminal in embodiment 2 of the present invention.
Fig. 3 is a flowchart of a method for controlling network residence of a terminal according to embodiment 3 of the present invention.
Fig. 4 is a flowchart of a method for controlling network residence of a terminal according to embodiment 4 of the present invention.
Fig. 5 is a block diagram of a control system for terminal network hosting according to embodiment 6 of the present invention.
Fig. 6 is a block diagram of a control system for terminal network hosting according to embodiment 7 of the present invention.
Fig. 7 is a block diagram of a control system for terminal network hosting according to embodiment 8 of the present invention.
Fig. 8 is a block diagram of a control system for terminal network hosting according to embodiment 9 of the present invention.
Fig. 9 is a block diagram of a control system for terminal network hosting according to embodiment 10 of the present invention.
Fig. 10 is a block diagram of an electronic device according to embodiment 12 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
Referring to fig. 1, the present embodiment provides a method for controlling a terminal to camp on a network, including:
s1, reading a delay time length of local storage after a terminal is started;
and S2, the terminal initiates a network parking request after a delay time.
When a large number of terminals intensively initiate network residence, a peak staggering access is formed by setting a network residence delay time for each terminal; the delay time is generally stored in the memory of each terminal in the form of a configuration file. However, because the network environments of the terminals are different, not every terminal needs to stay in the network in a delayed manner; for example, a single 20MHz (Mega Hertz) base station cell can carry about 300 users, and a delay application stay needs to be started when the number of terminals in the range is close to the threshold and there is a risk of powering on and powering on simultaneously.
As a preferred embodiment, whether to adopt the control method of this embodiment may be determined by balancing the total number of terminals within the range, that is, after the terminal is turned on, it is first determined whether the total number of terminals connected to the base station camped on after the previous successful network camping is greater than the threshold value of the preset number of terminals, and if the determination result is yes, the above steps S1 and S2 are executed, so that it is avoided that when the total number of terminals is small, the network camping is applied for a delay time, and the network camping efficiency of the terminal is reduced.
According to the embodiment, for an application scene that a large number of wireless terminals initiate a network-residing request in a centralized manner, the network-residing flow of the terminals is subjected to time sequence control by reading the delay time, so that the risk that the wireless terminals request network-residing requests in a centralized manner in batches to block is avoided, and the network-residing request efficiency is improved.
Example 2
Referring to fig. 2, this embodiment is a further improvement on the basis of embodiment 1, and the following steps are further added after the terminal successfully camps on the network:
and S3, resetting the time delay duration by the terminal.
Specifically, after the terminal successfully resides in the network, resetting the delay time length according to the acquired real-time network environment, wherein the delay time length does not exceed the maximum network residence delay T allowed by the terminal; and the terminal stores the reset delay time length and reads the reset delay time length as the delay for initiating the network residence when the terminal is started next time.
Wherein, step S3 specifically includes:
the terminal obtains the total number N of terminals connected with the resident base stationd
Terminal obtains lead code number M of resident base stationch(ii) a Number of preambles MchCharacterizing the real-time available channel resources of the base station;
terminal obtaining network-residing factor PHNetwork residence factor PHThe terminal can have the maximum success rate P of network residence under the condition that the total number of the terminals and the number of the lead codes are determinedr
I.e. when satisfying
Figure BDA0002753340150000071
When is making PrP with a maximum valueHAs a network-residing factor;
the terminal resets the time delay duration to PHAnd T, and T is the maximum network residence time delay allowed by the terminal.
As for step S3, the total number of terminals may be obtained by reading the server or the local list, and as a preferred embodiment, the total number of terminals in the area where the terminal is located may also be obtained dynamically by using MQTT (Message Queuing Telemetry Transport). Specifically, after the terminal successfully logs in the network, the terminal subscribes a topic with the name of a block at the position, all terminal modules in the block use the topic, that is, the subscription to the topic is realized, at this time, the terminal and other terminals in the block at the position issue check-in messages to the topic, the check-in messages can include, for example, latitude and longitude information, a unit to which the terminal belongs, terminal use priority and the like, and all issued check-in messages are forwarded through an MQTT server and pushed to all terminals subscribed with the topic; for the embodiment, because the terminal needs to be deployed in the network, the terminal connection condition of the base station at the position, especially the total number of the terminals, is concerned; the terminal pushes the check-in message to the MQTT server, and the MQTT server receives the check-in messages sent by the terminal and all other terminals connected with the base station and forwards all the check-in messages to all the terminals; for the terminal, the number of all the sign-in messages of the theme received from the MQTT server is used as the total number of the terminals around.
In embodiment 1, the total number of terminals connected to the base station camped after the previous successful network camping may also be obtained in the same manner as described above.
According to the embodiment, for an application scene that a large number of wireless terminals initiate a network-residing request in a centralized manner, the network-residing flow of the terminals is subjected to time sequence control by resetting the delay time, so that the risk that the wireless terminals request network-residing requests in a centralized manner in batches to block is avoided, and the network-residing request efficiency is improved.
Example 3
Referring to fig. 3, the present embodiment is a further improvement on embodiment 2, that is, it is determined whether to execute the step S3, i.e., reset the delay time duration of the terminal, based on the physical location of the terminal. The setting position of the terminal directly affects the network environment, such as the adsorbed base station cell, the surrounding channel resources, the signal intensity and the like; if the physical location of the terminal is constant, a stable network environment is also generally maintained. Since resetting the delay time requires occupying a certain system resource and consuming data traffic, it is not always necessary to reset the delay time of the terminal each time when the network environment where the terminal is located is assumed to be stable.
The present embodiment further adds the following steps before step S3:
and S4, after the terminal successfully resides in the network, judging whether the physical position where the terminal is located is changed or not by the terminal, if so, executing S3, and if not, ending the process.
Wherein, S4 specifically includes:
acquiring a coordinate value of the terminal, wherein if the coordinate value exceeds a preset offset threshold, the physical position is changed; the coordinates of the terminal can be acquired by combining a GPS (Global Positioning System) System and an LBS (Location Based Services) System; the detection of the coordinate value can be longitude and latitude root mean square or a designated radius area and the like;
or the like, or, alternatively,
acquiring a cell number where a terminal resides, wherein if the cell number is different from a cell number where the terminal resides last time, the physical position is changed;
or obtaining the coordinate value of the terminal and the cell number where the terminal resides, and if the coordinate value of the terminal exceeds a preset offset threshold value and the cell number where the terminal resides is different from the cell number where the terminal resides last time, changing the physical position.
In the embodiment, for an application scenario in which a large number of wireless terminals collectively initiate a network-residing request, the time delay duration is determined to be acquired and reset by judging the physical positions of the terminals, so that the network-residing flow of the terminals is subjected to time sequence control, the risk of blocking of the wireless terminals requesting network-residing in a batch and centralized manner is avoided, and the efficiency of the network-residing request is improved.
Example 4
Referring to fig. 4, the present embodiment is further improved on the basis of embodiment 1, that is, before a terminal reads a delay network, identifier determination is added, and specifically includes the following steps:
s5, reading the locally stored identifier by the terminal; the identifier is used for indicating whether the terminal needs to delay network residence or not; if the indication result is no, S6 is executed, and if the indication result of the identifier is yes, S1 is executed.
And S6, directly initiating a network residing request. The indication result of the identifier is default to be that when the terminal is normally powered off, the indication result of the identifier is set to be negative, that is, when the module is normally powered off, the next power-on process cannot be met when the large-area terminal is powered on to initiate network residence, so that the network residence does not need to be delayed.
In the embodiment, for an application scenario in which a large number of wireless terminals collectively initiate a network-residing request, whether the terminals need to delay network-residing or not is determined by setting identifiers, so that the risk of blocking of the wireless terminals requesting network-residing in a centralized manner in batches is avoided well, and the network-residing request efficiency is ensured.
Example 5
The embodiment provides a method for controlling the terminal to stay in the network, which is suitable for terminals without good terminal position positioning conditions or not supporting MQTT protocol, and can also be used for customized configuration of a specific terminal; for example, a batch of modules in a unit needs to have a specified delay time. On the basis of embodiment 1, in this embodiment, the duration is further reset in a manual manner after the network residence is successful, and the modification can be realized in a remote manner, for example, using an FTP (File Transfer Protocol) to perform batch management modification; local modifications of the configuration can also be made directly.
In the embodiment, for an application scenario in which a large number of wireless terminals collectively initiate a network-residing request, time sequence control of a network-residing flow is realized by manually configuring the delay duration of the terminals, so that the risk of blocking of batch centralized requests for network-residing of the wireless terminals is avoided, and the efficiency of the network-residing request is improved.
Example 6
Referring to fig. 5, the present embodiment provides a control system for terminal network residence, including:
the time delay module 1 is used for reading the time delay duration of local storage after the terminal is started;
and the network-residing request module 2 is used for initiating a network-residing request after the delay time duration.
When a large number of terminals intensively initiate network residence, a peak staggering access is formed by setting a network residence delay time for each terminal; the delay time is generally stored in the memory of each terminal in the form of a configuration file. However, because the network environments of the terminals are different, not every terminal needs to stay in the network in a delayed manner; for example, a single 20MHz (Mega Hertz) base station cell can carry about 300 users, and a delay application stay needs to be started when the number of terminals in the range is close to the threshold and there is a risk of powering on and powering on simultaneously.
As a better implementation manner, whether the control method of this embodiment is adopted may be determined by balancing the total number of terminals within the range, that is, after the terminal is turned on, the result obtained by the previous terminal total number module, that is, whether the total number of terminals connected to the base station where the terminal resides, is greater than the preset terminal number threshold value, if the result is determined, the delay module 1 and the network residence request module 2 are invoked, so that it may be avoided that when the total number of terminals is small, the network residence application is executed with delay, and the network residence efficiency of the terminal is reduced.
In the embodiment, for an application scenario in which a large number of wireless terminals initiate a network-residing request in a centralized manner, the risk of blocking when the wireless terminals request network-residing in a centralized manner in batches is avoided by calling the delay module 1 and the network-residing request module 2 to perform time sequence control, and the efficiency of the network-residing request is improved.
Example 7
Referring to fig. 6, the present embodiment is a further improvement on the basis of embodiment 6, except that a delay resetting module 3 is further added in the present embodiment, and is configured to reset a delay duration of the terminal after the network camping of the terminal is successful, where the delay duration does not exceed a maximum network camping delay allowed by the terminal; and the reset delay time length is used as the delay time length read by the next starting of the terminal. Specifically, the system further includes a delay obtaining module 4, configured to obtain the network residence factor:
acquiring total number N of terminals connected with resident base stationd
Obtaining the number M of the lead codes of the resident base stationch
Obtaining a network-residing factor PHNetwork residence factor PHFor enabling the terminal to have the maximum network-resident success rate P under the condition that the total number of the terminals and the number of the lead codes are determinedr
Namely, it is
Figure BDA0002753340150000101
When is making PrP with a maximum valueHIs a network residence factor;
the delay resetting module 3 resets the delay duration to PHT, T is the maximum dwell delay.
The terminal resets the time delay duration to PHAnd T, and T is the maximum network residence time delay allowed by the terminal.
As a preferred embodiment, the delay resetting module 3 may dynamically obtain the total number of the peripheral terminals by calling the check-in Message pushing module 11, the check-in Message receiving module 12, and the total number of terminals obtaining module 6, that is, obtain the total number of the terminals in the area where the terminal is located by using MQTT (Message Queuing Telemetry Transport protocol). Specifically, after the terminal successfully logs in the network, the terminal subscribes a topic with the name of a block at the position, all terminal modules in the block use the topic, that is, the subscription to the topic is realized, at this time, the terminal and other terminals in the block at the position all utilize the check-in message push module 11 to issue check-in messages to the topic, the check-in messages can include, for example, latitude and longitude information, the unit to which the terminal belongs, the terminal use priority and the like, and all issued check-in messages are forwarded through the MQTT server and pushed to all terminals subscribed with the topic; receiving a check-in message forwarded by the MQTT server by using a check-in message receiving module 12; and the total terminal number acquiring module 6 acquires the number of the sign-in messages of all the topics received from the MQTT server, namely the total terminal number.
In the embodiment, for an application scenario in which a large number of wireless terminals collectively initiate a network residence request, the delay time length of the terminal is reset by calling the delay resetting module 3, so that the network residence process of the terminal is subjected to time sequence control, the risk of blocking of batch centralized requests for network residence of the wireless terminals is avoided, and the efficiency of the network residence request is improved.
Example 8
Referring to fig. 7, this embodiment is a further improvement on embodiment 7, and determines whether to execute the call delay resetting module 3 based on the physical location of the terminal. The setting position of the terminal directly affects the network environment, such as the adsorbed base station cell, the surrounding channel resources, the signal intensity and the like; if the physical location of the terminal is constant, a stable network environment is also generally maintained. Since the reset delay time needs to occupy a certain system resource and consume data traffic, the reset delay time module 3 is not necessarily called each time when the network environment where the terminal is located is known to be stable.
As an optional preferred embodiment, the control system further includes a position determining module 5, configured to determine whether a physical position of the terminal changes, and if so, invoke the delay resetting module 3. The position determination module 5 includes:
the first position judgment module is used for acquiring a coordinate value of the terminal, and if the coordinate value exceeds a preset offset threshold value, the physical position is changed;
or the like, or, alternatively,
a second position judgment module, configured to obtain a cell number where the terminal resides, and if the cell number is different from a cell number where the terminal resides last time, change the physical position;
or the like, or, alternatively,
and the third position judgment module is used for acquiring the coordinate value of the terminal and the cell number where the terminal resides, and if the coordinate value of the terminal exceeds a preset offset threshold value and the cell number where the terminal resides is different from the cell number where the terminal resides last time, the physical position is changed.
When the result of the position judgment module 5 is changed, the delay resetting module 3 is called again, so that the unnecessary delay duration resetting process of the terminal, which is difficult to change in the network environment at the same position, is avoided. Specifically, the delay resetting module 3 includes a delay obtaining module 4, and the delay obtaining module 4 is configured to obtain the network-camping factor:
acquiring total number N of terminals connected with resident base stationd
Obtaining the number M of the lead codes of the resident base stationch
Obtaining a network-residing factor PHFor enabling the terminal to have the maximum network-resident success rate P under the condition that the total number of the terminals and the number of the lead codes are determinedr
Namely, it is
Figure BDA0002753340150000121
When is making PrP with a maximum valueHIs a network residence factor;
the delay resetting module 3 resets the delay duration to PHT, T is the maximum dwell delay.
As a preferred embodiment, the delay resetting module 3 may dynamically obtain the total number of the peripheral terminals by calling the check-in Message pushing module 11, the check-in Message receiving module 12, and the total number of terminals obtaining module 6, that is, obtain the total number of the terminals in the area where the terminal is located by using MQTT (Message Queuing Telemetry Transport protocol). Specifically, after the terminal successfully logs in the network, the terminal subscribes a topic with the name of a block at the position, all terminal modules in the block use the topic, that is, the subscription to the topic is realized, at this time, the terminal and other terminals in the block at the position all utilize the check-in message push module 11 to issue check-in messages to the topic, the check-in messages can include, for example, latitude and longitude information, the unit to which the terminal belongs, the terminal use priority and the like, and all issued check-in messages are forwarded through the MQTT server and pushed to all terminals subscribed with the topic; receiving a check-in message forwarded by the MQTT server by using a check-in message receiving module 12; and the total terminal number acquiring module 6 acquires the number of the sign-in messages of all the topics received from the MQTT server, namely the total terminal number.
In the embodiment, for an application scenario in which a large number of wireless terminals collectively initiate a network-residing request, the physical position of the terminal is judged by calling the position judgment module 5, and then the delay time duration of the terminal is reset by calling the delay resetting module 3, so that the network-residing flow of the terminal is subjected to time sequence control, the risk of blocking when the wireless terminals collectively request network-residing in batches is avoided, and the network-residing request efficiency is improved.
Example 9
Referring to fig. 8, this embodiment is further improved on the basis of embodiment 6, that is, an identifier module 7 is added before the delay module 1 is called, and only when the indication result obtained by the identifier module 7 is yes, the control system calls the delay module 1 and the network residence request module 2.
Because the network environments of the terminals are different, not every terminal needs to perform delayed initiation of an access request every time the terminal is powered on. For example, a single 20MHz (Mega Hertz) base station cell can carry about 300 users, and a delay application stay needs to be started when the number of terminals in the range is close to the threshold and there is a risk of powering on and powering on simultaneously.
Specifically, the identifier module 7 is configured to control the terminal to read a locally stored identifier; the identifier is used for indicating whether the terminal needs to delay network residence or not; if the indication result of the identifier is yes, the delay module 1 and the network-residing request module 2 are called, otherwise, the network-residing request is directly initiated.
The indication result of the identifier is default to be that when the terminal is normally powered off, the indication result of the identifier is set to be negative, that is, when the module is normally powered off, the next power-on process cannot be met when the large-area terminal is powered on to initiate network residence, so that the network residence does not need to be delayed.
In the embodiment, for an application scenario in which a large number of wireless terminals collectively initiate a network-residing request, whether the terminals need to delay network-residing is determined by calling the identifier module 7, so that the risk of blocking of the wireless terminals requesting network-residing in a centralized manner in batches is avoided well, and the network-residing request efficiency is ensured.
Example 10
Referring to fig. 9, this embodiment provides a control system for terminal network residence, which is suitable for a terminal that does not have a good terminal location condition or does not support MQTT protocol, and may also be used for customized configuration of a specific terminal; if a batch of modules in a certain unit need to have a specified delay time;
in a preferred embodiment, the control system further comprises a manual configuration module 8 for receiving a remote manual configuration or a local manual configuration of the delay time duration. The modification can be realized in a remote manner, for example, using FTP (File Transfer Protocol) to perform batch management modification; local modifications of the configuration can also be made directly. The module is manually configured and used to save the modified results.
In the embodiment, for an application scenario in which a large number of wireless terminals collectively initiate a network-residing request, the time delay duration of the terminal is manually configured by calling the manual configuration module to realize time sequence control of the network-residing flow, so that the risk of blocking of batch centralized requests of the wireless terminals for network-residing is avoided, and the efficiency of the network-residing request is improved.
Example 11
The embodiment provides a terminal, which includes the control system for network residence of the terminal according to any one of embodiments 6 to 10, and specifically, the terminal may be an application module, an intelligent device, or the like.
In the embodiment, for an application scenario in which a large number of wireless terminals collectively initiate a network-residing request, by setting a terminal supporting timing control, the risk that the wireless terminals collectively request network-residing in batches to cause blocking is avoided, and the network-residing request efficiency is improved.
Example 12
Fig. 10 is a schematic structural diagram of an electronic device according to embodiment 11 of the present invention. The electronic device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and the processor executes the program to realize the control method of any one of the embodiments 1 to 5 for network residence. The electronic device 30 shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 10, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 connecting the various system components (including the memory 32 and the processor 31).
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM)321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program/utility 325 having a set (at least one) of program modules 324, such program modules 324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 31 executes various functional applications and data processing, such as a method for controlling network hosting of a terminal in any one of embodiments 1 to 5 of the present invention, by running a computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through input/output (I/O) interfaces 35. Also, model-generating device 30 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 36. As shown in FIG. 10, network adapter 36 communicates with the other modules of model-generated device 30 via bus 33. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 13
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the control method for network residence of any one of the terminals in embodiments 1 to 5.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code for causing a terminal device to execute the steps in the control method for implementing the network hosting of the terminal in any of embodiments 1 to 5 when the program product runs on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (23)

1. A control method for terminal network residence is characterized in that the control method comprises the following steps: and after the terminal is started, reading the delay time length stored locally, and initiating a network-residing request after the delay time length.
2. The method for controlling network residence of a terminal as claimed in claim 1, wherein after the network residence of the terminal is successful, the method further comprises: the terminal resets the delay time length, and the delay time length does not exceed the maximum network residence delay allowed by the terminal; and the reset delay time length is used as the delay time length read by the next starting of the terminal.
3. The method for controlling terminal to camp on a network as claimed in claim 2, wherein the step of the terminal resetting the delay time duration comprises:
the terminal acquires the total number N of terminals connected with the resident base stationd
The terminal acquires the lead code number M of the resident base stationch
The terminal acquires a network-residing factor PHNetwork residence factor PHFor enabling the terminal to have the maximum network-resident success rate P under the condition that the total number of the terminals and the number of the lead codes are determinedr
Namely, it is
Figure FDA0002753340140000011
When is making PrP with a maximum valueHIs the network residence factor;
the terminal resets the time delay duration to PHT, T is the maximum dwell delay.
4. The method for controlling network camping of a terminal according to claim 1, wherein the control method according to claim 1 is used when the total number of terminals connected to the base station where the terminal camps after the previous network camping is successful is greater than a preset terminal number threshold.
5. The method as claimed in claim 3 or 4, wherein the terminal pushes a check-in message to an MQTT server, and the MQTT server is configured to receive the check-in message pushed by the terminal and check-in messages sent by all other terminals connected to the base station, and forward all the check-in messages to all the terminals;
and the terminal receives all check-in messages forwarded by the MQTT server, and takes the number of the received check-in messages as the total number of the terminal.
6. The method for controlling network residence of a terminal as claimed in claim 2, wherein before the step of resetting the delay time duration by the terminal, the method further comprises:
and the terminal judges whether the physical position where the terminal is located is changed, and if so, the terminal resets the delay time length.
7. The method for controlling network residence of a terminal as claimed in claim 6, wherein the method for determining whether the physical location of the terminal has changed comprises:
acquiring a coordinate value of the terminal, wherein if the coordinate value exceeds a preset offset threshold, the physical position is changed;
or the like, or, alternatively,
acquiring a cell number where the terminal resides, wherein if the cell number is different from a cell number where the terminal resides last time, the physical position is changed;
or the like, or, alternatively,
and acquiring the coordinate value of the terminal and the cell number where the terminal resides, wherein if the coordinate value of the terminal exceeds a preset offset threshold value and the cell number where the terminal resides is different from the cell number where the terminal resides last time, the physical position is changed.
8. The method for controlling terminal to camp on a network as claimed in claim 1, wherein the method for controlling comprises: after the terminal is started, reading the identifier stored locally; the identifier is used for indicating whether the terminal needs to delay network residence or not; if the indication result of the identifier is negative, initiating a network residing request; if the indication result of the identifier is yes, the locally stored delay time length is read, and a network residence request is initiated after the delay time length.
9. The method for controlling terminal to camp on a network as claimed in claim 8, wherein the method further comprises: and the indication result of the identifier is defaulted to be that when the terminal is normally powered off, the indication result of the identifier is set to be negative.
10. The method for controlling network residence of a terminal as claimed in claim 1, wherein after the step of the terminal initiating the network residence request, the method further comprises: and the terminal receives remote manual configuration or local manual configuration of the delay time length.
11. A control system for terminal network residence is characterized in that the control system comprises:
the delay module is used for reading the delay time length of the local storage after the terminal is started;
and the network-residing request module is used for initiating a network-residing request after the delay time duration.
12. The control system for terminal-hosting of claim 11, wherein the control system further comprises:
the delay resetting module is used for resetting the delay time length of the terminal after the terminal successfully resides in the network, and the delay time length does not exceed the maximum network residence delay allowed by the terminal; and the reset delay time length is used as the delay time length read by the next starting of the terminal.
13. The system for controlling terminal to camp on a network as claimed in claim 12, wherein the delay resetting module comprises a delay acquiring module, the delay acquiring module is configured to:
acquiring total number N of terminals connected with resident base stationd
Obtaining the number M of the lead codes of the resident base stationch
Obtaining a network-residing factor PHNetwork residence factor PHFor enabling the terminal to have the maximum network-resident success rate P under the condition that the total number of the terminals and the number of the lead codes are determinedr
Namely, it is
Figure FDA0002753340140000031
When is making PrP with a maximum valueHIs the network residence factor;
the delay duration is reset to PHT, T is the maximum dwell delay.
14. The system for controlling terminal camping according to claim 11, wherein the control system according to claim 11 is used when the total number of terminals connected to the base station where the terminal camps after the previous successful network camping is greater than the preset threshold value of the number of terminals.
15. The control system for terminal hosting of claim 13 or 14, characterized in that the control system further comprises:
the system comprises a sign-in message pushing module, a base station and an MQTT server, wherein the sign-in message pushing module is used for pushing a sign-in message to the MQTT server, and the MQTT server is used for receiving the sign-in message pushed by the terminal and the sign-in messages sent by all other terminals connected with the base station and forwarding all the sign-in messages to all the terminals;
the check-in message receiving module is used for receiving all check-in messages forwarded by the MQTT server;
and the terminal total number acquisition module is used for taking the number of the received check-in messages as the total number of the terminals.
16. The system according to claim 12, further comprising a position determining module, wherein the position determining module is configured to determine whether a physical position of the terminal is changed, and if so, the delay resetting module is invoked.
17. The system for controlling terminal-based network presence according to claim 16, wherein said location determining module further comprises:
the first position judgment module is used for acquiring a coordinate value of the terminal, and if the coordinate value exceeds a preset offset threshold value, the physical position is changed;
or the like, or, alternatively,
a second position judgment module, configured to obtain a cell number where the terminal resides, and if the cell number is different from a cell number where the terminal resides last time, change the physical position;
or the like, or, alternatively,
and the third position judgment module is used for acquiring the coordinate value of the terminal and the cell number where the terminal resides, and if the coordinate value of the terminal exceeds a preset offset threshold value and the cell number where the terminal resides is different from the cell number where the terminal resides last time, the physical position is changed.
18. The control system of claim 11, further comprising an identifier module for reading the locally stored identifier after the terminal is powered on; the identifier is used for indicating whether the terminal needs to delay network residence or not; if the indication result of the identifier is negative, the identifier module controls the terminal to initiate a network residing request; if the indication result of the identifier is yes, the delay module and the network-residing request module are called.
19. The system for controlling terminal to camp on a network of claim 18, wherein the identifier module is further configured to set the indication result of the identifier to no when the terminal is normally powered off, in a case where the indication result of the identifier defaults to yes.
20. The terminal-resident control system of claim 11, further comprising a manual configuration module for receiving a remote manual configuration or a local manual configuration of the delay duration.
21. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements a method of controlling a terminal according to any one of claims 1 to 10 when executing the computer program.
22. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for controlling a terminal to camp on a network according to any one of claims 1 to 10.
23. A terminal, characterized in that it comprises a control system for terminal web-hosting according to any of claims 11-20.
CN202011193433.5A 2020-10-30 2020-10-30 Terminal, network-resident control method and system thereof, electronic device and storage medium Active CN112367682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011193433.5A CN112367682B (en) 2020-10-30 2020-10-30 Terminal, network-resident control method and system thereof, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011193433.5A CN112367682B (en) 2020-10-30 2020-10-30 Terminal, network-resident control method and system thereof, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112367682A true CN112367682A (en) 2021-02-12
CN112367682B CN112367682B (en) 2022-09-30

Family

ID=74513107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011193433.5A Active CN112367682B (en) 2020-10-30 2020-10-30 Terminal, network-resident control method and system thereof, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112367682B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010124453A1 (en) * 2009-04-28 2010-11-04 华为技术有限公司 Method and apparatus for optimizing the terminal random access
CN102469554A (en) * 2010-11-05 2012-05-23 中兴通讯股份有限公司 Method for terminal to switch in network and terminal
WO2012089118A1 (en) * 2010-12-28 2012-07-05 华为技术有限公司 Network access method and device
WO2012150840A2 (en) * 2011-05-05 2012-11-08 Samsung Electronics Co., Ltd. Network accessing method
US20140169240A1 (en) * 2012-12-17 2014-06-19 Huawei Technologies Co., Ltd Access Control Method, User Equipment, Access Network, and Communications System
CN104717636A (en) * 2013-12-13 2015-06-17 成都鼎桥通信技术有限公司 Software upgrading method, terminal device and over-the-air download server
US20150173074A1 (en) * 2012-06-15 2015-06-18 Telefonaktiebolaget L M Ericsson (Publ) Random access in a communications network
US20180139783A1 (en) * 2015-05-26 2018-05-17 Samsung Electronics Co., Ltd Method and device for performing random access in wireless communication system
CN109982296A (en) * 2017-12-28 2019-07-05 中国移动通信集团四川有限公司 Overload controlling method, access side device, system and the storage medium of MTC access net
US20190238289A1 (en) * 2018-01-26 2019-08-01 Beijing University Of Posts And Telecommunications Interleaver-based method and apparatus for enhancing capacity of a random access channel
CN111132275A (en) * 2019-12-26 2020-05-08 惠州Tcl移动通信有限公司 Method and device for establishing data connection, storage medium and electronic equipment
CN111526530A (en) * 2020-05-15 2020-08-11 广东技术师范大学 Optimization method of random access congestion control algorithm for NB-IoT

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010124453A1 (en) * 2009-04-28 2010-11-04 华为技术有限公司 Method and apparatus for optimizing the terminal random access
CN102469554A (en) * 2010-11-05 2012-05-23 中兴通讯股份有限公司 Method for terminal to switch in network and terminal
WO2012089118A1 (en) * 2010-12-28 2012-07-05 华为技术有限公司 Network access method and device
WO2012150840A2 (en) * 2011-05-05 2012-11-08 Samsung Electronics Co., Ltd. Network accessing method
US20150173074A1 (en) * 2012-06-15 2015-06-18 Telefonaktiebolaget L M Ericsson (Publ) Random access in a communications network
US20140169240A1 (en) * 2012-12-17 2014-06-19 Huawei Technologies Co., Ltd Access Control Method, User Equipment, Access Network, and Communications System
CN104717636A (en) * 2013-12-13 2015-06-17 成都鼎桥通信技术有限公司 Software upgrading method, terminal device and over-the-air download server
US20180139783A1 (en) * 2015-05-26 2018-05-17 Samsung Electronics Co., Ltd Method and device for performing random access in wireless communication system
CN109982296A (en) * 2017-12-28 2019-07-05 中国移动通信集团四川有限公司 Overload controlling method, access side device, system and the storage medium of MTC access net
US20190238289A1 (en) * 2018-01-26 2019-08-01 Beijing University Of Posts And Telecommunications Interleaver-based method and apparatus for enhancing capacity of a random access channel
CN111132275A (en) * 2019-12-26 2020-05-08 惠州Tcl移动通信有限公司 Method and device for establishing data connection, storage medium and electronic equipment
CN111526530A (en) * 2020-05-15 2020-08-11 广东技术师范大学 Optimization method of random access congestion control algorithm for NB-IoT

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
""S5-121868 Requirements for PM of converged network"", 《3GPP TSG_SA\WG5_TM》 *
陈宝: "专用小型LTE基站多用户接入技术研究与实现", 《中国优秀硕士学位论文全文数据库》 *

Also Published As

Publication number Publication date
CN112367682B (en) 2022-09-30

Similar Documents

Publication Publication Date Title
US8059570B2 (en) Mobile network device battery conservation system and methods
WO2014052767A1 (en) Mixed off-site / on-site prediction computation for reducing wireless reconnection time of a computing device
CN110633442A (en) Pushing method and device and electronic equipment
US8873445B2 (en) Processing of a mobile terminated data over signaling message
CN107370808B (en) Method for performing distributed processing on big data task
US20060154677A1 (en) Concurrent transfer of packet data and paging in mobile communication terminal
US9867121B2 (en) Network accessing method
TW201943312A (en) System information transmission method and apparatus, network device, and terminal
CN111586799B (en) Network residing method, system, electronic device, storage medium and communication terminal
CN112422497A (en) Message transmission method and device and computer equipment
CN109298939B (en) Access frequency control method, device and system of distributed system and server
WO2021092843A1 (en) Paging method and apparatus
CN112367682B (en) Terminal, network-resident control method and system thereof, electronic device and storage medium
CN112788585B (en) NF (NF) switching method and device in 5G core network and storage medium
CN111315002B (en) Energy saving indication and energy saving method, base station, equipment and storage medium
EP2071764A1 (en) A method, device and communication system thereof of electing local master
WO2019154026A1 (en) Method for determining wake-up area, network device, and user terminal
US20220225471A1 (en) Flight Area Management Method for Uncrewed Aerial Vehicle and Related Apparatus
CN111479137B (en) Method and device for providing line address, server and storage medium
CN112449440B (en) Wireless resource control method, device, electronic equipment and storage medium
CN111586841B (en) Terminal paging optimization method, system, device and readable storage medium
JP2003281091A (en) System for controlling simultaneous reception
CN111917620B (en) MCU service processing method, device, electronic equipment and storage medium
CN116974730B (en) Large-batch task processing method
US20230232488A1 (en) Method and system for efficiently activating or deactivating user equipment

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