A kind of plurality of SIM cards cluster card reading call method and system based on Cloud Server
Technical field
The present invention relates to fields of communication technology, logical more particularly, to a kind of plurality of SIM cards cluster card reading based on Cloud Server
Talk about method and system.
Background technique
VOIP:Voice over Internet Protocol, IP-based voice transfer, the i.e. networking telephone will be simulated
Sound signal through the transmission of speech sound signal after overcompression and package, is carried out in IP network in the form of data packet, it is popular
For namely Internet Protocol telephone or IP phone.
With the development of communication technology, mobile phone has become the means of communication of manpower indispensability.Along with the complete of human development
Nodularization, due to going on business, travelling, people are often in strange land, this just will appear mobile phone roaming.Current SIM card mechanism,
Mobile phone is in the country, the international roaming expense, especially international roaming that great number can be generated when roaming, costly.Only break
Limitation caused by traditional SIM card mechanism could effectively play the convenience that mobile phone brings people.Therefore, how the whole world is reduced
Roaming communication rate, become the problem that those skilled in the art need to solve.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention
One purpose is to provide a kind of plurality of SIM cards cluster card reading call method and system based on Cloud Server, can reduce roaming charges
With.
The technical scheme adopted by the invention is that:
In a first aspect, the present invention provides a kind of plurality of SIM cards cluster card reading call method based on Cloud Server, the method
Comprising steps of
Connection is established with third-party server;
Called number is obtained from the third-party server;
Connection is established with operator base station;
Call request is sent to the operator base station by the domain CS;
The call request is sent to called terminal by the operator base station.
Further, the method also includes steps:
The call voice Data Concurrent for obtaining the called terminal from the operator base station is sent to the third party's service
Device;
The call voice data of the called terminal are sent to calling terminal by the third-party server;
The third-party server receives the call voice data of the calling terminal;
The call voice Data Concurrent for obtaining the calling terminal from the third-party server is sent to operator's base
It stands;
The call voice data of the calling terminal are sent to the called terminal by the operator base station.
Further, the step further comprises the steps of: before establishing connection with third-party server
Connection is established with Cloud Server;
SIM card image file is downloaded from the Cloud Server;
The SIM card image file is stored in SIM card simulator;
The SIM card simulator is sent a request to, the SIM simulator responds message;
The SIM card simulator is sent a request to again, obtains SIM card image file information.
Further, the method also includes steps:
Authorizing procedure is initiated using the SIM card image file information got, it obtains and reflects from the operator base station
Power demand file is to realize authentication.
Further, the step obtains authentication request file from the operator base station to realize that authentication specifically includes:
Authentication request file is obtained from the operator base station and is forwarded to the Cloud Server;
The authentication request file is sent to SIM card Ka Chi by the Cloud Server, obtains what the SIM card Ka Chi was returned
Answer file, and the answer file is sent to the operator base station;
After the operator base station obtains answer file, is realized and authenticated using the answer file.
Further, the method also includes steps:
It obtains authenticating result, record authentication process and abnormal conditions and is back to the Cloud Server.
Further, the method also includes steps:
Nodal information is obtained, by the status information feedback of talking path to the Cloud Server and the third party's service
Device;
The talking path restores to idle state.
Second aspect, the present invention provide a kind of plurality of SIM cards cluster card reading phone system based on Cloud Server, the system
Include:
First establishes link block, for establishing connection with third-party server;
Module is obtained, for obtaining called number from the third-party server;
Second establishes link block, for establishing connection with operator base station;
First sending module, for call request to be sent to the operator base station by the domain CS;
The call request is sent to called terminal for the operator base station by the second sending module.
Further, the system also includes:
Third establishes module, for establishing connection with Cloud Server;
Download module, for downloading SIM card image file from the Cloud Server;
Memory module, for the SIM card image file to be stored in SIM card simulator.
The beneficial effects of the present invention are:
The present invention accesses GSM network and establishes connection with operator base station by building third-party server, passes through CS
Call request is sent to operator base station by domain, then is forwarded to called terminal by operator base station, to considerably reduce unrestrained
The cost of the phone call of trip.
Detailed description of the invention
Fig. 1 is a kind of stream of an embodiment of the plurality of SIM cards cluster card reading call method based on Cloud Server in the present invention
Journey schematic diagram.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.
Embodiment one
A kind of plurality of SIM cards cluster card reading call method based on Cloud Server is present embodiments provided, such as Fig. 1 is this reality
Apply a kind of flow diagram of the plurality of SIM cards cluster card reading call method based on Cloud Server in example.The method comprising the steps of:
Connection is established with third-party server;
Called number is obtained from third-party server;
Connection is established with operator base station;
Call request is sent to operator base station by the domain CS;
Call request is sent to called terminal by operator base station.
This method is realized based on cat pool equipment.Cat pool equipment is that a considerable amount of Modem (modem) is used spy
Different dial request access device links together, and can receive the equipment of multiple subscriber dialing connections simultaneously.Below to above-mentioned
Each step elaborates:
When the docking of VOIP phone, cat pool equipment starts port, establishes connection by VOIP agreement and third-party server.
In the present embodiment, for there are 8 sim card slots on cat pool equipment, then 8 ports of starting is needed, establish 8 tunnels with third-party server
Connection, the phone call request for waiting third-party server to send (including called number).So-called third-party server, refers to use
The corresponding server of third party software installed in family terminal (such as mobile phone, tablet computer etc.).In the present embodiment, third party is soft
If part referred to as CAMTALK, CAMTALK server cooperation third party software plays the role of receiving signal and forwarding request;
Calling terminal inputs the telephone number of called terminal, and the telephone number of called terminal is sent to CAMTALK service
Device.Cat pool equipment obtains the telephone number of called terminal from CAMTALK server;
Cat pool equipment establishes connection by GSM network and operator base station;
Call request is sent to operator base station by the domain CS by cat pool equipment, and CS (hand over by Circuit Switched, circuit
Change) domain be both call sides distribute a designated lane;
Call request passes through base band and radio frequency processing in operator base station, is sent on antenna and is sent out by radio frequency feed line
It penetrates, called terminal passes through the radio wave that wireless channel receiving antenna is emitted, and then demodulates one's own signal.
Further, this method further comprises the steps of:
The call voice Data Concurrent for obtaining called terminal from operator base station is sent to third-party server;
The call voice data of called terminal are sent to calling terminal by third-party server;
The call voice data of third-party server reception calling terminal;
The call voice Data Concurrent for obtaining calling terminal from third-party server is sent to operator base station;
The call voice data of calling terminal are sent to called terminal by operator base station.
Specifically, when called terminal connect phone when, by VOIP agreement by the call voice data of called terminal with
The compression of G729 speech-encoded format, operator base station is once transmitted to 20ms.Meanwhile cat pool equipment with 20ms once from operation
Quotient base station obtains the call voice data of called terminal and is transmitted to CAMTALK server, and CAMTALK server is again by called end
The call voice data at end are transmitted to calling terminal, realize call of the called terminal to calling terminal.In turn, calling terminal
Call voice data are first transmitted to CAMTALK server, and cat pool equipment obtains the call of calling terminal from CAMTALK server
Voice data concurrency is sent to operator base station, and then the call voice data of calling terminal are transmitted to called whole by operator base station
Call of the calling terminal to called terminal is realized at end.
As an improvement of the above technical solution, it also needs to complete preparation before call, comprising:
Connection is established with Cloud Server;
SIM card image file is downloaded from Cloud Server;
SIM card image file is stored in SIM card simulator;
SIM card simulator is sent a request to, SIM simulator responds message;
SIM card simulator is sent a request to again, obtains SIM card image file information;
Authorizing procedure is initiated using the SIM card image file information got, obtains authentication request text from operator base station
Part is to realize authentication.
Wherein, authentication request file is obtained to realize that authentication specifically includes from operator base station:
Authentication request file is obtained from operator base station and is forwarded to Cloud Server;
Authentication request file is sent to SIM card Ka Chi by Cloud Server, obtains the answer file that SIM card Ka Chi is returned, and
Answer file is sent to operator base station;
After operator base station obtains answer file, is realized and authenticated using answer file.
Specifically, after cat pool equipment powers on, 8 ports are established, establish connection with cloud SIM server.After successful connection, cat
Pool equipment is submitted to cloud SIM server and is requested, and the SIM card image file of 8 SIM cards is downloaded, by 8 SIM card mirror images of downloading
File is stored in SIM card simulator, and is returned to download successfully to instruct and be given to cat pool equipment, to complete SIM card image file
Downloading.
After the completion of the downloading of SIM card image file, cat pool equipment initiates ATR request to SIM card simulator, and corresponding virtual
SIM card establishes communication protocol, guarantees the normal communication with SIM card image file.SIM card simulator is made after receiving ATR request
Response message (communication protocol that response message includes above-mentioned support), cat pool equipment sends APTU request again later, from SIM card
Simulator obtains SIM card image file information, authorizing procedure is initiated using the SIM card image file information got, from operation
Quotient base station obtains authentication request file to realize authentication.Specifically, operator base station issues authentication request file and gives cat pool equipment,
Authentication request file is forwarded to cloud SIM server by cat pool equipment, and authentication request file is sent to SIM again by cloud SIM server
Block Ka Chi, the built-in file comprising authentication operation, i.e. answer file inside the corresponding entity card in SIM card card pond, SIM card card
Pond returns to the answer file to cloud SIM server, and cloud SIM server gives answer file to operator base station by backtracking.Fortune
After seeking quotient base station acquisition answer file, authenticated using the answer file, to verify the timeliness of SIM card, i.e., whether SIM card
It can use.Herein it should be noted that SIM card Ka Chi is a kind of SIM card centralized management equipment.Generally, SIM card Ka Chi makes
After SIM card image file, image file is uploaded to cloud SIM server by SIM card Ka Chi, cat pool equipment again by with cloud SIM
Server, which interacts, obtains SIM card image file.
Preferably, in order to obtain authenticating result in time and save the abnormal conditions occurred in preparation, preparation is also
Include:
It obtains authenticating result, record authentication process and abnormal conditions and is back to Cloud Server.
After the completion of authentication, cat pool equipment obtains authenticating result.In cat pool equipment operational process, cat pool equipment is every one section
Time can receive the authentication information of operator base station transmission, and the authentication information received is forwarded to cloud SIM by cat pool equipment
Server obtains authenticating result and completes authorizing procedure, and records authentication process and abnormal conditions, such as: SIM card interaction exception,
Interface error, GSM are unable to normal registration network etc., and authentication process is returned to cloud SIM server with abnormal conditions and is saved.
As an improvement of the above technical solution, this method further include:
Nodal information is obtained, by the status information feedback of talking path to Cloud Server and third-party server;
Talking path restores to idle state.
Specifically, in entire communication process, cat pool equipment needs to obtain the nodal information in communication process, such as connects
Phone, the nodal informations such as hang up the telephone, and status information feedback to the cloud for the talking path that the domain CS is both call sides distribution is taken
Business device and CAMTALK server.When hanging up the telephone, the domain CS is that the talking path of both call sides distribution will then revert to idle shape
State.
Plurality of SIM cards cluster card reading call method provided in this embodiment based on Cloud Server, by building cloud SIM service
Device and third-party server CAMTALK server, while GSM network is accessed, SIM card image file is downloaded, is carried out by the domain CS
The operation such as phone, transmission/reception short message is dialed/received, the generation of roaming communication fee is greatly lowered;It is main after end of conversation
The talking path of dynamic release busy and cloud SIM card port, greatly improve resource utilization and flexibility.
Embodiment 2
A kind of plurality of SIM cards cluster card reading phone system based on Cloud Server is present embodiments provided, which includes:
First establishes link block, for establishing connection with third-party server;
Module is obtained, for obtaining called number from third-party server;
Second establishes link block, for establishing connection with operator base station;
First sending module, for call request to be sent to operator base station by the domain CS;
Call request is sent to called terminal for operator base station by the second sending module.
As an improvement of the above technical solution, the system further include:
Third establishes module, for establishing connection with Cloud Server;
Download module, for downloading SIM card image file from Cloud Server;
Memory module, for SIM card image file to be stored in SIM card simulator.
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to the implementation above
Example, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.