CN116887456B - Call forwarding method and device based on double cards and double numbers of communication terminal - Google Patents

Call forwarding method and device based on double cards and double numbers of communication terminal Download PDF

Info

Publication number
CN116887456B
CN116887456B CN202310983462.9A CN202310983462A CN116887456B CN 116887456 B CN116887456 B CN 116887456B CN 202310983462 A CN202310983462 A CN 202310983462A CN 116887456 B CN116887456 B CN 116887456B
Authority
CN
China
Prior art keywords
communication
authorization
communication terminal
server
operator
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
CN202310983462.9A
Other languages
Chinese (zh)
Other versions
CN116887456A (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.)
China United Network Communications Corp Ltd Shenzhen Branch
Original Assignee
China United Network Communications Corp Ltd Shenzhen Branch
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 China United Network Communications Corp Ltd Shenzhen Branch filed Critical China United Network Communications Corp Ltd Shenzhen Branch
Priority to CN202310983462.9A priority Critical patent/CN116887456B/en
Publication of CN116887456A publication Critical patent/CN116887456A/en
Application granted granted Critical
Publication of CN116887456B publication Critical patent/CN116887456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold

Abstract

The application provides a call forwarding method and a device based on double cards and double numbers of a communication terminal, wherein the method relates to the communication terminal and a server, and comprises the following steps: the server determines a first communication carrier corresponding to the authorization number and a first communication carrier network corresponding to the first communication carrier according to the authorization number; when the authorized number is called, the server determines whether the authorized number is registered in a second communication operator network corresponding to the calling number; if yes, the authorization number is connected, and meanwhile, the authorization number can use credit, and the communication service is used as a calling party in the network of the authorization number; if not, the authorization number is connected through the first communication carrier network corresponding to the authorization number and according to the first communication carrier network. The invalid back-and-forth connection of intercommunication between corresponding networks of a communication operator is reduced, the method is suitable for development of green low-carbon economy, and faster call transfer connection is realized.

Description

Call forwarding method and device based on double cards and double numbers of communication terminal
Technical Field
The application relates to the communication field, in particular to a call forwarding method and a call forwarding device based on double cards and double numbers of a communication terminal.
Background
When a signal is received from a mobile communication terminal, a call transfer is usually performed by setting the mobile communication terminal or dialing a customer service number of a communication carrier to which the terminal number of the mobile communication terminal belongs, and the call transfer is performed by paying a call fee to the communication carrier to which the terminal number of the mobile communication terminal belongs.
At present, double cards and double numbers in mobile communication terminals are quite common, especially when two numbers belong to different communication operators, and when no signal exists in one number, the other number can be used for realizing calling or called.
In the existing call forwarding, the efficiency of call forwarding is reduced due to the need of back-and-forth connection of interworking between corresponding networks of the communication operators, and high cost is easily generated, which increases the communication cost for the call forwarding using high frequency users.
Disclosure of Invention
In view of the above problems, the present application has been made to provide a communication terminal double-card double-number based call forwarding method and apparatus thereof, which overcomes the above problems or at least partially solves the above problems, including:
A call forwarding method based on a double-card double-number of a communication terminal, the method involving the communication terminal and a server, the method comprising:
the server responds to terminal information sent by the communication terminal, and determines whether the communication terminal is a double telephone number and a software development module exists according to the terminal information, wherein the double telephone number comprises a first telephone number and a second telephone number, an operator corresponding to the first telephone number is a first communication operator, an operator corresponding to the second telephone number is a second communication operator, and the first communication operator and the second communication operator are different from each other;
When the communication terminal is determined to have the double telephone numbers and the software development module exists, the server generates confirmation information and sends the confirmation information to the communication terminal; the communication terminal is used for generating authorization information according to the confirmation information and sending the authorization information to the server;
the server receives the authorization information sent by the communication terminal, wherein the authorization information comprises an authorization number and a credit line which corresponds to the authorization number and can use communication service, and the authorization number is one of the first telephone number and the second telephone number;
The server determines a first communication carrier corresponding to the authorization number and a first communication carrier network corresponding to the first communication carrier according to the authorization number, wherein the authorization number is used for using communication services with telephone numbers of other communication carriers in the first communication carrier network, and the other communication carriers are different communication carriers from the first communication carrier;
when the authorized number is called, the server determines whether the authorized number is registered in a second communication operator network corresponding to the calling number;
If yes, the authorization number is connected; if not, the network is transmitted to the first communication operator network corresponding to the authorized number through the gateway office, and the authorized number is connected according to the first communication operator network.
Further, before the step of determining whether the communication terminal has a dual phone number and whether a software development module exists in the communication terminal according to the terminal information, the method includes:
the server generates an acquisition request through each operator core network;
the server transmits the acquisition request to the communication terminal.
Further, the method further comprises the following steps:
And when the credit limit is smaller than a preset threshold value, the server terminates communication in a call state, wherein the call state comprises the authorized number as a called number and the authorized number as a calling number.
Further, when the credit limit is smaller than a preset threshold, the step of terminating the communication in the call state by the server includes:
the server generates an authorization request and sends the authorization request to the communication terminal;
And the server receives the credit line which is sent by the communication terminal and corresponds to the credit number after recharging, and resumes communication according to the credit line after recharging.
The embodiment of the invention also discloses a call transfer method based on the double-card double-number of the communication terminal, the method relates to the communication terminal and the server, and the method comprises the following steps:
when the communication terminal receives an acquisition request sent by the server, the communication terminal acquires terminal information according to the acquisition request and sends the terminal information to the server;
When the communication terminal receives the confirmation information sent by the server, the communication terminal generates the authorization information according to the confirmation information and sends the authorization information to the server;
When the communication terminal receives the authorization request sent by the server, the communication terminal generates a credit line corresponding to the credit number after recharging according to the authorization request, and sends the credit line after recharging to the server.
Further, the step of generating the authorization information according to the confirmation information and transmitting the authorization information to the server includes:
The communication terminal acquires a third party authentication end according to the confirmation information, wherein the third party authentication end comprises a bank APP, a payment bank APP and a WeChat APP;
the communication terminal obtains the authorization information by performing authentication and authorization through any one of the bank APP, the payment treasure APP and the WeChat APP;
And the communication terminal sends the authorization information to the server through a software development module.
The embodiment of the invention also discloses a call transfer device based on the double-card double-number of the communication terminal, the device relates to the communication terminal and the server, and the device comprises:
The first determining module is used for determining whether the communication terminal is a double telephone number and whether a software development module exists according to terminal information sent by the communication terminal, wherein the double telephone number comprises a first telephone number and a second telephone number, an operator corresponding to the first telephone number is a first communication operator, an operator corresponding to the second telephone number is a second communication operator, and the first communication operator and the second communication operator are different from each other;
the first sending module is used for generating confirmation information by the server and sending the confirmation information to the communication terminal when the communication terminal is determined to have the double telephone numbers and the software development module exists; the communication terminal is used for generating authorization information according to the confirmation information and sending the authorization information to the server;
The second sending module is used for receiving the authorization information sent by the communication terminal by the server, wherein the authorization information comprises an authorization number and a credit line which corresponds to the authorization number and can use communication services, and the authorization number is one of the first telephone number and the second telephone number;
A second determining module configured to determine, by the server, a first communication carrier corresponding to the authorization number and a first communication carrier network corresponding to the first communication carrier according to the authorization number, the authorization number being used for using a communication service with telephone numbers of other communication carriers in the first communication carrier network, the other communication carriers being communication carriers other than the first communication carrier;
The third determining module is used for determining whether the authorized number is registered and logged in a second communication operator network corresponding to the calling number when the authorized number is called;
The judging module is used for switching on the authorized number if yes; if not, the authorization number is connected through the first communication carrier network corresponding to the authorization number and according to the first communication carrier network.
The embodiment of the invention also discloses a call transfer device based on the double-card double-number of the communication terminal, the device relates to the communication terminal and the server, and the device comprises:
the third sending module is used for obtaining terminal information according to the obtaining request and sending the terminal information to the server when the communication terminal receives the obtaining request sent by the server;
A fourth sending module, configured to, when the communication terminal receives the acknowledgement information sent by the server, generate the authorization information according to the acknowledgement information, and send the authorization information to the server;
And the fifth sending module is used for generating a credit line corresponding to the credit number after recharging according to the authorization request when the communication terminal receives the authorization request sent by the server, and sending the credit line after recharging to the server.
The embodiment of the invention also discloses a computer device which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the call forwarding method based on the double-card double-number of the communication terminal when being executed by the processor.
An embodiment of the present invention also discloses a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of a call forwarding method based on a double-card double-number of a communication terminal as described above.
The application has the following advantages:
In the embodiment of the application, compared with the prior art of ' in the existing call forwarding, the call forwarding efficiency is reduced and high cost is easy to generate by the back and forth connection which needs to be communicated with the corresponding network of the communication operator ', and the communication cost is increased for the call forwarding by using a high frequency person ', the application provides a solution of ' a call forwarding method based on a double-card double-number of a communication terminal and a device thereof ', which is specifically as follows: "a call transfer method based on a double-card double-number of a communication terminal, the method involving a communication terminal and a server, the method comprising: the server responds to terminal information sent by the communication terminal, and determines whether the communication terminal is a double telephone number and a software development module exists according to the terminal information, wherein the double telephone number comprises a first telephone number and a second telephone number, an operator corresponding to the first telephone number is a first communication operator, an operator corresponding to the second telephone number is a second communication operator, and the first communication operator and the second communication operator are different from each other; when the communication terminal is determined to have the double telephone numbers and the software development module exists, the server generates confirmation information and sends the confirmation information to the communication terminal; the communication terminal is used for generating authorization information according to the confirmation information and sending the authorization information to the server; the server receives the authorization information sent by the communication terminal, wherein the authorization information comprises an authorization number and a credit line which corresponds to the authorization number and can use communication service, and the authorization number is one of the first telephone number and the second telephone number; the server determines a first communication carrier corresponding to the authorization number and a first communication carrier network corresponding to the first communication carrier according to the authorization number, wherein the authorization number is used for using communication services with telephone numbers of other communication carriers in the first communication carrier network, and the other communication carriers are different communication carriers from the first communication carrier; when the authorized number is called, the server determines whether the authorized number is registered in a second communication operator network corresponding to the calling number; if yes, the authorization number is connected; if not, the network is transmitted to the first communication operator network corresponding to the authorized number through the gateway office, and the authorized number is connected according to the first communication operator network. The problem that in the existing call forwarding, the call forwarding efficiency is reduced and high cost is easy to generate due to the back-and-forth connection of intercommunication between corresponding networks of communication operators is solved through the ' authorized number ', the problem that communication cost is increased for a high-frequency person for call forwarding ' is solved, the ineffective back-and-forth connection of intercommunication between corresponding networks of the communication operators is reduced, the development of green low-carbon economy is adapted, the faster call forwarding connection is realized, the call forwarding telephone charge is low or free, the rights and interests of users are guaranteed, and the public praise and benefit of the communication operators implementing the function are improved; especially, when the telephone traffic of the user passing through the network with such call transfer requirement is more, the communication operator to which the number for implementing the call transfer belongs can also save the cost of the internet settlement.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the description of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flow chart of steps of a call forwarding method based on a dual card and dual number of a communication terminal according to an embodiment of the present application;
fig. 2 is a flow chart of steps of a call forwarding method based on a dual card and dual number of a communication terminal according to an embodiment of the present application;
fig. 3 is a block diagram of a call forwarding device based on a dual card and dual number of a communication terminal according to an embodiment of the present application;
fig. 4 is a block diagram of a call forwarding device based on a dual card and dual number of a communication terminal according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order that the manner in which the above recited objects, features and advantages of the present application are obtained will become more readily apparent, a more particular description of the application briefly described above will be rendered by reference to the appended drawings. It will be apparent that the described embodiments are some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The inventors found by analyzing the prior art that: the double-card double-number in the mobile communication terminal is quite common, especially when two numbers belong to different communication operators, when no signal exists in one number, the other number can be used for realizing calling or called; when one number in the double-card mobile communication terminal has no signal, not only can the call be initiated, but also all incoming calls of the number can not be answered if 'signal unreachable transfer' is not set in advance when the communication carrier to which the number belongs has signals. In addition, even if preset, although the number (second called) from which the telephone is finally received is itself free, for another number (first called) using the call transfer function, it is necessary to pay the generated call charge (usually 0.1 yuan/minute, some carriers and call transfer function charge) to the carrier to which the number belongs, whereas the original telephone number (first called) is free to directly receive the telephone.
In the existing call forwarding, the efficiency of call forwarding is reduced due to the need of back-and-forth connection of interworking between corresponding networks of the communication operators, and high cost is easily generated, which increases the communication cost for the call forwarding using high frequency users.
Referring to fig. 1, a step flow diagram of a call forwarding method based on a dual card and dual number of a communication terminal according to an embodiment of the present application is shown;
A call forwarding method based on a double-card double-number of a communication terminal, the method involving the communication terminal and a server, the method comprising:
S110, the server responds to terminal information sent by the communication terminal, and determines whether the communication terminal is a double telephone number and a software development module exists according to the terminal information, wherein the double telephone number comprises a first telephone number and a second telephone number, an operator corresponding to the first telephone number is a first communication operator, an operator corresponding to the second telephone number is a second communication operator, and the first communication operator and the second communication operator are different from each other;
S120, when the communication terminal is determined to have the double telephone numbers and the software development module exists, the server generates confirmation information and sends the confirmation information to the communication terminal; the communication terminal is used for generating authorization information according to the confirmation information and sending the authorization information to the server;
S130, the server receives the authorization information sent by the communication terminal, wherein the authorization information comprises an authorization number and a credit line which corresponds to the authorization number and can use communication services, and the authorization number is one of the first telephone number and the second telephone number;
S140, the server determines a first communication operator corresponding to the authorization number and a first communication operator network corresponding to the first communication operator according to the authorization number, wherein the authorization number is used for using communication services with telephone numbers of other communication operators in the first communication operator network, and the other communication operators are different communication operators from the first communication operator;
S150, when the authorized number is called, the server determines whether the authorized number is registered in a second communication operator network corresponding to the calling number;
s160, if yes, the authorization number is connected; if not, the authorization number is connected through a second communication operator network corresponding to the authorization number and according to the first communication operator network.
In the embodiment of the application, compared with the prior art of ' in the existing call forwarding, the call forwarding efficiency is reduced and high cost is easy to generate by the back and forth connection which needs to be communicated with the corresponding network of the communication operator ', and the communication cost is increased for the call forwarding by using a high frequency person ', the application provides a solution of ' a call forwarding method based on a double-card double-number of a communication terminal and a device thereof ', which is specifically as follows: "a call transfer method based on a double-card double-number of a communication terminal, the method involving a communication terminal and a server, the method comprising: the server responds to terminal information sent by the communication terminal, and determines whether the communication terminal is a double telephone number and a software development module exists according to the terminal information, wherein the double telephone number comprises a first telephone number and a second telephone number, an operator corresponding to the first telephone number is a first communication operator, an operator corresponding to the second telephone number is a second communication operator, and the first communication operator and the second communication operator are different from each other; when the communication terminal is determined to have the double telephone numbers and the software development module exists, the server generates confirmation information and sends the confirmation information to the communication terminal; the communication terminal is used for generating authorization information according to the confirmation information and sending the authorization information to the server; the server receives the authorization information sent by the communication terminal, wherein the authorization information comprises an authorization number and a credit line which corresponds to the authorization number and can use communication service, and the authorization number is one of the first telephone number and the second telephone number; the server determines a first communication carrier corresponding to the authorization number and a first communication carrier network corresponding to the first communication carrier according to the authorization number, wherein the authorization number is used for using communication services with telephone numbers of other communication carriers in the first communication carrier network, and the other communication carriers are different communication carriers from the first communication carrier; when the authorized number is called, the server determines whether the authorized number is registered in a second communication operator network corresponding to the calling number; if yes, the authorization number is connected; if not, the network is transmitted to the first communication operator network corresponding to the authorized number through the gateway office, and the authorized number is connected according to the first communication operator network. The problem that in the existing call forwarding, the call forwarding efficiency is reduced by the back-and-forth connection of intercommunication between corresponding networks of communication operators is needed, high cost is easy to generate, the invalid back-and-forth connection of intercommunication between corresponding networks of the communication operators is reduced by increasing communication cost for call forwarding using high-frequency operators, the development of green low-carbon economy is adapted, faster call forwarding is realized, and call forwarding telephone charge is low or free, so that the rights and interests of users are guaranteed, and the public praise and benefit of the communication operators implementing the function are improved; especially, when the telephone traffic of the user passing through the network with such call transfer requirement is more, the communication operator to which the number for implementing the call transfer belongs can also save the cost of the internet settlement.
Next, a call transfer method based on the double card and double number of the communication terminal in the present exemplary embodiment will be further described.
When the number card of the communication carrier B has no signal, the communication carrier A with signal can answer the incoming call without signal number and can use the number to initiate call; meanwhile, when the user of the A communication operator calls the number card of the B communication operator, the user is directly connected in the network of the A communication operator, and the user does not need to go through the network to the B communication operator through the gateway office, so that invalid connection back and forth of intercommunication between corresponding networks of the communication operator is reduced.
It should be noted that, after the authorization number obtains the credit line, a corresponding communication service may be used, where the communication service refers to a communication charge and a specific use item of the corresponding communication charge, where the use item includes a calling party, a called party, a mobile internet, a short multimedia message, and the like.
In a specific implementation, when the communication terminal is detected to be double telephone numbers, and the communication terminal is provided with a software development module of an operator, the mobile data network of the operator is relied on for one-key login, and the technologies of 'number taking of a communication gateway', SIM card identification and the like are adopted to realize the identity authentication of the mobile user; the software development module is a software development kit, which is a set of development tools used by a software engineer to create application software for a specific software package, a software framework, a hardware platform, an operating system, etc., and generally, an SDK is an SDK used for developing an application program under a Windows platform. It facilitates the creation of applications by compilers, debuggers, software frameworks, etc. It may simply provide some files of application programming interface APIs for a programming language, but may also include complex hardware that can communicate with an embedded system. Common tools include utilities for debugging and other uses. SDKs also often include example code, supporting technical notes, or other supporting documents that clarify the suspects for the underlying reference material.
In a specific implementation, the server generates acknowledgement information and sends the acknowledgement information to the communication terminal; the server generates an authorization page according to the confirmation information, the developer can realize the authentication and authorization of a third party through the authorization page APP, the user obtains the number after authorization, namely the authorization number, and the user can directly use the authorization number to log in by one key without password so as to register, log in and the like.
In a specific implementation, when the calling number calls the number, namely the authorized number, inquiring whether the number, namely the authorized number, is registered and logged in a second communication operator network in a second communication operator corresponding to the calling number, if so, switching on the called number, namely the authorized number; if not, the gateway office which is the interconnection gateway office between the communication operators is used for transmitting the called number which is the authorized number to the first communication operator network which is the communication operator network to which the called number belongs; wherein the first communication carrier network and the second communication carrier network are different communication carriers.
In a specific implementation, when the credit limit is reached, the third party needs to be re-trusted to obtain a new credit limit or recharge, otherwise, the communication is stopped until the new credit and the credit limit are obtained.
In an embodiment of the present invention, before the step of determining whether the communication terminal has a dual phone number and whether a software development module exists in the communication terminal according to the terminal information in response to the terminal information sent by the communication terminal, the method includes:
the server generates an acquisition request through each operator core network;
the server transmits the acquisition request to the communication terminal.
It should be noted that the core network refers to an Intranet that is used by each operator to connect each radio base station (BTS) with a back-end Public Switched Telephone Network (PSTN) or other data networks. Through the core network, the operator can transmit the voice and data of the mobile phone user to the destination communication terminal through the core network of the operator. Therefore, in the core network architecture, besides the conversion of voice media data, a system for recording user information and billing mechanism is also included.
In a specific implementation, the server generates an acquisition request from a core network of the communication carrier, sends the acquisition request to the client, and extracts terminal information of the mobile communication terminal according to the acquisition request.
In an embodiment of the present invention, further includes:
And when the credit limit is smaller than a preset threshold value, the server terminates communication in a call state, wherein the call state comprises the authorized number as a called number and the authorized number as a calling number.
It should be noted that, terminating communication in the call state is terminating communication in the process that the authorized number is called and terminating communication in the process that the authorized number is calling.
As an example, when the credit limit is less than the preset threshold, the server terminates the communication during the time the authorized number is called.
As an example, when the credit limit is less than the preset threshold, the server terminates the communication during the authorization of the number caller.
In an embodiment of the present invention, when the credit limit is smaller than a preset threshold, the step of terminating the communication in the call state by the server includes:
the server generates an authorization request and sends the authorization request to the communication terminal;
And the server receives the credit line after recharging sent by the communication terminal, and resumes communication according to the credit line after recharging.
It should be noted that the credit line after recharging is not negative.
As an example, the server generates an authorization request, sends the authorization request to the communication terminal, completes the recharging of the credit line through the communication terminal, returns the recharged credit line to the server, confirms that the recharged credit line is not negative in the recharged credit line, and resumes communication.
Referring to fig. 2, a step flow diagram of a call forwarding method based on a dual card and dual number of a communication terminal according to an embodiment of the present application is shown;
The embodiment of the invention also discloses a call transfer method based on the double-card double-number of the communication terminal, the method relates to the communication terminal and the server, and the method comprises the following steps:
S210, when the communication terminal receives an acquisition request sent by the server, the communication terminal acquires terminal information according to the acquisition request and sends the terminal information to the server;
S220, when the communication terminal receives the confirmation information sent by the server, the communication terminal generates the authorization information according to the confirmation information and sends the authorization information to the server;
And S230, when the communication terminal receives the authorization request sent by the server, the communication terminal generates a credit line corresponding to the credit number after recharging according to the authorization request, and sends the credit line after recharging to the server.
When the communication terminal receives the acquisition request, the confirmation information and the authorization request, the communication terminal returns the target information corresponding to the server in a one-to-one correspondence.
In an embodiment of the present invention, the step of generating the authorization information according to the confirmation information and sending the authorization information to the server includes:
The communication terminal acquires a third party authentication end according to the confirmation information, wherein the third party authentication end comprises a bank APP, a payment bank APP and a WeChat APP;
the communication terminal obtains the authorization information by performing authentication and authorization through any one of the bank APP, the payment treasure APP and the WeChat APP;
And the communication terminal sends the authorization information to the server through a software development module.
It should be noted that the third party authentication authorization includes, but is not limited to: APP with payment function such as bank APP, payment treasured APP and WeChat APP;
As an example, the authorization information is obtained by performing authentication and authorization on the APP with the payment function, and the authorization number and the credit line corresponding to the authorization number are obtained, so as to realize "quasi-number-carrying internet forwarding".
In a specific implementation, if the authorized number is Z communication carrier, the Z communication carrier's own number can be used as the own number of other communication carriers in the communication network of the Z communication carrier, and the Z communication carrier can be used as the caller to initiate a call, and charging is performed.
In a specific implementation, the charging may also be that after the authorization is obtained, the communication fee of the mobile communication number of the different network is billed on the mobile communication number of the local network of the mobile communication number of the different network, and in an example, the mobile communication number of the different network and the communication number of the local network may be phone numbers corresponding to two SIM cards of the communication terminal.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
Referring to fig. 3, a block diagram of a call forwarding device based on a dual card and dual number of a communication terminal according to an embodiment of the present application is shown;
A call forwarding apparatus based on a double-card double-number of a communication terminal, the apparatus involving a communication terminal and a server, the apparatus comprising:
A first determining module 310, configured to determine, according to terminal information sent by the communication terminal, whether the communication terminal is a dual-phone number and a software development module exists, where the dual-phone number includes a first phone number and a second phone number, an operator corresponding to the first phone number is a first communication operator, an operator corresponding to the second phone number is a second communication operator, and the first communication operator and the second communication operator are different from each other;
A first sending module 320, configured to, when it is determined that the communication terminal has the dual phone number and the software development module exists, generate acknowledgement information by the server and send the acknowledgement information to the communication terminal; the communication terminal is used for generating authorization information according to the confirmation information and sending the authorization information to the server;
A second sending module 330, configured to receive, by the server, the authorization information sent by the communication terminal, where the authorization information includes an authorization number and a credit line corresponding to the authorization number that can use a communication service, and the authorization number is one of the first phone number and the second phone number;
A second determining module 340, configured to determine, by the server, a first communication carrier corresponding to the authorization number and a first communication carrier network corresponding to the first communication carrier according to the authorization number, where the authorization number is used to use a communication service with telephone numbers of other communication carriers in the first communication carrier network, and the other communication carriers are communication carriers other than the first communication carrier;
A third determining module 350, configured to determine, when the authorized number is called, whether the authorized number is registered in a second communication carrier network corresponding to the calling number;
A decision module 360, configured to, if yes, switch on the authorization number; if not, the network is transmitted to the first communication operator network corresponding to the authorized number through the gateway office, and the authorized number is connected according to the first communication operator network.
In an embodiment of the present invention, before the first determining module 310, the method includes:
The first generation module is used for generating an acquisition request through each operator core network by the server;
And a sixth sending module, configured to send the acquisition request to the communication terminal by using the server.
In an embodiment of the present invention, further includes:
And the termination module is used for terminating communication in a call state when the credit limit is smaller than a preset threshold, wherein the call state comprises the authorized number as a called number and the authorized number as a calling number.
In an embodiment of the present invention, after the termination module, the termination module includes:
a seventh sending module, configured to generate an authorization request by using the server, and send the authorization request to the communication terminal;
And the recovery module is used for receiving the credit line which is sent by the communication terminal and corresponds to the credit number after recharging, and recovering communication according to the credit line after recharging.
Referring to fig. 4, a block diagram of a call forwarding device based on a dual card and dual number of a communication terminal according to an embodiment of the present application is shown;
A call forwarding apparatus based on a double-card double-number of a communication terminal, the apparatus involving a communication terminal and a server, the apparatus comprising:
A third sending module 410, configured to, when the communication terminal receives an acquisition request sent by the server, obtain terminal information according to the acquisition request, and send the terminal information to the server;
A fourth sending module 420, configured to, when the communication terminal receives the acknowledgement information sent by the server, generate the authorization information according to the acknowledgement information, and send the authorization information to the server;
And a fifth sending module 430, configured to generate, when the communication terminal receives the authorization request sent by the server, a credit line corresponding to the credit line after recharging the credit number according to the authorization request, and send the recharged credit line to the server.
In an embodiment of the present invention, the fourth transmitting module 420 includes:
The acquisition sub-module is used for the communication terminal to acquire a third party authentication end according to the confirmation information, wherein the third party authentication end comprises a bank APP, a payment bank APP and a WeChat APP;
The authorization sub-module is used for the communication terminal to obtain the authorization information through authentication and authorization of any one of the bank APP, the payment treasured APP and the WeChat APP;
And the transmitting sub-module is used for transmitting the authorization information to the server through the software development module by the communication terminal.
Referring to fig. 5, a computer device of the present invention, which is a call forwarding method based on a dual card and dual number of a communication terminal, may specifically include the following:
The computer device 12 described above is embodied in the form of a general purpose computing device, and the components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 that connects the various system components, including the memory 28 and the processing unit 16.
Bus 18 represents one or more of several types of bus 18 structures, including a memory bus 18 or memory controller, a peripheral bus 18, an accelerated graphics port, a processor, or a local bus 18 using any of a variety of bus 18 architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus 18, micro channel architecture (MAC) bus 18, enhanced ISA bus 18, video Electronics Standards Association (VESA) local bus 18, and Peripheral Component Interconnect (PCI) bus 18.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (commonly referred to as a "hard disk drive"). Although not shown in fig. 5, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk such as a CD-ROM, DVD-ROM, or other optical media may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules 42, the program modules 42 being configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, a memory, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules 42, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, camera, etc.), one or more devices that enable a user to interact with the computer device 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet, through network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be appreciated that although not shown in fig. 5, other hardware and/or software modules may be used in connection with computer device 12, including, but not limited to: microcode, device drivers, redundant processing units 16, external disk drive arrays, RAID systems, tape drives, data backup storage systems 34, and the like.
The processing unit 16 executes programs stored in the memory 28 to perform various functional applications and data processing, for example, to implement a call forwarding method based on a dual card and dual number of a communication terminal according to an embodiment of the present invention.
That is, the processing unit 16 realizes when executing the program: the server responds to terminal information sent by the communication terminal, and determines whether the communication terminal is a double telephone number and a software development module exists according to the terminal information, wherein the double telephone number comprises a first telephone number and a second telephone number, an operator corresponding to the first telephone number is a first communication operator, an operator corresponding to the second telephone number is a second communication operator, and the first communication operator and the second communication operator are different from each other; when the communication terminal is determined to have the double telephone numbers and the software development module exists, the server generates confirmation information and sends the confirmation information to the communication terminal; the communication terminal is used for generating authorization information according to the confirmation information and sending the authorization information to the server; the server receives the authorization information sent by the communication terminal, wherein the authorization information comprises an authorization number and a credit line which corresponds to the authorization number and can use communication service, and the authorization number is one of the first telephone number and the second telephone number; the server determines a first communication carrier corresponding to the authorization number and a first communication carrier network corresponding to the first communication carrier according to the authorization number, wherein the authorization number is used for using communication services with telephone numbers of other communication carriers in the first communication carrier network, and the other communication carriers are different communication carriers from the first communication carrier; when the authorized number is called, the server determines whether the authorized number is registered in a second communication operator network corresponding to the calling number; if yes, the authorization number is connected; if not, the network is transmitted to the first communication operator network corresponding to the authorized number through the gateway office, and the authorized number is connected according to the first communication operator network.
In an embodiment of the present application, the present application further provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor implements a call forwarding method based on a dual card and dual number of a communication terminal as provided in all embodiments of the present application:
That is, the program is implemented when executed by a processor: the server responds to terminal information sent by the communication terminal, and determines whether the communication terminal is a double telephone number and a software development module exists according to the terminal information, wherein the double telephone number comprises a first telephone number and a second telephone number, an operator corresponding to the first telephone number is a first communication operator, an operator corresponding to the second telephone number is a second communication operator, and the first communication operator and the second communication operator are different from each other; when the communication terminal is determined to have the double telephone numbers and the software development module exists, the server generates confirmation information and sends the confirmation information to the communication terminal; the communication terminal is used for generating authorization information according to the confirmation information and sending the authorization information to the server; the server receives the authorization information sent by the communication terminal, wherein the authorization information comprises an authorization number and a credit line which corresponds to the authorization number and can use communication service, and the authorization number is one of the first telephone number and the second telephone number; the server determines a first communication carrier corresponding to the authorization number and a first communication carrier network corresponding to the first communication carrier according to the authorization number, wherein the authorization number is used for using communication services with telephone numbers of other communication carriers in the first communication carrier network, and the other communication carriers are different communication carriers from the first communication carrier; when the authorized number is called, the server determines whether the authorized number is registered in a second communication operator network corresponding to the calling number; if yes, the authorization number is connected; if not, the network is transmitted to the first communication operator network corresponding to the authorized number through the gateway office, and the authorized number is connected according to the first communication operator network.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the application.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or terminal device that comprises the element.
The application provides a call transfer method based on double cards and double numbers of a communication terminal and a device thereof, which are described in detail, wherein specific examples are applied to illustrate the principle and the implementation of the application, and the description of the above examples is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (7)

1. A call forwarding method based on a double-card double-number of a communication terminal, the method involving the communication terminal and a server, the method comprising:
the server responds to terminal information sent by the communication terminal, and determines whether the communication terminal is a double telephone number and a software development module exists according to the terminal information, wherein the double telephone number comprises a first telephone number and a second telephone number, an operator corresponding to the first telephone number is a first communication operator, an operator corresponding to the second telephone number is a second communication operator, and the first communication operator and the second communication operator are different from each other;
When the communication terminal is determined to have the double telephone numbers and the software development module exists, the server generates confirmation information and sends the confirmation information to the communication terminal; the communication terminal is used for generating authorization information according to the confirmation information and sending the authorization information to the server;
the server receives the authorization information sent by the communication terminal, wherein the authorization information comprises an authorization number and a credit line which corresponds to the authorization number and can use communication service, and the authorization number is one of the first telephone number and the second telephone number;
The server determines a first communication carrier corresponding to the authorization number and a first communication carrier network corresponding to the first communication carrier according to the authorization number, wherein the authorization number is used for using communication services in the first communication carrier network;
when the authorized number is called, the server determines whether the authorized number is registered in a second communication operator network corresponding to the calling number;
If yes, the authorization number is connected; if not, the network is transmitted to the first communication operator network corresponding to the authorization number through the gateway office, and the authorization number is connected according to the first communication operator network.
2. The method according to claim 1, wherein the step of determining whether the communication terminal has a dual phone number and whether a software development module exists in the communication terminal according to the terminal information in response to the terminal information transmitted from the communication terminal comprises:
the server generates an acquisition request through each operator core network;
the server transmits the acquisition request to the communication terminal.
3. The method as recited in claim 1, further comprising:
And when the credit limit is smaller than a preset threshold value, the server terminates communication in a call state, wherein the call state comprises the authorized number as a called number and the authorized number as a calling number.
4. The method of claim 3, wherein the step of terminating the communication in the call state by the server when the credit limit is less than a predetermined threshold comprises:
the server generates an authorization request and sends the authorization request to the communication terminal;
and the server receives the credit line which is sent by the communication terminal and corresponds to the recharge of the authorization number, and resumes communication according to the recharge credit line.
5. A call forwarding device based on a double-card double-number of a communication terminal, the device relating to a communication terminal and a server, the device comprising:
The first determining module is used for determining whether the communication terminal is a double telephone number and whether a software development module exists according to terminal information sent by the communication terminal, wherein the double telephone number comprises a first telephone number and a second telephone number, an operator corresponding to the first telephone number is a first communication operator, an operator corresponding to the second telephone number is a second communication operator, and the first communication operator and the second communication operator are different from each other;
the first sending module is used for generating confirmation information by the server and sending the confirmation information to the communication terminal when the communication terminal is determined to have the double telephone numbers and the software development module exists; the communication terminal is used for generating authorization information according to the confirmation information and sending the authorization information to the server;
The second sending module is used for receiving the authorization information sent by the communication terminal by the server, wherein the authorization information comprises an authorization number and a credit line which corresponds to the authorization number and can use communication services, and the authorization number is one of the first telephone number and the second telephone number;
a second determining module, configured to determine, by the server, a first communication carrier corresponding to the authorization number and a first communication carrier network corresponding to the first communication carrier according to the authorization number, where the authorization number is used to use a communication service in the first communication carrier network;
a third determining module, configured to determine, when the authorized number is called, whether the authorized number is registered in a second communication carrier network of the calling number;
the judging module is used for switching on the authorized number if yes; if not, the network is transmitted to the first communication operator network corresponding to the authorized number through the gateway office, and the authorized number is connected according to the first communication operator network.
6. A computer device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, which computer program, when executed by the processor, implements the method of any one of claims 1 to 4.
7. A computer readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the method according to any of claims 1 to 4.
CN202310983462.9A 2023-08-04 2023-08-04 Call forwarding method and device based on double cards and double numbers of communication terminal Active CN116887456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310983462.9A CN116887456B (en) 2023-08-04 2023-08-04 Call forwarding method and device based on double cards and double numbers of communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310983462.9A CN116887456B (en) 2023-08-04 2023-08-04 Call forwarding method and device based on double cards and double numbers of communication terminal

Publications (2)

Publication Number Publication Date
CN116887456A CN116887456A (en) 2023-10-13
CN116887456B true CN116887456B (en) 2024-04-16

Family

ID=88268116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310983462.9A Active CN116887456B (en) 2023-08-04 2023-08-04 Call forwarding method and device based on double cards and double numbers of communication terminal

Country Status (1)

Country Link
CN (1) CN116887456B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117098134B (en) * 2023-10-17 2024-01-26 湖北星纪魅族集团有限公司 Security control method, terminal, and non-transitory computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867901A (en) * 2010-01-28 2010-10-20 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and call transfer setting method thereof
CN103581854A (en) * 2012-08-07 2014-02-12 联芯科技有限公司 Dual-card dual-standby single-pass mobile phone and phone call incoming method thereof
CN104581667A (en) * 2015-01-16 2015-04-29 小米科技有限责任公司 Call forwarding method and device
CN106488441A (en) * 2015-08-28 2017-03-08 中国电信股份有限公司 One card even numbers platform, client and system and continue, call, communication means
WO2023273540A1 (en) * 2021-06-30 2023-01-05 荣耀终端有限公司 Method for preventing missed calls, system, electronic device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867901A (en) * 2010-01-28 2010-10-20 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and call transfer setting method thereof
CN103581854A (en) * 2012-08-07 2014-02-12 联芯科技有限公司 Dual-card dual-standby single-pass mobile phone and phone call incoming method thereof
CN104581667A (en) * 2015-01-16 2015-04-29 小米科技有限责任公司 Call forwarding method and device
CN106488441A (en) * 2015-08-28 2017-03-08 中国电信股份有限公司 One card even numbers platform, client and system and continue, call, communication means
WO2023273540A1 (en) * 2021-06-30 2023-01-05 荣耀终端有限公司 Method for preventing missed calls, system, electronic device, and storage medium

Also Published As

Publication number Publication date
CN116887456A (en) 2023-10-13

Similar Documents

Publication Publication Date Title
CN116887456B (en) Call forwarding method and device based on double cards and double numbers of communication terminal
CN110213217B (en) Data access method, related device, gateway and data access system
US20080261562A1 (en) System and Method for Providing Bidirectional Message Communication Services with Portable Terminals
CN112948809B (en) Application authorization method and device
EP1841242A2 (en) Apparatus and method for storing/calling telephone number in mobile terminal
US20120083243A1 (en) Communication Network Signaling
CN102045664A (en) Method for deducting fee by using prepayment system, service platform and gateway equipment
CN111163234B (en) Service call processing method and device, electronic equipment and storage medium
CN110351677B (en) Method and device for realizing mobile terminal recharging under condition of no network service
CN114173319B (en) Method and device for realizing conversation across platforms, cloud platform server and storage medium
US9402178B2 (en) Paid instant message system and method for authenticating identities using a mobile telephone network
US10298777B2 (en) Methods and apparatus to determine a telecommunications account status
CN110650448A (en) Call management system and method for mobile communication terminal
WO2015196818A1 (en) Method and apparatus for sending short message
GB2490007A (en) Tracking message responses by associating calling and recipient phone numbers with a message
CN110008668A (en) A kind of data processing method, device and storage medium
CN111784481B (en) Code scanning ordering method, service code creating method, device and electronic equipment
CN113726731A (en) Method and system for realizing real-time communication between terminal APP and server based on TCP
KR20050022805A (en) System and method for providing callback service using short message
KR20110134801A (en) System and method for payment authorization
KR20080071437A (en) Method for read-confirmation of short message service in mobile phone
KR100700706B1 (en) Method for providing collect call service in communication system and communication system of enabling the method
CN109885360A (en) A kind of data processing method, device and storage medium
CN111010485A (en) Multi-party conference recording method, device, equipment and storage medium
WO2023029548A1 (en) Payment method, communication system, device and computer-readable storage medium

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