Configuration file acquisition method, device and systemTechnical Field
The present disclosure relates to the field of electronic technology application, and in particular, to a method, an apparatus, and a system for acquiring a configuration file.
Background
With the development of science and technology, the smart phone can establish wireless connection with a certain household appliance, generate a corresponding remote controller control interface according to a configuration file of the household appliance, and remotely control the household appliance through the remote controller control interface to realize the functions of a household appliance remote controller.
On one hand, the smart phone may obtain a configuration file of a certain household appliance in a downloading manner, for example, the smart phone may download the configuration file corresponding to the identifier in the server according to the identifier of the household appliance; on the other hand, the smart phone may obtain a configuration file of a certain household appliance in a learning manner, for example, the smart phone establishes a wireless connection with a remote controller of the household appliance, the smart phone first receives a remote control signal sent by the remote controller, then receives a trigger signal input by a user on the smart phone, and finally, takes a corresponding relationship between the remote control signal and the trigger signal as the configuration file.
Disclosure of Invention
The disclosure provides a configuration file acquisition method, device and system. The technical scheme is as follows:
according to a first aspect of the present disclosure, there is provided a profile acquisition method, including:
detecting whether a terminal accessed to a local area network of network access equipment starts a remote controller application or not;
if the terminal is detected to start the remote controller application, acquiring the identification information of the target household appliance;
detecting whether a configuration file of the target household appliance is stored in the network access equipment or not according to the identification information of the target household appliance;
and if the configuration file of the target household appliance is stored in the network access equipment, the configuration file of the target household appliance is sent to the terminal.
Optionally, the method further includes:
if the configuration file of the target household appliance is not stored in the network access equipment, first request information for requesting the configuration file of the target household appliance is sent to a server;
receiving the configuration file of the target household appliance sent by the server;
and sending the configuration file of the target household appliance to the terminal.
Optionally, the method further includes:
if the configuration file of the target household appliance is not stored in the network access equipment, a learning configuration instruction is sent to the terminal, and the terminal is used for acquiring the configuration file of the target household appliance in a learning mode according to the learning configuration instruction;
receiving a configuration file of the target household appliance sent by the terminal;
and storing the configuration file of the target household appliance.
Optionally, the method further includes:
acquiring identification information of the remotely controllable household appliance through connection established between the remotely controllable household appliance and the remotely controllable household appliance;
detecting whether a configuration file of the remotely controllable household appliance is stored in the network access equipment or not according to the identification information of the remotely controllable household appliance;
if the configuration file of the remotely controllable household appliance is not stored in the network access equipment, sending second request information for requesting the configuration file of the remotely controllable household appliance to a server, wherein the server is used for inquiring the configuration file stored in the server according to the second request information;
receiving the configuration file of the remotely-controllable household appliance sent by the server;
and storing the configuration file of the remotely-controllable household appliance.
Optionally, the method further includes:
acquiring identification information of the remotely controllable household appliance through connection established between the remotely controllable household appliance and the remotely controllable household appliance;
detecting whether a configuration file of the remotely controllable household appliance is stored in the network access equipment or not according to the identification information of the remotely controllable household appliance;
if the configuration file of the remotely-controllable household appliance is not stored in the network access equipment, a learning configuration instruction is sent to the terminal, and the terminal is used for acquiring the configuration file of the remotely-controllable household appliance in a learning mode according to the learning configuration instruction;
receiving a configuration file of the remotely-controllable household appliance sent by the terminal;
and storing the configuration file of the remotely-controllable household appliance.
Optionally, the obtaining the identification information of the target household electrical appliance includes:
sending a configuration file query request to the terminal, wherein the terminal is used for sending a configuration file list to the network access equipment according to the configuration file query request, and the configuration file list records identification information of household appliances which are connected or bound with the terminal and configuration files stored in the terminal;
receiving a configuration file list sent by the terminal;
and selecting the household appliances which are not stored with the configuration files in the terminal from the household appliances which are connected or bound with the terminal as the target household appliances.
Optionally, the method further includes:
acquiring identification information of the household electrical appliance equipment in which the configuration file is stored in the network access equipment;
checking whether an updated configuration file corresponding to the identification information exists in the server according to the identification information;
and when the updated configuration file exists in the server, acquiring the updated configuration file.
Optionally, the detecting whether the remote controller application is started by the terminal accessing the local area network where the network access device is located includes:
intercepting a message sent by the terminal to a server; detecting whether the message relates to the remote control application; if the message is related to the remote controller application, determining that the terminal starts the remote controller application;
or,
sending a query message to the terminal; receiving a response message sent by the terminal, wherein the response message is determined by the terminal according to whether a remote controller application is started or not after the terminal receives the query message; determining that the terminal starts the remote controller application according to the response message;
or,
receiving a notification message sent by the terminal for starting a remote controller application; and determining that the terminal starts the remote controller application according to the notification message.
According to a second aspect of the present disclosure, there is provided a profile acquiring apparatus comprising:
the first detection module is configured to detect whether a terminal of a local area network where the access network access equipment is located starts a remote controller application;
the first acquisition module is configured to acquire identification information of a target household appliance when the terminal is detected to start a remote controller application;
the second detection module is configured to detect whether a configuration file of the target household appliance is stored in the network access device according to the identification information of the target household appliance;
the first sending module is configured to send the configuration file of the target household appliance to the terminal when the configuration file of the target household appliance is stored in the network access device.
Optionally, the apparatus further comprises:
the second sending module is configured to send first request information for requesting the configuration file of the target household appliance to a server when the configuration file of the target household appliance is not stored in the network access device;
a first receiving module configured to receive the configuration file of the target home device sent by the server;
and the third sending module is configured to send the configuration file of the target household appliance device to the terminal.
Optionally, the apparatus further comprises:
a fourth sending module, configured to send a learning configuration instruction to the terminal when the configuration file of the target household appliance is not stored in the network access device, where the terminal is configured to obtain the configuration file of the target household appliance in a learning manner according to the learning configuration instruction;
the second receiving module is configured to receive the configuration file of the target household appliance device sent by the terminal;
a first storage module configured to store a configuration file of the target home device.
Optionally, the apparatus further comprises:
the second acquisition module is configured to acquire identification information of the remotely controllable household appliance through connection established between the second acquisition module and the remotely controllable household appliance;
the third detection module is configured to detect whether a configuration file of the remotely controllable household appliance is stored in the network access device or not according to the identification information of the remotely controllable household appliance;
a fifth sending module, configured to send, to a server, second request information for requesting a configuration file of the remotely controllable home appliance when the configuration file of the remotely controllable home appliance is not stored in the network access device, where the server is configured to query the configuration file stored in the server according to the second request information;
a third receiving module configured to receive the configuration file of the remotely controllable home appliance sent by the server;
and the second storage module is configured to store the configuration file of the remotely controllable household appliance.
Optionally, the apparatus further comprises:
the third acquisition module is configured to acquire identification information of the remotely controllable household appliance through connection established between the third acquisition module and the remotely controllable household appliance;
the fourth detection module is configured to detect whether the configuration file of the remotely controllable household appliance is stored in the network access device or not according to the identification information of the remotely controllable household appliance;
a sixth sending module, configured to send a learning configuration instruction to the terminal when the configuration file of the remotely controllable home appliance is not stored in the network access device, where the terminal is configured to obtain the configuration file of the remotely controllable home appliance in a learning manner according to the learning configuration instruction;
the fourth receiving module is configured to receive the configuration file of the remotely controllable household appliance sent by the terminal;
and the third storage module is configured to store the configuration file of the remotely controllable household appliance.
Optionally, the first obtaining module is configured to:
sending a configuration file query request to the terminal, wherein the terminal is used for sending a configuration file list to the network access equipment according to the configuration file query request, and the configuration file list records identification information of household appliances which are connected or bound with the terminal and configuration files stored in the terminal;
receiving a configuration file list sent by the terminal;
and selecting the household appliances which are not stored with the configuration files in the terminal from the household appliances which are connected or bound with the terminal as the target household appliances.
Optionally, the apparatus further comprises:
the fourth acquisition module is configured to acquire identification information of the household electrical appliance equipment in which the configuration file is stored in the network access equipment;
a checking module configured to check whether an updated configuration file corresponding to the identification information exists in the server according to the identification information;
a fifth obtaining module, configured to obtain the updated configuration file when the updated configuration file exists in the server.
Optionally, the first detection module is configured to:
intercepting a message sent by the terminal to a server; detecting whether the message relates to the remote control application; if the message is related to the remote controller application, determining that the terminal starts the remote controller application;
or sending a query message to the terminal; receiving a response message sent by the terminal, wherein the response message is determined by the terminal according to whether a remote controller application is started or not after the terminal receives the query message; determining that the terminal starts the remote controller application according to the response message;
or receiving a notification message sent by the terminal for starting the remote controller application; and determining that the terminal starts the remote controller application according to the notification message.
According to a third aspect of the present disclosure, there is provided a profile acquiring system comprising: a network access device and a terminal;
the network access equipment comprises the configuration file acquisition device of the second aspect.
According to a fourth aspect of the present disclosure, there is provided a profile acquiring apparatus comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
detecting whether a terminal accessed to a local area network of network access equipment starts a remote controller application or not;
if the terminal is detected to start the remote controller application, acquiring the identification information of the target household appliance;
detecting whether a configuration file of the target household appliance is stored in the network access equipment or not according to the identification information of the target household appliance;
and if the configuration file of the target household appliance is stored in the network access equipment, the configuration file of the target household appliance is sent to the terminal.
The technical scheme provided by the disclosure can comprise the following beneficial effects: the method comprises the steps that after the network access equipment detects that a terminal of a local area network where the network access equipment is located starts a remote controller application, whether a configuration file of target household electrical appliance equipment is stored in the network access equipment or not is detected, and if the configuration file of the target household electrical appliance equipment is stored in the network access equipment, the configuration file of the target household electrical appliance equipment is sent to the terminal. After the terminal starts the remote controller application, the network access equipment can send the configuration file of the target household appliance equipment to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance equipment, the problem that the process of acquiring the configuration file of the household appliance equipment by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance equipment by the terminal is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure, the drawings that are needed to be used in the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a schematic illustration of an implementation environment to which various embodiments of the present disclosure relate;
FIG. 2 is a flow diagram illustrating a method of profile acquisition in accordance with an exemplary embodiment;
FIG. 3-1 is a flow diagram illustrating another configuration file acquisition method in accordance with an illustrative embodiment;
FIG. 3-2 is a flowchart of a process in which the network access device detects whether a remote control application is turned on in the configuration file acquisition method shown in FIG. 3-1;
fig. 3-3 is a flowchart of a process of acquiring identification information by a network access device in the configuration file acquisition method shown in fig. 3-1;
fig. 3-4 is a flowchart illustrating a process of acquiring a configuration file of a target home device by a network access device in the configuration file acquiring method shown in fig. 3-1;
fig. 3-5 is a flowchart illustrating a process of another network access device acquiring a configuration file of a target home device in the configuration file acquiring method shown in fig. 3-1;
3-6 are schematic diagrams of an interface of a remote control application on a terminal;
fig. 3-7 are schematic structural views of a remote controller of an electric home appliance;
3-8 are further interface diagrams of a remote control application on a terminal;
fig. 3-9 is a flowchart illustrating a process of acquiring a configuration file of a remotely controllable home device by a network access device in the configuration file acquisition method illustrated in fig. 3-1;
3-10 are flow diagrams of processes by which a network access device performs an update of a configuration file in the configuration file acquisition method shown in FIG. 3-1;
FIG. 4-1 is a block diagram illustrating the structure of a profile capture mechanism in accordance with an exemplary embodiment;
FIG. 4-2 is a block diagram illustrating the structure of another profile capture device in accordance with an exemplary embodiment;
4-3 are block diagrams illustrating still another configuration file acquisition apparatus according to an exemplary embodiment;
FIGS. 4-4 are block diagrams illustrating still another configuration file acquiring apparatus according to an exemplary embodiment;
FIGS. 4-5 are block diagrams illustrating the structure of a profile capture mechanism according to another exemplary embodiment;
FIGS. 4-6 are block diagrams illustrating the structure of another profile capture device according to another exemplary embodiment;
FIG. 5 is a block diagram illustrating the structure of a profile acquisition system in accordance with an exemplary embodiment;
fig. 6 is a schematic structural diagram of a configuration file acquiring apparatus according to an embodiment of the present disclosure.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more clear, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
Fig. 1 is a schematic diagram of an implementation environment according to various embodiments of the present disclosure, where the implementation environment includes a server 01, a network access device 02, and a terminal a, where the server 01 may be a server, a server cluster composed of several servers, or a cloud computing service center. The terminal can be a smart phone, a computer, a multimedia player, an electronic reader, a wearable device and the like. The network access device 02 establishes a connection with the server 01, the network access device 02 can realize communication between the terminal a and the server 01, and the network access device 02 may include a gateway, a router, an access point device, an access control node device, a home server, a local area network server, and the like. The terminal a can access a local area network in which the network access device 02 is located. Alternatively, the terminal a accessing the network access device 02 may send information to the network access device 02, and the network access device 02 forwards the information sent by the terminal a to the server 01, so as to implement communication between the terminal a and the server 01. Alternatively, the terminal a accessing the network access device 02 may also communicate directly with the server 01.
Fig. 2 is a flowchart illustrating a configuration file obtaining method according to an exemplary embodiment, where the embodiment of the present disclosure is illustrated by applying the configuration file obtaining method to the network access device 02 in the implementation environment shown in fig. 1, the configuration file obtaining method may include the following steps:
in step 201, it is detected whether a terminal accessing a local area network where the network access device is located opens a remote controller application.
In step 202, if it is detected that the terminal starts the remote control application, the identification information of the target home appliance device is obtained.
In step 203, it is detected whether a configuration file of the target home device is stored in the network access device according to the identification information of the target home device.
In step 204, if the network access device stores the configuration file of the target home device, the configuration file of the target home device is sent to the terminal.
To sum up, in the configuration file obtaining method provided in the embodiment of the present disclosure, after detecting that a terminal of a local area network where a network access device is located starts a remote controller application, the network access device detects whether a configuration file of a target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, sends the configuration file of the target household appliance device to the terminal. After the terminal starts the remote controller application, the network access equipment can send the configuration file of the target household appliance equipment to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance equipment, the problem that the process of acquiring the configuration file of the household appliance equipment by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance equipment by the terminal is achieved.
Optionally, the method for acquiring a configuration file may further include:
if the configuration file of the target household appliance is not stored in the network access equipment, first request information for requesting the configuration file of the target household appliance is sent to a server;
receiving a configuration file of the target household appliance sent by the server;
and sending the configuration file of the target household appliance to the terminal.
Optionally, the method for acquiring a configuration file may further include:
if the configuration file of the target household appliance is not stored in the network access equipment, a learning configuration instruction is sent to the terminal, and the terminal is used for acquiring the configuration file of the target household appliance in a learning mode according to the learning configuration instruction;
receiving a configuration file of target household electrical appliance equipment sent by a terminal;
and storing the configuration file of the target household appliance.
Optionally, the method for acquiring a configuration file may further include:
acquiring identification information of the remotely controllable household appliance through the connection established between the remotely controllable household appliance and the household appliance;
detecting whether a configuration file of the remotely controllable household appliance is stored in the network access equipment or not according to the identification information of the remotely controllable household appliance;
if the configuration file of the remotely controllable household appliance is not stored in the network access equipment, second request information for requesting the configuration file of the remotely controllable household appliance is sent to the server, and the server is used for inquiring the configuration file stored in the server according to the second request information;
receiving a configuration file of the remotely-controllable household appliance sent by the server;
storing a configuration file of the remotely controllable home device.
Optionally, the method for acquiring a configuration file may further include:
acquiring identification information of the remotely controllable household appliance through the connection established between the remotely controllable household appliance and the household appliance;
detecting whether a configuration file of the remotely controllable household appliance is stored in the network access equipment or not according to the identification information of the remotely controllable household appliance;
if the configuration file of the remotely-controllable household appliance is not stored in the network access equipment, a learning configuration instruction is sent to the terminal, and the terminal is used for acquiring the configuration file of the remotely-controllable household appliance in a learning mode according to the learning configuration instruction;
receiving a configuration file of the remotely-controllable household appliance sent by the terminal;
storing a configuration file of the remotely controllable home device.
Optionally, step 202 may include:
sending a configuration file query request to a terminal, wherein the terminal is used for sending a configuration file list to network access equipment according to the configuration file query request, and the configuration file list records identification information of household appliances which are connected or bound with the terminal and configuration files stored in the terminal;
receiving a configuration file list sent by a terminal;
and selecting the household appliances which are not stored with the configuration files in the terminal as target household appliances from the household appliances which are connected or bound with the terminal.
Optionally, the method for acquiring a configuration file may further include:
acquiring identification information of household appliances in which configuration files are stored in network access equipment;
checking whether an updated configuration file corresponding to the identification information exists in the server according to the identification information;
and when the updated configuration file exists in the server, acquiring the updated configuration file.
Optionally, step 201 may include:
intercepting a message sent by a terminal to a server; detecting whether the message relates to a remote control application; if the message is related to the remote controller application, determining that the terminal starts the remote controller application;
or sending a query message to the terminal; receiving a response message sent by the terminal, wherein the response message is determined according to whether the remote controller application is started or not after the terminal receives the query message; determining that the terminal starts the remote controller application according to the response message;
or receiving a notification message sent by the terminal for starting the remote controller application; and determining that the terminal starts the remote controller application according to the notification message.
To sum up, in the configuration file obtaining method provided in the embodiment of the present disclosure, after detecting that a terminal of a local area network where a network access device is located starts a remote controller application, the network access device detects whether a configuration file of a target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, sends the configuration file of the target household appliance device to the terminal. After the terminal starts the remote controller application, the network access equipment can send the configuration file of the target household appliance equipment to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance equipment, the problem that the process of acquiring the configuration file of the household appliance equipment by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance equipment by the terminal is achieved.
Fig. 3-1 is a flowchart illustrating another configuration file obtaining method according to an exemplary embodiment, where the configuration file obtaining method provided by the embodiment of the present disclosure is applied to the implementation environment illustrated in fig. 1, and the configuration file obtaining method may include the following steps:
in step 301, the network access device detects whether a terminal accessing a local area network where the network access device is located opens a remote control application. Step 302 is performed.
In an example, the present disclosure provides three methods for a network access device to detect whether a terminal accessing a local area network where the network access device is located starts a remote controller application, which specifically include:
in a first aspect, as shown in fig. 3-2, a process of a network access device detecting whether a terminal accessing a local area network where the network access device is located starts a remote controller application may include the following steps:
in sub-step 3011, the network access device intercepts a message sent to a server by a terminal accessing a local area network where the network access device is located. Sub-step 3012 is performed.
The local area network is a communication network formed by connecting various computers, external devices, databases and the like in a local geographic range, and can be connected with a server through a data communication network or a special data circuit to perform information interaction. In the embodiment of the present disclosure, the network access device is located in a local area network, a port of the local area network where the network access device is located, which is connected to a server, is the network access device, and other devices in the local area network all need to pass through the network access device when performing information interaction with the server, that is, all other devices in the local area network need to forward interactive information by the network access device when performing information interaction with the server, and the network access device and other devices in the local area network where the network access device is located may communicate with each other. The terminal of the local area network where the access network access equipment is located can communicate with the network access equipment. As shown in fig. 1, since the terminal accesses the local area network where the network access device is located, and the network access device needs to forward the information of the interaction when the terminal performs information interaction with the server, the network access device may intercept the message sent by the terminal to the server when forwarding the message sent by the terminal to the server.
In sub-step 3012, the network access device detects whether the intercepted message is related to a remote control application. If the network access device detects that the intercepted message is related to a remote control application, performing substep 3013; if the network access device detects that the intercepted message is not related to the remote control application, sub-step 3014 is performed.
When the terminal opens the remote controller application, the terminal can send a message related to the remote controller application to the server, so that the network access equipment can judge whether the terminal opens the remote controller application by detecting whether the intercepted message sent to the server by the terminal is related to the remote controller application. For example, when the terminal opens the remote controller application, the terminal may send update request information to a server corresponding to the remote controller through the network access device to perform update of the remote controller application, where the update request information sent by the terminal to the server corresponding to the remote controller may be a Uniform Resource Locator (URL), and the network access device may intercept the URL sent by the terminal and detect whether the URL is related to the remote controller application, determine that the terminal opens the remote controller application if the URL is related to the remote controller application, and determine that the terminal does not open the remote controller application if the URL is not related to the remote controller application. In practical application, the network access device may store information related to the remote control application in advance, such as a URL, and after the network access device intercepts a message sent by the terminal to the server, match the content of the message with the content of the information related to the remote control application stored in advance, if the matching is successful, it is determined that the message sent by the terminal to the server is related to the remote control application, and if the matching is failed, it is determined that the message sent by the terminal to the server is not related to the remote control application.
In sub-step 3013, the network access device determines that the terminal opens the remote control application.
If the network access device determines that the message sent by the terminal to the server is related to the remote control application in sub-step 3012, the network access device determines that the terminal opens the remote control application.
In sub-step 3014, the network access device determines that the terminal does not open the remote control application. Sub-step 3011 is performed.
If the network access device determines that the message sent by the terminal to the server is not related to the remote control application in sub-step 3012, the network access device determines that the terminal does not start the remote control application, and repeatedly executes sub-step 3011.
In a second aspect, the network access device may further send an inquiry message to the terminal for inquiring whether the terminal turns on the remote controller application. After receiving the query information sent by the network access device, the terminal may determine, according to the query information, a response message for indicating whether the terminal opens the remote controller application, and send the response message to the network access device, and after receiving the response message, the network access device may determine, according to the response message, whether the terminal opens the remote controller application.
In a third aspect, when the terminal starts a remote controller application, the terminal may generate a notification message for instructing the terminal to start the remote controller application, and send the notification message to the network access device, and the network access device may determine, after receiving the notification message, that the terminal starts the remote controller application according to the notification message.
In practical application, the network access device may also detect whether the terminal starts the remote controller application in other manners, which is not limited in this disclosure.
In step 302, the network access device obtains identification information of the target home device. Step 303 is performed.
In this disclosure, as shown in fig. 3-3, an exemplary process of acquiring, by a network access device, identification information of a target home device may include the following steps:
in sub-step 3021, the network access device sends a profile query request to the terminal.
The network access equipment can generate a configuration file query request after determining that a terminal accessed to a local area network where the network access equipment is located opens a remote controller application, and can communicate with the terminal because the terminal is accessed to the local area network where the network access equipment is located, and the network access equipment can send the generated configuration file query request to the terminal. For example, the configuration file query request may be used to request to obtain identification information of the home device that is connected or bound to the terminal and a configuration file stored in the terminal.
In sub-step 3022, the terminal sends a profile list to the network access device according to the profile query request.
The terminal can be connected with the household appliance through wireless fidelity (WiFi), infrared, Bluetooth, radio frequency and other wireless signals. After receiving a configuration file query request sent by the network access device, the terminal may generate a configuration file list according to the identification information of the household electrical appliance device that has been connected or bound to the terminal and the configuration file stored in the terminal, and send the configuration file list to the network access device, where the configuration file list may record the household electrical appliance device that has been connected or bound to the terminal and the configuration file stored in the terminal. For example, the profile list may record the home devices connected or bound to the terminal and the profiles stored in the terminal by recording identification information of the home devices connected or bound to the terminal and identification information of the profiles stored in the terminal.
Alternatively, as shown in table 1, table 1 may be a configuration file list generated for the terminal. In table 1, it is assumed that the configuration files stored in the terminal of the lan where the access network access device is located are configuration file 1 of home device X1, configuration file 2 of home device X2, configuration file 3 of home device X3, and configuration file 4 of home device X4, and the home devices connected or bound to the terminal are home device X1, home device X2, home device X3, home device X4, and home device X5, respectively. After receiving a configuration file query request sent by the network access device, the terminal may generate a configuration file list according to the identification information of the household appliance device that has established connection or has been bound with the terminal and the configuration file stored in the terminal, and send the configuration file list to the network access device.
TABLE 1
| Household appliance connected or bound with terminal | Configuration file stored in terminal |
| Household electrical appliance X1 | Configuration document 1 |
| Household electrical appliance X2 | Configuration file 2 |
| Household electrical appliance X3 | Configuration file 3 |
| Household electrical appliance X4 | Configuration file 4 |
| Household electrical appliance X5 | |
In sub-step 3023, the network access device selects, among the home devices that have established a connection or are bound to the terminal, a home device whose profile is not stored in the terminal as a target home device.
After receiving the configuration file list, the network access device may select, from the household appliances connected to or bound to the terminal, a household appliance in which the configuration file is not stored in the terminal as a target household appliance according to the identification information of the household appliance connected to or bound to the terminal recorded in the configuration file list and the identification information of the configuration file stored in the terminal. For example, assuming that a configuration file list sent by the terminal and received by the network access device is shown in table 1, the network access device may obtain from the configuration file list that the home device that does not store its configuration file in the terminal is the home device X5, and the network access device may determine that the home device X5 is the target home device.
In sub-step 3024, the network access device obtains identification information of the target home device.
After determining the target household appliance, the network access device may further obtain identification information of the target household appliance. Optionally, the network access device may obtain the identification information of the target electric home device from the configuration file list obtained in step 3022.
In step 303, the network access device detects whether a configuration file of the target electrical home device is stored in the network access device. If the network access device stores the configuration file of the target household appliance, executing step 304; if the network access device does not store the configuration file of the target electrical home device, step 305 is executed.
After determining the target household appliance, the network access device may obtain the identification information of the target household appliance, and detect whether a configuration file corresponding to the identification information of the target household appliance is stored in the network access device according to the identification information of the target household appliance.
For example, when all the profiles stored in the network access device are shown in table 2, the network access device stores a profile 1 of the home device X1, a profile 2 of the home device X2, a profile 3 of the home device X3, a profile 4 of the home device X4, and a profile 5 of the home device X5. If the target home device determined in step 302 is the home device X5, it can be seen from table 2 that the configuration file of the target home device (the home device X5) is stored in the network access device.
TABLE 2
| Configuration files stored in network access equipment |
| Configuration document 1 |
| Configuration file 2 |
| Configuration file 3 |
| Configuration file 4 |
| Configuration file 5 |
When all the profiles stored in the network access device are shown in table 3, the network access device stores a profile 1 of the home device X1, a profile 2 of the home device X2, a profile 3 of the home device X3, and a profile 4 of the home device X4. If the target home device determined in step 302 is the home device X5, it can be seen from table 3 that the configuration file of the target home device (home device X5) is not stored in the network access device.
TABLE 3
| Configuration files stored in network access equipment |
| Configuration document 1 |
| Configuration file 2 |
| Configuration file 3 |
| Configuration file 4 |
In step 304, the network access device sends the configuration file of the target home device stored on the network access device to the terminal.
If the configuration file of the target household appliance is stored in the network access device, the network access device can directly send the configuration file of the target household appliance stored in the network access device to the terminal. After receiving the configuration file of the target household appliance, the terminal can generate a corresponding remote controller control interface according to the configuration file of the target household appliance, and a user can remotely control the target household appliance by controlling the remote controller control interface to realize the function of the remote controller of the target household appliance.
In step 305, the network access device obtains a configuration file of the target home device. Step 306 is performed.
In one aspect, as shown in fig. 3 to 4, the process of the network access device acquiring the profile of the target electrical home device may include the following steps:
in sub-step 3051a, the network access device transmits first request information for requesting a profile of the target home device to the server. Substep 3052a is performed.
If the configuration file of the target household appliance is not stored in the network access device, the network access device may generate first request information for requesting the configuration file of the target household appliance, and send the first request information to the server. Optionally, the first request message may include identification information of the target home device.
For example, assuming that the identification information of the target home device, i.e., the home device X5, is obtained in step 302 and it is detected in step 303 that the configuration file of the home device X5 is not stored in the network access device, the network access device may generate a first request message for requesting the configuration file of the home device X5 according to the identification information of the home device X5 and transmit the first request message to the server.
In sub-step 3052a, the server queries whether the server stores the configuration file of the target electric appliance according to the first request information. If the server stores the configuration file of the target household appliance, executing a substep 3053 a; if the server does not store the configuration file of the target household appliance, the substep 3055a is executed.
After receiving the first request information for requesting the configuration file of the target household appliance, the server may query whether the configuration file corresponding to the identification information of the target household appliance is stored in the server according to the identification information of the target household appliance. Generally, when a manufacturer produces a home appliance, the manufacturer uploads a configuration file of the home appliance to a server, so that the server may store a plurality of configuration files of the home appliance, and the configuration file of each home appliance corresponds to identification information of the home appliance.
In sub-step 3053a, the server sends the configuration file of the target home device to the network access device. Substep 3054a is performed.
If the server stores the configuration file of the target household appliance, the server may send the configuration file of the target household appliance stored in the server to the network access device.
In sub-step 3054a, the network access device stores the received configuration file of the target home device.
After receiving the configuration file of the target household appliance sent by the server, the network access device can store the configuration file of the target household appliance, so that when the network access device detects that other terminals accessed to the network access device are connected with the target household appliance and the configuration files of the target household appliance are not stored in the other terminals, the network access device directly sends the configuration files of the target household appliance to the other terminals.
In sub-step 3055a, the server sends first feedback information to the network access device indicating that the server does not have the configuration file of the target appliance stored thereon.
For example, if the server queries, in sub-step 3052a, that the server does not store the configuration file of the target electrical device according to the first request information after receiving the first request information for requesting the configuration file of the target electrical device, the server may generate first feedback information indicating that the server does not store the configuration file of the target electrical device, and send the first feedback information to the network access device.
On the other hand, as shown in fig. 3 to 5, the process of the network access device acquiring the profile of the target home device may include the following steps:
in sub-step 3051b, the network access device sends a learning configuration indication to the terminal.
If the configuration file of the target household appliance is not stored in the network access device, the network access device may generate a learning configuration instruction for instructing to learn the configuration file of the target household appliance, and send the learning configuration instruction for instructing to learn the configuration file of the target household appliance to the terminal.
In sub-step 3052b, the terminal acquires the configuration file of the target home device by learning according to the learning configuration indication.
As shown in fig. 3-6, fig. 3-6 are schematic interface diagrams of a remote control application on a terminal. As can be seen from fig. 3 to 6, the home devices connected or bound to the terminal a are a home device X1, a home device X2, a home device X3, a home device X4, and a home device X5, respectively. Assuming that the target home device is the home device X5, after receiving the learning configuration instruction for instructing to learn the configuration file of the target home device, the terminal a may acquire the configuration file of the home device X5 in a learning manner, thereby obtaining the configuration file of the home device X5.
Fig. 3-7 are schematic structural diagrams of a remote controller of an electric home appliance. Before learning the configuration file of the home appliance X5, the terminal may be connected to the remote controller Y5 of the home appliance X5, and it should be noted that the method for establishing the connection between the terminal and the remote controller Y5 may refer to a method for establishing a connection between the terminal and the remote controller in the prior art, which is not described herein in detail in the embodiments of the present disclosure. Alternatively, the home device X5 may be a tv, and the remote controller Y5 of the home device X5 may be a tv remote controller. As shown in fig. 3-7, the remote controller Y5 is provided with a plurality of buttons, and when the user uses the remote controller Y5 to control the home appliance X5, the user can press a first button on the remote controller Y5 in fig. 3-7 with a finger, the first button being any button on the remote controller Y5, for example, the user can press a "sound" button on the remote controller with a finger. After the user presses the "sound-button" on the remote controller Y5, the remote controller Y5 generates a remote control signal for controlling the home appliance X5 to reduce sound, and transmits the remote control signal for controlling the home appliance X5 to reduce sound to the home appliance X5 and the terminal that establish wireless connection with the remote controller Y5. After the home appliance X5 receives the remote control signal for controlling the home appliance X5 to reduce the volume, the home appliance X5 may reduce the volume according to the remote control signal, thereby controlling the home appliance X5 by the remote controller Y5.
Fig. 3-8 are schematic diagrams of alternative interfaces for a remote control application on a terminal. As shown in fig. 3 to 8, fig. 3 to 8 show a learning interface on the terminal, and the learning interface is a learning interface of the remote controller Y5 for the home appliance X5, and a plurality of buttons may be provided on the learning interface, and the buttons on the learning interface may be the same shape as the buttons on the remote controller Y5. After the user presses the first button on the remote controller Y5 with a finger, the user may touch a button having the same shape as the first button on the learning interface for the home appliance X5 with a finger, for example, after pressing the "sound-" button on the remote controller Y5 with a finger, the user may touch a button having the same shape as the "sound-" button on the learning interface of the remote controller application on the terminal. After the user touches the button having the same shape as the first button, the terminal may generate a trigger signal, and the terminal may store a correspondence between the trigger signal and a control signal transmitted from the remote controller Y5, and use the correspondence between the trigger signal and a control signal transmitted from the remote controller Y5 as a profile of the home appliance X5.
In sub-step 3053b, the terminal sends the configuration file of the target home device to the network access device.
The network access equipment generates the learning configuration instruction after detecting that the configuration file of the target household appliance is not stored in the network access equipment, so that the terminal can send the configuration file of the target household appliance to the network access equipment after acquiring the configuration file of the target household appliance in a learning mode.
In sub-step 3054b, the network access device stores a profile of the target appliance.
After receiving the configuration file of the target household appliance sent by the terminal, the network access device can store the configuration file of the target household appliance, so that when the network access device detects that other terminals accessed to the local area network where the network access device is located are connected with the target household appliance, and the other terminals do not store the configuration file of the target household appliance, the network access device directly sends the configuration file of the target household appliance to the other terminals.
For example, a plurality of network access devices may be installed in a home, where the plurality of network access devices may include a first network access device, and after it is assumed that a first family member uses a terminal a to acquire a configuration file of the target household appliance in a learning manner, the terminal a may send the configuration file of the target household appliance to the first network access device in the home, and the first network access device may store the configuration file of the target household appliance. When the first network access device detects that the terminal B used by the second family member opens the remote controller application, the terminal B establishes connection with the target household appliance, and the terminal B does not store the configuration file of the target household appliance, the first network access device can send the configuration file of the target household appliance, which is acquired by the terminal A in a learning mode, to the terminal B, so that the terminal B does not need to acquire the configuration file of the target household appliance in the learning mode, the speed of acquiring the configuration file of the target household appliance by the terminal B is increased, and the process of acquiring the configuration file of the target household appliance by the terminal B is simplified.
Further, the network access device may further send the configuration file of the target household appliance device sent by the terminal to the server, and the server may store the configuration file of the target household appliance device, so that when it is detected that the terminal accessing the local area network where the other network access device is located is connected to the target household appliance device, and the configuration file of the target household appliance device is not stored in the other network access device and the terminal accessing the local area network where the other network access device is located, the other network access device may directly obtain the configuration file of the target household appliance device from the server and send the configuration file to the terminal accessing the other network access device.
It should be noted that, in the embodiment of the present disclosure, the network access device may obtain the configuration file of the target home appliance device from the server, or may obtain the configuration file of the target home appliance device by instructing the terminal through a learning method. In practical application, when it is detected that the configuration file of the target household appliance is not stored in the network access device, the configuration file of the target household appliance may be preferentially obtained from the server, and if the configuration file of the target household appliance is not stored in the server, that is, when the network access device receives the first feedback information sent by the server and used for indicating that the target household appliance is not stored in the server, the network access device may instruct the terminal to obtain the configuration file of the target household appliance by a learning method.
In step 306, the network access device sends the acquired configuration file of the target home device to the terminal. Step 307 is performed.
After the network access device obtains the configuration file of the target household appliance device, the network access device can send the received configuration file of the target household appliance device to the terminal. Optionally, when the network access device obtains the configuration file of the target electrical home device from the server in step 305, the network access device may send the configuration file of the target electrical home device obtained from the server to the terminal, so that the terminal controls the target electrical home device according to the configuration file of the target electrical home device. When the network access device acquires the configuration file of the target home device by instructing the terminal to learn in step 305, since the configuration file of the target home device on the network access device is the configuration file of the target home device acquired by the terminal through the learning method and then transmitted to the network access device, the network access device does not need to transmit the configuration file of the target home device to the terminal in step 306. Furthermore, the network access device may synchronize the obtained configuration file of the target household appliance device to other network access devices in the same local area network as the network access device.
In the related art, after the terminal establishes a connection with the target household electrical appliance, if it is found that the terminal does not store the configuration file of the target household electrical appliance, the configuration file of the target household electrical appliance is downloaded from the server according to the identification information of the target household electrical appliance, that is, the terminal is required to actively download the configuration file of the target household electrical appliance from the server. In the embodiment of the disclosure, the network access device replaces the terminal to download the configuration file corresponding to the identification information of the target household appliance in the server according to the identification information of the target household appliance. The terminal does not need to actively download the configuration file of the target household appliance device from the server, and the process of acquiring the configuration file by the terminal is simplified.
In step 307, the network access device obtains a configuration file of the remotely controllable home device. Step 308 is performed.
In the embodiment of the present disclosure, as shown in fig. 3 to 9, the process of the network access device acquiring the configuration file of the remotely controllable home device may include the following steps:
in sub-step 3071, the network access device establishes a connection with the remotely controllable appliance. Sub-step 3072 is performed.
When a remotely controllable home appliance needs to establish a connection with a local area network where the network access device is located, the remotely controllable home appliance can directly send a connection request for requesting to establish a connection with the network access device to the network access device.
For example, a plurality of network access devices may be provided in a home, a local area network formed by the network access devices may cover all living areas of the home, and when a remote controllable air conditioner is newly purchased in the home, the remote controllable air conditioner located in the home may send the connection request to one network access device in the home to request to establish a connection with the network access device. After the network access device receives the connection request for requesting to establish connection with the network access device, the network access device can establish connection with the remotely controllable household appliance.
In sub-step 3072, the network access device detects whether a configuration file of the remotely controllable appliance is stored in the network access device. If the network access device does not store the configuration file of the remotely controllable home device, sub-step 3073 is performed. If the network access device stores a configuration file for the remotely controllable appliance, substep 3074 is performed.
When the network access equipment is connected with the remotely controllable household appliance, the identification information of the remotely controllable household appliance can be obtained, and whether the configuration file of the remotely controllable household appliance is stored in the network access equipment or not can be detected according to the identification information of the remotely controllable household appliance. If the network access device detects that the network access device does not store the configuration file of the remotely controllable home device, sub-step 3073 is performed.
In sub-step 3073, the network access device obtains a configuration file for the remotely controllable appliance.
On one hand, after the network access device detects that the configuration file of the remotely controllable home appliance is not stored in the network access device, the network access device may generate second request information for requesting the configuration file of the remotely controllable home appliance, and send the second request information to the server. For example, the second request message may include identification information of the remotely controllable home device. After the server receives the second request information for requesting the configuration file of the remotely controllable home appliance, the server may query whether the configuration file corresponding to the identification information of the remotely controllable home appliance is stored in the server according to the identification information of the remotely controllable home appliance. It should be noted that a plurality of configuration files may be stored in the server, and on one hand, the configuration files stored in the server may be uploaded to the server by a manufacturer when the manufacturer produces the home appliance; on the other hand, the configuration file stored on the server may also be: and the other network access equipment sends the received configuration file of the household appliance equipment to the server after receiving the configuration file of the household appliance equipment acquired by the terminal accessed to the local area network where the other network access equipment is located in a learning mode.
If the server stores the configuration file of the remotely controllable home appliance, the server may send the configuration file of the remotely controllable home appliance stored in the server to the network access device. The network access equipment can store the configuration file of the remotely-controllable household appliance after receiving the configuration file of the remotely-controllable household appliance sent by the server, so that the network access equipment directly sends the configuration file of the remotely-controllable household appliance to other terminals when detecting that the other terminals accessed into the network access equipment are connected with the remotely-controllable household appliance and the configuration files of the remotely-controllable household appliance are not stored in the other terminals.
In the embodiment of the disclosure, after receiving a connection request sent by a remotely controllable home appliance and connecting with the home appliance, a network access device may detect whether a configuration file of the home appliance is stored in the network access device, and when the network access device detects that the configuration file of the home appliance is not stored in the network access device, the network access device may obtain the configuration file of the home appliance from a server, so that the network access device stores the configuration files of all home appliances establishing connection with the network access device as much as possible. When the configuration file of the household electrical appliance connected with the terminal is not stored on the terminal accessed to the network access equipment, if the configuration file of the household electrical appliance connected with the terminal is pre-stored on the network access equipment, the network access equipment can directly send the configuration file of the household electrical appliance connected with the terminal to the terminal accessed to the network access equipment, the terminal does not need to actively download the configuration file of the household electrical appliance on a server, and the terminal does not need to acquire the configuration file of the household electrical appliance through a learning method, so that the speed of acquiring the configuration file of the household electrical appliance by the terminal is increased, and the process of acquiring the configuration file of the household electrical appliance by the terminal is simplified. For example, if the server detects that the server does not store the configuration file of the remote controllable home device according to the second request information after receiving the second request information for requesting the configuration file of the remote controllable home device, the server may generate second feedback information indicating that the server does not store the configuration file of the target home device, and send the second feedback information to the network access device.
On the other hand, if the configuration file of the remotely controllable home appliance is not stored in the network access device, the network access device may generate a learning configuration instruction for instructing to learn the configuration file of the remotely controllable home appliance, and transmit the learning configuration instruction for instructing to learn the configuration file of the remotely controllable home appliance to the terminal. After receiving the learning configuration instruction for instructing to learn the configuration file of the remotely controllable household appliance, the terminal can acquire the configuration file of the remotely controllable household appliance in a learning mode, so that the configuration file of the remotely controllable household appliance is obtained. For example, the specific manner in which the terminal obtains the configuration file of the remotely controllable home appliance in the learning manner according to the learning configuration instruction may be referred to, and the specific manner in which the terminal obtains the configuration file of the target home appliance in the learning manner according to the learning configuration instruction is not described herein again in this embodiment of the disclosure. The network access equipment generates the learning configuration instruction after detecting that the configuration file of the remotely-controllable household appliance is not stored in the network access equipment, so that the terminal can send the configuration file of the remotely-controllable household appliance to the network access equipment after acquiring the configuration file of the remotely-controllable household appliance in a learning mode.
The network access equipment can store the configuration file of the remotely-controllable household appliance equipment after receiving the configuration file of the remotely-controllable household appliance equipment sent by the terminal, so that the network access equipment directly sends the configuration file of the remotely-controllable household appliance equipment to other terminals when detecting that the other terminals accessed to the local area network where the network access equipment is located are connected with the remotely-controllable household appliance equipment and the configuration files of the remotely-controllable household appliance equipment are not stored in the other terminals. Furthermore, the network access device may further send the configuration file of the remotely controllable home appliance device sent by the terminal to the server, and the server may store the configuration file of the remotely controllable home appliance device, so as to facilitate other network access devices connected to the server, when it is detected that the terminal accessing the local area network where the other network access device is located is connected to the remotely controllable home appliance device, and the configuration file of the remotely controllable home appliance device is not stored in the other network access devices and the terminal accessing the local area network where the other network access device is located, the other network access devices may directly obtain the configuration file of the remotely controllable home appliance device from the server and send the configuration file to the terminals accessing the other network access devices.
It should be noted that, in the embodiment of the present disclosure, the network access device may obtain the configuration file of the remote-controllable home appliance device from the server, or may obtain the configuration file of the remote-controllable home appliance device by using the instruction terminal through a learning method. In practical application, when it is detected that the configuration file of the remotely controllable home appliance is not stored in the network access device, the configuration file of the remotely controllable home appliance may be preferentially acquired from the server, and if the configuration file of the remotely controllable home appliance is not stored in the server, that is, when the network access device receives the first feedback information sent by the server and used for indicating that the server does not store the remotely controllable home appliance, the network access device may instruct the terminal to acquire the configuration file of the remotely controllable home appliance by using a learning method.
In sub-step 3074, the network access device performs no action.
If the network access equipment stores the configuration file of the remote-controllable household appliance equipment, the network access equipment does not execute the action.
In step 308, the network access device performs an update of the configuration file.
In the embodiment of the present disclosure, as shown in fig. 3 to 10, the process of the network access device performing the update of the configuration file may include the following steps:
in sub-step 3081, the network access device obtains identification information of the home device in which the configuration file is stored in the network access device. Sub-step 3082 is performed.
The network access device may store a configuration file of the home appliance device, and therefore, the network access device may directly obtain the identification information of the home appliance device in which the configuration file is stored.
In sub-step 3082, the network access device checks whether an updated configuration file corresponding to the identification information exists in the server according to the identification information of the home device in which the configuration file is stored in the network access device. If there is an updated configuration file corresponding to the identification information in the server, performing substep 3083; if there is no updated configuration file corresponding to the identification information in the server, sub-step 3084 is performed.
For example, the network access device may generate an update request for querying whether an updated configuration file corresponding to the identification information exists according to the identification information of the home device in the network access device, where the configuration file is stored. The server can inquire whether an updated configuration file corresponding to the identification information exists in the server or not according to the update request after receiving the update request, if the updated configuration file corresponding to the identification information exists in the server, the server can generate a first update response for indicating that the updated configuration file corresponding to the identification information exists in the server, and correspondingly send the first update to the network access equipment; if the updated configuration file corresponding to the identification information does not exist in the server, the server may generate a second update response indicating that the updated configuration file corresponding to the identification information does not exist in the server, and correspondingly send the second update to the network access device. If the network access device receives the first update response, it may be determined that an updated configuration file corresponding to the identification information exists on the server; if the network access device receives the second update response, it may be determined that the updated configuration file corresponding to the identification information does not exist on the server.
In sub-step 3083, the network access device obtains an updated configuration file corresponding to the identification information from the server.
Optionally, after determining that the updated configuration file corresponding to the identification information exists on the server, the network access device may obtain the updated configuration file corresponding to the identification information from the server. It should be noted that, a specific method for the network access device to obtain the updated configuration file corresponding to the identification information from the server may refer to a specific method for the network access device to obtain the configuration file from the server in the related art, which is not described herein again in this embodiment of the disclosure.
Optionally, the network access device may further detect whether the updated configuration file is related to a configuration file stored in a terminal of a local area network to which the network access device is accessed, for example, the network access device may determine whether the updated configuration file is related to a configuration file stored in a terminal of a local area network to which the network access device is accessed by detecting whether identification information of a home appliance device corresponding to the updated configuration file is the same as identification information of a home appliance device corresponding to a configuration file stored in a terminal of a local area network to which the network access device is accessed. If the updated configuration file is related to the configuration file stored in the terminal accessing the local area network where the network access equipment is located, an update notification is sent to the terminal, and the terminal can update the configuration file stored in the terminal after receiving the update notification. It should be noted that, after receiving the update notification, the terminal may also choose not to update the configuration file stored in the terminal, which is not limited in the embodiment of the present disclosure.
In sub-step 3084, the network access device does not perform an action.
If the network access device determines that the updated configuration file corresponding to the identification information does not exist on the server in sub-step 3082, the network access device does not perform an action.
The sequence of the steps of the method for acquiring a configuration file provided in this embodiment may be appropriately adjusted, and the steps may be increased or decreased according to the circumstances, and any method that can be easily conceived by those skilled in the art within the technical scope of the present disclosure is covered by the protection scope of the present disclosure, and therefore, the details are not described herein again.
To sum up, in the configuration file obtaining method provided in the embodiment of the present disclosure, after detecting that a terminal of a local area network where a network access device is located starts a remote controller application, the network access device detects whether a configuration file of a target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, sends the configuration file of the target household appliance device to the terminal. After the terminal starts the remote controller application, the network access equipment can send the configuration file of the target household appliance equipment to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance equipment, the problem that the process of acquiring the configuration file of the household appliance equipment by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance equipment by the terminal is achieved.
Fig. 4-1 is a block diagram illustrating a configuration of a profile acquiring apparatus 50 according to an exemplary embodiment, and as shown in fig. 4-1, the profile acquiring apparatus 50 may include:
a first detection module 501, configured to detect whether a terminal accessing a local area network in which the network access device is located starts a remote controller application.
The first obtaining module 502 is configured to obtain the identification information of the target home device when detecting that the terminal opens the remote control application.
The second detecting module 503 is configured to detect whether the configuration file of the target home device is stored in the network access device according to the identification information of the target home device.
The first sending module 504 is configured to send the configuration file of the target household appliance to the terminal when the configuration file of the target household appliance is stored in the network access device.
To sum up, in the configuration file obtaining apparatus provided in the embodiment of the present disclosure, after the first detection module detects that the terminal of the local area network where the network access device is located starts the remote controller application, the second detection module detects whether the configuration file of the target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, the first sending module sends the configuration file of the target household appliance device to the terminal. After the remote controller application is started, the configuration file acquisition device can send the configuration file of the target household appliance to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance, the problem that the process of acquiring the configuration file of the household appliance by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance by the terminal is achieved.
Fig. 4-2 is a block diagram illustrating a structure of another configuration file acquiring apparatus 50 according to an exemplary embodiment, and as shown in fig. 4-2, the configuration file acquiring apparatus 50 may include:
a first detection module 501, configured to detect whether a terminal accessing a local area network in which the network access device is located starts a remote controller application.
The first obtaining module 502 is configured to obtain the identification information of the target home device when detecting that the terminal opens the remote control application.
The second detecting module 503 is configured to detect whether the configuration file of the target home device is stored in the network access device according to the identification information of the target home device.
The first sending module 504 is configured to send the configuration file of the target household appliance to the terminal when the configuration file of the target household appliance is stored in the network access device.
The second sending module 505 is configured to send, to the server, first request information for requesting the profile of the target home device when the profile of the target home device is not stored in the network access device.
A first receiving module 506, configured to receive the configuration file of the target home device sent by the server.
A third sending module 507 configured to send the configuration file of the target home device to the terminal.
To sum up, in the configuration file obtaining apparatus provided in the embodiment of the present disclosure, after the first detection module detects that the terminal of the local area network where the network access device is located starts the remote controller application, the second detection module detects whether the configuration file of the target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, the first sending module sends the configuration file of the target household appliance device to the terminal. After the remote controller application is started, the configuration file acquisition device can send the configuration file of the target household appliance to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance, the problem that the process of acquiring the configuration file of the household appliance by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance by the terminal is achieved.
Fig. 4-3 is a block diagram illustrating a structure of still another configuration file acquiring apparatus 50 according to an exemplary embodiment, and as shown in fig. 4-3, the configuration file acquiring apparatus 50 may include:
a first detection module 501, configured to detect whether a terminal accessing a local area network in which the network access device is located starts a remote controller application.
The first obtaining module 502 is configured to obtain the identification information of the target home device when detecting that the terminal opens the remote control application.
The second detecting module 503 is configured to detect whether the configuration file of the target home device is stored in the network access device according to the identification information of the target home device.
The first sending module 504 is configured to send the configuration file of the target household appliance to the terminal when the configuration file of the target household appliance is stored in the network access device.
The second sending module 505 is configured to send, to the server, first request information for requesting the profile of the target home device when the profile of the target home device is not stored in the network access device.
A first receiving module 506, configured to receive the configuration file of the target home device sent by the server.
A third sending module 507 configured to send the configuration file of the target home device to the terminal.
A fourth sending module 508, configured to send a learning configuration instruction to the terminal if the configuration file of the target household appliance is not stored in the network access device, where the terminal is configured to obtain the configuration file of the target household appliance in a learning manner according to the learning configuration instruction.
A second receiving module 509 configured to receive the configuration file of the target home device sent by the terminal.
A first storage module 510 configured to store a configuration file of a target home device.
To sum up, in the configuration file obtaining apparatus provided in the embodiment of the present disclosure, after the first detection module detects that the terminal of the local area network where the network access device is located starts the remote controller application, the second detection module detects whether the configuration file of the target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, the first sending module sends the configuration file of the target household appliance device to the terminal. After the remote controller application is started, the configuration file acquisition device can send the configuration file of the target household appliance to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance, the problem that the process of acquiring the configuration file of the household appliance by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance by the terminal is achieved.
Fig. 4-4 are block diagrams illustrating structures of still another configuration file acquiring apparatus 50 according to an exemplary embodiment, and as shown in fig. 4-4, the configuration file acquiring apparatus 50 may include:
a first detection module 501, configured to detect whether a terminal accessing a local area network in which the network access device is located starts a remote controller application.
The first obtaining module 502 is configured to obtain the identification information of the target home device when detecting that the terminal opens the remote control application.
The second detecting module 503 is configured to detect whether the configuration file of the target home device is stored in the network access device according to the identification information of the target home device.
The first sending module 504 is configured to send the configuration file of the target household appliance to the terminal when the configuration file of the target household appliance is stored in the network access device.
The second sending module 505 is configured to send, to the server, first request information for requesting the profile of the target home device when the profile of the target home device is not stored in the network access device.
A first receiving module 506, configured to receive the configuration file of the target home device sent by the server.
A third sending module 507 configured to send the configuration file of the target home device to the terminal.
A fourth sending module 508, configured to send a learning configuration instruction to the terminal when the configuration file of the target household appliance is not stored in the network access device, where the terminal is configured to obtain the configuration file of the target household appliance in a learning manner according to the learning configuration instruction.
A second receiving module 509 configured to receive the configuration file of the target home device sent by the terminal.
A first storage module 510 configured to store a configuration file of a target home device.
A second obtaining module 511 configured to obtain identification information of the remotely controllable home device through a connection established with the remotely controllable home device.
The third detecting module 512 is configured to detect whether the configuration file of the remote controllable home device is stored in the network access device according to the identification information of the remote controllable home device.
A fifth sending module 513, configured to send, to the server, second request information for requesting the configuration file of the remotely controllable home device when the configuration file of the remotely controllable home device is not stored in the network access device, where the server is configured to query the configuration file stored in the server according to the second request information.
And a third receiving module 514 configured to receive the configuration file of the remotely controllable home device sent by the server.
A second storage module 515 configured to store a configuration file of the remotely controllable home device.
To sum up, in the configuration file obtaining apparatus provided in the embodiment of the present disclosure, after the first detection module detects that the terminal of the local area network where the network access device is located starts the remote controller application, the second detection module detects whether the configuration file of the target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, the first sending module sends the configuration file of the target household appliance device to the terminal. After the remote controller application is started, the configuration file acquisition device can send the configuration file of the target household appliance to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance, the problem that the process of acquiring the configuration file of the household appliance by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance by the terminal is achieved.
Fig. 4 to 5 are block diagrams showing structures of a profile acquiring apparatus according to another exemplary embodiment, and as shown in fig. 4 to 5, the profile acquiring apparatus 50 may include:
a first detection module 501, configured to detect whether a terminal accessing a local area network in which the network access device is located starts a remote controller application.
The first obtaining module 502 is configured to obtain the identification information of the target home device when detecting that the terminal opens the remote control application.
The second detecting module 503 is configured to detect whether the configuration file of the target home device is stored in the network access device according to the identification information of the target home device.
The first sending module 504 is configured to send the configuration file of the target household appliance to the terminal when the configuration file of the target household appliance is stored in the network access device.
The second sending module 505 is configured to send, to the server, first request information for requesting the profile of the target home device when the profile of the target home device is not stored in the network access device.
A first receiving module 506, configured to receive the configuration file of the target home device sent by the server.
A third sending module 507 configured to send the configuration file of the target home device to the terminal.
A fourth sending module 508, configured to send a learning configuration instruction to the terminal if the configuration file of the target household appliance is not stored in the network access device, where the terminal is configured to obtain the configuration file of the target household appliance in a learning manner according to the learning configuration instruction.
A second receiving module 509 configured to receive the configuration file of the target home device sent by the terminal.
A first storage module 510 configured to store a configuration file of a target home device.
A second obtaining module 511 configured to obtain identification information of the remotely controllable home device through a connection established with the remotely controllable home device.
The third detecting module 512 is configured to detect whether the configuration file of the remote controllable home device is stored in the network access device according to the identification information of the remote controllable home device.
A fifth sending module 513, configured to send, to the server, second request information for requesting the configuration file of the remotely controllable home device when the configuration file of the remotely controllable home device is not stored in the network access device, where the server is configured to query the configuration file stored in the server according to the second request information.
And a third receiving module 514 configured to receive the configuration file of the remotely controllable home device sent by the server.
A second storage module 515 configured to store a configuration file of the remotely controllable home device.
A third obtaining module 516, configured to obtain the identification information of the remote controllable home device through the connection established with the remote controllable home device.
The fourth detecting module 517 is configured to detect whether a configuration file of the remote controllable home device is stored in the network access device according to the identification information of the remote controllable home device.
A sixth sending module 518, configured to send a learning configuration instruction to the terminal when the configuration file of the remotely controllable home appliance is not stored in the network access device, where the terminal is configured to obtain the configuration file of the remotely controllable home appliance in a learning manner according to the learning configuration instruction.
And a fourth receiving module 519 configured to receive the configuration file of the remotely controllable home appliance sent by the terminal.
A third storage module 520 configured to store a configuration file of the remotely controllable home device.
To sum up, in the configuration file obtaining apparatus provided in the embodiment of the present disclosure, after the first detection module detects that the terminal of the local area network where the network access device is located starts the remote controller application, the second detection module detects whether the configuration file of the target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, the first sending module sends the configuration file of the target household appliance device to the terminal. After the remote controller application is started, the configuration file acquisition device can send the configuration file of the target household appliance to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance, the problem that the process of acquiring the configuration file of the household appliance by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance by the terminal is achieved.
Optionally, the first obtaining module 502 may be configured to: and sending a configuration file query request to a terminal, wherein the terminal is used for sending a configuration file list to the network access equipment according to the configuration file query request, and the configuration file list records identification information of the household appliance equipment which is connected or bound with the terminal and a configuration file stored in the terminal. And receiving the configuration file list sent by the terminal. And selecting the household appliances which are not stored with the configuration files in the terminal as target household appliances from the household appliances which are connected or bound with the terminal.
To sum up, in the configuration file obtaining apparatus provided in the embodiment of the present disclosure, after the first detection module detects that the terminal of the local area network where the network access device is located starts the remote controller application, the second detection module detects whether the configuration file of the target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, the first sending module sends the configuration file of the target household appliance device to the terminal. After the remote controller application is started, the configuration file acquisition device can send the configuration file of the target household appliance to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance, the problem that the process of acquiring the configuration file of the household appliance by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance by the terminal is achieved.
Fig. 4 to 6 are block diagrams showing structures of another configuration file acquiring apparatus according to another exemplary embodiment, and as shown in fig. 4 to 6, the configuration file acquiring apparatus 50 may include:
a first detection module 501, configured to detect whether a terminal accessing a local area network in which the network access device is located starts a remote controller application.
The first obtaining module 502 is configured to obtain the identification information of the target home device when detecting that the terminal opens the remote control application.
The second detecting module 503 is configured to detect whether the configuration file of the target home device is stored in the network access device according to the identification information of the target home device.
The first sending module 504 is configured to send the configuration file of the target household appliance to the terminal when the configuration file of the target household appliance is stored in the network access device.
The second sending module 505 is configured to send, to the server, first request information for requesting the profile of the target home device when the profile of the target home device is not stored in the network access device.
A first receiving module 506, configured to receive the configuration file of the target home device sent by the server.
A third sending module 507 configured to send the configuration file of the target home device to the terminal.
A fourth sending module 508, configured to send a learning configuration instruction to the terminal when the configuration file of the target household appliance is not stored in the network access device, where the terminal is configured to obtain the configuration file of the target household appliance in a learning manner according to the learning configuration instruction.
A second receiving module 509 configured to receive the configuration file of the target home device sent by the terminal.
A first storage module 510 configured to store a configuration file of a target home device.
A second obtaining module 511 configured to obtain identification information of the remotely controllable home device through a connection established with the remotely controllable home device.
The third detecting module 512 is configured to detect whether the configuration file of the remote controllable home device is stored in the network access device according to the identification information of the remote controllable home device.
A fifth sending module 513, configured to send, to the server, second request information for requesting the configuration file of the remotely controllable home device when the configuration file of the remotely controllable home device is not stored in the network access device, where the server is configured to query the configuration file stored in the server according to the second request information.
And a third receiving module 514 configured to receive the configuration file of the remotely controllable home device sent by the server.
A second storage module 515 configured to store a configuration file of the remotely controllable home device.
A third obtaining module 516, configured to obtain the identification information of the remote controllable home device through the connection established with the remote controllable home device.
The fourth detecting module 517 is configured to detect whether a configuration file of the remote controllable home device is stored in the network access device according to the identification information of the remote controllable home device.
A sixth sending module 518, configured to send a learning configuration instruction to the terminal when the configuration file of the remotely controllable home appliance is not stored in the network access device, where the terminal is configured to obtain the configuration file of the remotely controllable home appliance in a learning manner according to the learning configuration instruction.
And a fourth receiving module 519 configured to receive the configuration file of the remotely controllable home appliance sent by the terminal.
A third storage module 520 configured to store a configuration file of the remotely controllable home device.
A fourth obtaining module 521, configured to obtain the identification information of the home device in the network access device, where the configuration file is stored.
A checking module 522 configured to check whether an updated configuration file corresponding to the identification information exists in the server according to the identification information.
A fifth obtaining module 523, configured to obtain the updated configuration file when the updated configuration file exists in the server.
To sum up, in the configuration file obtaining apparatus provided in the embodiment of the present disclosure, after the first detection module detects that the terminal of the local area network where the network access device is located starts the remote controller application, the second detection module detects whether the configuration file of the target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, the first sending module sends the configuration file of the target household appliance device to the terminal. After the remote controller application is started, the configuration file acquisition device can send the configuration file of the target household appliance to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance, the problem that the process of acquiring the configuration file of the household appliance by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance by the terminal is achieved.
Optionally, the first detection module 501 may be configured to: and intercepting the message sent by the terminal to the server. It is detected whether the message relates to a remote control application. And if the message is related to the remote controller application, determining that the terminal opens the remote controller application.
Or, sending a query message to the terminal. And receiving a response message sent by the terminal, wherein the response message is determined according to whether the remote controller application is started or not after the terminal receives the query message. And determining that the terminal starts the remote controller application according to the response message.
Or receiving a notification message sent by the terminal that the remote controller application is started. And determining that the terminal starts the remote controller application according to the notification message.
To sum up, in the configuration file obtaining apparatus provided in the embodiment of the present disclosure, after the first detection module detects that the terminal of the local area network where the network access device is located starts the remote controller application, the second detection module detects whether the configuration file of the target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, the first sending module sends the configuration file of the target household appliance device to the terminal. After the remote controller application is started, the configuration file acquisition device can send the configuration file of the target household appliance to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance, the problem that the process of acquiring the configuration file of the household appliance by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance by the terminal is achieved.
Fig. 5 is a block diagram illustrating a configuration of a profile capture system according to an exemplary embodiment, and as shown in fig. 5, the profile capture system 60 may include: a network access device 601 and a terminal 602.
The network access device 601 may include the profile acquisition apparatus 50 shown in fig. 4-1, 4-2, 4-3, 4-4, 4-5, or 4-6.
To sum up, in the configuration file acquiring system provided in the embodiment of the present disclosure, after detecting that a terminal of a local area network where a network access device is located starts a remote controller application, the network access device detects whether a configuration file of a target household appliance device is stored in the network access device, and if the configuration file of the target household appliance device is stored in the network access device, the network access device sends the configuration file of the target household appliance device to the terminal. After the remote controller application is started, the configuration file acquisition device can send the configuration file of the target household appliance to the terminal, the terminal does not need to actively acquire the configuration file of the household appliance, the problem that the process of acquiring the configuration file of the household appliance by the terminal is complex is solved, and the beneficial effect of simplifying the process of acquiring the configuration file of the household appliance by the terminal is achieved.
Fig. 6 is a schematic structural diagram of a configuration file acquiring apparatus according to an embodiment of the present disclosure. For example, the profile acquisition apparatus 700 may be provided as a router. Referring to fig. 6, the profile acquisition apparatus 700 includes a processing component 722 that further includes one or more processors and memory resources, represented by memory 732, for storing instructions, such as applications, that are executable by the processing component 722. The application programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. Further, the processing component 722 is configured to execute instructions to perform the above-described profile acquisition method.
The profile capture device 700 can also include a power component 726 configured to perform power management of the profile capture device 700, a wired or wireless network interface 750 configured to connect the profile capture device 700 to a network, and an input/output (I/O) interface 758. The configuration file acquisition device 700 may operate based on an operating system, such as Windows Server, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM, or the like, stored in memory 732.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.