CN115550088A - Equipment access method, device, equipment and electronic medium - Google Patents

Equipment access method, device, equipment and electronic medium Download PDF

Info

Publication number
CN115550088A
CN115550088A CN202110737257.5A CN202110737257A CN115550088A CN 115550088 A CN115550088 A CN 115550088A CN 202110737257 A CN202110737257 A CN 202110737257A CN 115550088 A CN115550088 A CN 115550088A
Authority
CN
China
Prior art keywords
equipment
information
accessed
input information
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110737257.5A
Other languages
Chinese (zh)
Inventor
孟卫明
何晨迪
杜兆臣
高雪松
陈维强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Group Holding Co Ltd
Original Assignee
Hisense Group Holding Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Group Holding Co Ltd filed Critical Hisense Group Holding Co Ltd
Priority to CN202110737257.5A priority Critical patent/CN115550088A/en
Publication of CN115550088A publication Critical patent/CN115550088A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities

Abstract

In the application, if voice information sent by a terminal device and device information sent by a device to be accessed are received, wherein the input information carries a first device type and position information of the device to be accessed, the device information carries a preset second device type of the device to be accessed, and if the first device type is the same as the second device type, a corresponding relation between the position information and the device to be accessed is stored. According to the method and the device, the input information sent by the terminal device and the device information sent by the device to be accessed are received, and if the input information is the same as the device type carried in the device information, the corresponding relation between the position information carried in the input information and the device to be accessed is stored, so that the device to be accessed is accessed into the intelligent home system.

Description

Equipment access method, device, equipment and electronic medium
Technical Field
The application relates to the technical field of smart home, in particular to a device access method, device, equipment and electronic medium.
Background
With the rise of the internet of things technology, smart home devices are increasingly popularized in households, and now smart home systems have developed to a higher technical level, so that people can conveniently realize remote control and centralized management of various home appliances such as air conditioners, televisions, table lamps, washing machines and the like.
The existing intelligent household equipment has multiple access methods. Specifically, the access method of the smart home device may be that when the house is finished, an engineer configures the type and the corresponding location of each device in the server in advance, but if the method is adopted, when the device is damaged, the previously configured content needs to be modified, and the replacement and reconfiguration of the device are completed, which is difficult to operate. There is also a method in which a user manually adds a type of device on an Internet of Things (IOT) page, and there is a problem of device confusion when a home has a plurality of devices of the same type.
Disclosure of Invention
The application provides a device access method, a device, equipment and an electronic medium, which are used for solving the problems that in the prior art, when new equipment is accessed into an intelligent home system, the operation is difficult and when a plurality of same-type equipment exists in a home, the equipment is mixed up.
In a first aspect, the present application provides a device access method, where the method includes:
receiving input information sent by terminal equipment and equipment information sent by equipment to be accessed, wherein the input information carries a first equipment type and position information of the equipment to be accessed, and the equipment information carries a preset second equipment type of the equipment to be accessed;
and if the first equipment type is the same as the second equipment type, storing the corresponding relation between the position information and the equipment to be accessed.
In a second aspect, the present application further provides an apparatus for accessing a device, where the apparatus includes:
the terminal equipment comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving input information sent by terminal equipment and equipment information sent by equipment to be accessed, the input information carries a first equipment type and position information of the equipment to be accessed, and the equipment information carries a preset second equipment type of the equipment to be accessed;
and the processing module is used for storing the corresponding relation between the position information and the equipment to be accessed if the first equipment type is the same as the second equipment type.
In a third aspect, the present application further provides an electronic device, where the electronic device at least includes a processor and a memory, and the processor is configured to implement the steps of the device access method described above when executing a computer program stored in the memory.
In a fourth aspect, the present application further provides a computer-readable storage medium storing a computer program, which when executed by a processor implements the steps of any of the above-mentioned device access methods.
In the application, if the voice information sent by the terminal device and the device information sent by the device to be accessed are received, wherein the input information carries the first device type and the position information of the device to be accessed, and the device information carries the preset second device type of the device to be accessed, and if the first device type is the same as the second device type, the corresponding relationship between the position information and the device to be accessed is saved. According to the method and the device, the input information sent by the terminal device and the device information sent by the device to be accessed are received, and if the input information is the same as the device type carried in the device information, the corresponding relation between the position information carried in the input information and the device to be accessed is stored, so that the device to be accessed is accessed into the intelligent home system.
Drawings
In order to more clearly explain the technical solutions of the present application, the drawings required for the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a device access process provided in the present application;
fig. 2 is a deployment diagram of an intelligent home system provided in some embodiments of the present application;
fig. 3 is a schematic flowchart of a device access method according to some embodiments of the present application;
fig. 4 is a schematic structural diagram of an apparatus access device provided in the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
In the application, when a device is accessed to an intelligent home system, a server judges whether a first device type of the device to be accessed carried in the input information is the same as a second device type of the device to be accessed carried in the device information by receiving the input information sent by a terminal device and the device information sent by the device to be accessed, if so, the device corresponding to the input information is determined to be the device to be accessed, and the corresponding relation between the position information carried in the input information and the device to be accessed is saved.
In order to reduce operation difficulty during equipment access in an intelligent home system and distinguish equipment with the same type in the intelligent home system, the application provides an equipment access method, an equipment access device, equipment and an electronic medium.
Fig. 1 is a schematic diagram of a device access process provided in the present application, where the process includes:
s101: receiving input information sent by terminal equipment and equipment information sent by equipment to be accessed, wherein the input information carries a first equipment type and position information of the equipment to be accessed, and the equipment information carries a preset second equipment type of the equipment to be accessed.
The device access method provided by the application is applied to a server, and the server can be a home edge computing server and the like.
When new equipment is added to the intelligent home system, in order to realize efficient and quick access equipment, in the application, a user can send an equipment access instruction to the server through the terminal equipment, and after the server receives the instruction, if input information sent by the terminal equipment and equipment information sent by equipment to be accessed are received, access operation is carried out on the equipment to be accessed according to the input information and the equipment information.
In the application, a server receives input information sent by terminal equipment and equipment information sent by equipment to be accessed. Specifically, a user inputs input information through a terminal device, the terminal device forwards the input information to a server, the input information may be voice information or text information, and the server analyzes the input information after receiving the input information sent by the terminal device, and obtains a first device type and position information of a device to be accessed, which are input by the user and carried in the input information. In addition, in the application, the user operates the device to be accessed, so that the device to be accessed sends the device information to the server, and after receiving the device information, the server analyzes the device information to obtain the second device type of the device to be accessed, wherein the second device type is carried in the device information.
In the application, the device to be accessed can be a networked smart home device, a ZigBee access device, a power line carrier access device and the like. If the equipment to be accessed is the networked smart home equipment, the equipment to be accessed is directly communicated with the server and equipment information is sent to the server; if the equipment to be accessed is ZigBee access equipment, the equipment to be accessed sends equipment information to the intelligent gateway, and the intelligent gateway converts a ZigBee protocol and an Internet protocol and forwards the equipment information to the server; if the equipment to be accessed is the power line carrier access equipment, the equipment to be accessed sends equipment information to the intelligent gateway, the intelligent gateway converts the household power line carrier communication protocol and the Internet protocol, and then forwards the equipment information to the server.
S102: and if the first equipment type is the same as the second equipment type, storing the corresponding relation between the position information and the equipment to be accessed.
After the server analyzes the first device type and the second device type, whether the first device type is the same as the second device type is judged, if the first device type is the same as the second device type, the device to be accessed corresponding to the input information and the device to be accessed corresponding to the device information are the same, namely, the position information carried in the input information is determined to be the position information of the device to be accessed, and therefore, the corresponding relation between the position information and the device to be accessed is stored.
Specifically, the correspondence between the location information of the device to be accessed and the identification information of the device to be accessed is stored in the present application. The identification information may be information that uniquely identifies the device to be accessed, and may be, for example, an IP address or a device number of the device to be accessed.
According to the method and the device, the input information sent by the terminal device and the device information sent by the device to be accessed are received, if the types of the input information and the device carried in the device information are the same, the device to be accessed and the position information carried in the input information are correspondingly stored, so that the operation difficulty when the device is accessed into the intelligent home system is reduced, and the devices with the same type are distinguished in the intelligent home system according to the position information.
In order to receive paired input information and device information, on the basis of the above embodiments, in this application, the receiving input information sent by the terminal device and device information sent by a device to be accessed includes:
if the input information is received, determining a first time for receiving the input information;
and determining a first time receiving range according to the first time and a preset first time interval, and taking the equipment information received in the first time receiving range as the equipment information sent by the equipment to be accessed.
In the application, because the user controls the terminal device to send the input information to the server and also controls the device to be accessed to send the device information to the server, the time for the terminal device to send the input information to the server and the time for the device to be accessed to send the device information to the server have time intervals, that is, the time for the server to receive the input information and the device information are different. In order to ensure that the device to be accessed corresponding to the input information and the device to be accessed corresponding to the device information are the same device, that is, to ensure that the paired input information and device information can be received, in the present application, through a preset time interval, if another information is not received within the preset time interval after the input information or the device information is received, it is considered as a misoperation, and no response is performed.
Specifically, in the present application, if the server receives the input information first, a first time when the input information is received is determined, and a first time receiving range is determined according to the first time and a preset first time interval, where the first time receiving range is used to determine whether the input information is information of a misoperation. And if the equipment information is received within the first time receiving range, determining the equipment information as the equipment information sent by the equipment to be accessed.
In order to receive paired input information and device information, on the basis of the foregoing embodiments, in this application, the method further includes:
and if the equipment information is not received within the first time receiving range, not responding to the input information.
In the application, the operation of the input information sent by the terminal device to the server may be a misoperation, in order to avoid the server responding to the misoperation, a first time receiving range is determined according to a first time for receiving the input information and a preset first time interval, and if the device information is not received in the first time receiving range, the input information is not responded.
Specifically, if the device information is not received within the first time reception range, it is determined that the operation of the terminal device to transmit the input information to the server is an erroneous operation, and the input information is not responded. For example, if the time for the server to receive the input information is eight points, and the preset first time interval is five minutes, the first time receiving range is eight points to eight points, and if the device information is not received in the first time receiving range, it is determined that the operation for the terminal device to send the input information to the server is a wrong operation, and the input information is not responded.
In order to receive paired input information and device information, on the basis of the foregoing embodiments, in this application, the receiving input information sent by the terminal device and device information sent by a device to be accessed includes:
if the equipment information is received, determining a second time for receiving the equipment information;
and determining a second time receiving range according to the second time and a preset second time interval, and taking the input information received in the second time receiving range as the input information sent by the terminal equipment.
In the application, because the user controls the terminal device to send the input information to the server, and also controls the device to be accessed to send the device information to the server, the time for the terminal device to send the input information to the server and the time for the device to be accessed to send the device information to the server can be artificially controlled, namely, the time for the server to receive the input information and the time for receiving the device information can be different. In order to avoid that the server receives the input information or the equipment information due to misoperation, in the application, through a preset time interval, if another information is not received in the preset time interval after the input information or the equipment information is received, the misoperation is considered, and no response is carried out.
Specifically, in the present application, if the server receives the device information first, a second time when the device information is received is determined, a second time receiving range is determined according to the second time and a preset second time interval, and if input information is received within the second time receiving range, the input information is determined as the input information of the device to be accessed, which is sent by the terminal device.
In this application, the preset first time interval and the preset second time interval may be the same or different. For example, the first time interval is five minutes, the second time interval is ten minutes, if the server receives the device information first, and the second time for receiving the device information is eight points, the second time range is eight points to eight points, and if the input information is received in the second time range, the input information is determined as the input information of the device to be accessed, which is sent by the terminal device; if the server receives the input information first and the first time for receiving the input information is eight points, the first time interval is from eight points to eight points, and if the equipment information is received in the first time interval, the equipment information is determined to be the equipment information sent by the equipment to be received. If the first time interval and the second time interval are both five minutes, if the server receives the equipment information first and the second time for receiving the equipment information is eight points, the second time range is eight points to eight points, and if the input information is received in the second time range, the input information is determined to be the input information of the equipment to be accessed, which is sent by the terminal equipment; if the server receives the input information first and the first time for receiving the input information is nine points, the first time interval is five minutes from nine points to nine points, and if the equipment information is received in the first time interval, the equipment information is determined to be the equipment information sent by the equipment to be received.
In order to receive paired input information and device information, on the basis of the foregoing embodiments, in this application, the method further includes:
and if the input information is not received within the second time receiving range, not responding to the equipment information.
In the application, the operation of the device information sent by the device to be accessed to the server may be a misoperation, in order to avoid the server responding to the misoperation, a second time receiving range is determined according to the first time for receiving the device information and a preset second time interval, and if no input information is received in the second time receiving range, the device information is not responded.
Specifically, if the input information is not received within the second time receiving range, it is determined that the operation of sending the device information to the server by the device to be accessed is a misoperation, and the device information is not responded. For example, the time when the server receives the device information is eight points, the preset second time interval is five minutes, the second time receiving range is eight points to eight points, and if the input information is not received in the second time receiving range, it is determined that the operation of sending the device information to the server by the device to be accessed is a misoperation, and the device information is not responded.
On the basis of the foregoing embodiments, in order to access devices in an intelligent home system and distinguish devices of the same type in the intelligent home system, in the present application, the storing the corresponding relationship between the location information and the device to be accessed includes:
determining the IP address and the MAC address of the equipment to be accessed;
and storing the corresponding relation between the position relation and the IP address and the MAC address of the equipment to be accessed.
In the application, each device to be accessed has a corresponding IP address and MAC address, and the MAC addresses of the devices to be accessed are different, so that when the devices to be accessed are accessed, the corresponding relationship between the IP address and MAC address of the device to be accessed and the location information of the device to be accessed can be stored in order to distinguish the devices of the same type in the smart home system.
In order to access devices in the smart home system and distinguish devices of the same type in the smart home system, on the basis of the foregoing embodiments, in this application, after receiving input information sent by the terminal device, the method further includes:
if the acceleration information and the direction information of the terminal equipment, which are sent by the terminal equipment, are received, determining the motion trail of the terminal equipment according to the acceleration information and the direction information;
the storing of the corresponding relationship between the location information and the device to be accessed includes:
and determining coordinate information corresponding to the position information based on the motion track, and storing the corresponding relation among the coordinate information, the position information and the equipment to be accessed.
In the application, each terminal device has different functions, and some terminal devices have gyroscopes and accelerometers, so that the acceleration and the direction of the terminal device can be determined. If the terminal equipment is provided with a gyroscope and an accelerometer, the terminal equipment can also send acceleration information and direction information of the terminal equipment to the server, and the server determines the motion trail of the terminal equipment according to the received acceleration information and direction information. And the motion trail is expressed in a coordinate system.
In order to further distinguish the devices of the same type in the smart home system, in the application, the coordinate information of the position information carried in the input information in the coordinate system where the motion trail is located may also be determined according to the determined motion trail of the terminal device, and the corresponding relationship between the coordinate information, the position information and the device to be accessed is stored.
In addition, the terminal device can also be used for taking pictures and sending the picture information of the device to be accessed, and when the device is accessed, the corresponding relation between the picture information and the device to be accessed is stored.
Fig. 2 is a deployment diagram of an intelligent home system according to some embodiments of the present application, and as shown in fig. 2, the system includes a home edge computing server, a terminal device, a networked intelligent home device, a home intelligent gateway, a ZigBee access device, a power line carrier access device, a device control instruction cloud platform, and the like.
The home edge computing server is a home master control center and is used for receiving input information sent by the terminal equipment and analyzing the first equipment type and position information of the equipment to be accessed, which are carried in the input information; and simultaneously, receiving equipment information sent by equipment to be accessed, and realizing the access of the equipment according to the input information and the equipment information. The home router is a home router and is responsible for IP address allocation and management of each device in the home. The terminal equipment is used for inputting the first equipment type and the position information of the equipment to be accessed, and if the terminal equipment is provided with a gyroscope and an accelerometer, the gyroscope and the acceleration information are recorded at the same time. Networking wisdom house equipment is the equipment that can network connection and control among the intelligent home systems, for example smart television, intelligent refrigerator, intelligent audio amplifier etc.. The household intelligent gateway is responsible for realizing the conversion between the Internet protocol and the ZigBee protocol and the conversion between the Internet protocol and the household power line carrier communication protocol, and realizes the access and control of intelligent household equipment with low intelligent degree. The ZigBee access device is ZigBee protocol device in an intelligent home system, such as an intelligent curtain control motor, an intelligent water meter and the like. The power line carrier access device is a power line carrier protocol device in a smart home scene, such as a power line carrier intelligent switch, a power line carrier intelligent panel, a power line carrier communication intelligent washing machine, a power line carrier communication intelligent lifting clothes rack and the like. The ZigBee access device and the power line carrier access device can not directly send the device information to the server, but the home intelligent gateway is required to forward the device information to the server. Specifically, if the ZigBee access device sends device information, which is the device information sent by the ZigBee protocol, the home intelligent gateway needs to send the device information to the server through the Internet protocol; if the power line carrier access device sends the device information, the power line carrier access device sends the device information through a home power line carrier communication protocol, the home intelligent gateway needs to send the device information to the server through an Internet protocol.
Fig. 3 is a schematic flowchart of a device access method according to some embodiments of the present application, and as shown in fig. 3, the process includes:
s301: and receiving a device access instruction sent by the terminal device.
S302: receiving first input information sent by terminal equipment and first equipment information sent by equipment to be accessed.
S303: and if the first equipment type carried in the first input information is the same as the second equipment type carried in the first equipment information, storing the corresponding relation between the position information carried in the first input information and the equipment to be accessed.
S304: and if receiving an ending instruction sent by the terminal equipment, not responding to the second input information sent by the terminal equipment and the second equipment information sent by the equipment to be accessed, which are received after receiving the ending instruction.
Fig. 4 is a schematic structural diagram of a device access apparatus provided in the present application, where the apparatus includes:
a receiving module 401, configured to receive input information sent by a terminal device and device information sent by a device to be accessed, where the input information carries a first device type and location information of the device to be accessed, and the device information carries a preset second device type of the device to be accessed;
a processing module 402, configured to store the corresponding relationship between the location information and the device to be accessed if the first device type is the same as the second device type.
In a possible implementation manner, the receiving module 401 is specifically configured to determine, if the input information is received, a first time when the input information is received; and determining a first time receiving range according to the first time and a preset first time interval, and taking the equipment information received in the first time receiving range as the equipment information sent by the equipment to be accessed.
In a possible implementation manner, the receiving module 401 is further configured to not respond to the input information if the device information is not received within the first time receiving range.
In a possible implementation manner, the receiving module 401 is specifically configured to determine, if the device information is received, a second time when the device information is received; and determining a second time receiving range according to the second time and a preset second time interval, and taking the input information received in the second time receiving range as the input information sent by the terminal equipment.
In a possible implementation manner, the receiving module 401 is further configured to not respond to the device information if the input information is not received within the second time receiving range.
In a possible implementation manner, the processing module 402 is specifically configured to determine an IP address and a MAC address of the device to be accessed; and storing the corresponding relation between the position information and the IP address and the MAC address of the equipment to be accessed.
In a possible implementation manner, the receiving module is further configured to determine, if acceleration information and direction information of the terminal device sent by the terminal device are received, a motion trajectory of the terminal device according to the acceleration information and the direction information;
the processing module is specifically configured to determine, based on the motion trajectory, coordinate information corresponding to the position information, and store a corresponding relationship between the coordinate information, the position information, and the device to be accessed.
Fig. 5 is a schematic structural diagram of an electronic device provided in the present application, and on the basis of the foregoing embodiments, the present application further provides an electronic device, as shown in fig. 5, including: the system comprises a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 are communicated with each other through the communication bus 504;
the memory 503 has stored therein a computer program which, when executed by the processor 501, causes the processor 501 to perform the steps of:
receiving input information sent by terminal equipment and equipment information sent by equipment to be accessed, wherein the input information carries a first equipment type and position information of the equipment to be accessed, and the equipment information carries a preset second equipment type of the equipment to be accessed;
and if the first equipment type is the same as the second equipment type, storing the corresponding relation between the position information and the equipment to be accessed.
In a possible implementation manner, the receiving input information sent by the terminal device and device information sent by a device to be accessed includes:
if the input information is received, determining a first time for receiving the input information;
and determining a first time receiving range according to the first time and a preset first time interval, and taking the equipment information received in the first time receiving range as the equipment information sent by the equipment to be accessed.
In one possible embodiment, the method further comprises:
and if the equipment information is not received within the first time receiving range, the input information is not responded.
In a possible implementation manner, the receiving input information sent by the terminal device and device information sent by a device to be accessed includes:
if the equipment information is received, determining second time for receiving the equipment information;
and determining a second time receiving range according to the second time and a preset second time interval, and taking the input information received in the second time receiving range as the input information sent by the terminal equipment.
In one possible embodiment, the method further comprises:
and if the input information is not received within the second time receiving range, not responding to the equipment information.
In a possible implementation manner, the saving the corresponding relationship between the location information and the device to be accessed includes:
determining an IP address and an MAC address of the equipment to be accessed;
and storing the corresponding relation between the position information and the IP address and the MAC address of the equipment to be accessed.
In a possible implementation manner, after receiving the input information sent by the terminal device, the method further includes:
if the acceleration information and the direction information of the terminal equipment, which are sent by the terminal equipment, are received, determining the motion trail of the terminal equipment according to the acceleration information and the direction information;
the storing of the corresponding relationship between the location information and the device to be accessed includes:
and determining coordinate information corresponding to the position information based on the motion trail, and storing the corresponding relation among the coordinate information, the position information and the equipment to be accessed.
Because the principle of solving the problem of the electronic device is similar to the device access method, the implementation of the electronic device may refer to the above embodiment, and repeated parts are not described again.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus. The communication interface 502 is used for communication between the above-described electronic apparatus and other apparatuses. The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor. The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc.
On the basis of the foregoing embodiments, the present application further provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program is run on the processor, the processor is caused to execute the following steps:
receiving input information sent by terminal equipment and equipment information sent by equipment to be accessed, wherein the input information carries a first equipment type and position information of the equipment to be accessed, and the equipment information carries a preset second equipment type of the equipment to be accessed;
and if the first equipment type is the same as the second equipment type, storing the corresponding relation between the position information and the equipment to be accessed.
In a possible implementation manner, the receiving input information sent by the terminal device and device information sent by a device to be accessed includes:
if the input information is received, determining a first time for receiving the input information;
and determining a first time receiving range according to the first time and a preset first time interval, and taking the equipment information received in the first time receiving range as the equipment information sent by the equipment to be accessed.
In one possible embodiment, the method further comprises:
and if the equipment information is not received within the first time receiving range, not responding to the input information.
In a possible implementation manner, the receiving input information sent by the terminal device and device information sent by a device to be accessed includes:
if the equipment information is received, determining a second time for receiving the equipment information;
and determining a second time receiving range according to the second time and a preset second time interval, and taking the input information received in the second time receiving range as the input information sent by the terminal equipment.
In one possible embodiment, the method further comprises:
and if the input information is not received within the second time receiving range, not responding to the equipment information.
In a possible implementation manner, the saving the corresponding relationship between the location information and the device to be accessed includes:
determining the IP address and the MAC address of the equipment to be accessed;
and storing the corresponding relation between the position information and the IP address and the MAC address of the equipment to be accessed.
In a possible implementation manner, after receiving the input information sent by the terminal device, the method further includes:
if acceleration information and direction information of the terminal equipment, which are sent by the terminal equipment, are received, determining a motion track of the terminal equipment according to the acceleration information and the direction information;
the storing of the corresponding relationship between the location information and the device to be accessed includes:
and determining coordinate information corresponding to the position information based on the motion track, and storing the corresponding relation among the coordinate information, the position information and the equipment to be accessed.
Since the principle of solving the problem of the computer readable medium provided above is similar to the device access method, after the processor executes the computer program in the computer readable medium, the implementation steps can be referred to the above embodiments, and repeated parts are not described again.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A device access method, the method comprising:
receiving input information sent by terminal equipment and equipment information sent by equipment to be accessed, wherein the input information carries a first equipment type and position information of the equipment to be accessed, and the equipment information carries a preset second equipment type of the equipment to be accessed;
and if the first equipment type is the same as the second equipment type, storing the corresponding relation between the position information and the equipment to be accessed.
2. The method of claim 1, wherein the receiving the input information sent by the terminal device and the device information sent by the device to be accessed comprises:
if the input information is received, determining a first time for receiving the input information;
and determining a first time receiving range according to the first time and a preset first time interval, and taking the equipment information received in the first time receiving range as the equipment information sent by the equipment to be accessed.
3. The method of claim 2, further comprising:
and if the equipment information is not received within the first time receiving range, not responding to the input information.
4. The method of claim 1, wherein the receiving the input information sent by the terminal device and the device information sent by the device to be accessed comprises:
if the equipment information is received, determining second time for receiving the equipment information;
and determining a second time receiving range according to the second time and a preset second time interval, and taking the input information received in the second time receiving range as the input information sent by the terminal equipment.
5. The method of claim 4, further comprising:
and if the input information is not received in the second time receiving range, the equipment information is not responded.
6. The method of claim 1, wherein the saving the correspondence between the location information and the device to be accessed comprises:
determining an IP address and an MAC address of the equipment to be accessed;
and storing the corresponding relation between the position information and the IP address and the MAC address of the equipment to be accessed.
7. The method of claim 1, wherein after receiving the input information sent by the terminal device, the method further comprises:
if the acceleration information and the direction information of the terminal equipment, which are sent by the terminal equipment, are received, determining the motion trail of the terminal equipment according to the acceleration information and the direction information;
the storing of the corresponding relationship between the location information and the device to be accessed includes:
and determining coordinate information corresponding to the position information based on the motion trail, and storing the corresponding relation among the coordinate information, the position information and the equipment to be accessed.
8. An apparatus for device access, the apparatus comprising:
the terminal equipment comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving input information sent by terminal equipment and equipment information sent by equipment to be accessed, the input information carries a first equipment type and position information of the equipment to be accessed, and the equipment information carries a preset second equipment type of the equipment to be accessed;
and the processing module is used for storing the corresponding relation between the position information and the equipment to be accessed if the first equipment type is the same as the second equipment type.
9. An electronic device, characterized in that the electronic device comprises at least a processor and a memory, the processor being adapted to implement the steps of the device access method of any of claims 1-7 when executing a computer program stored in the memory.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when being executed by a processor, carries out the steps of the device access method according to any one of claims 1 to 7.
CN202110737257.5A 2021-06-30 2021-06-30 Equipment access method, device, equipment and electronic medium Pending CN115550088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110737257.5A CN115550088A (en) 2021-06-30 2021-06-30 Equipment access method, device, equipment and electronic medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110737257.5A CN115550088A (en) 2021-06-30 2021-06-30 Equipment access method, device, equipment and electronic medium

Publications (1)

Publication Number Publication Date
CN115550088A true CN115550088A (en) 2022-12-30

Family

ID=84705693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110737257.5A Pending CN115550088A (en) 2021-06-30 2021-06-30 Equipment access method, device, equipment and electronic medium

Country Status (1)

Country Link
CN (1) CN115550088A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599340A (en) * 2003-09-19 2005-03-23 乐金电子(沈阳)有限公司 Device for specification and presenting same type local network equipment according to position
CN101652978A (en) * 2007-03-29 2010-02-17 皇家飞利浦电子股份有限公司 Use the control system of online of logical address
CN104471956A (en) * 2013-03-29 2015-03-25 松下电器(美国)知识产权公司 Mobile information terminal control method, program, and information provision method
CN105915420A (en) * 2016-06-17 2016-08-31 海信集团有限公司 Adding method and device of smart home devices
CN109660387A (en) * 2018-12-03 2019-04-19 深圳绿米联创科技有限公司 Management method, device, server and the storage medium of configuration data of device
CN112055082A (en) * 2020-09-08 2020-12-08 北京自如信息科技有限公司 Access equipment detection method and device and computer equipment
CN112585906A (en) * 2018-08-30 2021-03-30 昕诺飞控股有限公司 Method of configuring device to be added to wireless network system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599340A (en) * 2003-09-19 2005-03-23 乐金电子(沈阳)有限公司 Device for specification and presenting same type local network equipment according to position
CN101652978A (en) * 2007-03-29 2010-02-17 皇家飞利浦电子股份有限公司 Use the control system of online of logical address
CN104471956A (en) * 2013-03-29 2015-03-25 松下电器(美国)知识产权公司 Mobile information terminal control method, program, and information provision method
CN105915420A (en) * 2016-06-17 2016-08-31 海信集团有限公司 Adding method and device of smart home devices
CN112585906A (en) * 2018-08-30 2021-03-30 昕诺飞控股有限公司 Method of configuring device to be added to wireless network system
CN109660387A (en) * 2018-12-03 2019-04-19 深圳绿米联创科技有限公司 Management method, device, server and the storage medium of configuration data of device
CN112055082A (en) * 2020-09-08 2020-12-08 北京自如信息科技有限公司 Access equipment detection method and device and computer equipment

Similar Documents

Publication Publication Date Title
CN106873553B (en) Industrial internet operating system-based field device control management method and device
CN111830844B (en) Intelligent equipment control method and device and intelligent home control panel
US20180109398A1 (en) Master communication device for a token network
US11761657B2 (en) Data sending method, multi-connected system, electronic device and storage medium
CN105392181A (en) Intelligent equipment networking method and device, and system
CN106789498B (en) Network address allocation method of Modbus communication network, slave node equipment and communication system
CN110691110B (en) Communication method, device, system, terminal, equipment and medium
US11339989B2 (en) Communication method and device for air conditioner, outdoor unit, indoor unit, and air conditioner
CN109525417B (en) Household appliance access method based on internet access, household appliance controller and storage medium
CN115550088A (en) Equipment access method, device, equipment and electronic medium
CN112311633B (en) Distribution network control method, distribution network control device, household appliance and storage medium
CN111511041B (en) Remote connection method and device
CN106028303B (en) Intelligent device discovery method and device
CN113242550A (en) Network distribution method, device, equipment and storage medium
CN103441931B (en) A kind of file transmitting method and device
KR100386599B1 (en) method for separation multiple home network
CN111917886B (en) Intelligent device data migration method and device and intelligent device
CN111988446B (en) Message processing method and device, electronic equipment and storage medium
CN104104594A (en) Methods of transmitting and receiving protocol message of VSU, devices and system
CN113098737B (en) User node admission control method and device and electronic equipment
CN113381916A (en) CAN bus intelligent household management method, device, equipment and storage medium
CN113098795A (en) Reserved bandwidth allocation method and device based on dynamic network in high-speed industrial bus communication system
CN105682173A (en) Network access method and equipment
US10579545B2 (en) Method for accessing a peripheral device by a host device via an access device
CN111258226A (en) Control method, device, system, module, household appliance, communication device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination