CN111770440B - Communication method and device - Google Patents

Communication method and device Download PDF

Info

Publication number
CN111770440B
CN111770440B CN202010599139.8A CN202010599139A CN111770440B CN 111770440 B CN111770440 B CN 111770440B CN 202010599139 A CN202010599139 A CN 202010599139A CN 111770440 B CN111770440 B CN 111770440B
Authority
CN
China
Prior art keywords
target
contact
position information
information
communication
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
CN202010599139.8A
Other languages
Chinese (zh)
Other versions
CN111770440A (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 CN202010599139.8A priority Critical patent/CN111770440B/en
Publication of CN111770440A publication Critical patent/CN111770440A/en
Application granted granted Critical
Publication of CN111770440B publication Critical patent/CN111770440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/2753Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
    • H04M1/2757Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content by data transmission, e.g. downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The embodiment of the invention provides a communication method and a communication device. The method is applied to a first electronic device and comprises the following steps: receiving a communication request for communicating with a target object, wherein the target object is an object in a target address book group; responding to the communication request, and acquiring first position information of the first electronic equipment; and executing the communication request through a first Subscriber Identity Module (SIM) card corresponding to the first position information. According to the embodiment of the invention, the corresponding SIM card is selected according to the position information of the first electronic equipment, the convenience degree of double-card switching is improved, the complexity of manual switching of a user is avoided, and higher communication cost caused by forgetting switching of the user is avoided. The embodiment of the invention solves the problem that the conventional electronic equipment with a dual-card mode has poor convenience degree in the process of switching the SIM card in the prior art.

Description

Communication method and device
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a communication method and apparatus.
Background
With the rapid development of mobile communication technology, electronic devices such as smart phones have become an indispensable tool in various aspects of people's life. The functions of various Application programs (APPs) of the electronic equipment are gradually improved, and the functions do not only play a role in communication, but also provide various intelligent services for users, so that great convenience is brought to the work and life of the users.
Currently, many electronic devices, such as smart phones, support a dual card mode, and a user can switch between two Subscriber Identity Module (SIM) cards when using the dual card mode electronic device. Thus, in some scenarios, such as when a user is outbound, a SIM card may be purchased locally after the outbound for local use. Especially in the trend of faster travel development, more and more users choose outbound travel. After the user leaves the house, the user needs to manually switch to a local SIM card and contact with others by using the SIM card; if the user forgets to switch, and uses another SIM card instead, a high communication cost may be incurred, which may cause a loss to the user. Therefore, the conventional electronic equipment with a dual-card mode has poor convenience in the process of switching the SIM card.
Disclosure of Invention
The embodiment of the invention provides a communication method and a communication device, and aims to solve the problem that in the prior art, the convenience degree of the conventional dual-card mode electronic equipment is poor in the process of switching SIM cards.
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 method, which is applied to a first electronic device, and the method includes:
receiving a communication request for communicating with a target object, wherein the target object is an object in a target address book group;
responding to the communication request, and acquiring first position information of the first electronic equipment;
and executing the communication request through a first Subscriber Identity Module (SIM) card corresponding to the first position information.
Optionally, after the executing the communication request, the method further includes:
and when the position information of the first electronic equipment is switched to second position information, copying the communication record of the first SIM card into the communication record of a second SIM card corresponding to the second position information.
Optionally, the executing the communication request by using a first subscriber identity module SIM card corresponding to the first location information includes:
acquiring a target contact number of the target object; the target contact number is a number corresponding to the first position information in the contact numbers of the target object;
and sending the communication request to the target contact number through the first SIM card.
Optionally, before receiving the communication request for communicating with the target object, the method includes:
acquiring third position information of the first electronic equipment;
sending number acquisition information for acquiring the target contact number to second electronic equipment within a preset distance range of the third position information;
receiving response information fed back by the second electronic equipment based on the number acquisition information, and acquiring a contact number and contact person information carried in the response information;
establishing the target address book group based on the contact person information and the contact number; and the contact number is a target contact number of a contact corresponding to the contact information.
Optionally, the method further comprises: and sending the number of the first SIM card to the object in the address book group.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the communication apparatus is a first electronic device, and the communication apparatus includes:
the system comprises a receiving module, a communication module and a processing module, wherein the receiving module is used for receiving a communication request for communicating with a target object, and the target object is an object in a target address book group;
the response module is used for responding to the communication request and acquiring first position information of the first electronic equipment;
and the execution module is used for executing the communication request through a first Subscriber Identity Module (SIM) card corresponding to the first position information.
Optionally, the communication device further comprises:
and the record copying module is used for copying the communication record of the first SIM card into the communication record of the second SIM card corresponding to the second position information when the position information of the first electronic equipment is switched to the second position information.
Optionally, the execution module includes:
the number acquisition submodule is used for acquiring a target contact number of the target object; the target contact number is a number corresponding to the first position information in the contact numbers of the target object;
and the sending submodule is used for sending the communication request to the target contact number through the first SIM card.
Optionally, the communication device comprises:
the group establishing module is used for acquiring third position information of the first electronic equipment;
sending number acquisition information for acquiring the target contact number to second electronic equipment within a preset distance range of the third position information;
receiving response information fed back by the second electronic equipment based on the number acquisition information, and acquiring a contact number and contact person information carried in the response information;
establishing the target address book group based on the contact person information and the contact number; and the contact number is a target contact number of a contact corresponding to the contact information.
Optionally, the communication device further comprises:
and the number sending module is used for sending the number of the first SIM card to the object in the address list group.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps in the communication method described above are implemented.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the communication method as described above.
In the embodiment of the invention, a communication request for communicating with a target object is received, wherein the target object is an object in a target address book group; responding to the communication request, and acquiring first position information of the first electronic equipment; the communication request is executed through the first user identity identification SIM card corresponding to the first position information, the corresponding SIM card is selected according to the position information of the first electronic equipment, the convenience degree of double-card switching is improved, the trouble of manual switching of a user is avoided, and higher communication cost caused by forgetting to switch the user is avoided.
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 labor.
Fig. 1 is a flow chart of a communication method according to an embodiment of the present invention;
fig. 2 shows a second flowchart of a communication method according to an embodiment of the invention;
FIG. 3 shows a schematic diagram of a first example of embodiment of the invention;
FIG. 4 shows a schematic diagram of a second example of embodiment of the invention;
FIG. 5 shows a flow chart of a third example of embodiment of the present invention;
FIG. 6 illustrates a block diagram of a communications device provided by an embodiment of the present invention;
fig. 7 shows a block diagram of an electronic device provided by an embodiment of the 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.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a communication method applied to a first electronic Device, which includes various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of Mobile Stations (MSs), terminal devices (Terminal devices), and so on.
Optionally, the first electronic device is an electronic device in a dual-card mode, that is, supports at least two SIM cards, or a virtual smart card (eSIM card); the eSIM card embeds a conventional SIM card onto the device chip without inserting a physical SIM card.
The method comprises the following steps:
step 101, receiving a communication request for communicating with a target object, where the target object is an object in a preset target address list group.
The communication request may be a request for sending a short message to the target object or making a call, for example, a user triggers a key for sending a short message to the target object or making a call.
The target object is an object in a target address book group, the target address book group is a pre-established address book group, for example, when a user is in an outbound situation, a peer or an overseas person can be added to the target address book group in advance so as to contact the other party after the outbound situation.
Step 102, responding to the communication request, and acquiring first position information of the first electronic device.
After a communication request for contacting a target object is received, acquiring current first position information of first electronic equipment; taking the exit as an example, if the user is before the exit, the first location information is the location information of the original country, and if the user is after the exit, the location is the location information of the target country.
Step 103, executing the communication request through a first Subscriber Identity Module (SIM) card corresponding to the first location information.
After the first position information is determined, the communication request is executed through a first SIM card corresponding to the first position information; the first SIM card corresponding to the first location information belongs to a location area (location area such as country, province, city, etc.) to which the first location information belongs, or the first SIM card can be used in the location area to which the first location information belongs; for example, if the user is before the exit, the first SIM card is an available SIM card in the original country, and after the exit, the first SIM card is an available SIM card in the target country; therefore, after receiving a communication request triggered by a user, the electronic equipment selects a corresponding SIM according to the position information, and executes the communication request, wherein the communication request comprises calling a target object through the first SIM card or sending a short message to the target object.
In the embodiment of the invention, a communication request for communicating with a target object is received, wherein the target object is an object in a target address list group; responding to the communication request, and acquiring first position information of the first electronic equipment; the communication request is executed through the first user identity identification SIM card corresponding to the first position information, the corresponding SIM card is selected according to the position information of the first electronic equipment, the convenience degree of double-card switching is improved, the trouble of manual switching of a user is avoided, and higher communication cost caused by the fact that the user forgets to switch the SIM card is avoided. The embodiment of the invention solves the problem that the conventional electronic equipment with a double-card mode has poor convenience degree in the process of switching the SIM card in the prior art.
Optionally, in this embodiment of the present invention, after the executing the communication request, the method further includes:
and when the position information of the first electronic equipment is switched to second position information, copying the communication record of the first SIM card into the communication record of a second SIM card corresponding to the second position information.
The second location information and the first location information belong to different location areas, and for the first electronic equipment, the different location areas are different SIM card attribution information; the attribution of the first SIM card is a location area corresponding to the first location information, the attribution of the second SIM card is a location area corresponding to the second location information, after the location information of the first electronic equipment is switched to the second location information, the first electronic equipment automatically synchronizes the communication record of the first SIM card to the communication record of the second SIM card, and the communication record is prevented from being lost, for example, a user returns after going out of the country, the SIM card used outdoors is possibly discarded, and the relevant communication record is possibly lost at this time.
For example, after the exit journey of the user of the first electronic device is finished, the positioning module of the first electronic device can recognize that the user returns to the country, the SIM card recognition module of the first electronic device finds that the second SIM card can be normally used, and the system synchronizes the records of the first SIM card conversation, the short message record and the like to the communication record of the second SIM card through the address list module, the conversation module and the short message module.
Optionally, in this embodiment of the present invention, the executing the communication request by using the first SIM card corresponding to the first location information includes:
acquiring a target contact number of the target object; the target contact number is a number corresponding to the first position information in the contact numbers of the target object;
and sending the communication request to the target contact number through the first SIM card.
The contact persons in the target address book group can store two contact numbers or only store the contact numbers used by the contact persons in the position areas where the first position information belongs; for example, after the user of the first electronic device leaves the target country, the contact number used by the contact in the target country is stored, and then when the user of the first electronic device calls the other party or sends a short message to the other party, the user gets contact with the target contact number used by the target object in the target country through the first SIM card.
Optionally, in an embodiment of the present invention, referring to fig. 2, an embodiment of the present invention provides a communication method, which is applied to a first electronic device, where optionally, the first electronic device is an electronic device in a dual-card mode, that is, supports at least two SIM cards or eSIM cards; the eSIM card embeds a conventional SIM card onto the device chip without inserting a physical SIM card.
The method comprises the following steps:
step 201, third position information of the first electronic device is acquired.
Taking the exit as an example, the third location information may be before or after the user exits; for example, before the exit, the user establishes the target address book group in advance, for example, adds the fellow staff to the target address book group.
For example, before the group on the trip exits, the contacts of the same group are obtained through the mobile phone address book module, the positioning module, or the positioning and group functions of the social software.
After a user triggers and establishes a target address book group, the first electronic device acquires current position information, namely third position information.
Step 202, obtaining number obtaining information of the target contact number from a second electronic device within a preset distance range of the third position information.
The first electronic device sends number acquisition information to a second electronic device within a preset distance range, where the number acquisition information is used to acquire a target contact number of a user of the second electronic device (i.e., a contact of the first electronic device) at the first location information, for example, the user carries prompt information in the number acquisition information for prompting the user of the second electronic device to feed back the target contact number.
Step 203, receiving response information fed back by the second electronic device based on the number acquisition information, and acquiring a contact number and contact person information carried in the response information.
Receiving response information fed back by the second electronic equipment, and acquiring a contact number and contact person information carried in the response information; optionally, the contact number includes a target contact number, and may further include a contact number of a location area corresponding to the second location information of the contact, such as a contact number of an origin country before the exit.
Step 204, establishing the target address book group based on the contact person information and the contact number; and the contact number is a target contact number of the contact corresponding to the contact information.
As a first example, as shown in fig. 3, the target address book group is an outbound group, where the target address book group includes contacts C, D, E, F, and the address book entry of each contact includes a contact number of country a, where country a is an outbound target country and country B is an original country before the outbound; the address book entry of the contact C, D further includes the contact number of the corresponding contact in country B.
Step 205, receiving a communication request for communicating with a target object, where the target object is an object in a preset target address list group.
The communication request may be a request for sending a short message to the target object or making a call, for example, a user triggers a key for sending a short message to the target object or making a call.
The target object is an object in a target address book group, the target address book group is a pre-established address book group, such as an outbound group shown in fig. 3, and when the user is outbound, the user can add a peer or an overseas person to the target address book group in advance so as to contact the other party after the user is outbound.
The target object may be contact C, D, E or F as shown in fig. 3.
Step 206, in response to the communication request, obtaining first location information of the first electronic device.
After a communication request for contacting a target object is received, acquiring current first position information of first electronic equipment; taking the outbound as an example, if the user is before the outbound, the first location information is the location information of the original country, i.e. country B in fig. 3; if the user is after the exit, the location becomes the location information of the target country, i.e., country a in fig. 3.
Step 207, executing the communication request through a first Subscriber Identity Module (SIM) card corresponding to the first location information.
After the first position information is determined, the communication request is executed through a first SIM card corresponding to the first position information; the first SIM card corresponding to the first location information belongs to a location area (location area such as country, province, city, etc.) to which the first location information belongs, or the first SIM card can be used in the location area to which the first location information belongs; for example, if the user is before the exit, the first SIM card is an available SIM card in the original country, and after the exit, the first SIM card is an available SIM card in the target country; therefore, after receiving a communication request triggered by a user, the electronic equipment selects a corresponding SIM according to the position information, and executes the communication request, wherein the communication request comprises calling a target object through the first SIM card or sending a short message to the target object.
Like this, avoid the user to need manual acquisition the contact means of other people of same group of being out of the country, to the comparatively huge condition of group, if manual acquisition and input to electronic equipment in, the process is very consuming time, loaded down with trivial details.
Optionally, in an embodiment of the present invention, the method further includes: and sending the number of the first SIM card to the object in the address book group.
Optionally, when the user sends the number acquisition information to another user, or after the address list group is established, the other party may be notified of the first SIM card number, for example, the other user is notified in the form of a group short message. If the user is before the exit, the number of the first SIM card is the SIM card available in the original country, and the number of the first SIM card is the number of the SIM card available in the target country after the exit; after establishing the address book group, the user can choose to send at least one of the SIM card number of the original country and the SIM card number available in the target country to the other party.
As a second example, the group short message interface is shown in fig. 4, where the user of the first electronic device is a contact G, and the contact numbers of the two countries of the user are respectively sent to contacts in the outbound group through short messages in a group manner, so as to facilitate other contacts or the contact information of the user.
As a third example, referring to fig. 5, taking a group travel behavior example, fig. 5 shows a main process of the communication method provided by the embodiment of the present invention, which includes the following steps:
step 501, a first electronic device establishes an outbound group.
Before the exit, the user can automatically identify the user through the address book module and the positioning module of the first electronic device or the positioning and group functions of social software, automatically create the user or automatically identify friends for the user based on a domestic main SIM card (namely, the first SIM card), and intelligently prompt the user to confirm the creation of the exit group.
Step 502, group-sending the outbound contact number of the first electronic device user to the contacts of the outbound group.
The system popup module of the first electronic device prompts whether to automatically group-send the outbound group, and if the user clicks the group-send, the short message module of the first electronic device sends the outbound group according to the specific template, as shown in fig. 4.
Step 503, receiving the contact number sent by the contact of the outbound group, and storing the contact number to the outbound group.
The short message receiving module of the first electronic device automatically identifies whether the short message content belongs to a specific template when the first electronic device receives a response message, such as a short message, sent by an outbound group contact;
if the template belongs to the specific template, the analysis module of the first electronic device analyzes the template content, and the contact number is added to the address book of the outbound group through the address book module of the first electronic device.
Step 504, when the user calls or sends the short message to the contact person of the outbound group, the first electronic device automatically selects the first SIM card of the user after the user is outbound to send, and sends the first SIM card to the outbound number of the target contact person.
And 505, after the travel is finished, automatically synchronizing the communication record of the first SIM card to a second SIM card of the first electronic equipment.
In the embodiment of the invention, a communication request for communicating with a target object is received, wherein the target object is an object in a target address list group; responding to the communication request, and acquiring first position information of the first electronic equipment; the communication request is executed through the first user identity identification SIM card corresponding to the first position information, the corresponding SIM card is selected according to the position information of the first electronic equipment, the convenience degree of double-card switching is improved, the trouble of manual switching of a user is avoided, and higher communication cost caused by forgetting to switch the user is avoided.
With the above description of the communication method provided by the embodiment of the present invention, the electronic device provided by the embodiment of the present invention will be described with reference to the accompanying drawings.
Referring to fig. 6, an embodiment of the present invention further provides a communication apparatus 600, where the communication apparatus 600 is a first electronic device, and the communication apparatus 600 includes:
the receiving module 601 is configured to receive a communication request for communicating with a target object, where the target object is an object in a target address book group.
The communication request may be a request for sending a short message to the target object or making a call, for example, a user triggers a key for sending a short message to the target object or making a call.
The target object is an object in a target address book group, the target address book group is a pre-established address book group, for example, when a user is in an outbound situation, a peer or an overseas person can be added to the target address book group in advance so as to contact the other party after the outbound situation.
A response module 602, configured to obtain first location information of the first electronic device in response to the communication request.
After the receiving module 601 receives a communication request for contacting a target object, the response module 602 acquires current first location information of the first electronic device; taking the exit as an example, if the user is before the exit, the first location information is the location information of the original country, and if the user is after the exit, the location is the location information of the target country.
The executing module 603 is configured to execute the communication request through a first subscriber identity module SIM card corresponding to the first location information.
After the first position information is determined, the communication request is executed through a first SIM card corresponding to the first position information; the first SIM card corresponding to the first location information belongs to a location area (location area such as country, province, city, etc.) to which the first location information belongs, or the first SIM card can be used in the location area to which the first location information belongs; for example, if the user is before the exit, the first SIM card is an available SIM card in the original country, and after the exit, the first SIM card is an available SIM card in the target country; in this way, after receiving a communication request triggered by a user, the communication device 600 selects a corresponding SIM according to the location information, and executes the communication request, including calling a target object through the first SIM card, or sending a short message to the target object.
Optionally, in this embodiment of the present invention, the communication device 600 further includes:
and the record copying module is used for detecting that the position information of the first electronic equipment is switched into second position information, and copying the communication record of the first SIM card into a second SIM card corresponding to the second position information.
The second location information and the first location information belong to different location areas, and for the first electronic equipment, the different location areas are different SIM card attribution information; the attribution of the first SIM card is a location area corresponding to the first location information, the attribution of the second SIM card is a location area corresponding to the second location information, after the location information of the first electronic equipment is switched to the second location information, the first electronic equipment automatically synchronizes the communication record of the first SIM card to the communication record of the second SIM card, and the communication record is prevented from being lost, for example, a user returns after going out of the country, the SIM card used outdoors is possibly discarded, and the relevant communication record is possibly lost at this time.
For example, after the outbound journey of the user of the first electronic device is finished, the positioning module of the first electronic device may recognize that the user has returned to the country, the SIM card identification module of the first electronic device finds that the second SIM card can be used normally, and the system synchronizes the records of the call and the short message record of the first SIM card to the communication record of the second SIM card through the address list module, the call module and the short message module.
Optionally, in this embodiment of the present invention, the executing module 603 includes:
the number acquisition submodule is used for acquiring a target contact number of the target object; the target contact number is a number corresponding to the first position information in the contact numbers of the target object;
and the sending submodule is used for sending the communication request to the target contact number through the first SIM card.
The contact persons in the target address book group can store two contact numbers or only store the contact numbers used by the contact persons in the position areas where the first position information belongs; for example, after the user of the first electronic device leaves the target country, the contact number used by the contact in the target country is stored, and then when the user of the first electronic device calls the other party or sends a short message to the other party, the user gets contact with the target contact number used by the target object in the target country through the first SIM card.
Optionally, in this embodiment of the present invention, the communication device 600 includes:
the group establishing module is used for acquiring third position information of the first electronic equipment;
sending number acquisition information for acquiring the target contact number to second electronic equipment within a preset distance range of the third position information;
receiving response information fed back by the second electronic equipment based on the number acquisition information, and acquiring a contact number and contact person information carried in the response information;
establishing the target address book group based on the contact person information and the contact number; and the contact number is a target contact number of a contact corresponding to the contact information.
Taking the exit as an example, the third location information may be before or after the user exits; for example, before the exit, the user establishes the target address book group in advance, for example, adds the fellow staff to the target address book group. For example, before the group on the trip exits, the contacts of the same group are obtained through the mobile phone address book module, the positioning module, or the positioning and group functions of the social software. After the user triggers and establishes the target address book group, the first electronic device acquires current position information, namely third position information.
The first electronic device sends number acquisition information to a second electronic device within a preset distance range, where the number acquisition information is used to acquire a target contact number of a user of the second electronic device (i.e., a contact of the first electronic device) at the first location information, for example, the user carries prompt information in the number acquisition information for prompting the user of the second electronic device to feed back the target contact number.
Receiving response information fed back by the second electronic equipment, and acquiring a contact number and contact person information carried in the response information; optionally, the contact number includes a target contact number, and may further include a contact number of a location area corresponding to the second location information of the contact, such as a contact number of an origin country before the exit.
And establishing a target address book group according to the contact person information and the contact number.
Optionally, in this embodiment of the present invention, the communication device 600 further includes:
and the number sending module is used for sending the number of the first SIM card to the object in the address list group.
When the user sends number acquisition information to other users or after the address list group is established, the other party can be informed of the first SIM card number, for example, the other users are informed in the form of group short message, if the user is before the user is outbound, the number of the first SIM card is the SIM card available in the original country, and after the user is outbound, the number of the first SIM card is the number of the SIM card available in the target country; after establishing the address book group, the user can choose to send at least one of the SIM card number of the original country and the SIM card number available in the target country to the other party.
As a second example, as shown in fig. 4, the user of the first electronic device is a contact G, and the contact numbers of the two countries of the user are respectively sent to contacts in the outbound group through short messages in a group, so as to facilitate other contacts or contact ways of the user.
The communication device 600600 provided in the embodiment of the present invention can implement each process implemented by the communication device 600 in the method embodiments of fig. 1 to fig. 5, and for avoiding repetition, details are not described here again.
In the embodiment of the present invention, a communication request for communicating with a target object is received by a receiving module 601, where the target object is an object in a target address book group; the response module 602 acquires first location information of the first electronic device in response to the communication request; the executing module 603 executes the communication request by identifying the SIM card by the first user identity corresponding to the first location information, so as to select the corresponding SIM card according to the location information of the first electronic device, improve the convenience of dual-card switching, avoid the trouble of manual switching of the user, and avoid the generation of high communication cost due to the fact that the user forgets to switch.
FIG. 7 is a diagram illustrating a hardware configuration of an electronic device implementing various embodiments of the invention;
the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of electronic devices, which 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 electronic device 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.
A user input unit 707, configured to receive a communication request for communicating with a target object, where the target object is an object in a target address book group;
a processor 710, configured to obtain first location information of the first electronic device in response to the communication request;
and executing the communication request through a first Subscriber Identity Module (SIM) card corresponding to the first position information.
In the embodiment of the invention, a communication request for communicating with a target object is received, wherein the target object is an object in a target address book group; responding to the communication request, and acquiring first position information of the first electronic equipment; the communication request is executed through the first user identity identification SIM card corresponding to the first position information, the corresponding SIM card is selected according to the position information of the first electronic equipment, the convenience degree of double-card switching is improved, the trouble of manual switching of a user is avoided, and higher communication cost caused by forgetting to switch the user is avoided.
It should be noted that, in this embodiment, the electronic device 700 may implement each process in the method embodiment of the present invention and achieve the same beneficial effects, and for avoiding repetition, details are not described here again.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. Generally, the radio frequency unit 701 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 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides the user with wireless broadband internet access via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds 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 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an 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 posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 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 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 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 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 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 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. 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 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), 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 709 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 710 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 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 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program is executed by the processor 710 to implement each process of the communication method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The 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 method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. 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 (6)

1. A communication method is applied to a first electronic device, and is characterized by comprising the following steps:
receiving a communication request for communicating with a target object, wherein the target object is an object in a target address book group; the target address book group is a pre-established address book group;
responding to the communication request, and acquiring first position information of the first electronic equipment;
executing the communication request through a first Subscriber Identity Module (SIM) card corresponding to the first position information;
wherein prior to the receiving of the communication request to communicate with the target object, the method comprises:
acquiring third position information of the first electronic equipment;
sending number acquisition information for acquiring a target contact number to second electronic equipment within a preset distance range of the third position information;
receiving response information fed back by the second electronic equipment based on the number acquisition information, and acquiring a contact number and contact person information carried in the response information; the contact number is a target contact number of a contact corresponding to the contact information;
establishing the target address book group based on the contact person information and the contact number;
the executing the communication request by identifying a first Subscriber Identity Module (SIM) card corresponding to the first location information comprises:
acquiring a target contact number of the target object; the target contact number is a number corresponding to the first position information in the contact numbers of the target object;
and sending the communication request to the target contact number through the first SIM card.
2. The communication method according to claim 1, wherein after the executing the communication request, the method further comprises:
and when the position information of the first electronic equipment is switched to second position information, copying the communication record of the first SIM card into the communication record of a second SIM card corresponding to the second position information.
3. The communication method of claim 1, wherein the method further comprises:
and sending the number of the first SIM card to the object in the address book group.
4. A communication device applied to a first electronic device, the device comprising:
the system comprises a receiving module, a communication module and a processing module, wherein the receiving module is used for receiving a communication request for communicating with a target object, and the target object is an object in a target address book group; the target address book group is a pre-established address book group;
the response module is used for responding to the communication request and acquiring first position information of the first electronic equipment;
the execution module is used for executing the communication request through a first user identity identification (SIM) card corresponding to the first position information;
the communication apparatus includes:
the group establishing module is used for acquiring third position information of the first electronic equipment;
sending number acquisition information for acquiring a target contact number to second electronic equipment within a preset distance range of the third position information;
receiving response information fed back by the second electronic equipment based on the number acquisition information, and acquiring a contact number and contact person information carried in the response information; the contact number is a target contact number of a contact corresponding to the contact information;
establishing the target address book group based on the contact person information and the contact number;
the execution module comprises:
the number acquisition submodule is used for acquiring a target contact number of the target object; the target contact number is a number corresponding to the first position information in the contact numbers of the target object;
and the sending submodule is used for sending the communication request to the target contact number through the first SIM card.
5. The communications device of claim 4, further comprising:
and the record copying module is used for copying the communication record of the first SIM card into the communication record of the second SIM card corresponding to the second position information when the position information of the first electronic equipment is switched to the second position information.
6. The communications device of claim 4, further comprising:
and the number sending module is used for sending the number of the first SIM card to the object in the address list group.
CN202010599139.8A 2020-06-28 2020-06-28 Communication method and device Active CN111770440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010599139.8A CN111770440B (en) 2020-06-28 2020-06-28 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010599139.8A CN111770440B (en) 2020-06-28 2020-06-28 Communication method and device

Publications (2)

Publication Number Publication Date
CN111770440A CN111770440A (en) 2020-10-13
CN111770440B true CN111770440B (en) 2023-02-03

Family

ID=72722252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010599139.8A Active CN111770440B (en) 2020-06-28 2020-06-28 Communication method and device

Country Status (1)

Country Link
CN (1) CN111770440B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3188520A1 (en) * 2015-12-30 2017-07-05 Xiaomi Inc. Method and device for enabling virtual subscriber identity module card
WO2019059615A2 (en) * 2017-09-25 2019-03-28 삼성전자 주식회사 Electronic device for providing location information and control method therefor
CN111314903A (en) * 2020-02-14 2020-06-19 维沃移动通信有限公司 Information sharing method and electronic equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100551172C (en) * 2007-12-13 2009-10-14 嘉兴闻泰通讯科技有限公司 Method with updating start-up position area of multi-card mobile terminal of single GSM communication module
CN102781120B (en) * 2012-06-20 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Terminal and book management method
US9131364B2 (en) * 2013-07-15 2015-09-08 Microsoft Technology Licensing, Llc Intelligent SIM selection supporting rich context of input factors
CN103747150B (en) * 2014-01-06 2017-04-19 联想(北京)有限公司 Information processing method and electronic equipment
CN104768129B (en) * 2015-04-28 2018-11-20 黄国先 Information interacting method, device and system based on communication group
CN112770000B (en) * 2016-03-31 2023-02-03 华为技术有限公司 Call processing method and mobile terminal
CN106792491B (en) * 2017-03-03 2020-05-22 北京珠穆朗玛移动通信有限公司 Network sharing method based on double cards and mobile terminal
CN109495839A (en) * 2018-11-30 2019-03-19 维沃移动通信有限公司 A kind of network service providing method and mobile terminal
CN109413256B (en) * 2018-12-15 2021-01-05 惠州Tcl移动通信有限公司 Contact person information processing method and device, storage medium and electronic equipment
CN110913346B (en) * 2019-11-21 2022-01-11 Oppo(重庆)智能科技有限公司 SIM card configuration method, terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3188520A1 (en) * 2015-12-30 2017-07-05 Xiaomi Inc. Method and device for enabling virtual subscriber identity module card
WO2019059615A2 (en) * 2017-09-25 2019-03-28 삼성전자 주식회사 Electronic device for providing location information and control method therefor
CN111314903A (en) * 2020-02-14 2020-06-19 维沃移动通信有限公司 Information sharing method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于手机通讯录的移动SNS系统设计;杨春等;《软件》;20101120(第11期);全文 *

Also Published As

Publication number Publication date
CN111770440A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN108540655B (en) Caller identification processing method and mobile terminal
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
EP3691235A1 (en) Display method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN108347512B (en) Identity recognition method and mobile terminal
CN108495349B (en) Switching method of operator network and mobile terminal
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN107888765B (en) Method for switching scene mode and mobile terminal
CN108391008B (en) Message reminding method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN111107223B (en) Message processing method and electronic equipment
CN108093137B (en) Dialing method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN109982273B (en) Information reply method and mobile terminal
CN109788114B (en) Call processing method and terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN108419283B (en) WIFI hotspot scanning method and mobile terminal
CN111342979B (en) Information processing method and electronic equipment
CN111427644B (en) Target behavior identification method and electronic equipment
CN110796438B (en) Message sending method and mobile terminal
CN111475066A (en) Background switching method of application program and electronic equipment
CN108897467B (en) Display control method and terminal equipment
CN108495276B (en) Sharing method and device of digital business card
CN111770440B (en) Communication method and device
CN110471068B (en) Proximity detection method and mobile 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