Communication method, device and system
By implementing the server in the smart home system to determine the target account and push related information, the problem of inaccurate status information push when users directly operate home devices is solved, and the accuracy of user experience and information push is improved.
Patent Information
- Application Number
- CN202210912041.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-03-22
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2039-03-22
AI Technical Summary
When the existing smart home system directly operates the home device, it cannot accurately push status information to the target account, resulting in useless information received by non-target accounts and reduce user experience.
Receive the operation information of the home device through the server, determine the target account, and send a notification message containing the status information of the home device to the terminal device logged in to the target account to avoid pushing to other accounts.
It effectively avoids the non-target account receiving useless information, improves the user experience, and ensures the accuracy and relevance of information push.
Smart Images

Figure CN115442170B_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 201980089441.4, and the original application date is March 22, 2019. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of communications, and in particular to communication methods, devices and systems. Background Art
[0003] like Figure 1 As shown in FIG, the existing smart home system consists of a smart home cloud, smart home applications (APPs) installed on terminal devices, and smart home devices (such as air conditioners, refrigerators, and rice cookers, etc.). Usually, multiple different accounts can be logged in on multiple smart home APPs to operate the same smart home device. When a smart home APP logs in to a certain account to operate a smart home device, the smart home cloud only needs to push the status information of the smart home device to the account.
[0004] However, currently when a user directly operates a smart home device, the device reports status information to the smart home cloud. At this time, the smart home cloud does not know which account the status information should be pushed to. Therefore, the smart home cloud pushes the status information to all accounts that have subscribed to the device status information, or pushes it to all accounts bound to the device by default, resulting in some accounts inevitably receiving some useless information, reducing the user experience. Summary of the invention
[0005] The embodiments of the present application provide a communication method, device, and system that can prevent a user's account from receiving useless information and improve user experience.
[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0007] In the first aspect, a communication method and a corresponding communication device are provided. In this scheme, a server receives operation information from a home appliance, and the operation information is used to indicate the user's operation on the home appliance. The server determines a target account, which is one of the accounts associated with the home appliance, and sends a notification message to a target terminal device, the notification message including status information indicating the status of the home appliance, the status of the home appliance is related to the operation information, and the target terminal device is a terminal device logged in to the target account. Because in an embodiment of the present application, when a user directly controls a home appliance, the server can determine a target account from multiple accounts, and send a notification message including the status information of the home appliance to the target terminal device logged in to the target account, thereby avoiding the server from pushing notification messages to all accounts that have subscribed to the status information of the home appliance, avoiding other accounts other than the target account from receiving useless information, and improving the user experience.
[0008] In one possible design, the server determines a target account, including: the server obtains global positioning system GPS location information of one or more terminal devices, where the one or more terminal devices are terminal devices that log in to an account associated with the home device; the server determines the GPS location information of the one or more terminal devices that is closest to the GPS location of the home device; the server determines the account logged in by the terminal device corresponding to the GPS location information that is closest to the GPS location of the home device as the target account.
[0009] In one possible design, the server obtains the global positioning system GPS location information of one or more terminal devices, including: the server sends a GPS location information query message to the one or more terminal devices, the one or more terminal devices are terminal devices that log in to an account associated with the home device, and the one or more terminal devices include a target terminal device; the server receives the respective GPS location information from the one or more terminal devices.
[0010] In one possible design, before the server determines the account of the user currently controlling the above-mentioned home appliance, the communication method provided in the embodiment of the present application also includes: the server receives network-access GPS location information, which is the GPS location information of the network-access terminal device when the home appliance accesses the network through the network-access terminal device; the server determines the network-access GPS location information as the GPS location information of the home appliance.
[0011] In one possible design, the above-mentioned operation information includes the user's voice command, and the server determines the target account, including: the server identifies the user's voiceprint information based on the user's voice command; the server determines the account corresponding to the voiceprint information that best matches the user's voiceprint information as the target account based on a pre-established correspondence between voiceprint information and accounts.
[0012] In one possible design, before the server determines the target account, the communication method provided in the embodiment of the present application also includes: the server receives information about an account associated with the home device and voice information of a user associated with the account from one or more terminal devices; the server identifies the voiceprint information of the user based on the voice information of the user; the server establishes a correspondence between the user's voiceprint information and the user's account based on the user's voiceprint information and the user's account information.
[0013] In one possible design, the server determines a target account, including: the server obtains MAC addresses of one or more terminal devices, the one or more terminal devices are terminal devices for logging in to an account associated with a home device, and the one or more terminal devices and the home device are in the same network; the server determines the MAC address of the network with the strongest signal strength among the MAC addresses of the one or more terminal devices; the server determines the account logged in by the terminal device corresponding to the MAC address with the strongest signal strength of the network as the target account.
[0014] In one possible design, the server obtains MAC addresses of one or more terminal devices, including: the server obtains the sorting result of the media access control MAC addresses of one or more devices with network connection functions that are in the same network as the above-mentioned home device, wherein the sorting result of the MAC address is obtained based on the signal strength of the network corresponding to the MAC address of each device in the one or more devices, and the one or more devices with wireless connection functions include a terminal device that logs in to an account associated with the home device.
[0015] In one possible design, the server obtains the MAC addresses of one or more terminal devices, including: the server obtains the MAC addresses of one or more devices with network connection functions that are in the same network as the above-mentioned home device and the signal strength of the network corresponding to the MAC address of each device in the one or more devices, and the one or more devices with wireless connection functions include terminal devices that log in to an account associated with the home device.
[0016] In one possible design, a server obtains MAC addresses of one or more terminal devices, including: the server sends a MAC address related information query message to one or more first terminal devices; the server receives MAC address related information from the one or more first terminal devices, and the MAC address related information may include: the MAC address of the first terminal device, the identifier of the network corresponding to the MAC address of the first terminal device, and the signal strength of the network corresponding to the MAC address of the first terminal device; the server obtains the MAC addresses of one or more terminal devices in the same network as the home device from the MAC address related information of the one or more first terminal devices, wherein the one or more first terminal devices are terminal devices that log in to an account associated with the above-mentioned home device.
[0017] In one possible design, before the server determines the target account, the communication method provided in the embodiment of the present application also includes: the server receives the MAC address of each terminal device from one or more terminal devices and the account corresponding to the MAC address of the terminal device; the server establishes a correspondence between the account associated with the home device and the MAC address of the terminal device, wherein the one or more terminal devices are terminal devices for logging in to the account associated with the above-mentioned home device.
[0018] In the second aspect, a communication method and a corresponding communication device are provided. In this scheme, a terminal device receives a notification message from a server, wherein the terminal device is a target terminal device, the target terminal device is a terminal device of a target account determined by logging into the server, the target account is one of the accounts associated with the home appliance, and the notification message includes status information for indicating the status of the home appliance, the status of the home appliance is related to operation information, the operation information is sent by the home appliance to the server, and the operation information is used to indicate the user's operation on the home appliance; the terminal device determines the status of the home appliance according to the notification message. Since in the embodiment of the present application, the terminal device of the target account determined by logging into the server receives the notification message from the server, it avoids other users' accounts from receiving useless information, and improves the user experience. Furthermore, the terminal device can also determine the status of the home appliance according to the notification message from the server in order to perform subsequent operations.
[0019] In one possible design, the communication method provided by the embodiment of the present application also includes: the terminal device sends first information to the server, and the first information is used by the server to determine a target account, and the target account is one of the accounts associated with the home device, wherein the first information includes: GPS location information of the terminal device; or, the MAC address of the terminal device, the identifier of the network corresponding to the MAC address, and the signal strength of the network corresponding to the MAC address.
[0020] In the third aspect, a communication method and a corresponding communication device are provided. In this scheme, a home appliance obtains operation information, and the operation information is used to indicate the user's operation on the home appliance; wherein, the terminal device that logs in to the target account is the target terminal device, and the target terminal device is the terminal device that receives the notification message sent by the server, and the notification message includes status information indicating the status of the home appliance, and the status of the home appliance is related to the operation information; the home appliance sends the operation information to the server. In the embodiment of the present application, after the home appliance sends the above-mentioned operation information to the server, the server can determine the target account and send a notification message to the target terminal device that logs in to the target account, thereby avoiding other users' accounts from receiving useless information and improving the user experience.
[0021] In one possible design, the communication method provided by the embodiment of the present application also includes: the home device obtains media access control MAC address related information of one or more devices with network connection function that are in the same network as the home device, and the MAC address related information is used by the server to determine the target account, and the target account is one of the accounts associated with the home device, and the one or more devices with wireless connection function include a terminal device that logs in to the account associated with the home device; the home device sends the MAC address related information to the server.
[0022] In one possible design, the MAC address-related information of one or more devices in the same network as the home device includes: the sorting results of the media access control MAC addresses of the one or more devices, wherein the sorting results of the MAC addresses are obtained based on the signal strength of the network corresponding to the MAC address of each device in the one or more devices.
[0023] In one possible design, the MAC address-related information of one or more devices in the same network as the home device includes: the MAC addresses of the one or more devices and the signal strength of the network corresponding to the MAC address of each of the one or more devices.
[0024] In a fourth aspect, a communication device is provided for implementing the various methods described above. The communication device may be the server described in the first aspect, or a device including the server described above; or, the communication device may be the terminal device described in the second aspect, or a device including the terminal device described above; or, the communication device may be the home appliance described in the third aspect, or a device including the home appliance described above. The communication device includes a module, unit, or means corresponding to the method described above, and the module, unit, or means may be implemented by hardware, software, or by hardware executing the corresponding software implementation. The hardware or software includes one or more modules or units corresponding to the above functions.
[0025] In a fifth aspect, a communication device is provided, comprising: a processor and a memory; the memory is used to store computer instructions, and when the processor executes the instructions, the communication device executes the method described in any one of the above aspects. The communication device can be the server in the above first aspect, or a device including the above server; or the communication device can be the terminal device in the above second aspect, or a device including the above terminal device; or the communication device can be the home appliance in the above third aspect, or a device including the above home appliance.
[0026] In a sixth aspect, a communication device is provided, comprising: a processor; the processor is used to couple with a memory, and after reading instructions in the memory, execute the method as described in any of the above aspects according to the instructions. The communication device can be the server in the above first aspect, or a device including the above server; or the communication device can be the terminal device in the above second aspect, or a device including the above terminal device; or the communication device can be the household appliance in the above third aspect, or a device including the above household appliance.
[0027] In a seventh aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a communication device, the computer can execute the method described in any of the above aspects.
[0028] In an eighth aspect, a computer program product comprising instructions is provided, which, when executed on a communication device, enables a computer to execute the method described in any one of the above aspects.
[0029] In a ninth aspect, a communication device is provided (for example, the communication device may be a chip or a chip system), the communication device including a processor for implementing the functions involved in any of the above aspects. In one possible design, the communication device also includes a memory for storing necessary program instructions and data. When the communication device is a chip system, it may be composed of a chip, or may include a chip and other discrete devices.
[0030] Among them, the technical effects brought about by any design method in the fourth to ninth aspects can refer to the technical effects brought about by different design methods in the above-mentioned first, second or third aspects, and will not be repeated here.
[0031] In a tenth aspect, a communication system is provided, which includes the server described in the first aspect, the terminal device described in the second aspect, and the home appliance described in the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a schematic diagram of an existing smart home system;
[0033] Figure 2 A schematic diagram of a smart home system provided in an embodiment of the present application;
[0034] Figure 3 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;
[0035] Figure 4 A flow chart of a communication method provided in an embodiment of the present application;
[0036] Figure 5 A schematic diagram of a user directly controlling a home appliance provided in an embodiment of the present application;
[0037] Figure 6 A schematic diagram of displaying a notification message provided in an embodiment of the present application;
[0038] Figure 7 A flowchart of another communication method provided in an embodiment of the present application;
[0039] Figure 8 A schematic diagram of another embodiment of the present application providing a user directly controlling a home appliance;
[0040] Fig. 9 A flowchart of another communication method provided in an embodiment of the present application;
[0041] Fig.10 A schematic diagram of the structure of a server provided in an embodiment of the present application;
[0042] Fig.11 A schematic diagram of the structure of a target terminal device provided in an embodiment of the present application;
[0043] Fig.12 A schematic diagram of the structure of a household appliance provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. And, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.
[0045] like Figure 2 As shown, a smart home system 10 provided in an embodiment of the present application is provided. The smart home system 10 includes a server (also referred to as a smart home cloud) 20, a target terminal device 30, and a home device 40, wherein the target terminal device 30 is installed with a smart home APP.
[0046] by Figure 2 Taking the smart home system shown as an example, in an embodiment of the present application, in a possible implementation method, the home appliance sends operation information to the server, and the operation information is used to indicate the user's operation on the home appliance. After receiving the operation information from the home appliance, the server determines the target account, which is one of the accounts associated with the home appliance, and sends a notification message to the target terminal device logged in to the target account, and the notification message includes status information indicating the status of the home appliance. The status of the home appliance is related to the above operation information, and the above target terminal device is the terminal device logged in to the above target account. Because in the embodiment of the present application, when the user controls the home appliance, the server can determine a target account and send a notification message including the status information of the home appliance to the target terminal device logged in to the target account, thereby avoiding other accounts other than the target account from receiving useless information, thereby improving the user experience.
[0047] It should be noted that the interaction between the server and the terminal device in the embodiments of the present application can be understood as the interaction between the server and the account logged in on the smart home APP running on the terminal device. The accounts in the embodiments of the present application are all associated with home appliances and can be logged in on the smart home APP running on the terminal device. The smart home APP can be used to control home appliances connected to the network. This is a unified description and will not be repeated in the following embodiments.
[0048] Optionally, the server 20 in the embodiment of the present application may be a computer device, which may communicate with the home appliance 40 and provide services for the home appliance 40 , and may also send status information of the home appliance 40 to the target terminal device 30 .
[0049] Optionally, the target terminal device 30 in the embodiment of the present application may be a device for implementing a wireless communication function, such as a terminal or a chip that can be used in a terminal, etc. The terminal may be a user equipment (UE), an access terminal, a terminal unit, a terminal station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a wireless communication device, a terminal agent or a terminal device, etc. in a 5G network or a future evolved PLMN. The access terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device or a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. The terminal may be mobile or fixed.
[0050] Optionally, the household appliance 40 in the embodiment of the present application may be a household appliance with a wireless connection function, such as an air conditioner, a refrigerator, a television, a desk lamp, a robot, a microwave oven, etc. The following embodiments do not impose any special restrictions on the specific form of the household appliance.
[0051] Optionally, the server 20, the target terminal device 30, and the home appliance 40 in the embodiment of the present application may also be referred to as a communication device, which may be a general device or a dedicated device, and the embodiment of the present application does not specifically limit this.
[0052] Optionally, in the embodiment of the present application, Figure 2 The target terminal device, home device, or server can be Figure 3 It is implemented by the communication device (or communication apparatus) 20 in the embodiment. Figure 3 FIG. 2 is a schematic diagram of the structure of a communication device 20 provided in an embodiment of the present application. The communication device 20 includes one or more processors 201, a communication bus 202, and at least one communication interface ( Figure 3 The example in which the communication interface 204 and a processor 201 are included is merely exemplary), and a memory 203 may also be included optionally.
[0053] The processor 201 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0054] The communication bus 202 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 The communication bus 202 is represented by only one thick line, but it does not mean that there is only one bus or one type of bus. The communication bus 202 is used to connect different components in the communication device 20 so that the different components can communicate.
[0055] The communication interface 204 may be a transceiver module for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. For example, the transceiver module may be a device such as a transceiver or a transceiver. Optionally, the communication interface 204 may also be a transceiver circuit located in the processor 201 to implement signal input and signal output of the processor.
[0056] The memory 203 may be a device with a storage function. For example, it may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a communication line 202. The memory may also be integrated with the processor.
[0057] The memory 203 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 201. The processor 201 is used to execute the computer-executable instructions stored in the memory 203, thereby realizing the communication method provided in the embodiment of the present application.
[0058] Alternatively, optionally, in an embodiment of the present application, the processor 201 may also perform processing-related functions in the communication method provided in the following embodiments of the present application, and the communication interface 204 is responsible for communicating with other devices or communication networks, which is not specifically limited in the embodiments of the present application.
[0059] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, which is not specifically limited in the embodiments of the present application.
[0060] In a specific implementation, as an embodiment, the processor 201 may include one or more CPUs, such as Figure 3 CPU0 and CPU1 in.
[0061] In a specific implementation, as an embodiment, the communication device 20 may include multiple processors, such as Figure 3 201 and processor 208 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0062] In a specific implementation, as an embodiment, the communication device 20 may further include an output device 205 and an input device 206. The output device 205 communicates with the processor 201 and may display information in a variety of ways. For example, the output device 205 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 206 communicates with the processor 201 and may receive user input in a variety of ways. For example, the input device 206 may be a mouse, a keyboard, a touch screen device, or a sensor device.
[0063] At present, when a user directly operates a smart home device, the device reports the status information to the smart home cloud. At this time, the smart home cloud does not know which account the status information should be pushed to. Therefore, the smart home cloud pushes the status information to all accounts that have subscribed to the device status information, or pushes it to all accounts that have bound the device by default, which causes some accounts to inevitably receive some useless information, reducing the user experience. Based on this, an embodiment of the present application provides a communication method, in which a home device sends operation information to a server, and the operation information is used to indicate the user's operation on the home device. After receiving the operation information from the home device, the server determines the target account, which is one of the accounts associated with the home device, and sends a notification message to the target terminal device logged in to the target account, the notification message includes status information for indicating the status of the home device, the status of the home device is related to the above-mentioned operation information, and the above-mentioned target terminal device is a terminal device logged in to the above-mentioned target account. In the embodiment of the present application, when a user controls a home appliance, the server can determine a target account and send a notification message including the status information of the home appliance to the target terminal device logged in to the target account, thereby preventing other accounts other than the target account from receiving useless information and improving the user experience. Figure 2 The smart home system shown in the figure elaborates the communication method provided in the embodiment of the present application through a specific embodiment.
[0064] It should be noted that the message names between the devices or the names of the parameters in the messages in the following embodiments of the present application are only examples, and other names may be used in the specific implementation, and the embodiments of the present application do not specifically limit this.
[0065] In one possible implementation, Figure 4 As shown, the communication method provided in the embodiment of the present application includes the following steps:
[0066] S401: The home appliance sends operation information to the server. Correspondingly, the server receives the operation information from the home appliance.
[0067] The operation information is used to indicate the user's operation on the home appliance.
[0068] Optionally, in the embodiment of the present application, when the user directly operates the home appliance, the home appliance can send the above operation information to the server. It should be noted that the user directly operates the home appliance means that the user does not control the home appliance through the smart home APP. For example, the user directly operates the home appliance by pressing a button on the home appliance. For example, assuming that the above home appliance is as follows Figure 5 For example, if the home appliance is an electric rice cooker, when the user presses the function key to adjust the mode to "cooking" and sets the timer for 30 minutes, the home appliance sends operation information to the server. The content of the operation information may include, for example, "the user increases the set temperature, and the current set temperature is 21 degrees (taking one "temperature +" corresponding to 1 degree as an example)". Or, illustratively, assuming that the home appliance is an electric rice cooker, when the user presses the function key to adjust the mode to "cooking" and sets the timer for 30 minutes, the home appliance sends operation information to the server. The content of the operation information may include, for example, "the mode set by the user is "cooking" with a timer of 30 minutes, and the start time of the mode is 12:00". After receiving the operation information, the server can determine the target account through the following steps S402-S404, and the target account is one of the accounts associated with the home appliance.
[0069] It should be noted that the server can immediately determine the target account after receiving the operation information. For example, the server can immediately determine the target account after receiving the operation information. Figure 5 After the air conditioner shown sends the operation information, the target account to which the status information of the air conditioner needs to be pushed is immediately determined; alternatively, the server can also determine the above-mentioned target account at a specific time point after receiving the operation information. The specific time point can be determined according to the content of the operation information. For example, after the server receives the operation information sent by the above-mentioned rice cooker, the specific time point can be determined as 12:30.
[0070] Optionally, in the embodiment of the present application, when the user directly operates the home appliance for multiple consecutive times (the time interval between the current operation and the last operation does not exceed a predetermined time), the home appliance may only send operation information to the server once, and the operation information includes the information of the home appliance after the last operation in the current round of continuous operations by the user. For example, the user presses the button 3 times in a row (the time interval between the current operation and the last operation does not exceed a predetermined time). Figure 5When the "Temperature+" button on the air-conditioning panel is pressed, the air-conditioning only sends operation information to the server once. The content of the operation information may include, for example, "The user increases the set temperature, and the current set temperature is 23 degrees (taking one "Temperature+" corresponding to 1 degree as an example)". Since the home appliance only needs to send operation information to the server once when the user operates the home appliance for multiple consecutive times, the power consumption of the home appliance can be saved. Correspondingly, the server only needs to receive the operation information once, which also saves the power consumption of the server.
[0071] S402: The server obtains GPS location information of one or more terminal devices.
[0072] The one or more terminal devices are terminal devices for logging into the account associated with the home appliance. It should be noted that in the embodiment of the present application, when a terminal device logs into an account associated with the home appliance, the account is considered to be online, which is uniformly described here and will not be repeated in the following embodiments.
[0073] Optionally, in the embodiment of the present application, the server may obtain GPS location information of one or more terminal devices in the following manner:
[0074] The server sends a GPS location information query message to one or more terminal devices, and correspondingly, the one or more terminal devices receive the GPS location query message from the server; one or more terminal devices send their respective GPS location information to the server. Correspondingly, the server receives the GPS location information from one or more terminal devices. Of course, the server can also obtain the GPS location information of one or more terminal devices in other ways, which is not specifically limited in the embodiments of the present application.
[0075] It should be noted that the one or more terminal devices include the target terminal device. That is, when there is only one terminal device, the terminal device and the target terminal device are the same terminal device, and when there are multiple terminal devices, the target terminal device can be any terminal device among the multiple terminal devices.
[0076] S403: The server obtains GPS location information of the home device.
[0077] Among them, when the home appliance is installed for the first time or the network environment changes, for example, the change of the home WIFI (wireless fidelity) network caused by moving, the network access and registration operation of the home appliance will be triggered. Since the network access and registration of the home appliance requires the smart home APP running on the terminal device to log in to the account associated with the home appliance to complete, and the terminal device and the home appliance need to be in the same network, therefore, when the home appliance is connected to the network and registered, the location of the terminal device and the home appliance is close. At this time, it can be considered that the GPS location information of the terminal device when the home appliance is connected to the network is the GPS location information of the home appliance. The terminal device can obtain its own GPS location information and send its own GPS location information to the server as the GPS location information of the home appliance.
[0078] Based on this, the server can obtain the GPS location information of home devices in the following ways:
[0079] The server receives the network access GPS location information, which is the GPS location information of the network access terminal device when the home appliance accesses the network through the network access terminal device, and the network access terminal device is the terminal device that logs in the account of the home appliance accessing the network;
[0080] The server determines the networked GPS location information as the GPS location information of the home device.
[0081] Optionally, in an embodiment of the present application, each time the network environment changes, the terminal device can send the GPS location information of the household device after re-entering the network and registering to the server, and the server updates the GPS location information of the household device after receiving the GPS location information. Furthermore, since all household devices in a family may be in the same network, each time the server receives the GPS location information of the household device, it can use the GPS location information as the GPS location information of all household devices in the family, thereby avoiding the server from separately obtaining the GPS location information of each household device in the family, and saving the power consumption of the server.
[0082] The network here can be a wireless network such as WIFI, or other forms of network, which is not specifically limited in the embodiments of the present application.
[0083] S404. The server determines the account corresponding to the GPS location information of one or more terminal devices that is closest to the GPS location of the home device as the target account.
[0084] Optionally, in an embodiment of the present application, the server may compare the GPS location information of the one or more terminal devices with the GPS location information of the home device, determine the GPS location information of the one or more terminal devices that is closest to the GPS location of the home device, and determine the account corresponding to the GPS location information that is closest to the GPS location of the home device as the target account.
[0085] S405: The server sends a notification message to the target terminal device. Correspondingly, the target terminal device receives the notification message from the server.
[0086] As described above, the present application embodiment is exemplarily described by taking the terminal device that logs in the target account as the target terminal device. The notification message includes status information for indicating the status of the home device, and the status information of the home device is related to the above operation information. Figure 5 For example, the status information of the home appliance may be "the current set temperature is 21 degrees". The interface display of the target terminal device after receiving the notification message may be as follows: Figure 6 Or, taking the current user controlling the rice cooker as an example, the status information of the home appliance may be "cooking ends at 12:30".
[0087] Optionally, in an embodiment of the present application, after the server determines the target account, it can immediately send the notification message to the target terminal device that logs in to the target account.
[0088] Optionally, in an embodiment of the present application, after the target terminal device receives the above notification message from the server, it can determine the status of the home appliance according to the notification message so as to perform subsequent operations. For example, taking the notification message received by the target terminal device including "cooking is finished at 12:30" as an example, the target terminal device can determine whether the current time is greater than 12:30. If the current time is greater than 12:30 (such as the current time is 12:31), the target terminal device can remind the user that cooking has ended by vibration or ringing; or the target terminal device can control the rice cooker to power off or enter the keep-warm mode by logging in to the target account on the target terminal device.
[0089] It should be noted that in the embodiment of the present application, there is no necessary order between the above-mentioned step S401 and step S403. Step S401 can be executed first and then step S403, or step S403 can be executed first and then step S401, or step S401 and step S403 can be executed at the same time. The embodiment of the present application does not make any specific limitations on this.
[0090] In the communication method provided in the embodiment of the present application, the home appliance sends operation information to the server, and the operation information is used to indicate the user's operation on the home appliance. After the server receives the operation information from the home appliance, it determines the account corresponding to the GPS location information closest to the home appliance as the target account based on the GPS location information of one or more online accounts and the GPS location information of the home appliance, and sends a notification message to the target terminal device logged in to the account, and the notification message includes status information indicating the status of the home appliance. Because in the embodiment of the present application, when the user controls the home appliance, the server can determine a target account and send a notification message including the status information of the home appliance to the terminal device logged in to the target account, thereby avoiding other accounts other than the target account from receiving useless information, thereby improving the user experience.
[0091] In another possible implementation, Figure 7 As shown, the communication method provided in the embodiment of the present application includes the following steps:
[0092] S701. The server establishes a correspondence between an account associated with a home device and the user's voiceprint information.
[0093] Optionally, in an embodiment of the present application, the user may be a user who uses the home device, such as all family members in a family.
[0094] Optionally, in the embodiment of the present application, the server may establish a correspondence between the account associated with the home device and the user's voiceprint information in the following manner:
[0095] The server receives information of an account associated with the home appliance and voice information of a user associated with the account from one or more terminal devices, and the one or more terminal devices are terminal devices that have the function of logging into the account associated with the home appliance; it should be noted that the one or more terminal devices include the target terminal device. That is to say, when there is only one terminal device, the terminal device and the target terminal device are the same terminal device, and when there are multiple terminal devices, the target terminal device can be any terminal device among the multiple terminal devices;
[0096] The server performs voiceprint recognition on the voice information of the user associated with the account associated with the home device, and determines the voiceprint information of the user associated with the account associated with the home device, wherein the voice information of the user may be a segment of speech, and the server may recognize the voiceprint information according to the speech, and the voiceprint information may include information such as timbre;
[0097] The server establishes a correspondence between the account associated with the home device and the user's voiceprint information. Exemplarily, the correspondence between the account associated with the home device and the user's voiceprint information established by the service may be as shown in Table 1.
[0098] Optionally, in an embodiment of the present application, the one or more terminal devices mentioned above may prompt the user associated with the account to input voice information when the account associated with the home appliance is registered, and send the account information and the user's voice information to the server; or, the one or more terminal devices mentioned above may prompt the user associated with the account to input voice information after the account associated with the home appliance logs in, and send the account information and the user's voice information to the server; or the one or more terminal devices mentioned above may also send the account associated with the home appliance and the user's voice information to the server at other times, and the embodiments of the present application do not specifically limit this.
[0099] Table 1
[0100] Account Information Voiceprint information of the user associated with the account Account 1 Voiceprint 1 Account 2 Voiceprint 2 Account 3 Voiceprint 3 Account 4 Voiceprint 4
[0101] S702: The home appliance sends operation information to the server, where the operation information includes the voice command of the user currently controlling the home appliance. Correspondingly, the server receives the operation information from the home appliance.
[0102] The operation information is used to indicate the user's operation on the home appliance.
[0103] Optionally, in the embodiment of the present application, for a home appliance with voice recognition capability, the user can perform voice control on the home appliance. After receiving the user's voice command, the home appliance can send operation information to the server, and the operation information may include the user's voice command. Figure 8 The air conditioner shown has voice recognition capability, and the user can perform voice control on the air conditioner. For example, the user sends a voice command "adjust the temperature to 21 degrees" to the home appliance. After receiving the voice command, the home appliance sends operation information to the server. The content of the operation information may include, for example, "the user's voice command is: adjust the temperature to 21 degrees, and the current state is: set the temperature to 21 degrees"; or, for example, assuming that the above-mentioned home appliance is an electric rice cooker, the user can send a voice command "set the mode to "cook" for 30 minutes" to the home appliance. After receiving the voice command, the home appliance sends operation information to the server. The content of the operation information may include, for example, "the user's voice command is: adjust the mode to "cook" for 30 minutes; the start time of the mode is 12:00". After receiving the operation information, the server can determine the target account through the following steps S703-S704. The target account is one of the accounts associated with the home appliance.
[0104] S703: The server identifies the voiceprint information of the user according to the voice instruction of the user in the operation information.
[0105] After receiving the above operation information, the server can identify the voiceprint information of the user according to the voice instruction of the user included in the operation information.
[0106] S704: The server determines the target account according to the correspondence between the voiceprint information and the user's account.
[0107] Among them, the server can determine the account corresponding to the voiceprint information that best matches the voiceprint information of the user as the target account based on the pre-established correspondence between voiceprint information and accounts.
[0108] S705: The server sends a notification message to the target terminal device. Correspondingly, the target terminal device receives the notification message from the server.
[0109] As described above, the present application embodiment is exemplarily described by taking the terminal device that logs in the target account as the target terminal device. The notification message includes status information for indicating the status of the home appliance. The status of the home appliance is related to the above operation information. For example, the current user controls Figure 8 For example, the status information of the home appliance may be "the current set temperature is 21 degrees". The interface display of the target terminal device after receiving the notification message may be as follows: Figure 6 Or, taking the current user controlling the rice cooker as an example, the status information of the home appliance may be "cooking ends at 12:30".
[0110] Optionally, in an embodiment of the present application, after the server determines the target account, it can immediately send the notification message to the target terminal device that logs in to the target account.
[0111] Optionally, in an embodiment of the present application, after the target terminal device receives the above notification message from the server, it can determine the status of the home appliance according to the notification message so as to perform subsequent operations. For example, taking the notification message received by the target terminal device including "cooking is finished at 12:30" as an example, the target terminal device can determine whether the current time is greater than 12:30. If the current time is greater than 12:30 (such as the current time is 12:31), the target terminal device can remind the user that cooking has ended by vibration or ringing; or the target terminal device can control the rice cooker to power off or enter the keep-warm mode by logging in to the target account on the target terminal device.
[0112] It should be noted that there is no necessary order between step S701 and step S702 in the embodiment of the present application. Step S701 can be executed first and then step S702, or step S702 can be executed first and then step S701, or steps S701 and S702 can be executed at the same time. The embodiment of the present application does not make any specific limitations on this.
[0113] In the communication method provided in the embodiment of the present application, the home appliance sends operation information to the server, and the operation information is used to indicate the user's operation on the home appliance. After the server receives the operation information from the home appliance, it determines the account corresponding to the voiceprint information that best matches the voiceprint information recognized according to the user's voice command as the target account based on the correspondence between the user's voiceprint information and the user account, and sends a notification message to the target terminal device logged in to the target account, and the notification message includes status information indicating the status of the home appliance. Because in the embodiment of the present application, when the user controls the home appliance, the server can determine a target account and send a notification message including the status information of the home appliance to the terminal device logged in to the target account, thereby avoiding other accounts other than the target account from receiving useless information, thereby improving the user experience.
[0114] In another possible implementation, Fig. 9 As shown, the communication method provided in the embodiment of the present application includes the following steps:
[0115] S901. The server establishes a correspondence between an account associated with a home device and a MAC address of a terminal device.
[0116] Among them, the terminal device is a terminal device that has the function of logging into the account associated with the above-mentioned home appliance.
[0117] It should be noted that step S901 is an optional step, and the server may not perform step S901.
[0118] Optionally, in the embodiment of the present application, the server may establish a correspondence between an account associated with the home device and a MAC address of the terminal device in the following manner:
[0119] The server receives the media access control (MAC) address of each terminal device in one or more terminal devices and the account corresponding to the MAC address of the terminal device. It should be noted that the account corresponding to the MAC address of the terminal device can be understood as the account registered or logged in to the terminal device. The one or more terminal devices include the above-mentioned target terminal device. That is to say, when there is only one terminal device, the terminal device and the target terminal device are the same terminal device. When there are multiple terminal devices, the target terminal device can be any terminal device among the multiple terminal devices;
[0120] The server establishes a correspondence between the account associated with the home device and the MAC address of the terminal device. Exemplarily, the correspondence between the account associated with the home device and the MAC address of the terminal device established by the server may be as shown in Table 2.
[0121] Optionally, in an embodiment of the present application, the above-mentioned one or more terminal devices may send the account information and the MAC address of the terminal device to the server when the account associated with the home appliance is registered; or, the above-mentioned one or more terminal devices may send the account information and the MAC address of the terminal device to the server after the account associated with the home appliance logs in; or, the above-mentioned one or more terminal devices may also send the account associated with the home appliance and the MAC address of the terminal device to the server at other times, and the embodiments of the present application do not specifically limit this.
[0122] Table 2
[0123] Account Information MAC address of the terminal device Account 1 MAC1 Account 2 MAC2 Account 3 MAC3 Account 4 MAC4
[0124] S902: The home appliance sends operation information to the server. Correspondingly, the server receives the operation information from the home appliance.
[0125] The operation information is used to indicate the user's operation on the home appliance.
[0126] In the embodiment of the present application, when the user directly operates the home appliance, the home appliance can send the above operation information to the server. The specific method can refer to the above step S401; or, for home appliances with voice recognition, the specific method can refer to the above step S702, which will not be repeated here. After receiving the operation information, the server can determine the account of the user currently controlling the home appliance through the following steps S903-S905a or according to the following steps S903-S905b.
[0127] S903: The server obtains MAC addresses of one or more terminal devices.
[0128] Among them, the one or more terminal devices are terminal devices that log in to the above-mentioned account associated with the home appliance, and the one or more terminal devices and the home appliance are in the same network.
[0129] Optionally, in the embodiment of the present application, the server may obtain the MAC address of one or more terminal devices in the following three ways:
[0130] Method 1 includes the following steps:
[0131] a. The server receives the sorting result of the MAC addresses of one or more devices in the same network as the home device from the home device. Accordingly, the server receives the sorting result of the MAC addresses.
[0132] The sorting result of the MAC address is obtained according to the signal strength of the network corresponding to the MAC address of each device in the one or more devices.
[0133] Optionally, in an embodiment of the present application, the home device can monitor the network air interface, obtain the MAC addresses of devices in the same network (for example, with the same network identifier), sort the obtained MAC addresses according to the signal strength of the corresponding network, and send the MAC address sorting results to the server.
[0134] It should be noted that, in the embodiments of the present application, one or more devices in the same network as the home appliance may include devices with network connection functions, such as terminal devices (mobile phones, tablet computers, and other devices of family members currently at home) and other home appliances. The above network may be a wireless network, such as home WIFI, or other types of networks, which are not specifically limited in the embodiments of the present application.
[0135] For example, taking the household device in network 1 as an example, the MAC address information of one or more devices in the same network 1 as the household device and the signal strength of the network 1 corresponding to each of the one or more devices can be shown in Table 3. As can be seen from Table 3, there are four devices in the same network 1 as the household device. The household device sorts the MAC addresses of the four devices according to the signal strength of the network 1 corresponding to the MAC address of each device, as shown in Table 4.
[0136] Table 3
[0137] Network Identity equipment MAC address information Network signal strength Network 1 Device 1 MAC1 3 Network 1 Device 2 MAC2 1 Network 1 Device 3 MAC3 2 Network 1 Device 4 MAC4 4
[0138] Table 4
[0139] Sorting results equipment MAC address information Network signal strength 1 Device 4 MAC4 4 2 Device 1 MAC1 3 3 Device 3 MAC3 2 4 Device 2 MAC2 1
[0140] b. The server obtains the MAC addresses of one or more terminal devices from the MAC address sorting results reported by the home devices.
[0141] The one or more terminal devices are terminal devices for logging into an account associated with the home device, and the one or more terminal devices include a target terminal device.
[0142] The server may obtain the MAC address of the terminal device that logs in to the account associated with the home appliance and the account logged in on the terminal device, and then compare the MAC address of the terminal device that logs in to the account with the ranking of the MAC addresses reported by the home appliance to determine the MAC addresses of the one or more terminal devices. Exemplarily, taking the ranking result of the MAC addresses reported by the home appliance including the content shown in Table 4 as an example, the MAC addresses of the one or more terminal devices obtained by the server may be as shown in Table 5.
[0143] Table 5
[0144] Sorting results equipment Device login account MAC address information Network signal strength 2 Device 1 Account 1 MAC1 3 4 Device 2 Account 2 MAC2 1
[0145] Method 2 includes the following steps:
[0146] a. The server receives the MAC addresses of one or more devices in the same network as the home device from the home device and the signal strength of the network corresponding to the MAC address of each of the one or more devices.
[0147] Among them, the relevant description of the MAC addresses of one or more devices in the same network as the home device and the signal strength of the network corresponding to the MAC address of each device in the one or more devices can be referred to the above method 1, which will not be repeated here.
[0148] Optionally, in an embodiment of the present application, the home device can monitor the network air interface, obtain the MAC addresses of devices in the same network (e.g., with the same network identifier) and the signal strength of the network corresponding to each MAC address, and send the obtained MAC addresses and the signal strength of the network corresponding to each MAC address to the server.
[0149] b. The server sorts the acquired MAC addresses and their corresponding network signal strengths according to the network signal strength corresponding to the MAC address of each device. For example, if the above content acquired by the server is the content in Table 3, the result after the server sorting can be shown in Table 4, which will not be repeated here.
[0150] c. After the server obtains the above-mentioned sorting results, it obtains the MAC addresses of one or more terminal devices and the signal strength of the network corresponding to the MAC address of each of the one or more terminal devices according to the sorting results. For related descriptions, please refer to step b in the above-mentioned method one, which will not be repeated here.
[0151] Method 3 includes the following steps:
[0152] a. The server sends a MAC address related information query message to one or more first terminal devices.
[0153] Among them, the one or more first terminal devices are terminal devices that log in to the account associated with the home device. The one or more first terminal devices may be in different networks, and the one or more first terminal devices include the target terminal device.
[0154] b. The server receives MAC address related information from the one or more first terminal devices.
[0155] The MAC address related information may include: the MAC address of the first terminal device, the identifier of the network corresponding to the MAC address of the first terminal device, and the signal strength of the network corresponding to the MAC address of the first terminal device.
[0156] c. The server obtains the MAC addresses of one or more terminal devices in the same network as the home device and the signal strength of the network corresponding to each of the MAC addresses of the one or more terminal devices from the MAC address related information of the one or more first terminal devices.
[0157] Before performing the above step c, the server may obtain the identifier of the network where the home appliance is located.
[0158] Exemplarily, the content of the MAC address related information of one or more first terminal devices received by the server may be as shown in Table 6, wherein the terminal device corresponding to MAC1 and the terminal device corresponding to MAC2 are in the same network 1, the terminal device corresponding to MAC3 is in network 2, and the terminal device corresponding to MAC4 is in network 4. If the identifier of the network in which the home appliance is located obtained by the server is 1, the MAC addresses of the terminal devices in the same network as the home appliance obtained by the server are MAC1 and MAC2, and the corresponding signal strengths of the network 1 are 2 and 1.
[0159] Table 6
[0160] Network Identity MAC address of the terminal device The account used to log in to the terminal device Network signal strength Network 1 MAC1 Account 1 3 Network 1 MAC2 Account 2 1 Network 2 MAC3 Account 3 4 Network 3 MAC4 Account 4 3
[0161] d. The server sorts the MAC addresses of one or more terminal devices according to the signal strength of the network.
[0162] Exemplarily, taking the MAC address related information obtained by the server including the content shown in Table 6 as an example, the server sorts the MAC addresses of one or more terminal devices according to the signal strength of the network as shown in Table 7.
[0163] Table 7
[0164]
[0165] S904: The server determines the MAC address with the strongest signal strength of the network among the MAC addresses of the one or more terminal devices.
[0166] The server may determine the MAC address with the strongest network signal strength among the MAC addresses of one or more terminal devices according to the ranking results obtained in the three methods of step S903. For example, the MAC address with the strongest network signal strength determined by the server may be MAC1.
[0167] S905a. The server determines the account logged in by the terminal device corresponding to the MAC address with the strongest network signal strength as the target account.
[0168] Optionally, if the server does not perform step S901, the server may perform step S905a to determine the account logged in by the terminal device corresponding to the MAC address with the strongest network signal strength as the target account. Exemplarily, the target account determined by the server may be account 1 logged in by the terminal device corresponding to MAC1.
[0169] S905b. The server determines the account corresponding to the MAC address with the strongest network signal strength as the target account according to the correspondence between the MAC address and the account.
[0170] Optionally, if the server executes the above step S901, the server may execute this step S905b, and determine the account corresponding to the MAC address with the strongest network signal strength as the target account according to the correspondence between the MAC address and the account.
[0171] It should be noted that when the server executes the above step S901, the server may also use the method of step S905b to determine the target account, and the embodiment of the present application does not make any specific limitation on this.
[0172] S906: The server sends a notification message to the target terminal device. Correspondingly, the target terminal device receives the notification message from the server.
[0173] As described above, the present application embodiment is exemplarily described by taking the terminal device that logs in the target account as the target terminal device. The notification message includes status information for indicating the status of the home device, and the status of the home device is related to the above operation information. Figure 8 For example, the status information of the home appliance may be "the current set temperature is 21 degrees". The interface display of the first terminal device after receiving the notification message may be as follows: Figure 6 Or, taking the current user controlling the rice cooker as an example, the status information of the home appliance may be "cooking ends at 12:30".
[0174] Optionally, in an embodiment of the present application, after the target terminal device receives the above notification message from the server, it can determine the status of the home appliance according to the notification message so as to perform subsequent operations. For example, taking the notification message received by the target terminal device including "cooking is finished at 12:30" as an example, the target terminal device can determine whether the current time is greater than 12:30. If the current time is greater than 12:30 (such as the current time is 12:31), the target terminal device can remind the user that cooking has ended by vibration or ringing; or the target terminal device can control the rice cooker to power off or enter the keep-warm mode by logging in to the target account on the target terminal device.
[0175] In the communication method provided in the embodiment of the present application, the home appliance sends operation information to the server, and the operation information is used to indicate the user's operation on the home appliance. After receiving the operation information from the home appliance, the server determines the MAC address with the strongest network signal strength corresponding to the MAC address of one or more terminal devices in the same network as the home appliance, and determines the account logged in by the terminal device corresponding to the MAC address with the strongest network signal strength as the target account, or according to the correspondence between the MAC address and the account, determines the account corresponding to the MAC address with the strongest network signal as the target account, and sends a notification message to the target terminal device logged in to the target account, and the notification message includes status information indicating the status of the home appliance. Because in the embodiment of the present application, when the user controls the home appliance, the server can determine a target account and send a notification message including the status information of the home appliance to the terminal device logged in to the target account, thereby avoiding other accounts other than the target account from receiving useless information, thereby improving the user experience.
[0176] It can be understood that in the above embodiments, the methods and / or steps implemented by the first terminal device can also be implemented by components (such as chips or circuits) that can be used for the first terminal device, the methods and / or steps implemented by household appliances can also be implemented by components (such as chips or circuits) that can be used for household appliances, and the methods and / or steps implemented by the server can also be implemented by components (such as chips or circuits) that can be used for the server.
[0177] The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of interaction between various network elements. Accordingly, the embodiment of the present application also provides a communication device, which is used to implement the above various methods. The communication device can be the first terminal device in the above method embodiment, or a device including the above first terminal device, or a component that can be used for the first terminal device; or, the communication device can be the home appliance in the above method embodiment, or a device including the above home appliance, or a component that can be used for the home appliance; or, the communication device can be the server in the above method embodiment, or a device including the above server, or a component that can be used for the server. It can be understood that in order to implement the above functions, the communication device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0178] The embodiment of the present application can divide the functional modules of the communication device according to the above method embodiment. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0179] For example, take the communication device as the server in the above method embodiment. Fig.10 The schematic diagram of the structure of a server 100 is shown. The server 100 includes a processing module 1001 and a transceiver module 1002. The transceiver module 1002, which may also be called a transceiver unit, is used to implement the sending and / or receiving functions, and may be, for example, a transceiver circuit, a transceiver, a transceiver or a communication interface.
[0180] Among them, the processing module 1001 is used to receive operation information from the home appliance through the transceiver module 1002, and the operation information is used to indicate the user's operation on the home appliance; the processing module 1001 is also used to determine the target account, and the target account is one of the accounts associated with the home appliance; the processing module 1001 is also used to send a notification message to the target terminal device through the transceiver module 1002, and the notification message includes status information for indicating the status of the home appliance, and the status of the home appliance is related to the operation information. The target terminal device is a terminal device that logs in to the target account.
[0181] Optionally, processing module 1001 is used to determine the target account, including: processing module 1001, used to obtain global positioning system GPS location information of one or more terminal devices, the one or more terminal devices are terminal devices for logging into an account associated with the household device; processing module 1001 is also used to determine the GPS location information of the one or more terminal devices that is closest to the GPS location of the household device; processing module 1001 is also used to determine the account logged in by the terminal device corresponding to the GPS location information that is closest to the GPS location of the household device as the target account.
[0182] Optionally, the processing module 1001 is also used to receive the network-accessed GPS location information through the transceiver module 1002, and the network-accessed GPS location information is the GPS location information of the network-accessed terminal device when the home appliance accesses the network through the network-accessed terminal device; the processing module 1001 is also used to determine the network-accessed GPS location information as the GPS location information of the home appliance.
[0183] Optionally, the operation information includes a user's voice command. The processing module 1001 is used to determine the target account, including: the processing module 1001 is used to identify the user's voiceprint information according to the user's voice command; the processing module 1001 is also used to determine the account corresponding to the voiceprint information that best matches the user's voiceprint information as the target account according to the pre-established correspondence between the voiceprint information and the account.
[0184] Optionally, processing module 1001 is used to determine the target account, including: processing module 1001, used to obtain MAC addresses of one or more terminal devices and the signal strength of the network corresponding to the MAC address of each terminal device in the MAC addresses of the one or more terminal devices, the one or more terminal devices are terminal devices for logging into the account associated with the home device, and the one or more terminal devices and the home device are in the same network; processing module 1001, also used to determine the MAC address with the strongest signal strength of the network among the MAC addresses of the one or more terminal devices; processing module 1001, also used to determine the account logged in by the terminal device corresponding to the MAC address with the strongest signal strength of the network as the target account.
[0185] In the embodiment of the present application, the processing module 1001 is used to send the above information or message through the transceiver module 1002, which can be understood as the processing module 1001 is used to generate a signal carrying the above information or message after obtaining the above information or message, and the signal can be sent out by the transceiver module 1002 with or without signal processing. Alternatively, in the embodiment of the present application, the processing module 1001 is used to receive the above information or message through the transceiver module 1002, which can be understood as the transceiver module 1002 receives the signal carrying the above information or message sent by the outside world, and sends it to the processing module 1001 for processing with or without signal processing. This is a unified description here, and it will not be repeated below.
[0186] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0187] In this embodiment, the server 100 is presented in the form of various functional modules divided in an integrated manner. The "module" here may refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, those skilled in the art can imagine that the server 100 can be used Figure 3 The form of the communication device 20 is shown.
[0188] for example, Figure 3 The processor 201 in the communication device 20 shown can call the computer execution instructions stored in the memory 203 to enable the server 100 to execute the communication method in the above method embodiment.
[0189] Specifically, Fig.10 The functions / implementation processes of the processing module 1001 and the transceiver module 1002 can be Figure 3The processor 201 in the communication device 20 shown calls the computer execution instructions stored in the memory 203 to implement. Or, Fig.10 The function / implementation process of the processing module 1001 in Figure 3 The processor 201 in the communication device 20 shown calls the computer execution instructions stored in the memory 203 to implement, Fig.10 The function / implementation process of the transceiver module 1002 can be Figure 3 The communication interface 204 in the communication device 20 is shown to be implemented.
[0190] Since the terminal device 110 provided in this embodiment can execute the above-mentioned communication method, the technical effects that can be obtained can refer to the above-mentioned method embodiments and will not be repeated here.
[0191] Or, for example, take the communication device as the terminal device in the above method embodiment. Fig.11 The schematic diagram of the structure of a target terminal device 110 is shown. The target terminal device 110 includes a processing module 1101 and a transceiver module 1102. The transceiver module 1102, which may also be called a transceiver unit, is used to implement the sending and / or receiving functions, and may be, for example, a transceiver circuit, a transceiver, a transceiver or a communication interface.
[0192] The processing module 1101 is used to receive a notification message from the server through the transceiver module 1102. The notification message includes status information indicating the status of the home appliance. The status of the home appliance is related to operation information. The operation information is sent by the home appliance to the server. The operation information is used to indicate the user's operation on the home appliance. The processing module 1101 is also used to determine the status of the home appliance according to the notification message.
[0193] The processing module 1101 is also used to send the first information to the above-mentioned server through the transceiver module 1102, and the first information is used by the server to determine the target account, and the target account is one of the accounts associated with the home device, wherein the first information includes: the GPS location information of the terminal device; or the first information includes: the MAC address of the terminal device, the identifier of the network corresponding to the MAC address, and the signal strength of the network corresponding to the MAC address.
[0194] In the embodiment of the present application, the processing module 1101 is used to send the above information or message through the transceiver module 1102, which can be understood as the processing module 1101 is used to generate a signal carrying the above information or message after obtaining the above information or message, and the signal can be sent out by the transceiver module 1102 with or without signal processing. Alternatively, in the embodiment of the present application, the processing module 1101 is used to receive the above information or message through the transceiver module 1102, which can be understood as the transceiver module 1102 receives the signal carrying the above information or message sent by the outside world, and sends it to the processing module 1101 for processing with or without signal processing. This is a unified description here, and it will not be repeated below.
[0195] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0196] In this embodiment, the terminal device 110 is presented in the form of various functional modules divided in an integrated manner. The "module" here may refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, those skilled in the art can imagine that the target terminal device 110 can be used Figure 3 The form of the communication device 20 is shown.
[0197] for example, Figure 3 The processor 201 in the communication device 20 shown can call the computer execution instructions stored in the memory 203 to enable the target terminal device 110 to execute the communication method in the above method embodiment.
[0198] Specifically, Fig.11 The functions / implementation processes of the processing module 1101 and the transceiver module 1102 can be Figure 3 The processor 201 in the communication device 20 shown calls the computer execution instructions stored in the memory 203 to implement. Or, Fig.11 The function / implementation process of the processing module 1101 in Figure 3 The processor 201 in the communication device 20 shown calls the computer execution instructions stored in the memory 203 to implement, Fig.11 The function / implementation process of the transceiver module 1102 can be Figure 3 The communication interface 204 in the communication device 20 is shown to be implemented.
[0199] Since the target terminal device 110 provided in this embodiment can execute the above-mentioned communication method, the technical effects that can be obtained can refer to the above-mentioned method embodiments and will not be repeated here.
[0200] Or, for example, take the communication device as the household appliance in the above method embodiment. Fig.12 The schematic diagram of the structure of a household device 120 is shown. The household device 120 includes a processing module 1201 and a transceiver module 1202. The transceiver module 1202, which may also be called a transceiver unit, is used to implement the sending and / or receiving functions, and may be, for example, a transceiver circuit, a transceiver, a transceiver or a communication interface.
[0201] Among them, the processing module 1201 is used to obtain media access control MAC address related information of one or more devices with network connection function in the same network as the home device, and the MAC address related information is used to determine the target account, and the target account is one of the accounts associated with the home device, and the one or more devices with wireless connection function include a terminal device that logs in to the account associated with the home device; the processing module 1201 is also used to send the MAC address related information to the server through the transceiver module 1202.
[0202] The processing module 1201 is also used to send operation information to the server through the transceiver module 1202, and the operation information is used to indicate the user's operation on the home appliance, wherein the terminal device that logs in to the target account is the target terminal device, and the target terminal device is the terminal device that receives the notification message sent by the server, and the notification message includes status information for indicating the status of the home appliance, and the status of the home appliance is related to the operation information.
[0203] In the embodiment of the present application, the processing module 1201 is used to send the above information or message through the transceiver module 1202, which can be understood as the processing module 1201 is used to generate a signal carrying the above information or message after obtaining the above information or message, and the signal can be sent out by the transceiver module 1202 with or without signal processing. Alternatively, in the embodiment of the present application, the processing module 1201 is used to receive the above information or message through the transceiver module 1202, which can be understood as the transceiver module 1202 receives the signal carrying the above information or message sent by the outside world, and sends it to the processing module 1201 for processing with or without signal processing. This is a unified description here, and it will not be repeated below.
[0204] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0205] In this embodiment, the home appliance 120 is presented in the form of various functional modules divided in an integrated manner. The "module" here may refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, those skilled in the art can imagine that the home appliance 120 can be used Figure 3 The form of the communication device 20 is shown.
[0206] for example, Figure 3 The processor 201 in the communication device 20 shown can call the computer execution instructions stored in the memory 203 to enable the home device 120 to execute the communication method in the above method embodiment.
[0207] Specifically, Fig.12 The functions / implementation processes of the processing module 1201 and the transceiver module 1202 can be Figure 3 The processor 201 in the communication device 20 shown calls the computer execution instructions stored in the memory 203 to implement. Or, Fig.12 The function / implementation process of the processing module 1201 in Figure 3 The processor 201 in the communication device 20 shown calls the computer execution instructions stored in the memory 203 to implement, Fig.12 The function / implementation process of the transceiver module 1202 can be Figure 3 The communication interface 204 in the communication device 20 is shown to be implemented.
[0208] Since the home appliance 120 provided in this embodiment can execute the above-mentioned communication method, the technical effects that can be obtained can refer to the above-mentioned method embodiments and will not be repeated here.
[0209] Optionally, an embodiment of the present application further provides a communication device (for example, the communication device may be a chip or a chip system), which includes a processor for implementing the method in any of the above method embodiments. In one possible design, the communication device also includes a memory. The memory is used to store necessary program instructions and data, and the processor can call the program code stored in the memory to instruct the communication device to execute the method in any of the above method embodiments. Of course, the memory may not be in the communication device. When the communication device is a chip system, it may be composed of chips, or it may include chips and other discrete devices, which is not specifically limited in the embodiments of the present application.
[0210] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or may contain one or more servers, data centers and other data storage devices that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)), etc. In the embodiment of the present application, the computer may include the aforementioned device.
[0211] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0212] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A communication method, characterized in that: The method comprises: The server receives operation information from the home appliance, where the operation information is used to indicate the operation of the user on the home appliance, and the operation information includes the state information of the home appliance after the last operation of the user on the home appliance in this round of continuous operations; The server determines a target account, where the target account is one of multiple accounts associated with the home device; The server sends a notification message to the target terminal device, the notification message includes status information for indicating the status of the home appliance, the status of the home appliance is related to the operation information, and the target terminal device is the terminal device that logs in to the target account.
2. The method according to claim 1, characterized in that The server determines the target account, including: The server determines the target account based on second information, where the second information includes relevant information of one or more terminal devices, and the one or more terminal devices are terminal devices that log in to the account associated with the home device.
3. The method according to claim 2, characterized in that The relevant information of the terminal device includes the global positioning system GPS location information of the terminal device; the server determines the target account according to the second information, including: The server obtains GPS location information of one or more terminal devices; The server determines the GPS location information of the one or more terminal devices that is closest to the GPS location of the home device; The server determines the account logged in by the terminal device corresponding to the GPS location information closest to the GPS location of the home device as the target account.
4. The method according to claim 2 or 3, characterized in that: Before the server determines the target account according to the second information, the method further includes: The server receives the network access GPS location information, where the network access GPS location information is the GPS location information of the network access terminal device when the household device accesses the network through the network access terminal device; The server determines the network-connected GPS location information as the GPS location information of the home device.
5. The method according to claim 2, characterized in that: The operation information includes a user's voice command; the relevant information of the terminal device includes an account associated with the home device logged in on the terminal device and voice information of the user associated with the account; The server determines the target account according to the second information, including: The server establishes a correspondence between the voiceprint information and the account according to the second information; The server identifies the voiceprint information of the user according to the voice command of the user; and the server determines the account corresponding to the voiceprint information that best matches the voiceprint information of the user as the target account according to the correspondence between the voiceprint information and the account.
6. The method according to claim 2, characterized in that The relevant information of the terminal device includes the MAC address of the terminal device and the signal strength of the network corresponding to the MAC address; The server determines the target account according to the second information, including: The server obtains the MAC address of the one or more terminal devices, where the one or more terminal devices and the home device are in the same network; The server determines a MAC address having the strongest signal strength of the network among the MAC addresses of the one or more terminal devices; The server determines the account logged in by the terminal device corresponding to the MAC address with the strongest signal strength in the network as the target account.
7. A communication method, characterized in that: The method comprises: The terminal device receives a notification message from the server, wherein the terminal device is a target terminal device, the target terminal device is a terminal device that logs in to a target account determined by the server, the target account is one of multiple accounts associated with the home appliance, the notification message includes status information for indicating the status of the home appliance, the status of the home appliance is related to operation information, the operation information is sent by the home appliance to the server, the operation information is used to indicate the user's operation on the home appliance, and the operation information includes the status information of the home appliance after the user's last operation on the home appliance in this round of continuous operations; The terminal device determines the status of the home device according to the notification message.
8. The method according to claim 7, characterized in that The method further comprises: The terminal device sends first information to the server, where the first information is used by the server to determine the target account, wherein the first information includes: GPS location information of the terminal device; or The MAC address of the terminal device, the identifier of the network corresponding to the MAC address, and the signal strength of the network corresponding to the MAC address.
9. A communication method, characterized in that: The method comprises: The home device obtains media access control MAC address related information of one or more devices with network connection function in the same network as the home device, and the MAC address related information is used by the server to determine a target account, and the target account is one of multiple accounts associated with the home device, and the one or more devices with wireless connection function include a terminal device that logs in to an account associated with the home device; The home device sends the MAC address related information to the server; The home appliance sends operation information to the server, where the operation information is used to indicate the user's operation on the home appliance, and the operation information includes the state information of the home appliance after the user's last operation on the home appliance in this round of continuous operations; Among them, the terminal device that logs in to the target account is the target terminal device, and the target terminal device is the terminal device that receives the notification message sent by the server. The notification message includes status information for indicating the status of the home device, and the status of the home device is related to the operation information.
10. The communication method according to claim 9, characterized in that: The information related to the MAC addresses of one or more devices in the same network as the home device includes: a sorting result of the MAC addresses of the one or more devices, wherein the sorting result of the MAC addresses is obtained based on the signal strength of the network corresponding to the MAC address of each device in the one or more devices; or The MAC addresses of the one or more devices and the signal strength of the network corresponding to the MAC address of each of the one or more devices.
11. A server, characterized in that: The server comprises: a processing module and a transceiver module; The processing module is used to receive operation information from the home appliance through the transceiver module, wherein the operation information is used to indicate the operation of the user on the home appliance, and the operation information includes the state information of the home appliance after the last operation of the user on the home appliance in this round of continuous operations; The processing module is used to determine a target account, where the target account is one of a plurality of accounts associated with the home device; The processing module is also used to send a notification message to the target terminal device through the transceiver module, and the notification message includes status information indicating the status of the home appliance, the status of the home appliance is related to the operation information, and the target terminal device is the terminal device that logs in to the target account.
12. The server according to claim 11, characterized in that The processing module is used to determine the target account, including: The processing module is used to determine the target account according to the second information, where the second information includes relevant information of one or more terminal devices, and the one or more terminal devices are terminal devices for logging in to the account associated with the home device.
13. The server according to claim 12, characterized in that: The relevant information of the terminal device includes the global positioning system GPS location information of the terminal device; the processing module is used to determine the target account according to the second information, including: The processing module is used to obtain the global positioning system GPS location information of one or more terminal devices; The processing module is further used to determine the GPS location information of the one or more terminal devices that is closest to the GPS location of the home device; The processing module is further used to determine the account logged in by the terminal device corresponding to the GPS location information closest to the GPS location of the home device as the target account.
14. The server according to claim 12 or 13, characterized in that: The processing module is further used to receive network access GPS location information through the transceiver module, and the network access GPS location information is the GPS location information of the network access terminal device when the household device accesses the network through the network access terminal device; The processing module is further used to determine the network-connected GPS location information as the GPS location information of the home device.
15. The server according to claim 12, characterized in that: The operation information includes a user's voice command; the relevant information of the terminal device includes an account associated with the home device logged in on the terminal device and voice information of the user associated with the account; The processing module is used to determine the target account according to the second information, including: The processing module is used to establish a corresponding relationship between the voiceprint information and the account according to the second information; The processing module is further used to identify the voiceprint information of the user according to the voice command of the user; The processing module is further configured to determine, based on the correspondence between the voiceprint information and the account, the account corresponding to the voiceprint information that best matches the voiceprint information of the user as the target account.
16. The server according to claim 12, characterized in that: The relevant information of the terminal device includes the MAC address of the terminal device and the signal strength of the network corresponding to the MAC address; The processing module is used to determine the target account according to the second information, including: The processing module is used to obtain the MAC addresses of the one or more terminal devices and the signal strength of the network corresponding to the MAC address of each terminal device in the MAC addresses of the one or more terminal devices, and the one or more terminal devices and the home device are in the same network; The processing module is further used to determine a MAC address having the strongest signal strength of the network among the MAC addresses of the one or more terminal devices; The processing module is further used to determine the account logged in by the terminal device corresponding to the MAC address with the strongest signal strength in the network as the target account.
17. A server, characterized in that: The server comprises: a processor and a communication interface; The processor is configured to determine a target account, wherein the target account is one of a plurality of accounts associated with the home device; The processor is further used to send a notification message to the target terminal device through the communication interface, wherein the notification message includes status information indicating the status of the home device, and the target terminal device is a terminal device that logs in to the target account.
18. A terminal device, characterized in that: The terminal device comprises: a processor and a communication interface; The processor is configured to receive a notification message from a server through the communication interface, wherein the terminal device is a target terminal device, the target terminal device is a terminal device that logs into a target account determined by the server, the target account is one of multiple accounts associated with the home appliance, the notification message includes status information indicating a status of the home appliance, the status of the home appliance is related to operation information, the operation information is sent by the home appliance to the server, the operation information is used to indicate a user's operation on the home appliance, and the operation information includes status information of the home appliance after the user's last operation on the home appliance in this round of continuous operations; The processor is further configured to determine a status of the home device according to the notification message.
19. A household appliance, characterized in that: The household device comprises: a processor and a communication interface; The processor is used to obtain media access control MAC address related information of one or more devices with network connection function in the same network as the home device, the MAC address related information is used by the server to determine a target account, the target account is one of multiple accounts associated with the home device, and the one or more devices with wireless connection function include a terminal device that logs in to an account associated with the home device; The processor is further configured to send the MAC address related information to the server through the communication interface; The processor is further used to send operation information to the server through the communication interface, where the operation information is used to indicate the operation of the user on the home appliance, and the operation information includes the state information of the home appliance after the last operation of the user on the home appliance in this round of continuous operations; Among them, the terminal device that logs in to the target account is the target terminal device, and the target terminal device is the terminal device that receives the notification message sent by the server. The notification message includes status information for indicating the status of the home device, and the status of the home device is related to the operation information.
20. A communication system, comprising a server, a home appliance, and one or more terminal devices, characterized in that: The home appliance is used to send operation information to the server, where the operation information is used to indicate the operation of the user on the home appliance, and the operation information includes the state information of the home appliance after the last operation of the user on the home appliance in this round of continuous operations; The server is used to determine a target account, where the target account is one of a plurality of accounts associated with the home device; The target terminal device among the one or more terminal devices is used to receive a notification message from the server, wherein the notification message includes status information indicating the status of the home appliance, and the status of the home appliance is related to the operation information. The target terminal device is a terminal device among the one or more terminal devices that logs in to the target account.
Citation Information
Patent Citations
Information prompting method and device
CN105704174A
Voice communication method and system for intelligent hardware and terminal
CN105744471A
Method and device for controlling and obtaining intelligent-home-device uploading data
CN105871671A
Method and system for express fetching
CN108109277A
Communication method, apparatus and system
CN113302878A