CN114844974B - Method for sharing address book, mobile device, electronic device and communication system - Google Patents

Method for sharing address book, mobile device, electronic device and communication system Download PDF

Info

Publication number
CN114844974B
CN114844974B CN202110132301.XA CN202110132301A CN114844974B CN 114844974 B CN114844974 B CN 114844974B CN 202110132301 A CN202110132301 A CN 202110132301A CN 114844974 B CN114844974 B CN 114844974B
Authority
CN
China
Prior art keywords
address book
electronic device
mobile device
distance
antenna
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
CN202110132301.XA
Other languages
Chinese (zh)
Other versions
CN114844974A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110132301.XA priority Critical patent/CN114844974B/en
Priority to PCT/CN2022/070973 priority patent/WO2022161143A1/en
Publication of CN114844974A publication Critical patent/CN114844974A/en
Application granted granted Critical
Publication of CN114844974B publication Critical patent/CN114844974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0404Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas the mobile station comprising multiple antennas, e.g. to provide uplink diversity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4535Network directories; Name-to-address mapping using an address exchange platform which sets up a session between two nodes, e.g. rendezvous servers, session initiation protocols [SIP] registrars or H.323 gatekeepers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/06Details of telephonic subscriber devices including a wireless LAN interface
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a method for sharing an address book, mobile equipment, electronic equipment and a communication system. The method comprises the following steps: the mobile device responds to receiving a first input, and broadcasts a first message through the second antenna, wherein the first message is used for indicating that the mobile device is sharing an address book; the electronic device sends a second message in response to receiving the first message, the second message including information for establishing a connection with the mobile device; the mobile device establishes a connection with the electronic device; the mobile device sends a registration address book request to the electronic device, wherein the registration address book request is used for requesting the mobile device to register with an address book proxy of the electronic device; the electronic device sends a registration address book response to the mobile device, the registration address book response being used to indicate that the mobile device has successfully registered with an address book proxy of the electronic device. The method and the system can realize the rapid sharing of the address book on the mobile device to the electronic device, are convenient for the user to operate, and are beneficial to improving the experience of the user.

Description

Method for sharing address book, mobile device, electronic device and communication system
Technical Field
The present application relates to the field of terminals, and in particular, to a method for sharing an address book, an electronic device, and a communication system.
Background
With the rapid development of electronic devices (e.g., smart speakers, smart televisions), electronic devices have been provided with a call function as mobile devices (e.g., cell phones). Each electronic device has its own address book, and contacts need to be added before the call function is used. For example, for a smart speaker, a user is required to first upload an address book on a mobile phone to a server through an application (App) specified on the mobile phone. When the intelligent sound box detects a dialing request of a user, corresponding contact information can be acquired from a server first and then a call is made; for another example, for the smart tv, if the user needs to call the contact in the mobile phone address book through the smart tv, the user needs to manually input the contact information in the mobile phone address book through the remote controller and then call. The current process of adding contacts on the intelligent device is complicated, which results in poor user experience.
Therefore, how to provide a method for sharing address book of mobile device to electronic device rapidly becomes a requirement.
Disclosure of Invention
In order to solve the technical problems, the application provides a method for sharing address book, mobile equipment, electronic equipment and a communication system, which can realize that the address book on the mobile equipment is rapidly shared to the electronic equipment, are convenient for users to operate, and are beneficial to improving the experience of the users.
In a first aspect, a communication system is provided, the system including a mobile device and an electronic device, the mobile device including a first antenna and a second antenna, the first antenna having a transmission distance of a first distance and the second antenna having a transmission distance of a second distance, the first distance being greater than the second distance; the mobile device is used for responding to the received first input, broadcasting a first message through the second antenna, wherein the first antenna and the second antenna are different antennas, and the first message is used for indicating that the mobile device is sharing an address book; the electronic device is configured to receive the first message when a distance from the mobile device is within the second distance; the electronic device is further configured to send a second message in response to receiving the first message, the second message including information for establishing a connection with the mobile device; the mobile device is further configured to establish a connection with the electronic device according to the second message; the mobile device is further configured to send a registration address book request to the electronic device, where the registration address book request is used to request the mobile device to register with an address book proxy of the electronic device; the electronic device is further configured to send a registration address book response to the mobile device in response to receiving the registration address book request, where the registration address book response is used to indicate that the mobile device has successfully registered with an address book proxy of the electronic device. In this way, the mobile device may send the first message over an ultra-short distance, and only electronic devices within a second distance from the mobile device may receive the first message and send information for establishing a connection with the mobile device. After the electronic device and the mobile device establish a connection, the electronic device may register the mobile device with an address book proxy of the electronic device, so that the electronic device may initiate a call using the address book of the mobile device. The contact information is not required to be manually input on the electronic equipment by a user, and the address book of the mobile equipment is not required to be uploaded to the server by the user through a specific application program, so that the address book on the mobile equipment is rapidly shared to the electronic equipment, the user operation is facilitated, and the user experience is improved.
In a second aspect, a communication system is provided, the system comprising a mobile device and an electronic device, the mobile device comprising an antenna, the antenna having a transmission distance at a first transmission power of a first distance, the antenna having a transmission distance at a second transmission power of a second distance, the first distance being greater than the second distance, the mobile device being configured to, in response to receiving a first input, broadcast a first message via the antenna at the second transmission power, the first message being configured to indicate that the mobile device is sharing an address book; the electronic device is configured to receive the first message when a distance from the mobile device is within the second distance; the electronic device is further configured to send a second message in response to receiving the first message, the second message including information for establishing a connection with the mobile device; the mobile device is further configured to establish a connection with the electronic device according to the second message; the mobile device is further configured to send a registration address book request to the electronic device, where the registration address book request is used to request the mobile device to register with an address book proxy of the electronic device; the electronic device is further configured to send a registration address book response to the mobile device in response to receiving the registration address book request, where the registration address book response is used to indicate that the mobile device has successfully registered with an address book proxy of the electronic device. In this way, the mobile device may send the first message over an ultra-short distance, and only electronic devices within a second distance from the mobile device may receive the first message and send information for establishing a connection with the mobile device. After the electronic device and the mobile device establish a connection, the electronic device may register the mobile device with an address book proxy of the electronic device, so that the electronic device may initiate a call using the address book of the mobile device. The contact information is not required to be manually input on the electronic equipment by a user, and the address book of the mobile equipment is not required to be uploaded to the server by the user through a specific application program, so that the address book on the mobile equipment is rapidly shared to the electronic equipment, the user operation is facilitated, and the user experience is improved.
In some possible implementations, the second distance is less than or equal to a preset security distance, where the preset security distance is a security distance at which the mobile device and the electronic device can exchange secret information in the clear.
With reference to the first aspect or the second aspect, in certain implementation manners of the first aspect or the second aspect, the electronic device includes a third antenna and a fourth antenna, where a transmission distance of the third antenna is a third distance, a transmission distance of the fourth antenna is a fourth distance, and the third distance is greater than the fourth distance, and where the third antenna and the fourth antenna are different antennas; the electronic equipment is specifically used for: broadcasting the second message through the fourth antenna in response to receiving the first message; the mobile device is further configured to receive the second message when a distance with the electronic device is within the fourth distance; wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile device and the electronic device can exchange secret information in a plaintext manner. Therefore, after the electronic equipment receives the first message, the information for establishing connection with the mobile equipment can be sent through the ultra-short distance plaintext, and the safety in information transmission can be improved.
In some possible implementations, the first message and the second message are broadcast messages.
In some possible implementations, the first message and the second message are beacon frames.
With reference to the first aspect or the second aspect, in certain implementations of the first aspect or the second aspect, the electronic device is further configured to switch from the fourth antenna to the third antenna in response to establishing a connection with the mobile device. Therefore, when the ultra-short distance transmission of the information for establishing connection with the mobile device and the connection with the mobile device are completed, the electronic device can be switched to the third antenna, so that the electronic device is ensured to work under the normal transmission distance.
With reference to the first aspect or the second aspect, in certain implementation manners of the first aspect or the second aspect, the electronic device includes an antenna, a transmission distance of the antenna at a third transmission power is a third distance, a transmission distance of the antenna at a fourth transmission power is a fourth distance, and the third distance is greater than the fourth distance; the electronic equipment is specifically used for: broadcasting the second message through the antenna at the fourth transmit power in response to receiving the first message; the mobile device is further configured to receive the second message when a distance with the electronic device is within the fourth distance; wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile device and the electronic device can exchange secret information in a plaintext manner. Therefore, after the electronic equipment receives the first message, the information for establishing connection with the mobile equipment can be sent through the ultra-short distance plaintext, and the safety in information transmission can be improved.
With reference to the first aspect or the second aspect, in certain implementations of the first aspect or the second aspect, the electronic device is further configured to switch the transmit power of the antenna from the fourth transmit power to the third transmit power in response to establishing a connection with the mobile device. Therefore, when the ultra-short distance transmission of the information for establishing connection with the mobile equipment and the connection with the mobile equipment are completed, the electronic equipment can switch the transmitting power of the antenna to the third transmitting power, so that the electronic equipment is ensured to work under the normal transmission distance. With reference to the first aspect or the second aspect, in certain implementations of the first aspect or the second aspect, the second message further includes an encryption key, and the mobile device is specifically configured to: and sending a registration address book request encrypted by the encryption key to the electronic equipment. Therefore, the electronic equipment can send the encryption key to the mobile equipment, so that the information between the electronic equipment and the mobile equipment can be encrypted through the encryption key, and the safety of transmission between the electronic equipment and the mobile equipment is improved.
With reference to the first aspect or the second aspect, in certain implementation manners of the first aspect or the second aspect, the second message further includes a check key, the registration address book request includes the check key, and the electronic device is specifically configured to: responding to the received registration address book request, and checking the registration address book request according to the checking key; and after the registration address book request is successfully checked, sending a registration address book response to the mobile equipment. Therefore, the electronic equipment can send the verification key to the mobile equipment so that the mobile equipment carries the verification key in the registration address book request, and the electronic equipment can verify the registration address book request by using the verification key, so that the validity of the mobile equipment when registering to an address book agent of the electronic equipment is ensured, the electronic equipment is prevented from being attacked, and the safety performance is improved.
In some possible implementations, the electronic device verifies the registration address book request according to the verification key, including: and the electronic equipment verifies the verification key in the registration address book request according to the verification key.
With reference to the first aspect or the second aspect, in certain implementation manners of the first aspect or the second aspect, the electronic device is further configured to send a query number request to the mobile device in response to receiving a voice command of the user, where the query number request is used to request a contact number of the first contact, and the voice command is used to call the first contact; the mobile device is further configured to send a query number response to the electronic device in response to receiving the query number request, the query number response including the contact number of the first contact; the electronic device is further configured to initiate a call according to the contact number of the first contact. Thus, when the electronic device detects a voice instruction for the user to call the first contact, the electronic device may query the mobile device for the contact number of the first contact. The electronic device may initiate the call upon acquiring the contact number of the first contact from the mobile device. The method and the device have the advantages that the user does not need to manually input the information of the first contact on the electronic equipment, the user does not need to upload the information of the first contact to the server through a specific application program, the address book on the mobile equipment is rapidly shared to the electronic equipment, the user operation is facilitated, and the user experience is improved.
In some possible implementations, the contact number of the first contact may be a mobile phone number, or may be account information under a certain application, which is not limited by the embodiment of the present application.
With reference to the first aspect or the second aspect, in certain implementation manners of the first aspect or the second aspect, the mobile device is further configured to disconnect from the electronic device when a distance between the mobile device and the electronic device is greater than or equal to a preset distance. Therefore, after the distance between the mobile device and the electronic device exceeds the preset distance, the mobile device can disconnect the connection between the mobile device and the electronic device, so that the address book of the mobile device can be stopped being shared, and the safety of sharing the address book is ensured.
With reference to the first aspect or the second aspect, in certain implementation manners of the first aspect or the second aspect, the mobile device is further configured to disconnect from the electronic device when a screen locking operation of a user is detected. Therefore, the mobile device can share the address book of the mobile device with the electronic device in the unlocking state, and the address book is stopped being shared in the screen locking state, so that the safety of sharing the address book is guaranteed.
With reference to the first aspect or the second aspect, in certain implementations of the first aspect or the second aspect, the mobile device is further configured to establish a connection with another electronic device before establishing a connection with the electronic device; the mobile device is specifically used for: in response to receiving the second message, disconnecting and establishing a connection with the other electronic device. Therefore, when the mobile device receives the second message, the mobile device can disconnect the connection with another electronic device and establish connection with the electronic device, so that the mobile device registers with the address book agent of the electronic device, and convenience in registering the mobile device with the address book agent of the different electronic device is ensured.
In a third aspect, a communication system is provided, the system comprising a mobile device and an electronic device, the mobile device comprising a first antenna and a second antenna, the first antenna having a transmission distance of a first distance and the second antenna having a transmission distance of a second distance, the first distance being greater than the second distance; the mobile equipment is used for establishing connection with the electronic equipment; the mobile device is configured to, in response to receiving a first input, broadcast a first message over the second antenna, the first message being configured to indicate that the mobile device is sharing an address book; the electronic device is configured to receive the first message when a distance from the mobile device is within the second distance; the electronic device is further configured to send a third message to the mobile device in response to receiving the first message, the third message being configured to indicate that the electronic device has established a connection with the mobile device; the mobile device is further configured to send a registration address book request to the electronic device, where the registration address book request is used to request the mobile device to register with an address book proxy of the electronic device; the electronic device is further configured to send a registration address book response to the mobile device in response to receiving the registration address book request, where the registration address book response is used to indicate that the mobile device has successfully registered with an address book proxy of the electronic device. Thus, when the mobile device has established a connection with the electronic device and has not registered with the address book agent of the electronic device, the mobile device may send a first message over an ultra-short distance, and only the electronic device within a second distance from the mobile device may receive the first message. The electronic device, upon receiving the first message, may send a third message to the mobile device informing the mobile device that a connection has been established with the electronic device. The electronic device may register the mobile device with an address book proxy of the electronic device so that the electronic device may initiate a call using the address book of the mobile device. The contact information is not required to be manually input on the electronic equipment by a user, and the address book of the mobile equipment is not required to be uploaded to the server by the user through a specific application program, so that the address book on the mobile equipment is rapidly shared to the electronic equipment, the user operation is facilitated, and the user experience is improved.
In a fourth aspect, a communication system is provided, the system comprising a mobile device and an electronic device, the mobile device comprising an antenna, the antenna having a transmission distance at a first transmission power of a first distance, the antenna having a transmission distance at a second transmission power of a second distance, the first distance being greater than the second distance, the mobile device being configured to establish a connection with the electronic device; the mobile device being configured to, in response to receiving a first input, broadcast a first message via the antenna at the second transmit power, the first message being configured to indicate that the mobile device is sharing an address book; the electronic device is configured to receive the first message when a distance from the mobile device is within the second distance; the electronic device is further configured to send a third message to the mobile device in response to receiving the first message, the third message being configured to indicate that the electronic device has established a connection with the mobile device; the mobile device is further configured to send a registration address book request to the electronic device, where the registration address book request is used to request the mobile device to register with an address book proxy of the electronic device; the electronic device is further configured to send a registration address book response to the mobile device in response to receiving the registration address book request, where the registration address book response is used to indicate that the mobile device has successfully registered with an address book proxy of the electronic device. Thus, when the mobile device has established a connection with the electronic device and has not registered with the address book agent of the electronic device, the mobile device may send a first message over an ultra-short distance, and only the electronic device within a second distance from the mobile device may receive the first message. The electronic device, upon receiving the first message, may send a third message to the mobile device informing the mobile device that a connection has been established with the electronic device. The electronic device may register the mobile device with an address book proxy of the electronic device so that the electronic device may initiate a call using the address book of the mobile device. The contact information is not required to be manually input on the electronic equipment by a user, and the address book of the mobile equipment is not required to be uploaded to the server by the user through a specific application program, so that the address book on the mobile equipment is rapidly shared to the electronic equipment, the user operation is facilitated, and the user experience is improved.
With reference to the third aspect or the fourth aspect, in some implementations of the third aspect or the fourth aspect, the electronic device includes a third antenna and a fourth antenna, where a transmission distance of the third antenna is a third distance, and a transmission distance of the fourth antenna is a fourth distance, and the third distance is greater than the fourth distance, and the electronic device is specifically configured to: transmitting the third message to the mobile device through the fourth antenna in response to receiving the first message; wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile device and the electronic device can exchange secret information in a plaintext manner. Therefore, after the electronic equipment receives the first message, the electronic equipment can send the third message by an ultra-short distance, and the safety in information transmission is improved.
With reference to the third aspect or the fourth aspect, in certain implementations of the third aspect or the fourth aspect, the third message further includes an encryption key, and the mobile device is specifically configured to: and sending a registration address book request encrypted by the encryption key to the electronic equipment. Therefore, the electronic equipment can send the encryption key to the mobile equipment, so that the information between the electronic equipment and the mobile equipment can be encrypted through the encryption key, and the safety of transmission between the electronic equipment and the mobile equipment is improved.
With reference to the third aspect or the fourth aspect, in some implementations of the third aspect or the fourth aspect, the third message further includes a check key, the registration address book request includes the check key, and the electronic device is specifically configured to: responding to the received registration address book request, and checking the registration address book request according to the checking key; and after the registration address book request is successfully checked, sending a registration address book response to the mobile equipment. Therefore, the electronic equipment can send the verification key to the mobile equipment so that the mobile equipment carries the verification key in the registration address book request, and the electronic equipment can verify the registration address book request by using the verification key, so that the validity of the mobile equipment when registering to an address book agent of the electronic equipment is ensured, the electronic equipment is prevented from being attacked, and the safety performance is improved.
With reference to the third aspect or the fourth aspect, in some implementations of the third aspect or the fourth aspect, the electronic device is further configured to send a query number request to the mobile device in response to receiving a voice command of the user, where the query number request is used to request a contact number of the first contact, and the voice command is used to call the first contact; the mobile device is further configured to send a query number response to the electronic device in response to receiving the query number request, the query number response including the contact number of the first contact; the electronic device is further configured to initiate a call according to the contact number of the first contact. Thus, when the electronic device detects a voice instruction for the user to call the first contact, the electronic device may query the mobile device for the contact number of the first contact. The electronic device may initiate the call upon acquiring the contact number of the first contact from the mobile device. The method and the device have the advantages that the user does not need to manually input the information of the first contact on the electronic equipment, the user does not need to upload the information of the first contact to the server through a specific application program, the address book on the mobile equipment is rapidly shared to the electronic equipment, the user operation is facilitated, and the user experience is improved.
With reference to the third aspect or the fourth aspect, in some implementations of the third aspect or the fourth aspect, the mobile device is further configured to disconnect from the electronic device when a distance from the electronic device is greater than or equal to a preset distance.
In a fifth aspect, a method for sharing an address book is provided, where the method is applied to a mobile device, and the mobile device includes a first antenna and a second antenna, where a transmission distance of the first antenna is a first distance, a transmission distance of the second antenna is a second distance, and the first distance is greater than the second distance; wherein the first antenna and the second antenna are different antennas, the method comprising: the mobile device broadcasting a first message over the second antenna in response to receiving the first input, the first message indicating that the mobile device is sharing an address book; the mobile device receives a second message sent by the electronic device, wherein the second message comprises information for establishing connection with the mobile device; the mobile equipment establishes connection with the electronic equipment according to the second message; the mobile device sends a registration address book request to the electronic device, wherein the registration address book request is used for requesting the mobile device to be registered to an address book proxy of the electronic device; the mobile device receives a registration address book response sent by the electronic device, wherein the registration address book response is used for indicating that the mobile device is successfully registered with an address book proxy of the electronic device.
In a sixth aspect, a method for sharing an address book is provided, where the method is applied to a mobile device, the mobile device includes an antenna, a transmission distance of the antenna at a first transmission power is a first distance, a transmission distance of the antenna at a second transmission power is a second distance, and the first distance is greater than the second distance, and the method includes: the mobile device broadcasting a first message over the antenna at the second transmit power in response to receiving a first input, the first message indicating that the mobile device is sharing an address book; the mobile device receives a second message sent by the electronic device, wherein the second message comprises information for establishing connection with the mobile device; the mobile equipment establishes connection with the electronic equipment according to the second message; the mobile device sends a registration address book request to the electronic device, wherein the registration address book request is used for requesting the mobile device to be registered to an address book proxy of the electronic device; the mobile device receives a registration address book response sent by the electronic device, wherein the registration address book response is used for indicating that the mobile device is successfully registered with an address book proxy of the electronic device.
With reference to the fifth aspect or the sixth aspect, in certain implementation manners of the fifth aspect or the sixth aspect, the second message further includes an encryption key, and the mobile device sends a registration address book request to the electronic device, including: the mobile device sends a registration address book request encrypted by the encryption key to the electronic device.
With reference to the fifth aspect or the sixth aspect, in certain implementation manners of the fifth aspect or the sixth aspect, the second message further includes a verification key, where the registration address book request includes the verification key, and the verification key is used for verifying, by the electronic device, the registration address book request sent by the mobile device.
With reference to the fifth aspect or the sixth aspect, in certain implementations of the fifth aspect or the sixth aspect, the method further includes: the mobile device receives a query number request sent by the electronic device, wherein the query number request is used for requesting a contact number of a first contact person; the mobile device sends a query number response to the electronic device in response to receiving the query number request, the query number response including the contact number of the first contact pair.
With reference to the fifth aspect or the sixth aspect, in certain implementations of the fifth aspect or the sixth aspect, the method further includes: and when the distance between the electronic equipment and the electronic equipment is larger than or equal to the preset distance, disconnecting the connection between the electronic equipment and the electronic equipment.
With reference to the fifth aspect or the sixth aspect, in certain implementations of the fifth aspect or the sixth aspect, the method further includes: before establishing a connection with the electronic device, the mobile device establishes a connection with another electronic device; in response to receiving the second message, the connection with the other electronic device is disconnected.
In a seventh aspect, a method for sharing an address book is provided, where the method is applied to a mobile device, and the mobile device includes a first antenna and a second antenna, where a transmission distance of the first antenna is a first distance, a transmission distance of the second antenna is a second distance, and the first distance is greater than the second distance; wherein the first antenna and the second antenna are different antennas, the method comprising: the mobile device establishes a connection with the electronic device; the mobile device broadcasting a first message over the second antenna in response to receiving the first input, the first message indicating that the mobile device is sharing an address book; the mobile device receives a third message sent by the electronic device, wherein the third message is used for indicating that the electronic device has established connection with the mobile device; the mobile device sends a registration address book request to the electronic device, wherein the registration address book request is used for requesting the mobile device to be registered to an address book proxy of the electronic device; the mobile device receives a registration address book response sent by the electronic device, wherein the registration address book response is used for indicating that the mobile device is successfully registered with an address book proxy of the electronic device.
In an eighth aspect, a method for sharing an address book is provided, where the method is applied to a mobile device, the mobile device includes an antenna, a transmission distance of the antenna at a first transmission power is a first distance, a transmission distance of the antenna at a second transmission power is a second distance, and the first distance is greater than the second distance, and the method includes: the mobile device establishes a connection with the electronic device; the mobile device broadcasting a first message through the antenna at the second transmit power in response to receiving a first input, the first message indicating that the mobile device is sharing an address book; the mobile device receives a third message sent by the electronic device, wherein the third message is used for indicating that the electronic device has established connection with the mobile device; the mobile device sends a registration address book request to the electronic device, wherein the registration address book request is used for requesting the mobile device to be registered to an address book proxy of the electronic device; the mobile device receives a registration address book response sent by the electronic device, wherein the registration address book response is used for indicating that the mobile device is successfully registered with an address book proxy of the electronic device.
With reference to the seventh aspect or the eighth aspect, in certain implementation manners of the seventh aspect or the eighth aspect, the third message further includes an encryption key, and the mobile device sends a registration address book request to the electronic device, including: the mobile device sends a registration address book request encrypted by the encryption key to the electronic device.
With reference to the seventh aspect or the eighth aspect, in certain implementation manners of the seventh aspect or the eighth aspect, the third message further includes a verification key, where the registration address book request includes the verification key, and the verification key is used for verifying the registration address book request sent by the mobile device.
With reference to the seventh aspect or the eighth aspect, in certain implementations of the seventh aspect or the eighth aspect, the method further includes: the mobile device receives a query number request sent by the electronic device, wherein the query number request is used for requesting a contact number of a first contact person; the mobile device sends a query number response to the electronic device in response to receiving the query number request, the query number response including the contact number of the first contact pair.
With reference to the seventh aspect or the eighth aspect, in certain implementations of the seventh aspect or the eighth aspect, the method further includes: and when the distance between the electronic equipment and the electronic equipment is larger than or equal to the preset distance, disconnecting the connection between the electronic equipment and the electronic equipment.
In a ninth aspect, a method for sharing an address book is provided, where the method is applied to an electronic device, and the method includes: when the distance between the mobile device and the mobile device is within a second distance, receiving a first message sent by the mobile device, wherein the first message is used for indicating that the mobile device is sharing an address book; responsive to receiving the first message, the electronic device transmits a second message including information for establishing a connection with the mobile device; the electronic equipment establishes connection with the mobile equipment; the electronic equipment receives a registration address book request sent by the mobile equipment, wherein the registration address book request is used for requesting the mobile equipment to be registered to an address book agent of the electronic equipment; the electronic device sends a registration address book response to the mobile device, the registration address book response indicating that the mobile device has successfully registered with an address book proxy of the electronic device.
With reference to the ninth aspect, in some implementations of the ninth aspect, the electronic device includes a third antenna and a fourth antenna, where a transmission distance of the third antenna is a third distance, a transmission distance of the fourth antenna is a fourth distance, and the third distance is greater than the fourth distance, and where the third antenna and the fourth antenna are different antennas; the electronic device, in response to receiving the first message, sends a second message comprising: in response to receiving the first message, the electronic device broadcasts the second message over the fourth antenna; wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile device and the electronic device can exchange secret information in a plaintext manner.
With reference to the ninth aspect, in certain implementations of the ninth aspect, the method further includes: upon establishing a connection with the mobile device, switching from the fourth antenna to the third antenna.
With reference to the ninth aspect, in certain implementations of the ninth aspect, the electronic device includes an antenna having a third distance at a third transmit power, a fourth distance at a fourth transmit power, and the third distance is greater than the fourth distance; the electronic device, in response to receiving the first message, sends a second message comprising: in response to receiving the first message, the electronic device broadcasts the second message through the antenna at the fourth transmit power; wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile device and the electronic device can exchange secret information in a plaintext manner.
With reference to the ninth aspect, in certain implementations of the ninth aspect, the method further includes: when a connection is established with the mobile device, the transmit power of the antenna is switched from the fourth transmit power to the third transmit power.
With reference to the ninth aspect, in certain implementations of the ninth aspect, the second message further includes an encryption key, and the electronic device sends a registration address book response to the mobile device, including: the electronic device sends the registration address book response encrypted by the encryption key to the mobile device.
With reference to the ninth aspect, in certain implementations of the ninth aspect, the second message further includes a check key, the registration address book request includes the check key, and the electronic device sends a registration address book response to the mobile device, including: responding to the received registration address book request, and checking the registration address book request according to the checking key; and after the registration address book request is successfully checked, sending a registration address book response to the mobile equipment.
With reference to the ninth aspect, in certain implementations of the ninth aspect, the method further includes: the electronic equipment responds to receiving a voice instruction of a user, and sends a query number request to the mobile equipment, wherein the query number request is used for requesting a contact number of a first contact person, and the voice instruction is used for calling the first contact person; the electronic equipment receives a query number response sent by the mobile equipment, wherein the query number response comprises the contact number of the first contact person; the electronic device initiates a call according to the contact number of the first contact.
In a tenth aspect, a method for sharing an address book is provided, where the method is applied to an electronic device, and the method includes: the electronic equipment and the mobile equipment are connected; when the distance between the mobile device and the mobile device is within a second distance, receiving a first message sent by the mobile device, wherein the first message is used for indicating that the mobile device is sharing an address book; responsive to receiving the first message, the electronic device sends a third message to the mobile device, the third message indicating that the electronic device has established a connection with the mobile device; the electronic equipment receives a registration address book request sent by the mobile equipment, wherein the registration address book request is used for requesting the mobile equipment to be registered to an address book agent of the electronic equipment; the electronic device sends a registration address book response to the mobile device, the registration address book response indicating that the mobile device has successfully registered with an address book proxy of the electronic device.
With reference to the tenth aspect, in certain implementations of the tenth aspect, the electronic device includes a third antenna and a fourth antenna, where a transmission distance of the third antenna is a third distance, a transmission distance of the fourth antenna is a fourth distance, and the third distance is greater than the fourth distance, and where the third antenna and the fourth antenna are different antennas; the electronic device sending a third message to the mobile device in response to receiving the first message, comprising: in response to receiving the first message, the electronic device sends the third message to the mobile device through the fourth antenna; wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile device and the electronic device can exchange secret information in a plaintext manner.
With reference to the tenth aspect, in certain implementations of the tenth aspect, the electronic device includes an antenna having a third distance at a third transmit power, a fourth distance at a fourth transmit power, and the third distance is greater than the fourth distance; the electronic device sending a third message to the mobile device in response to receiving the first message, comprising: in response to receiving the first message, the electronic device transmits the third message to the mobile device through the antenna at the fourth transmit power; wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile device and the electronic device can exchange secret information in a plaintext manner.
With reference to the tenth aspect, in certain implementation manners of the tenth aspect, the third message further includes an encryption key, and the electronic device sends a registration address book response to the mobile device, including: the electronic device sends the registration address book response encrypted by the encryption key to the mobile device.
With reference to the tenth aspect, in certain implementation manners of the tenth aspect, the third message further includes a check key, the registration address book request includes the check key, and the electronic device sends a registration address book response to the mobile device, including: responding to the received registration address book request, and checking the registration address book request according to the checking key; and after the registration address book request is successfully checked, sending a registration address book response to the mobile equipment.
With reference to the tenth aspect, in certain implementations of the tenth aspect, the method further includes: the electronic equipment responds to receiving a voice instruction of a user, and sends a query number request to the mobile equipment, wherein the query number request is used for requesting a contact number of a first contact person, and the voice instruction is used for calling the first contact person; the electronic equipment receives a query number response sent by the mobile equipment, wherein the query number response comprises the contact number of the first contact person; the electronic device initiates a call according to the contact number of the first contact.
In an eleventh aspect, there is provided a mobile device comprising: one or more processors, one or more memories, and one or more computer programs; the one or more computer programs described above are stored in a memory, which when executed by a mobile device causes the mobile device to perform the method of any of the fifth to eighth aspects described above.
In a twelfth aspect, there is provided an electronic device comprising: one or more processors, one or more memories, and one or more computer programs; the one or more computer programs described above are stored in a memory, which when the electronic device is running, is executed by the processor to cause the electronic device to perform the method of any of the ninth to tenth aspects described above.
In a thirteenth aspect, the present application provides a computer storage medium comprising computer instructions which, when run on a mobile device, cause the mobile device to perform the method of any of the fifth to eighth aspects; alternatively, the computer instructions, when run on an electronic device, cause the electronic device to perform the method of any one of the ninth to tenth aspects.
In a fourteenth aspect, the present application provides a computer program product for, when run on a mobile device, causing the mobile device to perform the method of any one of the fifth to eighth aspects; alternatively, the computer program product, when run on an electronic device, causes the electronic device to perform the method of any one of the ninth to tenth aspects.
It will be appreciated that the above-mentioned mobile device, electronic device, computer storage medium and computer program product are all used to perform the corresponding methods provided above, and the advantages achieved by the above-mentioned fifth to fourteenth aspects can be referred to the corresponding advantages in the above-mentioned system, and are not repeated here.
Drawings
FIG. 1 is a process by which a user manually adds contacts and initiates a call on a smart television;
fig. 2 is a schematic diagram of a scenario of a method for sharing an address book according to an embodiment of the present application;
fig. 3 is a schematic hardware structure of a mobile device according to an embodiment of the present application;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 5A is a schematic diagram of an ultra-short distance wireless communication module and an antenna according to an embodiment of the present application;
fig. 5B is a schematic diagram of an ultra-short distance wireless communication module and an antenna according to an embodiment of the present application;
fig. 6A to fig. 6C are schematic views of specific structures of an ultra-short distance wireless communication module and an antenna according to an embodiment of the present application;
fig. 7 is a schematic diagram of an ultra-short distance wireless communication module and an antenna transmission distance in an identity authentication method according to an embodiment of the present application;
fig. 8A-8B are schematic communication interaction diagrams of an embodiment one of a method for sharing an address book according to an embodiment of the present application;
fig. 9A-9B are schematic communication interaction diagrams of a second embodiment of a method for sharing an address book according to an embodiment of the present application;
fig. 10A to fig. 10B are schematic diagrams of communication interaction of an embodiment three of a method for sharing an address book according to an embodiment of the present application;
Fig. 11 is a schematic diagram of communication interaction of an electronic device initiating a call according to an embodiment of the present application.
FIG. 12 is a set of graphical user interfaces provided by an embodiment of the present application;
FIG. 13 is another set of graphical user interfaces provided by embodiments of the present application;
FIG. 14 is another set of graphical user interfaces provided by embodiments of the present application;
FIG. 15 is another set of graphical user interfaces provided by embodiments of the present application;
FIG. 16 is another set of graphical user interfaces provided by embodiments of the present application.
Fig. 17 is a schematic structural diagram of a mobile device according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application are described below with reference to the accompanying drawings in the embodiments of the present application. In the description of embodiments of the application, the terminology used in the embodiments below is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" means one or more than two (including two). The term "and/or" is used to describe an association relationship of associated objects, meaning that there may be three relationships; for example, a and/or B may represent: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise. The term "coupled" includes both direct and indirect connections, unless stated otherwise. The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
With the rapid development of electronic devices (e.g., smart speakers, smart televisions), the electronic devices have been provided with a call function as mobile phones. Each electronic device has its own address book, and contacts need to be added before the call function is used. For example, for a smart speaker, a user is required to first upload an address book on a mobile phone to a server through an application (App) specified on the mobile phone. When the intelligent sound box detects a dialing request of a user, corresponding contact information can be acquired from a server first and then a call is made; for another example, if the user needs to call the contact in the mobile phone address book through the smart television, the user needs to manually input the contact information in the mobile phone address book through the remote controller and then call. The current process of adding contacts on the intelligent device is complicated, which results in poor user experience. Therefore, how to provide a method for sharing address book of mobile device to electronic device rapidly becomes a requirement.
Fig. 1 is a process by which a user manually adds contacts on a smart television and initiates a call.
Referring to fig. 1 (a), the address book of the mobile phone includes 3 contacts, respectively dad, mom and sister. The address book of the intelligent television comprises 2 contacts, namely father and sister.
Referring to fig. 1 (b), when a user wants to call a mother through a smart tv, the user is required to input and save information (e.g., nickname and cell phone number) of the mother on the smart tv. When the mobile phone detects that the user inputs the name and the mobile phone number of the mother and clicks the save control, the information of the mother can be saved in the smart television.
Referring to (c) in fig. 1, when the smart tv detects that the user sends a voice command "make a video call with mom", the smart tv may query a contact number corresponding to a contact mom in a local address book of the smart tv, so as to initiate a call to mom.
After the address book of the mobile phone is updated (for example, if the user adds the information of the brother to the mobile phone), the address book of the smart television is not updated. When a user needs to call a brother through the smart television, the user is also required to manually add the information of the brother on the smart television before the call is started.
In order to solve the technical problems, the application provides a method for sharing address book, electronic equipment and a communication system, which can realize the rapid sharing of the address book on the mobile equipment to the electronic equipment, are convenient for the user to operate and are beneficial to improving the experience of the user.
Fig. 2 is a schematic diagram of a scenario of a method for sharing an address book according to an embodiment of the present application. As shown in fig. 2, the mobile device 100 may send a message within a short distance, which may indicate that the mobile device 100 is sharing an address book. The electronic device 200 may receive the message within a short distance from the mobile device 100. In response to receiving the message, the electronic device 200 may send information to the mobile device 100 for establishing a connection with the mobile device 100 within a short distance. The mobile device 100 may establish a connection with the electronic device 200 after receiving the information sent by the electronic device 200. After establishing the connection, the mobile device 100 may send a registration address book request to the electronic device 200. The electronic device 200 may register the mobile device 100 with an address book proxy of the electronic device 200. Subsequently, when the electronic device 200 detects a dialing instruction of the user, corresponding contact information may be searched for from the mobile device 100 according to the dialing instruction, so as to send a call to the contact. In the embodiment of the application, the mobile device 100 can share the address book with the electronic device 200 through a short distance, and the user does not need to manually input the contact information in the address book of the mobile device 100 on the electronic device 200, thereby being beneficial to improving the user experience.
The mobile device of the embodiment of the application comprises, but is not limited to, a smart phone, a tablet personal computer, a wearable electronic device (such as a smart watch, a smart bracelet, a smart ring, a smart glasses) with a wireless communication function, and the like. Exemplary embodiments of mobile devices include, but are not limited to, piggybackingWindows, linux or other operating system. The mobile device may also be other portable devices such as a Laptop computer (Laptop) or the like. It should also be appreciated that in other embodiments, the mobile device described above may not be a portable device, but rather a desktop computer.
Fig. 3 is a schematic diagram illustrating a hardware structure of a mobile device 100 according to an embodiment of the present application. As shown in fig. 3, the mobile device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2a, an antenna 2B, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of an embodiment of the present application does not constitute a particular limitation of the mobile device 100. In other embodiments of the application, mobile device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The charge management module 140 is configured to receive a charge input from a charger. The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The wireless communication function of the mobile device 100 may be implemented by the antenna 1, the antenna 2a, the antenna 2b, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1, 2a, and 2b are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication, including 2G/3G/4G/5G, as applied on the mobile device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on the mobile device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2a or the antenna 2b, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves via the antenna 2a or the antenna 2b for radiation.
In an embodiment of the present application, the mobile device 100 may send a message through the wireless communication module 160, where the message may indicate that the mobile device 100 is sharing an address book. The mobile device 100 may also receive messages sent by other electronic devices through the wireless communication module 160.
In some embodiments, antenna 1 and mobile communication module 150 of mobile device 100 are coupled, and antenna 2a, antenna 2b, and wireless communication module 160 are coupled, such that mobile device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The mobile device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the mobile device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The mobile device 100 may implement audio functionality through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
Fig. 4 is a schematic diagram illustrating a hardware structure of an electronic device 200 according to an embodiment of the present application. The electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (universal serial bus, USB) interface 230, a charge management module 240, a power management module 241, a battery 242, an antenna 3, an antenna 4, a wireless communication module 250, a sensor module 260, an input module 270, an output module 280, and the like.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 200. In other embodiments of the application, electronic device 200 may include more or fewer components than shown, or certain components may be combined, or certain components may be separated, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. For example, the electronic device 200 may be a smart light, a smart television, a smart speaker, etc.
Processor 210 may include one or more processing units. For example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 200 may also include one or more processors 210. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
In some embodiments, processor 210 may include one or more interfaces. The interfaces may include inter-integrated circuit (inter-integrated circuit, I2C) interfaces, inter-integrated circuit audio (integrated circuit sound, I2S) interfaces, pulse code modulation (pulse code modulation, PCM) interfaces, universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interfaces, mobile industry processor interfaces (mobile industry processor interface, MIPI), general-purpose input/output (GPIO) interfaces, SIM card interfaces, and/or USB interfaces, among others. The USB interface 230 is an interface conforming to the USB standard, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 230 may be used to connect a charger to charge the electronic device 200, or may be used to transfer data between the electronic device 200 and a peripheral device.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present application is only illustrative, and does not limit the structure of the electronic device 200. In other embodiments of the present application, the electronic device 200 may also employ different interfacing manners, or a combination of interfacing manners, as in the above embodiments.
The charge management module 240 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 240 may receive a charging input of a wired charger through the USB interface 230. In some wireless charging embodiments, the charge management module 240 may receive wireless charging input through a wireless charging coil of the electronic device 200. The charging management module 240 may also provide power to the electronic device through the power management module 241 while charging the battery 242.
The power management module 241 is used for connecting the battery 242, and the charge management module 240 and the processor 210. The power management module 241 receives inputs from the battery 242 and/or the charge management module 240 to power the processor 210, the internal memory 221, the external memory interface 220, the wireless communication module 250, and the like. The power management module 241 may also be configured to monitor battery capacity, battery cycle times, battery health (leakage, impedance), and other parameters. In other embodiments, the power management module 241 may also be disposed in the processor 210. In other embodiments, the power management module 241 and the charge management module 240 may be disposed in the same device.
The wireless communication function of the electronic device 200 can be realized by the antenna 3, the antenna 4, the wireless communication module 250, and the like.
The wireless communication module 250 may provide a solution for wireless communication including Wi-Fi, bluetooth (BT), wireless data transfer modules (e.g., 433mhz,868mhz,915 mhz), etc., as applied to the electronic device 200. The wireless communication module 250 may be one or more devices that integrate at least one communication processing module. The wireless communication module 250 receives electromagnetic waves via the antenna 3 or the antenna 4, filters and frequency-modulates the electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 250 may also receive a signal to be transmitted from the processor 210, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 3 or the antenna 4.
In an embodiment of the present application, the electronic device 200 may send a message through the wireless communication module 250, where the message may carry information for establishing a connection with the mobile device 100. The electronic device 200 may also receive messages sent by the mobile device 100 through the wireless communication module 250.
The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 200. The external memory card communicates with the processor 210 through an external memory interface 220 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 221 may be used to store one or more computer programs, including instructions. The processor 210 may cause the electronic device 200 to execute the method of sharing address book provided in some embodiments of the present application, as well as various applications, data processing, etc., by executing the above-described instructions stored in the internal memory 221. The internal memory 221 may include a code storage area and a data storage area. Wherein the code storage area may store an operating system. The data storage area may store data created during use of the electronic device 200, etc. In addition, the internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as one or more disk storage units, flash memory units, universal flash memory (universal flash storage, UFS), and the like. In some embodiments, the processor 210 may cause the electronic device 200 to perform the methods of sharing address books provided in embodiments of the present application, as well as other applications and data processing, by executing instructions stored in the internal memory 221, and/or instructions stored in a memory provided in the processor 210.
Input module 270 includes, but is not limited to, a keyboard, a touch screen (which may also be a touch display screen), a mouse, a camera, a laser pen, a handwriting input pad, a microphone, and the like. Wherein the microphone comprises a single microphone and also comprises a microphone array.
The output module 280 includes, but is not limited to, a display screen, an LED lamp, a speaker, an earphone, a motor generating vibration and its auxiliary devices, a heating device generating heat, etc.
Electronic device 200 includes, but is not limited to, tablet computers, desktop computers, portable electronic devices (e.g., laptop computers, laptop), smart televisions (e.g., smart screens), vehicle mounted computers, smart speakers, augmented reality (augmented reality, AR) devices, virtual Reality (VR) devices, other smart devices with display screens, and other smart devices with speakers, etc. Exemplary embodiments of electronic devices include, but are not limited to, piggybacking Linux, or other operating system.
In the embodiment of the application, the wireless communication modes between the mobile device and the electronic device include but are not limited to BLE, wi-Fi aware, zigBee and other modes. The wireless communication modes such as BLE and Wi-Fi are based on the computer network media access control (medium access control, MAC) layer, and are also called as interaction for data link layer protocol expansion, so that upper network communication of the MAC layer is not required, and data interaction can be completely realized in the data link layer. Wherein BLE is an ultra-low power consumption short-range wireless communication scheme for electronic devices introduced by the bluetooth special interest group in 2016, and can realize communication through a MAC layer. Wi-Fi Aware (Wi-Fi neighborhood Aware network, wi-Fi neighbor discovery network, NAN for short) is a novel low-power-consumption point-to-point interconnection and interworking Wi-Fi Mesh communication technology, which can bypass network infrastructure (such as Access Points (APs) or cellular networks) to realize one-to-one, one-to-many or many-to-many device connection communication, and can also realize communication through a MAC layer. As shown in fig. 5, the mobile device 100 may specifically communicate with the electronic device 200 through wireless communication modes such as BLE, wi-Fi aware, and so on. It should be noted that this wireless communication mode is different from a common Wi-Fi connection or bluetooth connection. Specifically, the wireless communication modes such as BLE, wi-Fi aware and the like can directly implement data interaction at the MAC layer of the computer network by sending beacon frames, without involving data interaction at a network layer higher than the MAC layer in the computer network. The communication between devices realized by wireless communication modes such as BLE and Wi-Fi aware not only capable of improving communication efficiency (the mobile device 100 does not need to complete steps such as Wi-Fi or bluetooth connection and user identity login verification with the electronic device 200, and does not need to involve contents such as network protocols of an upper network), but also capable of improving security of data interaction (data transmission of a MAC layer).
In an example, fig. 5A shows a schematic structure of an ultra-short range wireless communication module and an antenna according to an embodiment of the present application. As shown in fig. 5A, the mobile device 100 may include a processor 110, a wireless communication module 160, an antenna 2a, and an antenna 2b.
Wherein an antenna 2a (also called a first antenna, such as a strong antenna) and an antenna 2b (also called a second antenna, such as a weak antenna) are used for transmitting and receiving electromagnetic waves. Further, the wireless communication module 160 converts the electromagnetic wave received from the antenna 2a or the antenna 2b into a signal, and sends the signal to the processor 110 for processing; or the wireless communication module 160 receives a signal to be transmitted from the processor 110, and converts the signal into electromagnetic waves to radiate the electromagnetic waves through the antenna 2a or the antenna 2b. In the embodiment of the present application, the first transmission distance (such as 10 meters, 5 meters, etc., which may be specifically set by the user) of the signal transmitted by the antenna 2a is greater than the second transmission distance (such as 0.2 meters, 0.3 meters, etc., which may be specifically set by the user) of the signal transmitted by the antenna 2b. In the embodiment of the present application, the mobile device 100 may send a message through the antenna 2b when detecting the input of the user, where the message is used to indicate that the mobile device 100 is sharing the address book. Thus, the electronic device having a distance from the mobile device 100 within the second transmission distance can only receive the message, which is helpful for improving the security of the mobile device 100 when sharing the address book with the electronic device. In some embodiments, the processor 110 may control the switching of the antennas 2a and 2b. When the mobile device 100 employs the antenna 2a, the electronic device 200 receives the signal transmitted by the mobile device 100 only when the distance between the mobile device 100 and the electronic device 200 is smaller than the first transmission distance; when the mobile device 100 employs the antenna 2b, the electronic device 200 receives the signal transmitted by the mobile device 100 only if the distance between the mobile device 100 and the electronic device 200 is smaller than the second transmission distance. In some embodiments, the first and second transmission distances may be referred to as first and second distances, respectively.
In one example, for a mobile device, the second transmission distance of the weak antenna transmission signal is less than or equal to a preset safe distance; the preset security distance is a security distance at which the mobile device 100 and the electronic device 200 can exchange secret information in the clear. For example, the predetermined safe distance may be 50cm, 40cm, 30cm, 20cm, etc. Thus, the first message sent by the mobile device 100 can be received only when the electronic device 200 is located within a range equal to or less than the preset safe distance from the mobile device 100. In this way, security risks are reduced (e.g., beyond 50cm from the mobile device 100, the first message is not received by other devices). The user of the mobile device 100 may not approach the mobile device 100 within a preset security distance to the electronic device 200 in a peripheral security situation, thereby improving security.
In another example, fig. 5B illustrates another principle structure of an ultra-short range wireless communication module and an antenna provided by an embodiment of the present application. As shown in fig. 5B, the mobile device 100 may include a processor 110, a wireless communication module 160, and an antenna 2a. The wireless communication module 160 includes a wireless module 161 and a variable impedance circuit module 162. The antenna 2a is used for transmitting and receiving wireless signals. The variable impedance circuit block 162 may be a circuit composed of variable impedance, an integrated circuit, or the like. The processor 110 adjusts the transmission power applied to the antenna 2a by controlling and adjusting the impedance value of the variable impedance circuit block 162, thereby controlling the transmission distance when the antenna 2a transmits a wireless signal. For example, when the resistance of the variable impedance circuit module 162 is the first resistance, the transmission power of the antenna 2a is the first transmission power, and the distance of the wireless signal transmitted by the antenna 2a is the first transmission distance (implementing the function of a strong antenna); when the resistance of the variable impedance circuit module 162 is the second resistance, the transmitting power of the antenna 2a is the second transmitting power, and the distance of the antenna 2a transmitting the wireless signal is the second transmitting distance (realizing the function of a weak antenna). Wherein the first transmit power is greater than the second transmit power; the first emission distance is greater than the second emission distance. In some embodiments, the first and second transmission distances may be referred to as first and second distances, respectively. In another example corresponding to fig. 5B, other descriptions about the processor 110 and the wireless communication module 160 are the same as those of the example corresponding to fig. 5A, and are not repeated here.
Although the structure of the ultra-short range wireless communication module and the antenna in fig. 5A and 5B are described as the mobile device 100, the electronic device 200 may also include the structure of the ultra-short range wireless communication module and the antenna. For example, corresponding to the reference numerals in fig. 5A, the electronic device 200 may include a processor 210, a wireless communication module 250, an antenna 3 (also referred to as a third antenna, such as a strong antenna) and an antenna 4 (also referred to as a fourth antenna, such as a weak antenna). The detailed description is the same as or similar to the description of fig. 5A, and will not be repeated here.
Corresponding to the reference numerals in fig. 5B, the electronic device 200 may include a processor 210, a wireless communication module 250, and an antenna 3, the wireless communication module 250 including a wireless module 251 and a variable impedance circuit module 252. The antenna 3 is used for transmitting and receiving wireless signals. The variable impedance circuit block 252 may be a circuit composed of variable impedance, an integrated circuit, or the like. The processor 210 adjusts the transmission power applied to the antenna 3 by controlling and adjusting the impedance value of the variable impedance circuit block 252, thereby controlling the transmission distance when the antenna 3 transmits a wireless signal. For example, when the resistance of the variable impedance circuit module 252 is the third resistance, the transmission power of the antenna 3 is the third transmission power, and the distance of the antenna 3 transmitting the wireless signal is the third transmission distance (implementing the function of a strong antenna); when the resistance of the variable impedance circuit module 252 is the fourth resistance, the transmitting power of the antenna 3 is the fourth transmitting power, and the distance of the antenna 3 transmitting the wireless signal is the fourth transmitting distance (realizing the weak antenna function). Wherein the third transmit power is greater than the fourth transmit power; the third emission distance is greater than the fourth emission distance. In some embodiments, the third and fourth transmission distances may be referred to as third and fourth distances, respectively.
In one example, for an electronic device, the fourth transmission distance of the weak antenna transmission signal is less than or equal to a preset safe distance; the preset security distance is a security distance at which the electronic device 200 and the mobile device 100 can exchange secret information in the clear. For example, the predetermined safe distance may be 50cm, 40cm, 30cm, 20cm, etc. Thus, the second message sent by the mobile device 100 can be received only when the mobile device 100 is located within a range equal to or less than the preset security distance from the electronic device 200. In this way, security risks are reduced (e.g., beyond 50cm from the electronic device 200, the second message is not received by other devices).
It will be appreciated that the principle structure illustrated in one example corresponding to fig. 5A and another example corresponding to fig. 5B does not constitute a specific limitation on the wireless communication module and antenna in the mobile device 100. In other embodiments, the structure of the wireless communication module and antenna in the mobile device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. Accordingly, the above is also applicable to the structure of the ultra-short range wireless communication module and the antenna of the electronic device 200; and will not be described in detail herein.
In some embodiments, the strong and weak antennas may share a portion of the trace, such as described in the embodiments shown in fig. 6A-6C.
Fig. 6A-6C illustrate, by way of example, three implementations of the strong and weak antennas of fig. 5A. The structure of a wireless communication module and antenna of the mobile device 100 may also take the three forms shown in fig. 6A-6C. As shown in fig. 6A-6C, the strong and weak antennas may share a portion of the trace.
In the embodiment of the application, the strong antenna and the weak antenna in the mobile equipment can be switched through the radio frequency switch. Both the weak antenna and the radio frequency switch (shown as a weak antenna in the dashed box in fig. 6A-6C) may be physically located within the shield or the weak antenna may be located within the chip.
The weak antenna in the embodiment of the application aims to reduce the transmission distance as much as possible. The principle of constructing a weak antenna may be:
(1) Reducing the antenna length, thereby reducing electromagnetic waves radiated into the air;
(2) Reducing radiation efficiency, converting a part of electromagnetic wave radiation into heat energy through a resistor to consume;
(3) The return loss is reduced, and part of radio frequency energy is reflected back to the inside of the chip, etc.
The specific implementation of the weak antenna can be as follows:
(i) Shortening the antenna;
(ii) Disconnecting a point in the strong antenna path or grounding the point through a resistor, an inductor or a capacitor;
(iii) A shield or the like is used.
It should be appreciated that the particular implementations (i) and (ii) of the weak antennas described above may be implemented on a PCB board or within a chip.
It will also be appreciated that the above-described shield functions to attenuate radiation.
It should also be understood that the above-described shortening of the antenna means that the weak antenna is shorter than the strong antenna. The structures of the three weak antennas shown in fig. 6A to 6C are shown as structures in the dashed boxes of fig. 6A to 6C. The strong antenna structures in fig. 6A-6C are all connected to a filter circuit (e.g., pi-type circuit), a matching circuit (e.g., pi-type circuit), and an antenna body (e.g., the antenna body may be a section of metal trace) outside the matching circuit through a Radio Frequency Input Output (RFIO) pin. The weak antenna a shown by the dashed box in fig. 6A, the weak antenna B shown by the dashed box in fig. 6B, and the weak antenna C shown by the dashed box in fig. 6C are different in length but shorter than the strong antennas. The filter circuit is used for preventing interference, and the matching circuit is used for matching with the strong antenna.
Illustratively, as shown in fig. 6A, the weak antenna a may be located within a shield. The weak antenna a may include an RFIO pin of a Wi-Fi chip in a shielding case and a first switch of two switches (the first switch is not connected to any device). Sometimes, the weak antenna a may also include a trace between the RFIO pin and the first way switch. Wherein, the two-way switch refers to a switch between a wiring or an RFIO pin and a filter circuit. The wiring or the RFIO pin can be connected with or disconnected from the filter circuit through the two-way switch. The first switch is a switch which is connected with the RFIO pin or the trace and disconnected with the filter circuit as shown in fig. 6A. It should be appreciated that the two-way switch in embodiments of the present application may be a single pole double throw switch.
Illustratively, as shown in fig. 6B, the weak antenna B may be located within the shield. The weak antenna b may include an RFIO pin of a Wi-Fi chip in a shielding case, a first switch (a first switch connection resistor) of the two switches, and a matching device. Sometimes, the weak antenna b may also include a first trace between the RFIO pin and the first way switch. Sometimes, the weak antenna b may also include a second trace between the matching device and ground. The matching means may be a resistor. A part of electromagnetic wave radiation can be converted into heat energy to be consumed by the resistor grounding, thereby reducing the radiation efficiency of the weak antenna b. The two-way switch refers to a switch between the RFIO pin or the first wiring and the resistor as well as the filter circuit, and through the switch, the RFIO pin or the first wiring can be connected with the resistor and disconnected with the filter circuit, or the RFIO pin or the first wiring can be disconnected with the resistor and connected with the filter circuit. The first switch is a switch which is connected with the matching device and disconnected with the filter circuit in the two switches.
Illustratively, as shown in fig. 6C, the weak antenna C may be located within the shield. Wherein a matching device (e.g., a resistor) is connected to ground via a chip-matched filter circuit. The weak antenna c may include an RFIO pin of a Wi-Fi chip in a shield, a filter circuit, a first switch of two switches (a first switch connection resistor), and a matching device (e.g., a resistor). Sometimes, the weak antenna c may also include a first trace between the RFIO pin and the filter circuit. Sometimes, the weak antenna c may also include a second trace between the filter circuit and the matching device. Grounding through a matching device (e.g., a resistor) may convert a portion of the electromagnetic wave radiation into heat energy for consumption, thereby reducing the radiation efficiency of the weak antenna c. The two-way switch refers to a switch between a filter circuit in the shielding case and a matching device and a matching circuit outside the shielding case. The filter circuit in the shielding case can be connected with the matching device and disconnected with the matching circuit outside the shielding case through the two paths of switches; alternatively, the filter circuit within the shield may be disconnected from the matching device and in communication with the matching circuit outside the shield. The first path of switch is a switch for connecting a filter circuit in the shielding case with a matching device.
It should be understood that the strong antenna in fig. 6A-6B described above may include an RFIO pin, a second switch of two switches, a filter circuit, a matching circuit, and an antenna body to which the matching circuit is externally connected. Sometimes, the strong antenna in fig. 6A-6B may also include a trace between the RFIO pin and the second of the two-way switches. The second switch is a switch for connecting the RFIO pin and the filter circuit.
The strong antenna in fig. 6C may include an RFIO pin, a filter circuit, a second switch of the two switches, a matching circuit, and an antenna body connected outside the matching circuit. Sometimes, the strong antenna in fig. 6C may also include traces between the RFIO pin and the filter circuit. The second switch is a switch for connecting the filter circuit in the shielding case and the matching circuit outside the shielding case.
It should be appreciated that the wireless communication module 160 shown in fig. 5A may be a Wi-Fi chip or a Wi-Fi chip and a circuit matching the Wi-Fi chip. The wireless module 161 shown in fig. 5B may be a Wi-Fi chip, and the wireless communication module 160 shown in fig. 5B may be a Wi-Fi chip and a circuit matched thereto.
The different weak antenna structures can meet different requirements (for example, from 10cm to 2 m) of ultra-short distance communication by matching with different transmission power (Tx power) settings of the Wi-Fi chip.
By way of example, table 1 shows the communication distances of different transmit powers for several different first antenna structures in cooperation with a Wi-Fi chip.
TABLE 1
By way of example, table 2 shows the communication distances of different transmit powers for several different first antenna structures in cooperation with a bluetooth chip.
TABLE 2
By way of example, table 3 shows the communication distances of different transmit powers for several different first antenna structures in cooperation with the ZigBee chip.
TABLE 3 Table 3
The difference between the maximum transmit power and the minimum transmit power of the antenna is correlated due to the characteristics of the physical device within the chip. If the minimum transmit power of the mobile device is reduced very low, the maximum transmit power is also reduced, which does not meet the distance requirements for normal operation. In the embodiment of the application, because different intelligent devices have different structures and different requirements on the safety performance of the intelligent devices, manufacturers of the intelligent devices can adopt different first antenna structures and different transmitting powers to ensure the communication distance of the intelligent devices. For example, the thickness of the intelligent air conditioner housing may be different for different manufacturers of intelligent air conditioners, and then the communication distance that the intelligent air conditioner can be found may be different in the case that the first antenna structure is the same and the transmission power is the same. Different smart device manufacturers can cooperate with the structure of the first antenna and a certain transmitting power according to the structure of the smart device, so that the discovered safe distance of the smart device is tested.
It should be understood that in the embodiment of the present application, the mobile device includes multiple chips (for example, the mobile device includes a Wi-Fi chip, a bluetooth chip, and a ZigBee chip), and the Wi-Fi chip, the bluetooth chip, and the ZigBee chip in the mobile device may share the first antenna and the second antenna in fig. 6A described above; alternatively, the Wi-Fi chip, the bluetooth chip, and the ZigBee chip in the mobile device may share the first antenna and the second antenna in fig. 6B; alternatively, the Wi-Fi chip, bluetooth chip, and ZigBee chip in the mobile device may share the first antenna and the second antenna in fig. 6C described above.
Or, the Wi-Fi chip, the Bluetooth chip and the ZigBee chip in the mobile device do not share the first antenna and the second antenna.
It should also be appreciated that fig. 6A-6C above are physical first and second antennas that the mobile device may switch through a radio frequency switch. In the embodiment of the application, the mobile device can also have only one antenna physically, but logically comprises a first antenna and a second antenna.
The mobile device may implement the logical first and second antennas by adjusting the transmit power of the physical antennas. For example, when the transmission power of the physical antenna is the first transmission power, it may be regarded as a logical first antenna; when the transmission power of the physical antenna is the second transmission power, it can be regarded as a logical second antenna; wherein the first transmit power is less than the second transmit power.
One possible implementation is that the mobile device can adjust the transmit power of the physical antenna by adjusting devices inside the chip. For example, the mobile device may adjust the transmit power of the physical antenna through a multi-stage amplifier inside the chip.
For example, the mobile device may mask the multistage amplifier inside the chip by adjusting the value of the register so that the transmission power of the physical antenna is the first transmission power, which may be considered to be the logical first antenna at this time; the mobile device may also adjust the value of the register so that the transmit power of the physical antenna is the second transmit power, which may be considered a logical second antenna; wherein the first transmit power is less than the second transmit power.
Another possible implementation is that the mobile device can also adjust the transmit power of the physical antenna by peripheral circuitry outside the chip.
The first antenna and the second antenna according to the embodiments of the present application may be a physical first antenna and a physical second antenna, or may be a logical first antenna and a logical second antenna.
In the embodiment of the application, the mobile equipment can switch the first antenna and the second antenna on the logic and the mobile equipment can switch the first antenna and the second antenna on the physical through the radio frequency switch to achieve the same effect.
Although the structures of the strong antenna and the weak antenna in fig. 6A to 6C are described as the mobile device 100, the electronic device 200 may also include the structures of the strong antenna and the weak antenna. The detailed description is the same as or similar to the description of fig. 6A-6C, and will not be repeated here.
In connection with the above example, the first distance is 5 meters and the second distance is 0.3 meters. When the mobile device 100 employs a strong antenna, the mobile device 100 may communicate with the electronic device 200 if the distance between the mobile device 100 (located at the center of the circle shown in fig. 7) and the electronic device 200 is less than the first distance (e.g., the electronic device 200 is located at position 1 shown in fig. 7); when the mobile device 100 employs a weak antenna, the mobile device 100 may communicate with the electronic device 200 if the distance between the mobile device 100 (located at the center of the circle shown in fig. 7) and the electronic device 200 is less than the second distance (e.g., the electronic device 200 is located at position 2 shown in fig. 7).
Accordingly, when the antenna of the mobile device 100 is configured to the first transmission power, if the distance between the mobile device 100 (located at the center of the circle shown in fig. 7) and the electronic device 200 is smaller than the first distance (as the electronic device 200 is located at the position 1 shown in fig. 7), the mobile device 100 may communicate with the electronic device 200; when the antenna of the mobile device 200 is configured to the second transmit power, the mobile device 100 may communicate with the electronic device 200 if the distance between the mobile device 100 (located at the center of the circle shown in fig. 7) and the electronic device 200 is less than the second distance (e.g., the electronic device 200 is located at position 2 shown in fig. 7).
In actual operation, the accuracy of the first distance and the second distance may not be as accurate, and a certain error may exist. This allows the first distance or the second distance to represent a range in actual operation, rather than a precise numerical distance. In addition, in different environments, even the same antenna and the same transmission power, a difference in the first distance and a difference in the second distance may occur.
Next, three embodiments of a method for sharing an address book according to an embodiment of the present application are described with reference to fig. 8A to fig. 10B. In the embodiment of the application, the address book shared by the mobile device can be an address book (for example, a contact person) of the mobile device; or may be an address book under a certain application program (e.g., weChat, QQ, etc.) in the mobile device, which is not specifically limited in the embodiment of the present application.
Example 1
Fig. 8A-8B are schematic flowcharts illustrating a method for sharing an address book according to an embodiment of the present application. Fig. 8A-8B illustrate how an electronic device and a mobile device can implement a process for registering the mobile device with an address book proxy of the electronic device without establishing a connection. As shown in fig. 8A, the method for sharing an address book includes:
S801a, in response to receiving the first input, the mobile device sends a first message via the second antenna, the first message including indication information that may be used to indicate that the mobile device is sharing an address book.
Specifically, the second antenna is the weak antenna described above.
In one embodiment, the mobile device may enable the physical second antenna through the radio frequency switch in response to receiving the first input; alternatively, the mobile device may enable the second antenna logically through a register inside the chip.
In one embodiment, as shown in (b) of fig. 12, the first input may be an operation that the mobile phone detects that the user shares the address book.
It should be understood that in the embodiment of the present application, the mobile device may send the first message through the second antenna when receiving the first input, or may send the first message through the second antenna when receiving a message sent by the electronic device (for example, the electronic device sends a subscription frame to a surrounding device, where the subscription frame is used to query a device that provides a shared address book service around); alternatively, the first message may be sent through the second antenna when the mobile device determines that the distance between the mobile device and the electronic device is less than or equal to a preset distance through a received signal strength indication (received signal strength indication, RSSI) ranging.
In one embodiment, the first message may be a broadcast message.
Illustratively, the first message may be a beacon (beacon) frame in bluetooth low energy (bluetooth low energy, BLE) technology.
The first message may be, for example, a Wi-Fi aware frame in Wi-Fi aware technology. The Wi-Fi aware frame may be a show-up frame, a publish frame, or a subscribe frame. The indication information may be carried in a payload field in a show-up frame, in a vendor specific attribute of a publish frame, or in a vendor specific attribute of a subscribe frame.
In one embodiment, the mobile device may also prompt the user (via voice or text) to bring the mobile device into proximity with the device that needs to share the address book when the first message is sent via the first antenna. For example, as shown in fig. 12 (c), the mobile phone may prompt the user through a prompt box 1204 to "please get the mobile phone close to the device requiring sharing of the address book-! ".
S802a, the electronic equipment receives the first message within the transmission distance of the second antenna of the mobile equipment, and knows that the mobile equipment is sharing the address book.
If the electronic device is not located within the transmitting distance of the second antenna, the electronic device cannot receive the first message, and cannot know that the mobile device is sharing the address book.
S803a, the electronic device sends a second message comprising information for establishing a connection with the mobile device.
In one embodiment, the electronic device transmits the second message via a fourth antenna.
Specifically, the fourth antenna may be the weak antenna described above.
The electronic device may, in response to receiving the first message, enable the fourth antenna through the radio frequency switch; alternatively, the electronic device may enable the fourth antenna through a register inside the chip.
In one embodiment, the electronic device may transmit the second message via a third antenna at a fourth transmit power.
In one embodiment, the electronic device may further prompt the user that the mobile device is sharing the address book when receiving the first message sent by the mobile device. For example, as shown in (d) of fig. 12, when the smart tv receives the first message sent by the mobile phone, the smart tv may prompt the user with voice to "detect that the mobile phone is sharing the address book".
In one embodiment, the second message may be for a bluetooth pairing connection of the mobile device and the electronic device.
For example, if the mobile device sends a beacon frame to the electronic device, the electronic device may send another beacon frame to the mobile device through an ultra-short distance, where the other beacon frame includes information for performing bluetooth pairing connection with the mobile device.
For example, for legacy pairing, the electronic device may send the key Passkey to the mobile device over an ultra-short range. The mobile device and the electronic device may generate a Temporary Key (TK) through the Passkey, thereby using the TK for identity authentication. Or, the electronic device can also send TK to the mobile device through the ultra-short distance, so that the mobile device and the electronic device can directly use the TK for identity authentication.
It should be appreciated that the process of computing TK through Passkey and authenticating identity through TK may refer to existing bluetooth protocols. And will not be described in detail herein.
For secure connection pairing (secure connection pairing), the electronic device may send a Passkey to the mobile device over an ultra-short range so that the mobile device and the electronic device may use the Passkey for identity authentication. Alternatively, the electronic device may also send the device address (B), the random number (rb), and the confirmation value (Cb) of the electronic device to the mobile device over an ultra-short distance, and the mobile device and the electronic device may use the device address, the random number, and the confirmation value of the electronic device to perform identity authentication.
It should be appreciated that the process of identity authentication through Passkey and identity authentication through the device address, random number and validation value of the electronic device may refer to the existing bluetooth protocol. And will not be described in detail herein.
In the embodiment of the application, the transmitting distance of the electronic equipment is within the safe distance, and the transmitted data cannot be subjected to eavesdropping threat and man-in-the-middle attack, so that the electronic equipment can transmit the Passkey, TK or other information for identity authentication in a clear text manner for conventional pairing or secure connection pairing. Therefore, the out-of-band transmission process is omitted, the process of inputting the Passkey or comparing the numerical values by the user is omitted, and the safety is ensured while the user experience is improved.
In one embodiment, the second message may be for the mobile device and the electronic device to establish a Wi-Fi aware channel.
In one embodiment, the method further comprises: the electronic device transmits an encryption key, which may be a symmetric encryption key of the mobile device and the electronic device, through the fourth antenna (or the third antenna at the fourth transmit power). The encryption key may be, for example, a 128-bit security random number randomly generated by the electronic device.
In one embodiment, the method further comprises: the electronic device sends a verification key through the fourth antenna (or the third antenna under the fourth transmitting power), and the verification key can be used for verifying the validity of the registration address book request sent by the electronic device. The verification key may be, for example, a 128-bit secure verification key registerKey generated by the electronic device.
In the embodiment of the application, the electronic equipment can send the check key to the mobile equipment, the check key is invalid after being checked once, and the check key acquired by the mobile equipment when the mobile equipment is close to the electronic equipment each time is intelligently registered once, so that the validity of the registration is ensured; meanwhile, the electronic equipment can be prevented from being attacked.
In one embodiment, the method further comprises: the electronic device transmits an address book registration service port (port) number through a fourth antenna (or a third antenna at a fourth transmit power).
In one embodiment, the second message may include information for establishing a connection with the mobile device, the encryption key, the verification key, and an address book registration service port (port) number.
And S804a, the mobile device establishes connection with the electronic device according to the second message.
In one embodiment, when the distance between the mobile device and the electronic device is less than or equal to the preset distance, the mobile device may receive a second message sent by the electronic device, so as to establish a connection with the electronic device according to the second message.
For example, if the second message is a beacon frame, where the beacon frame includes a Passkey, the mobile device may pair with the electronic device using the Passkey and establish a bluetooth connection.
In one embodiment, the electronic device may switch from the fourth antenna to the third antenna after the mobile device and the electronic device establish a connection.
In one embodiment, after the mobile device and the electronic device establish a connection, the electronic device may send information to the mobile device via a third antenna at a third transmit power.
In one embodiment, after the mobile device and the electronic device establish a connection, the mobile device may send an internet protocol (internet protocol, IP) address of the mobile device to the electronic device; the electronic device may send the IP address of the electronic device to the mobile device.
S805a, the mobile device sends a registration address book request to the electronic device, where the registration address book request is used to request registration of the mobile device to an address book proxy of the electronic device.
In one embodiment, the registration address book request includes an IP address of the mobile device, an address book registration service port number of the electronic device, and an address book service port number of the mobile device.
In one embodiment, if the second message does not include the encryption key, the mobile device may send the registration address book request to the electronic device through the second antenna.
In one embodiment, if the second message includes the encryption key, the mobile device may send a registration address book request encrypted by the encryption key to the electronic device through the second antenna.
In one embodiment, the mobile device may switch from the second antenna to the first antenna after the mobile device and the electronic device establish a connection. The mobile device may also send a registration address book request encrypted with the encryption key to the electronic device via the first antenna.
In one embodiment, if the second message includes the check key, the mobile device may further carry the check key in the registration address book request. When receiving a registration address book request sent by the mobile device, the electronic device can check the validity of the registration address book request through a check key carried in the registration address book request.
After receiving the address book registration request sent by the mobile device, the electronic device can register the mobile device to an address book proxy of the electronic device.
At S806a, the electronic device sends a registration address book response to the mobile device, where the registration address book response indicates that the mobile device has successfully registered with an address book proxy of the electronic device.
It should be understood that, in the embodiment of the present application, the address book proxy that the electronic device registers the mobile device with the electronic device may be understood that when the electronic device receives the dialing request of the user, the electronic device may query the mobile device for the corresponding contact information, but may not query the contact information in the local address book of the electronic device.
In one embodiment, if the second message does not include the encryption key, the electronic device may send the registration address book response to the mobile device through the fourth antenna.
In one embodiment, if the second message includes the encryption key, the electronic device may send the registration address book response encrypted by the encryption key to the mobile device through the fourth antenna.
In one embodiment, the electronic device may switch from the fourth antenna to the third antenna after the mobile device and the electronic device establish a connection. Then, the electronic device may also send a registration address book response encrypted by the encryption key to the mobile device through the third antenna.
Taking mobile equipment as a mobile phone and taking electronic equipment as intelligent electricity as an example, the method is further described with reference to fig. 12 and 13.
Fig. 12 is a set of graphical user interfaces (graphical user interface, GUI) provided by an embodiment of the present application.
Referring to the GUI shown in fig. 12 (a), the GUI is a desktop of a mobile phone, wherein the desktop of the mobile phone includes icons of a plurality of application programs, for example, a camera, an address book, a phone, information, a clock, a calendar, a gallery, and the like. When the mobile phone detects an operation of the user to start the address book application, the mobile phone may display a GUI as shown in (b) of fig. 12.
Referring to the GUI shown in (b) of fig. 12, the GUI is a display interface of an address book application of the mobile phone. Information for 3 contacts (e.g., dad, mom, and sister) and control 1201 are included on the display interface. When the handset detects an operation of clicking the control 1201 by the user, the handset may display a function list 1202, where the function list 1202 includes a plurality of functions (e.g., scanning business cards, sharing address books, and setting). When the mobile phone detects that the user clicks on the control 1203 for sharing the address book, the mobile phone may display a GUI as shown in (c) of fig. 12.
Referring to the GUI shown in fig. 12 (c), the GUI is another display interface of the address book application of the mobile phone. In response to detecting that the user clicks the control 1203 for sharing the address book, the mobile phone may display a prompt box 1204 and send a first message to the device through the second antenna, where the prompt box 1204 includes a prompt message "please bring the mobile phone close to the device requiring sharing of the address book-! The first message is used for indicating that the mobile phone is sharing the address book.
As shown in (d) of fig. 12, the smart tv is currently playing video. After the user sees the prompt information on the mobile phone, the mobile phone can be close to the device needing to share the address book of the mobile phone (for example, the user wants to share the address book of the mobile phone to the smart television, and then the mobile phone can be close to the smart television). When the mobile phone and the intelligent television are within a preset distance, the intelligent television receives a first message sent by the mobile phone. Optionally, in response to the smart television receiving the first message, the smart television prompts the user "detect that the mobile phone is sharing the address book" by voice. The smart television may send a second message. After receiving the second message, the mobile phone can establish connection with the smart television according to the second message. After the mobile phone and the intelligent television are connected, the mobile phone can send a registration address book request to the intelligent television.
As shown in (e) of fig. 12, in response to receiving a registration address book request of the mobile phone, the smart tv may send a registration address book response to the mobile phone and may prompt the user "the address book agent that has registered the mobile phone to the smart tv, you may use the address book of the mobile phone on the smart tv".
In one embodiment, when the smart tv receives the first message sent by the mobile phone, the smart tv may generate information for establishing a connection with the mobile phone, and send the information to the mobile phone through the fourth antenna. When the smart tv and the handset establish a connection, the smart tv may switch from the fourth antenna to the third antenna, thereby sending information (e.g., a registration address book response) to the handset through the third antenna. Or when the smart television and the mobile phone are connected, the smart television can send information to the mobile phone through a third antenna under the third transmitting power.
FIG. 13 is a set of GUIs provided in an embodiment of the present application.
Referring to fig. 13 (a), when the mobile phone and the smart tv are within a preset distance, the smart tv receives a first message sent by the mobile phone. In response to receiving the first message, the intelligent television displays a prompt 1301. The prompt box 1301 includes a prompt message "detect that the mobile phone is sharing an address book, please keep the mobile phone close to the smart tv". The smart television can also establish connection with the mobile phone, thereby registering the mobile phone to the address book proxy of the smart television.
Referring to fig. 13 (b), when the smart tv registers the mobile phone to the address book proxy of the smart tv, the smart tv may display a prompt box 1302, where the prompt box 1302 includes a prompt message "the mobile phone has been registered to the address book proxy of the smart tv, the mobile phone does not need to be close to the smart tv-! ". After the user sees the prompt information, the mobile phone can be far away from the intelligent television.
In one embodiment, when the smart television registers the mobile phone with the address book proxy of the smart television, the smart television may send a register address book response to the mobile phone. And responding to the received registration address book response sent by the smart television, the mobile phone can be switched from the second antenna to the first antenna. Or, in response to receiving the registration address book response sent by the smart television, the mobile phone can send information to the smart television through the first antenna under the first transmission power.
Fig. 8B is another schematic flowchart of a method for sharing an address book according to an embodiment of the present application. The ultra-short range wireless communication module in the mobile device in fig. 8B corresponds to the principle structure of fig. 5B. The flow of the method for sharing an address book shown in fig. 8B is substantially the same as that of the method for sharing an address book shown in fig. 8A, except for the differences in S801B and S801a, and S802B and S802 a. And the difference between the two points is that the second antenna is replaced by the first antenna under the second transmitting power. The principle involved has been elucidated in the description of fig. 5B. Therefore, the flow of the method for sharing the address book shown in fig. 8B is not repeated here.
Example two
The application also provides a second embodiment. In the second embodiment, how to register the mobile device with the address book proxy of the electronic device is described in the case where the electronic device has established a connection with the mobile device and the mobile device has not registered with the address book proxy of the electronic device. Fig. 9A-9B are schematic flowcharts of a method for sharing an address book according to an embodiment of the present application. As shown in fig. 9A, the method for sharing an address book includes:
s901a, the mobile device establishes a connection with the electronic device.
Illustratively, the mobile device and the electronic device establish a bluetooth connection or a Wi-Fi connection.
In one embodiment, after the mobile device and the electronic device establish a connection, the mobile device may send the IP address of the mobile device to the electronic device; the electronic device may send the IP address of the electronic device to the mobile device.
It will be appreciated that the process of establishing a connection between a mobile device and an electronic device may refer to existing connection processes. And will not be described in detail herein.
S902a, the mobile device sends, in response to receiving the first input, a first message via the second antenna, the first message including indication information that may be used to indicate that the mobile device is sharing an address book.
It should be understood that the process of S902a may refer to the process of S801a described above, and will not be described herein.
In one embodiment, as shown in fig. 14 (a), the first input may be an operation that the mobile phone detects that the user shares the address book.
In one embodiment, the mobile device may also prompt the user to bring the mobile device in proximity to the electronic device when the mobile device sends the first message via the second antenna. For example, as shown in (b) of fig. 14, the mobile phone may prompt the user through a prompt box 1404 that "the mobile phone has established a connection with the smart tv, please get the mobile phone close to the smart tv".
S903a, the electronic device receives the first message within the transmission distance of the second antenna of the mobile device, and knows that the mobile device is sharing the address book.
It should be understood that the process of S903a may refer to the process of S802a described above, and will not be described herein.
In response to receiving the first message, the electronic device sends a third message to the mobile device, the third message indicating that the electronic device has established a connection with the mobile device S904 a.
In one embodiment, before the electronic device sends the third message to the mobile device, it may be determined that the electronic device has established a connection with the mobile device.
In one embodiment, the electronic device may send the third message to the mobile device via a fourth antenna.
Specifically, the fourth antenna may be the weak antenna described above.
In one embodiment, the electronic device may transmit the third message via a third antenna at a fourth transmit power.
In one embodiment, the third message may include a verification key, where the verification key may be used for verifying the validity of the registration address book request sent by the electronic device to the mobile device. The verification key may be, for example, a 128-bit secure verification key registerKey generated by the electronic device.
In one embodiment, the third message may include an address book registration service port number of the electronic device.
In one embodiment, the electronic device may further prompt the user that the mobile device is sharing the address book when receiving the first message sent by the mobile device. For example, as shown in (c) of fig. 14, when the smart tv receives the first message sent by the mobile phone, the smart tv may prompt the user with voice to "detect that the mobile phone is sharing the address book".
In response to receiving the third message, the mobile device sends a registration address book request to the electronic device, the registration address book request requesting an address book proxy for registering the mobile device with the electronic device.
S906a, the electronic device sends a registration address book response to the mobile device, where the registration address book response is used to indicate that the mobile device has successfully registered with an address book proxy of the electronic device.
It should be understood that the process of S905a-S906a may refer to the process of S805a-S806a described above, and will not be described here again.
Taking the mobile device as a mobile phone and the electronic device as an intelligent electricity as an example, the following description will further refer to fig. 14.
Referring to the GUI shown in fig. 14 (a), the GUI is a display interface of an address book application of the mobile phone. Information for 3 contacts (e.g., dad, mom, and sister) and a control 1401 are included on the display interface. When the handset detects an operation of clicking on the control 1401 by the user, the handset may display a function list 1402, where the function list 1402 includes a plurality of functions (e.g., scanning business cards, sharing address books, and setting). When the mobile phone detects an operation in which the user clicks on the control 1403 for sharing the address book, the mobile phone may display a GUI as shown in (b) of fig. 14.
Referring to the GUI shown in (b) of fig. 14, the GUI is another display interface of the address book application of the mobile phone. In response to detecting that the user clicks the control 1403 for sharing the address book, the mobile phone may display a prompt box 1404 and send a first message to the second antenna, where the prompt box 1404 includes a prompt message "the mobile phone has established a connection with the smart tv, please get the mobile phone close to the smart tv", and the first message is used to indicate that the mobile phone is sharing the address book.
After the user sees the prompt information on the mobile phone, the mobile phone can be close to the intelligent television. When the mobile phone and the intelligent television are within a preset distance, the intelligent television receives a first message sent by the mobile phone. At this time, when the smart television determines that connection with the mobile phone has been established, the smart television may send the third message to the mobile phone. Thereby registering the mobile phone to the address book proxy of the intelligent television.
Fig. 9B is another schematic flowchart of a method for sharing an address book according to an embodiment of the present application. The ultra-short range wireless communication module in the mobile device in fig. 9B corresponds to the principle structure of fig. 5B. The flow of the method of sharing an address book shown in fig. 9B is substantially the same as that of the method of sharing an address book shown in fig. 9A, except that S902B and S902a, and S903B and S903a differ. And the difference between the two points is that the second antenna is replaced by the first antenna under the second transmitting power. The principle involved has been elucidated in the description of fig. 5B. Therefore, the flow of the method for sharing the address book shown in fig. 8B is not repeated here.
Example III
The application also provides a third embodiment. In the third embodiment, it is described how to implement the address book proxy registering the mobile device with the electronic device 2 in case the mobile device has established a connection with the electronic device 1. Fig. 10A-10B are schematic flowcharts of a method for sharing an address book according to an embodiment of the present application. As shown in fig. 10A, the method for sharing an address book includes:
S1001a, the mobile device establishes a connection with the electronic device 1.
It should be understood that the process of S1001a may refer to the process of S901a described above, and will not be described herein.
It should also be understood that the mobile device and the electronic device 1 may be an address book agent that has established a connection and the electronic device 1 has registered the mobile device with the electronic device 1, or the mobile device and the electronic device 1 may be an address book agent that has established a connection and the electronic device 1 has not registered the mobile device with the electronic device 1.
S1002a, the mobile device transmits a first message via the second antenna in response to receiving the first input, the first message including indication information that may be used to indicate that the mobile device is sharing an address book.
It should be understood that S1002a may refer to the process of S801a, and will not be described here.
In one embodiment, taking the example that the mobile device and the electronic device 1 have established a connection and the electronic device 1 has registered the mobile device with the address book proxy of the electronic device 1, the mobile device may also prompt the user to bring the mobile device close to the new electronic device when the mobile device sends the first message via the first antenna. As shown in fig. 15 (b), the mobile phone is registered with the address book proxy of the smart speaker, and when the mobile phone detects the operation of sharing the address book by the user, the mobile phone may prompt the user "the mobile phone is registered with the address book proxy of the smart speaker, please get the mobile phone close to the new device" through the prompt box 1501.
S1003a, the electronic device 2 receives the first message within the transmission distance of the second antenna of the mobile device, and knows that the mobile device is sharing the address book.
It should be understood that S1003a may refer to the procedure of S802a, and will not be described here.
S1004a, the electronic device 2 sends a second message comprising information for establishing a connection with the mobile device.
It should be understood that S1004a may refer to the process of S803a, and will not be described here.
S1005a, in response to receiving the second message, the mobile device and the electronic device 1 are disconnected.
In the embodiment of the present application, if the mobile device and the electronic device 1 have already established a connection, when the mobile device detects that the distance between the mobile device and the electronic device 1 is greater than or equal to the preset distance, the mobile device may disconnect the connection between the mobile device and the electronic device 1; alternatively, the mobile device may disconnect from the electronic device 1 when the mobile device receives a second message sent by the electronic device 2.
S1006a, in response to receiving the second message, the mobile device establishes a connection with the electronic device 2 according to the second message.
It should be understood that S1006a may refer to the process of S804a, and will not be described herein.
It should also be appreciated that there is no actual order of precedence between S1005a and S1006 a.
In one embodiment, when the mobile device is disconnected from electronic device 1 and a connection is established with electronic device 2, the mobile device may also prompt the user that a connection has been established with electronic device 2 and disconnected from electronic device 1.
S1007a, the mobile device sends a registration address book request to the electronic device 2, where the registration address book request is used to request registration of the mobile device to an address book proxy of the electronic device 2.
At S1008a, the electronic device 2 sends a registration address book response to the mobile device, where the registration address book response indicates that the mobile device has successfully registered with the address book proxy of the electronic device 2.
It should be understood that the process of S1007a-S1008a may refer to the process of S805a-S806a described above, and will not be described here again.
In one embodiment, as shown in (e) in fig. 15, when the mobile phone receives the registration address book response sent by the smart tv, the mobile phone may prompt the user "the mobile phone has registered with the address book proxy of the smart tv" through a prompt box 1506.
Taking the mobile device as a mobile phone, the electronic device 1 as an intelligent sound box, and the electronic device 2 as an intelligent electricity as an example, the following is further described with reference to fig. 15.
As shown in fig. 15 (a), the handset and the smart box have established a connection and the handset has successfully registered with the address book proxy of the smart box. The address book display interface of the mobile phone comprises a prompt message of 'the address book agent of the mobile phone registered to the intelligent sound box'.
As shown in (b) of fig. 15, when the mobile phone detects an operation of the user clicking the control 1502, the mobile phone may display a function list 1503, where the function list 1503 includes a plurality of functions (e.g., business card scanning, address book sharing, and setting). When the handset detects that the user clicks on the control 1504 to share the address book, the handset may display a GUI as shown in fig. 15 (c).
As shown in fig. 15 (c), when the mobile phone detects an operation of sharing an address book by the user, the mobile phone may send a first message to the surrounding devices and prompt the user "the mobile phone has registered with an address book agent of the smart speaker, please get the mobile phone close to the new device" through a prompt box 1505.
As shown in (d) of fig. 15, when the distance between the mobile phone and the smart tv is less than or equal to the preset distance, the smart tv may receive the first message sent by the mobile phone. The smart television may send a second message to the cell phone. And in response to receiving the second message, the mobile phone can disconnect the connection with the intelligent sound box and establish connection with the intelligent television.
As shown in (e) of fig. 15, after the smart tv and the mobile phone establish a connection, the mobile phone may send a registration address book request to the smart tv. After registering the mobile phone to the address book proxy of the intelligent television, the intelligent television can send a registration address book response to the mobile phone, so that the mobile phone is registered to the address book proxy of the intelligent television. When the mobile phone receives the registration address book response, the mobile phone can prompt the user "the mobile phone has registered to the address book proxy of the smart television" through a prompt box 1506.
Fig. 10B is another schematic flowchart of a method for sharing an address book according to an embodiment of the present application. The ultra-short range wireless communication module in the mobile device in fig. 10B corresponds to the principle structure of fig. 5B. The flow of the method of sharing an address book shown in fig. 10B is substantially the same as that of the method of sharing an address book shown in fig. 10A, except that S1002B and S1002a, and S1003B and S1003a differ. And the difference between the two points is that the second antenna is replaced by the first antenna under the second transmitting power. The principle involved has been elucidated in the description of fig. 5B. Therefore, the flow of the method for sharing the address book shown in fig. 8B is not repeated here.
Having described three embodiments of the method for sharing address book provided in the embodiments of the present application, a procedure for an electronic device to initiate a call after registering a mobile device with an address book proxy of the electronic device is described below with reference to fig. 11 and 16. As shown in fig. 11, the process of initiating a call includes:
s1101, the electronic device detects a voice command of the user, where the voice command is used to call the first contact.
Illustratively, as shown in (a) of fig. 16, the smart tv receives a voice instruction "talk with mom video" from the user.
The smart device may include a speech recognition (automatic speech recognition, ASR) module, a conversational natural language processing (natural language processing, NLP) module, and an intent processing module. The ASR module is used for receiving the voice command of the user, converting the voice command of the user into text information and sending the text information to the conversation NLP module. The NLP module is used for receiving the text information sent by the ASR module and analyzing the text information. The NLP module can analyze the text information into the intention of the user and the slot information related to the intention of the user. Taking the voice command "call mom" issued by the user as an example, the NLP module can parse the voice command to obtain the contents shown in table 4.
TABLE 4 Table 4
Intent (intent) Video call "
Groove (slot) Conversation object= "mom"
The intention processing module is used for receiving the user intention and the slot position information related to the intention, which are analyzed by the NLP module, and the intention processing module can determine that the intention of the user is video call, and the slot position information related to the intention is mom.
And S1102, in response to receiving the voice instruction, the electronic equipment sends a query number request to the mobile equipment, wherein the query number request is used for requesting a contact number corresponding to the first contact.
In one embodiment, the query number request includes information of the first contact.
In one embodiment, the electronic device may send a query number request encrypted with an encryption key to the mobile device.
In one embodiment, the query number request further includes an IP address of the mobile device and an address book service port number of the mobile device.
For example, if the electronic device is an Android system, the electronic device may carry the IP address of the mobile device in the query number request.
For example, if the electronic device is a Linux system, the electronic device may carry the IP address of the mobile device and the address book service port number of the mobile device in the query number request.
It should be understood that, in the embodiment of the present application, the process of determining the intention of the user and the slot information by the electronic device according to the voice command may refer to the description in the above embodiment. And will not be described in detail herein.
The electronic device may obtain information of the first contact (e.g., a nickname "mom" of the first contact) from the slot information after determining the intent of the user based on the voice command of the user.
And S1103, in response to receiving the query number request, the mobile device sends a query number response to the electronic device, wherein the query number response comprises the contact number of the first contact.
After receiving the query number request sent by the electronic device, the mobile device can query the contact number corresponding to the first contact in the address book according to the information of the first contact carried in the query number request, and carry the contact number in a query number response and send the query number response to the electronic device.
In one embodiment, the mobile device may send the query number response to the electronic device via the first antenna.
In one embodiment, if the second message includes the encryption key, the mobile device may send a query number response to the electronic device via the first antenna encrypted with the encryption key.
In one embodiment, if the second message includes the encryption key, the mobile device may send a query number response encrypted by the encryption key to the electronic device via the second antenna.
S1104, the electronic equipment initiates a call according to the contact number.
In one embodiment, the contact number may be a cell phone number of the first contact. After receiving the inquiry number response sent by the mobile device, the electronic device can directly initiate a call to the mobile phone number.
In one embodiment, the contact number may be an account number of the social application App (e.g., a smooth call ID for hua). The address book of the mobile device stores the account numbers of the social Apps corresponding to the mobile phone numbers, so that the mobile device can carry account information of the social Apps corresponding to the mobile phone numbers in inquiry number responses and send the inquiry number responses to the electronic device. And after receiving the query number response, the electronic equipment initiates a call to the account number of the social App.
In one embodiment, the contact number may be a cell phone number of the first contact. After receiving the query number response sent by the mobile device, the electronic device can query the account number of the social application App to the cloud server through the mobile phone number, so that the electronic device initiates a call to the account number of the social application App obtained from the cloud server.
In the embodiment of the application, a user can call a contact person by using the address book of the mobile device on any electronic device (for example, a mobile phone address book is used for initiating a high-definition video call on a smart television). The method and the device have the advantages that the user does not need to add the contact person through the application program on the mobile device, the user does not need to manually add the contact person on the electronic device, the learning cost of the user is reduced, the user intervention in the process of adding the contact person is facilitated, and the user experience is improved.
Taking the mobile device as a mobile phone and the electronic device as an intelligent electricity as an example, the following description will further refer to fig. 16.
As shown in fig. 16 (a), the user gives a voice instruction "make a video call with mom" to the smart tv. In response to receiving a voice instruction of a user, the smart television can determine the intention of the user through the voice instruction.
In one embodiment, after the smart television detects that the user clicks a voice input key on the remote controller, a voice command in the environment may be received.
It should be understood that, as in (b) of fig. 16, the smart tv is closer to the mobile phone, and when the smart tv detects that the user clicks the voice input key on the remote controller, the smart tv can receive the voice command in the environment; at this time, the mobile phone is in a state of not being awakened, so the mobile phone can not respond to voice instructions in the environment.
In one embodiment, after receiving the registration address book response sent by the smart tv, the mobile phone may stop the voice assistant function. Then after the user sends the voice command "talk with mom video", the smart television can respond to the voice command, and the mobile phone can not respond to the voice command.
In one embodiment, the smart tv may request the contact number of the contact mother from the handset through the fourth antenna. In response to receiving the request of the smart television, the mobile phone can query the contact number of the contact mother stored in the mobile phone and send the contact number to the smart television through the second antenna. After receiving the contact number sent by the mobile phone, the intelligent television initiates a call to the contact number.
As shown in fig. 16 (b), the user can make a video call with the contact mother after he has answered the call.
In the process shown in fig. 16, the mobile phone may always use the second antenna to send information to the smart tv. Therefore, the intelligent device can only receive the information sent by the mobile phone when the intelligent device and the mobile phone are located in the preset safety distance, and the safety of personal privacy of a user is guaranteed.
In one embodiment, when the mobile phone is in an unlocking state and the distance between the mobile phone and the smart television is smaller than a preset distance, the mobile phone can share an address book of the mobile phone with the smart television; when the mobile phone is in a screen locking state or the distance between the mobile phone and the intelligent television is larger than the preset distance, the mobile phone can stop sharing the address book of the mobile phone to the intelligent television.
In one embodiment, the smart tv may request the contact number of the contact mother from the handset through the third antenna. In response to receiving the request of the smart television, the mobile phone can query the contact number of the contact mother stored in the mobile phone and send the contact number to the smart television through the first antenna.
All or part of the above embodiments provided by the present application may be freely and arbitrarily combined with each other. The combined technical scheme is also within the scope of the application.
The method for sharing the address book is suitable for the following mobile equipment and electronic equipment.
Fig. 17 shows a mobile device 100 according to the present application. By way of example, mobile device 1700 includes at least one processor 1710, memory 1720, and display 1730. Wherein the processor 1710 is coupled to the memory 1720 and the display 1730, the coupling in embodiments of the present application may be a communication connection, electrical, or other form. In particular, memory 1720 is used to store program instructions. Display 1730 is used to display a user interface. The processor 1710 is configured to invoke program instructions stored in the memory 1720, so that the mobile device 1700 performs steps performed by the mobile device in the method for sharing an address book according to the embodiment of the present application. It should be appreciated that the mobile device 1700 may be used to implement the method for sharing address book provided in the embodiment of the present application, and relevant features may be referred to above and will not be described herein.
In some embodiments, when the display has a touch function, the display is also referred to as a touch display. The operation on the touch display may be implemented by virtual keys. When the display screen does not have a touch function, the display screen is also called a non-touch display screen. Operation on the non-touch display may be achieved by physical keys.
The present application provides a computer program product containing instructions that, when executed on a mobile device, cause the mobile device to perform steps performed by the mobile device in the method for sharing an address book provided by the embodiments of the present application.
The application provides a computer readable storage medium comprising instructions that, when executed on a mobile device, cause the mobile device to perform steps performed by the mobile device in the method for sharing address book provided by the embodiment of the application.
It will be apparent to those skilled in the art that embodiments of the present application may be implemented in hardware, or in both hardware and software. When implemented in hardware and software, the functions described above may be stored on a computer-readable medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic or optical disk, and the like.
Fig. 18 shows an electronic device 1800 provided by the present application. By way of example, the electronic device 1800 includes at least one processor 1810, memory 1820, and a display screen 1830. Wherein the processor 1810 is coupled to the memory 1820 and the display 1830, the coupling in embodiments of the application may be a communication connection, may be electrical, or in other forms. In particular, memory 1820 is used for storing program instructions. The display screen 1830 is used to display a user interface. The processor 1810 is configured to invoke program instructions stored in the memory 1820 to cause the electronic device 1800 to perform steps performed by the electronic device in the method for sharing an address book provided by the embodiment of the present application. It should be appreciated that the electronic device 1800 may be used to implement the method for sharing address book provided in the embodiment of the present application, and the relevant features may be referred to above and will not be described herein.
In some embodiments, when the display has a touch function, the display is also referred to as a touch display. The operation on the touch display may be implemented by virtual keys. When the display screen does not have a touch function, the display screen is also called a non-touch display screen. Operation on the non-touch display may be achieved by physical keys.
The present application provides a computer program product containing instructions that, when executed on an electronic device, cause the electronic device to perform steps performed by the electronic device in the method for sharing an address book provided by the embodiment of the present application.
The application provides a computer readable storage medium, which comprises instructions, wherein when the instructions run on electronic equipment, the electronic equipment is caused to execute steps executed by the electronic equipment in the method for sharing address book provided by the embodiment of the application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (29)

1. A communication system, the system comprising a mobile device and an electronic device, the mobile device comprising a first antenna and a second antenna, the first antenna having a transmission distance of a first distance and the second antenna having a transmission distance of a second distance, the first distance being greater than the second distance; wherein the first antenna and the second antenna are different antennas;
the mobile device is configured to broadcast a first message through the second antenna in response to receiving a first input; the first message is used for indicating that the mobile equipment is sharing an address book;
the electronic device is configured to receive the first message when a distance from the mobile device is within the second distance;
the electronic device is further configured to send a second message in response to receiving the first message; the second message includes information for establishing a connection with the mobile device;
the mobile device is further configured to establish a connection with the electronic device according to the second message;
the mobile device is further configured to send a registration address book request to the electronic device, where the registration address book request is used to request that the mobile device be registered with an address book proxy of the electronic device, so that the electronic device can obtain an address book of the mobile device;
The electronic equipment is further used for responding to the received address book registration request and sending an address book registration response to the mobile equipment, wherein the address book registration response is used for indicating that the mobile equipment is successfully registered with an address book proxy of the electronic equipment.
2. A communication system, the system comprising a mobile device and an electronic device, the mobile device comprising an antenna, the antenna having a transmission distance at a first transmission power of a first distance, the antenna having a transmission distance at a second transmission power of a second distance, the first distance being greater than the second distance;
the mobile device is configured to, in response to receiving a first input, broadcast a first message via the antenna at the second transmit power, the first message being used to indicate that the mobile device is sharing an address book;
the electronic device is configured to receive the first message when a distance from the mobile device is within the second distance;
the electronic device is further configured to send a second message in response to receiving the first message; the second message includes information for establishing a connection with the mobile device;
The mobile device is further configured to establish a connection with the electronic device according to the second message;
the mobile device is further configured to send a registration address book request to the electronic device, where the registration address book request is used to request that the mobile device be registered with an address book proxy of the electronic device, so that the electronic device can obtain an address book of the mobile device;
the electronic equipment is further used for responding to the received address book registration request and sending an address book registration response to the mobile equipment; the registration address book response is used for indicating that the mobile device has successfully registered with an address book proxy of the electronic device.
3. The system of claim 1 or 2, wherein the electronic device comprises a third antenna and a fourth antenna, the third antenna having a transmission distance of a third distance and the fourth antenna having a transmission distance of a fourth distance, the third distance being greater than the fourth distance; wherein the third antenna and the fourth antenna are different antennas;
the electronic device is specifically used for: broadcasting the second message through the fourth antenna in response to receiving the first message;
The mobile device is further configured to receive the second message when a distance between the mobile device and the electronic device is within the fourth distance;
wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile equipment and the electronic equipment can exchange secret information in a plaintext mode.
4. The system of claim 3, wherein the electronic device is further configured to switch from the fourth antenna to the third antenna in response to establishing a connection with the mobile device.
5. The system of claim 1 or 2, wherein the electronic device comprises an antenna having a third distance at a third transmit power, a fourth distance at a fourth transmit power, the third distance being greater than the fourth distance;
the electronic device is specifically used for: broadcasting the second message through the antenna at the fourth transmit power in response to receiving the first message;
the mobile device is further configured to receive the second message when a distance between the mobile device and the electronic device is within the fourth distance;
Wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile equipment and the electronic equipment can exchange secret information in a plaintext mode.
6. The system of claim 5, wherein the electronic device is further configured to switch the transmit power of the antenna from the fourth transmit power to the third transmit power in response to establishing a connection with the mobile device.
7. The system according to claim 1 or 2, characterized in that the second message further comprises an encryption key, the mobile device being specifically adapted to: and sending a registration address book request encrypted by the encryption key to the electronic equipment.
8. The system of claim 1 or 2, wherein the second message further comprises a verification key, the registration address book request comprises the verification key,
the electronic device is specifically used for: responding to the received registration address book request, and checking the registration address book request according to the checking key;
and after the registration address book request is successfully checked, sending the registration address book response to the mobile equipment.
9. The system of claim 1 or 2, wherein the electronic device is further configured to send a query number request to the mobile device in response to receiving a voice instruction from a user, the query number request being for requesting a contact number of a first contact, the voice instruction being for calling the first contact;
the mobile device is further configured to send a query number response to the electronic device in response to receiving the query number request, where the query number response includes a contact number of the first contact;
the electronic equipment is also used for initiating a call according to the contact number of the first contact.
10. The system of claim 1 or 2, wherein the mobile device is further configured to disconnect from the electronic device when a distance from the electronic device is greater than or equal to a preset distance.
11. The system according to claim 1 or 2, wherein the mobile device is further adapted to establish a connection with another electronic device before establishing a connection with the electronic device;
the mobile device is specifically configured to: and in response to receiving the second message, disconnecting the connection with the other electronic device and establishing a connection with the electronic device.
12. The method for sharing the address book is characterized by being applied to mobile equipment, wherein the mobile equipment comprises a first antenna and a second antenna, the transmission distance of the first antenna is a first distance, the transmission distance of the second antenna is a second distance, and the first distance is larger than the second distance; wherein the first antenna and the second antenna are different antennas; the method comprises the following steps:
the mobile device broadcasting a first message through the second antenna in response to receiving a first input, the first message being for indicating that the mobile device is sharing an address book;
the mobile device receives a second message sent by the electronic device, wherein the second message comprises information for establishing connection with the mobile device;
the mobile equipment establishes connection with the electronic equipment according to the second message;
the mobile device sends a registration address book request to the electronic device, wherein the registration address book request is used for requesting the mobile device to be registered to an address book proxy of the electronic device so that the electronic device can acquire the address book of the mobile device;
the mobile device receives a registration address book response sent by the electronic device, wherein the registration address book response is used for indicating that the mobile device is successfully registered with an address book proxy of the electronic device.
13. The method for sharing the address book is characterized by being applied to mobile equipment, wherein the mobile equipment comprises an antenna, the transmitting distance of the antenna under first transmitting power is a first distance, the transmitting distance of the antenna under second transmitting power is a second distance, and the first distance is larger than the second distance; the method comprises the following steps:
the mobile device broadcasting a first message through the antenna at the second transmit power in response to receiving a first input, the first message being for indicating that the mobile device is sharing an address book;
the mobile device receives a second message sent by the electronic device, wherein the second message comprises information for establishing connection with the mobile device;
the mobile equipment establishes connection with the electronic equipment according to the second message;
the mobile device sends a registration address book request to the electronic device, wherein the registration address book request is used for requesting the mobile device to be registered to an address book proxy of the electronic device so that the electronic device can acquire the address book of the mobile device;
the mobile device receives a registration address book response sent by the electronic device, wherein the registration address book response is used for indicating that the mobile device is successfully registered with an address book proxy of the electronic device.
14. The method of claim 12 or 13, wherein the second message further comprises an encryption key, and wherein the mobile device sends a registration address book request to the electronic device, comprising:
and the mobile equipment sends a registration address book request encrypted by the encryption key to the electronic equipment.
15. The method of claim 12 or 13, wherein the second message further includes a verification key, and the registration address book request includes the verification key, and the verification key is used for verifying the registration address book request sent by the mobile device by the electronic device.
16. The method according to claim 12 or 13, characterized in that the method further comprises:
the mobile device receives a query number request sent by the electronic device, wherein the query number request is used for requesting a contact number of a first contact person;
the mobile device sends a query number response to the electronic device in response to receiving the query number request, the query number response including a contact number of the first contact pair.
17. The method according to claim 12 or 13, characterized in that the method further comprises:
And when the distance between the electronic equipment and the electronic equipment is larger than or equal to a preset distance, disconnecting the connection between the electronic equipment and the electronic equipment.
18. The method according to claim 12 or 13, characterized in that the method further comprises:
before establishing a connection with the electronic device, the mobile device establishes a connection with another electronic device;
and in response to receiving the second message, disconnecting from the other electronic device.
19. A method for sharing address book, characterized in that the method is applied to electronic equipment; the method comprises the following steps:
when the distance between the mobile equipment and the mobile equipment is within a second distance, receiving a first message sent by the mobile equipment, wherein the first message is used for indicating that the mobile equipment is sharing an address book;
in response to receiving the first message, the electronic device sends a second message including information for establishing a connection with the mobile device;
the electronic equipment and the mobile equipment are connected;
the electronic equipment receives a registration address book request sent by the mobile equipment, wherein the registration address book request is used for requesting the mobile equipment to be registered to an address book proxy of the electronic equipment so that the electronic equipment can acquire the address book of the mobile equipment;
And the electronic equipment sends a registration address book response to the mobile equipment, wherein the registration address book response is used for indicating that the mobile equipment is successfully registered to an address book proxy of the electronic equipment.
20. The method of claim 19, wherein the electronic device comprises a third antenna and a fourth antenna, wherein the third antenna has a third distance of transmission and the fourth antenna has a fourth distance of transmission, and wherein the third and fourth antennas are different antennas;
the electronic device sending a second message in response to receiving the first message, comprising:
in response to receiving the first message, the electronic device broadcasts the second message through the fourth antenna;
wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile equipment and the electronic equipment can exchange secret information in a plaintext mode.
21. The method of claim 20, wherein the method further comprises:
and switching from the fourth antenna to the third antenna when a connection is established with the mobile device.
22. The method of claim 19, wherein the electronic device comprises an antenna having a third distance at a third transmit power, a fourth distance at a fourth transmit power, and wherein the third distance is greater than the fourth distance;
the electronic device sending a second message in response to receiving the first message, comprising:
in response to receiving the first message, the electronic device broadcasts the second message through the antenna at the fourth transmit power;
wherein the fourth distance is less than or equal to a preset safety distance; the preset safety distance is the safety distance that the mobile equipment and the electronic equipment can exchange secret information in a plaintext mode.
23. The method of claim 22, wherein the method further comprises:
and when a connection is established with the mobile equipment, switching the transmitting power of the antenna from the fourth transmitting power to the third transmitting power.
24. The method of any of claims 19-23, wherein the second message further comprises an encryption key, and wherein the electronic device sends a registration address book response to the mobile device, comprising:
And the electronic equipment sends the registration address book response encrypted by the encryption key to the mobile equipment.
25. The method of any one of claims 19 to 23, wherein the second message further comprises a verification key, the registration address book request comprises the verification key,
the electronic device sending a registration address book response to the mobile device, including:
responding to the received registration address book request, and checking the registration address book request according to the checking key;
and after the registration address book request is successfully checked, sending the registration address book response to the mobile equipment.
26. The method according to any one of claims 19 to 23, further comprising:
the electronic equipment responds to receiving a voice instruction of a user, and sends a query number request to the mobile equipment, wherein the query number request is used for requesting a contact number of a first contact person, and the voice instruction is used for calling the first contact person;
the electronic equipment receives a query number response sent by the mobile equipment, wherein the query number response comprises the contact number of the first contact person;
And the electronic equipment initiates a call according to the contact number of the first contact person.
27. A mobile device, comprising:
one or more processors;
one or more memories;
and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, the one or more computer programs comprising instructions, which when executed by the one or more processors, cause the mobile device to perform the method of any of claims 12-18.
28. An electronic device, comprising:
one or more processors;
one or more memories;
and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, the one or more computer programs comprising instructions, which when executed by the one or more processors, cause the electronic device to perform the method of any of claims 19-26.
29. A computer readable storage medium having instructions stored therein, which when run on a mobile device, cause the mobile device to perform the method of any of claims 12 to 18; alternatively, the instructions, when executed on an electronic device, cause the electronic device to perform the method of any one of claims 19 to 26.
CN202110132301.XA 2021-01-31 2021-01-31 Method for sharing address book, mobile device, electronic device and communication system Active CN114844974B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110132301.XA CN114844974B (en) 2021-01-31 2021-01-31 Method for sharing address book, mobile device, electronic device and communication system
PCT/CN2022/070973 WO2022161143A1 (en) 2021-01-31 2022-01-10 Method for sharing contacts, mobile device, electronic device, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110132301.XA CN114844974B (en) 2021-01-31 2021-01-31 Method for sharing address book, mobile device, electronic device and communication system

Publications (2)

Publication Number Publication Date
CN114844974A CN114844974A (en) 2022-08-02
CN114844974B true CN114844974B (en) 2023-08-22

Family

ID=82561290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110132301.XA Active CN114844974B (en) 2021-01-31 2021-01-31 Method for sharing address book, mobile device, electronic device and communication system

Country Status (2)

Country Link
CN (1) CN114844974B (en)
WO (1) WO2022161143A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079325A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Method of sharing information and electronic equipment
CN112153721A (en) * 2020-08-05 2020-12-29 华为技术有限公司 Wireless routing equipment access method and wireless routing equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7984455B2 (en) * 2007-05-30 2011-07-19 Sony Ericsson Mobile Communications Ab Enhanced native contact book application
CN102984213B (en) * 2012-11-08 2016-07-06 小米科技有限责任公司 A kind of method of information sharing, Apparatus and system
CN105141497B (en) * 2014-05-30 2020-11-20 联想(北京)有限公司 Information processing method and electronic equipment
US9532221B2 (en) * 2014-11-18 2016-12-27 Motorola Mobility Llc Communicating credentials and content between multiple mobile electronic devices located within content sharing geographical area
CN105681524B (en) * 2016-03-15 2019-06-18 合肥工业大学 A kind of short distance contact method is quickly shared method
CN112261624B (en) * 2019-12-31 2022-01-11 华为技术有限公司 Method, electronic equipment and system for transmitting file in application

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079325A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Method of sharing information and electronic equipment
CN112153721A (en) * 2020-08-05 2020-12-29 华为技术有限公司 Wireless routing equipment access method and wireless routing equipment

Also Published As

Publication number Publication date
CN114844974A (en) 2022-08-02
WO2022161143A9 (en) 2022-09-22
WO2022161143A1 (en) 2022-08-04

Similar Documents

Publication Publication Date Title
CN110320811B (en) Access method of intelligent household equipment and electronic equipment
CN113630297B (en) Method and terminal for controlling first equipment
CN114499587B (en) Audio synchronization communication method, system, wireless earphone, terminal and storage medium
CN111010693B (en) Method for providing wireless fidelity network access service and electronic equipment
CN114697058B (en) Identity authentication method, electronic equipment and computer readable storage medium
CN116114239B (en) Volume management method and electronic equipment
CN113038627B (en) File sharing method, mobile device and computer storage medium
CN114868455A (en) User terminal comprising a plurality of subscriber identity modules
CN113365274B (en) Network access method and electronic equipment
CN112640336B (en) Method and device for configuring modulation and coding strategy MCS and communication equipment
CN114844974B (en) Method for sharing address book, mobile device, electronic device and communication system
WO2022161071A1 (en) Group member or friend adding method, and electronic device
CN114916054A (en) Communication method, device and terminal equipment
CN112399628B (en) Random access method, electronic equipment and network equipment
CN113407076A (en) Method for starting application and electronic equipment
CN112469014A (en) Method and electronic equipment for configuring Bluetooth connection parameters
CN114285737B (en) Method and device for configuring device
CN114844732B (en) Conference access method and electronic equipment
CN113437773B (en) Method, device and terminal for reducing sideband radiation stray in charging scene
CN114466339B (en) Bluetooth pairing method, system, storage medium and chip
CN112615891B (en) Pairing method and device
WO2022194220A1 (en) Iot device configuration method and iot device
CN117098253A (en) Networking method and device
CN116866098A (en) Equipment login method, electronic equipment and system
CN116347424A (en) Method for making call and electronic equipment

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