CN110493770B - Method for acquiring and managing cloud SIM card data, card pool device and cloud server - Google Patents

Method for acquiring and managing cloud SIM card data, card pool device and cloud server Download PDF

Info

Publication number
CN110493770B
CN110493770B CN201910768991.0A CN201910768991A CN110493770B CN 110493770 B CN110493770 B CN 110493770B CN 201910768991 A CN201910768991 A CN 201910768991A CN 110493770 B CN110493770 B CN 110493770B
Authority
CN
China
Prior art keywords
data
card
sim card
pool
sim
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910768991.0A
Other languages
Chinese (zh)
Other versions
CN110493770A (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.)
Tianjin Taiyue Xiaoman Technology Co ltd
Original Assignee
Tianjin Taiyue Xiaoman 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 Tianjin Taiyue Xiaoman Technology Co ltd filed Critical Tianjin Taiyue Xiaoman Technology Co ltd
Priority to CN201910768991.0A priority Critical patent/CN110493770B/en
Publication of CN110493770A publication Critical patent/CN110493770A/en
Application granted granted Critical
Publication of CN110493770B publication Critical patent/CN110493770B/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/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Abstract

The application discloses a method for acquiring and managing cloud SIM card data, card pool equipment and a cloud server, wherein after the card pool equipment is started, a registration request is sent to the cloud server, and when a successful registration message is received, first data is generated and reported according to the total SIM card data and the total SIM card state data in the card pool at the current moment so as to finish the first total reporting; after the first full report, generating second data and reporting the second data according to the full SIM card state data in the current card pool at intervals of a preset period, namely periodically reporting partial data, thereby greatly reducing the reported data amount, reducing the data processing amount of a server and reducing the performance consumption of the server; in addition, when the storage condition of the SIM cards in the card pool is monitored to change, third data at least comprising the full amount of SIM card state data in the card pool at the current moment are generated and reported, so that the reported data volume is reduced, the changed data is reported in time, and the cloud server can update the database in time.

Description

Method for acquiring and managing cloud SIM card data, card pool device and cloud server
Technical Field
The application relates to the technical field of mobile communication technology and cloud sharing, in particular to a method for acquiring and managing cloud SIM card data, card pool equipment and a cloud server.
Background
Currently, due to the limitation of hardware devices such as mobile terminals, operator networks, regions and other factors, there are many problems in implementing a mobile communication network service across operator networks or regions. For example, users participating in travel activities and business activities often have a need to surf the internet anytime and anywhere when they go out of country with portable terminals, and in order to fulfill the need, users typically open international roaming services for mobile data services or purchase local mobile operator's traffic packages locally.
For the former, high international roaming charges are incurred, while for the latter, time and effort are often wasted, and it is necessary to be familiar with local mobile operations, which is disadvantageous for compact scheduling. In addition, if the current network does not support or support the operator service transacted by the current user well, that is, the mobile communication network service needs to be performed across the operator network, only the flow package of the local mobile operator can be purchased.
Disclosure of Invention
The application provides a method for acquiring and managing cloud SIM card data, card pool equipment and a cloud server, so as to reduce the performance of the server consumed in the process of acquiring and managing the SIM card.
In a first aspect, the present application provides a method for reporting cloud SIM card data, where the method includes:
after starting up a card pool device, sending a registration request to a cloud server, wherein the card pool device comprises a card pool, at least one SIM card is stored in the card pool, one SIM card corresponds to one SIM card data and one SIM card state data, the SIM card state data is used for indicating the current state of the SIM card in the card pool, the SIM card stored in the card pool belongs to different regions, and the terminal device is configured through the cloud;
when a successful registration message returned by the cloud server is received, generating first data according to the total SIM card data and the total SIM card state data in the card pool at the current moment, and reporting the first data to the cloud server;
after the first data are sent, second data are generated according to the full amount of SIM card state data in the card pool at the current moment every other preset period and reported to a cloud server;
and when the storage condition of the SIM cards in the card pool is monitored to change, generating third data and reporting the third data to the cloud server, wherein the third data at least comprises the state data of the total number of the SIM cards in the card pool at the current moment.
In a second aspect, the present application provides a method for acquiring and managing cloud SIM card data, where the method includes:
the cloud server receives a registration request sent by the card pool equipment, completes registration of the card pool equipment and returns a message of successful registration to the card pool equipment;
receiving reported data of the card pool equipment, wherein the reported data at least comprises SIM card state data;
analyzing the SIM card state data, and updating the state of the SIM card in a database according to the analysis result of the SIM card state data;
and if the reported data also comprises SIM card data, analyzing the SIM card data, and updating the SIM card data in a database according to the analysis result of the SIM card data.
In a third aspect, the present application provides a card pool device, comprising:
the terminal equipment comprises a card pool, a terminal equipment and a control module, wherein at least one SIM card is stored in the card pool, one SIM card corresponds to one SIM card data and one SIM card state data, the SIM card state data are used for indicating the current state of the SIM card in the card pool, the SIM card stored in the card pool belongs to different regions, and the terminal equipment is configured through a cloud end;
the sending unit is used for sending a registration request to the cloud server after the card pool equipment is started;
The first reporting unit is used for generating first data according to the total SIM card data and the total SIM card state data in the card pool at the current moment and reporting the first data to the cloud server when receiving a registration success message returned by the cloud server;
the second reporting unit is used for generating second data according to the full amount of SIM card state data in the card pool at the current moment every preset period after the first data are sent, and reporting the second data to the cloud server;
and the third reporting unit is used for generating third data and reporting the third data to the cloud server when the storage condition of the SIM cards in the card pool is monitored to change, wherein the third data at least comprises the full SIM card state data in the card pool at the current moment.
In a fourth aspect, the present application provides a cloud server, comprising:
the receiving unit is used for receiving a registration request sent by the card pool equipment;
the registration unit is used for finishing registration of the card pool equipment;
a sending unit, configured to return a message of successful registration to the card pool device;
the receiving unit is further configured to receive reported data of the card pool device, where the reported data at least includes SIM card status data;
The analysis unit is used for analyzing the SIM card state data;
the updating unit is used for updating the state of the SIM card in the database according to the analysis result of the SIM card state data;
the analysis unit is further configured to analyze the SIM card data if the reported data further includes the SIM card data;
the updating unit is further configured to update the SIM card data in the database according to the analysis result of the SIM card data.
According to the technical scheme, the card pool equipment in the application stores a plurality of SIM cards belonging to different regions in advance, after the cloud server registers synchronous data, the SIM cards of the regions and countries corresponding to the terminal equipment can be configured for the terminal equipment through the cloud server, and high cost brought to a user by roaming internet surfing is avoided on the premise that the user does not need to manually replace and purchase different-place cards; after the first full report, generating second data and reporting the second data according to the full SIM card state data in the current card pool at intervals of a preset period, namely periodically reporting partial data, thereby greatly reducing the reported data amount, reducing the data processing amount of a server and reducing the performance consumption of the server; in addition, when the storage condition of the SIM cards in the card pool is monitored to change, third data at least comprising the full amount of SIM card state data in the card pool at the current moment is generated and reported, so that the reported data volume is reduced, the changed SIM card data and the changed SIM card state data are reported in time, and the cloud server can update the data in the database in time.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic diagram of a communication system based on cloud SIM technology;
fig. 2 is a flowchart illustrating a method for reporting cloud SIM card data according to an exemplary embodiment of the present application;
fig. 3 is a flowchart of a method for reporting cloud SIM card data according to another exemplary embodiment of the present application;
fig. 4 is a flowchart illustrating a method for acquiring and managing cloud SIM card data according to an exemplary embodiment of the present application;
FIG. 5 is a block diagram illustrating a card pool device hardware configuration according to an illustrative embodiment of the present application;
fig. 6 is a block diagram illustrating a hardware configuration of a cloud server according to an exemplary embodiment of the present application;
fig. 7 is a schematic diagram of a server exemplarily shown in the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
To facilitate the subsequent description and to clarify the description of the present application, a brief description of possible concepts of the present application is provided below.
In various embodiments of the present application, a terminal device refers to a device that provides voice and or data connectivity to a user, a handheld device with wireless connection capability, or other processing device connected to a wireless modem. The terminals may be mobile terminals such as mobile telephones (or so-called "cellular" telephones) and computers with mobile terminals, e.g. portable, pocket, hand-held, computer-included or car-mounted mobile devices, which exchange language and/or data with a radio access network. For example, a MiFi device, a Personal Communication Service (PCS) phone, a cordless phone, a Personal Digital Assistant (PDA), and the like. The Mobile Station (MS), the Remote Station (RS), the Access Point (AP), the remote device (RT), the Access Terminal (AT), the User Terminal (UT), the User Agent (UA), the User Equipment (UE), or the User Equipment (UE) may also be used, which is not limited in the embodiments of the present application.
The cloud server is used for issuing the SIM card to the mobile terminal equipment so that the mobile terminal equipment establishes communication connection with the cloud server according to the SIM card. Wherein the cloud server includes but is not limited to a server. The service configuration and the business scale of the cloud server can be configured according to the needs of users, and can be flexibly adjusted.
The cloud SIM card in each embodiment of the present application includes an SIM card in the form of a soft card, that is, an SIM card information record. The information record includes information such as IMSI (International Mobile Subscriber identity Number), phone Number, KI, and OPC. The SIM card is used for establishing communication connection between the terminal equipment and the cloud server. The SIM card comprises a SIM card, a USIM card, an RUIM card, an UIMD card and the like.
In order to solve the problem of reducing the performance of a server consumed in the process of acquiring and managing an SIM card, an embodiment of the present application first provides a communication system based on a cloud SIM technology, where a basic principle of the cloud SIM technology is: the user side completely cancels a physical SIM card (Subscriber Identity Module), information such as user data, algorithm and the like of the physical SIM card is digitalized at the cloud side, a virtual SIM card is further obtained, the virtual SIM card is written into a specific area of the mobile terminal equipment, and the mobile terminal equipment can use the built-in virtual SIM card to perform Identity identification and authentication of an operator. Wherein, the terminal equipment can be a portable broadband wireless device such as MIFI equipment.
Fig. 1 is a schematic diagram of a communication system based on a cloud SIM technology. In fig. 1, firstly, a plurality of physical SIM cards need to be collectively inserted into a card pool device 101, the card pool device 101 collects information of the inserted SIM cards, when a terminal device 102 such as an MIFI device is powered on, a connection is established with a cloud server 103 through a built-in start card, the cloud server 103 intelligently schedules an optimal SIM card from the card pool device 101 to the terminal device 102 according to information such as a position and a use condition of the terminal device 102, and the terminal device 102 can provide a roaming communication service for a user terminal 104 after receiving the SIM card. For example, when a terminal user needs to make a call, send and receive a short message, or surf the internet without roaming, the APP on the user terminal device 104, such as a mobile phone, may establish a connection with the GoIP device 105 to perform data exchange, thereby implementing roaming-free communication, and reducing international roaming charges.
Based on the system shown in fig. 1, the card pool device and the cloud server are clearly separated, and the performance consumption of the cloud server can be reduced to a certain extent. Specifically, the card pool device collects SIM card data, the collected SIM card data are reported to the cloud server, and the cloud server intelligently schedules the optimal SIM card for the user terminal from the SIM card data reported by the card pool device.
Regarding how the cloud server acquires and manages the SIM card, one method is that the card pool device periodically reports all SIM card data to the cloud server, and the cloud server analyzes the data and compares the data with the data in the current database, and updates the changed data. However, in this method, the data processing amount of the cloud server is too large, and thus, more server performance is required to be consumed. The cloud server actively applies for the data of the SIM card to the card pool device before the SIM card is distributed to the terminal device, after the SIM card data are returned to the cloud server by the card pool device, the cloud server updates the SIM card data to the database, meanwhile, whether the SIM card is available is judged, if yes, the SIM card is sent to the terminal device, and if not, the steps are repeated to apply for another SIM card to the card pool device until the available SIM card is found. However, in this method, since there is too much interaction between the cloud server and the card pool device, more server performance is consumed.
In order to reduce performance of a server consumed in the process of acquiring and managing the SIM card as much as possible, embodiments of the present application provide a method for reporting cloud SIM card data by a card pool device and a method for acquiring and managing the cloud SIM card data by a cloud server.
The following is an embodiment of a method for reporting cloud SIM card data by a card pool device.
Fig. 2 and fig. 3 are both flowcharts of a method for reporting cloud SIM card data according to an exemplary embodiment of the present disclosure. As shown in fig. 2 and 3, the method may include:
step 201, after the card pool device is started, a registration request is sent to the cloud server.
The card pool device is a physical machine for storing and managing a plurality of physical SIM cards, and can have a standard IU case structure. The card pool device is used for reading data information in the physical SIM card, including IMSI (international mobile subscriber identity), ICCID (integrated circuit card identity, namely SIM card number), network type and the like, and sending the read SIM card data to the cloud server, and meanwhile, the card pool device also needs to keep the SIM card in a preparation authorization state, and usually supports remote authentication of WIFI equipment.
The card pool equipment comprises a card pool, wherein the card pool is provided with 256 screens, each screen can be inserted with one physical SIM card, and then storage and management of 1-256 physical SIM cards can be realized. In addition, each card position in the card pool has a specific serial number CID, and the position of each physical SIM card in the card pool can be distinguished by using the card pool serial number CID, and occupied card positions and idle card positions can be distinguished.
The card pool device registers the device information in the server by applying for registration to the server so as to perform data interaction with the server registered with the card pool device during work. In specific implementation, after the card pool device is started, a registration request is generated and sent to the server. The registration request at least comprises information such as card pool ID, card pool IP and port, card location number, card pool version and the like.
When a plurality of card pools are registered in one server, different card pools can be distinguished through the card pool IDs. The card pool IP and the port are network protocols and ports used when the card pool is communicated with external network equipment such as a cloud-end server, and the card pool equipment and the cloud-end server realize data receiving and sending functions based on the card pool IP and the port. The number of the card bits is the maximum number of the physical SIM cards which can be stored in the card pool.
After receiving a registration request sent by the card pool device, the cloud server firstly verifies the validity of the registration request, and if the verification is legal, the registration of the card pool device is completed. If the cloud server inquires the card pool device in the card pool registry according to the card pool ID, the relevant information of the card pool device in the card pool registry is updated according to the received registration request, and if the cloud server does not inquire the card pool device in the card pool registry, the relevant information of the card pool device is registered in the card pool registry so as to complete registration. And after the updating or the registration is finished, the cloud server returns a successful registration message to the card pool device.
Step 202, when receiving a successful registration message returned by the cloud server, generating first data according to the total amount of SIM card data and the total amount of SIM card status data in the card pool at the current time, and reporting the first data to the cloud server, where the SIM card status data is used to indicate the current status of the SIM cards in the card pool.
A physical SIM card corresponds to a SIM card data, which refers to data such as user information and encryption algorithm in the physical SIM card, for example, IMSI (international mobile subscriber identity), ICCID (integrated circuit card identifier, i.e., SIM card number), network standard, and the like, and further includes a card location code CID of the card location where the physical SIM card is located. And the current time is the total amount of SIM card data in the card pool, namely the data corresponding to all physical SIM cards stored in the card pool at the current time. For example, if 200 physical SIM cards are stored in the card pool at the current time, the total amount of SIM card data is the data corresponding to the 200 physical SIM cards. It should be noted that, if the storage condition of the physical SIM card in the card pool changes, for example, a new SIM card is inserted or the SIM card is pulled out, the corresponding SIM card data also changes.
Illustratively, one possible SIM card data format is as follows:
<SIM>
<CID>88</CID>
<IMSI>440030010563115</IMSI>
<ICCID>8981030000005531808</ICCID>
<Type>usim</Type>
</SIM>
Based on the above example, if data of multiple SIM cards is contained in one data packet, the data format of the multiple SIM card data is as follows:
<SIM>
<CID>88</CID>
<IMSI>440030010563115</IMSI>
<ICCID>8981030000005531808</ICCID>
<Type>usim</Type>
</SIM>
<SIM>
<CID>89</CID>
<IMSI>440030010563415</IMSI>
<ICCID>8981030000005534802</ICCID>
<Type>usim</Type>
</SIM>
<SIM>
……
the SIM card status data is used to indicate the current status of the SIM cards in the card pool, and includes at least three statuses, namely abnormal, inactive and normal, which can be represented by a status symbol, for example, FF represents abnormal, 55 represents inactive, and AA represents normal.
The full amount of SIM card status data is status data corresponding to all physical SIM cards in the card pool. As a possible implementation manner, the status symbols corresponding to all physical SIM cards may be packaged together according to the card location numbers CID to form a string State (2 is the number of status symbols) with a length of 2 × the number of card locations. For convenience of data encapsulation and storage, for a card position where a physical SIM card is not inserted, a status symbol corresponding to the card position is filled with a symbol 00 to represent that the card position is not inserted.
Illustratively, the format of a SIM card status data is as follows:
<State>AAAAAAAAAAAAAAAAAAAAFFFFAAFFFFFFAAAAAAAAAA5555AA5555AAAAAAAAAA00000000000000000000000000000000000000AAAAAAAAAAAAFFAAAAAAAAAAAAAAAAAAA55</State>
in step 202, after the card pool device is registered in the cloud server, the SIM information is reported in full volume for the first time. And after receiving the first data, the cloud server analyzes the first data to obtain the data and the state of each SIM card and stores the data and the state of each SIM card in a database. And after the storage is finished, returning a message of successful storage to the card pool equipment.
In another implementation manner, the first data may include a first tag, and the cloud server determines that the received data includes the full amount of SIM card data and the full amount of SIM card status data through the first tag, so that additional steps of parsing and determining are not required, which is beneficial to reducing consumption of server performance.
And 203, after the first data are sent, generating second data according to the total SIM card state data in the card pool at the current moment every preset period, and reporting the second data to the cloud server.
And in the continuous working process of the card pool equipment, monitoring the storage condition of the physical SIM card in the card pool in real time, and scanning and acquiring the SIM card data and the SIM card state data at regular time. And generating second data according to the full amount of SIM card state data in the card pool at the current moment every preset period, and reporting the second data to the cloud server, namely periodically reporting part of data. The preset period may be a heartbeat period agreed with the server, and the second data sent by the card pool device is used as a heartbeat packet to complete data reporting in the heartbeat process.
Because no SIM card data is reported in the heartbeat process, the data reporting amount is greatly reduced, the data analysis amount of the server is reduced, and the performance consumption of the card pool equipment and the server can be reduced at the same time.
Optionally, the heartbeat packet further includes a heartbeat tag in addition to the second data. The cloud server determines the content of the second data by identifying the heartbeat label, so that additional analyzing and judging steps are omitted, and performance consumption is further reduced. In addition, the cloud server can also judge whether the data packet is a heartbeat packet according to whether a heartbeat label exists in the reported data of the card pool device, and if the data packet is the heartbeat packet, the heartbeat time is recorded and is used as a basis for judging whether the card pool device is connected overtime.
In the method of the present application, the card pool device may further perform step 204 before, during, or after performing step 203.
In step 204, when it is monitored that the storage condition of the SIM cards in the card pool changes, third data is generated and reported to the cloud server, where the third data at least includes the full amount of SIM card status data in the card pool at the current time.
The storage condition of the SIM cards in the card pool may be changed into three types, one of which is: the SIM card is inserted into the card pool, and at the moment, the card pool equipment scans new SIM card data; the second is as follows: the SIM card is pulled out from the card pool, and at the moment, the SIM card data scanned by the card pool equipment is reduced; the third is: the SIM card inserting and removing actions occur simultaneously, such as changing the SIM card position, wherein "simultaneously" includes the two actions occurring at the same time or at a sufficiently close time.
The third data includes different data contents according to different actions actually occurring in the card pool, but regardless of the actions, the third data includes the total amount of SIM card status data in the card pool at the current time.
Specifically, when the SIM card inserting action is monitored to occur in the card pool, third data are generated according to the inserted SIM card data and the full SIM card state data in the card pool and reported to the cloud server; and when the SIM card pulling action is monitored to occur in the card pool, generating third data according to the full amount of SIM card state data in the card pool and reporting the third data to the cloud server.
When the card pool equipment monitors that the SIM card data in the card pool changes, at least the SIM card state data is reported to the server, and the data corresponding to the inserted SIM card is reported simultaneously when and only when the SIM card is inserted in the card pool, so that the changed SIM card data and the changed SIM card state data can be reported in time while the data reporting amount is reduced, and the cloud server can update the data in the database in time.
According to the embodiment, the card pool equipment stores a plurality of SIM cards belonging to different regions in advance, after synchronous data are registered in the cloud server, the SIM cards of the regions and countries corresponding to the terminal equipment can be configured for the terminal equipment through the cloud server, and high cost brought to a user by roaming internet surfing is avoided on the premise that the user does not need to manually replace and purchase different-place cards; after the first full report, generating second data and reporting the second data according to the full SIM card state data in the current card pool at intervals of a preset period, namely periodically reporting partial data, thereby greatly reducing the reported data amount, reducing the data processing amount of a server and reducing the performance consumption of the server; in addition, when the storage condition of the SIM cards in the card pool is monitored to change, third data at least comprising the full amount of SIM card state data in the card pool at the current moment is generated and reported, so that the reported data volume is reduced, the changed SIM card data and the changed SIM card state data are reported in time, and the cloud server can update the data in the database in time.
In other embodiments, the method for reporting cloud SIM card data by the card pool device further includes:
step 205, when the card pool device determines that the card pool is faulty according to a preset fault policy, sending first alarm information to the cloud server, where the first alarm information is used to indicate that the card pool is faulty.
For example, if the card pool device fails to read the SIM card data, and/or does not receive a feedback message returned by the cloud server for a long time, it is determined that the card pool is faulty. At the moment, first alarm information is generated and sent to the cloud server to indicate that the card pool breaks down.
After receiving the first alarm information, the cloud server marks the card pool equipment as a fault state in the card pool registry according to the first alarm information, so that the SIM card in the card pool equipment is prevented from being dispatched for the terminal equipment.
Step 206, after sending the first alarm information, when the card pool device determines that the card pool is recovered to normal according to a preset fault policy, sending second alarm information to the cloud server, where the second alarm information is used to indicate that the faulty card pool is recovered to normal.
After the card pool equipment sends the first warning information, the state of the card pool equipment is continuously monitored, whether the card pool is recovered to be normal or not is judged according to a preset fault strategy, and when the card pool is judged to be recovered to be normal, for example, the SIM card data is successfully read, and/or a feedback message returned by the cloud server is received, second warning information is generated and sent to the cloud server, so that the fault card pool of the server is indicated to be recovered to be normal.
And after receiving the second alarm information, the cloud server marks the state of the card pool as a normal state in the card pool registry according to the second alarm information, so that the server can continuously schedule the SIM card in the card pool equipment for the terminal equipment.
Fig. 4 is a flowchart of a method for a cloud server to obtain and manage cloud SIM card data according to an exemplary embodiment of the present application. As shown in fig. 4, the method may include:
step 401, the cloud server receives a registration request sent by the card pool device, completes registration of the card pool device, and returns a message of successful registration to the card pool device.
The registration request at least comprises information such as card pool ID, card pool IP and port, card location number, card pool version and the like. After receiving a registration request sent by the card pool device, the cloud server firstly verifies the validity of the registration request, and if the verification is legal, the registration of the card pool device is completed. If the cloud server inquires the card pool device in the card pool registry according to the card pool ID, the relevant information of the card pool device in the card pool registry is updated according to the received registration request, and if the cloud server does not inquire the card pool device in the card pool registry, the relevant information of the card pool device is registered in the card pool registry so as to complete registration. And after the updating or the registration is finished, the cloud server returns a successful registration message to the card pool device.
Step 402, receiving reported data of the card pool device, where the reported data at least includes SIM card status data.
The reported data may be first data generated by the card pool device according to the total amount of SIM card data and the total amount of SIM card status data in the card pool, and the first data is generated and sent by the card pool device when receiving a successful registration message returned by the cloud server; or the card pool equipment generates second data according to the full amount of SIM card state data in the card pool, and the second data is generated and sent every preset period after the card pool equipment sends the first data; or the card pool equipment at least generates third data according to the state data of the total number of the SIM cards in the card pool, and the third data is generated and sent by the card pool equipment when the storage condition of the SIM cards in the card pool is monitored to be changed.
The cloud server needs to verify the validity of the reported data after receiving the reported data of the card pool device, and can execute the subsequent steps if the reported data is verified to be legal. In concrete implementation, the validity of the reported data can be verified according to the number of the card positions in the reported data. If the card position number in the reported data is consistent with the card position stored in the server, the reported data is legal.
Step 403, analyzing the SIM card status data, and updating the status of the SIM card in the database according to the analysis result of the SIM card status data.
The format of the SIM card status data may be as shown in the embodiment shown in fig. 2. Based on the data format, the cloud server traverses the states of the SIM cards in each card position according to the CID sequence of the card position numbers, acquires the states of the SIM cards in the cache according to the CID of the SIM cards when traversing to one SIM card, compares the states, does not process the SIM cards if the states are the same, continues to process the next card, and updates the reported SIM card state data into the cache if the states are different.
As a possible implementation manner, before analyzing the SIM card status data, the method of the present application further includes: judging whether the state of the SIM card in the database is updated within a first preset time before the current time point; if the status of the SIM card in the database has not been updated within a first preset time period before the current time point, step 403 is executed.
And 404, if the reported data further comprises SIM card data, analyzing the SIM card data, and updating the SIM card data in a database according to the analysis result of the SIM card data.
Specifically, traversing the SIM card data in the analysis result, retrieving whether the SIM card exists in the database every time the SIM card data is traversed to one SIM card, if so, updating the data in the database, and if not, storing the SIM card data in the database.
As can be seen from the foregoing embodiments, the present application provides a method for acquiring and managing cloud SIM card data, where the method includes: the cloud server receives a registration request sent by the card pool device, completes registration of the card pool device, returns a successful registration message to the card pool device, and then receives reported data of the card pool device; because the full amount of SIM card data is only reported when the card pool equipment receives the message of successful registration, and the full amount of SIM card state data is only reported or the full amount of SIM card state data and partial SIM card data are reported under other conditions, the received reported data volume is greatly reduced, thereby greatly reducing the data processing volume and further reducing the performance consumption of the server. In addition, when the storage condition of the SIM card in the card pool is monitored to change, the changed data can be reported, so that the server can update the data in the database in time.
In another embodiment, the method for the cloud server to acquire and manage the cloud SIM card data further includes:
step 405, acquiring the time for updating the state of the SIM card in the database last time every first preset time.
Step 406, if it is determined that the state of the SIM card in the database has not been updated for a second preset time period before the current time point according to the time for updating the state of the SIM card in the database the last time, marking the card pool in the card pool registration list as an overtime state.
Step 407, inquiring whether a card pool in an overtime state exists in the card pool registration list every third preset time.
And step 408, if the card pool with the overtime state exists, alarming.
In another embodiment, the method for the cloud server to acquire and manage the cloud SIM card data further includes:
when first alarm information sent by the card pool equipment is received, the card pool is marked as a fault state in the card pool registration list, and when second alarm information sent by the card pool equipment is received, the card pool is marked as a normal state in the card pool registration list.
The cloud server can judge the current state of the card pool equipment when intelligently scheduling the optimal SIM card for the terminal equipment applying the SIM card, and if each card pool equipment is in a fault state at present, the SIM card in the card pool does not need to be considered.
According to the method for reporting cloud SIM card data provided by the embodiment of the application, the embodiment of the application also provides a card pool device. Fig. 5 is a block diagram of a hardware configuration of the card pool device, and as shown in fig. 5, the card pool device includes:
the terminal equipment comprises a card pool 501, wherein at least one SIM card is stored in the card pool, one SIM card corresponds to one SIM card data and one SIM card state data, the SIM card state data are used for indicating the current state of the SIM card in the card pool, the SIM card stored in the card pool belongs to different regions, and the terminal equipment is configured through a cloud end;
A sending unit 502, configured to send a registration request to a cloud server after the card pool device is started; a first reporting unit 503, configured to, when receiving a message of successful registration returned by the cloud server, generate first data according to the total amount of SIM card data in the card pool at the current time and the total amount of SIM card status data, and report the first data to the cloud server, where the SIM card status data is used to indicate a current status of the SIM cards in the card pool; a second reporting unit 504, configured to generate second data according to the total amount of SIM card status data in the card pool at the current time every preset period after the first data is sent, and report the second data to the cloud server; and a third reporting unit 505, configured to generate third data when it is monitored that a storage condition of the SIM cards in the card pool changes, and report the third data to the cloud server, where the third data at least includes the total SIM card status data in the card pool at the current time.
The third reporting unit 505 is specifically configured to, when an action of inserting the SIM card occurs, generate third data according to the inserted SIM card data and the full amount of SIM card state data in the card pool at the current time, and report the third data to the cloud server; and when the SIM card is pulled out, generating third data according to the full SIM card state data in the card pool at the current moment and reporting the third data to the cloud server.
In further embodiments, the card pool device further comprises: the system comprises an alarm unit, a cloud server and a card pool device, wherein the alarm unit is used for sending first alarm information to the cloud server when the card pool device judges that a card pool has a fault according to a preset fault strategy, and the first alarm information is used for indicating that the card pool has the fault; the alarm unit is further configured to send, after sending the first alarm information, second alarm information to the cloud server when the card pool device determines that the card pool is recovered to normal according to a preset fault policy, where the second alarm information is used to indicate that the faulty card pool is recovered to normal.
According to the method for acquiring and managing the cloud SIM card data, the embodiment of the application further provides a cloud server. Fig. 6 is a block diagram of a hardware configuration of the cloud server, and as shown in fig. 6, the cloud server includes:
a receiving unit 601, configured to receive a registration request sent by a card pool device; a registration unit 602, configured to complete registration of the card pool device; a sending unit 603, configured to return a message that registration is successful to the card pool device; the receiving unit is further configured to receive reported data of the card pool device, where the reported data at least includes SIM card status data; an analyzing unit 604, configured to analyze the SIM card status data; an updating unit 605, configured to update the state of the SIM card in the database according to the analysis result of the SIM card state data; the analysis unit is further configured to analyze the SIM card data if the reported data further includes the SIM card data; the updating unit is further configured to update the SIM card data in the database according to the analysis result of the SIM card data.
In another embodiment, the cloud server further comprises: the judging unit is used for judging whether the state of the SIM card in the database is updated within a first preset time before the current time point; if the state of the SIM card in the database is not updated within a first preset time before the current time point, the analysis unit analyzes the SIM card state data and updates the state of the SIM card in the database according to the analysis result of the SIM card state data.
In another embodiment, the determining unit is further configured to obtain a time for updating the state of the SIM card in the database last time every a first preset time; and judging whether the state of the SIM card in the database is updated in a second preset time before the current time point or not according to the time for updating the state of the SIM card in the database the last time.
The cloud server further comprises a marking unit, and the marking unit is used for marking the card pool in a card pool registry as an overtime state if the state of the SIM card in the database is not updated within a second preset time before the current time point.
The judging unit is further configured to query whether a card pool in an overtime state exists in the card pool registry every third preset duration; the cloud server further comprises an alarm unit, and if the card pool in the overtime state exists, the alarm unit gives an alarm.
In another embodiment, the marking unit is further configured to mark the card pool in a card pool registry as a failure state when first alarm information sent by the card pool device is received; and when second alarm information sent by the card pool equipment is received, marking the card pool in a normal state in a card pool registry.
Fig. 7 is a schematic diagram of a server exemplarily shown in the present application. As shown in fig. 7, the server includes a memory 701 and a processor 702 connected to the memory 701, where the memory is stored with a computer program corresponding to the method for acquiring and managing cloud SIM card data provided by the present application, and the processor is configured to implement the method for acquiring and managing cloud SIM card data by calling the computer program.
The server may be a cloud server or other network-side device in any of the foregoing embodiments, and is configured to implement the method steps in the foregoing embodiments. Specifically, the server may be composed of the transceiver 703, the processor 702, the memory 701, and the like.
The transceiver 703 may be used for receiving data and transmitting data. Further, the transceiver 703 may send data to the card pool device or other network side devices under the control of the processor 702; the transceiver 702 receives data transmitted by a card pool device or other network-side device under the control of the processor 702. In this embodiment, the transceiver 703 may be configured to implement the foregoing embodiment for receiving a registration request and reporting data from a card pool device.
The processor 702 is a control center of the server, connects various parts of the entire network-side device using various interfaces and lines, and executes various functions of the server and/or processes data by running or executing software programs and/or modules stored in the memory and calling data stored in the memory.
The processor 702 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP. The processor may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof.
Memory 701 may include volatile memory (volatile memory), such as random access memory (RAV); non-volatile memory (non-volatile memory) such as flash memory (flash memory), hard disk (HDD) or solid-state drive (SSD); the memory may also comprise a combination of memories of the kind described above. The memory may have stored therein a program or code, which a processor in the network element may implement by executing to implement the functions of the network element. In specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments of the method provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, as for the device and server embodiments, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the description in the method embodiments.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (10)

1. A method for reporting cloud SIM card data is characterized by comprising the following steps:
after a card pool device is started, a registration request is sent to a cloud server, the card pool device comprises a card pool, at least one SIM card is stored in the card pool, one SIM card corresponds to one SIM card data and one SIM card state data, the SIM card state data are used for indicating the current state of the SIM card in the card pool, the SIM card stored in the card pool belongs to different regions, the terminal device is configured through the cloud server, and the card pool device is a physical machine for storing and managing a plurality of physical SIM cards, has a standard IU case structure and is used for reading data information in the physical SIM card;
When a successful registration message returned by the cloud server is received, first data are generated and reported to the cloud server according to the total SIM card data and the total SIM card state data in the card pool at the current moment, the card pool equipment collects the SIM card data and reports the collected SIM card data to the cloud server, and the cloud server intelligently schedules the optimal SIM card for the user terminal from the SIM card data reported by the card pool equipment;
after the first data are sent, second data are generated according to the full amount of SIM card state data in the card pool at the current moment every other preset period and reported to a cloud server;
and when the storage condition of the SIM cards in the card pool is monitored to change, generating third data and reporting the third data to the cloud server, wherein the third data at least comprises the state data of the total number of the SIM cards in the card pool at the current moment.
2. The method of claim 1, wherein when it is monitored that the storage condition of the SIM cards in the card pool changes, generating third data and reporting the third data to the cloud server comprises:
when an SIM card is inserted into the card pool, generating third data according to the inserted SIM card data and the full SIM card state data in the card pool at the current moment, and reporting the third data to the cloud server;
And when the SIM card is pulled out from the card pool, generating third data according to the full SIM card state data in the card pool at the current moment and reporting the third data to the cloud server.
3. The method of claim 1, further comprising:
when the card pool equipment judges that the card pool has a fault according to a preset fault strategy, sending first alarm information to the cloud server, wherein the first alarm information is used for indicating that the card pool has a fault;
after the first warning information is sent, when the card pool equipment judges that the card pool is recovered to be normal according to a preset fault strategy, second warning information is sent to the cloud server, and the second warning information is used for indicating that the failed card pool is recovered to be normal.
4. A method for acquiring and managing cloud SIM card data is characterized by comprising the following steps:
the cloud server receives a registration request sent by card pool equipment, completes registration of the card pool equipment and returns a successful registration message to the card pool equipment, wherein the card pool equipment is a physical machine for storing and managing a plurality of physical SIM cards, and is provided with a standard IU case structure and used for reading data information in the physical SIM cards;
Receiving reported data of the card pool equipment, wherein the reported data at least comprises SIM card state data, the card pool equipment collects SIM card data and reports the collected SIM card data to a cloud server, and the cloud server intelligently schedules an optimal SIM card for the user terminal from the SIM card data reported by the card pool equipment;
analyzing the SIM card state data, and updating the state of the SIM card in a database according to the analysis result of the SIM card state data;
and if the reported data also comprises SIM card data, analyzing the SIM card data, and updating the SIM card data in a database according to the analysis result of the SIM card data.
5. The method of claim 4, wherein the reporting data is:
the card pool equipment generates first data according to the total SIM card data and the total SIM card state data in the card pool, and the first data is generated and sent by the card pool equipment when receiving a successful registration message returned by the cloud server;
or the card pool equipment generates second data according to the full amount of SIM card state data in the card pool, and the second data is generated and sent every preset period after the card pool equipment sends the first data;
Or the card pool equipment at least generates third data according to the state data of the total number of the SIM cards in the card pool, and the third data is generated and sent by the card pool equipment when the storage condition of the SIM cards in the card pool is monitored to be changed.
6. The method of claim 4, wherein prior to said parsing SIM card status data, the method further comprises:
judging whether the state of the SIM card in the database is updated within a first preset time before the current time point;
and if the state of the SIM card in the database is not updated within a first preset time before the current time point, analyzing the state data of the SIM card, and updating the state of the SIM card in the database according to the analysis result of the state data of the SIM card.
7. The method of claim 4, further comprising;
acquiring the time for updating the state of the SIM card in the database at the last time every a first preset time;
if the state of the SIM card in the database is not updated within a second preset time before the current time point according to the time for updating the state of the SIM card in the database for the last time, marking the card pool as an overtime state in a card pool registry;
Inquiring whether a card pool with an overtime state exists in the card pool registry every a third preset time length;
and if the card pool with the overtime state exists, alarming.
8. The method of claim 4, further comprising:
when first alarm information sent by card pool equipment is received, marking the card pool in a card pool registry as a fault state;
and when second alarm information sent by the card pool equipment is received, marking the card pool in a normal state in the card pool registry.
9. A card pool device, comprising:
the system comprises a card pool, at least one SIM card is stored in the card pool, one SIM card corresponds to one SIM card data and one SIM card state data, the SIM card state data is used for indicating the current state of the SIM cards in the card pool, the SIM cards stored in the card pool belong to different regions, the SIM cards are configured for terminal equipment through a cloud server, and the card pool equipment is a physical machine for storing and managing a plurality of physical SIM cards, has a standard IU case structure and is used for reading data information in the physical SIM cards;
the sending unit is used for sending a registration request to the cloud server after the card pool equipment is started;
The first reporting unit is used for generating first data and reporting the first data to the cloud server according to the total SIM card data and the total SIM card state data in the card pool at the current moment when a successful registration message returned by the cloud server is received, the card pool equipment collects the SIM card data and reports the collected SIM card data to the cloud server, and the cloud server intelligently schedules the optimal SIM card for the user terminal from the SIM card data reported by the card pool equipment;
the second reporting unit is used for generating second data according to the full amount of SIM card state data in the card pool at the current moment every preset period after the first data are sent, and reporting the second data to the cloud server;
and the third reporting unit is used for generating third data and reporting the third data to the cloud server when the storage condition of the SIM cards in the card pool is monitored to change, wherein the third data at least comprises the full SIM card state data in the card pool at the current moment.
10. A cloud server, the cloud server comprising:
the receiving unit is used for receiving a registration request sent by the card pool equipment;
the registration unit is used for finishing registration of the card pool equipment;
a sending unit, configured to return a message of successful registration to the card pool device;
The receiving unit is further configured to receive reported data of the card pool device, where the reported data at least includes SIM card status data;
the analysis unit is used for analyzing the SIM card state data;
the updating unit is used for updating the state of the SIM card in the database according to the analysis result of the SIM card state data;
the analysis unit is further configured to analyze the SIM card data if the reported data further includes the SIM card data;
the updating unit is further configured to update the SIM card data in the database according to the analysis result of the SIM card data.
CN201910768991.0A 2019-08-20 2019-08-20 Method for acquiring and managing cloud SIM card data, card pool device and cloud server Active CN110493770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910768991.0A CN110493770B (en) 2019-08-20 2019-08-20 Method for acquiring and managing cloud SIM card data, card pool device and cloud server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910768991.0A CN110493770B (en) 2019-08-20 2019-08-20 Method for acquiring and managing cloud SIM card data, card pool device and cloud server

Publications (2)

Publication Number Publication Date
CN110493770A CN110493770A (en) 2019-11-22
CN110493770B true CN110493770B (en) 2022-07-29

Family

ID=68552268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910768991.0A Active CN110493770B (en) 2019-08-20 2019-08-20 Method for acquiring and managing cloud SIM card data, card pool device and cloud server

Country Status (1)

Country Link
CN (1) CN110493770B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111512657B (en) * 2020-03-25 2023-01-24 北京小米移动软件有限公司 Information transmission method and device, communication equipment and storage medium
WO2022007900A1 (en) * 2020-07-08 2022-01-13 深圳市优克联新技术有限公司 Network switching circuit and customer premises equipment
CN112261622B (en) * 2020-10-14 2023-06-02 广东悦伍纪网络技术有限公司 Cloud SIM card wireless internet surfing method, device and system
CN113076493A (en) * 2021-03-31 2021-07-06 北京达佳互联信息技术有限公司 Electronic map point of interest (POI) data processing method and device and server
WO2023139404A1 (en) * 2022-01-19 2023-07-27 Pismo Labs Technology Limited Methods and systems for using and managing a plurality of remote subscriber identification modules

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430636A (en) * 2015-11-03 2016-03-23 深圳市数字星河科技有限公司 SIM card management method and system
CN105554728A (en) * 2015-12-10 2016-05-04 深圳市迪讯飞科技有限公司 Cloud SIM card pool system
CN108769978A (en) * 2018-04-13 2018-11-06 深圳市优克联新技术有限公司 SIM card management server, binding device, management method, binding method and system
CN108810871A (en) * 2018-09-06 2018-11-13 深圳智网通信技术有限公司 A kind of SIM card cell system of pyramid frame-type

Also Published As

Publication number Publication date
CN110493770A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN110493770B (en) Method for acquiring and managing cloud SIM card data, card pool device and cloud server
JP5942011B2 (en) System for managing a plurality of subscriber information in UICC
US20180067841A1 (en) Method and apparatus for determining a performance impact by a software upgrade of a mobile user endpoint device
CN106162517B (en) Virtual SIM card management method and system
JP3686038B2 (en) Method and system for obtaining identification information about a party monitored in a communication network
US20130344857A1 (en) Subscriber Identity Module Activation During Active Data Call
CN105338515B (en) Data service transmission method and mobile communication equipment
CN101296443B (en) Multi-standby terminal and method for self-registration
CN104967988A (en) Data roaming method, apparatus and system
CN101657036A (en) Method for updating correspondence of terminal identification and user identification, equipment and system thereof
CN112615753A (en) Link abnormity tracking method, first node, second node and link
CN106162603A (en) A kind of method and apparatus realizing card selection
CN102595376B (en) A kind of activating method, Apparatus and system of User Identity card
CN102651883A (en) Method and apparatus for detecting connection loss of terminal
CN111083690A (en) Method and device for reporting user plane functional entity information
CN102256241B (en) Method, server and intelligent card for acquiring bearer independent protocol (BIP) information of terminal
CN106793062A (en) Data card changing method, system and mobile terminal
CN103096433A (en) Service gateway choosing method and system of terminal group
CN114268970A (en) Network capability opening method, equipment and storage medium
CN101296442A (en) Multi-standby terminal and method for implementing information management of multi-standby terminal
CN115086276B (en) Address management method, device, equipment and system
CN108881392B (en) Method and device for updating service characteristic database
CN102573106B (en) The message of partial failure sends
CN103227984A (en) Method and device for restoring general packet radio service, and mobile terminal
EP4054220A1 (en) Mobile service access method, device, and system, storage medium, and electronic 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