CN110381207B - Method and device for connecting communication terminal, computer equipment and storage medium - Google Patents

Method and device for connecting communication terminal, computer equipment and storage medium Download PDF

Info

Publication number
CN110381207B
CN110381207B CN201910656859.0A CN201910656859A CN110381207B CN 110381207 B CN110381207 B CN 110381207B CN 201910656859 A CN201910656859 A CN 201910656859A CN 110381207 B CN110381207 B CN 110381207B
Authority
CN
China
Prior art keywords
card
communication request
charging box
request
bluetooth
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
CN201910656859.0A
Other languages
Chinese (zh)
Other versions
CN110381207A (en
Inventor
赖世兵
郑勇
杨汉丹
孙俊
熊宽
王立强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Waterward Information Co Ltd
Original Assignee
Shenzhen Water World Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Water World Co Ltd filed Critical Shenzhen Water World Co Ltd
Priority to CN201910656859.0A priority Critical patent/CN110381207B/en
Publication of CN110381207A publication Critical patent/CN110381207A/en
Application granted granted Critical
Publication of CN110381207B publication Critical patent/CN110381207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • H04M1/65Recording arrangements for recording a message from the calling party
    • H04M1/658Means for redirecting recorded messages to other extensions or equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42229Personal communication services, i.e. services related to one subscriber independent of his terminal and/or location
    • H04M3/42263Personal communication services, i.e. services related to one subscriber independent of his terminal and/or location where the same subscriber uses different terminals, i.e. nomadism
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Power Engineering (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for connecting a communication terminal, a computer device, and a storage medium. The method comprises the following steps: the server receives a communication request of a calling party; the server acquires information of a called party associated with the communication request based on the communication request, wherein the information of the called party at least comprises a relation between a first card and a second card, the first card is adapted to the mobile phone, and the second card is adapted to the charging box; the server sends the communication request to the second card based on the relationship between the first card and the second card; the second card receives and responds to the communication request, and the charging box with the second card sends a connection request for establishing Bluetooth connection to the Bluetooth headset; and the charging box with the second card establishes Bluetooth connection with the Bluetooth headset. The problem of the function of charging box is more single, is difficult to satisfy user's demand to and user easily neglect to receive incoming call is solved.

Description

Method and device for connecting communication terminal, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for connecting a communication terminal, a computer device, and a storage medium.
Background
At present, bluetooth headset all can be equipped with corresponding box that charges, and the box that charges is used for preserving bluetooth headset and charges to bluetooth headset. The function of the charging box is single, and the requirement of a user is difficult to meet. In addition, if the distance between the bluetooth headset and the mobile phone exceeds the pairing range of the bluetooth connection, the bluetooth headset and the mobile phone can be disconnected, at this time, if the user is far away from the mobile phone, even if the mobile phone receives an incoming call, the user cannot be aware of or be connected in time, the incoming call is easy to miss, and if the user is far away from the mobile phone, the user cannot establish the bluetooth connection, so that the user cannot be reminded of the incoming call through the bluetooth headset, and the user still easily misses.
Content of application
Aiming at the defects of the prior art, the application provides a method, a device, a computer device and a storage medium for connecting a communication terminal, aiming at solving the problems that the function of a charging box is single, the requirement of a user is difficult to meet, and the user easily misses receiving an incoming call.
The technical scheme provided by the application is as follows:
a method of communication terminal connection, the method comprising:
the server receives a communication request of a calling party;
the server acquires information of a called party associated with the communication request based on the communication request, wherein the information of the called party at least comprises a relation between a first card and a second card, the first card is adapted to the mobile phone, and the second card is adapted to the charging box;
the server sends the communication request to the second card based on the relationship between the first card and the second card;
the second card receives and responds to the communication request, and the charging box with the second card sends a connection request for establishing Bluetooth connection to the Bluetooth headset;
and the charging box with the second card establishes Bluetooth connection with the Bluetooth headset.
Further, after the step of establishing the bluetooth connection between the charging box having the second card and the bluetooth headset, the method includes:
when the communication request comprises a call request, the charging box with the second card sends and stores a first call record corresponding to the call request on the Bluetooth headset;
when the Bluetooth earphone is connected with the mobile phone with the first card in a Bluetooth mode, the Bluetooth earphone sends the first call record to the mobile phone with the first card.
Further, after the step of establishing the bluetooth connection between the charging box having the second card and the bluetooth headset, the method includes:
when the communication request comprises a short message request, the charging box with the second card sends a first short message corresponding to the short message request and stores the first short message on the Bluetooth headset;
and when the Bluetooth headset establishes Bluetooth connection with the mobile phone with the first card, the Bluetooth headset sends the first short message to the mobile phone with the first card.
Further, in the step of sending, by the server, the communication request to the second card based on the relationship between the first card and the second card, the method includes:
when the relationship between the first card and the second card is an eSIM card relationship, the server sends the communication request to the second card, and simultaneously, the server sends the communication request to the first card.
Further, in the step of sending, by the server, the communication request to the second card based on the relationship between the first card and the second card, the method includes:
and when the relationship between the first card and the second card is a primary-secondary card relationship, the server sends the communication request to the first card, and if the first card and the second card are not responded within a preset time, the server stops sending the communication request to the first card and sends the communication request to the second card.
Further, in the step of sending a connection request for establishing a bluetooth connection to a bluetooth headset after the charging box with the second card receives the communication request, the method includes:
the second card receives the communication request, is provided with a charging box of the second card and receives a command of a user input response to the communication request, and then is provided with a signal for representing connection to the server and sending a connection request for establishing Bluetooth connection to the Bluetooth headset, wherein the signal for representing connection is used for enabling the server to stop sending the communication request to the first card.
Further, before the step of the server receiving the communication request of the calling party, or/and after the step of the charging box with the second card establishing the bluetooth connection with the bluetooth headset, the method includes:
when the first card and the second card do not receive the communication request, the Bluetooth headset receives a first broadcast signal of a charging box with the second card and a second broadcast signal of a mobile phone with the first card;
the Bluetooth headset judges the signal strength of the first broadcast signal and the second broadcast signal;
when the Bluetooth headset determines that the first broadcast signal is stronger than the second broadcast signal, the Bluetooth headset establishes a Bluetooth connection with a charging box having the second card.
The present application further provides a device that communication terminal connects, the device includes server and charging box, the server includes:
the first receiving module is used for receiving a communication request of a calling party by a server;
the first acquisition module is used for acquiring information of a called party associated with the communication request based on the communication request, wherein the information of the called party at least comprises a relationship between a first card and a second card, the first card is adapted to a mobile phone, and the second card is adapted to a charging box;
a first sending module, configured to send the communication request to the second card based on a relationship between the first card and the second card;
the charging box includes:
the second sending module is used for receiving and responding to the communication request and sending a connection request for establishing Bluetooth connection to the Bluetooth headset;
and the connecting module is used for establishing Bluetooth connection with the Bluetooth headset.
The present application further provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the method for connecting the communication terminal described in any of the above is implemented.
The present application also provides a storage medium having stored thereon a computer program which, when executed, implements the method of communication terminal connection as set forth in any of the above.
According to the technical scheme, the method has the advantages that: the charging box has a Bluetooth function and can be connected with a Bluetooth headset in a Bluetooth mode, the charging box has a communication function and can respond to a communication request of a server, and the problem that the function of the charging box is single and the requirement of a user is difficult to meet is solved. In addition, if an incoming call exists, the charging box also receives the incoming call based on the relationship between the first card and the second card, at the moment, the charging box establishes Bluetooth connection with the Bluetooth earphone, and a user answers the incoming call through the charging box and the Bluetooth earphone, so that the problem of missed incoming call receiving is solved.
Drawings
Fig. 1 is a flowchart of a method for connecting a communication terminal according to an embodiment of the present application;
fig. 2 is a functional block diagram of an apparatus to which a communication terminal according to an embodiment of the present application is connected;
FIG. 3 is a block diagram schematically illustrating a computer device according to an embodiment of the present disclosure;
fig. 4 is a block diagram schematically illustrating a structure of a storage medium according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
As shown in fig. 1, an embodiment of the present application provides a method for connecting a communication terminal, where the method includes the following steps:
step S101, the server receives a communication request of a calling party.
The call request comprises a call request or/and a short message request.
Step S102, the server obtains information of a called party associated with the communication request based on the communication request, wherein the information of the called party at least comprises a relation between a first card and a second card, the first card is adapted to the mobile phone, and the second card is adapted to the charging box.
In this embodiment, the information of the called party includes a relationship of the first card and the second card. In some embodiments, the information of the called party may further include a relationship between the first card, the second card and the third card, it should be noted that the specific number of cards and the object/device to which the cards are adapted are not limited to the charging box, the mobile phone, but may also be other devices, such as glasses, glasses box, and the like, which are not exhaustive here. For convenience of description, the first card and the second card are used as objects of description below, but it is understood that the description of the present embodiment is applied to the third card and the fourth card.
In this embodiment, the communication request may be a request for the first card or a request for the second card.
In the embodiment, the charging box has a Bluetooth function and a communication function, namely, a single or a plurality of communication modules such as a Bluetooth module and a 2G/3G/4G/5G module are added in the charging box.
In this embodiment, the first card and the second card have a certain relationship, for example, the first relationship may be
The first card is an eSIM card of the second card, or the second card is an eSIM card of the first card, and at this time, the numbers of the first card and the second card may be the same. The second relationship is that the first card and the second card are in a main-sub card relationship, and if the first card is a sub card and the second card is a main card, or the first card is a main card and the second card is a sub card, the numbers of the first card and the second card may be different.
Step S103, the server sends the communication request to the second card based on the relationship between the first card and the second card.
In this embodiment, the server sends a communication request to the second card based on the relationship between the first card and the second card, and specifically, if the first card and the second card are in an eSIM card relationship, for the same call, since the numbers of the charging box and the mobile phone are the same, the charging box and the mobile phone both receive the call while making a call to the first card and the second card. If the first card and the second card are in a main-auxiliary card relationship, if the number of the second card is called, the second card is directly called, and the charging box terminal with the second card can receive the call. If the call is made to the number of the first card, the server calls the second card after the user does not answer the mobile phone with the first card in time, and at the moment, the second card (namely one end of the charging box) receives the call. The first and second cards may also be in other relationships and are not exhaustive here. Thus, the charging box can solve the problem that a user misses a telephone, and is also suitable for the condition of cards with different relations.
It is to be understood that "sending the communication request to the second card" may be understood as a "request", that is, the server receives a "request" that needs to communicate, and notifies the "request" to a request object, and a request signal and a sending signal (such as related matters specified in a protocol, specific commands carried in the protocol, and the like) received by the server may not be completely consistent.
And step S104, the second card receives and responds to the communication request, and the charging box with the second card sends a connection request for establishing Bluetooth connection to the Bluetooth headset.
The second card receives and responds to the communication request, and as the second card is installed in the charging box, namely the charging box receives the communication request, when the charging box receives the communication request, a user performs an operation of responding to the communication request on the charging box, such as pressing an answer key on the charging box, and then triggering a connection request with the Bluetooth headset, for this purpose, the charging box sends a connection request for establishing Bluetooth connection to the Bluetooth headset.
And step S105, establishing Bluetooth connection between the charging box with the second card and the Bluetooth headset.
And the Bluetooth headset receives the connection request, after the connection request is verified to be a legal request, the Bluetooth headset feeds back an agreement to the connection request to the charging box, and the charging box establishes Bluetooth connection with the Bluetooth headset. The charging box and the Bluetooth headset establish Bluetooth connection between the charging box and the Bluetooth headset according to the MAC address of the charging box and the MAC address of the Bluetooth headset.
After the charging box and the bluetooth headset establish a bluetooth connection, the user uses the bluetooth headset to answer the communication request. The charging box has a Bluetooth function and can be connected with a Bluetooth headset in a Bluetooth mode, the charging box has a communication function and can respond to a communication request of a server, and the problem that the function of the charging box is single and the requirement of a user is difficult to meet is solved. In addition, if an incoming call exists, the charging box also receives the incoming call based on the relationship between the first card and the second card, at the moment, the charging box establishes Bluetooth connection with the Bluetooth earphone, and a user answers the incoming call through the charging box and the Bluetooth earphone, so that the problem of missed incoming call receiving is solved.
In the present embodiment, after step S105, the method includes:
when the communication request comprises a call request, the charging box with the second card sends and stores a first call record corresponding to the call request on the Bluetooth headset;
when the Bluetooth earphone is connected with the mobile phone with the first card in a Bluetooth mode, the Bluetooth earphone sends the first call record to the mobile phone with the first card.
Specifically, because the charging box does not have a display screen, a user cannot check the previous call record after answering a call by using the charging box, and in order to solve the problem, the charging box sends a first call record corresponding to a call request to the bluetooth headset, and the first call record is stored on the bluetooth headset. In this embodiment, the first call record includes information of the calling and called numbers, the area to which the numbers belong, the call time, the call duration, and the like. In some embodiments, the first call record further includes a flag for answering at the charge box. The Bluetooth headset stores a first call record, and then when the Bluetooth headset is connected with the mobile phone through Bluetooth connection, the Bluetooth headset sends the first call record to the mobile phone, and after receiving the first call record, the mobile phone generates a corresponding call record on a call interface of the mobile phone. Since the mobile phone generally has a display screen, the user can view the first call record through the mobile phone.
In the present embodiment, after step S105, the method includes:
when the communication request comprises a short message request, the charging box with the second card sends a first short message corresponding to the short message request and stores the first short message on the Bluetooth headset;
and when the Bluetooth headset establishes Bluetooth connection with the mobile phone with the first card, the Bluetooth headset sends the first short message to the mobile phone with the first card.
Specifically, because the charging box does not have a display screen, a user cannot check the content of the short message after using the charging box to receive the short message, and in order to solve the problem, the charging box sends a first short message corresponding to the short message request to the bluetooth headset, and the first short message is stored on the bluetooth headset. In this embodiment, the first short message includes information such as a calling number, a called number, a region to which the number belongs, and sending time. In some embodiments, the first note further includes indicia received at the charging box. The Bluetooth headset stores a first short message, then when the Bluetooth headset is connected with the mobile phone through Bluetooth connection, the Bluetooth headset sends the first short message to the mobile phone, and after the mobile phone receives the first short message, the corresponding short message is generated on a short message interface of the mobile phone. Because the mobile phone generally has a display screen, the user can view the first short message through the mobile phone.
It can be understood that, in some embodiments, in order to facilitate the unified management of the first call record, the short message and other information sent by one end of the charging box, after receiving the information forwarded by the bluetooth headset, the mobile phone uniformly stores the first call record, the short message and other information from the charging box into a separate file packet for storage, or classifies the information into a separate window, and only when the window is clicked to open, the first call record, the short message and other information from the charging box are displayed.
In this embodiment, step S103 includes:
when the relationship between the first card and the second card is an eSIM card relationship, the server sends the communication request to the second card, and simultaneously, the server sends the communication request to the first card.
The relation between the first card and the second card is an eSIM card relation, the numbers of the first card and the second card are the same, therefore, the server sends a communication request to the second card, and simultaneously sends a communication request to the first card, the first card and the second card both receive the communication request, namely, the mobile phone and the charging box both receive the communication request, and at this time, the user can select one of the devices (the mobile phone or the charging box) to respond to the communication request. Thus, both ends respond, and the possibility of missed calls of the user can be reduced.
In this embodiment, step S103 includes:
and when the relationship between the first card and the second card is a primary-secondary card relationship, the server sends the communication request to the first card, and if the first card and the second card are not responded within a preset time, the server stops sending the communication request to the first card and sends the communication request to the second card.
The relation between the first card and the second card is a primary-secondary card relation, the numbers of the first card and the second card are different, if the communication request is specific to the first card, the server sends the communication request to the first card, and if the communication request is specific to the second card, the server sends the communication request to the second card. After the server sends the communication request to the first card and is not responded within the preset time, the server suspends the communication request sent to the first card and sends the communication request to the second card. Similarly, after the server sends the communication request to the second card and is not responded within the preset time, the server suspends the communication request sent to the second card and sends the communication request to the first card.
In this embodiment, the step of sending a connection request for establishing a bluetooth connection to the bluetooth headset after the charging box with the second card receives the communication request includes:
the second card receives the communication request, is provided with a charging box of the second card and receives a command of a user input response to the communication request, and then is provided with a signal for representing connection to the server and sending a connection request for establishing Bluetooth connection to the Bluetooth headset, wherein the signal for representing connection is used for enabling the server to stop sending the communication request to the first card.
The relation between the first card and the second card is an eSIM (embedded subscriber identity Module) card relation, the first card and the second card both receive a communication request, when a user selects to answer the phone through the charging box, the user inputs a response command (such as a preset response mode of clicking, shaking, touching, gesture input and the like) on the charging box, the charging box receives the command of the user for inputting the response communication request, the charging box sends a signal for representing connection to a server and sends a connection request for establishing Bluetooth connection to a Bluetooth headset, and after the server receives the signal for representing connection, the user stops sending the communication request to the first card.
In some embodiments, before step S101, or/and after step S105, comprising:
when the first card and the second card do not receive the communication request, the Bluetooth headset receives a first broadcast signal of a charging box with the second card and a second broadcast signal of a mobile phone with the first card;
the Bluetooth headset judges the signal strength of the first broadcast signal and the second broadcast signal;
when the Bluetooth headset determines that the first broadcast signal is stronger than the second broadcast signal, the Bluetooth headset establishes a Bluetooth connection with a charging box having the second card.
The method comprises the steps that a first card and a second card do not receive communication requests, the mobile phone and a charging box send broadcast signals to the Bluetooth headset, wherein the broadcast signals of the charging box are first broadcast signals and the broadcast signals of the mobile phone are second broadcast signals, the Bluetooth headset judges the strength of the first broadcast signals and the second broadcast signals after receiving the first broadcast signals and the second broadcast signals, if the first broadcast signals are stronger than the second broadcast signals, the Bluetooth headset selects to establish Bluetooth connection with the charging box, and if the second broadcast signals are stronger than the first broadcast signals, the Bluetooth headset selects to establish Bluetooth connection with the mobile phone. Therefore, the user does not need to manually operate the Bluetooth headset to be connected with the charging box or the mobile phone in a Bluetooth mode, and the Bluetooth headset is convenient for the user to use.
As shown in fig. 2, an apparatus for connecting a communication terminal is provided in an embodiment of the present application, the apparatus includes a server 11 and a charging box 12, the server 11 includes a first receiving module 111, a first obtaining module 112, and a first sending module 113, and the charging box 12 includes a second sending module 121 and a connecting module 122.
The first receiving module 111 is configured to receive a communication request of a calling party.
The call request comprises a call request or/and a short message request.
A first obtaining module 112, configured to obtain information of a called party associated with the communication request based on the communication request, where the information of the called party at least includes a relationship between a first card and a second card, the first card is adapted to a mobile phone, and the second card is adapted to a charging box.
In this embodiment, the information of the called party includes a relationship of the first card and the second card. In some embodiments, the information of the called party may further include a relationship between the first card, the second card and the third card, it should be noted that the specific number of cards and the object/device to which the cards are adapted are not limited to the charging box, the mobile phone, but may also be other devices, such as glasses, glasses box, and the like, which are not exhaustive here. For convenience of description, the first card and the second card are used as objects of description below, but it is understood that the description of the present embodiment is applied to the third card and the fourth card.
In this embodiment, the communication request may be a request for the first card or a request for the second card.
In the embodiment, the charging box has a Bluetooth function and a communication function, namely, a single or a plurality of communication modules such as a Bluetooth module and a 2G/3G/4G/5G module are added in the charging box.
In this embodiment, the first card and the second card have a certain relationship, for example, the first relationship may be that the first card is an eSIM card of the second card, or the second card is an eSIM card of the first card, and at this time, numbers of the first card and the second card may be the same. The second relationship is that the first card and the second card are in a main-sub card relationship, and if the first card is a sub card and the second card is a main card, or the first card is a main card and the second card is a sub card, the numbers of the first card and the second card may be different.
A first sending module 113, configured to send the communication request to the second card based on a relationship between the first card and the second card.
In this embodiment, the server sends a communication request to the second card based on the relationship between the first card and the second card, and specifically, if the first card and the second card are in an eSIM card relationship, for the same call, since the numbers of the charging box and the mobile phone are the same, the charging box and the mobile phone both receive the call while making a call to the first card and the second card. If the first card and the second card are in a main-auxiliary card relationship, if the number of the second card is called, the second card is directly called, and the charging box terminal with the second card can receive the call. If the call is made to the number of the first card, the server calls the second card after the user does not answer the mobile phone with the first card in time, and at the moment, the second card (namely one end of the charging box) receives the call. The first and second cards may also be in other relationships and are not exhaustive here. Thus, the charging box can solve the problem that a user misses a telephone, and is also suitable for the condition of cards with different relations.
It is to be understood that "sending the communication request to the second card" may be understood as a "request", that is, the server receives a "request" that needs to communicate, and notifies the "request" to a request object, and a request signal and a sending signal (such as related matters specified in a protocol, specific commands carried in the protocol, and the like) received by the server may not be completely consistent.
A second sending module 121, configured to receive and respond to the communication request, and send a connection request for establishing a bluetooth connection to the bluetooth headset.
The second card receives and responds to the communication request, and as the second card is installed in the charging box, namely the charging box receives the communication request, when the charging box receives the communication request, a user performs an operation of responding to the communication request on the charging box, such as pressing an answer key on the charging box, and then triggering a connection request with the Bluetooth headset, for this purpose, the charging box sends a connection request for establishing Bluetooth connection to the Bluetooth headset.
And a connection module 122, configured to establish a bluetooth connection between the charging box with the second card and the bluetooth headset.
And the Bluetooth headset receives the connection request, after the connection request is verified to be a legal request, the Bluetooth headset feeds back an agreement to the connection request to the charging box, and the charging box establishes Bluetooth connection with the Bluetooth headset. The charging box and the Bluetooth headset establish Bluetooth connection between the charging box and the Bluetooth headset according to the MAC address of the charging box and the MAC address of the Bluetooth headset.
After the charging box and the bluetooth headset establish a bluetooth connection, the user uses the bluetooth headset to answer the communication request. The charging box has a Bluetooth function and can be connected with a Bluetooth headset in a Bluetooth mode, the charging box has a communication function and can respond to a communication request of a server, and the problem that the function of the charging box is single and the requirement of a user is difficult to meet is solved. In addition, if an incoming call exists, the charging box also receives the incoming call based on the relationship between the first card and the second card, at the moment, the charging box establishes Bluetooth connection with the Bluetooth earphone, and a user answers the incoming call through the charging box and the Bluetooth earphone, so that the problem of missed incoming call receiving is solved.
In the present embodiment, the charging box 12 includes:
and the first sub-sending module is used for sending and storing a first call record corresponding to the call request on the Bluetooth headset when the communication request comprises the call request.
The bluetooth headset includes:
and the second sub-sending module is used for sending the first call record to the mobile phone with the first card when the Bluetooth headset establishes Bluetooth connection with the mobile phone with the first card.
Specifically, because the charging box does not have a display screen, a user cannot check the previous call record after answering a call by using the charging box, and in order to solve the problem, the charging box sends a first call record corresponding to a call request to the bluetooth headset, and the first call record is stored on the bluetooth headset. In this embodiment, the first call record includes information of the calling and called numbers, the area to which the numbers belong, the call time, the call duration, and the like. In some embodiments, the first call record further includes a flag for answering at the charge box. The Bluetooth headset stores a first call record, and then when the Bluetooth headset is connected with the mobile phone through Bluetooth connection, the Bluetooth headset sends the first call record to the mobile phone, and after receiving the first call record, the mobile phone generates a corresponding call record on a call interface of the mobile phone. Since the mobile phone generally has a display screen, the user can view the first call record through the mobile phone.
In the present embodiment, the charging box 12 includes:
the third sub-sending module is used for sending and storing the first short message corresponding to the short message request on the Bluetooth headset when the communication request comprises the short message request;
the bluetooth headset includes:
and the fourth sub-sending module is used for sending the first short message to the mobile phone with the first card when the Bluetooth headset establishes Bluetooth connection with the mobile phone with the first card.
Specifically, because the charging box does not have a display screen, a user cannot check the content of the short message after using the charging box to receive the short message, and in order to solve the problem, the charging box sends a first short message corresponding to the short message request to the bluetooth headset, and the first short message is stored on the bluetooth headset. In this embodiment, the first short message includes information such as a calling number, a called number, a region to which the number belongs, and sending time. In some embodiments, the first note further includes indicia received at the charging box. The Bluetooth headset stores a first short message, then when the Bluetooth headset is connected with the mobile phone through Bluetooth connection, the Bluetooth headset sends the first short message to the mobile phone, and after the mobile phone receives the first short message, the corresponding short message is generated on a short message interface of the mobile phone. Because the mobile phone generally has a display screen, the user can view the first short message through the mobile phone.
It can be understood that, in some embodiments, in order to facilitate the unified management of the first call record, the short message and other information sent by one end of the charging box, after receiving the information forwarded by the bluetooth headset, the mobile phone uniformly stores the first call record, the short message and other information from the charging box into a separate file packet for storage, or classifies the information into a separate window, and only when the window is clicked to open, the first call record, the short message and other information from the charging box are displayed.
In the present embodiment, the first transmitting module 113 includes:
a fifth sub-sending module, configured to send the communication request to the second card and send the communication request to the first card at the same time when the relationship between the first card and the second card is an eSIM card relationship.
The relation between the first card and the second card is an eSIM card relation, the numbers of the first card and the second card are the same, therefore, the server sends a communication request to the second card, and simultaneously sends a communication request to the first card, the first card and the second card both receive the communication request, namely, the mobile phone and the charging box both receive the communication request, and at this time, the user can select one of the devices (the mobile phone or the charging box) to respond to the communication request. Thus, both ends respond, and the possibility of missed calls of the user can be reduced.
In the present embodiment, the first transmitting module 113 includes:
a sixth sub-sending module, configured to send the communication request to the first card when the relationship between the first card and the second card is a primary-secondary card relationship, and if the first card and the second card are not responded within a preset time, suspend sending the communication request to the first card, and send the communication request to the second card.
The relation between the first card and the second card is a primary-secondary card relation, the numbers of the first card and the second card are different, if the communication request is specific to the first card, the server sends the communication request to the first card, and if the communication request is specific to the second card, the server sends the communication request to the second card. After the server sends the communication request to the first card and is not responded within the preset time, the server suspends the communication request sent to the first card and sends the communication request to the second card. Similarly, after the server sends the communication request to the second card and is not responded within the preset time, the server suspends the communication request sent to the second card and sends the communication request to the first card.
In this embodiment, the second sending module includes:
and the seventh sub-sending module is used for sending a signal for representing connection to the server and sending a connection request for establishing Bluetooth connection to the Bluetooth headset after receiving the communication request and receiving a command for responding to the communication request input by a user, wherein the signal for representing connection is used for enabling the server to stop sending the communication request to the first card.
The relation between the first card and the second card is an eSIM (embedded subscriber identity Module) card relation, the first card and the second card both receive a communication request, when a user selects to answer the phone through the charging box, the user inputs a response command (such as a preset response mode of clicking, shaking, touching, gesture input and the like) on the charging box, the charging box receives the command of the user for inputting the response communication request, the charging box sends a signal for representing connection to a server and sends a connection request for establishing Bluetooth connection to a Bluetooth headset, and after the server receives the signal for representing connection, the user stops sending the communication request to the first card.
In some embodiments, the bluetooth headset comprises:
a first sub-receiving module, configured to receive a first broadcast signal of a charging box having the second card and a second broadcast signal of a mobile phone having the first card when the first card and the second card do not receive the communication request;
the first sub-judgment module is used for judging the signal strength of the first broadcast signal and the second broadcast signal;
and the first sub-connection module is used for establishing Bluetooth connection with a charging box with the second card when the Bluetooth headset judges that the first broadcast signal is stronger than the second broadcast signal.
The method comprises the steps that a first card and a second card do not receive communication requests, the mobile phone and a charging box send broadcast signals to the Bluetooth headset, wherein the broadcast signals of the charging box are first broadcast signals and the broadcast signals of the mobile phone are second broadcast signals, the Bluetooth headset judges the strength of the first broadcast signals and the second broadcast signals after receiving the first broadcast signals and the second broadcast signals, if the first broadcast signals are stronger than the second broadcast signals, the Bluetooth headset selects to establish Bluetooth connection with the charging box, and if the second broadcast signals are stronger than the first broadcast signals, the Bluetooth headset selects to establish Bluetooth connection with the mobile phone. Therefore, the user does not need to manually operate the Bluetooth headset to be connected with the charging box or the mobile phone in a Bluetooth mode, and the Bluetooth headset is convenient for the user to use.
As shown in fig. 3, the present application also proposes a computer device 2, which includes a processor 21, a memory 22 and a computer program 23 stored on the memory 22 and operable on the processor 21, wherein the processor 21 executes the computer program 23 to implement any one of the above-mentioned methods for connecting a communication terminal.
As shown in fig. 4, the present application also proposes a storage medium 3 having a computer program 31 stored thereon, the computer program 31 implementing any of the above-mentioned methods of communication terminal connection when executed.
In the above embodiments, the computer device 2 may be a server, the processor 21 of the computer device 2 is used to provide computing and control capabilities, and the memory 22 of the computer device 2 includes a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores a computer program 23. The internal memory provides an environment for the execution of the computer program 23 in the nonvolatile storage medium. The computer program 31 is executed by the processor 51 to implement a method of communication terminal connection.
The storage medium 3 may be any available medium that a computer can store or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others. The computer program 31 comprises one or more computer instructions. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a storage medium or transmitted from one computer storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). A method of communication terminal connection is implemented when the computer instructions are loaded and executed on a computer.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (7)

1. A method of communication terminal connection, the method comprising:
the method comprises the steps that a server receives a communication request of a calling party, wherein the communication request is a request for a first card or a second card;
the server acquires information of a called party associated with the communication request based on the communication request, wherein the information of the called party at least comprises a relation between a first card and a second card, the first card is adapted to the mobile phone, and the second card is adapted to the charging box;
the server sends the communication request to the second card based on the relationship between the first card and the second card;
the second card receives and responds to the communication request, and the charging box with the second card sends a connection request for establishing Bluetooth connection to the Bluetooth headset;
the charging box with the second card establishes Bluetooth connection with the Bluetooth headset, and a user uses the Bluetooth headset to answer a communication request;
in the step in which the server sends the communication request to the second card based on the relationship between the first card and the second card, the method includes:
when the relationship between the first card and the second card is an eSIM card relationship, the server sends the communication request to the second card, and simultaneously, the server sends the communication request to the first card;
in the step of sending a connection request for establishing a bluetooth connection to a bluetooth headset after the charging box with the second card receives the communication request, the method includes:
the second card receives the communication request, is provided with a charging box of the second card and receives a command of a user input response to the communication request, and then is provided with a signal for representing connection to the server and sending a connection request for establishing Bluetooth connection to the Bluetooth headset, wherein the signal for representing connection is used for enabling the server to stop sending the communication request to the first card.
2. The method of claim 1, wherein after the step of establishing the bluetooth connection between the charging box having the second card and the bluetooth headset, the method comprises:
when the communication request comprises a call request, the charging box with the second card sends and stores a first call record corresponding to the call request on the Bluetooth headset;
when the Bluetooth earphone is connected with the mobile phone with the first card in a Bluetooth mode, the Bluetooth earphone sends the first call record to the mobile phone with the first card.
3. The method of claim 1, wherein after the step of establishing the bluetooth connection between the charging box having the second card and the bluetooth headset, the method comprises:
when the communication request comprises a short message request, the charging box with the second card sends a first short message corresponding to the short message request and stores the first short message on the Bluetooth headset;
and when the Bluetooth headset establishes Bluetooth connection with the mobile phone with the first card, the Bluetooth headset sends the first short message to the mobile phone with the first card.
4. The method of claim 1, wherein before the step of the server receiving the communication request of the calling party, the method comprises:
when the first card and the second card do not receive the communication request, the Bluetooth headset receives a first broadcast signal of a charging box with the second card and a second broadcast signal of a mobile phone with the first card;
the Bluetooth headset judges the signal strength of the first broadcast signal and the second broadcast signal;
when the Bluetooth headset determines that the first broadcast signal is stronger than the second broadcast signal, the Bluetooth headset establishes a Bluetooth connection with a charging box having the second card.
5. An apparatus to which a communication terminal is connected, the apparatus comprising a server and a charging box, the server comprising:
the first receiving module is used for receiving a communication request of a calling party by a server, wherein the communication request is a request for a first card or a second card;
the first acquisition module is used for acquiring information of a called party associated with the communication request based on the communication request, wherein the information of the called party at least comprises a relationship between a first card and a second card, the first card is adapted to a mobile phone, and the second card is adapted to a charging box;
a first sending module, configured to send the communication request to the second card based on a relationship between the first card and the second card;
the charging box includes:
the second sending module is used for receiving and responding to the communication request and sending a connection request for establishing Bluetooth connection to the Bluetooth headset;
the connection module is used for establishing Bluetooth connection with the Bluetooth headset, and a user uses the Bluetooth headset to answer a communication request;
a first sending module, further configured to send, by the server, the communication request to the second card when a relationship between the first card and the second card is an eSIM card relationship, and at the same time, send, by the server, the communication request to the first card;
and the connection module is also used for the second card to receive the communication request, the charging box of the second card is provided, and after a command of responding to the communication request is input by a user, the charging box of the second card is provided with a signal for sending a representation to the server and sending a connection request for establishing Bluetooth connection to the Bluetooth headset, wherein the signal for sending the representation is used for enabling the server to stop sending the communication request to the first card.
6. Computer arrangement, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which when executing the computer program implements the method of communication terminal connection according to any of claims 1-4.
7. A storage medium, characterized in that it has stored thereon a computer program which, when executed, implements a method of communication terminal connection according to any one of claims 1-4.
CN201910656859.0A 2019-07-19 2019-07-19 Method and device for connecting communication terminal, computer equipment and storage medium Active CN110381207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910656859.0A CN110381207B (en) 2019-07-19 2019-07-19 Method and device for connecting communication terminal, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910656859.0A CN110381207B (en) 2019-07-19 2019-07-19 Method and device for connecting communication terminal, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110381207A CN110381207A (en) 2019-10-25
CN110381207B true CN110381207B (en) 2021-04-23

Family

ID=68254410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910656859.0A Active CN110381207B (en) 2019-07-19 2019-07-19 Method and device for connecting communication terminal, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110381207B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031173B (en) * 2019-11-27 2021-09-24 维沃移动通信有限公司 Incoming call processing method and electronic equipment
CN111031524B (en) * 2019-12-13 2024-03-12 歌尔股份有限公司 Bluetooth headset loss prevention device and method and Bluetooth headset charging box
CN111464962B (en) * 2020-04-10 2022-03-11 维沃移动通信有限公司 Device connection method, first electronic device and operator device
CN111935682B (en) * 2020-07-07 2022-11-22 歌尔科技有限公司 Wireless earphone pairing method, earphone charging box and wireless earphone product assembly
CN112866964B (en) * 2021-01-18 2023-05-12 恒玄科技(上海)股份有限公司 Wireless earphone assembly
CN112867115B (en) * 2021-01-18 2024-01-09 恒玄科技(上海)股份有限公司 Wireless device and wireless communication method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102264043B (en) * 2010-05-26 2014-02-12 比亚迪股份有限公司 Short message sending method, calling method and communication terminal
US10020672B2 (en) * 2016-03-09 2018-07-10 Donte Pitchford Enhanced wireless power charging system
CN109756633B (en) * 2017-11-01 2021-03-30 中国电信股份有限公司 Call answering method and system
CN109121033A (en) * 2018-07-23 2019-01-01 歌尔股份有限公司 Charging bluetooth earphone box and charging case assembly
CN209001607U (en) * 2018-09-06 2019-06-18 萧建棠 Cradle with double Bluetooth functions

Also Published As

Publication number Publication date
CN110381207A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN110381207B (en) Method and device for connecting communication terminal, computer equipment and storage medium
KR101251439B1 (en) Automatical test system and method performance of smart phone using android debug bridge interface
EP2728918A1 (en) Method for detecting interception behaviour and terminal device
CN101984692A (en) Method and device for preventing malicious software from transmitting data
US10959086B2 (en) Multi-SIM multi-standby system, method and device, computer device, and computer readable storage medium
WO2023065931A1 (en) Method for charging electronic device, and electronic device
CN103076977A (en) Method and system for triggering information transmission in standby mode
CN111262870B (en) Video call switching method and device, storage medium and terminal
CN103916526B (en) Contact person information processing method, device and mobile terminal
CN102572098A (en) Terminal and terminal management method
CN102255994A (en) Data recording storage method and system for mobile terminal
WO2016106737A1 (en) Call transfer method and terminal
CN104184871A (en) Method and device for prompting crank call number
CN104955136A (en) Terminal management apparatus, terminal, communication system, terminal management method, and program
CN104348885A (en) Information processing method and electronic equipment
CN105430205A (en) Call communication method and call communication device
CN101964833A (en) Method, system and equipment for displaying personalized signature
CN106850925A (en) The synchronous method of a kind of mobile unit and cellphone directory based on WiFi
KR101669021B1 (en) Apparatus and method for managementing phonebook in portable terminal
KR101806166B1 (en) Tablet telephone and telephoning system comprising the tablet telephone
CN104580719A (en) Session control method and device
CN114827356B (en) Method and system for realizing cloud mobile phone call records
EP3637947A1 (en) Multi-sim incoming call management method, apparatus, managed device and server
CN114338906B (en) Media transmission configuration method, device and computer readable storage medium
JP2014220725A (en) Telephone system and connection control method

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
TR01 Transfer of patent right

Effective date of registration: 20220520

Address after: 518000 floor 1, building 3, Dexin Chang wisdom Park, No. 23 Heping Road, Qinghua community, Longhua street, Longhua District, Shenzhen, Guangdong

Patentee after: Shenzhen waterward Information Co.,Ltd.

Address before: 518000, block B, huayuancheng digital building, 1079 Nanhai Avenue, Shekou, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN WATER WORLD Co.,Ltd.

TR01 Transfer of patent right