Equipment configuration method, equipment and system
By configuring the device to automatically send setting information to the smart device, the problem of high difficulty and low efficiency of smart device configuration in complex spaces is solved, and efficient and low-cost smart device configuration is achieved.
Patent Information
- Application Number
- CN202310969835.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-01
- Publication Date
- 2025-02-14
AI Technical Summary
When configuring multiple smart devices in complex spaces, the process is difficult, inefficient and error-prone, especially when the device installation location is high or the device label is inconsistent with the actual location.
Provide a method of configuring equipment, by configuring equipment to establish a short-distance communication connection with the intelligent device, automatically sending setting information to the intelligent device, reducing user operation difficulty and improving configuration efficiency. The equipment is equipped with a operating lever, which can facilitate operation when the equipment is installed at a high level, avoid installing scaffolding and reduce costs.
Users only need to operate and configure the equipment around the house to complete the configuration of all smart devices, reducing the difficulty of user operation, improving configuration efficiency, reducing the possibility of configuration errors, and reducing costs.
Smart Images

Figure CN119450491A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of terminal technology, and in particular, to a method, device and system for configuring a device. Background Art
[0002] With the development of artificial intelligence technology, space intelligence has become an industry trend. For example, there are a large number of smart devices in homes, offices, schools and other spaces to meet the various needs of users. Among them, smart devices need to be configured before use, such as configuring basic information of smart devices, media access control (MAC) addresses, etc.
[0003] However, due to the complexity of the space and the large number of smart devices that need to be configured in the space, the device configuration process is difficult, inefficient, and prone to errors. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides a method, device and system for configuring a device. The technical solution provided by the present application effectively reduces the difficulty of configuring a device and improves the configuration efficiency by writing the information required to be set to the smart device through the configuration device.
[0005] In order to achieve the above technical objectives, this application provides the following technical solutions:
[0006] In a first aspect, a device configuration method is provided, which is applied to a first device, wherein the first device includes an operating rod, and the operating length of the operating rod is greater than a first threshold. The method includes: the first device acquires first setting information. The first device establishes a short-distance communication connection with a second device. The first device automatically sends the first setting information to the second device.
[0007] The first device is, for example, a configuration device, and the second device is, for example, a smart device to be configured.
[0008] In this way, the user can complete the configuration of all the devices to be configured by operating the first device to go around the house. In this process, the user does not need to determine the address information of each device to be configured one by one, which reduces the user's operation difficulty and improves the configuration efficiency of the devices to be configured.
[0009] Furthermore, through the first device, when the second device is installed at a higher position, the user can also write the setting information into the second device through simple operations with the help of the operating rod, thereby avoiding the installation of scaffolding, reducing costs and improving configuration efficiency.
[0010] In addition, the user only needs to confirm that the setting information of the second device is correct, and the second device can automatically save the acquired setting information and the locally saved address information in correspondence, thereby realizing the subsequent control of the second device. Then, during the configuration process, there is no need to require that the actual installation position of the second device is consistent with the position indicated by the device label, which improves the fault tolerance rate during the device label configuration process.
[0011] In some examples, after acquiring the first setting information, the first device establishes a short-range communication connection with the second device in response to a user moving the first device close to the second device. After the short-range communication connection is established, the first device automatically sends the first setting information to the second device.
[0012] In some other examples, the first device establishes a short-range communication connection with the second device in response to the user placing the first device close to the second device. Afterwards, the first device automatically sends the first setting information to the second device after acquiring the first setting information.
[0013] According to the first aspect, the operating rod is a telescopic operating rod or a non-telescopic operating rod, the telescopic operating rod has a length greater than a first threshold after being stretched, and the non-telescopic operating rod has a length greater than the first threshold.
[0014] In this way, flexible operation of the first device is achieved.
[0015] According to the first aspect, or any implementation of the first aspect above, obtaining the first setting information includes: receiving the first setting information sent by a third device connected to the first device. Or, in response to an operation of the user on a display screen of the first device, receiving the first setting information input by the user.
[0016] In this way, if a display screen is installed on the first device, the user can directly complete the entry of setting information through the display screen. In addition, if a display screen is not installed on the first device, the user can also complete the entry of setting information by operating another portable device (i.e., the third device), and the portable device can automatically send the acquired setting information to the first device connected thereto.
[0017] According to the first aspect, or any implementation of the first aspect above, the operation includes a selection operation among multiple setting information displayed on a display screen of the first device, or an operation of inputting first setting information.
[0018] In this way, flexible entry of the first setting information is achieved.
[0019] According to the first aspect, or any implementation of the first aspect above, the first device further includes a communication module, and the communication module is used to write the first setting information to the second device.
[0020] In some examples, the communication module includes a read / write antenna.
[0021] According to the first aspect, or any implementation of the first aspect above, the configuration device also stores second setting information, the first setting information is ranked as the i-th position, and the second setting information is ranked as the j-th position. Establishing a short-distance communication connection with the second device and automatically sending the first setting information to the second device includes: in response to establishing a short-distance communication connection with the second device, determining that this is the i-th time to establish a short-distance communication connection, and automatically sending the first setting information to the second device. The method also includes: determining that the communication distance with the second device is exceeded, and disconnecting the short-distance communication connection with the second device. In response to establishing a short-distance communication connection with a third device, determining that this is the j-th time to establish a short-distance communication connection, and automatically sending the second setting information to the third device. Wherein, i and j are positive integers, and j is greater than i.
[0022] There are multiple setting information stored in the configuration device, and the setting information sent by the configuration device to the smart device each time is one of the setting information. For example, the first setting information sent by the first device to the second device is the setting information ranked at the i-th position among the multiple setting information, and the second setting information sent by the first device to the third device is the setting information ranked at the j-th position among the multiple setting information.
[0023] In this way, the first device can obtain multiple configuration information sorted in the configuration order. After the user instructs the first device to establish a short-range communication connection with the device to be configured in sequence according to the configuration order, the first device can automatically send setting information to the corresponding device according to the order of establishing the short-range communication connection and the sorting of the multiple configuration information, thereby automatically completing the configuration of the device.
[0024] In addition, the first device automatically establishes or disconnects a short-distance communication connection with the corresponding second device according to the distance between the first device and the second device, thereby completing the automatic configuration of the second device and effectively simplifying user operations.
[0025] According to the first aspect, or any implementation of the first aspect above, the first setting information includes one or more of the location information, space, device name, loop where the device is located, and device type of the second device.
[0026] In a second aspect, a device configuration method is provided, which is applied to a second device. The method includes: the second device establishes a short-distance communication connection with the first device. The second device receives first setting information sent by the first device through the short-distance communication connection. The second device saves device information of the second device, and the device information includes the first setting information and address information of the second device.
[0027] In some embodiments, during the configuration of the second device, the setting information and address information of the second device need to be configured so that the subsequent user can accurately control the corresponding second device when he needs to operate the second device. Then, after obtaining the setting information, the second device can generate and save device information, which includes the obtained setting information and the address information that has been saved locally. Optionally, the second device can establish a correspondence between the setting information and the address information. For example, the second device saves the setting information and the address information in correspondence, such as saving them to the same storage location. Among them, the device information can also include setting information such as the device name and device type of the second device.
[0028] According to the second aspect, the second device includes a proximal communication chip and a main control chip; the proximal communication chip is used to receive the first setting information, and the main control chip is used to control and save the device information.
[0029] In this way, separating the proximal communication chip from the main control chip can make the second device more suitable for various usage scenarios. For example, in some light strips, the user-visible part is not equipped with a main control chip, and the main control chip is uniformly placed in the control end of the light strip (such as electronic drive, etc.). If the control end is in a closed ceiling, it is difficult for users to access the main control chip without damaging the decoration of the room. Therefore, by configuring the proximal communication chip in a part of the second device that is easy for users to approach, the configuration difficulty of the user is reduced.
[0030] According to the second aspect, or any implementation of the second aspect above, the method further includes: the main control chip sends status information of the second device to the proximal communication chip, and the status information includes the networking status and access information of the second device.
[0031] In this way, through the interaction between the proximal communication chip of the second device and the main control chip, some basic maintenance information of the smart device (such as networking status and access information) can be saved in the proximal communication chip. In this way, in the subsequent device maintenance process, even if the second device is not online, the maintenance of the smart device can be completed through the proximal communication chip.
[0032] According to the second aspect, or any implementation of the second aspect above, the method further includes: sending device information to a central device, where the central device is used to manage one or more second devices.
[0033] According to the second aspect, or any implementation of the second aspect above, the first setting information includes one or more of the location information, space, device name, loop where the device is located, and device type of the second device.
[0034] According to the second aspect, or any implementation of the second aspect, the address information includes at least one of a serial number SN or a media access control MAC address of the second device.
[0035] In a third aspect, a first device is provided, comprising: a processor and a memory, wherein the memory is used to store program codes, and the processor runs the program codes, so that the first device executes the method in the first aspect or any one of the implementations of the first aspect.
[0036] The technical effects corresponding to the third aspect and any one of the implementation methods of the third aspect can be found in the technical effects corresponding to the above-mentioned first aspect and any one of the implementation methods of the first aspect, and will not be repeated here.
[0037] In a fourth aspect, a second device is provided, comprising: a processor and a memory, wherein the memory is used to store program codes, and the processor runs the program codes, so that the second device executes the method of the second aspect or any one of the implementations of the second aspect.
[0038] The technical effects corresponding to the fourth aspect and any one of the implementation methods of the fourth aspect can be found in the technical effects corresponding to the above-mentioned second aspect and any one of the implementation methods of the second aspect, and will not be repeated here.
[0039] In a fifth aspect, a configuration device system is provided, the system comprising the first device provided in the third aspect and the second device provided in the fourth aspect.
[0040] In a sixth aspect, a device is provided, the device having the function of implementing the method for configuring a device as described in the first aspect and any possible implementation thereof; or the device having the function of implementing the method for configuring a device as described in the second aspect and any possible implementation thereof. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0041] In a seventh aspect, a readable storage medium is provided. The readable storage medium includes a program that, when executed on a device, causes the device to execute the method in the first aspect or any one of the implementations of the first aspect; or causes the device to execute the method in the first aspect or any one of the implementations of the first aspect.
[0042] In an eighth aspect, a program product is provided. When the program product runs on a device, the device executes the method of the first aspect or any one of the implementation methods of the first aspect; or, the device executes the method of the second aspect or any one of the implementation methods of the second aspect.
[0043] In a ninth aspect, a circuit system is provided, the circuit system comprising a processing circuit, the processing circuit being configured to execute the method of the first aspect or any one of the embodiments of the first aspect; or, at least one processor executing the method of the second aspect or any one of the embodiments of the second aspect.
[0044] In the tenth aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor, and when the at least one processor executes the instructions, the at least one processor executes the method of the first aspect or any one of the embodiments of the first aspect; or, the at least one processor executes the method of the second aspect or any one of the embodiments of the second aspect.
[0045] The technical effects of the aforementioned aspects can be referenced to each other and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic diagram of a home space scene provided in an embodiment of the present application;
[0047] Figure 2 A schematic diagram of a communication system to which the configuration device method provided in an embodiment of the present application is applied;
[0048] Figure 3 A schematic diagram of the hardware structure of the configuration device provided in the embodiment of the present application;
[0049] Figure 4 Schematic diagram of the device configuration method provided in the embodiment of the present application Figure 1 ;
[0050] Figure 5 Interface diagram provided for the embodiment of the present application Figure 1 ;
[0051] Figure 6 Schematic diagram of the configuration device scenario provided in the embodiment of the present application Figure 1 ;
[0052] Figure 7 Schematic diagram of the configuration device scenario provided in the embodiment of the present application Figure 2 ;
[0053] Figure 8 Interface diagram provided for the embodiment of the present application Figure 2 ;
[0054] Fig. 9 Schematic diagram of the configuration device scenario provided in the embodiment of the present application Figure 3 ;
[0055] Fig.10 A schematic diagram of the structure of a first device provided in an embodiment of the present application;
[0056] Fig.11 A schematic diagram of the structure of the second device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] The technical solutions in the embodiments of the present application are described below in conjunction with the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two).
[0058] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0059] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0060] In some scenarios, the construction process of smart devices generally includes the following steps: drawing design, cable deployment, drilling, smart device installation, configuration and commissioning of smart devices. Among them, during the installation of smart devices, the staff needs to determine the serial number (SN) or MAC address of the device, and record this information by manually configuring the record label. Later, during the configuration of smart devices, the technicians need to determine the setting information of the smart device, such as the location (such as point information), space, device name, device circuit, device type, etc., and obtain the SN / MAC address of the smart device to establish a corresponding relationship between the setting information and the SN / MAC address, so that the smart device can be controlled later. For example, create a scene including multiple smart devices to achieve unified control of multiple devices.
[0061] For example, the MAC address of smart device 1 is MAC 1, and the MAC address of smart device 2 is MAC 2. When creating scene A, the technician determines that smart device 1 and smart device 2 need to be added to scene A. Then, the technician needs to obtain the MAC address of smart device 1 and the MAC address of smart device 2, and associate MAC 1 and MAC 2 with the current scene A. In this way, in the subsequent triggering process of scene A, the smart device 1 corresponding to MAC 1 and the smart device 2 corresponding to MAC2 can be uniformly triggered and controlled.
[0062] In some examples, during the process of configuring a smart device, a technician needs to determine the actual location of the smart device to be configured in order to correctly establish the correspondence between the setting information and the SN / MAC address.
[0063] There are a large number of smart devices in homes, offices, schools and other spaces to meet the various needs of users. Figure 1 In the home space scenario shown, a large number of smart devices can be installed in the home space, and the functions and installation locations of these smart devices are different. Then, in the process of configuring the equipment, for some smart devices such as lighting equipment that can generate clear responses, technicians can turn on / off smart devices one by one to determine the actual location of the smart devices to be configured in order to configure the relevant parameters. However, for some smart devices such as smoke / water immersion / infrared / millimeter wave sensors, it is difficult to generate clear responses during the configuration process, and technicians cannot determine the actual location of the smart devices, which seriously restricts the configuration work of technicians.
[0064] Moreover, in the above process, the technicians need to determine the actual locations of the smart devices one by one, and then configure the smart devices one by one, which results in low configuration efficiency.
[0065] In addition, during the configuration process, the technician needs to ensure that the actual location of the smart device is consistent with the location recorded on the device label. If they are inconsistent, the correct smart device cannot be controlled. Then, the technician needs to actually check the information recorded on the record label manually configured by the staff to confirm whether the record label is wrong. In this process, due to the complexity of the space, the cost of error correction is high.
[0066] For example, hidden devices such as the electronic driver of lighting equipment have been installed in the ceiling and cannot be taken out to view information such as SN / MAC address. In this case, technicians need to open the existing ceiling and other structures, which may damage the decoration of the room. For another example, if the smart device is installed at a high position, technicians need to install scaffolding to confirm the information recorded on the record label manually configured by the staff, which is costly and inefficient.
[0067] Therefore, the embodiment of the present application provides a method for configuring a device, by which the information to be set is written to the smart device through the configuration device, without the need to separately confirm the SN / MAC address of the smart device, thereby effectively reducing the difficulty of configuring the device and improving the configuration efficiency.
[0068] Figure 2 A schematic diagram of a communication system to which the configuration device method provided in the embodiment of the present application is applied. Figure 2 As shown, the communication system includes a configuration device 100 and a smart device 200 .
[0069] Optionally, the smart device 200 may be, for example, a smart home device, a smart screen, a wearable device, a mobile phone, a tablet computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), an artificial intelligence (AI) device, etc. The operating system installed in the smart device 200 includes but is not limited to Or other operating systems. The smart device 200 may not have an operating system installed. This application does not limit the specific type of the smart device 200, whether an operating system is installed, and the installed operating system.
[0070] For example, when the communication system is a smart home system, the smart device 200 is a smart home device. The smart device 200 includes, for example, audio and video equipment (such as smart screens, speakers, etc.), lighting system equipment (such as downlights, light strips, table lamps, etc.), environmental control equipment (such as air purifiers, sweeping robots, etc.), security system equipment (such as cameras, smart door locks, etc.), kitchen appliances (such as ovens, dishwashers, etc.), smart sensors (smoke sensors, water sensors, infrared sensors, millimeter wave sensors, etc.), etc.
[0071] It should be understood that the above communication system may also be a system other than a smart home system. For example, a smart office system, a smart factory system, a smart school system, and the like correspond to communication systems in different spaces. Then, in different communication systems, the smart device 200 may be the same or different devices. In this embodiment of the present application, the configuration process of the smart device 200 is described in detail by taking the communication system as a smart home system as an example.
[0072] Optionally, the configuration device 100 is a device that can be used to configure the smart device 200. The present application does not limit the specific type of the configuration device 100.
[0073] For example, the configuration device 100 is configured with a proximal communication chip, such as a near field communication (NFC) chip, etc., through which the configuration device 100 implements short-distance communication with the smart device 200. Optionally, the proximal communication chip configured in the configuration device 100 is an active chip or a passive chip.
[0074] Optionally, the configuration device 100 can establish a short-range wireless communication connection with the smart device 200 through wireless communication technology based on a proximal communication chip. The wireless communication technology includes but is not limited to at least one of the following: NFC, Bluetooth (BT) (e.g., traditional Bluetooth or Bluetooth low energy (BLE)), wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) networks), power line communication (PLC), Zigbee, frequency modulation (FM), infrared (IR), etc.
[0075] Some examples include Figure 2As shown, the configuration device 100 is provided with a read / write antenna 101 at its end, and the configuration device 100 performs read / write operations with the smart device 200 via the read / write antenna 101. For example, the configuration device 100 writes setting information to the smart device 200 in response to a user's operation.
[0076] Some examples include Figure 2 As shown, the configuration device 100 includes an operating rod 102, which can help technicians expand the operating range. For example, some smart devices 200 are installed at a higher position (such as greater than or equal to 2.7 meters). Through the operating rod 102, it is convenient for the configuration device 100 to establish a short-distance communication connection with the smart device 200 installed at a higher position. Optionally, the configuration device 100 can support a height configuration of more than 3 meters through the operating rod 102. Optionally, the operating rod 102 is, for example, a telescopic rod, so that technicians can configure smart devices 200 at various installation positions.
[0077] Some examples include Figure 2 As shown, the configuration device 100 includes a touch screen 103. For example, the configuration device 100 displays the setting information of multiple smart devices 200 to be configured through the touch screen 103. In response to the user selecting an operation of a certain setting information, the configuration device 100 writes the setting information to the smart device 200 with which the short-range communication connection has been established through the read-write antenna. For another example, the configuration device 100 receives the setting information input by the technician through the touch screen 103.
[0078] Optionally, a configuration module is installed in the configuration device 100 , and the configuration module is used to obtain setting information and write the setting information into the smart device 200 .
[0079] In other examples, such as Figure 2 As shown, the communication system further includes a device 300. A communication connection is established between the configuration device 100 and the device 300, so that a technician can perform configuration operations on the device 300, and then the device 300 sends the acquired setting information to the configuration device 100. Correspondingly, after receiving the setting information, the configuration device 100 sends the setting information to the smart device 200 to be configured, so as to complete the configuration of the smart device 200.
[0080] Optionally, the configuration device 100 and the device 300 may establish a wireless connection via a wireless communication technology such as Bluetooth as in the above example. Alternatively, the configuration device 100 and the device 300 may also establish a wired connection via a universal serial bus (USB) interface.
[0081] In some embodiments, the communication system further includes a server ( Figure 2(not shown), the server serves as a business hub for managing and controlling devices in the communication system (such as smart devices 200, etc.). The server is, for example, a whole-house hub, a smart host, a smart light host, a router, etc. In some examples, the server may also be a cloud remote service. For example, the server is a device or server with computing functions such as a cloud server or a network server. It may be a single server, a server cluster composed of multiple servers, or a cloud computing service center. In other examples, the communication system includes local servers and cloud remote services, and both the server and the cloud remote service can serve as the business hub of the communication system. For example, the smart device 200 in the communication system communicates between devices through the server. In the event of a server failure, the smart device 200 in the communication system can also communicate with the device through cloud remote services. This application does not limit the specific type of server.
[0082] In some examples, after determining that the configuration of the device is complete, the smart device 200 may send the configuration device information to the server, thereby enabling the server to manage the smart device 200 .
[0083] Figure 3 A schematic structural diagram of the configuration device 100 is shown.
[0084] The configuration device 100 includes at least one processor 301 , a communication line 302 , a memory 303 and at least one communication interface 304 . The memory 303 may also be included in the processor 301 .
[0085] The processor 301 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0086] The communication link 302 may include a pathway to transmit information between the above-mentioned components.
[0087] The communication interface 304 is used to communicate with other devices. In the embodiment of the present application, the communication interface can be a module, a circuit, a bus, an interface, a transceiver or other device capable of realizing a communication function, and is used to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver can be an independently arranged transmitter, which can be used to send information to other devices, and the transceiver can also be an independently arranged receiver, which is used to receive information from other devices. The transceiver can also be a component that integrates the functions of sending and receiving information, and the embodiment of the present application does not limit the specific implementation of the transceiver.
[0088] The memory 303 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, an optical disk storage, a CD storage, a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by the device, but is not limited thereto. The memory may be independent and connected to the processor via the communication line 302. The memory may also be integrated with the processor.
[0089] The memory 303 is used to store program codes for implementing the solution of the present application, and is controlled to be executed by the processor 301. The processor 301 is used to execute the program codes stored in the memory 303, thereby implementing the device configuration method provided in the following embodiments of the present application.
[0090] Optionally, the program code in the embodiments of the present application may also be referred to as application code, instructions, programs or other names, which is not specifically limited in the embodiments of the present application.
[0091] In a specific implementation, as an embodiment, the processor 301 may include one or more CPUs, such as Figure 3 CPU0 and CPU1 in.
[0092] In a specific implementation, as an embodiment, the configuration device 100 may include multiple processors, such as Figure 3 301 and processor 307 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., program instructions).
[0093] In some embodiments, the configuration device 100 further includes a display screen 305, where the display screen 305 is used to receive device information input by a user and display the device information.
[0094] It is understandable that the embodiments of the present application are as follows Figure 3 The structure does not constitute the only limitation on the implementation of the configuration device 100 structure. In other embodiments of the present application, the configuration device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0095] In some embodiments, the smart device 200 has a Figure 3 The configuration device 100 shown has the same or similar hardware structure, which will not be described in detail in the embodiments of the present application.
[0096] The following embodiments take the communication system as a smart home system, the server as a smart host, the configuration device 100 as a configuration device, and the smart device 200 as a smart device as an example to introduce in detail the configuration device method provided in the embodiments of the present application.
[0097] For example, Figure 4 This is a flow chart of a method for configuring a device provided in an embodiment of the present application. It should be noted that this method does not Figure 4 The specific order described below is a limitation, and it should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0098] S401, configure the device to obtain setting information.
[0099] The setting information is information that needs to be set by the user during the process of configuring the smart device. Optionally, the setting information includes, for example, the location information, space, device name, device circuit, device type, etc. of the smart device to be configured. The user is a person who performs the configuration of the smart device, such as a technician, etc., which will not be described in detail below.
[0100] In some embodiments, a configuration module is installed in the configuration device, and the configuration module is used to obtain the setting information. Then, the configuration device can directly receive the setting information input by the user in response to the user's operation.
[0101] In other embodiments, a communication connection such as a wired USB connection or a Bluetooth connection has been established between the configuration device and other portable devices (such as a mobile phone). After the portable device obtains the setting information in response to the user's operation, it can send the setting information to the configuration device through the established communication connection.
[0102] In some embodiments, before configuring the smart device, the user can obtain the setting information of all the smart devices to be configured in the current space (such as the whole house). Then, as shown in Table 1 below, after completing the editing of all the setting information, the user can input the edited setting information into the configuration device. Alternatively, the user inputs the setting information of all the smart devices to be configured on the configuration device.
[0103] Afterwards, during the process of configuring the smart device, when the user determines that a certain smart device needs to be configured, the user can select the setting information corresponding to the smart device to be configured from all the setting information, so that the configuration device determines that the selected setting information needs to be sent to the corresponding smart device (i.e., execute the following step S403).
[0104] Table 1
[0105]
[0106] In other embodiments, after obtaining the setting information, the portable device (such as a mobile phone) may send the setting information to a configuration device connected to the portable device. Correspondingly, the configuration device receives the setting information sent by the device.
[0107] Exemplarily, after receiving the setting information input by the user, the portable device sends the setting information to the configuration device. Optionally, the portable device may send the setting information to the configuration device after receiving all or part of the setting information. For example, after receiving all the setting information input by the user, the portable device sends the acquired setting information to the configuration device in response to the user's confirm-send operation. Alternatively, after receiving a piece of setting information input by the user, the portable device sends the piece of setting information to the configuration device in response to the user's confirm-send operation. That is, the frequency of the setting information sent by the portable device may be determined according to the user's operation.
[0108] Alternatively, the portable device downloads the setting information of the smart device to be configured from the server. For example, other personnel edit the setting information of the smart device to be configured and upload it to the server. Later, when the user needs to configure the smart device, he can instruct the portable device to download the setting information corresponding to the current communication system from the server. After that, the portable device sends the acquired configuration information to the configuration device.
[0109] For example, Figure 5 As shown in (a), the configuration device or the device displays the configuration device interface, and receives the setting information input by the user in response to the user's operation, such as receiving the setting information newly input by the user, or receiving the user's editing operation on the setting information.
[0110] S402: The configuration device and the smart device establish a short-distance communication connection.
[0111] S403: The configuration device sends setting information to the smart device.
[0112] In some embodiments, a communication connection, such as a short-distance communication connection, is established between the configuration device and the smart device. Then, after acquiring the setting information, the configuration device can automatically send the setting information to the smart device that currently has a communication connection with the configuration device, and the smart device is the smart device currently to be configured.
[0113] For example, Figure 2 As shown, the user holds the configuration device and brings its end (such as the end where the configuration antenna 101 is located) close to the smart device to be configured (such as device 1). Then, the configuration device can detect the nearby device 1 in response to the approach operation, and then the configuration device can establish a short-range communication connection with the device 1. In the process of short-range communication connection, the configuration device can also respond to the user's operation and determine the smart device that the user instructs to establish a short-range communication connection. After that, the configuration device can display the configuration interface.
[0114] like Figure 5 As shown in (a), during the process of displaying the configuration interface, if the user clicks on the control 51, a prompt indicating that the control 1 is selected can be displayed to facilitate the user to determine the smart device to be configured. Afterwards, in response to the user clicking on the confirmation control 52, the configuration device can send the setting information selected by the user to the smart device with which the short-range communication connection has been established, such as the setting information of the device 1 corresponding to the control 51.
[0115] In some embodiments, after completing the sending of a piece of setting information, the configuration device may prompt the user that the configuration of the current smart device has been completed. For example, the configuration information may display a prompt message, emit a prompt sound, etc. Optionally, the configuration device may also disconnect the short-range communication connection between the configured smart devices.
[0116] Afterwards, if Figure 6 As shown, after the user completes the configuration of smart device 1, the user can move the configuration device close to other smart devices (such as smart device 2) to configure the next smart device.
[0117] For example, Figure 5 As shown in (b), after the configuration device determines that the configuration of the device is completed, the configuration interface may no longer display the setting information corresponding to device 1, so that the user can select the setting information to be configured from the remaining setting information, thereby reducing the difficulty of user selection. Alternatively, the configuration device may also display the setting information of device 1 that is not selectable.
[0118] In some embodiments, the configuration device can obtain the setting information of all the smart devices to be configured in the current space. In addition, the user can set the configuration order of these setting information. If the configuration device obtains the setting information shown in Table 1 above, where the configuration order is the order from top to bottom of the table. Then, in the process of configuring the smart device, the configuration device can automatically send the setting information of the corresponding configuration order to the smart device in response to the short-distance communication connection established with the smart device.
[0119] For example, the configuration device obtains multiple setting information (such as the first setting information and the second setting information), where the first setting information is ranked as the i-th position and the second setting information is ranked as the j-th position. Then the first device (i.e., the configuration device) responds to establishing a short-distance communication connection with the second device, determines that this is the i-th time a short-distance communication connection is established, and automatically sends the first setting information to the second device. Afterwards, the first device determines that the communication distance with the second device is exceeded, and disconnects the short-distance communication connection with the second device. In response to establishing a short-distance communication connection with the third device, the first device determines that this is the j-th time a short-distance communication connection is established, and automatically sends the second setting information to the third device. Wherein, i and j are positive integers, and j is greater than i.
[0120] It should be understood that there are multiple setting information stored in the configuration device, and the setting information sent by the configuration device to the smart device each time is one of the setting information. For example, the first setting information sent by the first device to the second device is the setting information ranked at the i position among the multiple setting information, and the second setting information sent by the first device to the third device is the setting information ranked at the j position among the multiple setting information.
[0121] Exemplarily, the space includes three smart devices to be configured (such as smart device A, smart device B, and smart device C), and the user edits the configuration order of the setting information of the three smart devices according to the desired configuration order. For example, the configuration order is setting information 1, setting information 2, and setting information 3. Among them, the user knows the configuration order of the setting information, so the user can approach the corresponding smart devices in turn according to the configuration order to trigger the automatic configuration of the smart devices. For example, after the configuration device detects the nearby smart device A and establishes a short-distance communication connection with the smart device A, it determines that this is the first time to establish a short-distance communication connection, and can automatically send setting information 1 to the smart device A. Afterwards, the configuration device determines that the distance between the configuration device and the smart device A exceeds the preset distance, and automatically disconnects the short-distance communication connection with the smart device A (or disconnects the short-distance communication connection in response to the user operation). Afterwards, after the configuration device detects the nearby smart device C and establishes a short-distance communication connection with the smart device C, it determines that this is the second time to establish a short-distance communication connection, and can automatically send setting information 2 to the smart device C. Afterwards, the configuration device determines that the distance between the configuration device and the smart device C exceeds the preset distance, and automatically disconnects the short-distance communication connection with the smart device C (or disconnects the short-distance communication connection in response to a user operation). Afterwards, the configuration device detects the nearby smart device B and establishes a short-distance communication connection with the smart device B, determines that this is the third time to establish a short-distance communication connection, and can automatically send setting information 3 to the smart device B.
[0122] In this way, the user inputs all the setting information in advance, and then just needs to "touch" the configuration device with the smart device in a certain configuration order to automatically complete the configuration of these smart devices.
[0123] In some embodiments, the short-range communication connection includes, for example, a Wi-Fi connection, a Bluetooth connection, etc.
[0124] In some embodiments, the embodiments of the present application do not limit the execution order between the above steps S401 and S402. For example, after the configuration device obtains the setting information, in response to the user's operation of bringing the configuration device close to the smart device, the configuration device establishes a short-range communication connection with the smart device. After the short-range communication connection is established, the configuration device automatically sends the setting information to the smart device (i.e., first execute step S401, then execute step S402).
[0125] Alternatively, the configuration device establishes a short-range communication connection with the smart device in response to the user placing the configuration device close to the smart device. Afterwards, the configuration device automatically sends the setting information to the smart device after acquiring the setting information (i.e., first executing step S402 and then executing step S401).
[0126] S404: The smart device saves device information, where the device information includes setting information and address information.
[0127] The address information includes, for example, the SN / MAC address of the smart device.
[0128] In some embodiments, the smart device is configured with a proximal communication chip and a main control chip. The proximal communication chip is used to establish a short-distance communication connection with the smart device and receive setting information sent by the configuration device. The main control chip is used to control the smart device.
[0129] In this way, separating the proximal communication chip from the main control chip can make smart devices more suitable for various usage scenarios. For example, some light strips do not have a main control chip in the part visible to users. The main control chip is uniformly placed in the control end of the light strip (such as the electronic drive, etc.). If the control end is in a closed ceiling, it is difficult for users to access the main control chip without damaging the decoration of the room. Therefore, by configuring the proximal communication chip in a part of the smart device that is easy for users to approach, the configuration difficulty of the user is reduced.
[0130] In some examples, after the smart device obtains the setting information sent by the configuration device through the proximal communication chip, the proximal communication chip can send the setting information to the main control chip, and the main control chip completes the configuration of the smart device.
[0131] In other examples, the near-end communication chip may not be configured in the smart device. The main control chip of the smart device has a near-end communication function, and the smart device can directly obtain the setting information sent by the configuration device through the main control chip.
[0132] In some embodiments, during the configuration of a smart device, it is necessary to configure the setting information and address information of the smart device so that subsequent users can accurately control the corresponding smart device when they need to operate the smart device. Then, after obtaining the setting information, the smart device can generate and save device information, which includes the obtained setting information and the address information that has been saved locally. Optionally, the smart device can establish a correspondence between the setting information and the address information. For example, the smart device saves the setting information and the address information in correspondence, such as saving them to the same storage location. Among them, the device information can also include setting information such as device name and device type.
[0133] Optionally, as described above in the construction process of the smart device, during the installation of the smart device, the staff (such as electricians, etc.) have completed the configuration of the SN / MAC address of the device, such as manually configuring a record tag. Then, the smart device can obtain the configured address information, such as the SN / MAC address, etc. In addition, the smart device can save the obtained address information locally.
[0134] For example, Figure 6 As shown, the smart device 1 obtains the setting information sent by the configuration device through the proximal communication chip (i.e., step ①). After that, the proximal communication chip sends the setting information to the main control chip (i.e., step ②). After the main control chip obtains the setting information, it can establish a corresponding relationship between the setting information and the locally stored address information, generate device information, and thus complete the configuration of the smart device 1.
[0135] Afterwards, if Figure 6 As shown, the configuration device disconnects the short-distance communication connection with the smart device 1 in response to the user's operation or when it determines that the distance between the configuration device and the smart device 1 exceeds the short-distance communication range. Afterwards, the configuration device can establish a short-distance communication connection with the smart device 2 and automatically send the setting information of the smart device 2 to the smart device 2. Correspondingly, after the smart device 2 obtains the setting information sent by the configuration device through the proximal communication chip, the proximal communication chip sends the setting information to the main control chip. Afterwards, the main control chip can establish a corresponding relationship between the setting information and the locally stored address information, generate device information, and thus complete the configuration of the smart device 2.
[0136] In this way, the user can complete the configuration of all smart devices by operating the configuration device around the house. In this process, the user does not need to determine the address information of each smart device one by one, which reduces the user's operation difficulty and improves the configuration efficiency of smart devices.
[0137] Moreover, by configuring the device, when the smart device is installed at a higher position, the user can also write the setting information into the smart device through simple operations, thereby avoiding the installation of scaffolding, reducing costs and improving configuration efficiency.
[0138] In addition, users only need to make sure that the setting information of the smart device is correct, and the smart device can automatically match the acquired setting information with the locally saved address information, thereby realizing the subsequent control of the smart device. Then, during the configuration process, there is no need to require that the actual installation location of the smart device is consistent with the location indicated by the device label, which improves the fault tolerance rate during the device label configuration process.
[0139] In some experimental scenarios, it originally took about 2 minutes to configure a single smart device. Then, taking a typical apartment with 128 smart devices installed as an example, the entire configuration process takes about 4.26 hours. After adopting the device configuration method provided in the embodiment of the present application, it takes about 20 seconds to configure a single smart device, so the configuration process of the smart devices in the typical apartment takes about 42 minutes. It can be seen that the efficiency of the device configuration process has increased by nearly 6 times.
[0140] Alternatively, if Figure 4 As shown, step S405 may be included after step S404.
[0141] S405: The smart device sends device information to the smart host.
[0142] In some embodiments, after determining that the configuration of the smart device is completed, the smart device may send the device information of the smart device to the smart host, so that the smart host can uniformly manage the received device information.
[0143] For example, Figure 6 As shown, after the main control chip of smart device 1 generates device information according to the setting information and address information, it can send the device information to the smart host (i.e. step ③). Correspondingly, the smart host receives the device information sent by smart device 1. Then, in the process of configuring smart devices, the smart host can obtain the device information sent by multiple smart devices, thereby realizing the management of multiple smart devices. For example, the smart host obtains the device information of smart device 1 and the device information of smart device 2.
[0144] In some embodiments, after obtaining the device information of the smart device, the smart host may also push the obtained device information to the first application, wherein the first application is an application used by the user to manage the smart device, such as Easy Applications, etc.
[0145] For example, Figure 7 As shown, the smart host sends the acquired one or more device information to the first application (i.e., step ④). Figure 8 As shown, after the device starts the first application in response to the user's operation, one or more device information obtained can be displayed in the first application, and the user can view the configuration of the smart devices in the current space in the first application.
[0146] Alternatively, in response to the user's operation of starting the first application, the device sends a request to the smart host to obtain device information of one or more smart devices.
[0147] In some embodiments, the first application supports information locking to avoid information confusion caused by erroneous modification of information. For example, the information obtained by the first application includes the proximal communication chip information of the smart device. The first application can lock the proximal communication chip information to avoid the proximal communication chip information being erroneously modified, resulting in abnormalities in subsequent communications.
[0148] In some examples, after receiving the setting information sent by the configuration device through the proximal communication chip, the smart device determines that it has completed the configuration, and can overwrite the historical setting information with the newly obtained setting information and re-save the device information, that is, reconfigure the smart device. Afterwards, the smart device can send the updated device information to the smart host.
[0149] In other examples, after the first application locks the proximal communication chip information, the user cannot modify the setting information of the smart device corresponding to the proximal communication chip information at will. Then, after the smart device receives the setting information sent by the configuration device through the proximal communication chip again, it determines that it has completed the configuration and the setting information has been locked, and can send a prompt message to the configuration device to prompt the user that the current smart device has completed the configuration and cannot be modified. For example, after receiving the prompt message, the configuration device displays the prompt message.
[0150] In some embodiments, after determining that the configuration of the smart device is completed, the main control chip in the smart device can also send the current state information of the smart device to the proximal communication chip. Optionally, the state information includes, for example, the networking state of the smart device (such as whether it is networked) and access information (such as the MAC information of the smart host to which the smart device is connected).
[0151] It should be understood that the networking state of the smart device can also be described as the online state of the smart device, etc. The access information of the smart device can also be described as the gateway information to which the smart device belongs, etc. The embodiment of the present application does not limit this.
[0152] Optionally, after determining that the status information of the smart device has changed, the main control chip can send the updated status information to the proximal communication chip again. For example, if the main control chip determines that the current smart device has exited the network, or the smart host connected to the smart device is abnormal, the status information can be updated and the updated device information can be sent to the proximal communication chip.
[0153] For example, Fig. 9 As shown, after the main control chip in the smart device 1 obtains the setting information sent by the proximal communication chip and completes the configuration of the smart device according to the setting information and the locally stored address information, it can send the status information of the smart device to the proximal communication chip (i.e., step ②'). Among them, the status information includes the networking status indicating that the current smart device 1 has joined the network, and the access information indicating the MAC address of the smart host to which the smart device 1 is connected.
[0154] Similarly, after completing the configuration of the device, the main control chip in the smart device 2 can also send the status information of the smart device 2 to the proximal communication chip.
[0155] In this way, through the interaction between the proximal communication chip and the main control chip of the smart device, some basic maintenance and testing information of the smart device (such as networking status and access information) can be saved in the proximal communication chip. In this way, in the subsequent device maintenance and testing process, even if the smart device is not online, the maintenance and testing of the smart device can be completed through the proximal communication chip.
[0156] Combination of the above Figure 4-Figure 9 The configuration device method provided by the embodiment of the present application is described in detail. Fig.10 The first device and the second device provided in the embodiments of the present application are described in detail.
[0157] In one possible design, Fig.10 This is a schematic diagram of the structure of the first device provided in the embodiment of the present application. Fig.10 As shown, the first device 1000 may include: a transceiver unit 1001 and a processing unit 1002. The first device 1000 may be used to implement the functions of the configuration device involved in the above method embodiment.
[0158] Optionally, the transceiver unit 1001 is used to support the first device 1000 to execute Figure 4 S401 and S402 in the table.
[0159] Optionally, the processing unit 1002 is used to support the first device 1000 to execute Figure 4S401 in.
[0160] Among them, the transceiver unit may include a receiving unit and a sending unit, and may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the first device 1000 are respectively to implement the corresponding process of the configuration device method described in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they will not be repeated here.
[0161] Optionally, Fig.10 The first device 1000 shown may also include a storage unit ( Fig.10 (not shown), the storage unit stores a program or instruction. When the transceiver unit 1001 and the processing unit 1002 execute the program or instruction, Fig.10 The first device 1000 shown can execute the device configuration method described in the above method embodiment.
[0162] Fig.10 The technical effects of the first device 1000 shown can refer to the technical effects of the device configuration method described in the above method embodiment, and will not be repeated here.
[0163] In addition to being in the form of the first device 1000, the technical solution provided in the present application may also be a functional unit or chip in the first device, or a device used in conjunction with the first device.
[0164] In one possible design, Fig.11 This is a schematic diagram of the structure of the second device provided in the embodiment of the present application. Fig.11 As shown, the second device 1100 may include: a transceiver unit 1101 and a processing unit 1102. The second device 1100 may be used to implement the functions of the smart device involved in the above method embodiment.
[0165] Optionally, the transceiver unit 1101 is used to support the second device 1100 to execute Figure 4 S402 and S403 in .
[0166] Optionally, the processing unit 1102 is configured to support the second device 1100 to execute Figure 4 S404 in.
[0167] Among them, the transceiver unit may include a receiving unit and a sending unit, which may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the second device 1100 are respectively to implement the corresponding process of the configuration device method described in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they will not be repeated here.
[0168] Optionally, Fig.11 The second device 1100 shown may also include a storage unit ( Fig.11 (not shown), the storage unit stores a program or instruction. When the transceiver unit 1101 and the processing unit 1102 execute the program or instruction, Fig.11 The second device 1100 shown can execute the device configuration method described in the above method embodiment.
[0169] Fig.11 The technical effects of the second device 1100 shown can refer to the technical effects of the device configuration method described in the above method embodiment, and will not be repeated here.
[0170] In addition to being in the form of the second device 1100, the technical solution provided in the present application may also be a functional unit or chip in the second device, or a device used in conjunction with the second device.
[0171] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.
[0172] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0173] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.
[0174] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0175] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0176] An embodiment of the present application also provides a readable storage medium, in which a program is stored. When the program is run on a device, the device executes the above-mentioned related steps to implement the device configuration method in the above-mentioned embodiment.
[0177] The embodiment of the present application also provides a program product. When the program product is run on a device, the device is caused to execute the above-mentioned related steps to implement the device configuration method in the above-mentioned embodiment.
[0178] In addition, an embodiment of the present application further provides a device. The device may be a component or a module, and the device may include one or more processors and a memory connected to each other. The memory is used to store a program. When the program is executed by one or more processors, the device performs the configuration device method in the above-mentioned method embodiments.
[0179] Among them, the device, readable storage medium, program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0180] The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).
[0181] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0182] In the several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.
[0183] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0184] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for configuring a device, characterized in that: Applied to a first device, the first device includes an operating rod, the operating length of the operating rod is greater than a first threshold, and the method includes: Obtaining first setting information; establishing a short-range communication connection with a second device; The first setting information is automatically sent to the second device.
2. The method according to claim 1, characterized in that The operating rod is a telescopic operating rod or a non-telescopic operating rod. The length of the telescopic operating rod after being stretched is greater than the first threshold, and the length of the non-telescopic operating rod is greater than the first threshold.
3. The method according to claim 1 or 2, characterized in that: The obtaining of the first setting information includes: receiving the first setting information sent by a third device connected to the first device; or, In response to an operation of a user on a display screen of the first device, the first setting information input by the user is received.
4. The method according to claim 3, characterized in that The operation includes a selection operation among a plurality of pieces of setting information displayed on the display screen of the first device, or an operation of inputting the first setting information.
5. The method according to any one of claims 1 to 4, characterized in that: The first device further includes a communication module, and the communication module is used to write the first setting information to the second device.
6. The method according to any one of claims 1 to 5, characterized in that: The configuration device further stores second setting information, the first setting information is ranked as the i-th position, and the second setting information is ranked as the j-th position; The establishing a short-distance communication connection with the second device and automatically sending the first setting information to the second device includes: In response to establishing a short-range communication connection with the second device, determining that this is the i-th time that a short-range communication connection is established, and automatically sending the first setting information to the second device; The method further comprises: Determining that the communication distance with the second device is exceeded, disconnecting the short-distance communication connection with the second device; In response to establishing a short-distance communication connection with a third device, determining that this is the jth time that a short-distance communication connection is established, and automatically sending the second setting information to the third device; Wherein, i and j are positive integers, and j is greater than i.
7. The method according to any one of claims 1 to 6, characterized in that: The first setting information includes one or more of the location information, space, device name, loop where the device is located, and device type of the second device.
8. A method for configuring a device, characterized in that: Applied to the second device, the method includes: establishing a short-range communication connection with the first device; Receiving, via the short-range communication connection, first setting information sent by the first device; The device information of the second device is saved, where the device information includes the first setting information and the address information of the second device.
9. The method according to claim 8, characterized in that The second device includes a proximal communication chip and a main control chip; the proximal communication chip is used to receive the first setting information, and the main control chip is used to control and save the device information.
10. The method according to claim 9, characterized in that The method further comprises: The main control chip sends the status information of the second device to the proximal communication chip, where the status information includes the networking status and access information of the second device.
11. The method according to any one of claims 8 to 10, characterized in that: The method further comprises: The device information is sent to a central device, where the central device is used to manage one or more second devices.
12. The method according to any one of claims 8 to 11, characterized in that: The first setting information includes one or more of the location information, space, device name, loop where the device is located, and device type of the second device.
13. The method according to any one of claims 8 to 12, characterized in that: The address information includes at least one of a serial number SN or a media access control MAC address of the second device.
14. A first device, characterized in that: include: A processor and a memory, wherein the memory is used to store program codes, and when the processor runs the program codes, the first device executes the method according to any one of claims 1 to 7.
15. A second device, characterized in that: include: A processor and a memory, wherein the memory is used to store program code, and when the processor runs the program code, the second device executes the method as described in any one of claims 8 to 13.
16. A configuration device system, characterized in that: The system comprises the first device as claimed in claim 14 and the second device as claimed in claim 15 .
17. A readable storage medium, characterized in that: The readable storage medium includes a program, and when the program is executed on a device, the device executes the method according to any one of claims 1 to 7, or the method according to any one of claims 8 to 13.