CN110012146B - Communication sharing method and terminal - Google Patents

Communication sharing method and terminal Download PDF

Info

Publication number
CN110012146B
CN110012146B CN201810009119.3A CN201810009119A CN110012146B CN 110012146 B CN110012146 B CN 110012146B CN 201810009119 A CN201810009119 A CN 201810009119A CN 110012146 B CN110012146 B CN 110012146B
Authority
CN
China
Prior art keywords
terminal
information
parameter
receive
receiving
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
CN201810009119.3A
Other languages
Chinese (zh)
Other versions
CN110012146A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810009119.3A priority Critical patent/CN110012146B/en
Publication of CN110012146A publication Critical patent/CN110012146A/en
Application granted granted Critical
Publication of CN110012146B publication Critical patent/CN110012146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供一种通信共享方法及终端,该方法包括:检测所述第一终端的第一操作参数是否满足预设条件;若所述第一操作参数满足预设条件,则确定具有共享通信能力的第二终端;向所述第二终端发送第一终端的用户身份信息,使所述第二终端代替所述第一终端接收所述第一终端的信息;其中,所述第一操作参数包括第一电量参数、第一网络信号参数中的至少一项。本发明提供的通信共享方法,通过共享第二终端的通信能力,让使用第一终端的用户可以通过第二终端及时接收信息,避免使用第一终端的用户在第一终端失去通信能力的期间错失重要信息的接收,提升信息的接收效率。

Figure 201810009119

The present invention provides a communication sharing method and terminal. The method includes: detecting whether a first operation parameter of the first terminal satisfies a preset condition; if the first operation parameter satisfies the preset condition, determining that it has a shared communication capability sending the user identity information of the first terminal to the second terminal, so that the second terminal can receive the information of the first terminal instead of the first terminal; wherein the first operation parameter includes: At least one of the first power parameter and the first network signal parameter. The communication sharing method provided by the present invention, by sharing the communication capability of the second terminal, allows the user using the first terminal to receive information in time through the second terminal, and avoids the user using the first terminal from missing the period when the first terminal loses the communication capability Receive important information and improve the efficiency of receiving information.

Figure 201810009119

Description

Communication sharing method and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication sharing method and a terminal.
Background
With the continuous development of the technology, terminals such as mobile phones and the like become an indispensable part of the life of people, people can communicate with other people in a mode of making a call or sending information by using the mobile phones, and the communication experience of people is greatly improved.
Currently, in the process of making a call or sending a message by using a mobile phone, the mobile phone needs to maintain a good communication network. However, when the power of the terminal such as a mobile phone is insufficient and the terminal cannot be charged in a short time, the terminal cannot receive any dialed call or sent information due to power failure; or, when the signal of the network cell where the terminal such as the mobile phone is located is poor or the network is disconnected, the terminal cannot normally receive the call or the information, and further, the information reception is omitted.
Therefore, when the existing terminal is in power failure or the communication signal is poor, the problem of low receiving efficiency exists in the information receiving process.
Disclosure of Invention
The embodiment of the invention provides a communication sharing method and a terminal, aiming at solving the problem of low receiving efficiency of information receiving when the conventional terminal is in power failure or poor communication signals.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a communication sharing method, applied to a first terminal, including:
detecting whether a first operation parameter of the first terminal meets a preset condition;
if the first operation parameter meets a preset condition, determining a second terminal with shared communication capacity;
sending user identity information of a first terminal to a second terminal, and enabling the second terminal to replace the first terminal to receive information of the first terminal;
wherein the first operating parameter comprises at least one of a first power parameter and a first network signal parameter.
In a second aspect, an embodiment of the present invention further provides a communication sharing method, applied to a second terminal, including:
receiving a request message which is broadcasted by a first terminal and requests for sharing communication;
detecting whether the second terminal has a shared communication capability;
and if the second terminal has the shared communication capability, receiving the user identity information of the first terminal sent by the first terminal, and replacing the first terminal to receive the information of the first terminal.
In a third aspect, an embodiment of the present invention further provides a terminal, including:
the detection module is used for detecting whether a first operation parameter of the terminal meets a preset condition;
the determining module is used for determining a second terminal with shared communication capability if the first operating parameter meets a preset condition;
a sending module, configured to send user identity information of a terminal to the second terminal, so that the second terminal replaces the terminal to receive information of the terminal;
wherein the first operating parameter comprises at least one of a first power parameter and a first network signal parameter.
In a fourth aspect, an embodiment of the present invention further provides a terminal, including:
the first receiving module is used for receiving a request message which is broadcasted by a first terminal and requests for sharing communication;
the first detection module is used for detecting whether the terminal has the shared communication capability;
and the second receiving module is used for receiving the user identity information of the first terminal sent by the first terminal if the terminal has the shared communication capability, and replacing the first terminal to receive the information of the first terminal.
In a fifth aspect, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the communication sharing method.
In a sixth aspect, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the communication sharing method.
Therefore, the embodiment of the invention enables the user using the first terminal to receive the information in time through the second terminal by sharing the communication capacity of the second terminal, avoids the user using the first terminal from missing the reception of the important information during the period that the first terminal loses the communication capacity, and improves the information receiving efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a communication sharing method according to an embodiment of the present invention;
fig. 2 is a second flowchart of a communication sharing method according to an embodiment of the present invention;
fig. 3 is a third flowchart of a communication sharing method according to an embodiment of the present invention;
fig. 4 is a fourth flowchart of a communication sharing method according to an embodiment of the present invention;
fig. 5 is a block diagram of a terminal according to an embodiment of the present invention;
fig. 6 is a structural diagram of a detection module in a terminal according to an embodiment of the present invention;
fig. 7 is a block diagram of a determination module in a terminal according to an embodiment of the present invention;
fig. 8 is one of the structural diagrams of a terminal according to another embodiment of the present invention;
fig. 9 is a block diagram of a first detection module in a terminal according to another embodiment of the present invention;
fig. 10 is a second block diagram of a terminal according to another embodiment of the present invention;
fig. 11 is a block diagram of a terminal provided in accordance with still another embodiment of the present invention;
fig. 12 is a block diagram of a terminal according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a communication sharing method according to an embodiment of the present invention, where the communication sharing method according to the embodiment of the present invention is applied to a first terminal, and as shown in fig. 1, the method includes the following steps:
step 101, detecting whether a first operation parameter of the first terminal meets a preset condition.
In this step, the first operation parameter includes at least one of a first power parameter of the first terminal and a first network signal parameter. In this embodiment, the usage status of the first terminal may be determined by detecting whether the first operating parameter of the first terminal meets a preset condition. For example, when the power of the first terminal is lower than a certain value and the user using the first terminal cannot charge the first terminal within a short period of time, it indicates that the first terminal is about to lose the communication capability due to power shortage.
If the first operation parameter does not meet the preset condition, ending the process and maintaining the normal use of the first terminal; if the first operation parameter satisfies the preset condition, step 102 is executed to determine a second terminal with shared communication capability.
And 102, if the first operation parameter meets a preset condition, determining a second terminal with the shared communication capability.
In this step, the second terminal is a terminal having a shared communication capability. In this embodiment, the terminal with the shared communication capability is a terminal supporting the identification function of at least two identification cards, and the card position of at least one of the identification cards is in an idle state.
For example, the second terminal supports a dual-card dual-standby function, and if only one identification card is installed in the second terminal, it is indicated that the second terminal is a terminal with shared communication capability; if the two card slots of the second terminal are both provided with the identity identification cards, the second terminal is a terminal without the shared communication capability.
Step 103, sending the user identity information of the first terminal to the second terminal, so that the second terminal replaces the first terminal to receive the information of the first terminal.
In this step, after determining a second terminal with shared communication capability, sending user identity information of a first terminal to the second terminal, where the second terminal may generate a corresponding virtual identity card according to the user identity information of the first terminal sent by the first terminal, and receiving information of the first terminal through the identity card instead of the first terminal, so as to implement communication sharing, so that a user using the first terminal can receive information through the second terminal in time, thereby avoiding a user using the first terminal from missing important information during a period in which the first terminal loses communication capability, and improving information receiving efficiency.
The user identity information of the first terminal sent to the second terminal comprises identity identification card information registered by a user using the first terminal, and related information of an operator corresponding to the identity identification card; the identity identification card information carries all or part of address book information of the first terminal user.
It should be noted that, in order to avoid unnecessary information leakage, a communication object that may be used in a time period in which the first terminal loses communication capability may be sent to the second terminal, so that user privacy is protected to a certain extent, and user experience is improved.
In this embodiment of the present invention, the first terminal may be any terminal having a communication function, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The communication sharing method of the embodiment of the invention detects whether a first operation parameter of the first terminal meets a preset condition; if the first operation parameter meets a preset condition, determining a second terminal with shared communication capacity; and sending the user identity information of the first terminal to the second terminal, so that the second terminal replaces the first terminal to receive the information of the first terminal. Therefore, by sharing the communication capacity of the second terminal, the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
Referring to fig. 2, fig. 2 is a flowchart of a communication sharing method according to an embodiment of the present invention, where the communication sharing method according to the embodiment of the present invention is applied to a first terminal, and as shown in fig. 2, the method includes the following steps:
step 201, detecting whether a first operation parameter of the first terminal meets a preset condition.
In this step, the first operation parameter includes at least one of a first power parameter of the first terminal and a first network signal parameter. In this embodiment, the usage status of the first terminal may be determined by detecting whether the first operating parameter of the first terminal meets a preset condition.
If the first operation parameter does not meet the preset condition, ending the process and maintaining the normal use of the first terminal; if the first operation parameter satisfies the preset condition, step 202 is executed to broadcast a request message of the first terminal requesting for shared communication.
Optionally, detecting whether a first electric quantity parameter of the first terminal is lower than a preset electric quantity parameter, and if the first electric quantity parameter is lower than the preset electric quantity parameter, meeting a preset condition; or detecting whether a first network signal parameter of the first terminal is lower than a preset network signal parameter, and if the first network signal parameter is lower than the preset network signal parameter, meeting the preset condition.
In this embodiment, by detecting the first electric quantity parameter and/or the first network signal parameter of the first terminal, when the first electric quantity parameter of the first terminal is lower than the preset electric quantity parameter, it indicates that the first terminal is about to lose the communication capability; when the first network signal parameter of the first terminal is lower than the preset network signal parameter, the network environment of the first terminal is poor, and information cannot be received in time.
Step 202, broadcasting a request message of the first terminal requesting for sharing communication if the first operation parameter meets a preset condition.
In the step, when the first operation parameter meets a preset condition, the first terminal is in a state of losing the communication capability or the network signal environment is poor, and information cannot be received in time; by using a near field communication function of the first terminal, such as bluetooth or the like, a request message requesting shared communication is broadcast to other terminals in the surroundings.
The request message may include information of time, location, etc. when the first terminal requests the shared communication. For example, if the first terminal is about to lose communication capability at 9 am and a significant phone call is available at 10 am, the information of the 10 significant phone calls may be included in the request message so that other user terminals willing to share communication capability may be arranged.
Step 203, receiving a response message sent by the candidate terminal according to the request message.
In this step, the candidate terminal is a terminal having a shared communication capability. The terminal with the shared communication capability is a terminal supporting the identification function of at least two identification cards, and the card position of at least one identification card is in an idle state.
And step 204, determining a target terminal from the candidate terminals as the second terminal according to the response message.
In this step, when there are at least two candidate terminals willing to share the communication capability for the user using the first terminal, the target terminal may be determined from the candidate terminals as the second terminal according to the response information sent by the candidate terminals.
The response message includes the operator information of the candidate terminal and other information of the candidate terminal. For example, a candidate terminal with the same operator may be used as the second terminal.
Optionally, the response message includes at least one of a second operating parameter of the candidate terminal and a relative distance between the candidate terminal and the first terminal; the step 204 may further include: determining a target terminal from the candidate terminals as the second terminal according to the second operation parameters and/or the relative distance of the candidate terminals; wherein the second operating parameter comprises at least one of a second power parameter and a second network signal parameter.
In this embodiment, according to the second operation information in the candidates and the relative distance between the candidate terminal and the first terminal, the user using the first terminal can be helped to select a suitable candidate terminal as the second terminal.
For example, the candidate terminal with the best network signal may be selected as the second terminal, the candidate terminal with the most electric quantity may be selected as the second terminal, the candidate terminal with the closest relative distance may be selected as the second terminal, and the second terminal may be determined from the candidate terminals by combining parameters such as the relative distance and the electric quantity. The specific choice may be determined according to the requirements of the user using the first terminal. By the method, the user using the first terminal can select the most appropriate candidate terminal as the second terminal, and user experience is improved.
Step 205, sending the user identity information of the first terminal to the second terminal, so that the second terminal replaces the first terminal to receive the information of the first terminal.
In this step, after determining a second terminal with shared communication capability, sending user identity information of a first terminal to the second terminal, where the second terminal may generate a corresponding virtual identity card according to the user identity information of the first terminal sent by the first terminal, and receiving information of the first terminal through the identity card instead of the first terminal, so as to implement communication sharing, so that a user using the first terminal can receive information through the second terminal in time, thereby avoiding a user using the first terminal from missing important information during a period in which the first terminal loses communication capability, and improving information receiving efficiency.
The communication sharing method of the embodiment of the invention detects whether a first operation parameter of the first terminal meets a preset condition; if the first operation parameter meets a preset condition, broadcasting a request message of the first terminal for requesting the sharing communication; receiving a response message sent by the candidate terminal according to the request message; determining a target terminal from the candidate terminals as the second terminal according to the response message; and sending the user identity information of the first terminal to the second terminal, so that the second terminal replaces the first terminal to receive the information of the first terminal. Therefore, by sharing the communication capacity of the second terminal, the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
Referring to fig. 3, fig. 3 is a flowchart of a communication sharing method according to an embodiment of the present invention, where the communication sharing method according to the embodiment of the present invention is applied to a second terminal, and as shown in fig. 3, the method includes the following steps:
step 301, receiving a request message for requesting shared communication broadcasted by a first terminal.
In this step, the first terminal is a terminal that is about to lose communication capability, and the request message may include information such as time and place when the first terminal requests the shared communication.
For example, when the first terminal is about to lose communication capability at 9 am and a significant phone call is available at 10 am, the information of the 10 significant phone call may be included in the request message so that the user terminal using the second terminal is arranged.
Step 302, detecting whether the second terminal has the shared communication capability.
In this step, the terminal with the shared communication capability is a terminal supporting the identification function of at least two identification cards, and the card position of at least one of the identification cards is in an idle state.
By detecting whether the second terminal has the shared communication capability, if so, executing step 303; if the shared communication capability is not available, the flow is ended.
Step 303, if the second terminal has the shared communication capability, receiving the user identity information of the first terminal sent by the first terminal, instead of receiving the information of the first terminal by the first terminal.
In this step, the user identity information of the first terminal includes identity card information registered by the user using the first terminal, and related information of an operator corresponding to the identity card; the identity identification card information carries all or part of address book information of the first terminal user.
If the second terminal has the shared communication capacity, the user identity information of the first terminal sent by the first terminal is received, and the communication capacity of the second terminal is shared to the user using the first terminal, so that the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
It should be noted that, in order to avoid unnecessary information leakage, a communication object that may be used in a time period in which the first terminal loses communication capability may be sent to the second terminal, so that user privacy is protected to a certain extent, and user experience is improved.
In this embodiment of the present invention, the first terminal may be any terminal having a communication function, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The communication sharing method of the embodiment of the invention receives a request message which is broadcasted by a first terminal and requests for sharing communication; detecting whether the second terminal has a shared communication capability; and if the second terminal has the shared communication capability, receiving the user identity information of the first terminal sent by the first terminal, and replacing the first terminal to receive the information of the first terminal. Therefore, the communication capacity of the second terminal is shared to the user using the first terminal, so that the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
Referring to fig. 4, fig. 4 is a flowchart of a communication sharing method according to an embodiment of the present invention, where the communication sharing method according to the embodiment of the present invention is applied to a second terminal, and as shown in fig. 4, the method includes the following steps:
step 401, receiving a request message for requesting shared communication broadcasted by a first terminal.
In this step, the first terminal is a terminal that is about to lose communication capability, and the request message may include information such as time and place when the first terminal requests the shared communication.
Step 402, detecting whether the second terminal supports at least two identification cards.
In this step, whether the second terminal supports at least two identification cards may be detected by detecting whether the second terminal includes at least two physical identification card slots, or at least two virtual identification card slots, or at least one physical identification card slot and at least one virtual identification card slot.
Step 403, if the second terminal supports the at least two identification cards, detecting whether the second terminal has an idle identification card position.
In this step, if the second terminal supports at least two identification cards and has an idle identification card position, it is determined that the second terminal has a shared communication capability.
Step 404, if the second terminal has an idle identification card, receiving the user identity information of the first terminal sent by the first terminal, instead of the first terminal receiving the information of the first terminal.
In this step, the user identity information of the first terminal includes information stored in a part or all of the user identity cards, and related information of an operator corresponding to the user identity cards.
If the second terminal has the shared communication capacity, the user identity information of the first terminal sent by the first terminal is received, and the communication capacity of the second terminal is shared to the user using the first terminal, so that the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
Optionally, after step 403 and before step 404, the method further includes: detecting whether the second terminal receives an operation instruction of sharing communication capacity; if the operation instruction is received, sending a response message to the first terminal according to the request message;
in this embodiment, whether the second terminal receives an operation instruction that the user using the second terminal is willing to share the communication capability with the first terminal may be detected, and if the corresponding operation instruction is received, a response message may be sent to the first terminal according to the request message sent by the first terminal. Thus, the user experience can be improved by deciding whether the user wants to share the communication capacity according to the intention of the user using the second terminal.
Optionally, step 404 may further include: receiving user identity information of the first terminal sent by the first terminal, generating a corresponding virtual identity identification card according to the user identity information, and using the virtual identity identification card to replace the first terminal to receive the information of the first terminal.
In this embodiment, the corresponding virtual identity card may be generated according to the user identity information of the first terminal, and the virtual identity card may be used to replace the first terminal to receive the information of the first terminal.
Specifically, if the second terminal is a terminal supporting dual-card dual-standby and has a shared communication capability, after the second terminal receives the user identity information of the first terminal, the user identity information of the first terminal can be generated into a corresponding virtual identity identification card and stored in an internal memory of the second terminal, and then the user identity information of the first terminal is respectively uploaded to the modem module and the application layer module. The modem module receives the preparation notice of the virtual identity card, triggers the modem module to enter dual-card dual-standby mode from single-card single standby mode, and simultaneously carries out 3GPP protocol standard behaviors such as network searching, cell measurement and the like on the two identity cards, thereby ensuring that the two identity cards can obtain the best network service. The application layer module is also informed by the preparation of the virtual identity identification card, all applications related to the identity identification card can have options of a card-to-card state, and after the virtual identity identification card is successfully networked, the application layer module can display the network residing state of the virtual identity identification card on a display interface of the second terminal and can receive information corresponding to the virtual identity identification card.
By the method, the communication capacity of the second terminal can be shared to the user using the first terminal, so that the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
The communication sharing method of the embodiment of the invention receives a request message which is broadcasted by a first terminal and requests for sharing communication; detecting whether the second terminal supports at least two identity identification cards or not; if the second terminal supports the at least two identification cards, detecting whether the second terminal has an idle identification card position; and if the second terminal has an idle identification card position, receiving the user identity information of the first terminal sent by the first terminal, and replacing the first terminal to receive the information of the first terminal. Therefore, the communication capacity of the second terminal is shared to the user using the first terminal, so that the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
Referring to fig. 5, fig. 5 is a structural diagram of a terminal according to an embodiment of the present invention, as shown in fig. 5, a terminal 500 includes a detection module 501, a determination module 502, and a sending module 503, where:
a detecting module 501, configured to detect whether a first operation parameter of the terminal meets a preset condition;
a determining module 502, configured to determine a second terminal with a shared communication capability if the first operating parameter meets a preset condition;
a sending module 503, configured to send user identity information of a terminal to the second terminal, so that the second terminal replaces the terminal to receive information of the terminal;
wherein the first operating parameter comprises at least one of a first power parameter and a first network signal parameter.
Optionally, as shown in fig. 6, the detecting module 501 includes:
the first detection submodule 5011 is configured to detect whether a first electric quantity parameter of the terminal is lower than a preset electric quantity parameter, and if the first electric quantity parameter is lower than the preset electric quantity parameter, a preset condition is met;
the second detection submodule 5012 is configured to detect whether a first network signal parameter of the terminal is lower than a preset network signal parameter, and if the first network signal parameter is lower than the preset network signal parameter, the preset condition is met.
Optionally, as shown in fig. 7, the determining module 502 includes:
a broadcasting sub-module 5021 for broadcasting a request message of the terminal requesting for shared communication;
a receiving submodule 5022, configured to receive a response message sent by a candidate terminal according to the request message, where the candidate terminal is a terminal with a shared communication capability;
the determining submodule 5023 is configured to determine a target terminal from the candidate terminals according to the response message, and use the target terminal as the second terminal.
Optionally, the response message includes at least one of a second operating parameter of the candidate terminal and a relative distance between the candidate terminal and the terminal;
the determining submodule 5023 is specifically configured to determine a target terminal from the candidate terminals as the second terminal according to the second operation parameter and/or the relative distance of the candidate terminals;
wherein the second operating parameter comprises at least one of a second power parameter and a second network signal parameter.
The terminal 500 can implement each process implemented by the terminal in the method embodiments of fig. 1 and fig. 2, and is not described herein again to avoid repetition.
The terminal 500 of the embodiment of the present invention detects whether a first operating parameter of the first terminal meets a preset condition; if the first operation parameter meets a preset condition, determining a second terminal with shared communication capacity; and sending the user identity information of the first terminal to the second terminal, so that the second terminal replaces the first terminal to receive the information of the first terminal. Therefore, by sharing the communication capacity of the second terminal, the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
Referring to fig. 8, fig. 8 is a structural diagram of a terminal according to another embodiment of the present invention, as shown in fig. 8, a terminal 800 includes a first receiving module 801, a first detecting module 802, and a second receiving module 803, where:
a first receiving module 801, configured to receive a request message requesting shared communication broadcast by a first terminal;
a first detecting module 802, configured to detect whether the terminal has a shared communication capability;
a second receiving module 803, configured to receive, if the terminal has the shared communication capability, the user identity information of the first terminal sent by the first terminal, instead of the first terminal receiving the information of the first terminal.
Optionally, as shown in fig. 9, the first detecting module 802 includes:
a first detection submodule 8021, configured to detect whether the terminal supports at least two identity cards;
a second detection submodule 8022, configured to detect whether there is an idle identity card location in the terminal if the terminal supports the at least two identity cards;
the determining submodule 8023 is configured to determine that the terminal has a shared communication capability if the terminal has an idle identity card location.
Optionally, as shown in fig. 10, the terminal 800 further includes:
a second detecting module 804, configured to detect whether the terminal receives an operation instruction of sharing communication capability;
a sending module 805, configured to send a response message to the first terminal according to the request message if the operation instruction is received;
the second receiving module 803 is specifically configured to receive the user identity information of the first terminal sent by the first terminal according to the response message, instead of receiving the information of the first terminal by the first terminal;
wherein the response message includes at least one of an operating parameter of the terminal and a relative distance of the terminal from the first terminal.
Optionally, the second receiving module 803 is specifically configured to receive user identity information of the first terminal sent by the first terminal, generate a corresponding virtual identity card according to the user identity information, and receive information of the first terminal by using the virtual identity card instead of the first terminal.
The terminal 800 can implement each process implemented by the terminal in the method embodiments of fig. 3 and fig. 4, and is not described herein again to avoid repetition.
The terminal 800 of the embodiment of the present invention receives a request message for requesting shared communication broadcast by a first terminal; detecting whether the second terminal has a shared communication capability; and if the second terminal has the shared communication capability, receiving the user identity information of the first terminal sent by the first terminal, and replacing the first terminal to receive the information of the first terminal. Therefore, the communication capacity of the second terminal is shared to the user using the first terminal, so that the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
Fig. 11 is a schematic hardware structure diagram of a terminal for implementing various embodiments of the present invention, and as shown in fig. 11, the terminal 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, processor 1110, and power supply 1111. Those skilled in the art will appreciate that the terminal structure shown in fig. 11 does not constitute a limitation of the terminal, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 1110 is configured to detect whether a first operating parameter of the first terminal meets a preset condition; if the first operation parameter meets a preset condition, determining a second terminal with shared communication capacity; sending user identity information of a first terminal to a second terminal, and enabling the second terminal to replace the first terminal to receive information of the first terminal; wherein the first operating parameter comprises at least one of a first power parameter and a first network signal parameter.
Optionally, the processor 1110 is further configured to: detecting whether a first electric quantity parameter of the first terminal is lower than a preset electric quantity parameter, and if the first electric quantity parameter is lower than the preset electric quantity parameter, meeting a preset condition; or detecting whether a first network signal parameter of the first terminal is lower than a preset network signal parameter, and if the first network signal parameter is lower than the preset network signal parameter, meeting the preset condition.
Optionally, the processor 1110 is further configured to: broadcasting a request message of the first terminal requesting for shared communication; receiving a response message sent by a candidate terminal according to the request message, wherein the candidate terminal is a terminal with shared communication capacity; and determining a target terminal from the candidate terminals as the second terminal according to the response message.
Optionally, the response message includes at least one of a second operating parameter of the candidate terminal and a relative distance between the candidate terminal and the first terminal; the processor 1110 is further configured to: determining a target terminal from the candidate terminals as the second terminal according to the second operation parameters and/or the relative distance of the candidate terminals; wherein the second operating parameter comprises at least one of a second power parameter and a second network signal parameter.
The terminal 1100 is capable of implementing each process implemented by the first terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
The terminal 1100 of the embodiment of the present invention detects whether a first operation parameter of the first terminal satisfies a preset condition; if the first operation parameter meets a preset condition, determining a second terminal with shared communication capacity; and sending the user identity information of the first terminal to the second terminal, so that the second terminal replaces the first terminal to receive the information of the first terminal. Therefore, by sharing the communication capacity of the second terminal, the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1101 may be configured to receive and transmit signals during a message transmission or a call, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1110; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1101 may also communicate with a network and other devices through a wireless communication system.
The terminal provides the user with wireless broadband internet access via the network module 1102, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 1103 may convert audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output as sound. Also, the audio output unit 1103 may also provide audio output related to a specific function performed by the terminal 1100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1104 is used to receive audio or video signals. The input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device, such as a camera, in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1106. The image frames processed by the graphic processor 11041 may be stored in the memory 1109 (or other storage medium) or transmitted via the radio frequency unit 1101 or the network module 1102. The microphone 11042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1101 in case of the phone call mode.
Terminal 1100 can also include at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 11061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 11061 and/or a backlight when the terminal 1100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 1105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., and will not be described in detail herein.
The display unit 1106 is used to display information input by a user or information provided to the user. The Display unit 1106 may include a Display panel 11061, and the Display panel 11061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 11071 (e.g., operations by a user on or near the touch panel 11071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 11071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1110, and receives and executes commands sent from the processor 1110. In addition, the touch panel 11071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1107 may include other input devices 11072 in addition to the touch panel 11071. In particular, the other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 11071 can be overlaid on the display panel 11061, and when the touch panel 11071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1110 to determine the type of the touch event, and then the processor 1110 provides a corresponding visual output on the display panel 11061 according to the type of the touch event. Although the touch panel 11071 and the display panel 11061 are shown in fig. 11 as two separate components to implement the input and output functions of the terminal, in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated to implement the input and output functions of the terminal, and the implementation is not limited herein.
The interface unit 1108 is an interface for connecting an external device to the terminal 1100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Interface unit 1108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within terminal 1100 or may be used to transmit data between terminal 1100 and external devices.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 1109 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 1109 and calling data stored in the memory 1109, thereby integrally monitoring the terminal. Processor 1110 may include one or more processing units; preferably, the processor 1110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The terminal 1100 can also include a power supply 1111 (e.g., a battery) for providing power to various components, and preferably, the power supply 1111 can be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the terminal 1100 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 1110, a memory 1109, and a computer program stored in the memory 1109 and capable of running on the processor 1110, where the computer program, when executed by the processor 1110, implements each process of the communication sharing method embodiment in the foregoing fig. 1 and fig. 2, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the communication sharing method embodiment in the embodiments of fig. 1 and fig. 2, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 12 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, and as shown in fig. 12, the terminal 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, and power source 1211. Those skilled in the art will appreciate that the terminal configuration shown in fig. 12 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 1210 is configured to receive a request message, broadcasted by the first terminal, requesting for shared communication; detecting whether the second terminal has a shared communication capability; and if the second terminal has the shared communication capability, receiving the user identity information of the first terminal sent by the first terminal, and replacing the first terminal to receive the information of the first terminal.
Optionally, the processor 1210 is further configured to: detecting whether the second terminal supports at least two identity identification cards or not; if the second terminal supports the at least two identification cards, detecting whether the second terminal has an idle identification card position; and if the second terminal has an idle identification card position, determining that the second terminal has the shared communication capacity.
Optionally, the processor 1210 is further configured to: detecting whether the second terminal receives an operation instruction of sharing communication capacity; if the operation instruction is received, sending a response message to the first terminal according to the request message; receiving the user identity information of the first terminal sent by the first terminal according to the response message, and replacing the first terminal to receive the information of the first terminal; wherein the response message includes at least one of an operating parameter of the second terminal and a relative distance of the second terminal from the first terminal.
Optionally, the processor 1210 is further configured to: receiving user identity information of the first terminal sent by the first terminal, generating a corresponding virtual identity identification card according to the user identity information, and using the virtual identity identification card to replace the first terminal to receive the information of the first terminal.
The terminal 1200 can implement the processes implemented by the second terminal in the foregoing embodiments, and details are not described here to avoid repetition.
The terminal 1200 of the embodiment of the present invention receives a request message for requesting shared communication broadcast by a first terminal; detecting whether the second terminal has a shared communication capability; and if the second terminal has the shared communication capability, receiving the user identity information of the first terminal sent by the first terminal, and replacing the first terminal to receive the information of the first terminal. Therefore, the communication capacity of the second terminal is shared to the user using the first terminal, so that the user using the first terminal can receive information in time through the second terminal, the user using the first terminal is prevented from missing the reception of important information during the period that the first terminal loses the communication capacity, and the information receiving efficiency is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1201 may be used for receiving and sending signals during information transmission and reception or during a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1210; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1201 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through the network module 1202, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Also, the audio output unit 1203 may also provide audio output related to a specific function performed by the terminal 1200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1204 is used to receive audio or video signals. The input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics processor 12041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1206. The image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1201 in case of the phone call mode.
The terminal 1200 also includes at least one sensor 1205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 12061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 12061 and/or backlight when the terminal 1200 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 1205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and will not be described further herein.
The display unit 1206 is used to display information input by the user or information provided to the user. The Display unit 1206 may include a Display panel 12061, and the Display panel 12061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 12071 (e.g., operations by a user on or near the touch panel 12071 using a finger, a stylus, or any suitable object or attachment). The touch panel 12071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1210, receives a command from the processor 1210, and executes the command. In addition, the touch panel 12071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1207 may include other input devices 12072 in addition to the touch panel 12071. In particular, the other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 12071 may be overlaid on the display panel 12061, and when the touch panel 12071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1210 to determine the type of the touch event, and then the processor 1210 provides a corresponding visual output on the display panel 12061 according to the type of the touch event. Although the touch panel 12071 and the display panel 12061 are shown as two separate components in fig. 12 to implement the input and output functions of the terminal, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated to implement the input and output functions of the terminal, and this is not limited herein.
An interface unit 1208 is an interface for connecting an external device to the terminal 1200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1208 may be used to receive input from an external device (e.g., data information, power, etc.) and transmit the received input to one or more elements within the terminal 1200 or may be used to transmit data between the terminal 1200 and the external device.
The memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1209 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 1210 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 1209 and calling data stored in the memory 1209, thereby monitoring the entire terminal. Processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The terminal 1200 may also include a power source 1211 (e.g., a battery) for powering the various components, and preferably, the power source 1211 is logically connected to the processor 1210 via a power management system such that the functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the terminal 1200 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 1210, a memory 1209, and a computer program stored in the memory 1209 and capable of running on the processor 1210, where the computer program, when executed by the processor 1210, implements each process of the communication sharing method embodiment in the foregoing embodiments of fig. 3 and fig. 4, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the communication sharing method embodiment in the embodiments of fig. 3 and fig. 4, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1.一种通信共享方法,应用于第一终端,其特征在于,包括:1. A communication sharing method, applied to a first terminal, characterized in that, comprising: 检测所述第一终端的第一操作参数是否满足预设条件;detecting whether the first operation parameter of the first terminal satisfies a preset condition; 若所述第一操作参数满足预设条件,则确定具有共享通信能力的第二终端,所述第二终端具有至少两个身份识别卡,且所述至少两个身份识别卡中的至少一个身份识别卡处于空闲状态;If the first operation parameter satisfies the preset condition, determine a second terminal with shared communication capability, the second terminal has at least two identification cards, and at least one of the at least two identification cards has an identity The identification card is in an idle state; 向所述第二终端发送第一终端的用户身份信息,使所述第二终端代替所述第一终端接收所述第一终端的信息;sending the user identity information of the first terminal to the second terminal, so that the second terminal can receive the information of the first terminal instead of the first terminal; 其中,所述第一操作参数包括第一电量参数、第一网络信号参数中的至少一项;Wherein, the first operation parameter includes at least one of a first power parameter and a first network signal parameter; 所述确定具有共享通信能力的第二终端的步骤,包括:The step of determining a second terminal with a shared communication capability includes: 广播所述第一终端的请求共享通信的请求消息;broadcasting a request message of the first terminal for requesting shared communication; 接收候选终端根据所述请求消息发送的响应消息,所述候选终端为具有共享通信能力的终端;receiving a response message sent by a candidate terminal according to the request message, where the candidate terminal is a terminal with a shared communication capability; 根据所述响应消息,从所述候选终端中确定目标终端,作为所述第二终端。According to the response message, a target terminal is determined from the candidate terminals as the second terminal. 2.根据权利要求1所述的方法,其特征在于,所述检测所述第一终端的第一操作参数是否满足预设条件的步骤,包括:2. The method according to claim 1, wherein the step of detecting whether the first operation parameter of the first terminal satisfies a preset condition comprises: 检测所述第一终端的第一电量参数是否低于预设电量参数,若所述第一电量参数低于预设电量参数,则满足预设条件;Detecting whether the first power parameter of the first terminal is lower than a preset power parameter, and if the first power parameter is lower than the preset power parameter, a preset condition is satisfied; 或者,or, 检测所述第一终端的第一网络信号参数是否低于预设网络信号参数,若所述第一网络信号参数低于预设网络信号参数,则满足所述预设条件。It is detected whether the first network signal parameter of the first terminal is lower than the preset network signal parameter, and if the first network signal parameter is lower than the preset network signal parameter, the preset condition is satisfied. 3.根据权利要求1所述的方法,其特征在于,所述响应消息包括所述候选终端的第二操作参数,及所述候选终端与第一终端的相对距离中的至少一项;3. The method according to claim 1, wherein the response message comprises at least one of a second operation parameter of the candidate terminal and a relative distance between the candidate terminal and the first terminal; 所述根据所述响应消息,从所述候选终端中确定目标终端,作为所述第二终端的步骤,包括:The step of determining a target terminal from the candidate terminals as the second terminal according to the response message includes: 根据所述候选终端的第二操作参数和/或所述相对距离,从所述候选终端中确定目标终端,作为所述第二终端;determining a target terminal from the candidate terminals as the second terminal according to the second operation parameter of the candidate terminal and/or the relative distance; 其中,所述第二操作参数包括第二电量参数和第二网络信号参数中的至少一项。Wherein, the second operation parameter includes at least one of a second power parameter and a second network signal parameter. 4.一种通信共享方法,应用于第二终端,其特征在于,包括:4. A communication sharing method, applied to a second terminal, characterized in that, comprising: 接收第一终端广播的请求共享通信的请求消息;receiving a request message for requesting shared communication broadcast by the first terminal; 检测所述第二终端是否具有共享通信能力;detecting whether the second terminal has a shared communication capability; 若所述第二终端具有共享通信能力,则接收所述第一终端发送的第一终端的用户身份信息,代替所述第一终端接收所述第一终端的信息;If the second terminal has the shared communication capability, receiving the user identity information of the first terminal sent by the first terminal, instead of the first terminal receiving the information of the first terminal; 其中,所述检测所述第二终端是否具有共享通信能力的步骤,包括:Wherein, the step of detecting whether the second terminal has a shared communication capability includes: 检测所述第二终端是否支持至少两个身份识别卡;detecting whether the second terminal supports at least two identification cards; 若所述第二终端支持所述至少两个身份识别卡,则检测所述第二终端是否存在空闲的身份识别卡位;If the second terminal supports the at least two identification cards, detecting whether there is an idle identification card position in the second terminal; 若所述第二终端存在空闲的身份识别卡位,则确定所述第二终端具有共享通信能力。If the second terminal has an idle identification card slot, it is determined that the second terminal has a shared communication capability. 5.根据权利要求4所述的方法,其特征在于,所述接收所述第一终端发送的第一终端的用户身份信息,代替所述第一终端接收所述第一终端的信息的步骤之前,所述方法还包括:5 . The method according to claim 4 , wherein the receiving the user identity information of the first terminal sent by the first terminal is performed before the step of replacing the first terminal to receive the information of the first terminal. 6 . , the method also includes: 检测所述第二终端是否接收到共享通信能力的操作指令;Detecting whether the second terminal receives an operation instruction for sharing the communication capability; 若接收到所述操作指令,则根据所述请求消息向所述第一终端发送响应消息;If the operation instruction is received, send a response message to the first terminal according to the request message; 所述接收所述第一终端发送的第一终端的用户身份信息,代替所述第一终端接收所述第一终端的信息的步骤,包括:The step of receiving the user identity information of the first terminal sent by the first terminal, instead of the first terminal receiving the information of the first terminal, includes: 接收所述第一终端根据所述响应消息发送的第一终端的用户身份信息,代替所述第一终端接收所述第一终端的信息;receiving the user identity information of the first terminal sent by the first terminal according to the response message, and receiving the information of the first terminal instead of the first terminal; 其中,所述响应消息包括所述第二终端的操作参数,及所述第二终端与第一终端的相对距离中的至少一项。The response message includes at least one of an operation parameter of the second terminal and a relative distance between the second terminal and the first terminal. 6.根据权利要求4所述的方法,其特征在于,所述接收所述第一终端发送的第一终端的用户身份信息,代替所述第一终端接收所述第一终端的信息的步骤,包括:6. The method according to claim 4, wherein the step of receiving the user identity information of the first terminal sent by the first terminal instead of the first terminal receiving the information of the first terminal, include: 接收所述第一终端发送的第一终端的用户身份信息,根据所述用户身份信息生成对应的虚拟身份识别卡,使用所述虚拟身份识别卡代替所述第一终端接收所述第一终端的信息。Receive the user identity information of the first terminal sent by the first terminal, generate a corresponding virtual identity card according to the user identity information, and use the virtual identity card instead of the first terminal to receive the first terminal's information. information. 7.一种终端,其特征在于,包括:7. A terminal, characterized in that, comprising: 检测模块,用于检测所述终端的第一操作参数是否满足预设条件;a detection module, configured to detect whether the first operation parameter of the terminal satisfies a preset condition; 确定模块,用于若所述第一操作参数满足预设条件,则确定具有共享通信能力的第二终端,所述第二终端具有至少两个身份识别卡,且所述至少两个身份识别卡中的至少一个身份识别卡处于空闲状态;A determination module, configured to determine a second terminal with shared communication capability if the first operating parameter satisfies a preset condition, the second terminal has at least two identification cards, and the at least two identification cards at least one of the ID cards is in an idle state; 发送模块,用于向所述第二终端发送终端的用户身份信息,使所述第二终端代替所述终端接收所述终端的信息;a sending module, configured to send the user identity information of the terminal to the second terminal, so that the second terminal can receive the information of the terminal instead of the terminal; 其中,所述第一操作参数包括第一电量参数、第一网络信号参数中的至少一项;Wherein, the first operation parameter includes at least one of a first power parameter and a first network signal parameter; 所述确定模块包括:The determining module includes: 广播子模块,用于广播所述终端的请求共享通信的请求消息;a broadcasting submodule, used for broadcasting a request message of the terminal requesting shared communication; 接收子模块,用于接收候选终端根据所述请求消息发送的响应消息,所述候选终端为具有共享通信能力的终端;a receiving submodule, configured to receive a response message sent by a candidate terminal according to the request message, where the candidate terminal is a terminal with a shared communication capability; 确定子模块,用于根据所述响应消息,从所述候选终端中确定目标终端,作为所述第二终端。A determination submodule, configured to determine a target terminal from the candidate terminals according to the response message as the second terminal. 8.根据权利要求7所述的终端,其特征在于,所述检测模块包括:8. The terminal according to claim 7, wherein the detection module comprises: 第一检测子模块,用于检测所述终端的第一电量参数是否低于预设电量参数,若所述第一电量参数低于预设电量参数,则满足预设条件;a first detection submodule, configured to detect whether the first power parameter of the terminal is lower than a preset power parameter, and if the first power parameter is lower than the preset power parameter, a preset condition is satisfied; 第二检测子模块,用于检测所述终端的第一网络信号参数是否低于预设网络信号参数,若所述第一网络信号参数低于预设网络信号参数,则满足所述预设条件。The second detection sub-module is configured to detect whether the first network signal parameter of the terminal is lower than the preset network signal parameter, and if the first network signal parameter is lower than the preset network signal parameter, the preset condition is satisfied . 9.根据权利要求7所述的终端,其特征在于,所述响应消息包括所述候选终端的第二操作参数,及所述候选终端与终端的相对距离中的至少一项;9. The terminal according to claim 7, wherein the response message comprises at least one of a second operation parameter of the candidate terminal and a relative distance between the candidate terminal and the terminal; 所述确定子模块,具体用于根据所述候选终端的第二操作参数和/或所述相对距离,从所述候选终端中确定目标终端,作为所述第二终端;The determining submodule is specifically configured to determine a target terminal from the candidate terminals as the second terminal according to the second operation parameter of the candidate terminal and/or the relative distance; 其中,所述第二操作参数包括第二电量参数和第二网络信号参数中的至少一项。Wherein, the second operation parameter includes at least one of a second power parameter and a second network signal parameter. 10.一种终端,其特征在于,包括:10. A terminal, characterized in that, comprising: 第一接收模块,用于接收第一终端广播的请求共享通信的请求消息;a first receiving module, configured to receive a request message for requesting shared communication broadcast by the first terminal; 第一检测模块,用于检测所述终端是否具有共享通信能力;a first detection module, configured to detect whether the terminal has a shared communication capability; 第二接收模块,用于若所述终端具有共享通信能力,则接收所述第一终端发送的第一终端的用户身份信息,代替所述第一终端接收所述第一终端的信息;a second receiving module, configured to receive the user identity information of the first terminal sent by the first terminal if the terminal has a shared communication capability, and receive the information of the first terminal instead of the first terminal; 其中,所述第一检测模块包括:Wherein, the first detection module includes: 第一检测子模块,用于检测所述终端是否支持至少两个身份识别卡;a first detection submodule for detecting whether the terminal supports at least two identification cards; 第二检测子模块,用于若所述终端支持所述至少两个身份识别卡,则检测所述终端是否存在空闲的身份识别卡位;a second detection submodule, configured to detect whether the terminal has an idle identification card position if the terminal supports the at least two identification cards; 确定子模块,用于若所述终端存在空闲的身份识别卡位,则确定所述终端具有共享通信能力。The determining submodule is configured to determine that the terminal has a shared communication capability if there is an idle identification card slot in the terminal. 11.根据权利要求10所述的终端,其特征在于,所述终端还包括:11. The terminal according to claim 10, wherein the terminal further comprises: 第二检测模块,用于检测所述终端是否接收到共享通信能力的操作指令;a second detection module, configured to detect whether the terminal receives an operation instruction for sharing the communication capability; 发送模块,用于若接收到所述操作指令,则根据所述请求消息向所述第一终端发送响应消息;a sending module, configured to send a response message to the first terminal according to the request message if the operation instruction is received; 所述第二接收模块,具体用于接收所述第一终端根据所述响应消息发送的第一终端的用户身份信息,代替所述第一终端接收所述第一终端的信息;The second receiving module is specifically configured to receive the user identity information of the first terminal sent by the first terminal according to the response message, and receive the information of the first terminal instead of the first terminal; 其中,所述响应消息包括所述终端的操作参数,及所述终端与第一终端的相对距离中的至少一项。Wherein, the response message includes at least one of an operation parameter of the terminal and a relative distance between the terminal and the first terminal. 12.根据权利要求10所述的终端,其特征在于,所述第二接收模块,具体用于接收所述第一终端发送的第一终端的用户身份信息,根据所述用户身份信息生成对应的虚拟身份识别卡,使用所述虚拟身份识别卡代替所述第一终端接收所述第一终端的信息。12. The terminal according to claim 10, wherein the second receiving module is specifically configured to receive the user identity information of the first terminal sent by the first terminal, and generate a corresponding user identity information according to the user identity information. A virtual identity card, using the virtual identity card instead of the first terminal to receive the information of the first terminal. 13.一种终端,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至3中任一项所述的通信共享方法的步骤,或者所述计算机程序被所述处理器执行时实现如权利要求4至6中任一项所述的通信共享方法的步骤。13. A terminal, characterized in that it comprises a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the method as claimed in the claims The steps of the communication sharing method according to any one of 1 to 3, or the steps of implementing the communication sharing method according to any one of claims 4 to 6 when the computer program is executed by the processor.
CN201810009119.3A 2018-01-04 2018-01-04 Communication sharing method and terminal Active CN110012146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810009119.3A CN110012146B (en) 2018-01-04 2018-01-04 Communication sharing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810009119.3A CN110012146B (en) 2018-01-04 2018-01-04 Communication sharing method and terminal

Publications (2)

Publication Number Publication Date
CN110012146A CN110012146A (en) 2019-07-12
CN110012146B true CN110012146B (en) 2021-01-08

Family

ID=67164446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810009119.3A Active CN110012146B (en) 2018-01-04 2018-01-04 Communication sharing method and terminal

Country Status (1)

Country Link
CN (1) CN110012146B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769408A (en) * 2019-10-24 2020-02-07 深圳传音控股股份有限公司 Communication service distribution method, device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270732A (en) * 2014-10-23 2015-01-07 广州三星通信技术研究有限公司 Call forwarding configuration method and device
CN105050075A (en) * 2015-08-31 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Virtual subscriber identity module (SIM) card based call processing method and device, and wearable device
CN105471459A (en) * 2015-12-18 2016-04-06 联想(北京)有限公司 Wearable electronic equipment, mobile equipment, communication system and control method
CN106657590A (en) * 2016-10-18 2017-05-10 北京奇虎科技有限公司 Two-way hosting method and device for smart phone and smart watch
CN107295492A (en) * 2017-08-04 2017-10-24 深圳天珑无线科技有限公司 Call transferring method, equipment and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270732A (en) * 2014-10-23 2015-01-07 广州三星通信技术研究有限公司 Call forwarding configuration method and device
CN105050075A (en) * 2015-08-31 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Virtual subscriber identity module (SIM) card based call processing method and device, and wearable device
CN105471459A (en) * 2015-12-18 2016-04-06 联想(北京)有限公司 Wearable electronic equipment, mobile equipment, communication system and control method
CN106657590A (en) * 2016-10-18 2017-05-10 北京奇虎科技有限公司 Two-way hosting method and device for smart phone and smart watch
CN107295492A (en) * 2017-08-04 2017-10-24 深圳天珑无线科技有限公司 Call transferring method, equipment and computer-readable recording medium

Also Published As

Publication number Publication date
CN110012146A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
KR102441850B1 (en) Service processing method and mobile communication terminal
CN111124569B (en) Application sharing method, electronic device and computer readable storage medium
CN108279948A (en) A kind of application program launching method and mobile terminal
US20220318076A1 (en) Application sharing method, first electronic device, and computer-readable storage medium
CN107886321A (en) A kind of method of payment and mobile terminal
CN107911812A (en) Optimal public land mobile network PPLMN list adjustment method and mobile terminal
CN108536509A (en) A kind of application is attended to anything else method and mobile terminal
CN110020386B (en) Application page sharing method, mobile terminal and computer readable storage medium
CN108304516A (en) A kind of Web content pre-add support method and mobile terminal
CN111049991B (en) Content sharing method and electronic equipment
CN108197934A (en) A kind of method of payment and terminal device
CN111158815B (en) Dynamic wallpaper blurring method, terminal and computer readable storage medium
CN108170559A (en) A kind of data back up method and terminal
WO2020173281A1 (en) Interface display method and terminal device
CN110167006A (en) A kind of control application program uses the method and terminal device of SIM card
CN111399792B (en) A content sharing method and electronic device
CN111556552B (en) Data transmission method and electronic equipment
CN110505660B (en) A network rate adjustment method and terminal equipment
CN110209434B (en) Memory management method and device and computer readable storage medium
WO2021077898A1 (en) Network registration method and electronic device
CN110990029A (en) Application processing method and electronic equipment
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface
CN108419283A (en) Method and mobile terminal for WIFI hotspot scanning
CN109743469B (en) A VOLTE-based communication method and mobile terminal
CN110012146B (en) Communication sharing method and terminal

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