CN117938559A - Communication method and electronic equipment - Google Patents

Communication method and electronic equipment Download PDF

Info

Publication number
CN117938559A
CN117938559A CN202211311612.3A CN202211311612A CN117938559A CN 117938559 A CN117938559 A CN 117938559A CN 202211311612 A CN202211311612 A CN 202211311612A CN 117938559 A CN117938559 A CN 117938559A
Authority
CN
China
Prior art keywords
electronic device
user
group
target
card
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.)
Pending
Application number
CN202211311612.3A
Other languages
Chinese (zh)
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 CN202211311612.3A priority Critical patent/CN117938559A/en
Publication of CN117938559A publication Critical patent/CN117938559A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a communication method and electronic equipment, and relates to the technical field of terminals. The first electronic equipment can acquire the equipment information of the electronic equipment positioned near the group member in the displayed group card and display the corresponding equipment identification. Thus, the user can select the second electronic equipment positioned near the target group member to be communicated to communicate, and the use experience of the user is improved. The method comprises the following steps: the first electronic device displays a first group of cards having a first identification of a plurality of group members displayed thereon. After detecting the operation of the user on the target identifier in the first identifier, the first device information of the second electronic device near the target group member corresponding to the target identifier can be obtained. Then, the first device identification of the second electronic device may be displayed on the target identification according to the first device information.

Description

Communication method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a communication method and electronic equipment.
Background
With the development of terminal technology, more and more electronic devices are owned by users. In a home scene, various devices (such as audio and video devices, lighting system devices, environment control devices and the like) in the home are connected together through the internet of things technology to form an intelligent home system, so that multiple functions such as home appliance control and lighting control are provided for users.
Various electronic devices in the intelligent home system can provide communication functions, such as a user can dial or answer a call through electronic devices such as a mobile phone, a tablet, a large screen device and the like, and different devices can provide different conversation experiences for the user. For example, a user can make a video call with a user of the opposite terminal device through the large screen device, so that the opposite terminal user can view the layout in the room where the large screen device is located, and the user can obtain better video picture viewing experience.
But also because of the large number of electronic devices in the smart home system that can provide communication functions, different devices may be located in different rooms. Then the electronic device that is to receive the communication request may not be at the user's premises, resulting in a failure of the communication request.
Disclosure of Invention
In order to solve the technical problems, the embodiment of the application provides a communication method and electronic equipment. According to the technical scheme provided by the embodiment of the application, the first electronic equipment can acquire the equipment information of the electronic equipment positioned near the group member in the displayed group card and display the corresponding equipment identification. Therefore, the user can select the second electronic equipment positioned near the target group member to be communicated to communicate, the communication success rate and the communication quality are improved, and the use experience of the user is improved.
In order to achieve the technical purpose, the embodiment of the application provides the following technical scheme:
In a first aspect, a communication method is provided, applied to a first electronic device. The method comprises the following steps: a first group of cards is displayed, with a first identification of a plurality of group members displayed thereon. And detecting a first operation of a user on the target identifier in the first identifier, and acquiring first equipment information of second electronic equipment near the target group member corresponding to the target identifier. And displaying the first device identification of the second electronic device on the target identification according to the first device information.
Therefore, the user can determine the situation of the electronic equipment near the group member through the group card displayed by the first electronic equipment, so that the second electronic equipment near the target group member to be communicated is selected for communication, the communication success rate and the communication quality are improved, and the use experience of the user is further improved.
According to a first aspect, obtaining first device information of a second electronic device near a target group member corresponding to a target identifier includes: and sending a first request to the server, wherein the first request carries first account information corresponding to the target group member. And receiving first equipment information sent by the server, wherein the first equipment information is matched equipment information of the server according to the first account information.
For example, in the smart home system, the location information of the target group member may be determined by devices such as smart home devices and smart home control panels included in the target group member. And, device information for a second electronic device located near the target group member may be determined. And then, the intelligent home control panel can report the equipment information of the second electronic equipment to the server. Then subsequently, the first electronic device may obtain device information for the corresponding second electronic device from the server.
In this way, the first electronic device is enabled to display the second electronic device in the vicinity of the target group member.
According to the first aspect, or any implementation manner of the first aspect, the method further includes: and detecting a second operation of the user on the first equipment identifier, and initiating communication to the second electronic equipment.
Thus, the user can determine the second electronic device which is positioned near the target group member in the group card through the group card of the first electronic device. In this way, the user may choose to initiate a communication through the first electronic device to the second electronic device, facilitating quick contact with the target group member.
And the user can determine whether the second electronic device is the electronic device which is currently wanted to be contacted or not, selectively communicate, and meet the use requirement of the user.
According to the first aspect, or any implementation manner of the first aspect, the method further includes: the first file is displayed. And detecting a third operation of dragging the first file to the target identifier by the user, and sending the first file to the second electronic equipment.
Thus, the file is quickly transmitted. And, the second electronic device for receiving the file can be guaranteed to be near the target group member, and the target group member can quickly determine the received file.
According to the first aspect, or any implementation manner of the first aspect, the method further includes: a fourth operation of the user on the first group card is detected, and device information of electronic devices near each of the plurality of group members is displayed.
Thus, the user can quickly know the equipment conditions nearby the group members.
According to a first aspect, or any implementation manner of the first aspect, before displaying the first group of cards, the method further includes: and displaying a plurality of communication cards corresponding to the plurality of group members respectively. In response to a fifth operation of the user on the plurality of communication cards, a first group card including a plurality of group members corresponding to the plurality of communication cards is established.
Optionally, a first application is installed in the first electronic device, and the group card and the communication card displayed by the electronic device are first application cards.
In this way, the first electronic device can respond to the operation of the user to create and display the group card comprising a plurality of group members, thereby facilitating the management of the plurality of group members by the user while meeting the communication requirements of the user. And by displaying the group card, the first electronic device can save desktop display space.
According to a first aspect, or any implementation manner of the first aspect, before displaying the first group of cards, the method further includes: a first group of cards is displayed that is blank. A sixth operation by the user on the blank first group card is detected, searching for one or more third electronic devices in the vicinity that request a group be established. And displaying the second device identification of the searched one or more third electronic devices on the blank first group card. In response to a seventh operation by the user, a first group card is established that includes one or more accounts corresponding to the one or more third electronic devices, the one or more accounts corresponding to the one or more group members.
According to a first aspect, or any implementation manner of the first aspect, the first electronic device installs a first application, and the one or more accounts are accounts for one or more third electronic devices to log in to the first application.
Therefore, by means of near field communication, the first electronic equipment can establish a group without responding to the operation of selecting a plurality of cards by a user, so that the operation difficulty of the user is reduced, and the group establishment efficiency is improved.
In addition, the first electronic device can also quickly complete the creation of the group under the condition that the contact information is not stored. For example, in a meeting scene, a plurality of users who do not store contact information can create a group card in a short-range communication mode, so that the follow-up contact is facilitated.
According to a first aspect, or any implementation of the first aspect above, the target group member corresponds to a first account, the method further comprising: and receiving first information sent by the first account. And displaying first prompt information on the target identifier, wherein the first prompt information is used for prompting the user of the first information sent by the target group member.
Therefore, the first electronic equipment can help the user to realize quick help through the group card, and the use requirement of the user is met.
According to the first aspect, or any implementation manner of the first aspect, the method further includes: in response to the user indicating an eighth operation to initiate communication to the first account corresponding to the target group member, one or more fourth electronic devices in the vicinity of the first electronic device are determined. And displaying one or more third device identifiers corresponding to the one or more fourth electronic devices. Detecting nine operations of a user on a fourth device identifier in one or more third device identifiers, and sending a first indication to a target fourth electronic device corresponding to the fourth device identifier, wherein the first indication carries a first account, and the first indication is used for indicating the target fourth electronic device to initiate communication to the first account.
Therefore, when the user needs to initiate communication, the user can select to initiate communication through the electronic equipment in use, and can also select nearby electronic equipment to initiate communication, so that the communication process can meet the use requirement of the user.
According to the first aspect, or any implementation manner of the first aspect, after detecting a first operation of a user on a target identifier in the first identifier, the method further includes: and highlighting the target mark on the first group of cards according to a preset mode. Displaying the device identifier of the second electronic device on the target identifier according to the first device information, including: and displaying the device identifier of the second electronic device on the target identifier highlighted in a preset mode on the first group of cards.
Optionally, the preset manner includes, for example, enlarged display or the like.
Thus, the target identification is highlighted in a preset mode, so that the user can conveniently confirm the target group member to be contacted. And the user can conveniently confirm the second electronic equipment of the target group member accessory, so that the use experience of the user is improved.
According to the first aspect, or any implementation manner of the first aspect, the first device information includes one or several items of a device identifier, a device type, a device icon, a device name, and a device nickname corresponding to the second electronic device.
According to the first aspect, or any implementation manner of the first aspect, the second electronic device is an electronic device located in the same space as the target group member and closest to the target group member.
According to the first aspect, or any implementation manner of the first aspect, the method further includes: and displaying a second group card, wherein the second group card displays the target identification of the target group member.
Thus, the group card is convenient for the user to flexibly use, and the use experience of the user is improved.
According to the first aspect, or any implementation manner of the first aspect, the number of the first identifiers displayed on the group cards is smaller than or equal to a preset number, and the first identifiers are arranged and displayed on the group cards according to a preset rule.
Optionally, the preset rule includes, for example, displaying user head portraits corresponding to a plurality of group members in turn according to the liveness of the group members. Optionally, the first electronic device may determine the liveness of the group member by determining how frequently to contact the group member, the time of the last contact, the time of joining the group, whether there is an unread message, the time of receiving the unread message, and so on.
Therefore, the number of the user head portraits displayed on the group card can be smaller than or equal to the preset number, so that the display effect is ensured, and the user can operate the group members conveniently.
In a second aspect, an electronic device is provided. The electronic device includes: a processor, a memory and a display screen, the memory and the display screen being coupled to the processor, the memory being for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the electronic device to perform: a first group of cards is displayed, with a first identification of a plurality of group members displayed thereon. And detecting a first operation of a user on the target identifier in the first identifier, and acquiring first equipment information of second electronic equipment near the target group member corresponding to the target identifier. And displaying the first device identification of the second electronic device on the target identification according to the first device information.
According to a second aspect, obtaining first device information of a second electronic device near a target group member corresponding to a target identifier includes: and sending a first request to the server, wherein the first request carries first account information corresponding to the target group member. And receiving first equipment information sent by the server, wherein the first equipment information is matched equipment information of the server according to the first account information.
According to a second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform: and detecting a second operation of the user on the first equipment identifier, and initiating communication to the second electronic equipment.
According to a second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform: the first file is displayed. And detecting a third operation of dragging the first file to the target identifier by the user, and sending the first file to the second electronic equipment.
According to a second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform: a fourth operation of the user on the first group card is detected, and device information of electronic devices near each of the plurality of group members is displayed.
According to a second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform: and displaying a plurality of communication cards corresponding to the plurality of group members respectively. In response to a fifth operation of the user on the plurality of communication cards, a first group card including a plurality of group members corresponding to the plurality of communication cards is established.
According to a second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform: a first group of cards is displayed that is blank. A sixth operation by the user on the blank first group card is detected, searching for one or more third electronic devices in the vicinity that request a group be established. And displaying the second device identification of the searched one or more third electronic devices on the blank first group card. In response to a seventh operation by the user, a first group card is established that includes one or more accounts corresponding to the one or more third electronic devices, the one or more accounts corresponding to the one or more group members.
According to a second aspect, or any implementation manner of the second aspect, the first electronic device is provided with a first application, and the one or more accounts are accounts for one or more third electronic devices to log in to the first application.
According to a second aspect, or any implementation of the second aspect above, the target group member corresponds to the first account, and when the processor reads the computer instructions from the memory, the electronic device is further caused to perform: and receiving first information sent by the first account. And displaying first prompt information on the target identifier, wherein the first prompt information is used for prompting the user of the first information sent by the target group member.
According to a second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform: in response to the user indicating an eighth operation to initiate communication to the first account corresponding to the target group member, one or more fourth electronic devices in the vicinity of the first electronic device are determined. And displaying one or more third device identifiers corresponding to the one or more fourth electronic devices. Detecting nine operations of a user on a fourth device identifier in one or more third device identifiers, and sending a first indication to a target fourth electronic device corresponding to the fourth device identifier, wherein the first indication carries a first account, and the first indication is used for indicating the target fourth electronic device to initiate communication to the first account.
According to a second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform: and highlighting the target mark on the first group of cards according to a preset mode. Displaying the device identifier of the second electronic device on the target identifier according to the first device information, including: and displaying the device identifier of the second electronic device on the target identifier highlighted in a preset mode on the first group of cards.
According to a second aspect, or any implementation manner of the second aspect, the first device information includes one or several items of a device identifier, a device type, a device icon, a device name, and a device nickname corresponding to the second electronic device.
According to a second aspect, or any implementation manner of the second aspect, the second electronic device is an electronic device located in the same space as the target group member and closest to the target group member.
According to a second aspect, or any implementation of the second aspect above, when the processor reads the computer instructions from the memory, the electronic device is further caused to perform: and displaying a second group card, wherein the second group card displays the target identification of the target group member.
According to a second aspect, or any implementation manner of the second aspect, the number of the first identifiers displayed on the group cards is smaller than or equal to a preset number, and the first identifiers are arranged and displayed on the group cards according to a preset rule.
The technical effects corresponding to the second aspect and any implementation manner of the second aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a third aspect, an electronic device is provided. The electronic device includes: display element, receiving and dispatching unit and processing unit. The display unit is used for displaying a first group of cards, and the first group of cards are provided with first identifiers of a plurality of group members. The receiving and transmitting unit is used for detecting a first operation of a user on the target identifier in the first identifier and acquiring first equipment information of second electronic equipment near the target group member corresponding to the target identifier. And the processing unit is used for determining the first equipment identification of the second electronic equipment according to the first equipment information. And the display unit is also used for displaying the first device identifier of the second electronic device on the target identifier.
According to a third aspect, the transceiver unit is further configured to send a first request to the server, where the first request carries first account information corresponding to the target group member. And receiving first equipment information sent by the server, wherein the first equipment information is matched equipment information of the server according to the first account information.
According to a third aspect, or any implementation manner of the third aspect, the transceiver unit is further configured to detect a second operation of the first device identifier by the user, and initiate communication to the second electronic device.
According to a third aspect, or any implementation manner of the third aspect, the display unit is further configured to display the first file. The receiving and transmitting unit is further used for detecting a third operation of dragging the first file to the target identifier by the user and transmitting the first file to the second electronic device.
According to a third aspect, or any implementation manner of the third aspect, the transceiver unit is further configured to detect a fourth operation of the first group of cards by a user. And the display unit is also used for displaying the equipment information of the electronic equipment near each group member in the plurality of group members.
According to a third aspect, or any implementation manner of the third aspect, the display unit is further configured to display a plurality of communication cards corresponding to a plurality of group members, respectively. And the receiving and transmitting unit is also used for detecting the fifth operation of the user on the plurality of communication cards. And the processing unit is also used for responding to the fifth operation and establishing a first group card comprising a plurality of group members corresponding to the plurality of communication cards.
According to a third aspect, or any implementation manner of the third aspect, the display unit is further configured to display a blank first group of cards. And the receiving and transmitting unit is also used for detecting a sixth operation of the user on the blank first group card and searching one or more third electronic devices nearby for requesting to establish a group. And the display unit is also used for displaying the second device identifiers of the searched one or more third electronic devices on the blank first group card. And the receiving and transmitting unit is also used for detecting a seventh operation of the user. The processing unit is further configured to establish, in response to a seventh operation, a first group card including one or more accounts corresponding to the one or more third electronic devices, the one or more accounts corresponding to the one or more group members.
According to a third aspect, or any implementation manner of the above third aspect, the first electronic device installs the first application, and the one or more accounts are accounts for one or more third electronic devices logging in to the first application.
According to a third aspect, or any implementation manner of the third aspect, the transceiver unit is further configured to receive first information sent by the first account. The display unit is further used for displaying first prompt information on the target identifier, wherein the first prompt information is used for prompting the user of the first information sent by the target group member.
According to a third aspect, the transceiver unit is further configured to detect an eighth operation of the user indicating to initiate communication to the first account corresponding to the target group member. The processing unit is further configured to determine one or more fourth electronic devices in proximity to the first electronic device. The display unit is further used for displaying one or more third device identifiers corresponding to one or more fourth electronic devices. The receiving and transmitting unit is further configured to detect a ninth operation of the user on a fourth device identifier in the one or more third device identifiers, send a first indication to a target fourth electronic device corresponding to the fourth device identifier, where the first indication carries a first account, and the first indication is used to instruct the target fourth electronic device to initiate communication to the first account.
According to a third aspect, or any implementation manner of the third aspect, the display unit is further configured to highlight, on the first group card, the target identifier in a preset manner. And the display unit is also used for displaying the equipment identifier of the second electronic equipment on the target identifier which is highlighted on the first group card in a preset mode.
According to a third aspect, or any implementation manner of the third aspect, the first device information includes one or several items of a device identifier, a device type, a device icon, a device name, and a device nickname corresponding to the second electronic device.
According to a third aspect, or any implementation manner of the third aspect, the second electronic device is an electronic device located in the same space as the target group member and closest to the target group member.
According to a third aspect, or any implementation manner of the third aspect, the display unit is further configured to display a second group card, where a target identifier of a target group member is displayed on the second group card.
According to a third aspect, or any implementation manner of the third aspect, the number of the first identifiers displayed on the group cards is smaller than or equal to a preset number, and the first identifiers are arranged and displayed on the group cards according to a preset rule.
The technical effects corresponding to the third aspect and any implementation manner of the third aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, and are not described herein again.
In a fourth aspect, an embodiment of the present application provides an electronic device having a function of implementing the communication method as described in the first aspect and any one of possible implementation manners. The functions may be implemented by hardware, or by corresponding software executed by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
The technical effects corresponding to the fourth aspect and any implementation manner of the fourth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a fifth aspect, a computer-readable storage medium is provided. The computer readable storage medium stores a computer program (which may also be referred to as instructions or code) which, when executed by an electronic device, causes the electronic device to perform the method of the first aspect or any implementation of the first aspect.
The technical effects corresponding to the fifth aspect and any implementation manner of the fifth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a sixth aspect, embodiments of the present application provide a computer program product for causing an electronic device to perform the method of the first aspect or any one of the embodiments of the first aspect when the computer program product is run on the electronic device.
The technical effects corresponding to the sixth aspect and any implementation manner of the sixth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a seventh aspect, an embodiment of the present application provides a circuitry comprising processing circuitry configured to perform the first aspect or the method of any one of the embodiments of the first aspect.
The technical effects corresponding to the seventh aspect and any implementation manner of the seventh aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein again.
In an eighth aspect, an embodiment of the present application provides a chip system, including at least one processor and at least one interface circuit, where the at least one interface circuit is configured to perform a transceiver function and send an instruction to the at least one processor, and when the at least one processor executes the instruction, the at least one processor performs the method of the first aspect or any implementation manner of the first aspect.
The technical effects corresponding to the eighth aspect and any implementation manner of the eighth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein again.
Drawings
Fig. 1 is a schematic view of a home scenario provided in an embodiment of the present application;
Fig. 2 is a schematic diagram of a communication system to which a communication method according to an embodiment of the present application is applied;
fig. 3 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
Fig. 4 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
FIG. 5 is a schematic view of a contact card creation scenario provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a group card creation scenario I according to an embodiment of the present application;
FIG. 7A is a schematic diagram II of a group card creation scenario provided by an embodiment of the present application;
fig. 7B is a schematic diagram III of a group card creation scenario provided in an embodiment of the present application;
fig. 7C is a schematic diagram of a group card creation scene provided in an embodiment of the present application;
FIG. 8 is a schematic diagram of a group card editing scenario I according to an embodiment of the present application;
FIG. 9 is a second schematic view of a group card editing scenario provided in an embodiment of the present application;
FIG. 10 is a schematic diagram of a group card display scene I according to an embodiment of the present application;
FIG. 11 is a second schematic view of a group card display scenario provided in an embodiment of the present application;
fig. 12 is a schematic diagram of a group sharing setting scenario provided in an embodiment of the present application;
FIG. 13 is a flowchart of a method for determining electronic devices in the vicinity of a target user according to an embodiment of the present application;
fig. 14 is a schematic view of a first scene for displaying electronic devices near a target user according to an embodiment of the present application;
Fig. 15 is a second schematic view of a scene of displaying an electronic device near a target user according to an embodiment of the present application;
Fig. 16 is a schematic view III of a scene for displaying electronic devices near a target user according to an embodiment of the present application;
FIG. 17A is a schematic diagram of a group card according to an embodiment of the present application;
FIG. 17B is a second schematic diagram of a group card call scenario according to an embodiment of the present application;
FIG. 18A is a schematic diagram of a first scenario of a group card send file according to an embodiment of the present application;
FIG. 18B is a second schematic view of a group card file according to an embodiment of the present application;
FIG. 18C is a third exemplary scenario of a group card send file according to an embodiment of the present application;
FIG. 19A is a schematic diagram of a group card help scene I according to an embodiment of the present application;
FIG. 19B is a second schematic view of a group card help scene provided by an embodiment of the present application;
FIG. 19C is a third schematic view of a group card help scene provided by an embodiment of the present application;
FIG. 19D is a schematic diagram of a group card help scene IV provided by an embodiment of the present application;
FIG. 20A is a schematic diagram of a group card quick help scene I according to an embodiment of the present application;
FIG. 20B is a second schematic diagram of a group card quick help scene according to an embodiment of the present application;
FIG. 21 is a schematic flow chart of a communication method according to an embodiment of the present application;
fig. 22 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application are described below with reference to the accompanying drawings in the embodiments of the present application. In the description of embodiments of the application, the terminology used in the embodiments below is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" means one or more than two (including two).
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise. The term "coupled" includes both direct and indirect connections, unless stated otherwise. The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In some embodiments, as terminal technology advances, the number of electronic devices owned by a user increases, and the spatial locations of different electronic devices are the same or different.
For example, in the scenario of a smart home system as shown in fig. 1, user a may place the electronic devices that he owns in a different room. Such as a large screen device 11 located in a living room, a sound box 12, a large screen device 13 located in a bedroom 1, a large screen device 14 located in a bedroom 2, a sound box 15, a projection device 16 located in an audio-visual room, a mobile phone 17, and a camera 18 located in a porch. Wherein different devices may implement different communication functions. If the large screen equipment can realize video call, the mobile phone can realize audio and video call, the sound box can realize audio call, and the like.
In an example scenario, user B is on business for a period of time, is not at home, wants to talk to user a, and wants to see a layout change in the living room at home. Then, as shown in fig. 1, the user B may request a call to the large screen device 11 located in the living room. But in this case user a is not in the living room but is watching the movie in the video studio via projection device 16, the call request may be ignored.
Therefore, the embodiment of the application provides the communication method, the first electronic device can acquire the position information of the second electronic device, and the second electronic device nearby the user is determined according to the position information, so that the target device for communication can be conveniently selected, and the use experience of the user is improved.
Fig. 2 is a schematic diagram of a communication system to which the communication method according to the embodiment of the present application is applied. As shown in fig. 2, the communication system includes a first electronic device 100, a second electronic device 200, and a server 300.
Alternatively, the first electronic device 100 may be, for example, a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a personal computer (personal computer, PC), a netbook, a Personal Digital Assistant (PDA), a wearable device, a vehicle-mounted terminal, an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) device, and the like, and the operating system installed in the first electronic device 100 includes, but is not limited to Or other operating system. The present application is not limited to the specific type of first electronic device 100, nor to the operating system installed.
Alternatively, the second electronic device 200 may be, for example, a large screen device 201, a mobile phone 202, a speaker 201, a PDA 204, a camera 205, a tablet computer, a PC, a netbook, a wearable electronic device, a vehicle-mounted terminal, an AI device, or the like. The operating system installed by the second electronic device 200 includes, but is not limited toOr other operating system. The second electronic device 200 may not be equipped with an operating system. The present application is not limited to the specific type of the second electronic device 200, whether an operating system is installed or not, and the operating system installed in the presence of an installed operating system.
Alternatively, the server 300 may be a device or server having a computing function, such as a cloud server or a web server. The server may be one server, a server cluster formed by a plurality of servers, or a cloud computing service center.
Optionally, the first electronic device 100 and the second electronic device 200 are the same or different. The second electronic device 200 may be an intelligent home device. In the case that the second electronic devices 200 are smart home devices, connection between the second electronic devices 200 may be established, so as to form a smart home system.
In some embodiments, the first electronic device 100 and the second electronic device 200 have installed therein a first application, such asApplication. Alternatively, the server 300 may be a server corresponding to the first application, such as/>And a server.
In some embodiments, the second electronic device 200 may send its own location information to the server 300; or there is a center device among the plurality of second electronic devices 200, for example, a smart home control panel, a mobile phone, or the like, which can be used to manage the second electronic devices 200, and the center device can transmit location information of the plurality of second electronic devices 200 to the server 300. Thereafter, the first electronic device 100 may request the server 300 to acquire the location information of the second electronic device 200 and display the location information.
In this way, the user can select a desired second electronic device 200, such as selecting a second electronic device 200 located at the side of the user to be communicated, based on the displayed location information. The first electronic device 100 may transmit a communication request, such as a request for a call, a transmission of a file, etc., to the second electronic device 200 selected by the user in response to a selection operation by the user.
Alternatively, the first electronic device 100 and the second electronic device 200 in the embodiments of the present application may be implemented by different devices, and the different devices may have the same, similar, or different hardware structures, such as the hardware structure shown in fig. 3.
For example, the hardware configuration shown in fig. 3 will be described by taking the example in which the first electronic device 100 has the hardware configuration shown in fig. 3.
The first electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc.
It should be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the first electronic device 100. In other embodiments of the application, the first electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural-Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SERIAL DATA LINE, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to a touch sensor, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor through an I2C interface, such that the processor 110 communicates with the touch sensor through an I2C bus interface to implement a touch function of the first electronic device 100.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (CAMERA SERIAL INTERFACE, CSI), display serial interfaces (DISPLAY SERIAL INTERFACE, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing function of first electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display functionality of the first electronic device 100.
The USB interface 130 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 130 may be used to connect a charger to charge the first electronic device 100, or may be used to transfer data between the first electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other first electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiment of the present application is only illustrative, and is not limited to the structure of the first electronic device 100. In other embodiments of the present application, the first electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the first electronic device 100. The charging management module 140 may also supply power to the first electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the first electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the first electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on the first electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device or displays images or video through a display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near Field Communication (NFC), infrared (IR), etc., applied on the first electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of first electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that first electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The first electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may be manufactured using a Liquid Crystal Display (LCD) such as an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), mini-led, micro-OLED, quantum dot LIGHT EMITTING diodes (QLED), or the like. In some embodiments, the first electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
In some embodiments, the first electronic device 100 may obtain location information of the second electronic device 200 through the wireless communication module 160. Thereafter, the first electronic device 100 may display location information of the second electronic device on the display 194. Thereafter, in response to the user's operation on the display screen 194, a communication request is sent to the corresponding second electronic device 200 to effect communication.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the first electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the first electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the first electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the first electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110. The first electronic device 100 may play, record, etc. music through the audio module 170. The audio module 170 may include a speaker, a receiver, a microphone, a headphone interface, an application processor, etc. to implement audio functions.
The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
Touch sensors, also known as "touch devices". The touch sensor may be disposed on the display screen 194, and the touch sensor and the display screen 194 form a touch screen, which is also referred to as a "touch screen". The touch sensor is used to detect a touch operation acting on or near it. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor may also be disposed on the surface of the first electronic device 100 at a different location than the display 194.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The first electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the first electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195 or removed from the SIM card interface 195 to enable contact and separation with the first electronic device 100. The first electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1.
The software system of the first electronic device 100 or the second electronic device 200 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, taking an Android system with a layered architecture as an example, software structures of the first electronic device 100 and the second electronic device 200 are illustrated.
Fig. 4 is a software structural block diagram of the first electronic device 100 or the second electronic device 200 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun rows (Android runtime) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 4, the application package may include a first application, an application marketplace, a camera, a calendar, music, a gallery, a map, a call, a video, and so on.
In some embodiments, the first electronic device 100 and the second electronic device 200 have a first application installed therein for communication. For example, the first application isApplication. The first electronic device 100 and the second electronic device 200 may log in to the first application in response to the login operation. Thereafter, the first electronic device 100 may enable communication with the second electronic device 200 through the first application in response to the user operation.
For example, user 1 logs in to account 1 of a first application via a first electronic device 100 and user 2 logs in to account 2 of a second application via a second electronic device 200. After that, the first electronic device 100 detects that the user 1 requests the communication operation from the user corresponding to the account 2 through the first application, and may send the communication request to the second electronic device 200 logging into the account 2 of the first application via the server. After receiving the communication request, the second electronic device 200 may display a communication request interface through the first application, and in response to a confirmation operation of the user at the communication request interface, the second electronic device 200 may start to perform communication with the first electronic device 100.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 4, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Android runtime include core libraries and virtual machines. Android runtime is responsible for scheduling and management of the android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), two-dimensional graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The two-dimensional graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following uses the first electronic device 100 as a first electronic device, the second electronic device 200 as a second electronic device, the first electronic device 100 or the second electronic device 200 as an electronic device in the smart home system, and the first application isApplication, server 300 is/>The server is taken as an example, and the communication method provided by the embodiment of the application is described in detail.
It should be understood that the communication method provided by the embodiment of the present application may also be applied to other types of communication systems, such as an intelligent office system.
In some embodiments, a first application is installed in an electronic device (e.g., a first electronic device or a second electronic device), and the first application may include information of a plurality of contacts. In response to a user operation of the first application, the electronic device may create a card of the respective contact. Thus, the user can quickly realize the communication of the contact corresponding to the card through the card.
Optionally, the contact information includes, for example, information of an account name, a user avatar, a user name, a contact address, and the like of the contact.
Illustratively, as shown in interface 501 of fig. 5 (a), in response to a user operation of first application icon 51, the electronic device displays a directory option. In response to a user operation of the service card control 52 in the target option, the electronic device determines that the user indicates to add the first application card, displaying an interface 502 as shown in fig. 5 (b). On interface 502, the electronic device may display a plurality of display types of first application cards. In response to a user clicking on control 53, the electronic device can add a corresponding first application card to the desktop, displaying an interface 503 as shown in fig. 5 (c). On interface 503, in response to a user clicking on add contact control 54, the electronic device can display a contact list to facilitate user selection of the corresponding contact. In response to a user selecting the contact "dad", the electronic device may create a card of the contact "dad". Thereafter, the electronic device may display an interface 504 as shown in fig. 5 (d), with the card 55 of the created contact "dad" displayed on the interface 504. The electronic device may then communicate directly with the electronic device used by dad in response to user operation of card 55.
In some embodiments, the number of contact cards that a user needs to use may be multiple, limited by the desktop display space, with only a limited number of cards being displayed on the desktop. And if the number of the cards displayed on the desktop is large, the difficulty of searching the required cards among the cards is large. Then, the electronic device can create a group card including a plurality of contacts in response to a user operation, through which the user can communicate with any of the contacts included therein. Thus, the electronic equipment can save the desktop space while realizing the function of the contact card. Moreover, the electronic device can provide more group card functions for users, such as group chat, group conversation, group space browsing, etc.
Illustratively, as shown in interface 601 of fig. 6 (a), the electronic device desktop has displayed thereon a plurality of cards of a first application, such as contact 1 card 61, contact 2 card 62, and contact 3 card 63, each corresponding to a contact. In response to a user selection operation of the contact 1 card 61, the contact 2 card 62, and the contact 3 card 63, such as a pinch operation in the arrow direction indicated by reference numeral 64, the electronic device may determine to create a group card including the three cards selected. Thereafter, as shown in interface 602 in fig. 6 (b), the electronic device may display the created group card 65, and the group card 65 displays the head portraits including the contacts corresponding to contact 1 card 61, contact 2 card 62, and contact 3 card 63, respectively, and the group members of the group corresponding to the group card 65 include contact 1, contact 2, and contact 3. It should be appreciated that different group members in the group card correspond to different contacts.
Then, the electronic device can implement the communication function of the original contact 1 card 61, the contact 2 card 62, and the contact 3 card 63 through the group card 65. The electronic device may also implement a group communication function through the group card 65.
Alternatively, as shown in interface 602, the electronic device may no longer display contact 1 card 61, contact 2 card 62, and contact 3 card 63.
Alternatively, the operation of creating the group card may include other operations in addition to the kneading operation described above. Such as long press operation, sliding operation, double click operation and other gesture operation on the card.
For example, in response to an operation of the user pressing the card 1 for a long time, the electronic apparatus determines that the user instructs to select the card 1, and establishes a group card including the card 1. The electronic device may then display the other first application cards on the desktop as a to-be-selected state. In response to a user selecting one or more first application cards, the electronic device may create a group including contacts corresponding to the first application card selected by the user and contacts corresponding to card 1, and display a group card corresponding to the group.
In some embodiments, in addition to the above implementation of creating a group card on a single electronic device, creation of a group card may also be implemented through interactions between multiple electronic devices.
For example, as shown in fig. 7A, multiple users are in the same space, e.g., the distance between users is less than or equal to a preset distance (e.g., 500 meters), and multiple users need to create a group card. Then, the multiple users can operate their own electronic devices, find nearby electronic devices through multiple searching modes such as bluetooth, wi-Fi, radar, and the like, and create a group card.
Optionally, the electronic devices of the multiple users have logged into the first application, and the electronic device may search for the electronic device that logs into the first application nearby and obtain the account information.
Optionally, the electronic device may determine, through a global positioning system (global positioning system, GPS) function, whether a distance between the electronic device searched nearby and the electronic device is less than or equal to a preset distance.
For example, the electronic device may trigger a search for nearby electronic devices through the blank group card to create a group card. As in interface 701 shown in fig. 7B (a), the electronic device detects a double-finger pinch operation of the user on the desktop, and displays interface 702 shown in fig. 7B (B). On the interface 702, after detecting the operation of clicking the service card control 71 by the user, the electronic device displays an interface 703 as shown in fig. 7B (c), and receives the operation of selecting to create a blank card by the user. On interface 703, upon detecting a user's click on "affinity" control 72, the electronic device determines that the user indicates that a blank group card is to be created. Thereafter, the electronic device can display an interface 704 as shown in fig. 7B (d), and a blank group card 73 is displayed on the interface 704.
After the creation of the blank group card, as in interface 705 shown in fig. 7C (a), in response to the user clicking on the control 74 displayed on the blank group card 73, the electronic device transmits a broadcast message for requesting the creation of the group. Likewise, electronic devices in the vicinity of the electronic device may also create a blank group card and send a broadcast message in response to a user operation.
Then the electronic device may search for broadcast messages sent by other electronic devices in the vicinity. The broadcast message may carry account information of the first application, such as information of a login account, a contact way, a user head portrait, etc., and after the electronic device obtains the broadcast message sent by other electronic devices, the electronic device may obtain the account information carried therein, and determine group members according to the account information.
Then, as shown in interface 706 in fig. 7C (b), the electronic device may display the identifier corresponding to the searched other electronic devices on the blank group card 73, for example, the identifier may be a user avatar of the electronic device logging into the first application, or may also be a device identifier. After the electronic device detects the user clicking on the confirm control 75, it may be determined that the user has determined that electronic devices corresponding to contacts of all groups to be established have been searched, and then a group card may be created. As shown in interface 707 in fig. 7C (C), the electronic device displays a created group card 76, the group card 76 including contacts corresponding to the three electronic devices shown in fig. 7A.
Therefore, by means of near field communication, the electronic equipment can establish a group without responding to the operation of selecting a plurality of cards by a user, so that the operation difficulty of the user is reduced, and the group establishment efficiency is improved.
In addition, the electronic device can also quickly complete the creation of the group under the condition that the contact information is not stored. For example, in a party scenario, multiple users who do not save contact information may create a group card in the manner described above with respect to fig. 7A-7C, facilitating subsequent contact.
Optionally, the electronic device may also display the first application card and include the contact corresponding to the first application card in the displayed group card. In this way, the user can contact the corresponding contact person through the first application card or the group card, so that the flexible operation of the user is facilitated.
In some embodiments, the electronic device may also edit the group members in the group card in response to user operation. E.g., newly adding a group member, deleting a group member, etc.
For example, the electronic device may add group members in the group card in response to a user operation. As shown in interface 801 of fig. 8 (a), the electronic device creates a group card in response to a user's pinch operation of contact 1 card 81 and contact 2 card 82. Thereafter, the electronic device displays an interface 802 as shown in fig. 8 (b), and the created group card 83 is displayed on the interface 802, the group card 83 including the contact 1 and the contact 2. The user may then need to add other required contacts to the group card. If the electronic device detects that the user drags the contact 3 card 84 into the group card 83 display area, it is determined to add the contact 3 to the group card 83. Thereafter, as shown in interface 803 of fig. 8 (c), the electronic device may display the group card 83 after adding the new group member, where the group card 83 includes contact 1, contact 2, and contact 3.
Therefore, under the condition that newly-increased group members (such as newly-increased contacts) are needed, the electronic equipment can increase the group members in the group card without re-creating the group card, so that the operation difficulty of a user is reduced, and the use experience of the user is improved.
Optionally, the electronic device may also add contacts not creating a card to the group card in response to a user operation.
For example, the electronic device detecting a long press of the group card by the user may determine that the user indicates to add a new group member. The electronic device may then display a phonebook and add the user selected contact to the group card in response to a user selecting the contact in the phonebook.
Also exemplary, the electronic device may delete the group member in the group card in response to a user operation. As shown in interface 901 of fig. 9 (a), the electronic device displays a group card 91, and 3 group members are included in the group card 91. The electronic device may determine that the user instructs to delete the group member corresponding to the user avatar 92 in the group when detecting the operation of the user dragging the user avatar 92 displayed in the group card 91 out of the display area of the group card 91, such as the operation of moving the user avatar 92 in the direction indicated by the arrow 93. Thereafter, the electronic device displays an interface 902 as shown in fig. 9 (b). On the interface 902, the electronic device displays a group card 91 after deleting the group member, and a contact card 94 corresponding to the group member corresponding to the deleted user avatar 92.
Thus, in response to user operation, the electronic equipment can delete part of group members, so that the user can flexibly use the group card function, and the use requirement of the user is met.
Optionally, after the electronic device responds to the user operation and deletes the group member in the group card, the contact card corresponding to the deleted group member does not need to be displayed any more, so that the desktop display space is saved.
In some embodiments, the group card includes a number of group members that is less than or equal to a preset threshold. Therefore, the number of the user head portraits displayed on the group card can be smaller than or equal to a preset threshold value, so that the display effect is ensured, and the user can operate the group members conveniently.
The preset threshold is for example 6. As shown in interface 1001 of fig. 10 (a), the electronic device displays a group card 101, and 2 user avatars corresponding to 2 group members are displayed on the group card 101. As shown in interface 1002 of fig. 10 (b), the electronic device displays a group card 102, and 3 user avatars corresponding to 3 group members are displayed on the group card 102. As shown in interface 1003 of fig. 10 (c), the electronic device displays a group card 103, and 4 user avatars corresponding to 4 group members are displayed on the group card 103. As shown in interface 1004 of fig. 10 (d), the electronic device displays a group card 104, and 5 user avatars corresponding to 5 group members are displayed on the group card 104. As shown in interface 1005 of fig. 10 (e), the electronic device displays a group card 105, and 6 user avatars corresponding to 6 group members are displayed on the group card 105.
Optionally, the electronic device displays user head portraits corresponding to a plurality of group members on the group card according to a preset display rule.
The user head portrait is a user head portrait included in the first application account information corresponding to the group member, such as a head portrait used in the process of logging in the first application by the group member. The preset display rule includes, for example, sequentially displaying user head portraits corresponding to a plurality of group members according to the liveness of the group members. And displaying the user head portraits corresponding to the group members with the highest liveness above the head portraits of other users.
Optionally, the display area occupied by the user head portrait corresponding to the group member with the highest liveness is larger on the group card than the display area occupied by other user head portraits. To achieve highlighting of user avatars corresponding to active group members.
Optionally, the electronic device may determine the liveness of the group member by determining how frequently to contact the group member, the time of the last contact, the time of joining the group, whether there is an unread message, the time of receiving the unread message, and so on.
Optionally, the electronic device may update the display of the user avatar corresponding to the group member on the group card according to a preset period, so that the user can learn about the latest situation of the group member.
For example, as shown in fig. 10, the electronic device displays user head portraits corresponding to a plurality of group members on the group card according to the liveness of the group members. As shown in the group card 102 in fig. 10 (b), the electronic device enlarges and displays the user head portrait 106 corresponding to the group member with the highest liveness above the user head portraits corresponding to the other two group members, so as to realize highlighting the user head portrait 106, and facilitate the user to operate the user head portrait 106.
In some embodiments, the electronic device may display Zhang Qunzu more cards, and different group cards may include the same group member.
Illustratively, as shown in interface 1101 of FIG. 11, the electronic device displays a group card 111 and a group card 112, wherein group card 111 includes 6 group members and group card 112 includes 2 group members. Wherein the user avatar 113 displayed on the group card 111 and the user avatar 114 displayed on the group card 112 correspond to the same contact. That is, the two groups to which the group card 111 and the group card 112 correspond include the same group member.
In some embodiments, the electronic device, in response to a user operation, may create a group card of the home account during a group creation phase; or the created group card is set as the group card of the home account. Optionally, the group members in the group card of the home account may implement sharing functions, such as cloud space sharing, location sharing, device time sharing, and so on.
Illustratively, as shown in interface 1201 in fig. 12 (a), the electronic device displays the group card 121 of the home account. In response to an operation of clicking on the blank display area on the group card 121 by the user, a group detail interface 1202 as shown in fig. 12 (b) is displayed. Thereafter, in response to the user clicking on the share setting control 122, the electronic device may display an interface 1203 as shown in fig. 12 (c), and the user may set contents allowing sharing on the interface 1203.
For example, the electronic device may turn on or off cloud space sharing functionality in response to a user clicking on cloud space control 123. After the cloud space sharing function is started, the group member can view the content shared in the cloud space by the user using the electronic equipment through the first application. Realizing that family members share content and the like purchased from each other in cloud space.
For another example, the electronic device can turn on or off a location sharing functionality in response to a user clicking on the location control 124. After the location sharing function is started, the group member can acquire the real-time location of the electronic device through the first application.
Therefore, the use requirement of the sharing function of the user is met, and the use experience of the user is improved.
Optionally, the group card of the non-home account may close the group sharing function, avoiding disclosure of privacy.
7A-7C, if the group member of the group is a general contact who has just established a cooperative relationship with the user, the group may be set as a non-family account group, and the group sharing function is not started.
In some embodiments, the electronic device defaults to a group card after creating the group card. In the process of displaying the group card, the electronic device can not display the user head portrait of the first application account logged in by the electronic device on the group card, so as to save the display space of the group card. In the process of displaying the group detail interface, the electronic equipment can display the user head portrait of the first application account logged in by the electronic equipment, so that the user can confirm the group members conveniently.
For example, as shown in the interface 1201 of fig. 12 (a), the electronic device displays the group card 121, and three user avatars, such as a user avatar corresponding to the contact "dad", a user avatar corresponding to the contact "mom", and a user avatar corresponding to the contact "go", are displayed on the group card 121. It should be appreciated that the electronic device, after creating a group, defaults to joining the group. Then, as in the group details interface 1202 shown in fig. 12 (b), the displayed group members include "dad", "mom", "go", and "me".
Optionally, the user avatar displayed on the group card may also be a user avatar of all group members, including a user avatar of the first application account in which the electronic device is logged in.
The creation, editing, display, sharing functions, etc. of the group card are described in detail above. The implementation of how an electronic device obtains electronic devices in the vicinity of a group member is described in detail below.
In some embodiments, the user initiates the communication request directly to the group member through the group card displayed by the electronic device. For example, in response to a user clicking on a user avatar displayed on the group card, the electronic device sends a communication request to the server, and carries account information (such as an account name) corresponding to the user avatar in the communication request. The server may forward the communication request to the corresponding remote electronic device that has logged into the account according to the account information carried in the communication request, so as to implement communication between the electronic device displaying the group card (such as the first electronic device 100 shown in fig. 2) and the remote electronic device (such as the second electronic device 200 shown in fig. 2).
But since the group members in the group card may have one or more electronic devices, one or more electronic devices may log into the same first application account. The remote electronic device that eventually establishes the communication connection is not the electronic device that the user needs to establish the communication connection.
For example, user A is watching a video played by a large screen device that is located in the living room and has logged into user A's first application account, and the tablet of user A located in the bedroom also logs into user A's first application account. At this point, user B's electronic device calls user a through the group card, and eventually the communication request may be sent to the tablet. But this communication request may be missed because user a is not in the bedroom.
Therefore, the embodiment of the application provides a communication method, wherein the first electronic equipment can acquire and display information of electronic equipment nearby a group member. Thus, the user can select the electronic equipment near the group member to communicate, the success rate of communication is ensured, and the use experience of the user is improved.
If the electronic devices near the group member need to be determined, the position information of the group member and each electronic device needs to be determined. The following describes the location information acquiring process of each electronic device in the smart home system in detail by taking the smart home communication system as an example.
The electronic devices may be second electronic devices 200 as shown in fig. 2, and the location information of the electronic devices is used for displaying, by the subsequent first electronic device 100, electronic devices located near the group member on the group card, so as to facilitate the user to determine the second electronic device 200 that establishes the communication connection.
By way of example, as shown in table 1 below, in a home scenario, the spatial information includes room information such as living room, bedroom, study room, etc., and the user, electronic device may be in each space. The device state information is used to represent a state of the electronic device that is logged into the first application, such as being in a power-on state, or being in a power-off state, etc. It should be appreciated that an electronic device in an on state may establish a communication connection and an electronic device in an off state may not establish a communication connection. The device type is used for representing the specific form of the electronic device, such as large-screen device, sound box, mobile phone and the like, and the corresponding electronic device can be determined through the device identifier, so that the device type of the electronic device can be determined. Personnel information is used to indicate whether a person is present in the space, in the case of a person, a single person or multiple persons. The man-machine distance is used for determining distance information between the target user and the electronic equipment, whether the target user faces the electronic equipment, whether the target user is in the same space with the electronic equipment and the like. The electronic device located near the target user may be determined by various information as shown in table 1 below.
It should be appreciated that the target user and the second electronic device are located in a home space corresponding to the same smart home system. The group card displayed by the first electronic device may include a user head portrait corresponding to the target user, and the first electronic device may be located outside the home space or in the home space.
TABLE 1
Fig. 13 is a schematic flow chart of a method for determining an electronic device near a target user according to an embodiment of the present application. As shown in fig. 13, the method includes the following steps.
Any electronic device in the intelligent home system, or the central device, can be used for determining the electronic devices nearby the target user. The following takes the central equipment as an intelligent home control panel, and the intelligent home control panel determines the electronic equipment nearby the target user as an example, so as to describe the process in detail.
Optionally, the electronic device near the target user is an electronic device that has logged into the first application account corresponding to the target user. The first electronic device may request, via the first application account, establishment of a communication connection with those electronic devices that have logged into the first application account.
S1301, the intelligent home control panel determines the space where the target user is located.
The space in which the target user is located may be, for example, a space corresponding to the space information shown in table 1, such as a living room, a bedroom, a study room, a kitchen, a dining room, a bathroom, an audio-visual room, and the like.
In some embodiments, a typical user has his own usual equipment, such as a cell phone, which the user would typically carry. Then, the intelligent home control panel can determine the space where the target user is located according to the position of the common equipment of the target user.
Optionally, the smart home control panel may set a user's usual devices in response to a user operation. Or the intelligent home control panel determines common equipment of the user according to the equipment type of the electronic equipment. For example, the mobile phone is set as a common device of the user.
Illustratively, handset a initiates a first application in response to user a's operation and creates an account for the first application, such as account a. The smart home control panel can acquire account information, such as an account A, of a first application logged in by the mobile phone A. And then, the intelligent home control panel responds to the user operation, sets the mobile phone A as common equipment of the user A, and establishes a corresponding relation between the account A and the mobile phone A. Subsequently, the smart home control panel may determine the location of the mobile phone a, and set the location as the location of the target user (i.e., user a) to determine the space in which the target user is located.
In other embodiments, the electronic device may collect face information of user a during creation of the first application account of user a in response to user a's operation. After the first application account is established, the electronic device can send the account information and the corresponding face information to the intelligent home control panel, and the intelligent home device control panel can establish the corresponding relation between the account information and the face information. Subsequently, the intelligent home control panel can determine the positions of the users corresponding to different accounts in a face recognition mode, and determine the space where the target user is located. The first application account creation process may refer to the prior art, and the embodiment of the present application is not particularly limited.
The smart home device establishes a correspondence between the account a and face information of the user a, for example. When the intelligent home equipment needs to determine the equipment condition corresponding to the account A, the target user corresponding to the account A can be determined to be the user A according to the corresponding relation between the account information and the face information. The intelligent home control panel can collect images in each space through cameras configured by the intelligent home control panel and/or cameras configured by other electronic equipment in the intelligent home system, and the space where the user A is located is determined through image analysis according to the stored face information of the user A.
S1302, the intelligent home control panel determines equipment information of the electronic equipment in the space.
The device information of the electronic device includes, for example, one or more of device identification, location information, whether the first application is logged in, logged-in first application account information, device status, device type, and the like.
In some embodiments, the smart home control panel may determine the location of various electronic devices in the smart home system. Then, after determining the space in which the target user is located, the smart home control panel may determine the electronic device located in the space. And, a device state of the electronic device in the space may be determined.
For example, the smart home device determines a target for being located in the living room, and may determine the electronic devices located in the living room, and the device status of each electronic device in the living room. Such as whether it is on, in use, etc.
In some embodiments, the electronic devices in the smart home system may log in to the same or different first application accounts, and the smart home control panel may determine that the electronic devices of the first application are logged in to each of the electronic devices in the smart home system, and obtain the logged-in account information.
Optionally, the electronic device in the space where the target user is located may log into the same or different first application account. In the process of establishing communication connection with the second electronic equipment of the target user, the first electronic equipment establishes communication connection with the second electronic equipment logging in the target account through the target account of the target user. After the target user is determined, the intelligent home equipment can determine a target account corresponding to the target user, and further determine the electronic equipment which logs in the target account in the electronic equipment in the space where the target user is located according to the acquired account information which logs in by each electronic equipment in the intelligent home system. Subsequently, the smart home control panel may determine the distance between the electronic devices and the target user. That is, in the subsequent man-machine distance judging process, the interference of the electronic equipment logging in other first application accounts is eliminated.
Optionally, in combination with the device state of the electronic device in the space where the target user is located, which is determined by the smart home device, the smart home device may determine the device state of the electronic device that has logged into the target account. The embodiment of the application does not limit the sequence of determining the equipment state and the target account login condition of the intelligent home equipment.
S1303, the intelligent home control panel determines the electronic equipment located near the target user.
In some embodiments, the smart home control panel determines the space in which the target user is located according to the common equipment of the target user. Then, the intelligent home control panel can determine the target electronic device finally needed according to the distance between the common device and other electronic devices in the space.
For example, the smart home control panel determines that the target user is located in the living room through the mobile phone carried by the target user (i.e. step S1301). After that, the smart home control panel determines that the electronic device located in the living room is in a power-on state, and logs in the electronic device of the first application through the target account (i.e. step S1302). And then, the intelligent home control panel determines the distance between the electronic devices and the mobile phone of the target user, and determines the target electronic device corresponding to the minimum distance value. Then, the smart home control panel may determine that the target electronic device is an electronic device near the target user (i.e., step S1303).
In other embodiments, the smart home control panel determines a space in which the target user is located according to face information of the target user. Then, the intelligent home control panel can determine the distance between other electronic devices in the space and the target user through the face recognition technology, and determine the final required target electronic device.
For example, the smart home control panel determines that the target user is located in the living room through the face recognition technology (i.e. step S1301). After that, the smart home control panel determines that the electronic device located in the living room is in a power-on state, and logs in the electronic device of the first application through the target account (i.e. step S1302). And then, the intelligent home control panel determines the distance between the electronic devices and the target user through a face recognition technology, and determines the target electronic device corresponding to the minimum distance. Then, the smart home control panel may determine that the target electronic device is an electronic device near the target user (i.e., step S1303).
In some embodiments, the smart home control panel may further determine a direction in which the face of the target user faces through a face recognition technology, and acquire target user facing information to determine an electronic device in which the target user faces. Thus, the intelligent home control equipment combines the distance information and the target user facing information, and can determine the target electronic equipment more accurately.
For example, in the space where the target user is located, a plurality of electronic devices which are in a power-on state and have logged into the target account are close to the target user. Then, the intelligent home control panel can determine the direction facing by the target user through the face recognition technology, and determine the electronic device in the direction in the determined plurality of electronic devices as the target electronic device.
In this way, the subsequent first electronic device initiates communication to the determined target electronic device, and the target user faces the target electronic device, so that the communication request can be responded quickly.
In some embodiments, the electronic devices in the vicinity of the target user as determined by the smart home control panel may include one or more devices in the same space as the target user.
For example, after determining that the target user is located in the living room, the smart home control panel may determine an electronic device that is also located in the living room and is in a power-on state and logs into the target account. The smart home device may then determine the portion of the electronic devices as all electronic devices in the vicinity of the target user.
In some embodiments, in determining the electronic device near the target user, the smart home device may also determine the electronic device that the target user is using, determine the electronic device as one of the electronic device near the target user, or the electronic device near the target user.
For example, the target user is watching video using a tablet, and the tablet has logged into the target account of the first application. Then the smart home control panel may determine the tablet as an electronic device in the vicinity of the target user.
In some embodiments, the smart home control panel, upon determining an electronic device in the vicinity of the target user (i.e., a target electronic device that can log into the target account), may send device information for the electronic device to the server. The device information includes, for example, a target account, a device ID, a device type, a device icon, a device name, a device nickname, and the like, which correspond to the electronic device.
Optionally, the electronic device may obtain account information entered by the user in response to the operation of creating the first application account by the user, e.g., information including an account name, a password, a user avatar, and the like. And then, the electronic equipment can send the acquired account information to a server to finish the creation of the account. Then, after the creation of the target account is completed, the server may also obtain the account information of the target account, and the server may store the account information of the target account. After the server acquires the device information of the target electronic device sent by the intelligent home control panel, the server can determine the target account included in the device information, and the target account is matched with the stored account information of the plurality of accounts. And the server can establish the corresponding relation between the account information of the target account and the equipment information of the target electronic equipment.
In some embodiments, the first electronic device may create a group card corresponding to the first application, which may include a plurality of group members, different group members corresponding to different first application accounts. Then, the first electronic device may send a device information request to the server, and carry account information corresponding to the group member in the request. After receiving the device information request, the server may determine device information corresponding to the account information according to the account information carried therein, and send the device information to the first electronic device. The first electronic device may determine an electronic device corresponding to the received device information, where the electronic device is an electronic device near a group member corresponding to the account information sent to the server. Then, the first electronic device may display a device identification, such as a device icon, a device name, a device nickname, etc., included in the acquired device information in the vicinity of the user avatar of the group member.
Illustratively, as shown in interface 1402 (b) of fig. 14, the first electronic device determines, based on the device information, that the device in the vicinity of the group member is a large screen device. Then the first electronic device may display a device icon 143 of the large screen device on the user avatar 142 of the group member.
In some embodiments, the target users may move in the same space, or in different spaces, and the electronic devices in the vicinity of the respective target users may also change. Then, after determining that the target user moves and the electronic equipment nearby the target user changes, the intelligent home control panel can update the electronic equipment nearby the target user, acquire the updated equipment information of the electronic equipment, and send the equipment information to the server. Correspondingly, after the server acquires the updated device information, the device information can be sent to the corresponding first electronic device, and the corresponding relationship between the account information of the target account and the device information of the target electronic device can be updated.
For example, after creating the group card, the first electronic device (e.g., the electronic device a) requests the server to obtain device information corresponding to the account information 1 of the group member 1 included in the group card. The server may send the device information corresponding to the account information 1 to the first electronic device according to the stored correspondence between the account information and the device information. Subsequently, the user 1 corresponding to the account information 1 moves, the electronic equipment nearby the user 1 changes, and the intelligent home control panel sends updated equipment information of the electronic equipment nearby the user 1 to the server. After the server acquires the updated device information, updating the device information corresponding to the account information 1, and sending the updated device information to the first electronic device, such as the electronic device a, which previously requested to acquire the device information corresponding to the account information 1.
Thus, by determining the distance between each second electronic device and the user, the first electronic device can display the electronic devices nearby the group member, and the user can selectively initiate communication to the nearby electronic devices, so that the success rate of communication is ensured.
In some embodiments, the server may also determine an electronic device that is located near the target user.
For example, after the electronic device in the smart home system logs in the first application, the location information of the electronic device can be reported to the server. The server can determine the device information of the common device set by the user, and further can determine the position information of the common device. Then, the server can directly determine the electronic device closest to the common device according to the position information of the common device and the position information of other electronic devices in the smart home system, wherein the electronic device is the electronic device nearby the target user.
For another example, the smart home control panel may obtain location information of each electronic device in the smart home device and device information of the common device set by the user. And then, the intelligent home control panel can report the position information and the equipment information to a server, and the server determines the electronic equipment closest to the common equipment, namely the electronic equipment near the target user.
Therefore, the calculation amount of the electronic equipment in the intelligent home system is reduced, and the use power consumption is reduced.
The above describes in detail how an electronic device obtains the implementation of electronic devices in the vicinity of a group member. The interface display after the electronic device acquires the electronic devices in the vicinity of the group member is described as follows.
In some embodiments, after the electronic device creates the group card, device information for electronic devices in the vicinity of each group member may be obtained. The electronic device may then display electronic devices in the vicinity of the group member, facilitating the user's determination of the electronic device requesting communication in establishing communication with the group member. The electronic devices near the group member include, for example, one or more electronic devices satisfying one or more conditions among the electronic devices in use by the group member, the electronic device closest to the group member, the electronic device in a space (e.g., room) with the group member, and the like.
Illustratively, as shown in interface 1401 in FIG. 14 (a), the electronic device displays group card 141. In response to a user clicking on the user avatar 142, the electronic device displays an interface 1402 as shown in fig. 14 (b). As shown in interface 1402, user avatar 142 is displayed enlarged on group card 141, and a device identification, such as icon 143, of an electronic device in the vicinity of the group member to which user avatar 142 corresponds is displayed. In this way, the user may determine that the electronic device located in the vicinity of the user is the electronic device indicated by icon 143, such as a large screen device.
Also exemplary, as shown in interface 1401 in fig. 14 (a), in response to a user clicking on user avatar 144, the electronic device displays interface 1403 as shown in fig. 14 (c). As shown in interface 1403, user avatar 144 is enlarged displayed on group card 141, and device identifications of electronic devices, such as icon 145 and icon 146, in the vicinity of the group member to which user avatar 144 corresponds are displayed. In this way, the user can determine that there are two electronic devices located in the vicinity of the user, a cell phone as indicated by icon 145, and a sound box as indicated by icon 146. The user may then select the electronic device for communication by clicking on a different electronic device identification.
In some examples, the first electronic device requests acquisition of electronic devices in the vicinity of the group member from the server in response to a user indication to display an operation of the electronic devices in the vicinity of the group member (e.g., an operation of clicking on the head of the group member). If the first electronic device sends a device information request to the server, and the account information of the group member is carried in the device information request. Then, the server may determine, according to the correspondence between the stored account information and the device information, the device information corresponding to the account information carried in the obtained device information request, and send the device information to the first electronic device. In this way, the first electronic device may display the identification of the electronic device in the vicinity of the head portrait of the group member according to the acquired device information.
In other examples, the electronic device requests, from the server, acquisition of electronic devices in the vicinity of the respective group members during the group creation process in response to a user operation to create the group. Subsequently, after the electronic equipment nearby the user changes, the server can acquire updated equipment information of the electronic equipment nearby the user, which is reported by the intelligent home equipment panel, and then the server can update the corresponding relation between account information corresponding to the user and the equipment information. And then, the server sends updated equipment information to the first electronic equipment which has previously requested the equipment information corresponding to the account information according to the account information, so that the first electronic equipment updates the electronic equipment near the group member included in the group card, and the subsequent display of the electronic equipment identification is facilitated.
In still other examples, the first electronic device sends a device information request to the server and carries account information, such as account information 1, for the group members in the device information request. And the corresponding server transmits the equipment information 1 corresponding to the account information 1 to the first electronic equipment. Subsequently, the server receives the information sent to the first electronic device by the electronic device 1 logging in the first application account corresponding to the account information 1, and can determine the device information, such as the device information 2, of the electronic devices near the target user corresponding to the account information 1, and in the process of forwarding the information sent by the electronic device 1 to the first electronic device, the server can send the device information 2 to the first electronic device, so that the first electronic device can determine the electronic devices near the group member corresponding to the account information 1 according to the device information 2. Alternatively, the device information 1 and the device information 2 are the same or different.
In some embodiments, the first electronic device may also display the electronic devices near the user avatar directly on the displayed user avatar during the process of displaying the group card. For example, as shown in an interface 1401 of fig. 14 (a), the first electronic device may also directly display, on a user avatar displayed on a group card, an electronic device (not shown) near a user corresponding to the user avatar. In this way, the user can intuitively confirm the electronic devices near the user on the group card without further operations.
In some embodiments, the electronic device detects a user operation on the group card, such as a long press of the group card, during the process of displaying the group card, and may display a nearby electronic device detail page of the group member.
Illustratively, as shown in interface 1501 in fig. 15 (a), the electronic device displays a group card 151. After detecting the operation of the user pressing the blank display area on the group card 151, the electronic device may display an interface 1502 as shown in fig. 15 (b). On the interface 1502, the electronic device may display all of the group members included in the group card 151, as well as details of the electronic devices in the vicinity of the group members, so that the user may quickly learn about the devices in the vicinity of the group members.
In some embodiments, the electronic device detects an operation of clicking the head portrait of the group member by the user in the process of displaying the group detail interface, and may also display the detail information of the group member. Optionally, the detailed information of the group member includes, for example, location information of the group member, nearby electronic devices, status information of the group member (such as mood, health information, etc.), and the like.
For example, as shown in an interface 1601 in fig. 16 (a), in the process of displaying the group card 161 by the electronic device, an operation of clicking a blank display area on the group card 161 by the user is detected, and a group detail interface 1602 shown in fig. 16 (b) is displayed. After the electronic device detects the operation of clicking the user avatar 162 by the user, an interface 1603 as shown in fig. 16 (c) may be displayed. On interface 1603, the electronic device may display detailed information of the group member corresponding to user avatar 162, such as nearby electronic devices, etc. As indicated by reference numeral 163, the electronic device displays the device identification of electronic devices in the vicinity of the group member. As indicated by reference numeral 164, the electronic device displays the location information of the group member and details of electronic devices in the vicinity of the group member.
The following describes the application process of the group card in detail in connection with several specific implementation scenarios.
Scene one, the phone calls scene.
In one example scenario, user a is not at home, using an electronic device (e.g., a cell phone), and wants to place a call through a first application to user B located at home. And, user a wants to talk with user B through a large screen device located in the living room in the home to see the living room layout change.
Illustratively, as shown in interface 1701 of fig. 17A (a), the electronic device displays the group card 171, and in response to an operation of the user a clicking on the user head portrait 172 corresponding to the user B displayed on the group card, the electronic device displays an interface 1702 as shown in fig. 17A (B). As shown in interface 1702, on the group card 171, the electronic device enlarges and displays a user avatar 172, and displays a device identification, such as a large screen identification 173, of the electronic device in the vicinity of the group member to which the user avatar 172 corresponds. User a may determine from the large screen identification 173 that the large screen device is located near user B and may confirm initiation of the communication. After detecting the operation of clicking the user head portrait 172 or clicking the large screen identifier 173 by the user a, the electronic device may determine that the user a instructs to initiate communication to the large screen device corresponding to the large screen identifier 173.
The electronic device may then send a communication request to the server, where the communication request carries account information corresponding to the user avatar 172 and device information corresponding to the large screen identifier 173. Thereafter, the electronic apparatus may display an interface 1703 for waiting for a telephone to be turned on as shown in (c) in fig. 17A.
Correspondingly, after receiving the communication request sent by the electronic device, the server can forward the communication request sent by the electronic device to the large-screen device according to the account information and the device information. Then, as shown in fig. 17B (a), the large screen device may display a telephone call interface after receiving the communication request. Upon detecting operation of the interface control 174 by user B, the large screen device may determine that user B indicates acceptance of the communication request, and may then send a communication confirmation indication to the server. The server may then forward the communication confirmation indication to the electronic device.
Then the subsequent electronic device and the large screen device may implement this communication. Accordingly, the electronic device may display a call interface 1704 as shown in fig. 17A (d), and the large screen device may display a call interface as shown in fig. 17B (B).
In this manner, a user may determine, via the electronic device displayed in the group card by the electronic device in the vicinity of the group member, whether or not the electronic device is in the vicinity of the electronic device that needs to establish communication. Thereby further guaranteeing the success rate of communication while meeting the communication demand.
Scene two, the file sends the scene.
Wherein the file comprises, for example, pictures, videos, text, links, etc. The first electronic device may send the file to an electronic device in the vicinity of the user avatar in response to a user dragging the file toward the user avatar.
Illustratively, as shown in interface 1801 of fig. 18A (a), the electronic device (e.g., a cell phone) displays a group card 181, and in response to a user clicking on the user avatar 182 displayed on the group card, the electronic device displays interface 1802 of fig. 18A (b). As shown in interface 1802, on group card 181, the electronic device enlarges and displays user avatar 182, and displays a device identification, such as large screen identification 183, of the electronic device in the vicinity of the group member to which user avatar 182 corresponds. The electronic device desktop has a picture 184 displayed thereon. After detecting the operation of dragging the picture 184 into the display area of the group card 181 by the user along the direction indicated by the arrow 185, the electronic device may determine that the user instructs to send the picture 184 to the large-screen device corresponding to the large-screen identifier 183.
Then, the electronic device may send a file transfer request to the server, where the file transfer request carries account information corresponding to the user avatar 182, device information corresponding to the large screen identifier 183, and picture content corresponding to the picture 184.
The server may then forward the received picture content to the large screen device in response to the file transfer request. Then, as shown in fig. 18B, the large screen device may display the acquired picture. Alternatively, the large screen device may display the picture reception confirmation message first, and then display the received picture in response to the confirmation operation of the user.
It should be understood that, if the electronic device responds to the user operation, the transmitted file is video, text and other contents, and the large-screen device can also display the corresponding video, text and other contents.
Thus, the file is quickly transmitted. Moreover, the file receiving device can be ensured to be near the target user, and the target user can quickly determine to receive the file.
Also exemplary, as shown in fig. 18A as interface 1801 (a), the electronic device (e.g., a cell phone) displays a group card 181, and in response to a user clicking on the user avatar 182 displayed on the group card, the electronic device displays an interface 1803 as shown in fig. 18A (c). As shown in interface 1803, on the group card 181, the electronic device enlarges and displays the user avatar 182, and displays the device identification, such as the large screen identification 183, of the electronic device near the group member to which the user avatar 182 corresponds.
In addition, the electronic device has a super transfer station function, a floating window 186 corresponding to the super transfer station is displayed on the desktop, and a link temporarily stored by the electronic device in response to a user operation is displayed in the floating window 186. After that, the electronic device detects an operation that the user drags the link displayed in the floating window 186 into the display area of the group card 181 in the direction indicated by the arrow 187, and can determine that the user instructs to transmit the link to the large-screen device corresponding to the large-screen identifier 183.
Then, the electronic device may send a transmission request to the server, where the transmission request carries account information corresponding to the user avatar 182, device information corresponding to the large screen identifier 183, and a link to be transmitted.
The server may then forward the received link to the large screen device in response to the file transfer request. Then, as shown in fig. 18C, after receiving the link, the large screen device may open the link and display the content corresponding to the link, such as video. Alternatively, the large screen device may display the link reception confirmation message first, and then open the received link to display the corresponding content in response to the confirmation operation of the user.
Therefore, on the basis of realizing file transmission, the data volume of transmission is reduced through the transmission of links, and the sharing of the link content is realized.
Scene three, quick help scene.
In some examples, the electronic device may determine, in response to a user operation, whether to initiate a communication using the electronic device or to initiate a communication using an electronic device in the vicinity of the electronic device such that the communication process meets user requirements.
Illustratively, as in the scenario shown in FIG. 19A, the user is in front of a large screen device and is using a cell phone. Wherein, the mobile phone has created a group and a group card is displayed. In the process of displaying the group card, the mobile phone displays a group detail interface 1901 in response to a user operation as shown in fig. 19B (a). After detecting the user's click on the user avatar 191, the mobile phone may display an interface 1902 as shown in fig. 19B (B). After detecting the user clicking on control 192, the handset determines that the user indicates to place a call through other devices. Then the handset may search for electronic devices nearby to log in to the first application and display an interface 1903 as shown in fig. 19B (c). On interface 1903, the handset may display handset identification 193, as well as a device identification of the searched electronic device, such as device identification 194 of the large screen device. Optionally, the first application account logged in by the electronic device searched by the mobile phone is the same as or different from the first application account logged in by the mobile phone.
After detecting the operation of clicking the device identifier 194 by the mobile phone, it may be determined that the user instructs to initiate communication through the large screen device corresponding to the device identifier 194. Then, the mobile phone sends a communication instruction to the large screen device, and the account information corresponding to the user avatar 191 can be carried in the communication instruction. After receiving the communication indication, the large screen device may determine that communication needs to be initiated. The large screen device may send a communication request to the server, and carry the acquired account information in the communication request. Thereafter, the large screen device may display a telephone call interface as shown in fig. 19C (a).
Correspondingly, the server responds to the received communication request and sends the communication request to the electronic equipment logging in the account corresponding to the account information. After the electronic device receives the communication request, in response to a user operation determining to accept the communication, a call interface as shown in fig. 19D may be displayed. Accordingly, the large screen device that initiated the communication may also display a call interface as shown in fig. 19C (b).
Therefore, when the user needs to initiate communication, the user can select to initiate communication through the electronic equipment in use, and can also select nearby electronic equipment to initiate communication, so that the communication process can meet the use requirement of the user. For example, as shown in the scene of fig. 19A, in the help seeking process, the user can obtain clearer help guidance through the better display capability of the large-screen device.
In some examples, the electronic device may enable quick help through the group card. And after the help seeking party views the help seeking information, equipment nearby the user seeking help can be rapidly determined through the group card, and help can be timely provided.
Illustratively, the first electronic device displays the group detail interface 2001 in response to a user operation in displaying the group card, as shown in (a) of fig. 20A. After detecting the operation of clicking the user avatar 201 by the user, the first electronic device may display an interface 2002 as shown in fig. 20A (b). After the first electronic device detects the operation of clicking the control 202 by the user, it determines that the user instructs to initiate a quick help, and an interface 2003 as shown in (c) of fig. 20A may be displayed. The first electronic device may receive help information entered by the user in input box 203 on interface 2003. After that, after detecting the operation that the user clicks the determination control 204, the first electronic device may determine that the user completes inputting the help-seeking information, and may send the help-seeking information to a second electronic device located near the group member corresponding to the user avatar 201, for example, forwarding the help-seeking information through the server. Thereafter, the first electronic device may display an interface 2004 as shown in fig. 20A (d) to prompt the user that help information has been sent. The help seeking information carries equipment information of the first electronic equipment and account information of a first application which the first electronic equipment logs in.
Accordingly, as shown in interface 2005 in fig. 20B (a), after receiving the help information sent by the first electronic device, the second electronic device may determine account information corresponding to the help information, and further determine the group member sending the help information and the corresponding user avatar. After that, the second electronic device may display an identifier 207 near the determined user head portrait 206 displayed in the displayed group card 205 after determining the group head portrait, where the identifier 207 is used to prompt the user to receive help seeking information sent by the group member corresponding to the user head portrait 206.
After that, after the second electronic device detects the operation of clicking the logo 207 by the user, an interface 2006 as shown in fig. 20B (B) may be displayed. On interface 2006, the second electronic device can display detailed help information.
Further, a device identifier 208 of an electronic device near the group member corresponding to the user avatar 206 is also displayed near the user avatar 206. Or in response to the user clicking on the user avatar 206, the second electronic device enlarges and displays the user avatar 206, and displays the device identification of the electronic device near the corresponding group member on the enlarged user avatar 206.
In this way, a user can quickly determine an electronic device that is located near the help seeking group member, and can determine whether communication needs to be initiated to the electronic device to quickly reach the help seeking group member.
Therefore, the first electronic equipment can help the user to realize quick help through the group card, and the use requirement of the user is met.
Fig. 21 is a schematic flow chart of a communication method according to an embodiment of the present application. As shown in fig. 21, the method includes the following steps.
S2101, a first electronic device displays a first group card, and first identifiers of a plurality of group members are displayed on the first group card.
In some embodiments, the first electronic device may display a plurality of communication cards corresponding to a plurality of group members, respectively. Then, in response to a fifth operation of the plurality of communication cards by the user, a first group card including a plurality of group members corresponding to the plurality of communication cards is established.
Optionally, a first application is installed in the first electronic device, and the group card and the communication card displayed by the electronic device are first application cards.
Illustratively, as shown in interface 601 of fig. 6 (a), a plurality of cards of the first application, such as contact 1 card 61, contact 2 card 62, and contact 3 card 63, are displayed on the first electronic device desktop, where each card corresponds to a contact. In response to a user selection operation of the contact 1 card 61, the contact 2 card 62, and the contact 3 card 63, as a pinch operation in the arrow direction indicated by reference numeral 64, the first electronic device may determine to create a group card including the three cards selected. Thereafter, as shown in interface 602 in fig. 6 (b), the first electronic device may display the created group card 65, where the group card 65 displays the head portraits of the contacts corresponding to the contact 1 card 61, the contact 2 card 62, and the contact 3 card 63, respectively, and the group members of the group corresponding to the group card 65 include the contact 1, the contact 2, and the contact 3.
In this way, the first electronic device can respond to the operation of the user to create and display the group card comprising a plurality of group members, thereby facilitating the management of the plurality of group members by the user while meeting the communication requirements of the user. And by displaying the group card, the first electronic device can save desktop display space.
In other embodiments, the first electronic device may display a first group of cards that are blank. A sixth operation by the user on the blank first group card is detected, searching for one or more third electronic devices in the vicinity that request a group be established. And displaying the second device identification of the searched one or more third electronic devices on the blank first group card. In response to a seventh operation by the user, a first group card is established that includes one or more accounts corresponding to the one or more third electronic devices, the one or more accounts corresponding to the one or more group members.
Optionally, the first electronic device installs a first application, and the one or more accounts are accounts for one or more third electronic devices to log in to the first application.
For example, the first electronic device may create and display a blank group card. As shown in interface 705 of fig. 7C (a), in response to the user clicking on a control 74 displayed on the blank group card 73, the first electronic device transmits a broadcast message for requesting establishment of a group. Likewise, a third electronic device in the vicinity of the first electronic device may also create a blank group card and send a broadcast message in response to a user operation.
Then the first electronic device may search for broadcast messages sent by a nearby third electronic device. The broadcast message may carry account information of the first application, such as a login account, a contact manner, a user head portrait, etc., and after the first electronic device obtains the broadcast message sent by the third electronic device, the first electronic device may obtain the account information carried therein, and determine group members according to the account information.
Then, as shown in an interface 706 in fig. 7C (b), the first electronic device may display an identifier corresponding to the searched third electronic device on the blank group card 73, where the identifier may be a user avatar of the third electronic device logging into the first application, or may be a device identifier. After the first electronic device detects the operation of clicking the confirmation control 75 by the user, it may be determined that the user determines that the third electronic device corresponding to the contacts of all the groups to be established has been searched, and then a group card may be created. As shown in interface 707 in fig. 7C (C), the first electronic device displays a created group card 76, the group card 76 including contacts corresponding to the three electronic devices shown in fig. 7A.
Therefore, by means of near field communication, the first electronic equipment can establish a group without responding to the operation of selecting a plurality of cards by a user, so that the operation difficulty of the user is reduced, and the group establishment efficiency is improved.
In addition, the first electronic device can also quickly complete the creation of the group under the condition that the contact information is not stored. For example, in a meeting scene, a plurality of users who do not store contact information can create a group card in a short-range communication mode, so that the follow-up contact is facilitated.
In some embodiments, the number of the first identifiers displayed on the group card is less than or equal to a preset number, and the first identifiers are arranged and displayed on the group card according to a preset rule.
Optionally, the preset rule includes, for example, displaying user head portraits corresponding to a plurality of group members in turn according to the liveness of the group members. Optionally, the first electronic device may determine the liveness of the group member by determining how frequently to contact the group member, the time of the last contact, the time of joining the group, whether there is an unread message, the time of receiving the unread message, and so on.
Therefore, the number of the user head portraits displayed on the group card can be smaller than or equal to the preset number, so that the display effect is ensured, and the user can operate the group members conveniently.
S2102, the first electronic device detects a first operation of a user on a target identifier in the first identifier, and obtains first device information of a second electronic device near a target group member corresponding to the target identifier.
In some embodiments, the first device information includes one or more of a device identifier, a device type, a device icon, a device name, and a device nickname corresponding to the second electronic device.
In some embodiments, the second electronic device is the electronic device that is located in the same space as the target group member and is closest to the target group member.
In some embodiments, the first electronic device sends a first request to the server, where the first request carries first account information corresponding to the target group member. And then, the first electronic equipment can receive first equipment information sent by the server, wherein the first equipment information is matched equipment information by the server according to the first account information.
For example, in the smart home system, the location information of the target group member may be determined by devices such as smart home devices and smart home control panels included in the target group member. And, device information for a second electronic device located near the target group member may be determined. And then, the intelligent home control panel can report the equipment information of the second electronic equipment to the server. Then subsequently, the first electronic device may obtain device information for the corresponding second electronic device from the server.
In this way, the first electronic device is enabled to display the second electronic device in the vicinity of the target group member.
And S2103, the first electronic device displays the first device identifier of the second electronic device on the target identifier according to the first device information.
In some embodiments, after the first electronic device obtains the first device information of the second electronic device near the target group member corresponding to the target identifier, the first device identifier of the second electronic device may be displayed on the target identifier, so that the user can confirm the second electronic device near the target group member.
In some embodiments, the first electronic device detects a second operation of the first device identification by the user, and initiates communication to the second electronic device.
Thus, the user can determine the second electronic device which is positioned near the target group member in the group card through the group card of the first electronic device. In this way, the user may choose to initiate a communication through the first electronic device to the second electronic device, facilitating quick contact with the target group member.
And the user can determine whether the second electronic device is the electronic device which is currently wanted to be contacted or not, selectively communicate, and meet the use requirement of the user.
In some embodiments, after detecting the first operation of the user on the target identifier in the first identifier, the first electronic device may further highlight the target identifier on the first group card in a preset manner. And displaying the device identifier of the second electronic device on the target identifier highlighted in a preset manner on the first group card.
Optionally, the preset manner includes, for example, enlarged display or the like.
Illustratively, as shown in interface 1401 in FIG. 14 (a), the electronic device displays group card 141. In response to a user clicking on the user avatar 142, the electronic device displays an interface 1402 as shown in fig. 14 (b). As shown in interface 1402, user avatar 142 is displayed enlarged on group card 141, and a device identification, such as icon 143, of an electronic device in the vicinity of the group member to which user avatar 142 corresponds is displayed.
Thus, the target identification is highlighted in a preset mode, so that the user can conveniently confirm the target group member to be contacted. And the user can conveniently confirm the second electronic equipment of the target group member accessory, so that the use experience of the user is improved.
In some embodiments, the first electronic device displays the first file. And detecting a third operation of dragging the first file to the target identifier by the user, and sending the first file to the second electronic equipment.
Illustratively, as shown in interface 1801 of fig. 18A (a), the first electronic device displays a group card 181, and in response to a user clicking on the user avatar 182 displayed on the group card, the first electronic device displays interface 1802 of fig. 18A (b). As shown in interface 1802, on group card 181, the first electronic device enlarges and displays user avatar 182, and displays a device identification, such as large screen identification 183, of a second electronic device in the vicinity of the group member to which user avatar 182 corresponds. The first electronic device desktop has a picture 184 (e.g., a first file) displayed thereon. After the first electronic device detects the operation that the user drags the picture 184 into the display area of the group card 181 along the direction indicated by the arrow 185, it may be determined that the user indicates to send the picture 184 to the second electronic device, such as the large screen device, corresponding to the large screen identifier 183.
Thus, the file is quickly transmitted. And, the second electronic device for receiving the file can be guaranteed to be near the target group member, and the target group member can quickly determine the received file.
In some embodiments, the first electronic device detects a fourth operation of the first group card by the user and displays device information of electronic devices in proximity to each of the plurality of group members.
Illustratively, as shown in interface 1501 in fig. 15 (a), the first electronic device displays a group card 151. After detecting the operation of the user pressing the blank display area on the group card 151 for a long time, the first electronic device may display an interface 1502 as shown in fig. 15 (b). On the interface 1502, the first electronic device may display all the group members included in the group card 151, and details of the electronic devices nearby the group members, so that the user can quickly understand the situation of the devices nearby the group members.
In some embodiments, the target group member corresponds to a first account. After receiving the first information sent by the first account, the first electronic device displays first prompt information on the target identifier, wherein the first prompt information is used for prompting the user of the first information sent by the target group member.
For example, as shown in interface 2005 in fig. 20B (a), after receiving the help information, the first electronic device may determine a first account corresponding to the help information, and further determine a group member corresponding to the first account that sends the help information, and a corresponding user avatar. After that, the first electronic device may display an identifier 207 near the determined user head portrait 206 displayed in the displayed group card 205 after determining the group head portrait, where the identifier 207 is used to prompt the user to receive help seeking information sent by the group member corresponding to the user head portrait 206.
Therefore, the first electronic equipment can help the user to realize quick help through the group card, and the use requirement of the user is met.
In some embodiments, the first electronic device determines one or more fourth electronic devices in the vicinity of the first electronic device in response to an eighth operation of the user indicating initiation of communication to a first account corresponding to the target group member. And displaying one or more third device identifiers corresponding to the one or more fourth electronic devices. Detecting nine operations of a user on a fourth device identifier in one or more third device identifiers, and sending a first indication to a target fourth electronic device corresponding to the fourth device identifier, wherein the first indication carries a first account, and the first indication is used for indicating the target fourth electronic device to initiate communication to the first account.
Illustratively, as in the scenario shown in FIG. 19A, the user is in front of a large screen device and is using a cell phone. Wherein, a group is created on a mobile phone (such as a first electronic device), and a group card is displayed. In the process of displaying the group card, the mobile phone displays a group detail interface 1901 in response to a user operation as shown in fig. 19B (a). After detecting the user's click on the user avatar 191, the mobile phone may display an interface 1902 as shown in fig. 19B (B). After detecting the user clicking on control 192, the handset determines that the user indicates to place a call through other devices. Then the handset may search for electronic devices nearby to log in to the first application and display an interface 1903 as shown in fig. 19B (c). On interface 1903, the handset may display handset identification 193, as well as a third device identification of a fourth electronic device being searched, such as device identification 194 of a large screen device.
After detecting the operation of clicking the device identifier 194 (such as the fourth device identifier) by the mobile phone, it may be determined that the user instructs to initiate communication through the large-screen device (such as the target fourth electronic device) corresponding to the device identifier 194. Then, the mobile phone sends a communication instruction to the large screen device, and the account information corresponding to the user avatar 191 can be carried in the communication instruction. After receiving the communication indication, the large screen device may determine that communication needs to be initiated. The large screen device may send a communication request to the server, and carry the acquired account information in the communication request. Thereafter, the large screen device may display a telephone call interface as shown in fig. 19C (a).
Therefore, when the user needs to initiate communication, the user can select to initiate communication through the electronic equipment in use, and can also select nearby electronic equipment to initiate communication, so that the communication process can meet the use requirement of the user. For example, as shown in the scene of fig. 19A, in the help seeking process, the user can obtain clearer help guidance through the better display capability of the large-screen device.
In some embodiments, the first electronic device displays a second group card having a target identification of a target group member displayed thereon.
Illustratively, as shown in interface 1101 of FIG. 11, the first electronic device displays a group card 111 and a group card 112, wherein group card 111 comprises 6 group members and group card 112 comprises 2 group members. Wherein the user avatar 113 displayed on the group card 111 and the user avatar 114 displayed on the group card 112 correspond to the same contact. That is, the two groups to which the group card 111 and the group card 112 correspond include the same group member.
Thus, the group card is convenient for the user to flexibly use, and the use experience of the user is improved.
The communication method provided by the embodiment of the application is described in detail above with reference to fig. 5 to 21. The following describes in detail the first electronic device provided in the embodiment of the present application with reference to fig. 22.
In one possible design, fig. 22 is a schematic structural diagram of a first electronic device according to an embodiment of the present application. As shown in fig. 22, the first electronic device 2200 may include: a display unit 2201, a transceiver unit 2202, and a processing unit 2203. The first electronic device 2200 may be configured to implement the first electronic device or functions of the electronic device as referred to in the above-described method embodiments.
Optionally, a display unit 2201, configured to support the first electronic device 2200 to display interface content; and/or support the first electronic device 2200 to perform S2102 and S2103 in fig. 21.
Optionally, the transceiver unit 2202 is configured to support the first electronic device 2200 to execute S2102 in fig. 21.
Optionally, the processing unit 2203 is configured to support the first electronic device 2200 to execute S2103 in fig. 21.
The transceiver unit may include a receiving unit and a transmitting unit, may be implemented by a transceiver or a transceiver related circuit component, and may be a transceiver or a transceiver module. The operations and/or functions of each unit in the first electronic device 2200 may be referred to as a functional description of a corresponding functional unit for brevity, so that corresponding flows of the communication method described in the above method embodiments are implemented, and all relevant contents of each step related to the above method embodiments are not repeated herein.
Alternatively, the first electronic device 2200 shown in fig. 22 may further include a storage unit (not shown in fig. 22) in which a program or instructions are stored. When the display unit 2201, the transceiver unit 2202, and the processing unit 2203 execute the program or instructions, the first electronic device 2200 shown in fig. 22 is allowed to execute the communication method described in the above-described method embodiment.
The technical effects of the first electronic device 2200 shown in fig. 22 may refer to the technical effects of the communication method described in the above-mentioned method embodiment, and will not be described herein.
In addition to the form of the first electronic device 2200, the technical solution provided by the present application may also be a functional unit or a chip in the first electronic device, or a device used in cooperation with the first electronic device.
The embodiment of the application also provides a chip system, which comprises: a processor coupled to a memory for storing programs or instructions which, when executed by the processor, cause the system-on-a-chip to implement the method of any of the method embodiments described above.
Alternatively, the processor in the system-on-chip may be one or more. The processor may be implemented in hardware or in software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general purpose processor, implemented by reading software code stored in a memory.
Alternatively, the memory in the system-on-chip may be one or more. The memory may be integral with the processor or separate from the processor, and embodiments of the present application are not limited. The memory may be a non-transitory processor, such as a ROM, which may be integrated on the same chip as the processor, or may be separately provided on different chips, and the type of memory and the manner of providing the memory and the processor are not particularly limited in the embodiments of the present application.
Illustratively, the chip system may be a field programmable gate array (field programmable GATE ARRAY, FPGA), an Application Specific Integrated Chip (ASIC), a system on chip (SoC), a central processing unit (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (DIGITAL SIGNAL processor, DSP), a microcontroller (micro controller unit, MCU), a programmable controller (programmable logic device, PLD) or other integrated chip.
It should be understood that the steps in the above-described method embodiments may be accomplished by integrated logic circuitry in hardware in a processor or instructions in the form of software. The steps of the method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution.
The embodiment of the present application also provides a computer-readable storage medium having a computer program stored therein, which when run on a computer causes the computer to perform the above-described related steps to implement the communication method in the above-described embodiment.
The embodiments of the present application also provide a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement the communication method in the above-mentioned embodiments.
In addition, the embodiment of the application also provides a device. The apparatus may be a component or module in particular, and may comprise one or more processors and memory coupled. Wherein the memory is for storing a computer program. The computer program, when executed by one or more processors, causes an apparatus to perform the communication method in the method embodiments described above.
Wherein an apparatus, a computer-readable storage medium, a computer program product, or a chip provided by embodiments of the application are for performing the corresponding methods provided above. Therefore, the advantages achieved by the method can be referred to as the advantages in the corresponding method provided above, and will not be described herein.
The steps of a method or algorithm described in connection with the present disclosure may be embodied in hardware, or may be embodied in software instructions executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in random access memory (random access memory, RAM), flash memory, read Only Memory (ROM), erasable programmable read only memory (erasable programmable ROM), electrically Erasable Programmable Read Only Memory (EEPROM), registers, hard disk, a removable disk, a compact disc read only memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC).
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that the foregoing functional block divisions are merely illustrative for convenience and brevity of description. In practical application, the above functions can be allocated by different functional modules according to the need; i.e. the internal structure of the device is divided into different functional modules to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
In the several embodiments provided in the present application, it should be understood that the disclosed method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the modules or units is only one logic function division, and other division modes can be adopted when the modules or units are actually implemented; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, module or unit indirect coupling or communication connection, which may be electrical, mechanical or other form.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Computer readable storage media include, but are not limited to, any of the following: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should 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 (18)

1. A method of communication, applied to a first electronic device, the method comprising:
Displaying a first group card, wherein first identifiers of a plurality of group members are displayed on the first group card;
Detecting a first operation of a user on a target identifier in the first identifier, and acquiring first equipment information of second electronic equipment near a target group member corresponding to the target identifier;
And displaying the first equipment identifier of the second electronic equipment on the target identifier according to the first equipment information.
2. The method of claim 1, wherein the obtaining the first device information of the second electronic device in the vicinity of the target group member corresponding to the target identification comprises:
A first request is sent to a server, wherein the first request carries first account information corresponding to the target group member;
And receiving the first equipment information sent by the server, wherein the first equipment information is equipment information matched by the server according to the first account information.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
And detecting a second operation of the user on the first equipment identifier, and initiating communication to the second electronic equipment.
4. A method according to any one of claims 1-3, wherein the method further comprises:
Displaying the first file;
And detecting a third operation of dragging the first file to the target identifier by a user, and sending the first file to the second electronic equipment.
5. The method according to any one of claims 1-4, further comprising:
And detecting a fourth operation of the user on the first group card, and displaying equipment information of electronic equipment near each group member in the plurality of group members.
6. The method of any one of claims 1-5, wherein prior to said displaying the first group of cards, the method further comprises:
Displaying a plurality of communication cards corresponding to the plurality of group members respectively;
And responding to a fifth operation of the user on the plurality of communication cards, and establishing the first group card comprising the plurality of group members corresponding to the plurality of communication cards.
7. The method of any one of claims 1-5, wherein prior to said displaying the first group of cards, the method further comprises:
Displaying a blank first group of cards;
detecting a sixth operation of the user on the blank first group card, searching one or more third electronic devices nearby for a request to establish a group;
displaying the searched second device identifiers of the one or more third electronic devices on the blank first group card;
In response to a seventh operation by the user, the first group card including one or more accounts corresponding to the one or more third electronic devices is established, the one or more accounts corresponding to the one or more group members.
8. The method of claim 7, wherein the first electronic device installs a first application, the one or more accounts being accounts for the one or more third electronic devices logging into the first application.
9. The method of any of claims 1-8, wherein the target group member corresponds to a first account, the method further comprising:
Receiving first information sent by the first account;
And displaying first prompt information on the target identifier, wherein the first prompt information is used for prompting a user of the first information sent by the target group member.
10. The method according to any one of claims 1-9, wherein the method further comprises:
Determining one or more fourth electronic devices nearby the first electronic device in response to an eighth operation of initiating communication to a first account corresponding to the target group member indicated by a user;
displaying one or more third device identifiers corresponding to the one or more fourth electronic devices;
Detecting nine operations of a user on a fourth device identifier in the one or more third device identifiers, and sending a first indication to a target fourth electronic device corresponding to the fourth device identifier, wherein the first indication carries the first account, and the first indication is used for indicating the target fourth electronic device to initiate communication to the first account.
11. The method according to any of claims 1-10, wherein after said detecting a first operation of a user on a target identifier in said first identifier, the method further comprises:
highlighting the target mark on the first group of cards according to a preset mode;
the displaying the device identifier of the second electronic device on the target identifier according to the first device information includes:
And displaying the equipment identifier of the second electronic equipment on the target identifier which is highlighted in a preset mode on the first group of cards.
12. The method of any one of claims 1-11, wherein the first device information includes one or more of a device identifier, a device type, a device icon, a device name, and a device nickname corresponding to the second electronic device.
13. The method of any of claims 1-12, wherein the second electronic device is the electronic device that is located in the same space as the target group member and is closest to the target group member.
14. The method according to any one of claims 1-13, further comprising:
And displaying a second group card, wherein the target identification of the target group member is displayed on the second group card.
15. The method of any one of claims 1-14, wherein the number of first identifiers displayed on the group card is less than or equal to a preset number, the first identifiers being arranged and displayed on the group card according to a preset rule.
16. An electronic device, comprising: a processor, a memory and a display screen, the memory and the display screen being coupled to the processor, the memory being for storing computer program code, the computer program code comprising computer instructions which, when read from the memory by the processor, cause the electronic device to perform the method of any of claims 1-15.
17. A computer readable storage medium, characterized in that the computer readable storage medium comprises a computer program which, when run on an electronic device, causes the electronic device to perform the method of any one of claims 1-15.
18. A computer program product, characterized in that the computer program product, when run on a computer, causes the computer to perform the method according to any of claims 1-15.
CN202211311612.3A 2022-10-25 2022-10-25 Communication method and electronic equipment Pending CN117938559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211311612.3A CN117938559A (en) 2022-10-25 2022-10-25 Communication method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211311612.3A CN117938559A (en) 2022-10-25 2022-10-25 Communication method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117938559A true CN117938559A (en) 2024-04-26

Family

ID=90759836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211311612.3A Pending CN117938559A (en) 2022-10-25 2022-10-25 Communication method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117938559A (en)

Similar Documents

Publication Publication Date Title
WO2020244492A1 (en) Screen projection display method and electronic device
US11385857B2 (en) Method for displaying UI component and electronic device
CN113272745B (en) Smart home equipment sharing system and method and electronic equipment
CN111164983B (en) The interconnection terminal lends local processing capability
US11843712B2 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN112130788A (en) Content sharing method and device
US20220124607A1 (en) Method for Accessing Network by Smart Home Device and Related Device
CN116095881A (en) Multi-device cooperation method, electronic device and related products
CN114885442A (en) Input device connection method, device and system
WO2022127670A1 (en) Call method and system, and related device
CN114845035B (en) Distributed shooting method, electronic equipment and medium
CN114449090B (en) Data sharing method, device and system, electronic equipment, storage medium and chip
CN114356195B (en) File transmission method and related equipment
CN114201738B (en) Unlocking method and electronic equipment
US20230350629A1 (en) Double-Channel Screen Mirroring Method and Electronic Device
CN115242994B (en) Video call system, method and device
WO2020051916A1 (en) Method for transmitting information and electronic device
WO2023005711A1 (en) Service recommendation method and electronic device
WO2022052706A1 (en) Service sharing method, system and electronic device
CN113676902B (en) System, method and electronic equipment for providing wireless internet surfing
CN117938559A (en) Communication method and electronic equipment
WO2024001813A1 (en) Input control method, electronic device and system
CN117061266B (en) Control method and control device of intelligent household equipment
WO2022161058A1 (en) Photographing method for panoramic image, and electronic device
CN114666769A (en) Information processing method and related device and equipment

Legal Events

Date Code Title Description
PB01 Publication