Internet of things card management method, device, computer equipment, storage medium and computer program product
By analyzing the upload data time and data interaction frequency of the Internet of Things card, determining its usage status and performing corresponding resource transfer operations, the problem of low resource utilization in the existing technology is solved, and precise management and efficient resource utilization of the Internet of Things card are achieved.
Patent Information
- Application Number
- CN202410928791.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-07-11
AI Technical Summary
When handling renewal of IoT cards, the prior art cannot distinguish whether the card is in use, resulting in low resource utilization and inability to targeted management.
By obtaining the upload data time and data interaction frequency of the IoT card, determining its usage status, and performing different resource transfer operations, such as renewal or stop renewal according to different usage statuses.
Accurate management of IoT cards has been achieved, the utilization rate of maintenance resources has been improved, and unnecessary resource waste has been reduced.
Smart Images

Figure CN118469561B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent shared devices, and in particular to an Internet of Things card management method, device, computer equipment, storage medium and computer program product. Background Art
[0002] Shared bicycles, shared electric motorcycles and other shared smart devices are all equipped with communication modules and IoT cards. Different IoT cards have their corresponding policies. For example, different IoT cards have different usable periods. When the usable period expires, the IoT card needs to be renewed before it can be used again.
[0003] In the related art, the renewal process of IoT cards is directly performed on the IoT cards that need to be renewed. However, this method results in renewal regardless of whether the IoT cards are in use. Targeted management of IoT cards cannot be performed, resulting in low utilization of maintenance resources. Summary of the invention
[0004] Based on this, it is necessary to provide an Internet of Things card management method, device, computer equipment, computer-readable storage medium and computer program product that can improve the utilization rate of maintenance resources in response to the above technical problems.
[0005] In a first aspect, the present application provides an Internet of Things card management method. The method comprises:
[0006] Get the current time and the target resource transfer time corresponding to each IoT card;
[0007] Obtain the IoT card to be processed according to the current time and the target resource transfer time;
[0008] According to the serial number corresponding to the IoT card to be processed, obtain the first upload time of the most recent data uploaded by the IoT card to be processed;
[0009] When the time interval between the first upload time and the current time is less than or equal to the first preset time interval, obtaining the second upload time of each data upload by the to-be-processed Internet of Things card within the first preset time period;
[0010] Determine a first data interaction frequency of the Internet of Things card to be processed within a first preset time period according to the second upload time;
[0011] When the first data interaction frequency is greater than or equal to the first preset data interaction frequency, a first resource transfer behavior is performed on the Internet of Things card to be processed.
[0012] In one embodiment, after obtaining the first upload time of the most recent data upload of the Internet of Things card to be processed according to the number corresponding to the Internet of Things card to be processed, the method also includes: when the time interval between the first upload time and the current time is greater than the first preset time interval and less than the second preset time interval, obtaining the third upload time of each data upload by the Internet of Things card to be processed within the second preset time period; determining the second data interaction frequency of the Internet of Things card to be processed within the second preset time period according to the third upload time; and executing a second resource transfer behavior on the Internet of Things card to be processed when the second data interaction frequency is greater than or equal to the second preset data interaction frequency.
[0013] In one embodiment, after executing the second resource transfer behavior on the Internet of Things card to be processed, the method also includes: determining a first remaining time between the current moment and the target resource transfer moment; when the Internet of Things card to be processed uploads data within the first remaining time, and the third data interaction frequency of the uploaded data is greater than the first preset data interaction frequency, adjusting the execution of the second resource transfer behavior on the Internet of Things card to be processed to executing the first resource transfer behavior on the Internet of Things card to be processed.
[0014] In one of the embodiments, after obtaining the first upload time of the most recent data upload of the Internet of Things card to be processed according to the number corresponding to the Internet of Things card to be processed, the method also includes: when the time interval between the first upload time and the current time is greater than or equal to the second preset time interval and less than the third preset time interval, performing a third resource transfer behavior on the Internet of Things card to be processed.
[0015] In one embodiment, after executing the third resource transfer behavior on the Internet of Things card to be processed, the method also includes: determining a second remaining time between the current moment and the target resource transfer moment; when the Internet of Things card to be processed uploads data within the second remaining time, and the fourth data interaction frequency of the uploaded data is greater than the first preset data interaction frequency, the execution of the third resource transfer behavior on the Internet of Things card to be processed is adjusted to the execution of the first resource transfer behavior on the Internet of Things card to be processed.
[0016] In one of the embodiments, after determining the second remaining time between the current moment and the target resource transfer moment, the method also includes: when the Internet of Things card to be processed does not upload data within the second remaining time, executing a third resource transfer behavior on the Internet of Things card to be processed; monitoring whether the Internet of Things card to be processed uploads data within the time period of executing the third resource transfer behavior; when the Internet of Things card to be processed does not upload data within the time period of executing the third resource transfer behavior, executing a fourth resource transfer behavior on the Internet of Things card to be processed.
[0017] In a second aspect, the present application also provides an IoT card management device. The device includes:
[0018] A data acquisition module is used to obtain the current time and the target resource transfer time corresponding to each IoT card;
[0019] The network card determination module is used to obtain the IoT card to be processed according to the current time and the target resource transfer time;
[0020] A first time acquisition module, used to obtain the first upload time of the most recent data uploaded by the to-be-processed Internet of Things card according to the serial number corresponding to the to-be-processed Internet of Things card;
[0021] A second time acquisition module, used for acquiring a second upload time of each data upload by the to-be-processed Internet of Things card within the first preset time period when the time interval between the first upload time and the current time is less than or equal to the first preset time interval;
[0022] An interaction frequency determination module, used to determine a first data interaction frequency of the to-be-processed Internet of Things card within a first preset time period according to the second upload time;
[0023] The execution module is used to execute a first resource transfer behavior on the Internet of Things card to be processed when the first data interaction frequency is greater than or equal to the first preset data interaction frequency.
[0024] In a third aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned method embodiments when executing the computer program.
[0025] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned method embodiments are implemented.
[0026] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned method embodiments are implemented.
[0027] The above-mentioned Internet of Things card management method, device, computer equipment, storage medium and computer program product can effectively and accurately determine the usage status of the Internet of Things card through the time when the Internet of Things card uploads data and the data interaction frequency of the uploaded data. Different resource transfer operations are performed according to the different usage status of the Internet of Things card, so that the Internet of Things card can be managed in a targeted manner and the utilization rate of maintenance resources can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 An application environment diagram of an Internet of Things card management method provided in an embodiment of the present application;
[0029] Figure 2A flowchart of an Internet of Things card management method provided in an embodiment of the present application;
[0030] Figure 3 A flowchart of another method for managing an Internet of Things card provided in an embodiment of the present application;
[0031] Figure 4 This is a structural block diagram of an Internet of Things card management device provided in an embodiment of the present application;
[0032] Figure 5 An internal structure diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0034] The IoT card management method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the Internet of Things card 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server 104 obtains the current time and the target resource transfer time corresponding to each Internet of Things card 102, obtains the Internet of Things card to be processed according to the current time and the target resource transfer time, obtains the first upload time of the Internet of Things card to be processed according to the number corresponding to the Internet of Things card to be processed, and when the time interval between the first upload time and the current time is less than or equal to the first preset time interval, obtains the second upload time of each upload of data by the Internet of Things card to be processed within the first preset time period, determines the first data interaction frequency of the Internet of Things card to be processed within the first preset time period according to the second upload time, and performs the first resource transfer behavior on the Internet of Things card to be processed when the first data interaction frequency is greater than or equal to the first preset data interaction frequency. Among them, the Internet of Things card 102 is set on the terminal, and the terminal can be but not limited to various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable device may be a smart watch, a smart bracelet, a head-mounted device, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0035] In one embodiment, Figure 2 As shown, a method for managing an Internet of Things card is provided, and the method is applied to Figure 1The server in the example is used to illustrate the following steps:
[0036] Step 202, obtaining the current time and the target resource transfer time corresponding to each IoT card.
[0037] Step 204, obtaining the IoT card to be processed according to the current time and the target resource transfer time.
[0038] Among them, the Internet of Things card is a card provided by operators to Internet of Things service companies, which is used for connecting smart terminal devices to the Internet.
[0039] Optionally, the IoT card can be set on a shared device so that the shared device can communicate and interact with the server, so that the server can manage the shared device by managing the IoT card. For example, the shared device can be a shared bicycle, a shared car, a shared motorcycle, etc.
[0040] In one embodiment, the IoT card has a number, and the IoT card can be identified by the number. Optionally, after the IoT card is set on the shared device, the IoT card and the shared device are uniquely set, so that the shared device can be managed through the IoT card.
[0041] Among them, the target resource transfer time is used to represent the time information of the Internet of Things card for resource transfer, for example, the settlement period of the Internet of Things card.
[0042] Optionally, different physical network cards have different target resource transfer times. The server can set the serial number of the Internet of Things card and the target resource transfer time in correspondence, so that when the Internet of Things card needs to be managed, the corresponding target resource transfer time can be determined by the serial number of the Internet of Things card.
[0043] Optionally, the target resource transfer time can be determined according to the settlement date. Exemplarily, the target resource transfer time can be determined according to the settlement date, or according to the settlement date and the floating period. For example, if the settlement date is January 1 of each year, the target resource transfer time can be December 31 of each year, or December of each year, and the floating period is 1 month.
[0044] In one embodiment, the server may use the number to determine the target resource transfer time.
[0045] In one embodiment, after obtaining the current time, the server matches the current time with the target resource transfer time to determine whether the current time meets the target resource transfer time. If so, it can be considered that the corresponding Internet of Things card needs to be processed at this time, and the Internet of Things card is the Internet of Things card to be processed.
[0046] In an optional embodiment, the server can set and store the serial numbers of all the Internet of Things cards of the organization and the target resource transfer time accordingly. After obtaining the current time, the obtained current time is matched with the stored target resource transfer time to determine the Internet of Things card to be processed.
[0047] Step 206, according to the serial number corresponding to the to-be-processed Internet of Things card, obtain the first upload time of the most recent data upload of the to-be-processed Internet of Things card.
[0048] Step 208, when the time interval between the first upload time and the current time is less than or equal to the first preset time interval, obtain the second upload time of each data upload by the to-be-processed Internet of Things card within the first preset time period.
[0049] Step 210: determine a first data interaction frequency of the Internet of Things card to be processed within a first preset time period according to the second upload time.
[0050] Step 212: When the first data interaction frequency is greater than or equal to the first preset data interaction frequency, a first resource transfer behavior is performed on the IoT card to be processed.
[0051] It is understandable that when the IoT card is in frequent use, the data interaction between the IoT card and the server is more frequent, and when the IoT card is infrequently used, the data interaction between the IoT card and the server is less or no data interaction. The usage of the IoT card can be determined based on the data interaction between the IoT card and the server, so as to manage the IoT card based on the usage of the IoT card.
[0052] Optionally, the use state of the IoT card can be determined according to the time when the IoT card uploads data and / or the frequency of data interaction, and different resource transfer behaviors are set accordingly for different use states. Optionally, the time of uploading data includes the moment of uploading data, and the frequency of data interaction of uploading data can be determined according to the moment of uploading data. For example, the number of times data is uploaded within a certain period of time can be determined according to the moment of uploading data, and the frequency of data interaction of uploading data by the IoT card can be determined according to the determined number of times data is uploaded.
[0053] The usage status of the IoT card is used to characterize the frequency of use of the IoT card. Optionally, the usage status of the IoT card may include but is not limited to a high-frequency usage status, a relatively high-frequency usage status, a medium-frequency usage status, a low-frequency usage status, and a disconnected usage status.
[0054] Optionally, the resource transfer behavior may include but is not limited to a first resource transfer behavior, a second resource transfer behavior, a third resource transfer behavior, a fourth resource transfer behavior, and a fifth resource transfer behavior. Exemplarily, the first resource transfer behavior may be annual renewal, the second resource transfer behavior may be semi-annual renewal, the third resource transfer behavior may be quarterly renewal, the fourth resource transfer behavior may be monthly renewal, and the fifth resource transfer behavior may be stop renewal.
[0055] Optionally, the high-frequency usage state corresponds to the first resource transfer behavior, the higher-frequency usage state corresponds to the second resource transfer behavior, the medium-frequency usage state corresponds to the third resource transfer behavior, the low-frequency usage state corresponds to the fourth resource transfer behavior, and the lost-connection usage state corresponds to the fifth resource transfer behavior.
[0056] In one embodiment, when receiving data uploaded by the Internet of Things card, the server records the time of uploading the data and sets the number of the Internet of Things card corresponding to the time of uploading the data, so that the server can obtain the data upload time according to the number when needed.
[0057] In an exemplary embodiment, if the same IoT card uploads data multiple times in the same day, the time when the data is first received can be recorded, and if the data is received again subsequently, the time corresponding to the receipt of the data is no longer recorded. Optionally, the time of each data upload can also be recorded, so that the data interaction frequency of the IoT card can be determined based on the time of data upload.
[0058] Optionally, the server can set the number of the Internet of Things card in correspondence with the time when the Internet of Things card uploads data, and store it, so that when the Internet of Things card is managed later, the corresponding upload time can be obtained according to the number of the Internet of Things card.
[0059] In one embodiment, the usage status of the Internet of Things card can be determined according to the time when the Internet of Things card uploads data.
[0060] Optionally, after determining the IoT card to be processed, obtain the number corresponding to the IoT card to be processed, and use the obtained number corresponding to the IoT card to be processed to obtain the time information of uploading data. Optionally, from the obtained time information of uploading data, obtain the first upload time closest to the current time, and use the first upload time and the current time to manage the IoT card.
[0061] In one embodiment, the time when the IoT card uploads data can be used to determine the usage status of the IoT card. Optionally, the time interval between the first upload time and the current time can be determined. If the time interval is less than or equal to the first preset time interval, it indicates that the IoT card has been used recently, and a corresponding resource transfer operation can be performed on the IoT card, such as performing a first resource transfer operation.
[0062] In one embodiment, the usage status of the Internet of Things card can also be determined according to the data interaction frequency of uploading data by the Internet of Things card.
[0063] Optionally, the second upload time of each data upload by the Internet of Things card within the first preset time period is obtained, and the first data interaction frequency of the data uploaded by the Internet of Things card can be determined according to the second upload time, and the use status of the Internet of Things card can be determined according to the first data interaction frequency, and the corresponding resource transfer behavior can be determined according to the use status. For example, when the first data interaction frequency is greater than or equal to the first preset data interaction frequency, it is considered that the Internet of Things card is often used, and the use status of the Internet of Things card can be considered to be a high-frequency use state, and the first resource transfer operation can be performed on the Internet of Things card. Optionally, the first preset time period can be set according to demand, for example, the first preset time period can be a week previous based on the current time, or the first preset time period can be a week previous based on the first upload time, etc. Optionally, the first data interaction frequency can be determined according to all the second upload times within the first preset time period, or the first data interaction frequency can be determined according to part of the second upload times, and there is no limitation on this.
[0064] In an optional embodiment, the time when the Internet of Things card to be processed uploads data can be determined according to the number of the Internet of Things card to be processed. When the time interval between the first upload time and the current time is less than or equal to the first preset time interval, the first preset time period is obtained, and the time when the Internet of Things card to be processed uploads data within the first preset time period is extracted from the time when the Internet of Things card to be processed uploads data. The extracted time when each Internet of Things card to be processed uploads data within the first preset time period is the second upload time.
[0065] In an optional embodiment, the usage status of the Internet of Things card can be determined in combination with the time interval between the first upload time and the current time, and the first data interaction frequency, and the corresponding resource transfer operation can be determined according to the determined usage status of the Internet of Things card.
[0066] Optionally, a first upload time is obtained, and the time interval between the first upload time and the current time is determined. When the time interval is less than or equal to a first preset time interval, a second upload time for each data upload within the first preset time period is obtained, and a first data interaction frequency for uploading data by the Internet of Things card is determined according to the second upload time. When the first data interaction frequency is greater than or equal to the first preset data interaction frequency, it indicates that the Internet of Things card is frequently used, and the Internet of Things card can be considered to be in a high-frequency usage state. At this time, a first resource transfer behavior can be executed for the Internet of Things card.
[0067] In an optional embodiment, when the time interval between the first upload moment and the current moment is greater than the first preset time interval, it indicates that the current Internet of Things card to be processed may not have been used recently. Then, the data interaction frequency of the Internet of Things card can be further combined to determine the usage status of the current Internet of Things card to be processed, and determine the corresponding resource transfer behavior based on the determined usage status.
[0068] Optionally, when the time interval between the first upload time and the current time of the to-be-processed IoT card is greater than the first preset time interval, it is further determined whether the time interval is less than the second preset time interval. If so, the third upload time of each data upload of the to-be-processed IoT card within the second preset time period can be further obtained, and the second data interaction frequency of the to-be-processed IoT card within the second preset time period is determined according to the third upload time. If the second data interaction frequency is greater than or equal to the second preset interaction frequency, it indicates that the to-be-processed IoT card is in a relatively high-frequency use state, and the corresponding resource transfer behavior can be determined as the second resource transfer behavior according to the relatively high-frequency use state, so as to perform the second resource transfer behavior on the to-be-processed IoT card. Optionally, the first preset time period and the second preset time period are different. Optionally, the second preset time period can be set according to demand, for example, the second preset time period can be the time two weeks before the current time, or the second preset time period can be the time two weeks before the first upload time, etc. Optionally, the second data interaction frequency can be determined according to all the third upload times within the second preset time period, or the second data interaction frequency can be determined according to part of the third upload times, and there is no limitation on this.
[0069] In an optional embodiment, the moment when the Internet of Things card to be processed uploads data can be determined according to the number of the Internet of Things card to be processed. When the time interval between the first upload moment of the Internet of Things card to be processed and the current moment is greater than the first preset time interval and less than the second preset time interval, the second preset time period is obtained, and the moment when the Internet of Things card to be processed uploads data within the second preset time period is extracted from the moment when the Internet of Things card to be processed uploads data. The extracted moment when each Internet of Things card to be processed uploads data within the second preset time period is the third upload moment.
[0070] In an optional embodiment, for an Internet of Things card in a higher frequency usage state, the usage state of the Internet of Things card can be adjusted according to whether data is uploaded within the first remaining time between the current moment and the target resource transfer moment. Optionally, when data is uploaded within the first remaining time, the higher frequency usage state can be adjusted to a high frequency usage state, so that the corresponding resource transfer behavior is determined to be the first resource transfer behavior based on the high frequency usage state. Optionally, when the Internet of Things card to be processed uploads data within the first remaining time, the usage state of the Internet of Things card can be further adjusted in combination with the third data interaction frequency of uploading data by the Internet of Things card to be processed within the first remaining time. Exemplarily, if the third data interaction frequency is greater than the first preset data interaction frequency, the second resource transfer behavior executed on the Internet of Things card to be processed is adjusted to the first resource transfer behavior executed on the Internet of Things card to be processed.
[0071] In an optional embodiment, when the time interval between the first upload moment and the current moment is greater than or equal to the second preset time interval, and less than the third preset time interval, it can be considered that the Internet of Things card to be processed is in a medium frequency usage state. According to the determined medium frequency usage state, the corresponding resource transfer behavior is determined to be a third resource transfer behavior, and the third resource transfer behavior is executed on the Internet of Things card to be processed.
[0072] Optionally, for the pending IoT card in the medium frequency use state, the use state of the IoT card can be adjusted according to whether the pending IoT card uploads data within the second remaining time. Optionally, the second remaining time can be the remaining time between the current moment and the target resource transfer moment. It can be understood that the first remaining time and the second remaining time are set to reflect the parallel scheme.
[0073] Optionally, when the to-be-processed IoT card in the medium frequency usage state is received to upload data in the second remaining time, it can be further determined whether to adjust the resource transfer behavior of the to-be-processed IoT card according to the fourth data interaction frequency of the IoT card uploading data in the second remaining time. Optionally, when the fourth data interaction frequency of the uploaded data is greater than or equal to the second preset data interaction frequency, the usage state of the to-be-processed IoT card in the medium frequency usage state can be adjusted to a higher frequency usage state, and the corresponding resource transfer behavior obtained according to the higher frequency usage state is the second resource transfer behavior, and the second resource transfer behavior is executed on the to-be-processed IoT card.
[0074] Optionally, within the second remaining time, if the fourth data interaction frequency of the uploaded data of the Internet of Things card to be processed in the medium frequency usage state is greater than or equal to the first preset data interaction frequency, the usage state of the Internet of Things card to be processed in the medium frequency usage state can be adjusted to a high frequency usage state, and the corresponding resource transfer behavior is obtained as the first resource transfer behavior according to the high frequency usage state, and the first resource transfer behavior is executed on the Internet of Things card to be processed.
[0075] In an optional embodiment, if the pending network card in the medium frequency use state does not upload data within the second remaining time, the use state of the pending Internet of Things card can be adjusted from the medium frequency use state to the low frequency use state, and the corresponding resource transfer behavior is determined to be the fourth resource transfer behavior according to the low frequency use state, and the fourth resource transfer behavior is executed on the pending Internet of Things card. Optionally, if the pending network card in the medium frequency use state does not upload data within the second remaining time, the medium frequency use state is maintained, and the third resource transfer behavior is continued to be executed on the pending Internet of Things card, and it is monitored whether the pending Internet of Things card uploads data during the time period of executing the third resource transfer behavior. If no data is uploaded, the fourth resource transfer behavior is executed on the pending Internet of Things card.
[0076] In an optional embodiment, for an IoT card in a low-frequency usage state, it is possible to monitor whether the IoT card to be processed has uploaded data within the time period corresponding to the fourth resource transfer behavior, obtain different usage states based on whether data has been uploaded, and determine the corresponding resource transfer behavior based on the different usage states.
[0077] Among them, the time period corresponding to the resource transfer behavior is used to characterize the time period for executing the resource transfer behavior. Exemplarily, the fourth resource transfer behavior can be renewed on a monthly basis, then the time period corresponding to the fourth resource transfer behavior is the renewal month of renewal. For example, the fourth resource transfer behavior is executed on the processed Internet of Things card in March, then the time period corresponding to the fourth resource transfer behavior is March.
[0078] Optionally, if no data is uploaded within the time period corresponding to the fourth resource transfer behavior, the low-frequency usage state is changed to the lost usage state, and the resource transfer behavior corresponding to the lost usage state is the fifth resource transfer behavior, and the fifth resource transfer behavior is executed for the IoT card to be processed.
[0079] Optionally, if data is uploaded within the time period corresponding to the third resource transfer behavior, the use status of the Internet of Things card can be determined based on the data interaction frequency of the uploaded data, and the corresponding resource transfer behavior can be determined based on the use status of the Internet of Things card. Optionally, the fourth upload time of each data upload by the Internet of Things card to be processed within the time period corresponding to the third resource transfer behavior is obtained, and the fifth data interaction frequency of the uploaded data is determined based on the fourth upload time. Optionally, when the fifth data interaction frequency of the uploaded data is greater than or equal to the third preset data interaction frequency, the low-frequency use state can be adjusted to the medium-frequency use state; when the fifth data interaction frequency of the uploaded data is less than the third preset data interaction frequency and greater than or equal to the fourth preset data interaction frequency, the low-frequency use state can be maintained. Optionally, the fifth data interaction frequency of the uploaded data within the time period corresponding to the third resource transfer behavior can be determined based on all fourth upload times within the time period corresponding to the third resource transfer behavior, or the fifth data interaction frequency of the uploaded data within the time period corresponding to the third resource transfer behavior can be determined based on part of the fourth upload times, without limitation.
[0080] In an optional embodiment, when the time interval between the first upload moment and the current moment is greater than or equal to a third preset time interval, it is considered that the Internet of Things card to be processed is in a lost use state, and the corresponding resource transfer behavior is determined as the fifth resource transfer behavior based on the lost use state, and the fifth resource transfer behavior is executed on the Internet of Things card to be processed.
[0081] Optionally, the first preset time interval, the second preset time interval and the third preset time interval can be set according to requirements, and are not limited thereto. For example, the first preset time interval is one month, the second preset time interval is half a year, and the third preset time interval is one year.
[0082] In an optional embodiment, all Internet of Things cards are obtained to determine whether there are any unused Internet of Things cards among all the Internet of Things cards. If so, an alarm message can be generated based on the unused Internet of Things cards to prompt the user to process the unused Internet of Things cards.
[0083] Optionally, for an unused IoT card, a third resource transfer behavior may be performed when the target resource transfer time is reached for the first time, and monitoring is performed to determine whether the card has not been used when the target resource transfer time is reached for the second time. If so, an alarm message is generated, or a fourth resource transfer behavior is performed on the IoT card.
[0084] In the above-mentioned Internet of Things card management method, the usage of the Internet of Things card is determined according to the time when the Internet of Things card uploads data and the data interaction frequency of the uploaded data, and different resource transfer operations are performed on the Internet of Things card according to different usage conditions. The usage status of the Internet of Things card can be effectively and accurately determined by the time when the Internet of Things card uploads data and the data interaction frequency of the uploaded data. Different resource transfer operations are performed according to the different usage status of the Internet of Things card, so that the Internet of Things card can be managed in a targeted manner, the waste of maintenance resources can be reduced, and the utilization rate of maintenance resources can be improved.
[0085] In one embodiment, Figure 3 As shown, a method for managing an Internet of Things card is provided, and the method is applied to Figure 1 The server in the example is used to illustrate the following steps:
[0086] Step 302, obtaining the current time and the target resource transfer time corresponding to each IoT card.
[0087] Step 304, obtaining the IoT card to be processed according to the current time and the target resource transfer time.
[0088] Step 306: Obtain the first upload time of the most recent data upload of the Internet of Things card to be processed according to the serial number corresponding to the Internet of Things card to be processed.
[0089] Step 308 , determining whether the time interval between the first upload time and the current time is less than or equal to the first preset time interval, if so, executing step 310 , if not, executing step 318 .
[0090] Step 310, obtaining the second upload time of each data upload by the to-be-processed Internet of Things card within the first preset time period.
[0091] Step 312: determine a first data interaction frequency of the Internet of Things card to be processed within a first preset time period according to the second upload time.
[0092] Step 314 , determining whether the first data interaction frequency is greater than or equal to the first preset data interaction frequency, if so, executing step 316 , if not, executing step 326 .
[0093] Step 316: Execute a first resource transfer behavior on the IoT card to be processed.
[0094] Step 318 , determining whether the time interval is less than a second preset time interval, if so, executing step 320 , if not, executing step 328 .
[0095] Step 320, obtaining a third upload time of each data upload by the to-be-processed Internet of Things card within the second preset time period.
[0096] Step 322: determine a second data interaction frequency of the Internet of Things card to be processed within a second preset time period according to the third upload time.
[0097] Step 324 , determining whether the second data interaction frequency is greater than or equal to the second preset data interaction frequency, if so, executing step 326 , if not, executing step 330 .
[0098] Step 326, executing a second resource transfer behavior on the IoT card to be processed.
[0099] Step 328 , determining whether the time interval is less than a third preset time interval, if so, executing step 330 , if not, executing step 340 .
[0100] Step 330: Execute a third resource transfer behavior on the IoT card to be processed.
[0101] Step 332: determine a second remaining time between the current time and the target resource transfer time.
[0102] Step 334, determine whether the IoT card to be processed uploads data within the second remaining time, and the fourth data interaction frequency of the uploaded data is greater than the first preset data interaction frequency. If so, execute step 316, if not, execute step 336.
[0103] Step 336, keep executing the third resource transfer behavior on the IoT card to be processed, and monitor whether the IoT card to be processed uploads data during the time period of executing the third resource transfer behavior. If so, execute step 330, if not, execute step 338.
[0104] Step 338, executing the fourth resource transfer behavior for the IoT card to be processed.
[0105] Step 340: Execute the fifth resource transfer behavior on the IoT card to be processed.
[0106] In the above embodiment, the usage status of the Internet of Things card can be effectively and accurately determined through the time when the Internet of Things card uploads data and the data interaction frequency of the uploaded data. Different resource transfer operations are performed according to the different usage status of the Internet of Things card, so that the Internet of Things card can be managed in a targeted manner and the utilization rate of maintenance resources can be improved.
[0107] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0108] Based on the same inventive concept, the embodiment of the present application also provides an Internet of Things card management device for implementing the Internet of Things card management method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more Internet of Things card management device embodiments provided below can refer to the limitations of the Internet of Things card management method above, and will not be repeated here.
[0109] In one embodiment, Figure 4 As shown, an Internet of Things card management device 400 is provided, including: a data acquisition module 402, a network card determination module 404, a first time acquisition module 406, a second time acquisition module 408, an interaction frequency determination module 410 and an execution module 412, wherein:
[0110] The data acquisition module 402 is used to obtain the current time and the target resource transfer time corresponding to each Internet of Things card.
[0111] The network card determination module 404 is used to obtain the Internet of Things card to be processed according to the current time and the target resource transfer time.
[0112] The first time acquisition module 406 is used to obtain the first upload time of the latest uploaded data of the to-be-processed Internet of Things card according to the serial number corresponding to the to-be-processed Internet of Things card.
[0113] The second time acquisition module 408 is used to acquire the second upload time of each data upload by the to-be-processed Internet of Things card within the first preset time period when the time interval between the first upload time and the current time is less than or equal to the first preset time interval.
[0114] The interaction frequency determination module 410 is used to determine the first data interaction frequency of the to-be-processed Internet of Things card within a first preset time period according to the second upload time.
[0115] The execution module 412 is used to execute a first resource transfer behavior on the IoT card to be processed when the first data interaction frequency is greater than or equal to the first preset data interaction frequency.
[0116] In one embodiment, the execution module 412 is also used to obtain a third upload time for each data upload by the Internet of Things card to be processed within a second preset time period when the time interval between the first upload time and the current time is greater than a first preset time interval and less than a second preset time interval; determine a second data interaction frequency of the Internet of Things card to be processed within the second preset time period based on the third upload time; and execute a second resource transfer behavior on the Internet of Things card to be processed when the second data interaction frequency is greater than or equal to the second preset data interaction frequency.
[0117] In one embodiment, the execution module 412 is also used to determine a first remaining time between the current moment and the target resource transfer moment; when the Internet of Things card to be processed uploads data within the first remaining time, and the third data interaction frequency of the uploaded data is greater than the first preset data interaction frequency, the second resource transfer behavior executed on the Internet of Things card to be processed is adjusted to the first resource transfer behavior executed on the Internet of Things card to be processed.
[0118] In one of the embodiments, the execution module 412 is further used to execute a third resource transfer behavior on the IoT card to be processed when the time interval between the first upload time and the current time is greater than or equal to the second preset time interval and less than the third preset time interval.
[0119] In one embodiment, the execution module 412 is also used to determine the second remaining time between the current moment and the target resource transfer moment; when the Internet of Things card to be processed uploads data within the second remaining time, and the fourth data interaction frequency of the uploaded data is greater than the first preset data interaction frequency, the third resource transfer behavior executed on the Internet of Things card to be processed is adjusted to the first resource transfer behavior executed on the Internet of Things card to be processed.
[0120] In one of the embodiments, the execution module 412 is also used to execute a third resource transfer behavior on the Internet of Things card to be processed when the Internet of Things card to be processed does not upload data within the second remaining time; monitor whether the Internet of Things card to be processed uploads data within the time period of executing the third resource transfer behavior; when the Internet of Things card to be processed does not upload data within the time period of executing the third resource transfer behavior, execute a fourth resource transfer behavior on the Internet of Things card to be processed.
[0121] Each module in the above-mentioned IoT card management device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0122] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for managing an Internet of Things card is implemented.
[0123] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0124] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above-mentioned method embodiments when executing the computer program.
[0125] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method embodiments are implemented.
[0126] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the above-mentioned method embodiments when executed by a processor.
[0127] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0128] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0129] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0130] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for managing an Internet of Things card, characterized in that: The method comprises: Obtain the current time and the target resource transfer time corresponding to each of the Internet of Things cards; the target resource transfer time is used to represent the time information of the Internet of Things card performing resource transfer; Obtaining the Internet of Things card to be processed according to the current time and the target resource transfer time; According to the serial number corresponding to the to-be-processed Internet of Things card, the first upload time of the most recent data upload of the to-be-processed Internet of Things card is obtained; the serial number is used to uniquely identify the Internet of Things card; When the time interval between the first upload time and the current time is less than or equal to the first preset time interval, obtaining the second upload time of each data upload by the to-be-processed Internet of Things card within the first preset time period; Determine a first data interaction frequency of the to-be-processed Internet of Things card within the first preset time period according to the second upload time; When the first data interaction frequency is greater than or equal to a first preset data interaction frequency, performing a first resource transfer behavior on the to-be-processed Internet of Things card; When the time interval between the first upload time and the current time is greater than the first preset time interval and less than the second preset time interval, obtaining a third upload time of each data upload by the to-be-processed Internet of Things card within the second preset time period; Determine a second data interaction frequency of the to-be-processed Internet of Things card within the second preset time period according to the third upload time; When the second data interaction frequency is greater than or equal to a second preset data interaction frequency, performing a second resource transfer behavior on the to-be-processed Internet of Things card; After performing the second resource transfer behavior on the to-be-processed Internet of Things card, the method further includes: Determine a first remaining time between the current moment and the target resource transfer moment; When the Internet of Things card to be processed uploads data within the first remaining time, and the third data interaction frequency of the uploaded data is greater than the first preset data interaction frequency, the second resource transfer behavior executed on the Internet of Things card to be processed is adjusted to executing the first resource transfer behavior on the Internet of Things card to be processed; the third data interaction frequency is determined according to the time when the data is uploaded within the first remaining time period.
2. The method according to claim 1, characterized in that After obtaining the first upload time of the most recent data upload of the to-be-processed Internet of Things card according to the serial number corresponding to the to-be-processed Internet of Things card, the method further includes: When the time interval between the first upload moment and the current moment is greater than or equal to the second preset time interval and less than a third preset time interval, a third resource transfer behavior is performed on the Internet of Things card to be processed.
3. The method according to claim 2, characterized in that After performing the third resource transfer behavior on the to-be-processed Internet of Things card, the method further includes: Determine a second remaining time between the current moment and the target resource transfer moment; When the Internet of Things card to be processed uploads data within the second remaining time, and the fourth data interaction frequency of the uploaded data is greater than the first preset data interaction frequency, the third resource transfer behavior executed on the Internet of Things card to be processed is adjusted to executing the first resource transfer behavior on the Internet of Things card to be processed; the fourth data interaction frequency is determined according to the moment of uploading data within the second remaining time period.
4. The method according to claim 3, characterized in that After determining the second remaining time between the current moment and the target resource transfer moment, the method further includes: When the to-be-processed Internet of Things card does not upload data within the second remaining time, continuing to perform a third resource transfer behavior on the to-be-processed Internet of Things card; Monitoring whether the to-be-processed Internet of Things card uploads data during a time period of executing the third resource transfer behavior; When the Internet of Things card to be processed does not upload data within the time period of executing the third resource transfer behavior, a fourth resource transfer behavior is executed on the Internet of Things card to be processed.
5. An Internet of Things card management device, characterized in that: The device comprises: A data acquisition module, used to acquire the current time and the target resource transfer time corresponding to each of the IoT cards; the target resource transfer time is used to represent the time information of the IoT card performing resource transfer; A network card determination module, used to obtain the Internet of Things card to be processed according to the current time and the target resource transfer time; A first time acquisition module, used for acquiring the first upload time of the most recent data upload of the to-be-processed Internet of Things card according to the serial number corresponding to the to-be-processed Internet of Things card; the serial number is used to uniquely identify the Internet of Things card; A second time acquisition module, used for acquiring a second upload time of each data upload by the to-be-processed Internet of Things card within a first preset time period when the time interval between the first upload time and the current time is less than or equal to a first preset time interval; An interaction frequency determination module, used to determine a first data interaction frequency of the to-be-processed Internet of Things card within the first preset time period according to the second upload time; An execution module, configured to execute a first resource transfer behavior on the to-be-processed Internet of Things card when the first data interaction frequency is greater than or equal to a first preset data interaction frequency; The execution module is also used to, when the time interval between the first upload time and the current time is greater than the first preset time interval and less than the second preset time interval, obtain a third upload time for each data upload by the to-be-processed Internet of Things card within a second preset time period; determine a second data interaction frequency of the to-be-processed Internet of Things card within the second preset time period according to the third upload time; when the second data interaction frequency is greater than or equal to the second preset data interaction frequency, execute a second resource transfer behavior on the to-be-processed Internet of Things card; determine a first remaining time between the current time and the target resource transfer time; when the to-be-processed Internet of Things card uploads data within the first remaining time and the third data interaction frequency of the uploaded data is greater than the first preset data interaction frequency, adjust the execution of the second resource transfer behavior on the to-be-processed Internet of Things card to the execution of the first resource transfer behavior on the to-be-processed Internet of Things card; the third data interaction frequency is determined according to the time of uploading data within the first remaining time period.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Information pushing method and device, storage medium and electronic equipment
CN114722278A
Medical instrument operation management system and method based on automation
CN118197588A