CN112751901B - Information acquisition method, terminal and storage medium - Google Patents
Information acquisition method, terminal and storage medium Download PDFInfo
- Publication number
- CN112751901B CN112751901B CN201911053135.3A CN201911053135A CN112751901B CN 112751901 B CN112751901 B CN 112751901B CN 201911053135 A CN201911053135 A CN 201911053135A CN 112751901 B CN112751901 B CN 112751901B
- Authority
- CN
- China
- Prior art keywords
- information
- terminal
- server
- electronic equipment
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 120
- 230000015654 memory Effects 0.000 claims description 19
- 238000012544 monitoring process Methods 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 19
- 230000003993 interaction Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 229910044991 metal oxide Inorganic materials 0.000 description 5
- 150000004706 metal oxides Chemical class 0.000 description 5
- 239000004065 semiconductor Substances 0.000 description 5
- 230000006698 induction Effects 0.000 description 3
- 229910000577 Silicon-germanium Inorganic materials 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- JBRZTFJDHDCESZ-UHFFFAOYSA-N AsGa Chemical compound [As]#[Ga] JBRZTFJDHDCESZ-UHFFFAOYSA-N 0.000 description 1
- LEVVHYCKPQWKOP-UHFFFAOYSA-N [Si].[Ge] Chemical compound [Si].[Ge] LEVVHYCKPQWKOP-UHFFFAOYSA-N 0.000 description 1
- 238000010411 cooking Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 239000008236 heating water Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the application provides an information acquisition method, a terminal and a storage medium, wherein the method comprises the following steps: the method comprises the steps that a server receives first information sent by a first terminal, the first information indicates that a target application is installed on the first terminal, and the server is a server of the target application; the server retrieves information of the electronic equipment according to the first information, wherein the electronic equipment can be controlled by the target application; the server sends information of the electronic device to the first terminal. According to the method and the device for controlling the electronic equipment, the information indicating that the target application is installed by the server is sent to the server, so that the server can call the information of the electronic equipment which can be controlled by the target application and send the called information of the electronic equipment to the terminal, and the efficiency of the terminal for controlling and/or monitoring the electronic equipment is improved.
Description
Technical Field
The embodiment of the application relates to the electrical appliance technology, in particular to an information acquisition method, a terminal and a storage medium.
Background
More and more household appliances, such as electromagnetic ovens, electric cookers, electric pressure cookers and the like, can be connected with a mobile terminal in a communication way through adding a communication module, so that the mobile terminal can remotely monitor or control the household appliances.
At present, the mobile terminal and the household appliance can be remotely monitored or controlled after being connected, and the connection process of the mobile terminal and the household appliance is complicated, so that the efficiency of the mobile terminal for remotely monitoring or controlling the household appliance is low.
Disclosure of Invention
The embodiment of the application provides an information acquisition method, a terminal and a storage medium, so that the efficiency of remotely monitoring or controlling household appliances by a mobile terminal is high.
In a first aspect, an embodiment of the present application provides an information obtaining method, including: the method comprises the steps that a server receives first information sent by a first terminal, the first information indicates that a target application is installed on the first terminal, and the server is a server of the target application; the server retrieves information of electronic equipment according to the first information, wherein the electronic equipment can be controlled by the target application; and the server sends the information of the electronic equipment to the first terminal. Optionally, the information of the electronic device includes: the identity of the electronic device, and at least one of: instruction information for controlling the operation of the electronic equipment, state information of the electronic equipment and prompt information related to the state of the electronic equipment.
In the scheme, the first terminal indicates that the target application is installed by the server of the target application by sending first information to the server, and the server invokes information of the electronic equipment which can be controlled by the target application and sends the information to the first terminal. When the information of the electronic equipment sent to the first terminal comprises the control information of the electronic equipment, the connection between the first terminal and the electronic equipment can be established without the need of establishing the connection between the first terminal and the electronic equipment through the current complicated process, so that the efficiency of the first terminal for controlling the electronic equipment is improved. When the information of the electronic equipment sent to the first terminal comprises the state information of the electronic equipment, the first terminal can monitor the electronic equipment without being connected with the electronic equipment in advance, and efficiency of the first terminal for realizing the monitoring target electronic equipment is improved. Therefore, the method of the scheme can improve the efficiency of the first terminal for controlling and/or monitoring the electronic equipment.
In one embodiment, before the server retrieves the information of the electronic device according to the first information, the method further includes: the server receives second information sent by a second terminal, wherein the second information indicates that the second terminal is connected with electronic equipment which can be controlled by the target application; correspondingly, the server invokes the information of the electronic equipment according to the first information, and the method comprises the following steps: and the server retrieves information of target electronic equipment which is connected with the second terminal and can be controlled by the target application according to the second information and the first information.
In the scheme, the server retrieves the information of the target electronic equipment which can be controlled by the target application which is connected with other terminals and sends the retrieved information of the target electronic equipment to the first terminal, so that the probability that the information of the electronic equipment received by the first terminal is the information required by the user of the first terminal can be improved, and the user experience is improved.
In one embodiment, the server retrieving information of the target electronic device according to the second information and the first information includes: and the server retrieves the information of the target electronic equipment from the server according to the second information and the first information. Optionally, the second information includes at least one of an identification of the second terminal, an identification of the target electronic device included in the information of the target electronic device, and other information included in the information of the target electronic device.
In the scheme, the information of the target electronic equipment is called from the server, so that the efficiency of calling the information of the target electronic equipment can be improved.
In one embodiment, the server retrieving information of the target electronic device according to the second information and the first information includes: the server sends third information to the second terminal according to the second information and the first information, and the third information indicates the second terminal to send the information of the target electronic equipment to the server; the server receives information of the target electronic device from the second terminal.
In the scheme, after the server receives the first information sent by the first terminal, the information of the target electronic equipment is called from the second terminal, so that the storage space of the server can be saved, and the performance requirement on the server is reduced.
In one embodiment, before the server retrieves the information of the target electronic device according to the second information and the first information, the method further includes: and the server receives the identification of the second terminal sent by the first terminal.
The method and the device can further improve the probability that the information of the target electronic equipment is the information required by the user of the first terminal, and improve the user experience.
In one embodiment, before the server retrieves the information of the target electronic device according to the second information and the first information, the method further includes: the server receives a first network where a first terminal is located, which is sent by the first terminal; the server determines that the second network where the second terminal is located and the history connection network have the same or related network as the first network.
The method and the device can further improve the probability that the information of the target electronic equipment is the information required by the user of the first terminal, and improve the user experience.
In one embodiment, before the server retrieves the information of the electronic device according to the first information, the method further includes: first determination information from a first terminal is received, the first determination information indicating that the server is capable of sending information of the electronic device to the first terminal.
According to the scheme, the information of the electronic equipment is called when the user of the first terminal agrees to receive the information of the electronic equipment, so that the power consumption of the server can be saved, the requirements of the user can be met, and the user experience is improved.
In one embodiment, before the server retrieves the information of the target electronic device according to the second information and the first information, the method further includes: and receiving second determination information sent by the second terminal, wherein the second determination information indicates that the server can send the information of the target electronic equipment to the first terminal.
According to the scheme, the information of the electronic equipment is called when the user of the second terminal agrees to call the information of the electronic equipment, so that the power consumption of the server can be saved, the requirements of the user can be met, and the user experience is improved.
In a second aspect, an embodiment of the present application provides an information obtaining method, including: the method comprises the steps that a first terminal sends first information to a server, the first information indicates that a target application is installed in the first terminal, and the server is a server of the target application; and the first terminal receives information of the electronic equipment sent by the server, wherein the electronic equipment can be controlled by the target application.
In the scheme, the first terminal indicates that the target application is installed by the server of the target application by sending first information to the server, and the server invokes information of the electronic equipment which can be controlled by the target application and sends the information to the first terminal. When the information of the electronic equipment sent to the first terminal comprises the control information of the electronic equipment, the connection between the first terminal and the electronic equipment can be established without the need of establishing the connection between the first terminal and the electronic equipment through the current complicated process, so that the efficiency of the first terminal for controlling the electronic equipment is improved. When the information of the electronic equipment sent to the first terminal comprises the state information of the electronic equipment, the first terminal can monitor the electronic equipment without being connected with the electronic equipment in advance, and efficiency of the first terminal for realizing the monitoring target electronic equipment is improved. Therefore, the method of the scheme can improve the efficiency of the first terminal for controlling and/or monitoring the electronic equipment.
In one embodiment, the method further comprises: the first terminal sends the identification of the second terminal to the server; the first terminal receives information of the electronic equipment sent by the server, and the information comprises: and the first terminal receives information of target electronic equipment which is connected with the second terminal and can be controlled by the target application.
The scheme improves the probability that the information of the target electronic equipment is the information required by the user of the first terminal, and improves the user experience.
In one embodiment, the method further comprises: the method comprises the steps that a first terminal sends a first network where the first terminal is located to a server; the first terminal receives information of the electronic equipment sent by the server, and the information comprises: and the first terminal receives information of target electronic equipment which is connected with the second terminal and can be controlled by the target application, wherein the second network where the second terminal is positioned and the history connection network have the same or related networks as the first network.
The scheme improves the probability that the information of the target electronic equipment is the information required by the user of the first terminal, and improves the user experience.
In one embodiment, before the first terminal receives the information of the electronic device sent by the server, the method further includes: the first terminal receives and displays first reminding information from the server, wherein the first reminding information is used for reminding a first user of the first terminal whether to agree the server to send information of the electronic equipment to the first terminal; the first terminal receives a first determining instruction input by the first user, wherein the first determining instruction indicates that the first user agrees to send information of the electronic equipment to the first terminal; the first terminal generates first determination information according to the first determination instruction, wherein the first determination information indicates that the server can send information of the electronic equipment to the first terminal; the first terminal sends the first determination information to the server.
According to the scheme, the information of the electronic equipment is called when the user of the first terminal agrees to receive the information of the electronic equipment, so that the power consumption of the server can be saved, the requirements of the user can be met, and the user experience is improved.
In a third aspect, an embodiment of the present application provides an information obtaining method, including: the second terminal generates second information, and the second information indicates that the second terminal establishes connection with the electronic equipment which can be controlled by the target application; and the second terminal sends the second information to the server.
In the scheme, the second terminal sends the information indicating that the second terminal and the electronic equipment which can be controlled by the target application are connected to the server, so that the server can call the information of the target electronic equipment which is connected with other terminals and can be controlled by the target application to be sent to the first terminal, the probability that the information of the target electronic equipment is the information required by the user of the first terminal can be improved, and the user experience is improved.
In one embodiment, the method further comprises: the second terminal receives third information from a server, wherein the third information indicates the second terminal to send information of target electronic equipment which is connected with the second terminal and can be controlled by the target application to the server; and the second terminal sends the information of the target electronic equipment to the server.
In the scheme, the second terminal sends the information of the target electronic equipment to the server only when receiving the access information (third information), so that the storage space of the server can be saved, and the performance requirement on the server is reduced.
In one embodiment, the method further comprises: the second terminal receives and displays a second reminding message from the server, wherein the second reminding message is used for reminding a second user of the second terminal whether to agree with the server to send the information of the target electronic equipment to the first terminal; the second terminal receives a second determining instruction input by the second user, wherein the second determining instruction indicates that the second user agrees to send the information of the target electronic equipment to the first terminal; the second terminal generates second determination information according to the second determination instruction, wherein the second determination information indicates that the server can send the information of the target electronic equipment to the first terminal; and the second terminal sends the second determination information to the server.
According to the scheme, the information of the electronic equipment is called when the user of the second terminal agrees to call the information of the electronic equipment, so that the power consumption of the server can be saved, the requirements of the user can be met, and the user experience is improved.
In a fourth aspect, embodiments of the present application provide a server, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect or any implementation of the first aspect.
In a fifth aspect, an embodiment of the present application provides a terminal, including: at least one processor; a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the second aspect or any one of the embodiments of the second aspect or to perform the method of the third aspect or any one of the embodiments of the third aspect.
In a sixth aspect, embodiments of the present application provide a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of the first aspect or any of the embodiments of the first aspect or perform the method of the second aspect or any of the embodiments of the third aspect.
In the method, a first terminal indicates that a target application is installed by a server of the target application by sending first information to the server, and the server invokes information of electronic equipment which can be controlled by the target application and sends the information to the first terminal. When the information of the electronic equipment sent to the first terminal comprises the control information of the electronic equipment, the connection between the first terminal and the electronic equipment can be established without the need of establishing the connection between the first terminal and the electronic equipment through the current complicated process, so that the efficiency of the first terminal for realizing the control target electronic equipment is improved. When the information of the electronic equipment sent to the first terminal comprises the state information of the electronic equipment, the first terminal can monitor the electronic equipment without being connected with the electronic equipment in advance, and efficiency of the first terminal for realizing the monitoring target electronic equipment is improved. Therefore, the method of the scheme can improve the efficiency of the first terminal for controlling and/or monitoring the electronic equipment.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the prior art descriptions, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a connection schematic diagram of a mobile terminal and an electronic device according to an embodiment of the present application
Fig. 2 is an interaction diagram of an information obtaining method according to an embodiment of the present application;
fig. 3 is a second interaction diagram of the information obtaining method provided in the embodiment of the present application;
fig. 4 is an interaction diagram III of an information obtaining method provided in an embodiment of the present application;
fig. 5 is an interaction diagram of the information obtaining method provided in the embodiment of the present application;
fig. 6 is an interaction diagram five of an information obtaining method provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an information obtaining apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a second information acquisition device according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram III of a structure of an information obtaining apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural. The terms "first," "second," and the like in this application are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
As shown in fig. 1, one mobile terminal may establish connection with a plurality of electronic devices, and one home appliance may also establish connection with a plurality of mobile terminals, so as to control and monitor the electronic devices by the mobile terminal.
Currently, one implementation of establishing a connection between a mobile terminal and an electronic device may be as follows: the mobile terminal scans the two-dimension code of the electronic equipment to acquire basic information (such as the identification, the model and the like of the electronic equipment), the mobile terminal sends a request for acquiring the control information of the electronic equipment to the electronic equipment according to the basic information of the electronic equipment, the electronic equipment sends the control information of the electronic equipment to the mobile terminal after receiving the request, and after receiving the control information of the electronic equipment, the mobile terminal establishes connection with the electronic equipment, namely the mobile terminal can control the electronic equipment according to the control information of the electronic equipment. The control information of the electronic equipment comprises instruction information for controlling the operation of the electronic equipment. It will be appreciated that after the connection is established between the mobile terminal and the electronic device, the information of the electronic device is stored in the mobile terminal, and details of the information of the electronic device are described in the following embodiments.
As can be seen, the process of establishing connection between the mobile terminal and the electronic device is complicated, which results in low efficiency of the mobile terminal to remotely monitor or control the household appliances. In order to solve this technical problem, a method in the present embodiment is proposed.
The information acquisition method of the present application is described below with reference to specific embodiments.
Fig. 2 is an interaction diagram of an information obtaining method provided in the embodiment of the present application, as shown in fig. 2, the method in this embodiment may include:
step S201, the first terminal sends first information to the server, where the first information indicates that the first terminal installs the target application.
Specifically, after the first terminal installs the target application, the first information may be sent to the server through the target application to indicate to the server that the first terminal installs the target application. The first information may include at least an identifier of the first terminal. The target application in this embodiment can control at least one electronic device, and the server in this embodiment is a server of the target application, so that the at least one electronic device that the target application can control can be said to be an electronic device corresponding to the server. It may be appreciated that, when the server is a server of a plurality of applications, the first information may also carry an identifier of the target application. Such as: the target application is an application that can control all electronic devices under company a flag.
Step S202, the server retrieves the information of the electronic equipment according to the first information.
After receiving the first information, the server knows that the first terminal installs the target application, and then invokes the information of the electronic equipment. The electronic device in this embodiment is an electronic device that can be controlled by the target application). The number of electronic devices that the server retrieves the information may be one or more.
The information of the electronic device includes: an identification of the electronic device, at least one of: instruction information for controlling the operation of the electronic equipment, state information of the electronic equipment and prompt information related to the state of the electronic equipment.
The instruction information for controlling the operation of the electronic equipment comprises instruction information for controlling the opening of the electronic equipment, instruction information for controlling the closing of the electronic equipment, instruction information for controlling the operation of the electronic equipment in various working modes, instruction information for controlling the operation of the electronic equipment in various preset powers and the like.
Status information of the electronic device: the state information of the electronic device includes historical state information and current state information of the electronic device. The status information of the electronic device may include at least one of: a historical operating mode, a current operating mode, acquired historical information of a user (such as a user's weight), acquired current information of the user, historical operating power, current operating power, historical operating voltage, current operating voltage, a historical operating curve (such as a historical cooking curve), a current operating curve, and the like.
The prompt information related to the state of the electronic device may be prompt information obtained by the mobile terminal according to the monitored state information of the electronic device. For example, the electronic device is an induction cooker, and the mobile terminal connected with the induction cooker monitors that the frequency of heating water by the induction cooker before two afternoon on the current day is 1 time, so that the mobile terminal can generate a first prompt message, and the first prompt message is used for prompting a user to pay attention to water intake. It can be understood that if the mobile terminal obtains the prompt information according to the monitored state information of the electronic device, the mobile terminal can send the prompt information to the electronic device.
In one scenario, after receiving the first information sent by the first terminal, the server retrieves information of all electronic devices that can be controlled by the target application. In this scenario, the server does not receive the information sent by the first terminal and used for indicating to acquire the electronic devices connected with which terminals are established, and information of all the electronic devices controllable by the target application or each of all the electronic devices controllable by the target application is stored in the server, so that connection is established between the server and at least one terminal.
In another scenario, after receiving the first information sent by the first terminal, the server invokes information of a portion of the electronic devices that can be controlled by the target application. In this scenario, the server receives, in addition to the first information sent by the first terminal, information sent by the first terminal and used for indicating to acquire electronic devices that establish connection with the target terminal, where the target terminal does not establish connection with all the electronic devices.
In one form, a server invokes information of an electronic device, comprising: the server retrieves information of the electronic device stored in the server. The information of the electronic device stored in the server may be set when the server leaves the factory, and the information of the electronic device stored in the server may also be uploaded to the server through the target application after the mobile terminal connected with the electronic device obtains the information of the electronic device. It can be understood that if the information of the electronic device stored in the server is set when the server leaves the factory, the information of the electronic device includes the identifier of the electronic device and the control information of the electronic device, and does not include the state information of the electronic device and the prompt information related to the state of the electronic device.
In another manner, a server invokes information of an electronic device, including: the server sends a call request to a terminal storing the information of the electronic device, and the terminal sends the information of the electronic device to the server through a target application according to the call request.
Optionally, before the server retrieves the information of the electronic device according to the first information, the method further includes: first determination information is received from a first terminal, the first determination information indicating that a server is capable of transmitting information of an electronic device to the first terminal. Specifically, the server sends first reminding information to the first terminal, wherein the first reminding information is used for reminding a first user of the first terminal whether to agree with the server to send information of the electronic equipment to the first terminal; the first terminal pushes the first reminding message to the user, and receives a first determining instruction input by the first user, wherein the first determining instruction indicates that the first user agrees to the server to send information of the electronic equipment to the first terminal; the first terminal generates first determination information according to the first determination instruction, and the first determination information indicates that the server can send information of the electronic equipment to the first terminal; the first terminal sends the first determination information to the server, and the server receives the first determination information. In the alternative mode, the information of the electronic equipment is called when the user of the first terminal agrees to receive the information of the electronic equipment, so that the power consumption of the server can be saved, the requirements of the user can be met, and the user experience is improved.
In step S203, the server sends information of the electronic device to the first terminal.
The server sends the information of the fetched electronic device to the first terminal, and the first terminal receives the information of the fetched electronic device sent by the server, which specifically may be: and the server sends the information of the fetched electronic equipment to a target application of the first terminal. If the information of the electronic equipment received by the first terminal comprises the control information of the electronic equipment, the first terminal establishes connection with the electronic equipment, and the first terminal can control and monitor the electronic equipment through the control information of the electronic equipment.
In this embodiment, the first terminal indicates that the target application is installed by sending first information to the server, and the server invokes information of the electronic device that can be controlled by the target application and sends the information to the first terminal. When the information of the electronic equipment sent to the first terminal comprises the control information of the electronic equipment, the connection between the first terminal and the electronic equipment can be established without the need of establishing the connection between the first terminal and the electronic equipment through the current complicated process, so that the efficiency of the first terminal for controlling the electronic equipment is improved. When the information of the electronic equipment sent to the first terminal comprises the state information of the electronic equipment, the first terminal can monitor the electronic equipment without being connected with the electronic equipment in advance, and efficiency of the first terminal for realizing the monitoring target electronic equipment is improved. Therefore, the method of the embodiment can improve the efficiency of the first terminal for controlling and/or monitoring the electronic equipment.
The technical solution of the method embodiment shown in fig. 2 will be described in detail below using several specific embodiments.
Fig. 3 is a second interaction diagram of the information obtaining method provided in the embodiment of the present application, as shown in fig. 3, the method in this embodiment may include:
in step S301, the second terminal sends second information to the server, where the second information indicates that the second terminal is connected to the electronic device that can be controlled by the target application.
It will be appreciated that the target application is also installed in the second terminal, and the second terminal may send the second information to the server via the target application.
Wherein the second information exists but is not limited to the following:
first case: the second information comprises an identifier of the second terminal and indication information, wherein the indication information is only used for indicating that the second terminal establishes connection with the electronic equipment which can be controlled by the target application, and does not comprise the information of the electronic equipment.
Second case: the second information includes the identifier of the second terminal, the above indication information, and the identifier of the electronic device that is connected to the second terminal and that can be controlled by the target application.
Third case: the second information comprises an identifier of the second terminal, an identifier and control information of the electronic device which is connected with the second terminal and can be controlled by the target application, and state information and/or prompt information of the electronic device. In this case, the server is not provided with control information of the electronic device when shipped.
Fourth case: the second information comprises an identification of the second terminal, an identification of the electronic device which is connected with the second terminal and can be controlled by the target application, and state information and/or prompt information. In this case, the control information of the electronic device is set at the time of shipment of the server.
It will be appreciated that the number of second terminals is one or more.
Step S302, the first terminal sends first information to the server, wherein the first information indicates that the first terminal installs the target application.
The specific implementation of this step is described in the embodiment illustrated in fig. 2, and will not be described here again.
Step S303, the server retrieves the information of the target electronic equipment which is connected with the second terminal and can be controlled by the target application according to the first information and the second information. That is, for each second terminal, the server retrieves information of the target electronic device that is connected to the second terminal and that can be controlled by the target application.
It can be understood that the target electronic device in this embodiment is the electronic device that the server in the embodiment shown in fig. 2 retrieves information.
Specifically, the server determines, according to the first information, information that the electronic device needs to be called, and determines, according to the second information, that the second terminal and the electronic device that can be controlled by the target application are connected, that is, the server calls, according to the first information and the second information, information that the target electronic device that can be controlled by the target application that is connected with the second terminal is called.
In one mode, the server, according to the first information and the second information, invokes information of a target electronic device which is connected with the second terminal and can be controlled by a target application, including: and the server retrieves the information of the target electronic equipment stored in the server according to the first information and the second information. At this time, the second information may be the second case to the fourth case as above. All or part of the information of the target electronic device called from the server may be sent to the server by the second terminal, and all the information of the target electronic device called from the server may also be set in the server when leaving the factory (at this time, the information of the target electronic device called from the server includes identification and control information of the electronic device, and does not include status information and prompt information). In this embodiment, the information of the target electronic device is fetched from the server, so that the efficiency of fetching the information of the target electronic device can be improved.
In another way, step S303, the server retrieving, according to the first information and the second information, information of a target electronic device that is connected to the second terminal and can be controlled by the target application, where the method includes: step S3031, the server generates third information according to the first information and the second information, wherein the third information indicates the second terminal to send information of target electronic equipment which is connected with the second terminal and can be controlled by a target application to the server; step S3032, the server sends third information to the second terminal; in step S3033, the second terminal sends the information of the target electronic device to the server according to the third information (specifically, the second terminal may send the information of the target electronic device to the server through the target application). The server then receives information of the target electronic device. At this time, the second information may be the first case and the second case as above. The information obtaining method corresponding to this embodiment may be shown in fig. 4, where fig. 4 is an interaction diagram three of the information obtaining method provided in the embodiment of the present application. In the embodiment, the server retrieves the information of the target electronic device from the second terminal in real time, saves the storage space of the server, and reduces the performance requirement on the server.
Optionally, before the server retrieves the information of the target electronic device which is connected with the second terminal and can be controlled by the target application according to the first information and the second information, the method further includes: the server receives second determination information sent by the second terminal, and the second determination information indicates that the server can send information of the target electronic device to the first terminal. Specifically, the server sends a second reminding message to the second terminal, the second terminal receives and displays the second reminding message, and the second reminding message is used for reminding whether a second user of the second terminal agrees to send information of target electronic equipment which is connected with the second terminal and can be controlled by the target application to the first terminal; the second terminal receives a second determining instruction input by a second user, and the second determining instruction indicates that the second user agrees to the server to send the information of the target electronic equipment to the first terminal; the second terminal generates second determination information according to the second determination instruction, and the second determination information indicates that the server can send the information of the target electronic equipment to the first terminal; the second terminal sends second determination information to the server, and the server receives the second determination information. In the optional mode, the information of the electronic equipment is called when the user of the second terminal agrees to call the information of the electronic equipment, so that the power consumption of the server can be saved, the requirements of the user can be met, and the user experience is improved.
Step S304, the server sends information of target electronic equipment which can be controlled by a target application which establishes connection with the second terminal to the first terminal.
Optionally, the server sends, to the target application of the first terminal, information of a target electronic device controllable by the target application that establishes a connection with the second terminal.
The method of the embodiment can improve the efficiency of the first terminal for controlling and/or monitoring the electronic equipment. In addition, according to the method, the server invokes the information of the target electronic device which can be controlled by the target application which has established connection with other terminals and sends the information to the first terminal, so that the probability that the information of the target electronic device is the information required by the user of the first terminal can be improved, and the user experience is improved.
In order to increase the probability that the information of the electronic device acquired by the first terminal is the information of the electronic device that the user of the first terminal wishes to acquire, the embodiment shown in fig. 5 and 6 is further improved on the basis of the embodiment shown in fig. 3, and the embodiments shown in fig. 5 and 6 are respectively described below.
Fig. 5 is an interaction diagram of the information obtaining method provided in the embodiment of the present application, as shown in fig. 5, the method in this embodiment may include:
In step S401, the second terminal sends second information to the server, where the second information indicates that the second terminal has a connection with an electronic device that can be controlled by the target application.
The specific implementation of this step is described in step S201, and will not be described here again.
Step S402, the first terminal sends first information and the identification of the second terminal to the server.
The first terminal may send the first information and the identification of the second terminal to the server through the target application. The identification of the second terminal may be input by the user of the first terminal through the target application installed in the first terminal.
The first terminal sends the information of the target electronic equipment which can be controlled by the target application which is used for establishing connection with the second terminal to the server, wherein the information is used for indicating the server to call the second terminal.
That is, the second terminal in this embodiment is a terminal that has transmitted the second information to the server and is indicated by the identification of the second terminal transmitted by the first terminal. Namely, the second terminal in this embodiment is a terminal indicated by the identification of the second terminal transmitted to the first terminal among all the terminals that transmitted the second information to the server.
Step S403, the server retrieves information of the target electronic device which can be controlled by the target application which establishes connection with the second terminal according to the first information and the second information.
It can be understood that the target electronic device in this embodiment is the electronic device that the server in the embodiment shown in fig. 2 retrieves information.
Specifically, the server receives the identifier of the second terminal device, which indicates that information of the target electronic device that can be controlled by the target application that establishes a connection with the second terminal needs to be called. The server determines, according to the first information, information of the electronic device to be called, and determines, according to the second information, that the second terminal and the electronic device that can be controlled by the target application are connected, so that after receiving the identifier of the second terminal device, the server can call, according to the first information and the second information, information of the target electronic device that can be controlled by the target application that is connected with the second terminal.
In one manner, the server retrieving information of a target electronic device controllable by a target application that establishes a connection with a second terminal, including: the server retrieves information of a target electronic device which can be controlled by a target application which establishes a connection with the second terminal and is stored in the server. At this time, the second information may be the second case to the fourth case in the embodiment shown in fig. 3. All or part of the information of the target electronic device called from the server may be sent to the server by the second terminal, and the information of the target electronic device called from the server may also be all set in the server when leaving the factory (at this time, the information of the target electronic device called from the server includes identification and control information of the electronic device, and does not include status information and prompt information).
In another manner, the server retrieves information of a target electronic device controllable by a target application that establishes a connection with the second terminal, including: the server generates third information and sends the third information to the second terminal, and the third information indicates the second terminal to send information of target electronic equipment which can be controlled by a target application which establishes connection with the second terminal to the server; the server receives information of the target electronic device from the second terminal. At this time, the second information may be the first case and the second case in the embodiment shown in fig. 3.
Step S404, the server sends information of target electronic equipment which can be controlled by a target application which establishes connection with the second terminal to the first terminal.
The method of the embodiment can improve the efficiency of the first terminal for controlling and/or monitoring the target electronic equipment and improve the probability that the information of the electronic equipment acquired by the first terminal is the information of the electronic equipment which the user of the first terminal hopes to acquire.
Fig. 6 is an interaction diagram five of an information obtaining method provided in the embodiment of the present application, as shown in fig. 6, the method in this embodiment may include:
in step S501, the second terminal sends second information to the server, where the second information indicates that the second terminal establishes a connection with an electronic device that can be controlled by the target application.
The specific implementation of this step is described in step S201, and will not be described here again.
Step S502, the first terminal sends first information and a first network where the first terminal is located to the server.
The first terminal may send the first information and the first network in which the first terminal is located to the server through the target application.
The first terminal sends a first network where the first terminal is located to the server to instruct the server to call information of the electronic device which is connected with the terminal meeting the following conditions and can be controlled by the target application: terminals of the same or related networks as the first network exist in the network and the history connection network.
In step S503, the server determines, according to the first network where the first terminal is located, that the network where the second terminal is located and the history connection network have the same or related networks as the first network.
The network where the second terminal is currently located and the history connection network may be that the second terminal sends to the server. Specifically, the network where the second terminal is currently located and the history connection network may be that the second terminal sends to the server through the target application.
It is understood that the second terminal in this embodiment is a terminal that has transmitted the second information to the server and that has a network identical to or related to the first network in the network where the second terminal is located and the history connection network. Namely, the second terminal in the present embodiment is a terminal in which the same or related network as the first network exists among the networks and the history connection networks in which all the terminals that have transmitted the second information to the server exist.
Step S504, the server retrieves the information of the target electronic equipment which can be controlled by the target application which establishes connection with the second terminal according to the first information and the second information.
It can be understood that the target electronic device in this embodiment is the electronic device that the server in the embodiment shown in fig. 2 retrieves information.
Specifically, the server may determine, according to the first information, that information of the electronic device needs to be called, and according to the second information, the server may determine that the second terminal and the electronic device that can be controlled by the target application are connected. Therefore, after the server determines that the network where the second terminal is located and the history connection network have the same or related network as the first network according to the first network where the first terminal is located, the information of the target electronic device which can be controlled by the target application which establishes connection with the second terminal can be called according to the first information and the second information.
The specific implementation of the server to retrieve the information of the target electronic device that can be controlled by the target application that establishes a connection with the second terminal is described in the embodiment shown in fig. 5, and will not be described herein again.
Step S504, the server sends information of target electronic equipment which can be controlled by a target application which establishes connection with the second terminal to the first terminal.
The method of the embodiment can improve the efficiency of the first terminal for controlling and/or monitoring the target electronic equipment and improve the probability that the information of the electronic equipment acquired by the first terminal is the information of the electronic equipment which the user of the first terminal hopes to acquire.
The method according to the present application is described above, and the apparatus according to the present application is described below.
Fig. 7 is a schematic structural diagram of an information acquisition device of the present application, as shown in fig. 7, an apparatus of this embodiment may include: a transceiver module 71 and a retrieval module 72.
The transceiver module 71 is configured to receive first information sent by a first terminal, where the first information indicates that a target application is installed in the first terminal, and the information obtaining device is a server of the target application; the retrieving module 72 is configured to retrieve information of an electronic device according to the first information, where the electronic device is an electronic device that can be controlled by the target application; the transceiver module 71 is further configured to send information of the electronic device to the first terminal.
Optionally, before the retrieving module 72 is configured to retrieve information of the electronic device according to the first information, the transceiver module 71 is further configured to: receiving second information sent by a second terminal, wherein the second information indicates that the second terminal and the electronic equipment which can be controlled by the target application are connected; accordingly, the retrieving module 72 is specifically configured to: and according to the first information and the second information, information of target electronic equipment which is connected with the second terminal and can be controlled by the target application is called.
Optionally, the retrieving module 72 is specifically configured to: and according to the second information and the first information, retrieving the information of the target electronic equipment from the information acquisition device.
Optionally, the second information includes at least one of an identification of the second terminal, an identification of the target electronic device included in the information of the target electronic device, and other information included in the information of the target electronic device.
Optionally, the retrieving module 72 is specifically configured to: and transmitting third information to the second terminal according to the second information and the first information, wherein the third information instructs the second terminal to transmit the information of the target electronic equipment to the information acquisition device, and receives the information of the target electronic equipment from the second terminal.
Optionally, before the retrieving module 72 is configured to retrieve the information of the target electronic device according to the second information and the first information, the transceiver module 71 is further configured to: and receiving the identification of the second terminal sent by the first terminal.
Optionally, before the retrieving module 72 is configured to retrieve information of the electronic device according to the first information, the transceiver module 71 is further configured to: first determination information from a first terminal is received, the first determination information indicating that the information acquisition apparatus is capable of transmitting information of the electronic device to the first terminal.
Optionally, before the retrieving module 72 is configured to retrieve the information of the target electronic device according to the second information and the first information, the transceiver module 71 is further configured to: and receiving second determination information sent by the second terminal, wherein the second determination information indicates that the information acquisition device can send the information of the target electronic equipment to the first terminal.
Optionally, the information of the electronic device includes: the identity of the electronic device, and at least one of: instruction information for controlling the operation of the electronic equipment, state information of the electronic equipment and prompt information related to the state of the electronic equipment.
The device of the present embodiment may be used to execute the technical scheme corresponding to the server in the foregoing method embodiment, and its implementation principle and technical effects are similar, and are not repeated here.
Fig. 8 is a second schematic structural diagram of the information acquisition device of the present application, as shown in fig. 8, where the device of the present embodiment may further include, based on the device structure shown in fig. 7: a determination module 73.
Before the retrieving module 72 is configured to retrieve the information of the target electronic device according to the second information and the first information, the transceiver module 71 is further configured to: receiving a first network where a first terminal is located, wherein the first network is sent by the first terminal; the determining module 73 is configured to determine that a network that is the same as or related to the first network exists in a second network and a history connection network where the second terminal is located.
The device of the present embodiment may be used to execute the technical scheme corresponding to the server in the foregoing method embodiment, and its implementation principle and technical effects are similar, and are not repeated here.
Fig. 9 is a schematic diagram of a third structure of the information acquisition device of the present application, as shown in fig. 9, the device of this embodiment may include: a transceiver module 91, a processing module 92 and a display module 93.
In one embodiment:
the transceiver module 91 is configured to send first information to a server, where the first information indicates that a target application is installed in the first terminal, and the server is a server of the target application; and receiving information of the electronic equipment sent by the server, wherein the electronic equipment can be controlled by the target application.
Optionally, the transceiver module 91 is further configured to send an identifier of the second terminal to the server; accordingly, the transceiver module 91 is specifically configured to: and receiving information of target electronic equipment which is connected with the second terminal and can be controlled by the target application.
Optionally, the transceiver module 91 is further configured to send, to a server, a first network where the information obtaining device is located; accordingly, the transceiver module 91 is specifically configured to: and receiving information of target electronic equipment which is connected with a second terminal and can be controlled by the target application, wherein the second network where the second terminal is positioned and a historical connection network have the same or related network as the first network.
Optionally, before the transceiver module 91 is configured to receive information of the electronic device sent by the server, the transceiver module 91 is further configured to receive first alert information from the server; the display module 93 is configured to display first prompting information, where the first prompting information is configured to prompt whether a first user of the information obtaining apparatus agrees to the server to send information of the electronic device to the information obtaining apparatus; the processing module 92 is configured to receive a first determination instruction input by the first user, where the first determination instruction indicates that the first user agrees to the server to send information of the electronic device to the information obtaining apparatus, and generate first determination information according to the first determination instruction, where the first determination information indicates that the server can send information of the electronic device to the information obtaining apparatus; the transceiver module 91 is further configured to send the first determination information to the server.
The information obtaining device of this embodiment may be used to execute the technical scheme corresponding to the first terminal in the foregoing method embodiment, and its implementation principle and technical effect are similar, and are not repeated here.
In another embodiment:
the processing module 92 is configured to generate second information, where the second information indicates that a connection is established between the second terminal and an electronic device that can be controlled by the target application; the transceiver module 81 is configured to send the second information to the server.
Optionally, the transceiver module 91 is further configured to receive third information from a server, where the third information instructs the second terminal to send, to the server, information of a target electronic device that is connected to the second terminal and can be controlled by the target application; and sending information of the target electronic device to the server.
Optionally, the transceiver module 91 is further configured to receive the second alert message from the server, where the second alert message is used to alert a second user of a second terminal whether the server agrees to send the information of the target electronic device to the first terminal; the display module 93 is further configured to display the second alert message.
The processing module 92 is further configured to receive a second determination instruction input by the second user, where the second determination instruction indicates that the second user agrees to the server to send the information of the target electronic device to the first terminal, and generate second determination information according to the second determination instruction, where the second determination information indicates that the server can send the information of the target electronic device to the first terminal; the transceiver module 91 is further configured to send the second determination information to the server.
The information obtaining device of this embodiment may be used to execute the technical scheme corresponding to the second terminal in the foregoing method embodiment, and its implementation principle and technical effects are similar, and are not repeated here.
Fig. 10 is a schematic structural diagram of an apparatus provided in an embodiment of the present application, and referring to fig. 10, the apparatus 1000 may be a server, a terminal (such as the first terminal and the second terminal) or a chip, a chip system, or a processor that supports the server to implement the foregoing method, or may be a chip, a chip system, or a processor that supports the terminal to implement the foregoing method (such as a chip, a chip system, or a processor that supports the first terminal to implement the foregoing method), or may be a chip, a chip system, or a processor that supports the second terminal to implement the foregoing method. The device can be used for realizing the method corresponding to the server or the first terminal or the second terminal described in the method embodiment, and particularly, the device can be referred to the description in the method embodiment.
The apparatus 1000 may comprise one or more processors 1001, which processors 1001 may also be referred to as processing units, may implement certain control functions. The processor 1001 may be a general purpose processor or a special purpose processor, etc. For example, a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processor may be used to control communication devices (e.g., base stations, baseband chips, terminals, terminal chips, DUs or CUs, etc.), execute software programs, and process data of the software programs.
Optionally, the processor 1001 may also store instructions and/or data 1003, which instructions and/or data 1003 may be executed by the processor, to cause the apparatus 1000 to perform the method described in the method embodiment above.
Optionally, the apparatus 1000 may include one or more memories 1002 on which instructions 1004 may be stored, which may be executed on the processor, to cause the apparatus 1000 to perform the methods described in the method embodiments above. Optionally, the memory may further store data. In the alternative, the processor may store instructions and/or data. The processor and the memory may be provided separately or may be integrated.
Optionally, the apparatus 1000 may further comprise a transceiver 1005 and/or an antenna 1006. The processor 1001 may be referred to as a processing unit or a processing module, controlling the apparatus 1000. The transceiver 1005 may be referred to as a transceiver unit, a transceiver circuit, or a transceiver module, etc. for implementing a transceiver function.
Optionally, the device 1000 may also include a display 1007.
The processor 1001 and transceiver 1005 described herein may be implemented on an integrated circuit (integrated circuit, IC), analog IC, radio frequency integrated circuit (radio frequency integrated circuit, RFIC), mixed signal IC, application specific integrated circuit (application specific integrated circuit, ASIC), printed circuit board (printed circuit board, PCB), electronic device, or the like. The processor and transceiver may also be fabricated using various 1C process technologies such as complementary metal oxide semiconductor (complementary metal oxide semiconductor, CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (Bipolar Junction Transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
It should also be understood that the memory referred to in the embodiments of the present application may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (Double Data Rate SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DR RAM).
The device of the present embodiment may be used to execute the technical scheme corresponding to the server or the first terminal or the second terminal in the foregoing method embodiment, and its implementation principle and technical effect are similar, and are not repeated herein.
Embodiments of the present application provide a non-transitory computer readable storage medium storing computer instructions for causing a server or a first terminal or a second terminal in the above method embodiments of the computer to correspond to a method.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims (16)
1. An information acquisition method, characterized by comprising:
the method comprises the steps that a server receives first information sent by a first terminal, the first information indicates that a target application is installed on the first terminal, and the server is a server of the target application;
the server retrieves information of the electronic equipment according to the first information, wherein the electronic equipment is controllable by the target application;
the server sends information of the electronic equipment to the first terminal;
before the server invokes the information of the electronic device according to the first information, the method further comprises:
the server receives second information sent by a second terminal, wherein the second information indicates that the second terminal is connected with electronic equipment which can be controlled by the target application;
accordingly, the server invokes information of the electronic device, including:
the server retrieves information of target electronic equipment which is connected with the second terminal and can be controlled by the target application according to the first information and the second information;
the server retrieving information of the target electronic device according to the first information and the second information, including:
The server retrieves the information of the target electronic equipment from the server according to the first information and the second information;
before the server retrieves the information of the target electronic device according to the first information and the second information, the method further comprises:
the server receives a first network where a first terminal is located, which is sent by the first terminal;
the server determines that the second network where the second terminal is located and the history connection network have the same or related network as the first network.
2. The method of claim 1, wherein the second information comprises at least one of an identification of the second terminal, an identification of the target electronic device included in the information of the target electronic device, and other information included in the information of the target electronic device.
3. The method of claim 1, wherein the server retrieving information for the target electronic device based on the first information and the second information, comprises:
the server sends third information to the second terminal according to the first information and the second information, and the third information indicates the second terminal to send the information of the target electronic equipment to the server;
The server receives information of the target electronic device from the second terminal.
4. A method according to any one of claims 1 to 3, further comprising, before the server retrieves the information of the target electronic device according to the first information and the second information:
and the server receives the identification of the second terminal sent by the first terminal.
5. A method according to any one of claims 1 to 3, further comprising, before the server retrieves the information of the electronic device according to the first information:
first determination information from a first terminal is received, the first determination information indicating that the server is capable of sending information of the electronic device to the first terminal.
6. A method according to any one of claims 1 to 3, further comprising, before the server retrieves the information of the target electronic device according to the first information and the second information:
and receiving second determination information sent by the second terminal, wherein the second determination information indicates that the server can send the information of the target electronic equipment to the first terminal.
7. A method according to any one of claims 1 to 3, wherein the information of the electronic device includes: the identity of the electronic device, and at least one of: instruction information for controlling the operation of the electronic equipment, state information of the electronic equipment and prompt information related to the state of the electronic equipment.
8. An information acquisition method, characterized by comprising:
the method comprises the steps that a first terminal sends first information to a server, the first information indicates that a target application is installed in the first terminal, and the server is a server of the target application;
the first terminal receives information of electronic equipment sent by the server, wherein the electronic equipment is controllable by the target application; the information of the electronic equipment is information of target electronic equipment which is called by the server according to the first information and second information sent by the second terminal, is connected with the second terminal and can be controlled by the target application;
the method further comprises the steps of:
the first terminal sends a first network where the first terminal is located to the server;
the first terminal receives information of the electronic equipment sent by the server, and the information comprises:
And the first terminal receives information of target electronic equipment which is connected with a second terminal and can be controlled by the target application, wherein the second network where the second terminal is positioned and the history connection network have the same or related networks as the first network.
9. The method as recited in claim 8, further comprising:
the first terminal sends an identification of a second terminal to the server;
the first terminal receives information of the electronic equipment sent by the server, and the information comprises:
and the first terminal receives information of target electronic equipment which is connected with the second terminal and can be controlled by the target application.
10. The method of claim 9, further comprising, before the first terminal receives the information of the electronic device sent by the server:
the first terminal receives and displays first reminding information from the server, wherein the first reminding information is used for reminding a first user of the first terminal whether to agree the server to send information of the electronic equipment to the first terminal;
the first terminal receives a first determining instruction input by the first user, wherein the first determining instruction indicates that the first user agrees to send information of the electronic equipment to the first terminal;
The first terminal generates first determination information according to the first determination instruction, wherein the first determination information indicates that the server can send information of the electronic equipment to the first terminal;
the first terminal sends the first determination information to the server.
11. An information acquisition method, characterized by comprising:
the second terminal generates second information, and the second information indicates that the second terminal establishes connection with the electronic equipment which can be controlled by the target application;
the second terminal sends the second information to a server, so that the server can call information of a target electronic device which is connected with the second terminal and can be controlled by the target application according to the first information and the second information sent by the first terminal, and sends the information of the electronic device to the first terminal; the first information indicates that the first terminal installs the target application;
the second terminal sends the second information to the server, so that the server can call information of a target electronic device which is connected with the second terminal and can be controlled by the target application according to the first information and the second information sent by the first terminal, and the method comprises the following steps:
The server retrieves the information of the target electronic equipment from the server according to the first information and the second information;
the second terminal sends the second information to the server, so that before the server calls the information of the target electronic device which is connected with the second terminal and can be controlled by the target application according to the first information and the second information sent by the first terminal, the method further comprises:
the server receives a first network where a first terminal is located, which is sent by the first terminal;
the server determines that the second network where the second terminal is located and the history connection network have the same or related network as the first network.
12. The method as recited in claim 11, further comprising:
the second terminal receives third information from a server, wherein the third information indicates the second terminal to send information of target electronic equipment which is connected with the second terminal and can be controlled by the target application to the server;
and the second terminal sends the information of the target electronic equipment to the server.
13. The method according to claim 11 or 12, further comprising:
The second terminal receives and displays a second reminding message from the server, wherein the second reminding message is used for reminding a second user of the second terminal whether to agree to the server to send the information of the target electronic equipment to the first terminal;
the second terminal receives a second determining instruction input by the second user, wherein the second determining instruction indicates that the second user agrees to send the information of the target electronic equipment to the first terminal;
the second terminal generates second determination information according to the second determination instruction, wherein the second determination information indicates that the server can send the information of the target electronic equipment to the first terminal;
and the second terminal sends the second determination information to the server.
14. A server, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
15. A terminal, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 8-10 or to perform the method of any one of claims 11-13.
16. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-7 or to perform the method of any one of claims 8-10 or to perform the method of any one of claims 11-13.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911053135.3A CN112751901B (en) | 2019-10-31 | 2019-10-31 | Information acquisition method, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911053135.3A CN112751901B (en) | 2019-10-31 | 2019-10-31 | Information acquisition method, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112751901A CN112751901A (en) | 2021-05-04 |
CN112751901B true CN112751901B (en) | 2023-05-05 |
Family
ID=75645061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911053135.3A Active CN112751901B (en) | 2019-10-31 | 2019-10-31 | Information acquisition method, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112751901B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106961368A (en) * | 2016-01-08 | 2017-07-18 | 九阳股份有限公司 | A kind of household electrical appliances Cloud Server method of work and household electrical appliances cloud server system method of work |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201018562Y (en) * | 2006-10-18 | 2008-02-06 | 浙江工业大学 | Secure smart home gateway based on mobile phone remote control |
KR20100091863A (en) * | 2009-02-10 | 2010-08-19 | 김용기 | Home network system and intelligent home server control action method and tcp/ip using picture verification control and monitor method |
CN103973748B (en) * | 2013-02-04 | 2017-08-01 | 珠海格力电器股份有限公司 | Intelligent household system and monitoring method thereof |
TW201806434A (en) * | 2016-08-08 | 2018-02-16 | 愷安智能科技有限公司 | Intelligent home control system enabling to utilize an mobile device to control and configure home appliances through an application program |
CN106941528A (en) * | 2017-03-16 | 2017-07-11 | 佛山市小鲜互联电器科技有限公司 | A kind of system and method for remote monitoring electric operation state |
CN107770247A (en) * | 2017-09-15 | 2018-03-06 | 合肥英泽信息科技有限公司 | A kind of user's intelligent terminal management platform based on Cloud Server |
CN109862056A (en) * | 2017-11-30 | 2019-06-07 | 浙江昱能科技有限公司 | A kind of monitoring system |
CN107995073A (en) * | 2017-12-07 | 2018-05-04 | 北京康力优蓝机器人科技有限公司 | A kind of apparatus and method for controlling smart home device |
-
2019
- 2019-10-31 CN CN201911053135.3A patent/CN112751901B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106961368A (en) * | 2016-01-08 | 2017-07-18 | 九阳股份有限公司 | A kind of household electrical appliances Cloud Server method of work and household electrical appliances cloud server system method of work |
Also Published As
Publication number | Publication date |
---|---|
CN112751901A (en) | 2021-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103607341B (en) | Terminal control method based on instant messaging mode and system | |
CN103941686B (en) | Sound control method and system | |
US10264424B2 (en) | Information processing method and central control device | |
US10911378B2 (en) | System and method for providing conversational contents | |
EP2884718B1 (en) | Method, device and system for processing instant messaging information and setting terminal priority | |
CN103759393B (en) | Air conditioner wireless controller, system and control method thereof | |
US20140091923A1 (en) | Device event notification registration through direct interaction with mobile device | |
CN103973748A (en) | Intelligent household system and monitoring method thereof | |
US20190132763A1 (en) | Method and device for transmitting data | |
CN107040869B (en) | Method, system and device for indicating the status of an automatic power conversion device | |
CN108111999A (en) | Short-distance communication equipment shares request and control method and electronic equipment | |
US20220417052A1 (en) | Network configuration terminal, network configuration method for home appliance, and computer-readable storage medium | |
CN111736938B (en) | Information display method and device, storage medium and electronic device | |
US20160029214A1 (en) | Home control gateway and home control network connection method thereof | |
EP2988483B1 (en) | Electronic device and call-forwarding control method thereof | |
US20170168473A1 (en) | Signalling of specification information on an industrial device | |
US20200228527A1 (en) | Home device control system and method thereof | |
CN108418732A (en) | A kind of control method of household appliance and household appliance | |
CN112751901B (en) | Information acquisition method, terminal and storage medium | |
CN106331284A (en) | Communication system based on WIFI Internet of things technology | |
CN104539493B (en) | Based on the intelligent terminal that USB interface is realized to the managing and control system and its implementation of intelligent appliance | |
CN110634276A (en) | Household appliance, mobile terminal and fault information feedback method thereof | |
KR102303095B1 (en) | Method for assigning a tag with an action within a network, respective network and control device | |
CN113596792B (en) | Binding method and device of electronic equipment, storage medium and electronic device | |
CN105610608A (en) | Method and device for working state prompt of intelligent socket |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |