CN112995985A - SIM card state information updating method and device and server - Google Patents

SIM card state information updating method and device and server Download PDF

Info

Publication number
CN112995985A
CN112995985A CN201911310465.6A CN201911310465A CN112995985A CN 112995985 A CN112995985 A CN 112995985A CN 201911310465 A CN201911310465 A CN 201911310465A CN 112995985 A CN112995985 A CN 112995985A
Authority
CN
China
Prior art keywords
sim card
card
frozen state
idle
frozen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911310465.6A
Other languages
Chinese (zh)
Other versions
CN112995985B (en
Inventor
刘珍慧
龚智辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Youke Yunlian Technology Co ltd
Original Assignee
Shenzhen Youke Yunlian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Youke Yunlian Technology Co ltd filed Critical Shenzhen Youke Yunlian Technology Co ltd
Priority to CN201911310465.6A priority Critical patent/CN112995985B/en
Priority to PCT/CN2020/136032 priority patent/WO2021121176A1/en
Publication of CN112995985A publication Critical patent/CN112995985A/en
Application granted granted Critical
Publication of CN112995985B publication Critical patent/CN112995985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/30Network data restoration; Network data reliability; Network data fault tolerance

Abstract

The application is applicable to the technical field of SIM cards, and provides an updating method, an updating device, a server and a computer-readable storage medium of SIM card state information, wherein the updating method of the SIM card state information is applied to the server and comprises the following steps: receiving SIM card release information sent by a first user terminal; according to the SIM card release information, marking the SIM card corresponding to the SIM card release information as an idle card in a frozen state; the free card in the frozen state is used for indicating the server to confirm the free card in the frozen state as the SIM card which cannot be allocated, so that the SIM card cannot be called by different devices in a short time, and the technical problem that the SIM card which is normally used is mistakenly judged as the SIM card which is abnormally used by an operator, so that the SIM card is stopped and loss is brought to a cloud card operator is solved.

Description

SIM card state information updating method and device and server
Technical Field
The present application belongs to the technical field of SIM cards, and in particular, to a method, an apparatus, and a server for updating SIM card status information.
Background
A Subscriber Identity Module (SIM) card refers to a smart card used by a user terminal, in which user identity identification data, an authentication algorithm, a secret key, and the like are stored, and is used to identify and authenticate the user terminal before the user terminal accesses a communication network. If the user terminal fixedly uses one SIM card, the problems of poor signal, high roaming cost and the like easily occur.
To solve these problems, the cloud SIM card technology has been developed. The cloud SIM card technology is that a large number of SIM cards are stored and managed on a server in a centralized mode, and the SIM cards are shared and used on different devices according to a real-time SIM card allocation method.
However, in the conventional cloud SIM card technology, the SIM card may be called by different devices at a longer distance in a short time, which causes the SIM card normally used to be misjudged as the SIM card abnormally used by the operator, and further causes the SIM card to be disabled, thereby causing a loss to the cloud operator.
Disclosure of Invention
The embodiment of the application provides an updating method, an updating device, a server and a computer-readable storage medium of SIM card state information, which can solve the technical problem that a normally used SIM card is judged as an abnormally used SIM card by an operator by mistake, so that the SIM card is stopped and loss is brought to a cloud card operator.
A first aspect of the embodiments of the present application provides a method for updating SIM card status information, which is applied to a server, and includes:
receiving SIM card release information sent by a first user terminal;
according to the SIM card release information, marking the SIM card corresponding to the SIM card release information as an idle card in a frozen state; the free card in the frozen state is used for indicating the server to confirm the free card in the frozen state as the SIM card which cannot be allocated.
A second aspect of the present application provides an apparatus for updating SIM card status information, configured in a server, including:
the receiving unit is used for receiving SIM card release information sent by the first user terminal;
the updating unit is used for marking the SIM card corresponding to the SIM card release information as an idle card in a frozen state according to the SIM card release information; the free card in the frozen state is used for indicating the server to confirm the free card in the frozen state as the SIM card which cannot be allocated.
A third aspect of the embodiments of the present application provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the above method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
In a fifth aspect, embodiments of the present application provide a computer program product, which when run on a terminal device, causes the terminal device to perform the steps of the method.
In the embodiment of the application, SIM card release information sent by a first user terminal is received, and an SIM card corresponding to the SIM card release information is marked as an idle card in a frozen state; enabling the first user terminal to just release the idle card marked as the frozen state of the SIM card in the near future; because the idle card in the frozen state is the SIM card which is considered by the server to be unallocated, when the server receives the SIM card allocation request sent by the second user terminal, the SIM card which is just released by the first user terminal and is in the near future is not allocated to the second user terminal, so that the SIM card is not called by different devices which are far away in a short time, and the problem that the normally used SIM card is misjudged as the abnormally used SIM card by an operator is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of interaction between a user terminal and a server according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a first implementation flow of a method for updating SIM card status information according to an embodiment of the present application;
fig. 3 is a schematic flowchart of an implementation process of an idle card that marks an idle card in a frozen state as a non-frozen state according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an implementation flow of step 301 provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of a first implementation flow of a SIM card allocation method provided in an embodiment of the present application;
fig. 6 is a schematic flowchart of a second implementation of a SIM card allocation method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus for updating SIM card status information according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
A Subscriber Identity Module (SIM) card refers to a smart card used by a user terminal, in which user identity identification data, an authentication algorithm, a secret key, and the like are stored, and is used to identify and authenticate the user terminal before the user terminal accesses a communication network. If the user terminal fixedly uses one SIM card, the problems of poor signal, high roaming cost and the like easily occur.
To solve these problems, the cloud SIM card technology has been developed. The cloud SIM card technology is that a large number of SIM cards are stored and managed on a server in a centralized mode, and the SIM cards are shared and used on different devices according to a real-time SIM card allocation method.
However, in the conventional cloud SIM card technology, the SIM card may be called by different devices at a longer distance in a short time, which causes the SIM card normally used to be misjudged as the SIM card abnormally used by the operator, and further causes the SIM card to be disabled, thereby causing a loss to the cloud operator.
For example, one SIM card is just allocated to one user terminal of Shenzhen for use, and registers the Shenzhen mobile network; after 1 minute, the card is again assigned to a user terminal in Beijing and registered with the Beijing mobile network. Normally, a user terminal cannot move from shenzhen to beijing within 1 minute, so the operator misjudges the normally used SIM card as an abnormally used SIM card and deactivates the SIM card.
Based on this, the embodiment of the application provides an updating method, an updating device, a server and a computer-readable storage medium for SIM card status information, which can solve the technical problem that a normally used SIM card is misjudged by an operator as an abnormally used SIM card, so that the SIM card is deactivated and loss is brought to a cloud card operator.
In order to explain the technical means of the present application, the following description will be given by way of specific examples.
Fig. 1 shows a schematic diagram of interaction between a user terminal and a server provided by an embodiment of the present application. The user terminal 11 may send a SIM card assignment request to the server 13 through the mobile communication network or other network (e.g., WIFI network) 12; after receiving the SIM card allocation request sent by the user terminal 11, the server 13 may allocate an idle card in a non-frozen state to the user terminal 11; after the SIM card is successfully assigned, the user terminal 11 may register a network with the operator, and then access the communication network. After the user terminal 11 finishes using the SIM card, the SIM card may be released and SIM card release information may be sent to the server 13 through the mobile communication network or other network 12; the server 13 may update the usage status of the SIM card according to the update method of the SIM card status information provided in the present application after receiving the SIM card release information sent by the user terminal 11.
Specifically, the user terminal 11 may include a device capable of using a cloud SIM card, and the device may download information of the SIM card allocated by the server and complete authentication of an operator, so as to access the communication network. The server 13 may include a card loading device 131, a database 132, and a SIM card scheduling system 133; the card loading device 131 is a carrier device of a SIM card, and is configured to read information of the SIM card and upload the information of the SIM card to the database 132; the database 132 is used for managing the state of the SIM card, storing basic information of the SIM card, storing package flow charging information, recording historical distribution information of the SIM card, and the like; SIM card scheduling system 133 is used to perform SIM card allocation and scheduling.
Fig. 2 shows a schematic flow chart of an implementation of a method for updating SIM card status information according to an embodiment of the present application, where the method is applicable to the server shown in fig. 1, and is executed by an updating apparatus configured on the server for updating SIM card status information, and is suitable for solving a problem that a normally used SIM card is erroneously determined by an operator as an abnormally used SIM card, so that the SIM card is deactivated and a loss is caused to a cloud card operator. The SIM card assignment method may include steps 201 to 202.
Step 201, receiving SIM card release information sent by a first user terminal.
The SIM card release information is information sent to the server by the first user terminal when releasing the SIM card corresponding to the SIM card release information, and the SIM card release information is used for indicating the server to update the use state of the SIM card corresponding to the SIM card release information.
In some embodiments of the present application, the SIM card release information may include information such as SIM card attribution authority information, user terminal equipment identification information, allocation country information, release time information, and release location information.
Step 202, according to the SIM card release information, marking the SIM card corresponding to the SIM card release information as an idle card in a frozen state.
Generally, after receiving SIM card release information sent by a first user terminal, a server marks an SIM card corresponding to the SIM card release information as an idle card; at this time, if the second user terminal far away from the first terminal sends an SIM card assignment request to the server, the server may assign the SIM card to the second user terminal, which may further cause the SIM card to be erroneously determined by the operator as an abnormally used SIM card.
In the embodiment of the application, after receiving the SIM card release information sent by the first user terminal, the server may mark the SIM card corresponding to the SIM card release information as an idle card in a frozen state; the free card in the frozen state is used for indicating the server to confirm the free card in the frozen state as the SIM card which cannot be allocated, namely, any second user terminal sends an SIM card allocation request to the server, and the server cannot allocate the SIM card to the second user terminal, so that the SIM card is prevented from being misjudged as the SIM card which is abnormally used by an operator.
It should be noted that, when the SIM card is assigned to the second user terminal again after the idle card marked as the frozen state reaches a certain time, because the time is sufficiently long from the time point of the last release, the situation that the SIM card is judged as the abnormally-used SIM card by the operator will not occur, in some embodiments of the present application, the server may perform real-time monitoring or timing scanning on the SIM card state information stored in the database, and when the cumulative duration of the usage state of the idle card in the frozen state being updated to the frozen state reaches the frozen duration at which the SIM card needs to be frozen, the idle card in the frozen state may be marked as the idle card in the non-frozen state, so that the SIM card may be assigned again.
Specifically, as shown in fig. 3, after the SIM card corresponding to the SIM card release information is marked as the idle card in the frozen state according to the SIM card release information, the method includes: step 301 to step 302.
Step 301, obtaining the freezing time length of the SIM card needing to be frozen.
Step 302, when the accumulated time length of the usage state of the SIM card updated to the frozen state reaches the frozen time length of the SIM card needing to be frozen, marking the SIM card as an idle card in a non-frozen state.
The time length of the SIM card to be frozen refers to the time length that needs to pass between the last time the SIM card is released and the time when the SIM card can be allocated again.
In some embodiments of the present application, the server may mark the SIM card whose usage status is updated to the frozen status for a cumulative duration that reaches a frozen duration for which the SIM card needs to be frozen as an idle card in a non-frozen status; the idle card in the non-frozen state is used for indicating the server to confirm the idle card in the non-frozen state as the allocable SIM card.
When the accumulated time length for updating the use state of the SIM card to the frozen state reaches the frozen time length for which the SIM card needs to be frozen, it indicates that the SIM card has been released for a sufficiently long time, and therefore, if the SIM card is assigned to the second user terminal, the SIM card is not misjudged by the operator as an abnormally used SIM card, that is, the SIM card may be assigned again.
It should be noted that, if the release information of the SIM card carries the release position of the SIM card, the freezing time period for which the SIM card needs to be frozen may be calculated according to the release position of the SIM card carried in the release information of the SIM card.
Specifically, as shown in fig. 4, in some embodiments of the present application, the acquiring a freezing duration that the SIM card needs to be frozen may include: step 401 to step 403.
Step 401, obtaining a release position of the SIM card carried in the SIM card release information.
In step 402, the maximum value of the distance between the release position of the SIM card and the position where the SIM card is likely to be used next time is calculated.
For example, when the server allocates the same province of SIM cards to the user terminal each time, the maximum value of the distance between the release position of the SIM card calculated by the SIM card in shenzhen city and the position of the SIM card that can be used next time is the maximum value of the distance between shenzhen city and any point on the whole boundary line in Guangdong province.
And 403, calculating the freezing time length of the SIM card which needs to be frozen according to the maximum value of the distance between the release position of the SIM card and the position where the SIM card can be used next time.
In some embodiments of the present application, the server may calculate a maximum value of a distance between a release position of the SIM card and a position where the SIM card may be used next time, where the larger the maximum value of the distance between the release position of the SIM card and the position where the SIM card may be used next time is, it indicates that a longer time is required to ensure that the SIM card is not erroneously determined as an abnormally used SIM card by an operator, and therefore, the longer the calculated freezing time period for which the SIM card needs to be frozen is; the smaller the maximum value of the distance between the release position of the SIM card and the position of the SIM card that may be used next time is, the shorter time is required to ensure that the SIM card is not misjudged as an abnormally used SIM card by the operator, and therefore, the shorter the freezing time period during which the calculated SIM card needs to be frozen is.
Specifically, the calculating a freezing time period for which the SIM card needs to be frozen according to a maximum distance between the release position of the SIM card and a position where the SIM card is likely to be used next time may include: calculating the freezing time length of the SIM card needing to be frozen according to the F ═ a × L; f represents the freezing time length of the SIM card needing to be frozen; l represents the maximum value of the distance between the release position of the SIM card and the position where the SIM card is likely to be used next time; and a is a parameter set by an SIM card operator according to actual application.
In the embodiment of the application, the freezing time length of the SIM card which needs to be frozen is calculated according to the maximum value of the distance between the release position of the SIM card and the position of the SIM card which is likely to be used next time, so that the SIM card can be ensured not to be judged by an operator as an abnormally-used SIM card, and meanwhile, the freezing time length of the SIM card which needs to be frozen can be dynamically adjusted according to different release positions of the SIM card instead of fixedly setting the same and longer freezing time length for the SIM card (for example, the freezing time length is the maximum value of the distances between the release positions of all the SIM cards and the position of the SIM card which is likely to be used next time), the time length between the last time when the SIM card is released and the time when the SIM card can be allocated again is shortened, and the utilization rate of the SIM card is improved.
In some embodiments of the present application, the acquiring a freezing duration that the SIM card needs to be frozen may further include: and calculating the freezing time length of the SIM card which needs to be frozen according to the area information of the distribution area where the release position of the SIM card is carried in the SIM card release information.
Wherein, the area information may include: area size of the region, span of the region boundary, etc.
It should be noted that the larger the area of the area is, the longer time is required to ensure that the SIM card cannot be mistakenly judged as an abnormally used SIM card by an operator, and therefore, the longer the freezing time required for the calculated SIM card to be frozen is; similarly, the larger the area boundary span is, the longer time is required to ensure that the SIM card cannot be mistakenly judged as an abnormally used SIM card by the operator, and therefore, the longer the freezing time required for the calculated SIM card to be frozen is.
Moreover, because the freezing time length of the SIM card that needs to be frozen is calculated according to the area information of the distribution area where the release position of the SIM card carried in the release information of the SIM card is located, the freezing time lengths of the SIM cards in the same distribution area that need to be frozen after being released are the same.
For example, when the server allocates the SIM card of the same province to the user terminal each time, the freezing duration of the SIM card with the release location of guangzhou and the freezing duration of the SIM card with the release location of shenzhen, which need to be frozen after releasing, are the same; the freezing time length of the SIM card with the release position of Shenzhen, which needs to be frozen after release, is different from that of the SIM card with the release position of Beijing, and the area and the boundary span of Guangdong province are larger than those of Beijing, so that the freezing time length of the SIM card with the release position of Shenzhen, which needs to be frozen after release, is longer than that of the SIM card with the release position of Beijing.
In the embodiment of the application, the SIM card is marked as an idle card in a non-frozen state by acquiring the freezing time length of the SIM card which needs to be frozen and when the accumulated time length of the use state of the SIM card which is updated to the freezing state reaches the freezing time length of the SIM card which needs to be frozen; the server can distribute the SIM card to the second user terminal, and multiple distribution of the same SIM card is realized.
In some embodiments of the present application, as shown in fig. 5, the server may assign a free card in a non-frozen state to the second user terminal; specifically, step 501 to step 503 may be included.
The second user terminal may include a first user terminal.
Step 501, receiving a SIM card allocation request sent by a second user terminal.
Step 502, searching the SIM card status information stored in the database of the server according to the SIM card allocation request, and determining whether the server has an idle card in a non-frozen state.
And 503, if the server has the idle card in the non-frozen state, allocating the idle card in the non-frozen state to the second user terminal.
The SIM card allocation request carries position information of a second user terminal; the location information may comprise latitude and longitude information of the second user terminal or location information of the base station.
Specifically, when the second user terminal sends an SIM card allocation request to the server through the mobile communication network or another network, if the second user terminal supports a Global Positioning System (GPS), the latitude and longitude information of the second user terminal may be obtained through the GPS, and the SIM card allocation request carries the latitude and longitude information of the second user terminal; if the second user terminal does not support the global positioning system, the location information of the base station can be obtained in the process of searching the network by the second user terminal, and the location information of the base station is carried in the SIM card allocation request.
The Location information of the base station may include a Mobile Network Code (MNC), a Mobile Country Code (MCC), a Location Area Code (LAC), and a Cell ID of the base station.
It should be noted that the SIM card allocation request may also carry other information such as country information of requesting card allocation, time information of requesting card allocation, and the like, which is not limited in the present application.
In some embodiments of the present application, the database of the server may store SIM card status information, where the SIM card status information indicates a current usage status of the SIM card; for example, when a SIM card is assigned to a user terminal and is not released, the SIM card is a non-idle card in a non-frozen state; when the accumulated time length of the SIM card which is released and the use state of which is updated to the frozen state does not reach the frozen time length of the SIM card which needs to be frozen, the SIM card is an idle card in the frozen state; when the accumulated time length of the SIM card which is released and the use state is updated to the frozen state reaches the frozen time length of the SIM card which needs to be frozen, the SIM card is a free card in the non-frozen state.
Therefore, in some embodiments of the present application, the server may search SIM card state information stored in a database of the server according to the SIM card allocation request, determine whether the server has an idle card in a non-frozen state, if the server does not have an idle card in a non-frozen state, send information that no card can be split to the second user terminal, and the second user terminal may send the SIM card allocation request to the server again after receiving the information, or may directly re-query the SIM card state information stored in the database of the server until the server has an idle card in a non-frozen state; and if the server has the idle card in the non-frozen state, distributing the idle card in the non-frozen state to the second user terminal.
In the embodiment of the application, the SIM card state information stored in the database of the server is searched according to the SIM card allocation request, and the free card in the non-frozen state is allocated to the second user terminal, so that the free card in the frozen state, namely the SIM card which is released soon, cannot be allocated to the second user terminal, and the problem that the normally used SIM card is mistakenly judged as the abnormally used SIM card by an operator is solved.
In some embodiments of the present application, the allocation of the idle card in the non-frozen state to the second user terminal may be performed according to attribute information of the idle card in the non-frozen state, where the attribute information may include one or more of a remaining traffic size, a package validity period, a signal strength, a communication quality, and a tariff of the idle card in the non-frozen state.
Specifically, as shown in fig. 6, the allocating the idle card in the non-frozen state to the second user terminal may include: step 601 to step 602.
Step 601, acquiring the attribute information of the idle card in the non-frozen state, and calculating the distribution priority of the idle card in the non-frozen state according to the attribute information of the idle card in the non-frozen state.
Step 602, the idle card in the non-frozen state with the highest priority among the idle cards in the non-frozen state is allocated to the second user terminal.
It should be noted that the more the remaining traffic of the idle card in the non-frozen state, the longer the package validity period, the stronger the signal strength, the better the communication quality, and the lower the tariff, the more the idle card in the non-frozen state can meet the user's requirements, and the server can allocate the idle card in the non-frozen state to the second user terminal with higher priority, so the calculated allocation priority of the idle card in the non-frozen state is higher.
Under different situations, the user has different requirements on the residual flow, the package validity period, the signal strength, the communication quality and the charge, so that the server needs to give different weights to different attribute information when the server allocates the SIM card; therefore, in some embodiments of the present application, the obtaining attribute information of the idle card in the non-frozen state, and calculating the allocation priority of the idle card in the non-frozen state according to the attribute information of the idle card in the non-frozen state may further include: acquiring attribute information of an idle card in a non-frozen state and a distribution priority weight corresponding to each attribute information in the attribute information; and calculating the distribution priority of the idle card in the non-frozen state according to the attribute information of the idle card in the non-frozen state and the distribution priority weight corresponding to each attribute information in the attribute information.
The distribution priority weight corresponding to each attribute information in the attribute information may be a distribution priority weight corresponding to each attribute information set for each attribute information by an operator according to the requirements of the user on the residual flow, the package validity period, the signal strength, the communication quality and the charge in practical application
In the embodiment of the application, the allocation priority of the free cards in the non-frozen state is calculated, and the free card in the non-frozen state with the highest allocation priority in the free cards in the non-frozen state is allocated to the second user terminal, so that the free card in the non-frozen state allocated to the second user terminal can meet the requirements of users to the greatest extent.
It should be noted that, for simplicity of description, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders.
Fig. 7 is a schematic structural diagram of an apparatus 700 for updating SIM card status information configured in a server according to an embodiment of the present application, where the apparatus 700 for updating SIM card status information may include: a receiving unit 701 and an updating unit 702.
A receiving unit 701, configured to receive SIM card release information sent by a first user terminal;
an updating unit 702, configured to mark, according to the SIM card release information, a SIM card corresponding to the SIM card release information as an idle card in a frozen state; the free card in the frozen state is used for indicating the server to confirm the free card in the frozen state as the SIM card which cannot be allocated.
In some embodiments of the present application, the updating unit 702 is further specifically configured to:
acquiring the freezing time length of the SIM card to be frozen;
when the accumulated time length of the use state of the SIM card updated to the frozen state reaches the frozen time length of the SIM card needing to be frozen, marking the SIM card as an idle card in a non-frozen state; the idle card in the non-frozen state is used for instructing the server to confirm the idle card in the non-frozen state as an allocable SIM card.
In some embodiments of the present application, the above apparatus for updating SIM card status information further includes a calculating unit, configured to:
obtaining the release position of the SIM card carried in the SIM card release information;
calculating a maximum value of a distance between a release position of the SIM card and a position where the SIM card is likely to be used next time;
and calculating the freezing time length of the SIM card which needs to be frozen according to the maximum value of the distance between the releasing position of the SIM card and the position of the SIM card which can be used next time.
In some embodiments of the present application, the above apparatus for updating SIM card status information further includes an allocating unit, configured to:
receiving an SIM card allocation request sent by the second user terminal;
searching SIM card state information stored in a database of the server according to the SIM card allocation request, and determining whether the server has an idle card in a non-frozen state;
and if the server has the idle card in the non-frozen state, distributing the idle card in the non-frozen state to the second user terminal.
In some embodiments of the present application, the allocation unit is further specifically configured to:
acquiring attribute information of the idle card in the non-frozen state, and calculating the distribution priority of the idle card in the non-frozen state according to the attribute information of the idle card in the non-frozen state; the attribute information of the idle card in the non-frozen state comprises one or more information of the residual flow size, the package validity period, the signal strength, the communication quality and the tariff of the idle card in the non-frozen state;
and allocating the idle card in the non-frozen state with the highest priority to the second user terminal.
In some embodiments of the present application, the allocation unit is further specifically configured to:
acquiring attribute information of the idle card in the non-frozen state and a distribution priority weight corresponding to each attribute information in the attribute information;
and calculating the distribution priority of the idle card in the non-frozen state according to the attribute information of the idle card in the non-frozen state and the distribution priority weight corresponding to each attribute information in the attribute information.
It should be noted that, for convenience and simplicity of description, the specific working process of the above-described SIM card status information updating apparatus 700 may refer to the corresponding process of the method described in fig. 1 to fig. 6, and is not described herein again.
Fig. 8 is a schematic diagram of a server according to an embodiment of the present application. The server 8 may include: a processor 80, a memory 81 and a computer program 82, such as a SIM card assignment program, stored in said memory 81 and operable on said processor 80. The processor 80, when executing the computer program 82, implements the steps in the above-described embodiments of the SIM card assignment method, such as the steps 201 to 202 shown in fig. 2. Alternatively, the processor 80, when executing the computer program 82, implements the functions of each module/unit in each device embodiment described above, for example, the functions of the units 701 to 702 shown in fig. 7.
The computer program may be divided into one or more modules/units, which are stored in the memory 81 and executed by the processor 80 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the server. For example, the computer program may be divided into a receiving unit and an updating unit, each unit having the following specific functions: the receiving unit is used for receiving SIM card release information sent by the first user terminal; the updating unit is used for marking the SIM card corresponding to the SIM card release information as an idle card in a frozen state according to the SIM card release information; the free card in the frozen state is used for indicating the server to confirm the free card in the frozen state as the SIM card which cannot be allocated.
The server may be a local server or a cloud server. The server may include, but is not limited to, a processor 80, a memory 81. Those skilled in the art will appreciate that fig. 8 is merely an example of a server and is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the server may also include input-output devices, network access devices, buses, etc.
The Processor 80 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 81 may be an internal storage unit of the server, such as a hard disk or a memory of the server. The memory 81 may also be an external storage device of the server, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the server. Further, the memory 81 may also include both an internal storage unit of the server and an external storage device. The memory 81 is used for storing the computer program and other programs and data required by the server. The memory 81 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/server and method may be implemented in other ways. For example, the above-described apparatus/server embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for updating state information of an SIM card is applied to a server, and is characterized in that the method for updating the state information of the SIM card comprises the following steps:
receiving SIM card release information sent by a first user terminal;
according to the SIM card release information, marking the SIM card corresponding to the SIM card release information as an idle card in a frozen state; the free card in the frozen state is used for indicating the server to confirm the free card in the frozen state as the SIM card which cannot be allocated.
2. The method for updating status information of a SIM card according to claim 1, wherein after the SIM card corresponding to the SIM card release information is marked as an idle card in the frozen state according to the SIM card release information, the method comprises:
acquiring the freezing time length of the SIM card to be frozen;
when the accumulated time length of the use state of the SIM card updated to the frozen state reaches the frozen time length of the SIM card needing to be frozen, marking the SIM card as an idle card in a non-frozen state; the idle card in the non-frozen state is used for instructing the server to confirm the idle card in the non-frozen state as an allocable SIM card.
3. The method for updating the SIM card status information according to claim 2, wherein the obtaining the freezing duration of the SIM card needing to be frozen comprises:
obtaining the release position of the SIM card carried in the SIM card release information;
calculating a maximum value of a distance between a release position of the SIM card and a position where the SIM card is likely to be used next time;
and calculating the freezing time length of the SIM card which needs to be frozen according to the maximum value of the distance between the releasing position of the SIM card and the position of the SIM card which can be used next time.
4. The method for updating SIM card status information according to claim 1, wherein the method for updating SIM card status information further comprises:
receiving an SIM card allocation request sent by the second user terminal;
searching SIM card state information stored in a database of the server according to the SIM card allocation request, and determining whether the server has an idle card in a non-frozen state;
and if the server has the idle card in the non-frozen state, distributing the idle card in the non-frozen state to the second user terminal.
5. The method for updating SIM card status information according to claim 4, wherein said assigning the idle card in the non-frozen state to the second user terminal comprises:
acquiring attribute information of the idle card in the non-frozen state, and calculating the distribution priority of the idle card in the non-frozen state according to the attribute information of the idle card in the non-frozen state; the attribute information of the idle card in the non-frozen state comprises one or more information of the residual flow size, the package validity period, the signal strength, the communication quality and the tariff of the idle card in the non-frozen state;
and allocating the idle card in the non-frozen state with the highest priority to the second user terminal.
6. The method for updating SIM card status information according to claim 5, wherein the obtaining of the attribute information of the idle card in the non-frozen state and the calculating of the allocation priority of the idle card in the non-frozen state according to the attribute information of the idle card in the non-frozen state comprises:
acquiring attribute information of the idle card in the non-frozen state and a distribution priority weight corresponding to each attribute information in the attribute information;
and calculating the distribution priority of the idle card in the non-frozen state according to the attribute information of the idle card in the non-frozen state and the distribution priority weight corresponding to each attribute information in the attribute information.
7. An apparatus for updating SIM card status information, configured on a server, the apparatus comprising:
the receiving unit is used for receiving SIM card release information sent by the first user terminal;
the updating unit is used for marking the SIM card corresponding to the SIM card release information as an idle card in a frozen state according to the SIM card release information; the free card in the frozen state is used for indicating the server to confirm the free card in the frozen state as the SIM card which cannot be allocated.
8. The apparatus for updating SIM card status information according to claim 7, wherein the updating unit is further configured to:
acquiring the freezing time length of the SIM card to be frozen;
when the accumulated time length of the use state of the SIM card updated to the frozen state reaches the frozen time length of the SIM card needing to be frozen, marking the SIM card as an idle card in a non-frozen state; the idle card in the non-frozen state is used for instructing the server to confirm the idle card in the non-frozen state as an allocable SIM card.
9. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-6 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201911310465.6A 2019-12-18 2019-12-18 SIM card state information updating method and device and server Active CN112995985B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911310465.6A CN112995985B (en) 2019-12-18 2019-12-18 SIM card state information updating method and device and server
PCT/CN2020/136032 WO2021121176A1 (en) 2019-12-18 2020-12-14 Method and device for updating status information of sim card, and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911310465.6A CN112995985B (en) 2019-12-18 2019-12-18 SIM card state information updating method and device and server

Publications (2)

Publication Number Publication Date
CN112995985A true CN112995985A (en) 2021-06-18
CN112995985B CN112995985B (en) 2022-01-28

Family

ID=76343999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911310465.6A Active CN112995985B (en) 2019-12-18 2019-12-18 SIM card state information updating method and device and server

Country Status (2)

Country Link
CN (1) CN112995985B (en)
WO (1) WO2021121176A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115310931A (en) * 2022-07-21 2022-11-08 深圳市正东源科技有限公司 Smart card management platform and management system thereof

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050070321A1 (en) * 2003-08-01 2005-03-31 Weigele Ingo W. Methods and apparatus for performing a subscriber identity module (SIM) initialization procedure
US20120108273A1 (en) * 2010-10-29 2012-05-03 Samsung Electronics Co., Ltd. Method and apparatus for communication in portable terminal using multiple sim cards
US20130150013A1 (en) * 2011-12-12 2013-06-13 Broadcom Corporation Intelligent Resource Control in Multiple SIM User Equipment
WO2014105995A1 (en) * 2012-12-27 2014-07-03 Jasper Wireless, Inc. A system and method for responding to aggressive behavior associated with wireless devices
CN105578449A (en) * 2016-03-02 2016-05-11 深圳市思博威尔斯科技有限公司 Method and device for changing virtual SIM card
CN106231581A (en) * 2016-07-14 2016-12-14 努比亚技术有限公司 Terminal and the method reclaiming Virtual User identification card resource thereof
CN106664543A (en) * 2014-06-06 2017-05-10 布兹比思公司 System and method for handling inactive SIM cards
CN107040654A (en) * 2017-03-21 2017-08-11 深圳市金立通信设备有限公司 A kind of auxiliary traveling method and terminal based on scene
CN107333292A (en) * 2017-07-10 2017-11-07 深圳市优克联新技术有限公司 A kind of SIM card state judging method and device
CN107592634A (en) * 2017-08-10 2018-01-16 深圳市奥克多普科技有限公司 Method and system for realizing multi-network coverage based on cloud SIM technology
CN110572816A (en) * 2019-10-12 2019-12-13 天津泰岳小漫科技有限公司 Method and device for supplementing available number of cloud SIM cards

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144402B (en) * 2013-05-08 2019-01-18 华为技术有限公司 Realize the method and relevant apparatus of mobile terminal localized roaming
CN105072602A (en) * 2015-07-14 2015-11-18 深圳市斯凯荣科技有限公司 SIM/USIM distribution system, and card distribution, card release and card switching methods thereof
CN106658569B (en) * 2016-12-16 2020-06-09 深圳市优克联新技术有限公司 Method, device and system for improving utilization rate of user identification card
CN109995930A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Process handling method and device, electronic equipment, computer readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050070321A1 (en) * 2003-08-01 2005-03-31 Weigele Ingo W. Methods and apparatus for performing a subscriber identity module (SIM) initialization procedure
US20120108273A1 (en) * 2010-10-29 2012-05-03 Samsung Electronics Co., Ltd. Method and apparatus for communication in portable terminal using multiple sim cards
US20130150013A1 (en) * 2011-12-12 2013-06-13 Broadcom Corporation Intelligent Resource Control in Multiple SIM User Equipment
WO2014105995A1 (en) * 2012-12-27 2014-07-03 Jasper Wireless, Inc. A system and method for responding to aggressive behavior associated with wireless devices
CN106664543A (en) * 2014-06-06 2017-05-10 布兹比思公司 System and method for handling inactive SIM cards
CN105578449A (en) * 2016-03-02 2016-05-11 深圳市思博威尔斯科技有限公司 Method and device for changing virtual SIM card
CN106231581A (en) * 2016-07-14 2016-12-14 努比亚技术有限公司 Terminal and the method reclaiming Virtual User identification card resource thereof
CN107040654A (en) * 2017-03-21 2017-08-11 深圳市金立通信设备有限公司 A kind of auxiliary traveling method and terminal based on scene
CN107333292A (en) * 2017-07-10 2017-11-07 深圳市优克联新技术有限公司 A kind of SIM card state judging method and device
CN107592634A (en) * 2017-08-10 2018-01-16 深圳市奥克多普科技有限公司 Method and system for realizing multi-network coverage based on cloud SIM technology
CN110572816A (en) * 2019-10-12 2019-12-13 天津泰岳小漫科技有限公司 Method and device for supplementing available number of cloud SIM cards

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115310931A (en) * 2022-07-21 2022-11-08 深圳市正东源科技有限公司 Smart card management platform and management system thereof

Also Published As

Publication number Publication date
CN112995985B (en) 2022-01-28
WO2021121176A1 (en) 2021-06-24

Similar Documents

Publication Publication Date Title
EP3783936A1 (en) Cloud sim card management server, binding apparatus, management method, binding method and system
CN105139641A (en) WiFi relay station-based vehicle scheduling method and system
US10117103B2 (en) Method for sharing network and network element
CN110611876B (en) Indoor asset management method, device and system
CA3116546C (en) Distributed radio frequency spectrum sharing coordination system
CN105095313A (en) Data access method and equipment
CN112039861B (en) Risk identification method and device, electronic equipment and computer readable storage medium
CN111641702A (en) Heartbeat message management method and device
CN113055878B (en) Cloud card distribution method and device, electronic equipment and storage medium
CN110015095B (en) Method and equipment for charging mobile equipment
CN112995985B (en) SIM card state information updating method and device and server
CN110390060B (en) Parking information query method and device, terminal, cloud server and system
CN110428510B (en) PSAM card centralized management method and device and secure cloud box system
CN111066333A (en) Device capable of acquiring ESIM configuration file
CN110111057B (en) Order distribution method and device, readable storage medium and electronic equipment
CN112995909B (en) SIM card distribution method, device, server and computer readable storage medium
EP3546275A2 (en) Method and server for managing power supply devices
CN109842482B (en) Information synchronization method, system and terminal equipment
CN104809239A (en) Instrument appointment registering method and management platform of instruments
CN110972258B (en) Method and device for establishing position fingerprint database
CN112995900B (en) SIM card distribution method, device, server and computer readable storage medium
WO2015176535A1 (en) Sim registration method, terminal, network server, computer program, and carrier
CN112399388A (en) Method, device and system for realizing edge calculation
CN110248371B (en) Data processing method and device
CN109362079B (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40054100

Country of ref document: HK