Internet of Things card dormancy method, device, equipment and storage medium
By monitoring the data usage and validity period of IoT cards in real time through the client, automatically recharging the dormant data plan and limiting the interaction speed, the problem of frequent power outages of monitoring equipment due to data exhaustion is solved, the lifespan of IoT cards is extended and the risk of damage is reduced.
Patent Information
- Application Number
- CN202211180871.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-27
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-09-27
AI Technical Summary
The monitoring equipment frequently loses power and reconnects due to the exhaustion of IoT card data, resulting in card damage, and existing technologies cannot effectively solve this problem.
The client monitors the traffic and timeliness of IoT cards in real time, automatically recharges the dormant package, and limits the interactive communication speed under the dormant bandwidth rate to prevent frequent power outages.
This effectively avoids frequent power outages and reconnections of IoT cards due to insufficient data, extends card lifespan, reduces the risk of damage, and improves device reliability and user experience.
Smart Images

Figure CN115580902B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network communication technology, and in particular to a method, apparatus, device, and storage medium for an Internet of Things (IoT) card to hibernate. Background Technology
[0002] Currently, surveillance cameras are installed in various locations such as the countryside, street corners, and gates. Connecting these surveillance devices to the network requires an IoT SIM card. Surveillance cameras that use IoT SIM cards for network access often fail to connect to the network because their regular data plans have expired or become offline. This leads to the cameras constantly losing power and frequently trying to connect to the network, which damages the IoT SIM cards. Summary of the Invention
[0003] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes a method for keeping IoT SIM cards in sleep mode, which can automatically recharge the sleep mode package to keep the IoT SIM card device operational.
[0004] The present invention also proposes an IoT card hibernation device.
[0005] The present invention also proposes an IoT card hibernation device.
[0006] The present invention also proposes a computer-readable storage medium.
[0007] In a first aspect, an embodiment of the present invention provides an IoT card sleep method, applied to an IoT card system, the IoT card system including an IoT card device, a server, and a client, comprising:
[0008] The client obtains the current data plan attribute information of the IoT card device to get the current data plan information; wherein, the current data plan information includes: remaining data and remaining validity period;
[0009] The client monitors the recharge information of the IoT card device in real time according to a preset time interval, wherein the recharge information represents the recharge status of the data plan;
[0010] If the recharge information indicates that the preset non-dormant package has not been recharged, and the remaining data traffic is less than the preset data traffic threshold or the remaining time validity is less than the preset time validity threshold, the client sends a recharge request to the server so that the server recharges the IoT card device with the preset target dormant package.
[0011] The IoT card device obtains the bandwidth rate of the target sleep package and gets the sleep bandwidth rate;
[0012] The IoT card device limits the interactive communication speed based on the target sleep bandwidth rate.
[0013] The IoT SIM card hibernation method of this invention has at least the following beneficial effects: The client obtains the current remaining data package attribute information of the IoT SIM card device in real time, obtains the current data package information, and obtains the remaining data and remaining validity period from the current data package information. The client monitors the IoT SIM card device in real time and obtains the recharge information of the IoT SIM card device every preset time interval to obtain the recharge status of the data package. If the recharge information indicates that the preset non-hibernation package has not been recharged, and the remaining data is less than the preset data threshold or the remaining validity period is less than the preset validity period threshold, the client automatically sends a recharge request to the server so that the server recharges the IoT SIM card of the IoT SIM card device with the preset target hibernation package. The IoT SIM card device obtains the bandwidth rate of the target hibernation package and obtains the hibernation bandwidth rate. The IoT SIM card device limits the speed according to the target hibernation bandwidth rate. The IoT SIM card device realizes interactive communication with the client under the target hibernation bandwidth rate. By monitoring the current data plan attributes of IoT SIM cards, the remaining data and remaining validity period are obtained. It is then determined whether the IoT SIM card has been recharged with a preset non-dormant plan. If it has not been recharged with a non-dormant plan, and the remaining data or remaining validity period is less than a preset validity period threshold, the client automatically sends a recharge request to the server. This allows the server to recharge the IoT SIM card with a preset target dormant plan, enabling the IoT SIM card to maintain limited-speed interactive communication at the dormant bandwidth rate of the target dormant plan. The system can detect the reason for the IoT SIM card's offline status and automatically recharge the dormant plan based on the reason for offline status to keep the IoT SIM card working.
[0014] According to other embodiments of the present invention, the IoT SIM card hibernation method includes a recharge request comprising: package identification information and package rule information. The client sends a recharge request to a server, so that the server recharges the IoT SIM card device's data package with a preset target hibernation package, including:
[0015] The client sends the package identification information and the package rule information to the server, so that the server can filter out candidate packages from the dormant packages according to the package rule information;
[0016] The server selects the target dormant package from the candidate packages based on the package identifier information.
[0017] According to other embodiments of the present invention, the IoT card sleep method further includes, after the IoT card device performs interactive communication rate limiting based on the target sleep bandwidth rate:
[0018] Obtain the updated recharge information;
[0019] If the updated recharge information indicates that the non-dormant package has been recharged, the IoT card device will stop using the target dormant package;
[0020] The IoT card device obtains the bandwidth rate corresponding to the non-dormant package to obtain the target bandwidth rate;
[0021] The IoT card device maintains normal interactive communication according to the target bandwidth rate.
[0022] The IoT card sleep method according to other embodiments of the present invention further includes:
[0023] If the recharge information indicates that the non-dormant package has not been recharged, the client restricts the user's access to preset functions; wherein, the preset functions are those functions available under normal use of the client.
[0024] The client displays a preset data usage exhaustion message; wherein, the data usage exhaustion message indicates that the current data plan has run out of data.
[0025] The IoT card sleep method according to other embodiments of the present invention further includes:
[0026] If the recharge information indicates that the non-dormant package has been recharged, the client restores the preset function.
[0027] The IoT card sleep method according to other embodiments of the present invention further includes:
[0028] The client obtains the data plan category currently used by the IoT card device to get the target data plan category;
[0029] The client obtains the current working status of the IoT card device and gets working status information; wherein, the working status information indicates whether the IoT card device is working;
[0030] If the working status information indicates that the IoT card device is working, and the target package category is the dormant package, the client displays that the IoT card device is in a dormant state;
[0031] If the working status information indicates that the IoT card device is working, and the target package category is the non-dormant package, the client displays that the IoT card device is online;
[0032] If the working status information indicates that the IoT card device is not working, the client displays that the IoT card device is in an offline state.
[0033] The IoT card sleep method according to other embodiments of the present invention further includes:
[0034] The client obtains the initial package attribute information of the current data package of the IoT card device, and gets the package data and package validity period;
[0035] If the target package category is the non-dormant package, the client sets the name information of the data package according to the package data allowance and the package validity period.
[0036] Secondly, one embodiment of the present invention provides an IoT card sleep device, the IoT card system including an IoT card device, a server, and a client, comprising:
[0037] The client includes:
[0038] The data plan attribute acquisition module is used to acquire the current data plan attribute information of the IoT card device to obtain the current data plan information; wherein, the current data plan information includes: remaining data and remaining validity period;
[0039] The recharge information monitoring module is used to monitor the recharge information of the IoT card device in real time according to a preset time interval, wherein the recharge information represents the recharge status of the data plan;
[0040] The recharge request sending module, if the recharge information indicates that the preset non-dormant package has not been recharged, and the remaining traffic is less than a preset traffic threshold or the remaining time is less than a preset time threshold, is used to send a recharge request to the server so that the server recharges the IoT card device with the preset target dormant package.
[0041] The IoT card device includes:
[0042] A bandwidth rate acquisition module is used to acquire the bandwidth rate of the target hibernation package and obtain the hibernation bandwidth rate;
[0043] An interactive communication rate limiting module is used to limit the interactive communication rate based on the target sleep bandwidth rate.
[0044] The IoT card hibernation device of this invention has at least the following beneficial effects: the package attribute acquisition module obtains the current remaining package attribute information of the IoT card device's data package in real time, obtains the current package information, and obtains the remaining data and remaining validity period from the current package information; the recharge information monitoring module monitors the IoT card device in real time and obtains the recharge information of the IoT card device every preset time interval to obtain the recharge status of the data package; if the recharge information indicates that the preset non-hibernation package has not been recharged, and the remaining data is less than the preset data threshold or the remaining validity period is less than the preset validity period threshold, the recharge request sending module automatically sends a recharge request to the server so that the server recharges the IoT card of the IoT card device with the preset target hibernation package; the bandwidth rate acquisition module obtains the bandwidth rate of the target hibernation package to obtain the hibernation bandwidth rate; the interactive communication rate limiting module limits the rate according to the target hibernation bandwidth rate; and the IoT card device realizes interactive communication with the client under the target hibernation bandwidth rate. By monitoring the current data plan attributes of IoT SIM cards, the remaining data and remaining validity period are obtained. It is then determined whether the IoT SIM card has been recharged with a preset non-dormant plan. If it has not been recharged with a non-dormant plan, and the remaining data or remaining validity period is less than a preset validity period threshold, the client automatically sends a recharge request to the server. This allows the server to recharge the IoT SIM card with a preset target dormant plan, enabling the IoT SIM card to maintain limited-speed interactive communication at the dormant bandwidth rate of the target dormant plan. The system can detect the reason for the IoT SIM card's offline status and automatically recharge the dormant plan based on the reason for offline status to keep the IoT SIM card working.
[0045] Thirdly, one embodiment of the present invention provides an IoT card hibernation device, comprising:
[0046] At least one processor, and,
[0047] A memory communicatively connected to the at least one processor; wherein,
[0048] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the IoT card sleep method as described in the first aspect.
[0049] Fourthly, one embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the IoT card sleep method as described in the first aspect.
[0050] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the description and the accompanying drawings. Attached Figure Description
[0051] Figure 1 This is a schematic flowchart of a specific embodiment of the IoT card sleep method in this invention;
[0052] Figure 2 yes Figure 1 A schematic diagram of a specific embodiment of step S103;
[0053] Figure 3 This is a schematic flowchart of another specific embodiment of the IoT card sleep method in this invention;
[0054] Figure 4 This is a schematic flowchart of another specific embodiment of the IoT card sleep method in this invention;
[0055] Figure 5 This is a schematic flowchart of another specific embodiment of the IoT card sleep method in this invention;
[0056] Figure 6 This is a schematic flowchart of another specific embodiment of the IoT card sleep method in this invention;
[0057] Figure 7 This is a schematic flowchart of another specific embodiment of the IoT card sleep method in this invention;
[0058] Figure 8 This is a module block diagram of a specific embodiment of the IoT card sleep device in this invention;
[0059] Figure 9 This is a schematic flowchart of another specific embodiment of the IoT card sleep method in this invention.
[0060] Explanation of reference numerals in the attached figures:
[0061] Package attribute acquisition module 801, recharge information monitoring module 802, recharge request sending module 803, bandwidth rate acquisition module 804, interactive communication speed limiting module 805. Detailed Implementation
[0062] The following will describe the concept and technical effects of the present invention clearly and completely with reference to embodiments, so as to fully understand the purpose, features and effects of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are all within the scope of protection of the present invention.
[0063] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0064] It should be noted that although the system diagram shows functional modules and the flowchart shows the logical order, in some cases, the steps shown or described may be executed in a different order than the module division in the system or the order in the flowchart.
[0065] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.
[0066] In the description of the embodiments of the present invention, the term "several" means one or more, and the term "multiple" means two or more. The terms "greater than," "less than," and "exceeding" should be understood as excluding the stated number, while the terms "above," "below," and "within" should be understood as including the stated number. The terms "first" and "second" should be understood as distinguishing technical features, and not as indicating or implying relative importance, the number of indicated technical features, or the order of the indicated technical features.
[0067] As people become more aware of security monitoring, it's often necessary to install surveillance cameras in outdoor areas, street corners, and gates to enhance security capabilities in communities, streets, scenic spots, and construction sites. However, some areas lack broadband and wireless networks, requiring network solutions for remote monitoring. For locations without wireless networks, IoT SIM cards are used to connect monitoring equipment to the internet. These SIM cards connect to mobile devices via data allowances, facilitating remote monitoring. However, when the IoT SIM card's data limit is reached, repeated power outages and reconnections can damage the SIM card. Since IoT SIM cards have a limited number of read / write cycles, frequent power outages can easily damage them. Even after recharging with a data plan, the damaged SIM card will be unable to register for internet access.
[0068] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes a method for keeping IoT SIM cards in sleep mode, which can automatically recharge the sleep mode package to keep the IoT SIM card device operational.
[0069] Please refer to Figure 1 , Figure 1 A flowchart illustrating the IoT card sleep method in an embodiment of the present invention is shown. In some embodiments, it is applied to an IoT card system, which includes an IoT card device, a server, and a client, and specifically includes, but is not limited to, steps S101 to S105.
[0070] Step S101: The client obtains the current data plan attribute information of the IoT card device to get the current data plan information; wherein, the current data plan information includes: remaining data and remaining validity period;
[0071] Step S102: The client monitors the recharge information of the IoT card device in real time according to a preset time interval, wherein the recharge information represents the recharge status of the data plan.
[0072] Step S103: If the recharge information indicates that the preset non-dormant package has not been recharged, and the remaining traffic is less than the preset traffic threshold or the remaining time is less than the preset time threshold, the client sends a recharge request to the server so that the server recharges the IoT card device with the preset target dormant package.
[0073] Step S104: The IoT card device obtains the bandwidth rate of the target sleep package and gets the sleep bandwidth rate.
[0074] Step S105: The IoT card device limits the interactive communication rate based on the target sleep bandwidth rate.
[0075] In steps S101 to S105 of this embodiment, the client obtains the data plan attribute information of the IoT SIM card device in real time, filters the current data plan information from the data plan attribute information to obtain the current data plan information, and obtains the remaining data and remaining validity period from the current data plan information. The client monitors the IoT SIM card device in real time and obtains the recharge information of the IoT SIM card device at preset time intervals to obtain the data plan recharge status. If the recharge information indicates that the preset non-dormant plan has not been recharged, and the remaining data is less than the preset data threshold or the remaining validity period is less than the preset validity period threshold, the client automatically sends a recharge request to the server so that the server recharges the IoT SIM card device with the preset target dormant plan. The IoT SIM card device obtains the bandwidth rate of the target dormant plan to obtain the dormant bandwidth rate. The IoT SIM card device limits the speed according to the target dormant bandwidth rate, and the IoT SIM card device achieves interactive communication with the client under the target dormant bandwidth rate. By monitoring the current data plan attributes of IoT SIM cards, the remaining data and remaining validity period are obtained. It is then determined whether the IoT SIM card has been recharged with a preset non-dormant plan. If it has not been recharged with a non-dormant plan, and the remaining data or remaining validity period is less than a preset validity period threshold, the client automatically sends a recharge request to the server. This allows the server to recharge the IoT SIM card with a preset target dormant plan, enabling the IoT SIM card to maintain limited-speed interactive communication at the dormant bandwidth rate of the target dormant plan. The system can detect the reason for the IoT SIM card's offline status and automatically recharge the dormant plan based on the reason for offline status to keep the IoT SIM card working.
[0076] In step S101 of some embodiments, the package attribute information also includes package type, which includes: daily package type, weekly package type, monthly package type, quarterly package type and annual package type, etc. The package type can be set according to the initial validity period of the data package.
[0077] In step S102 of some embodiments, the preset time interval can be selected according to the actual situation, and this application does not specifically limit the preset time interval.
[0078] Please refer to Figure 2 , Figure 2 A flowchart illustrating the IoT SIM card hibernation method in an embodiment of the present invention is shown. In some embodiments, the recharge request includes: package identification information and package rule information. The client sends a recharge request to the server so that the server recharges the IoT SIM card device with a preset target hibernation package, including but not limited to steps S201 to S202.
[0079] In step S201, the client sends the package identification information and package rule information to the server so that the server can filter out dormant packages from the data packages according to the package rule information;
[0080] In step S202, the server filters out the target dormant package from the dormant packages based on the package identifier information.
[0081] In steps S201 to S202 of this embodiment, the client sends pre-generated package identifier information and pre-set package rule information to the server. The server then filters among several data packages based on the package rule information to obtain several dormant packages. Finally, the server filters among these dormant packages based on the package identifier information to select the target dormant package corresponding to the package identifier information. By having the client send the package identifier information and package rule information to the server, and the server filters out dormant packages based on the package rule information and the target dormant package based on the package identifier information, it is possible to distinguish between dormant and non-dormant packages from data packages. Furthermore, by setting the identifier information, data packages can be accurately recharged, thereby achieving automatic recharge of dormant packages and reducing damage caused by repeated network connections due to insufficient data for IoT devices.
[0082] In step S201 of some embodiments, the client generates a unique package identifier for each data plan. The package rule information is derived from the package type and the initial data allowance. Specifically, dormant packages have a maximum data allowance size based on the package type, and non-dormant data plans are set as non-dormant packages by default. The server determines whether a package is dormant based on the package type and data allowance size. If the data allowance size is not greater than the maximum data allowance size corresponding to the package type, it is considered a dormant package. For example, if the dormant package is a quarterly package, the maximum data allowance size can be set to 10MB, meaning the data allowance size for a recharged dormant package will not exceed 10MB. The package rule information can be set according to actual circumstances, and this application does not specifically limit the package rule information.
[0083] In this application, a "dormant plan" refers to a plan designed to keep an IoT SIM card active, but which prevents the IoT SIM card device from using network connectivity. A "non-dormant plan" refers to a plan that allows the IoT SIM card device to connect to the operator's network normally, enabling it to use network connectivity.
[0084] In step S202 of some embodiments, the target dormant data plan can be pre-set by the user. If the user has not pre-set it, the client randomly selects any dormant data plan to recharge. After the client recharges the target dormant data plan, the plan identifier information of the target dormant data plan is sent to the IoT card device, so that the IoT card device can subsequently access the bandwidth rate of the target dormant data plan based on the plan identifier information. Alternatively, after the client recharges any data plan, the data plan identifier information of the data plan is sent to the IoT card device, so that the IoT card device can subsequently access the bandwidth rate of the data plan based on the plan identifier information.
[0085] In step S104 of some embodiments, the sleep bandwidth rate is preferably 64Kbps in this application. The sleep bandwidth rate can be selected according to the actual situation, and no specific limitation is made to the sleep bandwidth rate in this application.
[0086] In step S105 of some embodiments, the IoT card device maintains a rate-limited operation according to the target sleep bandwidth rate, which can keep the IoT card heartbeat signaling active and prevent the IoT card device from being disconnected during normal interactive communication.
[0087] Please refer to Figure 3 , Figure 3 A flowchart illustrating the IoT card sleep method in an embodiment of the present invention is shown. In some embodiments, after step S105, the method further includes, but is not limited to, steps S301 to S304.
[0088] Step S301: Obtain updated recharge information;
[0089] Step S302: If the updated recharge information indicates that a non-dormant package has been recharged, the IoT card device stops using the target dormant package.
[0090] Step S303: The IoT card device obtains the bandwidth rate corresponding to the non-dormant package and gets the target bandwidth rate.
[0091] Step S304: The IoT card device maintains normal interactive communication according to the target bandwidth rate.
[0092] In steps S301 to S304 of this embodiment, the current data plan used by the IoT SIM card device is the target dormant plan. Real-time recharge information is obtained to acquire updated recharge information. If the updated recharge information indicates that a non-dormant plan has been recharged, the client sends a command to stop using the target dormant plan to the IoT SIM card device, causing the IoT SIM card device to stop using the target dormant plan. The client also sends a command to use the non-dormant plan to the IoT SIM card device. Upon receiving the command, the IoT SIM card device cancels the rate limit, obtains the bandwidth rate corresponding to the currently recharged non-dormant plan, and obtains the target bandwidth rate. The IoT SIM card device maintains normal interactive communication based on the target bandwidth rate. By obtaining updated recharge information in real time to determine whether a non-dormant plan has been recharged, and if so, the client sends a command to the IoT SIM card device, which then stops using the target dormant plan to cancel the rate limit and obtains the bandwidth rate corresponding to the non-dormant plan, obtaining the target bandwidth rate. The IoT SIM card device maintains normal interactive communication based on the target bandwidth rate, enabling the IoT SIM card device to immediately stop using the dormant plan after recharging the non-dormant plan and maintain normal interactive communication based on the non-dormant plan.
[0093] It should be noted that if the updated recharge information still indicates that the non-dormant package has not been recharged before the target dormant package expires, the client will continue to automatically recharge the target dormant package, or the client will continue to randomly recharge any dormant package until the user manually recharges the non-dormant package. This will keep the IoT card's heartbeat signal active and prevent the IoT card device from being disconnected during normal interactive communication.
[0094] Please refer to Figure 4 , Figure 4 A flowchart illustrating an IoT card sleep mode method according to an embodiment of the present invention is shown. In some embodiments, the method may include, but is not limited to, steps S401 to S402.
[0095] Step S401: If the recharge information indicates that a non-dormant package has not been recharged, the client restricts the preset functions that the user can use; wherein, the preset functions are the functions that the client can use under normal use.
[0096] In step S402, the client displays a preset data usage exhaustion message; wherein, the data usage exhaustion message indicates that the current data plan has run out of data.
[0097] In steps S401 to S402 of this embodiment, the IoT SIM card device is currently using a dormant data plan. It obtains updated recharge information in real time. If the recharge information indicates that a non-dormant data plan has not been recharged, the client restricts the user's access to preset functions. This limits the user's use of functions normally available through the client. The client displays a preset data exhaustion message to remind the user that their current data plan has been exhausted. By restricting the user's use of client functions, the use of the IoT SIM card device is limited. The client also reminds the user that their data plan has expired or has been exhausted, prompting them to recharge for a non-dormant data plan. This prevents users from maliciously using the dormant data plan and improves the user experience by reminding them to recharge for a non-dormant data plan.
[0098] It should be noted that after restricting users from using the default functions, the client still allows users to access the data plan recharge interface to recharge.
[0099] In step S401 of some embodiments, the preset functions include: preview, playback, settings and other functions. The preset functions can be set according to the actual situation. This application does not specifically limit the preset functions.
[0100] Please refer to Figure 5 , Figure 5 A flowchart illustrating an IoT card sleep mode method according to an embodiment of the present invention is shown. In some embodiments, the method may include, but is not limited to, step S501.
[0101] Step S501: If the recharge information indicates that a non-dormant package has been recharged, the client restores the default functions.
[0102] In step S501 of some embodiments, the IoT card device is currently using a dormant data plan. It obtains updated recharge information in real time. If the recharge information indicates that a non-dormant data plan has been recharged, the client immediately restores the user's default functions so that the user can use the client's functions normally. This allows the client to immediately restore the user's default functions after the user recharges a non-dormant data plan, thus improving the user experience.
[0103] Please refer to Figure 6 , Figure 6 A flowchart illustrating an IoT card sleep mode method according to an embodiment of the present invention is shown. In some embodiments, the method further includes, but is not limited to, steps S601 to S605.
[0104] Step S601: The client obtains the data plan category currently used by the IoT card device and gets the target plan category;
[0105] Step S602: The client obtains the current working status of the IoT card device and gets the working status information; wherein, the working status information indicates whether the IoT card device is working.
[0106] Step S603: If the working status information indicates that the IoT card device is working and the target package category is a dormant package, the client displays that the IoT card device is in a dormant state.
[0107] Step S604: If the working status information indicates that the IoT card device is working and the target package category is a non-dormant package, the client displays that the IoT card device is online.
[0108] Step S605: If the working status information indicates that the IoT card device is not working, the client displays that the IoT card device is offline.
[0109] In steps S601 to S605 of this embodiment, the client obtains the data plan category currently used by the IoT SIM card device in real time to determine the target data plan category, and also obtains the current working status of the IoT SIM card device in real time to obtain working status information. Based on the target data plan category and working status information, the client displays the current status of the IoT SIM card device in real time. If the working status information indicates that the IoT SIM card device is working and the target data plan category is a dormant data plan, the client displays that the IoT SIM card device is in a dormant state. If the working status information indicates that the IoT SIM card device is working and the target data plan category is a non-dormant data plan, the client displays that the IoT SIM card device is online. If the working status information indicates that the IoT SIM card device is not working, the client displays that the IoT SIM card device is offline. By obtaining the data plan category currently used by the IoT SIM card device and the current working status of the IoT SIM card device in real time, and then displaying the current status of the IoT SIM card device in real time based on the target data plan category and working status information, the user can understand the current status of the IoT SIM card device in real time, facilitating further user operations and improving the user experience.
[0110] Please refer to Figure 7 , Figure 7 A flowchart illustrating an IoT card sleep mode method according to an embodiment of the present invention is shown. In some embodiments, the method may include, but is not limited to, steps S701 to S702.
[0111] Step S701: The client obtains the initial data package attribute information of the current data package of the IoT card device, and obtains the data package and the package validity period;
[0112] Step S702: If the target package category is a non-dormant package, the client sets the name information of the data package according to the package data allowance and package validity period.
[0113] In steps S701 to S702 of this embodiment, the client obtains the data plan attribute information currently used by the IoT SIM card device, and filters the initial plan information from the plan attribute information to obtain the data plan data allowance and plan validity period. Based on the target plan category obtained in the above embodiment, if the target plan category is a non-dormant plan, the client sets the name information of the currently used data plan to the data plan data allowance and plan validity period, and displays the name information of the data plan. By obtaining the data plan data allowance and plan validity period of the currently used IoT SIM card device, and setting and displaying the name information of the non-dormant plan based on the data plan data allowance and plan validity period, users can directly understand whether the plan currently used by the IoT SIM card device is a dormant plan, thereby improving the user experience.
[0114] It should be noted that if the IoT card device is currently using a dormant data plan, the client will name the dormant plan as a dormant plan. If the client has multiple preset dormant plans, a number will be added after the dormant plan. The dormant plan number can be set according to preset numbering rules or randomly assigned. This application does not impose any specific restrictions on this.
[0115] Alternatively, the client can pre-set the corresponding name information for each data plan, instead of only setting the data plan currently used by the IoT SIM card device. This application does not specifically limit this.
[0116] Please refer to Figure 9 , Figure 9 A flowchart illustrating an IoT card sleep mode method according to an embodiment of the present invention is shown. In some embodiments, the method further includes, but is not limited to, the following:
[0117] The IoT SIM card device has a corresponding system for managing it, i.e., a client. The client communicates with a database service and the mobile operator, where the database service represents the server. The client divides each data plan into active and dormant plans. The client controls the IoT SIM card device through communication. Assuming the IoT SIM card device is currently using an active plan, if the active plan is not used up or expired, the IoT SIM card device remains unlimited to ensure normal operation. If the active plan is used up or expired, the client tops up a dormant plan, limiting the IoT SIM card device to a speed of 64Kbps. After the dormant plan takes effect, the client prohibits the top-up of other dormant plans. During the dormant plan's usage period, if an active plan has already been topped up, the dormant plan is discontinued, and the speed limiting is stopped to restore the IoT SIM card device's normal operation. When the dormant plan is used up or expires, if a non-dormant plan has not been recharged, the dormant plan will be recharged; if a non-dormant plan has been recharged, the speed limit will be stopped to restore the normal operation of the IoT SIM card device. This ensures that the IoT SIM card device is not speed-limited when using a non-dormant plan, does not lose connection when using a dormant plan, and can also control large traffic requests.
[0118] In addition, the client displays the real-time status of the IoT SIM card. If the IoT SIM card is currently using a dormant data plan and is powered on, the client will display that the device is in dormant mode, preventing users from previewing the dormant plan's attributes. The client can also prompt users to top up the IoT SIM card with a non-dormant data plan. If the IoT SIM card is currently using a dormant data plan and is powered off, the client will display that the device is offline. This prevents the IoT SIM card from frequently losing power and attempting to reconnect to the network, thus reducing user costs and ensuring the device remains connected even after the data plan is used up, thereby lowering the risk of IoT SIM card damage.
[0119] In addition, this application also discloses an IoT card sleep device, please refer to... Figure 8 , Figure 8This invention discloses a module block diagram of an IoT card sleep device according to an embodiment of the present invention. Furthermore, it can implement the aforementioned IoT card sleep method. The IoT card sleep device is applied to an IoT card system, which includes an IoT card device, a server, and a client. The IoT card sleep device includes: a package attribute acquisition module 801, a recharge information monitoring module 802, a recharge request sending module 803, a bandwidth rate acquisition module 804, and an interactive communication rate limiting module 805. The package attribute acquisition module 801, the recharge information monitoring module 802, the recharge request sending module 803, the bandwidth rate acquisition module 804, and the interactive communication rate limiting module 805 are all communication-connected.
[0120] The client includes: a package attribute acquisition module 801 that acquires the current package attribute information of the IoT SIM card device's data package, obtaining the current package information, which includes: remaining data and remaining validity period. A recharge information monitoring module 802 monitors the IoT SIM card device's recharge information in real time according to a preset time interval, where the recharge information represents the data package recharge status. If the recharge information indicates that the preset non-dormant package has not been recharged, and the remaining data is less than a preset data threshold or the remaining validity period is less than a preset validity period threshold, a recharge request sending module 803 sends a recharge request to the server, so that the server recharges the IoT SIM card device with the preset target dormant package.
[0121] The IoT SIM card device includes: a bandwidth rate acquisition module 804 that acquires the bandwidth rate of the target sleep package to obtain the sleep bandwidth rate; and an interactive communication rate limiting module 805 that limits the interactive communication rate based on the target sleep bandwidth rate.
[0122] The data plan attribute acquisition module 801 acquires the current remaining data plan attribute information of the IoT SIM card device in real time, obtaining the current data plan information, and extracts the remaining data and remaining validity period from the current data plan information. The recharge information monitoring module 802 monitors the IoT SIM card device in real time and acquires the recharge information of the IoT SIM card device at preset time intervals to obtain the data plan recharge status. If the recharge information indicates that the preset non-dormant data plan has not been recharged, and the remaining data is less than the preset data threshold or the remaining validity period is less than the preset validity period threshold, the recharge request sending module 803 automatically sends a recharge request to the server, so that the server recharges the IoT SIM card of the IoT SIM card device with the preset target dormant data plan. The bandwidth rate acquisition module 804 acquires the bandwidth rate of the target dormant data plan, obtaining the dormant bandwidth rate. The interactive communication rate limiting module 805 limits the rate according to the target dormant bandwidth rate, and the IoT SIM card device achieves interactive communication with the client within the target dormant bandwidth rate. By monitoring the current data plan attributes of IoT SIM cards, the remaining data and remaining validity period are obtained. It is then determined whether the IoT SIM card has been recharged with a preset non-dormant plan. If it has not been recharged with a non-dormant plan, and the remaining data or remaining validity period is less than a preset validity period threshold, the client automatically sends a recharge request to the server. This allows the server to recharge the IoT SIM card with a preset target dormant plan, enabling the IoT SIM card to maintain limited-speed interactive communication at the dormant bandwidth rate of the target dormant plan. The system can detect the reason for the IoT SIM card's offline status and automatically recharge the dormant plan based on the reason for offline status to keep the IoT SIM card working.
[0123] The operation process of the IoT card sleep device in this embodiment is specifically described above. Figure 1 , Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 and Figure 7 The steps S101 to S105, S201 and S202, S301 to S304, S401 and S402, S501, S601 to S605 and S701 and S702 of the IoT card sleep method are not described in detail here.
[0124] Another embodiment of the present invention discloses an IoT card hibernation device, comprising: at least one processor, and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform, for example... Figure 1 Control method steps S101 to S105 Figure 2Control method steps S201 and S202 Figure 3 Control method steps S301 to S304 Figure 4 Control method steps S401 and S402 Figure 5 Control method steps S501 Figure 6 The control method steps S601 to S605 and Figure 7 The IoT card sleep method in steps S701 and S702 of the control method.
[0125] Another embodiment of the present invention discloses a storage medium, the storage medium comprising: storing computer-executable instructions for causing a computer to perform... Figure 1 Control method steps S101 to S105 Figure 2 Control method steps S201 and S202 Figure 3 Control method steps S301 to S304 Figure 4 Control method steps S401 and S402 Figure 5 Control method steps S501 Figure 6 The control method steps S601 to S605 and Figure 7 The IoT card sleep method in steps S701 and S702 of the control method.
[0126] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.
[0127] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media is included in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) and is volatile and non-volatile, removable, and non-removable. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0128] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments, and various changes can be made within the scope of knowledge possessed by those skilled in the art without departing from the spirit of the present invention. Furthermore, the embodiments of the present invention and the features thereof can be combined with each other unless otherwise specified.
Claims
1. A method for putting an IoT card into sleep mode, characterized in that, This is applied to an IoT card system, which includes IoT card devices, a server, and a client, including: The client obtains the current data plan attribute information of the IoT card device to get the current data plan information; wherein, the current data plan information includes: remaining data and remaining validity period; The client monitors the recharge information of the IoT card device in real time according to a preset time interval, wherein the recharge information represents the recharge status of the data plan; If the recharge information indicates that the preset non-dormant package has not been recharged, and the remaining data traffic is less than the preset data traffic threshold or the remaining time validity is less than the preset time validity threshold, the client sends a recharge request to the server so that the server recharges the IoT card device with the preset target dormant package. The IoT card device obtains the bandwidth rate of the target sleep package and gets the sleep bandwidth rate; The IoT card device limits the interactive communication speed based on the dormant bandwidth rate.
2. The IoT card sleep method according to claim 1, characterized in that, The recharge request includes: package identification information and package rule information. The client sends a recharge request to the server so that the server recharges the data package of the IoT card device with a preset target dormant package, including: The client sends the package identification information and the package rule information to the server, so that the server can filter out dormant packages from the data packages according to the package rule information; The server selects the target hibernation package from the hibernation packages based on the package identifier information.
3. The IoT card sleep method according to claim 1, characterized in that, After the IoT card device performs interactive communication rate limiting based on the sleep bandwidth rate, the method further includes: Obtain the updated recharge information; If the updated recharge information indicates that the non-dormant package has been recharged, the IoT card device will stop using the target dormant package; The IoT card device obtains the bandwidth rate corresponding to the non-dormant package to obtain the target bandwidth rate; The IoT card device maintains normal interactive communication according to the target bandwidth rate.
4. The IoT card sleep method according to claim 3, characterized in that, The method further includes: If the recharge information indicates that the non-dormant package has not been recharged, the client restricts the user's access to preset functions; wherein, the preset functions are those functions available under normal use of the client. The client displays a preset data usage exhaustion message; wherein, the data usage exhaustion message indicates that the current data plan has run out of data.
5. The IoT card sleep method according to claim 4, characterized in that, The method further includes: If the recharge information indicates that the non-dormant package has been recharged, the client restores the preset function.
6. The IoT card sleep method according to any one of claims 1 to 5, characterized in that, The method further includes: The client obtains the data plan category currently used by the IoT card device to get the target data plan category; The client obtains the current working status of the IoT card device and gets working status information; wherein, the working status information indicates whether the IoT card device is working; If the working status information indicates that the IoT card device is working, and the target package category is the dormant package, the client displays that the IoT card device is in a dormant state; If the working status information indicates that the IoT card device is working, and the target package category is the non-dormant package, the client displays that the IoT card device is online; If the working status information indicates that the IoT card device is not working, the client displays that the IoT card device is in an offline state.
7. The IoT card sleep method according to claim 6, characterized in that, The method further includes: The client obtains the initial package attribute information of the current data package of the IoT card device, and gets the package data and package validity period; If the target package category is the non-dormant package, the client sets the name information of the data package according to the package data allowance and the package validity period.
8. An Internet of Things (IoT) card system, characterized in that, The IoT card system includes IoT card devices, servers, and clients, including: The client includes: The data plan attribute acquisition module is used to acquire the current data plan attribute information of the IoT card device to obtain the current data plan information; wherein, the current data plan information includes: remaining data and remaining validity period; The recharge information monitoring module is used to monitor the recharge information of the IoT card device in real time according to a preset time interval, wherein the recharge information represents the recharge status of the data package; The recharge request sending module, if the recharge information indicates that the preset non-dormant package has not been recharged, and the remaining traffic is less than a preset traffic threshold or the remaining time is less than a preset time threshold, is used to send a recharge request to the server so that the server recharges the IoT card device with the preset target dormant package. The IoT card device includes: A bandwidth rate acquisition module is used to acquire the bandwidth rate of the target hibernation package and obtain the hibernation bandwidth rate; An interactive communication rate limiting module is used to limit the interactive communication rate based on the sleep bandwidth rate.
9. An IoT card hibernation device, characterized in that, include: At least one processor, and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the IoT card sleep method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the IoT card sleep method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Internet-of-things value-added service management method and device, computer equipment and storage medium
CN110190972A
Internet of Things card monitoring management method, device and equipment
CN110933698A