CN114844974A - 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
CN114844974A
CN114844974A CN202110132301.XA CN202110132301A CN114844974A CN 114844974 A CN114844974 A CN 114844974A CN 202110132301 A CN202110132301 A CN 202110132301A CN 114844974 A CN114844974 A CN 114844974A
Authority
CN
China
Prior art keywords
mobile device
address book
antenna
distance
electronic device
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.)
Granted
Application number
CN202110132301.XA
Other languages
Chinese (zh)
Other versions
CN114844974B (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

Images

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 broadcasts a first message through the second antenna in response to receiving the first input, wherein the first message is used for indicating that the mobile device is sharing the address list; the electronic device sending a second message in response to receiving the first message, the second message including information for establishing a connection with the mobile device; establishing connection between the mobile equipment and the electronic equipment; the mobile equipment sends an address book registration request to the electronic equipment, wherein the address book registration request is used for requesting the mobile equipment to register to an address book agent of the electronic equipment; the electronic device sends a register address book response to the mobile device, the register address book response indicating that the mobile device has successfully registered with an address book agent of the electronic device. According to the method and the device, the address list on the mobile device can be rapidly shared for the electronic device, so that the user operation is facilitated, and the user experience is promoted.

Description

Method for sharing address book, mobile device, electronic device and communication system
Technical Field
The application relates to the field of terminals, in particular to a method for sharing an address book, electronic equipment and a communication system.
Background
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 devices (e.g., mobile phones). Each electronic device has its own address book, and before using the communication function, a contact person needs to be added and then a call is initiated. For example, for a smart sound box, a user is required to upload an address book on a mobile phone to a server through a designated application (App) on the mobile phone. When the intelligent sound box detects a dialing request of a user, corresponding contact person information can be acquired from the server and then calling is carried out; for another example, for a smart television, if a user needs to call a contact in a mobile phone address book through the smart television, the user needs to manually input contact information in the mobile phone address book through a remote controller and then call the contact. The current process of adding contacts on the intelligent device is complicated, and the user experience is poor.
Therefore, how to provide a method for quickly sharing the address book of the mobile device to the electronic device becomes a need.
Disclosure of Invention
In order to solve the technical problem, the application provides a method for sharing an address book, a mobile device, an electronic device and a communication system, which can realize that the address book on the mobile device is quickly shared to the electronic device, facilitate user operation, and contribute to improving user experience.
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, a transmission distance of the first antenna being a first distance, a transmission distance of the second antenna being 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, in response to receiving a first input, is configured to broadcast a first message via the second antenna, the first message indicating that the mobile device is sharing an address book; the electronic equipment is used for receiving the first message when the distance between the electronic equipment and the mobile equipment is within the second distance; the electronic device, 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 also used for establishing connection with the electronic device according to the second message; the mobile device is also used for sending 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 agent 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 agent of the electronic device. In this way, the mobile device can send the first message over a very short distance, and only the electronic devices within a second distance from the mobile device can receive the first message and send information for establishing a connection with the mobile device. After the electronic device and the mobile device are connected, the electronic device can register the mobile device to an address book agent of the electronic device, so that the electronic device can initiate a call by using an 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 certain specific application program, so that the address book on the mobile equipment is quickly shared to the electronic equipment, the operation of the user is facilitated, and the user experience is facilitated to be 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, a transmission distance of the antenna at a first transmission power being a first distance, a transmission distance of the antenna at a second transmission power being 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 through the antenna at the second transmission power, the first message indicating that the mobile device is sharing an address book; the electronic equipment is used for receiving the first message when the distance between the electronic equipment and the mobile equipment is within the second distance; the electronic device, further configured to send, in response to receiving the first message, a second message including information for establishing a connection with the mobile device; the mobile device is also used for establishing connection with the electronic device according to the second message; the mobile device is also used for sending 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 agent 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 agent of the electronic device. In this way, the mobile device can send the first message over a very short distance, and only the electronic devices within a second distance from the mobile device can receive the first message and send information for establishing a connection with the mobile device. After the electronic device and the mobile device are connected, the electronic device can register the mobile device to an address book agent of the electronic device, so that the electronic device can initiate a call by using an 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 certain specific application program, so that the address book on the mobile equipment is quickly shared to the electronic equipment, the operation of the user is facilitated, and the user experience is facilitated to be 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 plaintext.
With reference to the first aspect or the second aspect, in certain implementations of the first aspect or the second aspect, the electronic device includes a third antenna and a fourth antenna, a transmission distance of the third antenna is a third distance, a transmission distance of the fourth antenna is a fourth distance, the third distance is greater than the fourth distance, wherein the third antenna and the fourth antenna are different antennas; the electronic device is specifically configured to: broadcasting the second message through the fourth antenna in response to receiving the first message; the mobile device is further used for receiving the second message when the 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 safe distance is a safe distance at which the mobile device and the electronic device can exchange secret information in a plaintext mode. Therefore, after the electronic device receives the first message, the information for establishing connection with the mobile device can be sent through the ultra-short distance plaintext, and the safety in information transmission is 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 information for establishing the connection with the mobile equipment is transmitted in the ultra-short distance and the connection with the mobile equipment is established, the electronic equipment can be switched to the third antenna, so that the electronic equipment is ensured to work in 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 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 device is specifically configured to: broadcasting the second message through the antenna at the fourth transmit power in response to receiving the first message; the mobile device is further used for receiving the second message when the 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 safe distance is a safe distance at which the mobile device and the electronic device can exchange secret information in a plaintext mode. Therefore, after the electronic device receives the first message, the information for establishing connection with the mobile device can be sent through the ultra-short distance plaintext, and the safety in information transmission is 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. Thus, when the information for establishing connection with the mobile device is transmitted in the ultra-short distance and the connection with the mobile device is established, the electronic device can switch the transmitting power of the antenna to the third transmitting power, so that the electronic device is ensured to work in the normal transmission distance. With reference to the first aspect or the second aspect, in some 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 transmission safety between the electronic equipment and the mobile equipment is improved.
With reference to the first aspect or the second aspect, in some implementation manners of the first aspect or the second aspect, the second message further includes a check key, the request to register the address book includes the check key, and the electronic device is specifically configured to: in response to receiving the request for registering the address book, verifying the request for registering the address book according to the verification key; and after the request for registering the address book is successfully verified, sending a response of the registering address book 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 address book registration request, and the electronic equipment can verify the address book registration request by using the verification key, thereby ensuring the legality of the mobile equipment when registering the address book proxy of the electronic equipment, avoiding the electronic equipment from being attacked and being beneficial to improving the safety performance.
In some possible implementation manners, the verifying, by the electronic device, the request for registering the address book according to the verification key includes: and the electronic equipment verifies the verification key in the request for registering the address book according to the verification key.
With reference to the first aspect or the second aspect, in some implementations of the first aspect or the second aspect, the electronic device is further configured to send, to the mobile device, a query number request in response to receiving a voice instruction of a user, the query number request requesting a contact number of a first contact, the voice instruction being used to call the first contact; the mobile device is further used for responding to the received inquiry number request and sending an inquiry number response to the electronic device, wherein the inquiry number response comprises the 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. In this way, when the electronic device detects a voice instruction of a user to call a first contact, the electronic device may query the mobile device for the contact number of the first contact. The electronic device may initiate a call upon obtaining the contact number of the first contact from the mobile device. The information of the first contact person is not required to be manually input on the electronic equipment by a user, and the information of the first contact person is not required to be uploaded to the server by the user through a certain specific application program, so that the address list on the mobile equipment is quickly shared to the electronic equipment, the operation of the user is facilitated, and the user experience is facilitated to be improved.
In some possible implementation manners, the contact number of the first contact may be a mobile phone number, or account information under a certain application program, which is not limited in this embodiment of the application.
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 disconnect 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 be disconnected from the electronic device, so that the address book of the mobile device can be stopped being shared, and the safety of the address book in sharing is guaranteed.
With reference to the first aspect or the second aspect, in some implementations of the first aspect or the second aspect, the mobile device is further configured to disconnect 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 security of the address book sharing is guaranteed.
With reference to the first aspect or the second aspect, in some 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 configured to: in response to receiving the second message, disconnecting the connection with the other electronic device and establishing a connection with the electronic device. Therefore, when the mobile equipment receives the second message, the mobile equipment can be disconnected from another electronic equipment and establish connection with the electronic equipment, and then the mobile equipment can be registered in the address list agent of the electronic equipment, so that convenience when the mobile equipment is registered in the address list agent of different electronic equipment is guaranteed.
In a third aspect, a communication system is provided, which includes a mobile device and an electronic device, wherein the mobile device includes a first antenna and a second antenna, 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; the mobile device is used for establishing connection with the electronic device; the mobile device, configured to broadcast a first message through the second antenna in response to receiving a first input, the first message indicating that the mobile device is sharing the address book; the electronic equipment is used for receiving the first message when the distance between the electronic equipment and the mobile equipment 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 indicating that the electronic device has established a connection with the mobile device; the mobile device is also used for sending 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 agent 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 agent of the electronic device. In this way, 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 the first message over a short distance, and only the electronic devices 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 that the mobile device has established a connection with the electronic device. The electronic device may register the mobile device with an address book agent 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 certain specific application program, so that the address book on the mobile equipment is quickly shared to the electronic equipment, the operation of the user is facilitated, and the user experience is facilitated to be improved.
In a fourth aspect, a communication system is provided, where the system includes a mobile device and an electronic 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, the first distance is greater than the second distance, and the mobile device is configured to establish a connection with the electronic device; the mobile device, configured to broadcast 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 list; the electronic equipment is used for receiving the first message when the distance between the electronic equipment and the mobile equipment 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 indicating that the electronic device has established a connection with the mobile device; the mobile device is also used for sending 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 agent 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 agent of the electronic device. In this way, 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 the first message over a short distance, and only the electronic devices 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 that the mobile device has established a connection with the electronic device. The electronic device may register the mobile device with an address book agent 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 certain specific application program, so that the address book on the mobile equipment is quickly shared to the electronic equipment, the operation of the user is facilitated, and the user experience is facilitated to be improved.
With reference to the third aspect or the fourth aspect, in certain implementations of the third aspect or the fourth aspect, the electronic device includes a third antenna and a fourth antenna, 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 the electronic device is specifically configured to: in response to receiving the first message, sending 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 safe distance is a safe distance at which the mobile device and the electronic device can exchange secret information in a plaintext mode. Therefore, after the electronic equipment receives the first message, the electronic equipment can send the third message in a short distance, and the safety in information transmission 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 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 transmission safety between the electronic equipment and the mobile equipment is improved.
With reference to the third aspect or the fourth aspect, in some implementation manners of the third aspect or the fourth aspect, the third message further includes a check key, the request to register the address book includes the check key, and the electronic device is specifically configured to: in response to receiving the request for registering the address book, verifying the request for registering the address book according to the verification key; and after the request for registering the address book is successfully verified, sending a response of the registering address book 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 address book registration request, and the electronic equipment can verify the address book registration request by using the verification key, thereby ensuring the legality of the mobile equipment when registering the address book proxy of the electronic equipment, avoiding the electronic equipment from being attacked and being beneficial to improving the safety performance.
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, to the mobile device, a query number request in response to receiving a voice instruction of the user, the query number request requesting a contact number of a first contact, the voice instruction being used to call the first contact; the mobile device is further used for responding to the received inquiry number request and sending an inquiry number response to the electronic device, wherein the inquiry number response comprises the 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. In this way, when the electronic device detects a voice instruction of a user to call a first contact, the electronic device may query the mobile device for the contact number of the first contact. The electronic device may initiate a call upon obtaining the contact number of the first contact from the mobile device. The information of the first contact person is not required to be manually input on the electronic equipment by a user, and the information of the first contact person is not required to be uploaded to the server by the user through a certain specific application program, so that the address list on the mobile equipment is quickly shared to the electronic equipment, the operation of the user is facilitated, and the user experience is facilitated to be improved.
With reference to the third aspect or the fourth aspect, in certain implementations of the third aspect or the fourth aspect, the mobile device is further configured to disconnect the electronic device when a distance between the mobile device and 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, the mobile device includes a first antenna and a second antenna, 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, in response to receiving a first input, broadcasting a first message through the second antenna, the first message indicating that the mobile device is sharing the address book; the mobile device receives a second message sent by the electronic device, wherein the second message comprises information used for establishing connection with the mobile device; the mobile equipment establishes connection with the electronic equipment according to the second message; the mobile equipment sends a registration address book request to the electronic 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 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 has successfully registered to an address book agent 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 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 list; the mobile device receives a second message sent by the electronic device, wherein the second message comprises information used for establishing connection with the mobile device; the mobile equipment establishes connection with the electronic equipment according to the second message; the mobile equipment sends a registration address book request to the electronic 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 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 has successfully registered to an address book agent of the electronic device.
With reference to the fifth aspect or the sixth aspect, in some implementations of the fifth aspect or the sixth aspect, the second message further includes an encryption key, and the sending, by the mobile device, the address book registration request to the electronic device includes: 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 some implementations of the fifth aspect or the sixth aspect, the second message further includes a verification key, and the request to register the address book includes the verification key, where the verification key is used for the electronic device to verify the request to register the address book sent by the mobile device.
With reference to the fifth or sixth aspect, in certain implementations of the fifth or sixth aspect, the method further comprises: the mobile equipment receives a query number request sent by the electronic equipment, wherein the query number request is used for requesting a contact number of a first contact person; the mobile device, in response to receiving the query number request, sends a query number response to the electronic device, the query number response including the contact number of the first contact pair.
With reference to the fifth or sixth aspect, in certain implementations of the fifth or sixth aspect, the method further comprises: and when the distance between the electronic equipment and the mobile terminal is larger than or equal to the preset distance, disconnecting the electronic equipment from the mobile terminal.
With reference to the fifth or sixth aspect, in certain implementations of the fifth or sixth aspect, the method further comprises: before establishing connection with the electronic device, the mobile device establishing connection with another electronic device; in response to receiving the second message, disconnecting the connection with the other electronic device.
In a seventh aspect, a method for sharing an address book is provided, where the method is applied to a mobile device, the mobile device includes a first antenna and a second antenna, 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 and the electronic device establish connection; the mobile device, in response to receiving a first input, broadcasting a first message through the second antenna, the first message indicating that the mobile device is sharing the 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 equipment sends a registration address book request to the electronic 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 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 has successfully registered to an address book agent 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 and the electronic device establish connection; 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 list; 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 equipment sends a registration address book request to the electronic 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 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 has successfully registered to an address book agent of the electronic device.
With reference to the seventh aspect or the eighth aspect, in some implementations of the seventh aspect or the eighth aspect, the third message further includes an encryption key, and the sending, by the mobile device, a request to register the address book to the electronic device includes: 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, and the request for registering the address book includes the verification key, where the verification key is used to verify the request for registering the address book 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 equipment receives a query number request sent by the electronic equipment, wherein the query number request is used for requesting a contact number of a first contact person; the mobile device, in response to receiving the query number request, sends a query number response to the electronic device, the query number response including the contact number of the first contact pair.
With reference to the seventh aspect or the eighth aspect, in some implementations of the seventh aspect or the eighth aspect, the method further includes: and when the distance between the electronic equipment and the mobile terminal is larger than or equal to the preset distance, disconnecting the electronic equipment from the mobile terminal.
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 list; in response to receiving the first message, the electronic device sending a second message, the second message including information for establishing a connection with the mobile device; the electronic equipment and the mobile equipment establish connection; 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, wherein the registration address book response is used for indicating that the mobile device is successfully registered to an address book agent 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, a transmission distance of the third antenna is a third distance, a transmission distance of the fourth antenna is a fourth distance, the third distance is greater than the fourth distance, wherein 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 via the fourth antenna; wherein the fourth distance is less than or equal to a preset safety distance; the preset safe distance is a safe distance at which the mobile device and the electronic device can exchange secret information in a plaintext mode.
With reference to the ninth aspect, in certain implementations of the ninth aspect, the method further includes: switching from the fourth antenna to the third antenna upon establishing a connection with the mobile device.
With reference to the ninth aspect, in some implementations of the ninth 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 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 via the antenna at the fourth transmit power; wherein the fourth distance is less than or equal to a preset safety distance; the preset safe distance is a safe distance at which the mobile device and the electronic device can exchange secret information in a plaintext mode.
With reference to the ninth aspect, in certain implementations of the ninth aspect, the method further includes: switching the transmit power of the antenna from the fourth transmit power to the third transmit power when establishing the connection with the mobile device.
With reference to the ninth aspect, in some implementations of the ninth aspect, the second message further includes an encryption key, and the electronic device sends a register address book response to the mobile device, including: the electronic equipment sends the registration address book response encrypted by the encryption key to the mobile equipment.
With reference to the ninth aspect, in some implementations of the ninth aspect, the second message further includes a check key, the request to register the address book includes the check key, and the electronic device sends a response to register the address book to the mobile device, including: in response to receiving the request for registering the address book, verifying the request for registering the address book according to the verification key; and after the request for registering the address book is successfully verified, sending a response of the registering address book 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 a received voice instruction of a user, and sends a number query request to the mobile equipment, wherein the number query 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; and the electronic equipment 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 establish connection; 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 list; in response to receiving the first message, the electronic device sending 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, wherein the registration address book response is used for indicating that the mobile device is successfully registered to an address book agent of the electronic device.
With reference to the tenth aspect, in some implementations of the tenth aspect, the electronic device includes a third antenna and a fourth antenna, a transmission distance of the third antenna is a third distance, a transmission distance of the fourth antenna is a fourth distance, the third distance is greater than the fourth distance, wherein the third antenna and the fourth antenna are different antennas; the electronic device, in response to receiving the first message, sending a third message to the mobile device, 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 safe distance is a safe distance at which the mobile device and the electronic device can exchange secret information in a plaintext mode.
With reference to the tenth aspect, in some implementations of the tenth 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 device, in response to receiving the first message, sending a third message to the mobile device, comprising: in response to receiving the first message, the electronic device sends the third message to the mobile device via the antenna at the fourth transmit power; wherein the fourth distance is less than or equal to a preset safety distance; the preset safe distance is a safe distance at which the mobile device and the electronic device can exchange secret information in a plaintext mode.
With reference to the tenth aspect, in some implementations of the tenth aspect, the third message further includes an encryption key, and the electronic device sends a register address book response to the mobile device, including: the electronic equipment sends the registration address book response encrypted by the encryption key to the mobile equipment.
With reference to the tenth aspect, in some implementations of the tenth aspect, the third message further includes a check key, the request to register the address book includes the check key, and the electronic device sends a response to register the address book to the mobile device, including: in response to receiving the request for registering the address book, verifying the request for registering the address book according to the verification key; and after the request for registering the address book is successfully verified, sending a response of the registering address book 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 a received voice instruction of a user, and sends a number query request to the mobile equipment, wherein the number query 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; and the electronic equipment 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 are stored in a memory, and when the mobile device is running, the processor executes the one or more computer programs stored in the memory to cause the mobile device to perform the method of any of the fifth to eighth aspects.
In a twelfth aspect, an electronic device is provided, comprising: one or more processors, one or more memories, and one or more computer programs; the one or more computer programs are stored in a memory, and when the electronic device is running, the processor executes the one or more computer programs stored in the memory to cause the electronic device to perform the method of any of the ninth to tenth aspects.
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 one of the fifth to eighth aspects; alternatively, the computer instructions, when executed on the electronic device, cause the electronic device to perform the method of any of the ninth to tenth aspects.
In a fourteenth aspect, the present application provides a computer program product for causing a mobile device to perform the method of any one of the fifth to eighth aspects when the computer program product is run on the mobile device; alternatively, the computer program product, when run on an electronic device, causes the electronic device to perform the method of any of the ninth to tenth aspects.
It is to be understood that the mobile device, the electronic device, the computer storage medium and the computer program product are all provided for executing the corresponding methods provided above, and the advantageous effects achieved by the fifth aspect to the fourteenth aspect may refer to the corresponding advantageous effects in the system provided above, and are not repeated herein.
Drawings
Fig. 1 is a process of a user manually adding a contact on a smart tv and initiating a call;
fig. 2 is a schematic scene diagram of a method for sharing an address book according to an embodiment of the present disclosure;
fig. 3 is a schematic hardware structure diagram of a mobile device provided in an embodiment of the present application;
fig. 4 is a schematic hardware structure diagram of an electronic device provided in an embodiment of the present application;
fig. 5A is a schematic diagram of an ultra-short-range wireless communication module and an antenna according to an embodiment of the present application;
fig. 5B is a schematic diagram of an ultra-short-range wireless communication module and an antenna according to an embodiment of the present application;
fig. 6A-6C are schematic structural diagrams of an ultra-short-range wireless communication module and an antenna according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram illustrating transmission distances of an ultra-short-range wireless communication module and an antenna in the identity authentication method according to the embodiment of the present application;
fig. 8A-8B are schematic communication interaction diagrams of a first embodiment 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-10B are schematic communication interaction diagrams of a third embodiment of a method for sharing an address book according to an embodiment of the present application;
fig. 11 is a schematic view of communication interaction of initiating a call by an electronic device according to an embodiment of the present application.
FIG. 12 is a set of graphical user interfaces provided by embodiments 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 component diagram of a mobile device according to an embodiment of the present application;
fig. 18 is a schematic structural component diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solution in the embodiments of the present application is described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, the terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of the present 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 the plural forms as well, such as "one or more", unless the context clearly indicates otherwise. 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 that associates objects, meaning that three relationships may exist; for example, a and/or B, may represent: a alone, both A and B, and B alone, where A, B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Reference throughout this 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 present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated 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 otherwise noted. "first" and "second" 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 the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related 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 a mobile phone. Each electronic device has its own address book, and before using the communication function, a contact person needs to be added and then a call is initiated. For example, for a smart sound box, a user is required to upload an address book on a mobile phone to a server through a designated application (App) on the mobile phone. When the intelligent sound box detects a dialing request of a user, corresponding contact person information can be acquired from the server and then calling is carried out; 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, and the user experience is poor. Therefore, how to provide a method for quickly sharing the address book of the mobile device to the electronic device becomes a need.
Fig. 1 is a process of a user manually adding a contact on a smart television and initiating a call.
Referring to fig. 1 (a), the address book of the mobile phone includes 3 contacts, which are dad, mom and sister respectively. The address book of the smart television comprises 2 contacts, namely dad and sister.
Referring to (b) of fig. 1, when a user wants to call mom through the smart television, the user is required to input and save mom information (e.g., nickname and mobile phone number) on the smart television. When the mobile phone detects that the user inputs the name and the mobile phone number of the mother and clicks the saving control, the information of the mother can be saved locally in the smart television.
Referring to fig. 1 (c), when the smart television detects that the user sends a voice instruction "make a video call with mom", the smart television may query a contact number corresponding to mom in a local address book of the smart television, so as to initiate a call to mom.
When the address book of the mobile phone is updated (for example, if a user adds a new brother message to the mobile phone), the address book of the smart television is not updated accordingly. When a user needs to call a brother through the intelligent television, the user is also required to manually add information of the brother on the intelligent television and then initiate the call.
In order to solve the technical problem, the application provides a method for sharing an address book, an electronic device and a communication system, which can realize that the address book on a mobile device is quickly shared to the electronic device, are convenient for a user to operate, and are beneficial to improving the experience of the user.
Fig. 2 is a scene schematic diagram illustrating 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 that may indicate that the mobile device 100 is sharing the 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 transmit information for establishing a connection with the mobile device 100 to 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 transmitted by the electronic device 200. After establishing the connection, the mobile device 100 may send a register address book request to the electronic device 200. The electronic device 200 may register the mobile device 100 with the address book agent of the electronic device 200. Subsequently, when the electronic device 200 detects a dialing instruction of the user, the corresponding contact information may be searched from the mobile device 100 according to the dialing instruction, so as to initiate 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 in a short distance, and a user does not need to manually input contact information in the address book of the mobile device 100 on the electronic device 200, which is beneficial to improving user experience.
The mobile device of the embodiment of the application includes but is not limited to a smart phone, a tablet computer, a wearable electronic device (such as a smart watch, a smart bracelet, a smart ring, smart glasses) with a wireless communication function, and the like. Exemplary embodiments of the mobile device include, but are not limited to, a piggy-back
Figure BDA0002925802560000111
Windows, Linux, or other operating system. The mobile device can alsoFor other portable devices such as Laptop computers (Laptop) and the like. It should also be understood that in other embodiments, the mobile device may not be a portable device, but may be a desktop computer.
Exemplarily, fig. 3 shows a hardware structure diagram of the mobile device 100 provided in the 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 (USB) interface 130, a charging 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 screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light 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 is to be understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the mobile device 100. In other embodiments of the present application, the mobile device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The charging management module 140 is configured to receive charging input from a charger. The power management module 141 is used to connect the battery 142, the charging 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 antenna 1, the antenna 2a and the antenna 2b are used for transmitting and receiving electromagnetic wave signals. Each antenna in mobile device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as 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 including 2G/3G/4G/5G wireless communication applied on the mobile device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. 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 a 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 passes the demodulated low frequency baseband signal to a 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 a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image 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 modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to the mobile device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2a or the antenna 2b, performs frequency modulation and filtering processing on 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, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic wave through the antenna 2a or the antenna 2b to radiate the electromagnetic wave.
In this embodiment, the mobile device 100 may send a message through the wireless communication module 160, which may indicate that the mobile device 100 is sharing the address book. The mobile device 100 can also receive messages sent by other electronic devices through the wireless communication module 160.
In some embodiments, antenna 1 of mobile device 100 is coupled to mobile communication module 150 and antenna 2a, antenna 2b are coupled to wireless communication module 160 so that mobile device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The mobile device 100 may implement a camera function via the ISP, camera 193, video codec, GPU, display screen 194, application processor, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the mobile device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The mobile device 100 may implement audio functions via the audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, and application processor, among others. Such as music playing, recording, etc.
Exemplarily, fig. 4 shows a hardware structure schematic diagram of the electronic device 200 provided in the 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 (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 so on.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement 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 sound box, or the like.
Processor 210 may include one or more processing units. For example: the processor 210 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. 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 an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution.
In some embodiments, processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a SIM card interface, and/or a USB interface, etc. The USB interface 230 is an interface conforming to the USB standard specification, 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, and may also be used to transmit data between the electronic device 200 and a peripheral device.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 200. In other embodiments of the present application, the electronic device 200 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charge management module 240 is configured to receive a charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger via the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive the wireless charging input through a wireless charging coil of the electronic device 200. The charging management module 240 may also supply power to the electronic device through the power management module 241 while charging the battery 242.
The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives an input of the battery 242 and/or the charge management module 240, and supplies power to 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 used to monitor parameters such as battery capacity, battery cycle number, battery state of health (leakage, impedance), etc. In some 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 charging management module 240 may be disposed in the same device.
The wireless communication function of the electronic device 200 may be implemented 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 applied to the electronic device 200, including Wi-Fi, Bluetooth (BT), wireless data transmission module (e.g., 433MHz, 868MHz, 915MHz), and the like. The wireless communication module 250 may be one or more devices integrating at least one communication processing module. The wireless communication module 250 receives electromagnetic waves via the antenna 3 or the antenna 4, performs filtering and frequency modulation processing on 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, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 3 or the antenna 4 to radiate the electromagnetic waves.
In this embodiment, 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 extend the memory capability of the electronic device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music, video, etc. are saved in the external memory card.
Internal memory 221 may be used to store one or more computer programs comprising instructions. The processor 210 may execute the above instructions stored in the internal memory 221, so as to enable the electronic device 200 to perform the method for sharing the address book provided in some embodiments of the present application, and various applications and data processing. 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, and the like. Further, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, Universal Flash Storage (UFS), and the like. In some embodiments, the processor 210 may cause the electronic device 200 to execute the method for sharing the address book provided in the embodiment of the present application, and other applications and data processing by executing instructions stored in the internal memory 221 and/or instructions stored in a memory disposed in the processor 210.
Input module 270 includes, but is not limited to, a keyboard, a touch screen (which may also be a touch screen display), a mouse, a camera, a laser pointer, 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, LED lamps, speakers, earphones, a motor generating vibration and its auxiliary devices, a heat generating device generating heat, and the like.
The electronic device 200 includes, but is not limited to, a tablet computer, a desktop computer, a portable electronic device (e.g., Laptop), a smart television (e.g., smart screen), a car computer, a smart speaker, an Augmented Reality (AR) device, a Virtual Reality (VR) device, other smart devices with a display screen, other smart devices with a speaker, and the like. Exemplary embodiments of the electronic device include, but are not limited to, a mount
Figure BDA0002925802560000151
Figure BDA0002925802560000152
Linux or other operating system portable or non-portable electronic devices.
In the embodiment of the application, the wireless communication mode between the mobile device and the electronic device includes but is not limited to BLE, Wi-Fi ware, ZigBee and the like. The wireless communication modes such as BLE and Wi-Fi aware are based on a Medium Access Control (MAC) layer of a computer network, which is also called as interaction performed by a data link layer protocol extension, and data interaction can be completely realized at the data link layer without involving upper network communication at the MAC layer. BLE is an ultra-low power consumption short-range wireless communication scheme for electronic devices, which was introduced by the bluetooth special interest group in 2016, and communication can be achieved through a MAC layer. Wi-Fi Aware network (NAN for short) is a novel Wi-Fi Mesh communication technology with low power consumption and point-to-point interconnection and intercommunication, which can bypass network infrastructure (such as Access Points (APs) or cellular networks) to realize connection communication among one-to-one, one-to-many or many-to-many devices, and can also realize communication through an MAC layer. As shown in fig. 5, the mobile device 100 may specifically complete communication with the electronic device 200 through a wireless communication manner such as BLE or Wi-Fi aware. It should be noted that this wireless communication mode is different from a common Wi-Fi connection or a bluetooth connection. Specifically, the wireless communication mode such as BLE, Wi-Fi aware, etc. can directly implement data interaction at the MAC layer of the computer network by sending the beacon frame without involving data interaction at a network layer higher than the MAC layer in the computer network. The communication between the devices realized by wireless communication modes such as BLE and Wi-Fi aware can not only improve the 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 network protocols of an upper network), but also improve the security of data interaction (data transmission of an MAC layer).
In one example, fig. 5A illustrates a schematic structure of an ultra-short-range wireless communication module and an antenna provided in an embodiment of the present application. As shown in fig. 5A, mobile device 100 may include processor 110, wireless communication module 160, antenna 2a, and antenna 2 b.
Of these, an antenna 2a (also referred to as a first antenna, such as a strong antenna) and an antenna 2b (also referred to as 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 wave radiation via the antenna 2a or the antenna 2 b. In the embodiment of the present application, a first transmission distance (for example, 10 meters, 5 meters, and the like, which may be specifically set by a user) for transmitting a signal by the antenna 2a is greater than a second transmission distance (for example, 0.2 meters, 0.3 meters, and the like, which may be specifically set by a user) for transmitting a signal by the antenna 2 b. In this embodiment, the mobile device 100 may send a message through the antenna 2b when detecting the user input, where the message is used to indicate that the mobile device 100 is sharing the address book. Therefore, the electronic devices within the second transmission distance from the mobile device 100 can receive the message, which helps to improve the security of the mobile device 100 in sharing the address book with the electronic devices. In some embodiments, the processor 110 may control the switching of the antennas 2a and 2 b. When the mobile device 100 employs the antenna 2a, 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 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 less 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 for transmitting the signal is less than or equal to a preset safety 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 plaintext. For example, the predetermined safety distance may be 50cm, 40cm, 30cm, 20cm, etc. In this way, the first message sent by the mobile device 100 can be received only when the electronic device 200 is located within a range less than or equal to the preset safety distance from the mobile device 100. In this way, the security risk is reduced (e.g., the first message is not received by other devices beyond 50cm from the mobile device 100). The user of the mobile device 100 can approach the mobile device 100 to the preset safety distance of the electronic device 200 only in the circumstance of safety, thereby improving the safety.
In another example, fig. 5B illustrates another schematic structure of an ultra-short-range wireless communication module and an antenna provided in 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 2 a. 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 module 162 may be a circuit composed of variable impedances or 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 module 162, thereby controlling the transmission distance when the antenna 2a transmits the wireless signal. For example, when the resistance value of the variable impedance circuit module 162 is the first resistance value, the transmission power of the antenna 2a is the first transmission power, and the distance that the antenna 2a transmits the wireless signal is the first transmission distance (to implement the function of a strong antenna); when the resistance value of the variable impedance circuit module 162 is the second resistance value, the transmission power of the antenna 2a is the second transmission power, and the distance that the antenna 2a transmits the wireless signal is the second transmission distance (to implement the function of the weak antenna). Wherein the first transmit power is greater than the second transmit power; the first transmission distance is greater 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 another example corresponding to fig. 5B, other descriptions related to the processor 110 and the wireless communication module 160 are the same as those described in the example corresponding to fig. 5A, and are not repeated here.
Although the mobile device 100 is illustrated as an example of the structure of the ultra-short-range wireless communication module and the antenna in fig. 5A and 5B, the electronic device 200 may 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 related to fig. 5A, and is not 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 module 252 may be a circuit or an integrated circuit composed of variable impedances, 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 module 252, thereby controlling the transmission distance of the antenna 3 when transmitting the wireless signal. For example, when the resistance value of the variable impedance circuit module 252 is the third resistance value, the transmission power of the antenna 3 is the third transmission power, and the distance that the antenna 3 transmits the wireless signal is the third transmission distance (to implement the function of a strong antenna); when the resistance value of the variable impedance circuit module 252 is the fourth resistance value, the transmission power of the antenna 3 is the fourth transmission power, and the distance that the antenna 3 transmits the wireless signal is the fourth transmission distance (to implement the function of the weak antenna). Wherein the third transmit power is greater than the fourth transmit power; the third transmission distance is greater than the fourth transmission distance. In some embodiments, the third transmission distance and the fourth transmission distance may be referred to as a third distance and a fourth distance, respectively.
In one example, for the electronic device, the fourth transmission distance of the weak antenna for transmitting the signal is less than or equal to the preset safety 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 plaintext. For example, the predetermined safety distance may be 50cm, 40cm, 30cm, 20cm, etc. In this way, the second message sent by the mobile device 100 can be received only when the mobile device 100 is located within a range less than or equal to the preset safety distance from the electronic device 200. In this way, the security risk is reduced (e.g., the second message is not received by other devices beyond 50cm from the electronic device 200).
It is to be understood that the schematic structure illustrated in one example corresponding to fig. 5A and another example corresponding to fig. 5B does not constitute a specific limitation to the wireless communication module and the 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 fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. Accordingly, the above also applies to the structure of the ultra-short-distance wireless communication module and the antenna of the electronic device 200; and will not be described in detail herein.
In some embodiments, the strong antenna and the weak antenna may share a portion of the trace, such as described in the embodiments shown in fig. 6A-6C.
Illustratively, fig. 6A-6C show three implementations of the strong and weak antennas of fig. 5A. The structure of a wireless communication module and an antenna of the mobile device 100 may also adopt three modes shown in fig. 6A to 6C. As shown in fig. 6A-6C, the strong antenna and the weak antenna may share a portion of the trace.
In the embodiment of the present application, the strong antenna and the weak antenna in the mobile device may be switched by the radio frequency switch. The weak antenna and the radio frequency switch (shown as the weak antenna in the dashed box in fig. 6A-6C) may be both physically located within the shield or the weak antenna may be located within the chip.
The weak antenna in the embodiments of the present application aims to reduce the transmission distance as much as possible. The principle of constructing a weak antenna may be:
(1) reducing the length of the antenna, thereby reducing electromagnetic waves radiated into the air;
(2) the radiation efficiency is reduced, and a part of electromagnetic wave radiation is converted into heat energy through the resistor to be consumed;
(3) reduce return loss, reflect part of the radio frequency energy back to the inside of the chip, and the like.
The specific implementation of the weak antenna may be as follows:
(i) shortening the antenna;
(ii) disconnecting a point in the strong antenna path or grounding through a resistor, an inductor or a capacitor at the point;
(iii) a shield can or the like is used.
It will be appreciated that the above described weak antenna specific implementations (i) and (ii) may be implemented on a PCB board or inside a chip.
It will also be appreciated that the shield described above 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 three weak antennas shown in fig. 6A to 6C, which are shown as the structures in the broken line boxes of fig. 6A to 6C. The strong antenna in fig. 6A to 6C is configured to connect the filter circuit (e.g., pi-type circuit), the matching circuit (e.g., pi-type circuit), and the antenna body outside the matching circuit (e.g., the antenna body may be a metal trace) through a radio frequency input/output (RFIO) pin. The weak antenna a shown by a dotted line box in fig. 6A, the weak antenna B shown by a dotted line box in fig. 6B, and the weak antenna C shown by a dotted line box in fig. 6C are different in length, but are shorter than the strong antenna. The filter circuit is used to prevent interference and the matching circuit is used to match the strong antenna.
Illustratively, as shown in fig. 6A, the weak antenna a may be located within a shielded enclosure. The weak antenna a can comprise an RFIO pin of a Wi-Fi chip in the shielding case and a first switch in the two switches (the first switch is not connected with any device). Sometimes, the weak antenna a may also include a trace between the RFIO pin and the first switch. Wherein, the two-way switch refers to a switch between a wiring or an RFIO pin and a filter circuit. The two-way switch can connect or disconnect the wiring or the RFIO pin with the filter circuit. The first switch is a switch shown in fig. 6A, connected to an RFIO pin or a trace, and disconnected from the filter circuit. It should be understood that the two-way switch in the 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 can comprise an RFIO pin of a Wi-Fi chip in the shielding case, a first switch (a first switch connecting resistor) of the two-way switch and a matching device. Sometimes, the weak antenna b may also include a first trace between the RFIO pin and the first trace switch. Sometimes, the weak antenna b may also include a second trace between the matching device and ground. The matching device may be a resistor. A part of the electromagnetic wave radiation can be converted into heat energy to be consumed through the resistance 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 wire and the resistor and between the RFIO pin or the first wire and the filter circuit, and the switch can connect the RFIO pin or the first wire with the resistor and disconnect the RFIO pin or the first wire with the resistor and connect the RFIO pin or the first wire 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. Where the matching device (e.g., 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 within the shield, a filter circuit, a first switch of a two-way switch (first switch connecting a 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. A portion of the electromagnetic wave radiation can be converted into heat energy to be consumed by grounding the matching device (e.g., a resistor), 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. Through the two switches, the filter circuit in the shielding case can be connected with the matching device and disconnected with the matching circuit outside the shielding case; alternatively, the filter circuit inside the shield can be disconnected from the matching device and communicated with the matching circuit outside the shield can. The first path of switch is used for connecting a filter circuit in the shielding case with the matching device.
It should be understood that the strong antenna in fig. 6A-6B described above may include an RFIO pin, a second of the two-way switches, a filter circuit, a matching circuit, and an antenna body external to the matching circuit. Sometimes, the strong antenna in fig. 6A-6B may also include a trace between the RFIO pin and a second of the two-way switches. The second switch is used 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-way switch, a matching circuit, and an antenna body externally connected to the matching circuit. Sometimes, the strong antenna in fig. 6C may also include traces between the RFIO pins and the filter circuit. The second switch is used for connecting a filter circuit in the shielding case with a matching circuit outside the shielding case.
It should be understood that the wireless communication module 160 shown in fig. 5A may be a Wi-Fi chip, or a Wi-Fi chip and its matching circuit. 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 its matching circuit.
The above different weak antenna structures can meet different requirements (e.g., from 10cm to 2m) of ultra-short distance communication by matching with the settings of different transmission powers (Tx powers) of the Wi-Fi chip.
Illustratively, table 1 shows the communication distances for different transmit powers for several different first antenna structures in conjunction with a Wi-Fi chip.
TABLE 1
Figure BDA0002925802560000191
Illustratively, table 2 shows the communication distances for different transmission powers when several different first antenna structures are used with a bluetooth chip.
TABLE 2
Figure BDA0002925802560000192
Illustratively, table 3 shows the communication distances of different transmission powers when several different first antenna structures are matched with the ZigBee chip.
TABLE 3
Figure BDA0002925802560000193
Due to the nature of the physical devices within the chip, the difference between the maximum and minimum transmit power of the antenna is relevant. If the minimum transmit power of the mobile device is reduced to a low level, the maximum transmit power is also reduced, which may not meet the range requirements for proper operation. In the embodiment of the application, different intelligent devices have different structures and different requirements on the safety performance of the intelligent devices, so manufacturers of the intelligent devices can adopt different first antenna structures and different transmission powers to ensure the communication distance of the intelligent devices. For example, the thickness of the smart air conditioner housing may be different for different smart air conditioner manufacturers, and then the communication distance that the smart air conditioner can find may be different under the condition that the first antenna structure is the same and the transmission power is the same. Different intelligent device manufacturers can cooperate with the structure of the first antenna and certain transmitting power according to the structure of the intelligent device, so that the discovered safety distance of the intelligent device can be 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 then 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; or, 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, the bluetooth chip, and the 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 understood that fig. 6A to 6C are the first antenna and the second antenna physically, and the mobile device may switch the first antenna and the second antenna physically through the radio frequency switch. In the embodiment of the present application, the mobile device may also have only one antenna physically, but logically includes the first antenna and the second antenna.
The mobile device may implement the logical first antenna and the second antenna by adjusting transmit power of the physical antenna. For example, when the transmission power of the physical antenna is the first transmission power, it may be considered as the logical first antenna; when the transmission power of the physical antenna is the second transmission power, the physical antenna can be considered 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 the devices inside the chip. For example, the mobile device may adjust the transmit power of the physical antenna through a multi-stage amplifier internal to the chip.
For example, the mobile device may shield the multi-stage 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 as the first antenna logically; the mobile device may also adjust the value of the register so that the transmission power of the physical antenna is the second transmission power, which may be considered to be the second logical antenna; wherein the first transmit power is less than the second transmit power.
Another possible implementation is that the mobile device may also adjust the transmit power of the physical antenna through peripheral circuitry external to the chip.
The first antenna and the second antenna referred to in 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 device switches the first antenna and the second antenna logically, and the mobile device switches the first antenna and the second antenna physically through the radio frequency switch, so that the same effect can be achieved.
It should be noted that, although the structures of the strong antenna and the weak antenna in fig. 6A to 6C are illustrated by taking the mobile device 100 as an example, 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 related to fig. 6A-6C, and is not repeated here.
In connection with the above example, the first distance is 5 meters and the second distance is 0.3 meters as an example. 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 a 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 a 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 transmit power at the first 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 first distance (e.g., the electronic device 200 is located at position 1 shown in fig. 7); when the antenna of the mobile device 200 is configured to transmit at the second 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 practice, the accuracy of the first distance and the second distance is not so accurate, and a certain error may exist. This allows the first distance or the second distance to exhibit a range in actual operation, rather than an accurate numerical distance. In addition, under different circumstances, even with the same antenna and the same transmission power, a difference in the first distance and a difference in the second distance may occur.
Three embodiments of the method for sharing an address book according to the embodiment of the present application are described below with reference to fig. 8A to 10B. In the embodiment of the present application, the address book shared by the mobile device may be an address book (for example, a contact) carried by the mobile device; the address book may also be an address book under an application program (e.g., WeChat, QQ, etc.) in the mobile device, which is not specifically limited in this embodiment.
Example one
Fig. 8A-8B are schematic flow charts illustrating a method for sharing an address book according to an embodiment of the present application. Fig. 8A-8B illustrate how the electronic device and the mobile device may implement a process for registering the mobile device with a contact book agent of the electronic device without establishing a connection. As shown in fig. 8A, the method for sharing an address book includes:
s801 and 801a, in response to receiving the first input, the mobile device sends a first message through the second antenna, where the first message includes indication information that may be used to indicate that the mobile device is sharing the address book.
Specifically, the second antenna is the weak antenna described above.
In one embodiment, the mobile device may enable, via the radio frequency switch, the physical second antenna in response to receiving the first input; alternatively, the mobile device may enable the second antenna on the logic through a register internal to the chip.
In one embodiment, as shown in fig. 12 (b), the first input may be that the mobile phone detects an operation of sharing the address book by the user.
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 the mobile device 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 the surrounding devices, where the subscription frame is used to query the surrounding devices that provide the shared address book service); or, 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 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 (BLE) technology.
Illustratively, the first message may be a Wi-Fi aware frame in Wi-Fi aware technology. The Wi-Fi aware frame can be a Follow-up frame, a publish frame or a subscribe frame. The indication may be carried in a payload field in a Follow-up frame, in a vendor specific attribute of a publish frame, or in a vendor specific attribute of a subscribe frame.
In one embodiment, when the mobile device sends the first message through the first antenna, the user may be prompted (by voice or text) to bring the mobile device close to the device that needs to share the address book. Illustratively, as shown in FIG. 12 (c), the handset may prompt the user via a prompt box 1204 to "please bring the handset close to the device that needs to share the handset address book! ".
S802a, 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.
If the electronic device is not located within the transmission 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 including information for establishing a connection with the mobile device.
In one embodiment, the electronic device transmits the second message via a fourth antenna.
In particular, the fourth antenna may be the weak antenna described above.
Illustratively, the electronic device may enable, via the radio frequency switch, the fourth antenna in response to receiving the first message; alternatively, the electronic device may enable the fourth antenna through a register internal to 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. Illustratively, as shown in (d) in fig. 12, when the smart tv receives a first message sent by the cell phone, the smart tv may prompt the user by voice that "the cell phone is sharing the address book".
In one embodiment, the second message may be for a bluetooth paired 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 over the ultra-short distance, where the another beacon frame includes information for performing bluetooth pairing connection with the mobile device.
For example, for legacy pairing (legacy pairing), the electronic device may send the key Passkey to the mobile device over an ultra-short distance. The mobile device and the electronic device may generate a Temporary Key (TK) through Passkey, thereby performing identity authentication using the TK. Or the electronic equipment can also send the TK to the mobile equipment through the ultra-short distance, and then the mobile equipment and the electronic equipment can directly use the TK for identity authentication.
It should be understood that the process of computing TK by Passkey and authenticating identity by TK can 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 authentication. Or, the electronic device may further send the device address (B), the random number (rb) and the confirmation value (Cb) of the electronic device to the mobile device through the ultra-short distance, and the mobile device and the electronic device may perform identity authentication using the device address, the random number and the confirmation value of the electronic device.
It should be understood that the process of authentication by Passkey and authentication by device address, random number and confirmation 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, as the transmission distance of the electronic equipment is within the safe distance, the transmitted data cannot be attacked by eavesdropping threat and man-in-the-middle attack, so that the electronic equipment can send Passkey, TK or other information for identity authentication in a clear text manner, and the Passkey, TK or other information for identity authentication is used for traditional pairing or safe connection pairing. Therefore, the process of out-of-band transmission and the process of inputting Passkey or comparing numerical values by a user are omitted, and the user experience is improved while the safety is ensured.
In one embodiment, the second message may be used 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 sends an encryption key via the fourth antenna (or, alternatively, a third antenna at a fourth transmit power), which may be a symmetric encryption key for the mobile device and the electronic device. Illustratively, the encryption key may be a 128-bit secure random number that is 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 at the fourth transmission power), and the verification key can be used for verifying the validity of the registration address book request sent by the mobile device. Illustratively, the verification key may be a 128-bit secure verification key, a registerKey, generated by the electronic device.
In the embodiment of the application, the electronic equipment can send the verification key to the mobile equipment, and the verification key is invalid after being verified once, so that the verification key obtained when the mobile equipment approaches the electronic equipment is intelligently registered once, and the registration validity is ensured; meanwhile, the electronic equipment can be prevented from being attacked.
In one embodiment, the method further comprises: the electronic device sends a directory 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 a directory registration service port (port) number.
S804a, the mobile device establishes a 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, and the beacon frame includes Passkey, the mobile device may pair with the electronic device using 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 the third antenna at the 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 (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 that the mobile device be registered with an address book agent of the electronic device.
In one embodiment, the register 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 encryption key is not included in the second message, the mobile device may send the request for registering the address book 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 request for registering the address book encrypted by the encryption key to the electronic device through the second antenna.
In one embodiment, the mobile device may be switched from the second antenna to the first antenna after the mobile device and the electronic device establish a connection. Then, the mobile device may also send a registration address book request encrypted by the encryption key to the electronic device through the first antenna.
In one embodiment, if the second message includes the check key, the mobile device may also carry the check key in the registration address book request. When the electronic equipment receives a request for registering the address book sent by the mobile equipment, the validity of the request for registering the address book can be verified through the verification key carried in the request.
After receiving the address book registration request sent by the mobile device, the electronic device may register the mobile device with an address book agent of the electronic device.
S806a, the electronic device sends a register address book response to the mobile device, the register address book response indicating that the mobile device has successfully registered with the address book agent of the electronic device.
It should be understood that, in the embodiment of the present application, the electronic device registering the mobile device in the address book agent of the electronic device may be understood that, when the electronic device receives a dialing request of a user, the electronic device may query the mobile device for corresponding contact information without querying contact information in a 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 register address book response to the mobile device via the fourth antenna.
In one embodiment, if the second message includes an 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. The electronic device may then also send a registration address book response encrypted with the encryption key to the mobile device via the third antenna.
Taking the mobile device as a mobile phone and the electronic device as a smart phone as an example, the description will be further described with reference to fig. 12 and 13.
Fig. 12 is a set of Graphical User Interfaces (GUIs) provided in embodiments of the present application.
Referring to the GUI shown in (a) of fig. 12, the GUI is a desktop of a mobile phone, wherein the desktop of the mobile phone includes icons of a plurality of applications, such as 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 starting 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 the address book application of the mobile phone. The display includes information for 3 contacts (e.g., dad, mom, and sister) and controls 1201. When the mobile phone detects an operation of clicking a control 1201 by a user, the mobile phone may display a function list 1202, where the function list 1202 includes a plurality of functions (e.g., scanning a business card, sharing an address book, and setting). When the mobile phone detects an operation of the user clicking the control 1203 for sharing the address book, the mobile phone may display a GUI as shown in (c) in fig. 12.
Referring to the GUI shown in (c) of fig. 12, 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 second antenna, where the prompt box 1204 includes a prompt message "please bring the mobile phone close to a device that needs to share the address book |)! ", the first message is used to indicate that the handset is sharing the address book.
As shown in (d) of fig. 12, the smart tv is currently playing a video. After the user sees the prompt message on the mobile phone, the mobile phone can be close to the device needing to share the mobile phone address book (for example, if the user wants to share the mobile phone address book to the smart television, the user can close the mobile phone to the smart television). When the mobile phone and the smart television are within a preset distance, the smart television receives a first message sent by the mobile phone. Optionally, in response to receiving the first message by the smart tv, the smart tv prompts the user by voice that "the mobile phone is detecting that the address book is being shared". The smart television may transmit 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 connection between the mobile phone and the smart television is established, the mobile phone can send a request for registering the address book to the smart television.
As shown in (e) in fig. 12, in response to receiving the address book registration request of the mobile phone, the smart television may send a address book registration response to the mobile phone and may prompt the user to "you can use the address book of the mobile phone on the smart television with the address book proxy of the smart television that has registered the mobile phone.
In one embodiment, when the smart television receives the first message sent by the mobile phone, the smart television 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 cell phone 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 cell phone through the third antenna. Or, when the smart television and the mobile phone establish connection, the smart television can send information to the mobile phone through the third antenna under the third transmission power.
Fig. 13 is a set of GUIs provided in embodiments of the present application.
Referring to (a) in fig. 13, when the mobile phone and the smart television are within a preset distance, the smart television receives a first message sent by the mobile phone. In response to receiving the first message, the smart tv displays a prompt box 1301. The prompt box 1301 includes a prompt message "detect that the mobile phone is sharing the address book, please keep the mobile phone close to the smart television". The smart television can also establish connection with the mobile phone, so that the mobile phone is registered to the address book agent of the smart television.
Referring to (b) in fig. 13, when the smart tv registers the mobile phone with the address book agent of the smart tv, the smart tv may display a prompt box 1302, wherein the prompt box 1302 includes a prompt message "the mobile phone has been registered with the address book agent of the smart tv, the mobile phone does not need to approach the smart tv |)! ". After seeing the prompt message, the user can keep the mobile phone away from the smart television.
In one embodiment, when the smart television registers the mobile phone with the address book agent of the smart television, the smart television may send a register address book response to the mobile phone. In response to receiving the address book registration 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 a registration address book response sent by the smart television, the mobile phone may send information to the smart television through the first antenna at the first transmission power.
Fig. 8B shows 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 the address book shown in fig. 8B is substantially the same as the flow of the method for sharing the address book shown in fig. 8A, and the differences are only two differences between S801B and S801a, and between S802B and S802 a. And the difference between the two points is that the first antenna at the second transmitting power is replaced by the second antenna. The principle has been elucidated in the introduction of fig. 5B. Therefore, the process of the method for sharing the address book shown in fig. 8B is not described herein again.
Example two
The present application further provides an embodiment two. In the second embodiment, how to register the mobile device to the address book agent 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 to the address book agent 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 disclosure. As shown in fig. 9A, the method for sharing an address book includes:
s901a, the mobile device and the electronic device establish a connection.
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 an 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 should 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 a first message through the second antenna in response to receiving the first input, the first message including indication information, the indication information being usable for indicating that the mobile device is sharing the 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 that the mobile phone detects an operation of sharing the address book by the user.
In one embodiment, the mobile device may also prompt the user to bring the mobile device closer to the electronic device when the mobile device transmits the first message via the second antenna. Illustratively, as shown in fig. 14 (b), 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 bring the mobile phone close to the smart tv".
S903a, when the electronic device is located within the transmission distance of the second antenna of the mobile device, the electronic device receives the first message 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.
S904a, the electronic device sends a third message to the mobile device in response to receiving the first message, the third message indicating that the electronic device has established a connection with the mobile device.
In one embodiment, the electronic device may determine that the electronic device has established a connection with the mobile device before sending the third message to the mobile device.
In one embodiment, the electronic device may send the third message to the mobile device through the fourth antenna.
In particular, 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, and the verification key may be used for validity verification of the registration address book request sent by the mobile device by the electronic device. Illustratively, the verification key may be a 128-bit secure verification key, a 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. Illustratively, as shown in (c) in fig. 14, when the smart tv receives a first message sent by the cell phone, the smart tv may prompt the user by voice that "the cell phone is sharing the address book".
S905a, in response to receiving the third message, the mobile device sends a register address book request to the electronic device, where the register address book request is used to request that the mobile device be registered to an address book agent of the electronic device.
S906a, the electronic device sends a register address book response to the mobile device, the register address book response indicating that the mobile device has successfully registered with the address book agent of the electronic device.
It should be understood that the processes of S905a-S906a can refer to the processes of S805a-S806a, which are not described herein again.
Taking the mobile device as a mobile phone and the electronic device as a smart phone as an example, the description will be further described with reference to fig. 14.
Referring to the GUI shown in (a) of fig. 14, the GUI is a display interface of an address book application of a mobile phone. The display includes information for 3 contacts (e.g., dad, mom, and sister) and controls 1401. When the mobile phone detects an operation of clicking the control 1401 by the user, the mobile phone may display a function list 1402, where the function list 1402 includes a plurality of functions (e.g., name card scanning, address book sharing, and setting). When the mobile phone detects an operation of the user clicking 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 of 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 television and please bring the mobile phone close to the smart television", and the first message is used to indicate that the mobile phone is sharing the address book.
After the user sees the prompt message on the mobile phone, the mobile phone can be close to the smart television. When the mobile phone and the smart television are within a preset distance, the smart television receives a first message sent by the mobile phone. At this point, the smart phone may send the third message to the handset upon determining that a connection has been established with the handset. Therefore, the mobile phone is registered to the address book agent of the intelligent television.
Fig. 9B shows 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 for sharing an address book shown in fig. 9B is substantially the same as that of the method for sharing an address book shown in fig. 9A, and the differences are only two differences between S902B and S902a, and between S903B and S903 a. And the difference between the two points is that the first antenna at the second transmitting power is replaced by the second antenna. The principle has been elucidated in the introduction of fig. 5B. Therefore, the process of the method for sharing the address book shown in fig. 8B is not described herein again.
EXAMPLE III
The application also provides an embodiment three. In the third embodiment, how to register the mobile device with the address book agent of the electronic device 2 is implemented in the case that the mobile device has established a connection with the electronic device 1 is described. Fig. 10A-10B are schematic flowcharts of a method for sharing an address book according to an embodiment of the present disclosure. 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 contact book agents that have established a connection and the electronic device 1 has registered the mobile device to the electronic device 1, or the mobile device and the electronic device 1 may also be contact book agents that have established a connection and the electronic device 1 has not registered the mobile device to the electronic device 1.
S1002a, the mobile device sends a first message through the second antenna in response to receiving the first input, the first message including indication information, which may be used to indicate that the mobile device is sharing the address book.
It should be understood that the process of S801a may be referred to as S1002a, and will not be described herein.
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 agent of the electronic device 1, when the mobile device sends the first message through the first antenna, the mobile device may further prompt the user to bring the mobile device close to the new electronic device. For example, as shown in fig. 15 (b), the mobile phone has registered with the address book agent of the smart speaker, and when the mobile phone detects an operation of sharing the address book by the user, the mobile phone may prompt the user through a prompt box 1501 to "the mobile phone has registered with the address book agent of the smart speaker, please bring the mobile phone close to a new device".
S1003a, when the electronic device 2 is located within the transmission distance of the second antenna of the mobile device, receives the first message, and knows that the mobile device is sharing the address book.
It should be understood that the process of S802a may be referred to as S1003a, and is not described herein.
S1004a, the electronic device 2 sends a second message including information for establishing a connection with the mobile device.
It should be understood that the process of S803a may be referred to as S1004a, and will not be described herein.
S1005a, in response to receiving the second message, the mobile device and the electronic device 1 are disconnected.
In the embodiment of the application, if the mobile device and the electronic device 1 have established 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 from the electronic device 1; alternatively, the mobile device may disconnect from the electronic device 1 when the mobile device receives the 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 the process of S804a may be referred to as S1006a, and will not be described herein.
It should also be understood that there is no actual sequencing between S1005a and S1006 a.
In one embodiment, when the mobile device is disconnected from electronic device 1 and connected to electronic device 2, the mobile device may also prompt the user that the mobile device has been disconnected from electronic device 1 and connected to electronic device 2.
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 that the mobile device be registered with the address book agent of the electronic device 2.
S1008a, the electronic device 2 sends a register address book response to the mobile device, the register address book response indicating that the mobile device has successfully registered with the address book agent of the electronic device 2.
It should be understood that the processes of S1007a-S1008a can refer to the processes of S805a-S806a, which are not described herein again.
In one embodiment, as shown in fig. 15 (e), when the mobile phone receives the address book registration response sent by the smart tv, the mobile phone may prompt the user that the mobile phone has registered with the address book agent of the smart tv through a prompt box 1506.
Taking the mobile device as a mobile phone, the electronic device 1 as a smart speaker, and the electronic device 2 as a smart phone, for example, it is further described with reference to fig. 15.
As shown in fig. 15 (a), the handset and the smart speaker have established a connection and the handset has successfully registered with the address book agent of the smart speaker. The address list display interface of the mobile phone comprises a prompt message that the mobile phone has registered the address list agent of the intelligent sound box.
As shown in fig. 15 (b), when the mobile phone detects an operation of clicking a control 1502 by a user, the mobile phone may display a function list 1503, where the function list 1503 includes a plurality of functions (e.g., name card scanning, address book sharing, and setting). When the mobile phone detects an operation of the user clicking the control 1504 for sharing the address book, the mobile phone may display a GUI as shown in (c) of fig. 15.
As shown in fig. 15 (c), when the mobile phone detects the operation of sharing the address book by the user, the mobile phone may send a first message to the peripheral devices and prompt the user to "the mobile phone has registered with the address book agent of the smart speaker, please bring the mobile phone close to the new device" through the prompt box 1505.
As shown in (d) of fig. 15, when the distance between the mobile phone and the smart television is less than or equal to the preset distance, the smart television may receive the first message sent by the mobile phone. The smart television can send a second message to the mobile phone. In response to receiving the second message, the mobile phone may disconnect from the smart speaker and establish a connection with the smart television.
As shown in (e) in fig. 15, after the smart tv and the mobile phone establish a connection, the mobile phone may send a request for registering the address book to the smart tv. After the smart television registers the mobile phone to the address book agent of the smart television, the smart television can send a registered address book response to the mobile phone, so that the mobile phone is registered to the address book agent of the smart television. When the mobile phone receives the address book registration response, the mobile phone may prompt the user through the prompt box 1506 that the mobile phone has registered with the address book agent of the smart tv.
Fig. 10B shows another schematic flowchart of a method for sharing an address book according to an embodiment of the present disclosure. 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 for sharing the address book shown in fig. 10B is substantially the same as that of the method for sharing the address book shown in fig. 10A, and the differences are only two differences between S1002B and S1002a, and between S1003B and S1003 a. And the difference between the two points is that the first antenna at the second transmitting power is replaced by the second antenna. The principle has been elucidated in the introduction of fig. 5B. Therefore, the process of the method for sharing the address book shown in fig. 8B is not described herein again.
In the above, three embodiments of the method for sharing an address book provided by the embodiment of the present application are described, and a process that the electronic device initiates a call after registering the mobile device to an address book agent 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 instruction of a user, and the voice instruction is used for calling a first contact.
Illustratively, as shown in fig. 16 (a), the smart television receives a user's voice command "talk with mom's video".
The smart device may include an Automatic Speech Recognition (ASR) module, a Natural Language Processing (NLP) module, and an intent processing module. The ASR module is used for receiving a voice instruction of a user, converting the voice instruction of the user into text information and sending the text information to the conversation NLP module. The NLP module is used for receiving the character information sent by the ASR module and analyzing the character information. Wherein, the NLP module can parse the text information into the user's intention and slot position information related to the user's intention. Taking the voice instruction "call mom" sent by the user as an example, the NLP module may analyze the contents shown in table 4.
TABLE 4
Intention (intent) Video call "
Slot position (slot) The call target is 'mom'
The intention processing module is used for receiving the user intention analyzed by the NLP module and the slot position information related to the intention, 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 command, the electronic equipment sends a number query request to the mobile equipment, wherein the number query request is used for requesting a contact number corresponding to the first contact person.
In one embodiment, the query number request includes information for 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 a directory service port number of the mobile device.
For example, if the electronic device is of an Android system, the electronic device may carry an 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 electronic device may refer to the description in the above embodiment for determining the user's intention and the slot position information according to the voice instruction. 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 user's intent according to the user's voice instruction.
S1103, in response to receiving the number query request, the mobile device sends a number query response to the electronic device, where the number query response includes a contact number of the first contact.
After receiving a number query request sent by the electronic device, the mobile device may query a contact number corresponding to the first contact in the address list according to the information of the first contact carried in the request, and send the contact number carried in a 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 encrypted with the encryption key 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 encrypted by the encryption key to the electronic device via the second antenna.
And 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 the electronic equipment receives the inquiry number response sent by the mobile equipment, the electronic equipment 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., wye open call ID). The account number of the social App corresponding to the mobile phone number is stored in the address book of the mobile device, so that the mobile device can carry the account number information of the social App corresponding to the mobile phone number in a query number response and send the query number response to the electronic device. And after receiving the inquiry number response, the electronic equipment initiates a call to the account of the social App.
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 inquire 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 use the address book of the mobile device to initiate a call to a contact on any electronic device (for example, use the address book of a mobile phone to initiate a high-definition video call on a smart television). The user is not required to add the contact person through the application program on the mobile equipment, and the user is not required to manually add the contact person on the electronic equipment, so that 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 facilitated to be improved.
Taking the mobile device as a mobile phone and the electronic device as a smart phone as an example, the description will be further described with reference to fig. 16.
As shown in fig. 16 (a), the user issues a voice instruction "to the smart tv to make a video call with mom". In response to receiving a voice instruction of the 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 can be received.
It should be understood that, as in (b) of fig. 16, the distance between the smart tv and the mobile phone is short, 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 not woken up, so that the mobile phone can not respond to the voice command in the environment.
In one embodiment, after the mobile phone receives the response of the registered address book sent by the smart television, the voice assistant function can be stopped. Then, after the user sends the voice instruction to talk with the mom video, the smart television can respond to the voice instruction, and the mobile phone does not respond to the voice instruction.
In one embodiment, the smart television may request the contact number of the contact mom from the mobile phone through the fourth antenna. In response to the request of the smart television, the mobile phone can query the contact number of the contact mom 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 smart television initiates a call to the contact number.
As shown in fig. 16 (b), after the contact mom answers the call, the user can make a video call with mom.
In the process shown in fig. 16, the mobile phone may always use the second antenna to transmit information to the smart tv. Therefore, only when the intelligent equipment and the mobile phone are located within the preset safety distance, the intelligent equipment can receive the information sent by the mobile phone, and the safety of the personal privacy of the user is guaranteed.
In one embodiment, when the mobile phone is in an unlocked state and the distance between the mobile phone and the smart television is less 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 when the distance between the mobile phone and the smart television is greater than the preset distance, the mobile phone can stop sharing the address list of the mobile phone to the smart television.
In one embodiment, the smart television can request the contact number of the contact mom from the mobile phone 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 mom 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 in the present application may be freely and arbitrarily combined with each other. The combined technical solution is also within the scope of the present application.
The method for sharing the address book provided by the embodiment of the application is suitable for the following mobile equipment and electronic equipment.
Fig. 17 illustrates a mobile device 100 provided in the present application. By way of example, the mobile device 1700 includes at least one processor 1710, memory 1720, and a display 1730. The processor 1710 is coupled to the memory 1720 and the display 1730, and the coupling in this embodiment may be a communication connection, an electrical connection, or another form. In particular, memory 1720 is used to store program instructions. The display screen 1730 is used to display a user interface. The processor 1710 is configured to call the program instructions stored in the memory 1720, so that the mobile device 1700 performs the 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 understood that the mobile device 1700 may be used to implement the method for sharing an address book provided in the embodiment of the present application, and reference may be made to the above for related features, which are not described herein again.
In some embodiments, when the display screen has a touch function, the display screen is also referred to as a touch display screen. The operation on the touch display screen can be realized by virtual keys. When the display screen does not have a touch function, the display screen is also called a non-touch display screen. The operation on the non-touch display screen can be realized by physical keys.
The present application provides a computer program product containing instructions, which when run on a mobile device, causes the mobile device to perform the steps performed by the mobile device in the method for sharing an address book provided in the embodiments of the present application.
The application provides a computer-readable storage medium, which includes instructions that, when executed on a mobile device, cause the mobile device to perform the steps performed by the mobile device in the method for sharing an address book provided in the embodiment of the application.
Those skilled in the art will readily appreciate that the embodiments of the present application may be implemented in hardware, or in both hardware and software. When implemented using hardware and software, the above-described functions may be stored in a computer-readable medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
Fig. 18 illustrates an electronic device 1800 according to the present application. By way of example, the electronic device 1800 includes at least one processor 1810, memory 1820, and a display 1830. The processor 1810 is coupled to the memory 1820 and the display 1830, and in this embodiment, the coupling may be a communication connection, an electrical connection, or another form. In particular, the memory 1820 is used to store program instructions. The display 1830 is used to display a user interface. The processor 1810 is configured to call the program instructions stored in the memory 1820, so that the electronic device 1800 performs the steps performed by the electronic device in the method for sharing an address book provided in the embodiment of the present application. It should be understood that the electronic device 1800 may be used to implement the method for sharing an address book provided in the embodiments of the present application, and reference may be made to the above for related features, which are not described herein again.
In some embodiments, when the display screen has a touch function, the display screen is also referred to as a touch display screen. The operation on the touch display screen can be realized by virtual keys. When the display screen does not have a touch function, the display screen is also called a non-touch display screen. The operation on the non-touch display screen can be realized by physical keys.
The present application provides a computer program product containing instructions, which when run on an electronic device, causes the electronic device to perform the steps performed by the electronic device in the method for sharing an address book provided in the embodiments of the present application.
The application provides a computer-readable storage medium, which includes instructions that, when executed on an electronic device, cause the electronic device to perform the steps performed by the electronic device in the method for sharing an address book provided in 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 implementation. 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 can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into 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 such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by 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 (30)

1. A communication system, characterized in that the system comprises a mobile device and an electronic device, the mobile device 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 mobile device to broadcast a first message over 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 used for receiving the first message when the distance between the electronic device and 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 used for establishing 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 to an address book agent 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 to an address book proxy of the electronic device.
2. A communication system, the system comprising a mobile device and an electronic device, the mobile device comprising an antenna, the antenna having a first transmission power and a second transmission power, the first distance being greater than the second distance;
the mobile device, configured to broadcast, in response to receiving a first input, a first message through the antenna at the second transmit power, the first message indicating that the mobile device is sharing an address list;
the electronic device is used for receiving the first message when the distance between the electronic device and 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 used for establishing 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 to an address book agent of the electronic 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 to indicate that the mobile device has successfully registered with an address book agent of the electronic device.
3. The system according to claim 1 or 2, wherein the electronic device comprises a third antenna and a fourth antenna, wherein the third antenna has a transmission distance of a third distance, the fourth antenna has a transmission distance of a fourth distance, and the third distance is greater than the fourth distance; wherein the third antenna and the fourth antenna are different antennas;
the electronic device is specifically configured to: in response to receiving the first message, broadcasting the second message through the fourth antenna;
the mobile device is further used for receiving the second message when the 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 safe distance is a safe distance at which 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, wherein the antenna transmits at a third transmission power a third distance, and transmits at a fourth transmission power a fourth distance, and wherein the third distance is greater than the fourth distance;
the electronic device is specifically configured to: in response to receiving the first message, broadcasting the second message through the antenna at the fourth transmit power;
the mobile device is further used for receiving the second message when the 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 safe distance is a safe distance at which 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 the connection with the mobile device.
7. The system according to any one of claims 1 to 6, wherein the second message further comprises an encryption key, the mobile device being specifically configured to: and sending a registration address book request encrypted by the encryption key to the electronic equipment.
8. The system according to any one of claims 1 to 7, wherein the second message further comprises a verification key, wherein the registration address book request comprises the verification key,
the electronic device is specifically configured to: in response to receiving the address book registration request, verifying the address book registration request according to the verification key;
and after the request for registering the address book is successfully verified, sending a response of the registering address book to the mobile equipment.
9. The system of any one of claims 1 to 8, wherein the electronic device is further configured to send a query number request to the mobile device in response to receiving a voice instruction of a user, the query number request requesting a contact number of a first contact, the voice instruction being used to call the first contact;
the mobile device is further used for responding to the received inquiry number request and sending an inquiry number response to the electronic device, wherein the inquiry number response comprises the contact number of the first contact;
the electronic equipment is further used for initiating a call according to the contact number of the first contact person.
10. The system according to any one of claims 1 to 9, wherein the mobile device is further configured to disconnect the electronic device when the distance to the electronic device is greater than or equal to a preset distance.
11. The system according to any one of claims 1 to 10, wherein said mobile device is further configured to establish a connection with another electronic device before establishing a connection with said electronic device;
the mobile device is specifically configured to: in response to receiving the second message, disconnecting from and establishing a connection with the other electronic device.
12. The method for sharing the address book is applied to mobile equipment, the mobile equipment comprises a first antenna and a second antenna, the transmitting distance of the first antenna is a first distance, the transmitting 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 comprises the following steps:
the mobile device broadcasts a first message through the second antenna 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 used for establishing connection with the mobile device;
the mobile equipment establishes connection with the electronic equipment according to the second message;
the mobile equipment sends a registration address book request to the electronic 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 mobile equipment receives a registration address book response sent by the electronic equipment, wherein the registration address book response is used for indicating that the mobile equipment is successfully registered to an address book agent of the electronic equipment.
13. A method for sharing an address book is applied to a mobile device, wherein the mobile device comprises an antenna, the transmission distance of the antenna under a first transmission power is a first distance, the transmission distance of the antenna under a second transmission power is a second distance, and the first distance is greater than the second distance; the method comprises the following steps:
the mobile device, in response to receiving a first input, broadcasting a first message through the antenna at the second transmit power, the first message indicating that the mobile device is sharing an address list;
the mobile device receives a second message sent by the electronic device, wherein the second message comprises information used for establishing connection with the mobile device;
the mobile equipment establishes connection with the electronic equipment according to the second message;
the mobile equipment sends a registration address book request to the electronic 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 mobile equipment receives a registration address book response sent by the electronic equipment, wherein the registration address book response is used for indicating that the mobile equipment is successfully registered to an address book agent of the electronic equipment.
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 according to any one of claims 12 to 14, 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, by the electronic device, the registration address book request sent by the mobile device.
16. The method according to any one of claims 12 to 15, further comprising:
the mobile equipment receives a query number request sent by the electronic equipment, wherein the query number request is used for requesting a contact number of a first contact person;
and the mobile equipment responds to the received inquiry number request and sends an inquiry number response to the electronic equipment, wherein the inquiry number response comprises the contact number of the first contact person pair.
17. The method according to any one of claims 12 to 16, further comprising:
and when the distance between the electronic equipment and the mobile terminal is larger than or equal to the preset distance, disconnecting the electronic equipment from the mobile terminal.
18. The method according to any one of claims 12 to 17, further comprising:
before establishing connection with the electronic device, the mobile device establishing connection with another electronic device;
disconnecting the connection with the other electronic device in response to receiving the second message.
19. The method for sharing the address book is characterized in that the method is applied to electronic equipment; the method comprises the following steps:
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 list;
in response to receiving the first message, the electronic device sending a second message, the second message including information for establishing a connection with the mobile device;
the electronic equipment and the mobile equipment establish connection;
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 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 agent 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 transmission distance of a third distance, wherein the fourth antenna has a transmission distance of a fourth distance, wherein the third distance is greater than the fourth distance, and wherein the third antenna and the fourth antenna 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 via the fourth antenna;
wherein the fourth distance is less than or equal to a preset safety distance; the preset safe distance is a safe distance at which the mobile equipment and the electronic equipment can exchange secret information in a plaintext mode.
21. The method of claim 20, further comprising:
switching from the fourth antenna to the third antenna upon establishing a connection with the mobile device.
22. The method of claim 19, wherein the electronic device comprises an antenna, wherein the antenna transmits at a third transmit power a third distance, wherein the antenna transmits at a fourth transmit power a fourth distance, 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 broadcasting 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 safe distance is a safe distance at which the mobile equipment and the electronic equipment can exchange secret information in a plaintext mode.
23. The method of claim 22, further comprising:
switching the transmit power of the antenna from the fourth transmit power to the third transmit power when establishing a connection with the mobile device.
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 register 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 according to any of claims 19 to 24, wherein the second message further comprises a verification key, wherein the registration address request comprises the verification key,
the electronic device sends a registration address book response to the mobile device, including:
in response to receiving the address book registration request, verifying the address book registration request according to the verification key;
and after the request for registering the address book is successfully verified, sending a response of the registering address book to the mobile equipment.
26. The method of any one of claims 19 to 25, further comprising:
the electronic equipment responds to a received voice instruction of a user and sends a number inquiry request to the mobile equipment, wherein the number inquiry 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;
and the electronic equipment initiates a call according to the contact number of the first contact.
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 one of claims 12 to 18; alternatively, the instructions, when executed on an electronic device, cause the electronic device to perform the method of any of claims 19 to 26.
30. A computer program product comprising instructions which, when run on a mobile device, cause the mobile device to perform the method of any one of claims 12 to 18; alternatively, the computer program product, when run on an electronic device, causes the electronic device to perform the method of any 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 true CN114844974A (en) 2022-08-02
CN114844974B 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 (3)

* 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
US20160142913A1 (en) * 2014-11-18 2016-05-19 Motorola Mobility Llc Methods and apparatus for content sharing between multiple mobile electronic devices
CN112153721A (en) * 2020-08-05 2020-12-29 华为技术有限公司 Wireless routing equipment access method and wireless routing equipment

Family Cites Families (5)

* 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
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 (3)

* 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
US20160142913A1 (en) * 2014-11-18 2016-05-19 Motorola Mobility Llc Methods and apparatus for content sharing between multiple mobile electronic devices
CN112153721A (en) * 2020-08-05 2020-12-29 华为技术有限公司 Wireless routing equipment access method and wireless routing equipment

Also Published As

Publication number Publication date
CN114844974B (en) 2023-08-22
WO2022161143A1 (en) 2022-08-04
WO2022161143A9 (en) 2022-09-22

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
EP4199432A1 (en) Household device control method and device
WO2021052178A1 (en) Wi-fi connection method and device
CN111010693B (en) Method for providing wireless fidelity network access service and electronic equipment
CN114499587B (en) Audio synchronization communication method, system, wireless earphone, terminal and storage medium
US20150065053A1 (en) Method of controlling short-range wireless communication and apparatus supporting the same
CN113660650B (en) Method and related device for device reconnection
WO2022143031A1 (en) Identity authentication method, electronic device, and computer readable storage medium
CN114285683B (en) Method and equipment for configuring household equipment in batches
CN113038627B (en) File sharing method, mobile device and computer storage medium
CN116114239A (en) Volume management method and electronic equipment
CN113365274B (en) Network access method and electronic equipment
CN113518331A (en) Communication method and device
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
CN112469014A (en) Method and electronic equipment for configuring Bluetooth connection parameters
CN114844732B (en) Conference access method and electronic equipment
EP3763141A1 (en) System, method and processor-readable storage media cellular extension on a datalink layer communication channel
US11979251B2 (en) Home device control method and device
EP4203409A1 (en) Method and devices for configuring device
CN114466339B (en) Bluetooth pairing method, system, storage medium and chip
CN114268896B (en) Configuration method of combined sound box, sound box and electronic equipment
CN116866098A (en) Equipment login method, electronic equipment and system
CN117098253A (en) Networking method and device

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