[go: up one dir, main page]

CN111770208A - Control method and device for Internet of things equipment - Google Patents

Control method and device for Internet of things equipment Download PDF

Info

Publication number
CN111770208A
CN111770208A CN201910935988.3A CN201910935988A CN111770208A CN 111770208 A CN111770208 A CN 111770208A CN 201910935988 A CN201910935988 A CN 201910935988A CN 111770208 A CN111770208 A CN 111770208A
Authority
CN
China
Prior art keywords
terminal
internet
target
physical position
network connection
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
CN201910935988.3A
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201910935988.3A priority Critical patent/CN111770208A/en
Publication of CN111770208A publication Critical patent/CN111770208A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a control method and device of an internet of things device, and relates to the technical field of computers. One embodiment of the method comprises: receiving network connection data sent by a terminal, and positioning the physical position of the terminal according to the network connection data; determining a target area according to the physical position, and matching target internet of things equipment corresponding to the target area; and receiving user operation data sent by the terminal, and controlling the target Internet of things equipment according to the user operation data. The implementation method can solve the technical problems that the detection speed is low and the detection accuracy cannot be guaranteed.

Description

Control method and device for Internet of things equipment
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for controlling an internet of things device.
Background
The internet of things refers to embedded physical devices, such as automobiles, household appliances and the like, which have computerized systems, such as software, sensors and the like, and are widely applied to network fusion through communication sensing technologies such as intelligent sensing, identification technology, calculation and the like, and therefore, the internet of things is also called as the third wave of development of the world information industry after computers and the internet. In this technique, each device is capable of automatically operating, automatically responding to changes in the environment, and exchanging data with one or more other devices without human intervention.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the equipment is controlled by methods such as living body detection, image acquisition, face recognition and the like, the methods need image acquisition and image analysis, and the defects of low detection speed and incapability of ensuring the detection accuracy exist.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for controlling an internet of things device, so as to solve the technical problems that a detection speed is slow and a detection accuracy cannot be guaranteed.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method for controlling an internet of things device, including:
receiving network connection data sent by a terminal, and positioning the physical position of the terminal according to the network connection data;
determining a target area according to the physical position, and matching target internet of things equipment corresponding to the target area;
and receiving user operation data sent by the terminal, and controlling the target Internet of things equipment according to the user operation data.
Optionally, the network connection data includes a MAC address of the terminal;
positioning the physical location of the terminal according to the network connection data, including:
establishing a mapping relation between a physical position of a terminal and an MAC address;
and matching the physical position of the terminal according to the MAC address and the mapping relation.
Optionally, the network connection data includes an identifier of a first routing module connected to the terminal;
positioning the physical location of the terminal according to the network connection data, including:
establishing a mapping relation between a physical position of a terminal and an identifier of a routing module;
and matching the physical position of the terminal according to the identifier of the first routing module connected with the terminal and the mapping relation.
Optionally, receiving user operation data sent by the terminal, and controlling the target internet of things device according to the user operation data includes:
receiving keyboard click data and/or mouse click data sent by the terminal;
according to the keyboard knocking data and/or the mouse clicking data, calculating the keyboard knocking times and/or the mouse clicking times in unit time;
and matching a target instruction from a preset instruction table according to the keyboard knocking times and/or the mouse clicking times in the unit time, so as to control the target Internet of things equipment to execute target operation.
In addition, according to another aspect of the embodiments of the present invention, there is provided a control apparatus of an internet of things device, including:
the positioning module is used for receiving network connection data sent by a terminal and positioning the physical position of the terminal according to the network connection data;
the matching module is used for determining a target area according to the physical position so as to match target internet of things equipment corresponding to the target area;
and the control module is used for receiving the user operation data sent by the terminal and controlling the target Internet of things equipment according to the user operation data.
Optionally, the network connection data includes a MAC address of the terminal;
the positioning module is further configured to:
establishing a mapping relation between a physical position of a terminal and an MAC address;
and matching the physical position of the terminal according to the MAC address and the mapping relation.
Optionally, the network connection data includes an identifier of a first routing module connected to the terminal;
the positioning module is further configured to:
establishing a mapping relation between a physical position of a terminal and an identifier of a routing module;
and matching the physical position of the terminal according to the identifier of the first routing module connected with the terminal and the mapping relation.
Optionally, the control module is further configured to:
receiving keyboard click data and/or mouse click data sent by the terminal;
according to the keyboard knocking data and/or the mouse clicking data, calculating the keyboard knocking times and/or the mouse clicking times in unit time;
and matching a target instruction from a preset instruction table according to the keyboard knocking times and/or the mouse clicking times in the unit time, so as to control the target Internet of things equipment to execute target operation.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any of the embodiments described above.
According to another aspect of the embodiments of the present invention, there is also provided a computer readable medium, on which a computer program is stored, which when executed by a processor implements the method of any of the above embodiments.
One embodiment of the above invention has the following advantages or benefits: the technical means that the physical position of the terminal is located according to the network connection data, so that the target internet of things equipment corresponding to the target area is matched, and then the target internet of things equipment is controlled according to the user operation data is adopted, and therefore the technical problems that in the prior art, the detection speed is low, and the detection accuracy cannot be guaranteed are solved. The embodiment of the invention does not need to carry out living body detection, image acquisition, face recognition and the like, and reduces the steps of image analysis, so that the method can quickly respond to environmental changes, thereby accurately triggering the control instruction. And the internet of things equipment can be controlled through network connection data and user operation data, and the installation and the deployment of the image acquisition equipment are reduced, so that the equipment investment and the deployment cost are saved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of a main flow of a control method of an internet of things apparatus according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a main flow of a control method of an internet of things apparatus according to one referential embodiment of the present invention;
fig. 3 is a schematic diagram of a main flow of a control method of an internet of things apparatus according to another referential embodiment of the present invention;
fig. 4 is a schematic diagram of main modules of a control device of an internet of things device according to an embodiment of the invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 6 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a control method of an internet of things device according to an embodiment of the present invention. As an embodiment of the present invention, as shown in fig. 1, the method for controlling an internet of things device may include:
step 101, receiving network connection data sent by a terminal, and positioning a physical location of the terminal according to the network connection data.
In the embodiment of the present invention, the terminal may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, an all-in-one machine, or the like. After the server receives the network connection data sent by the terminal, the physical location of the terminal can be located according to the network connection data.
In another embodiment of the present invention, the network connection data includes a Media Access Control (MAC) address of the terminal, and an address used for confirming a location of the network device, where the MAC address is used to uniquely identify a network card in the network, and each network card needs a unique MAC address, so that a physical location of the terminal can be accurately located through the MAC address. Optionally, the positioning the physical location of the terminal according to the network connection data includes: establishing a mapping relation between a physical position of a terminal and an MAC address; and positioning the physical position of the terminal according to the MAC address and the mapping relation. In this embodiment, a mapping relationship between a physical location of a terminal and a MAC address is established in advance, and then the physical location of the terminal is matched from the mapping relationship according to the MAC address.
Taking a desktop in an office area as an example, after the desktop is installed on a station, the physical location of the desktop is generally fixed, so that a mapping relationship between the physical location of each desktop in the office area and the MAC address of each desktop can be established in advance, and then the physical location of the desktop is matched from the mapping relationship according to the MAC address.
In a further embodiment of the invention, the network connection data comprises an identification of a first routing module connected to the terminal. The request of the terminal is routed to the server side through at least one routing module, but because the signal coverage of each routing module is different, the physical position of the terminal can be located by determining the first routing module connected with the terminal. Optionally, the positioning the physical location of the terminal according to the network connection data includes: establishing a mapping relation between a physical position of a terminal and an identifier of a routing module; and positioning the physical position of the terminal according to the identifier of the first routing module connected with the terminal and the mapping relation. In this embodiment, a mapping relationship between a physical location of a terminal and an identifier of a routing module is pre-established, and then the physical location of the terminal is matched from the mapping relationship according to the identifier of a first routing module connected to the terminal. Terminal as
Taking a desktop in an office area as an example, after the desktop is installed on a station, the physical position where the desktop is located is generally fixed and unchanged, and the coverage area of each routing module is different, so that a mapping relationship between the physical position of each desktop in the office area and the identifier of each routing module can be established in advance, and then the physical position of the desktop is matched from the mapping relationship according to the identifier of the first routing module connected with the terminal.
And step 102, determining a target area according to the physical position, so as to match a target internet of things device corresponding to the target area.
Before step 102, a mapping relationship between each region and its corresponding internet-of-things device needs to be established in advance. For a certain area, if the equipment of the internet of things (such as air conditioners, lamps, water dispensers, printers, water heaters and the like) belongs to the area, a mapping relation between the area and the equipment of the internet of things is established.
In step 102, an area to which the terminal belongs is determined according to the physical location of the terminal located in step 102, so that each piece of equipment belonging to the area is matched according to a mapping relation between each area and the corresponding equipment belonging to the area, which is established in advance.
It should be noted that the mapping relationship between each area and the corresponding internet-of-things device can be updated as needed, so as to meet the user requirements. For example, in summer, the internet of things equipment comprises refrigeration equipment but does not comprise heating equipment; however, in winter, the internet of things includes heating equipment but does not include cooling equipment. In the embodiment of the present invention, there may be one or more internet of things devices.
And 103, receiving user operation data sent by the terminal, and controlling the target Internet of things equipment according to the user operation data.
After the target internet-of-things device is determined, if the user performs operations on the terminal, such as clicking a mouse, knocking a keyboard, and the like, the terminal sends the user operation data to the server. And the server receives the user operation data sent by the terminal and then controls the target Internet of things equipment according to the user operation data. In the embodiment of the invention, if a plurality of target internet of things devices are provided, the target internet of things devices can be controlled simultaneously, and the target internet of things devices can be controlled respectively based on different user operation data.
Optionally, step 103 comprises: receiving keyboard click data and/or mouse click data sent by the terminal; according to the keyboard knocking data and/or the mouse clicking data, calculating the keyboard knocking times and/or the mouse clicking times in unit time; and matching a target instruction from a preset instruction table according to the keyboard knocking times and/or the mouse clicking times in the unit time, so as to control the target Internet of things equipment to execute target operation. In the embodiment, when a user clicks a keyboard or clicks a mouse, the terminal sends keyboard click data and/or mouse click data to the server, and the server calculates the number of times of keyboard click and/or mouse click in unit time according to the keyboard click data and/or mouse click data, so that a target instruction is matched in a pre-configured instruction list to control target internet of things equipment to execute target operation.
For example, if the number of times of keyboard strokes in unit time is greater than or equal to a preset threshold value, controlling the air conditioner to start; and if the keyboard knocking times in the unit time are larger than a preset threshold value, controlling the lamp to be turned off. The trigger condition and the corresponding trigger instruction may be configured in the instruction table, and the trigger condition may be a single condition or a combined condition, and the trigger instruction may be one or multiple ones, which is not limited in this embodiment of the present invention. Therefore, the embodiment of the invention can be applied to different scenes, and the instruction list is configured according to the user requirement, so that different internet of things devices can be intelligently controlled.
According to the various embodiments, the invention can be seen in that the physical position of the terminal is located according to the network connection data, so that the target internet of things equipment corresponding to the target area is matched, and then the technical means of controlling the target internet of things equipment according to the user operation data solves the technical problems of low detection speed and incapability of ensuring the detection accuracy in the prior art. The embodiment of the invention does not need to carry out living body detection, image acquisition, face recognition and the like, and reduces the steps of image analysis, so that the method can quickly respond to environmental changes, thereby accurately triggering the control instruction. And the internet of things equipment can be controlled through network connection data and user operation data, and the installation and the deployment of the image acquisition equipment are reduced, so that the equipment investment and the deployment cost are saved.
Fig. 2 is a schematic diagram of a main flow of a control method of an internet of things device according to a referential embodiment of the present invention.
Step 201, a first mapping relation between a physical location where the terminal is located and the MAC address is established, and a second mapping relation between each area and the corresponding internet of things device is established.
Step 202, receiving an MAC address sent by a terminal, and matching a physical location of the terminal according to the MAC address and the first mapping relationship.
Step 203, determining a target area according to the physical position, so as to match a target internet of things device corresponding to the target area according to the second mapping relation.
And 204, receiving keyboard click data and/or mouse click data sent by the terminal.
And step 205, calculating the times of keyboard clicks and/or mouse clicks in unit time according to the keyboard click data and/or the mouse click data.
And step 206, matching a target instruction from a preset instruction list according to the keyboard knocking times and/or the mouse clicking times in the unit time.
And step 207, controlling the target internet of things equipment to execute target operation based on the target instruction.
In addition, in one embodiment of the present invention, specific implementation contents of the control method of the internet of things device are referred to, and detailed descriptions are already provided in the control method of the internet of things device, so that repeated descriptions are not provided herein.
Fig. 3 is a schematic diagram of a main flow of a control method of an internet of things apparatus according to another referential embodiment of the present invention.
Step 301, establishing a third mapping relationship between the physical location of the terminal and the identifier of the routing module, and establishing a second mapping relationship between each area and the corresponding internet of things device.
Step 302, receiving an identifier of a first routing module connected with the terminal, which is sent by the terminal, and matching a physical location of the terminal according to the identifier and the third mapping relationship.
Step 303, determining a target area according to the physical location, so as to match a target internet of things device corresponding to the target area according to the second mapping relationship.
And step 304, receiving keyboard click data and/or mouse click data sent by the terminal.
And 305, calculating the times of keyboard clicks and/or mouse clicks in unit time according to the keyboard click data and/or the mouse click data.
And step 306, matching a target instruction from a preset instruction list according to the keyboard knocking times and/or the mouse clicking times in the unit time.
And 307, controlling the target internet of things equipment to execute target operation based on the target instruction.
In addition, in another embodiment of the present invention, reference is made to specific implementation contents of a control method of an internet of things device, which have been described in detail in the above-mentioned control method of the internet of things device, so that repeated contents are not described herein.
Fig. 4 is a schematic diagram of main modules of a control apparatus of an equipment in an internet of things according to an embodiment of the present invention, and as shown in fig. 4, the control apparatus 400 of the equipment in an internet of things includes a positioning module 401, a matching module 402, and a control module 403. The positioning module 401 is configured to receive network connection data sent by a terminal, and position a physical location of the terminal according to the network connection data; the matching module 402 is configured to determine a target area according to the physical location, so as to match a target internet of things device corresponding to the target area; the control module 403 is configured to receive user operation data sent by the terminal, and control the target internet of things device according to the user operation data.
Optionally, the network connection data includes a MAC address of the terminal;
the positioning module 401 is further configured to:
establishing a mapping relation between a physical position of a terminal and an MAC address;
and matching the physical position of the terminal according to the MAC address and the mapping relation.
Optionally, the network connection data includes an identifier of a first routing module connected to the terminal;
the positioning module 401 is further configured to:
establishing a mapping relation between a physical position of a terminal and an identifier of a routing module;
and matching the physical position of the terminal according to the identifier of the first routing module connected with the terminal and the mapping relation.
Optionally, the control module 403 is further configured to:
receiving keyboard click data and/or mouse click data sent by the terminal;
according to the keyboard knocking data and/or the mouse clicking data, calculating the keyboard knocking times and/or the mouse clicking times in unit time;
and matching a target instruction from a preset instruction table according to the keyboard knocking times and/or the mouse clicking times in the unit time, so as to control the target Internet of things equipment to execute target operation.
According to the various embodiments, the invention can be seen in that the physical position of the terminal is located according to the network connection data, so that the target internet of things equipment corresponding to the target area is matched, and then the technical means of controlling the target internet of things equipment according to the user operation data solves the technical problems of low detection speed and incapability of ensuring the detection accuracy in the prior art. The embodiment of the invention does not need to carry out living body detection, image acquisition, face recognition and the like, and reduces the steps of image analysis, so that the method can quickly respond to environmental changes, thereby accurately triggering the control instruction. And the internet of things equipment can be controlled through network connection data and user operation data, and the installation and the deployment of the image acquisition equipment are reduced, so that the equipment investment and the deployment cost are saved.
The specific implementation of the control device of the internet of things equipment according to the present invention has been described in detail in the above control method of the internet of things equipment, and therefore, the repeated description is omitted here.
Fig. 5 shows an exemplary system architecture 500 of a control method of an internet of things device or a control apparatus of the internet of things device to which an embodiment of the present invention may be applied.
As shown in fig. 5, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 serves to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 501, 502, 503 to interact with a server 504 over a network 504 to receive or send messages, etc. The terminal devices 501, 502, 503 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 501, 502, 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 505 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 501, 502, 503. The background management server may analyze and otherwise process the received data such as the item information query request, and feed back a processing result (for example, target push information, item information — just an example) to the terminal device.
It should be noted that the method for controlling the internet of things device provided by the embodiment of the present invention is generally executed by the server 505, and accordingly, the control apparatus of the internet of things device is generally disposed in the server 505.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 6, a block diagram of a computer system 600 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer programs according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a location module, a matching module, and a control module, where the names of the modules do not in some cases constitute a limitation on the modules themselves.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: receiving network connection data sent by a terminal, and positioning the physical position of the terminal according to the network connection data; determining a target area according to the physical position, and matching target internet of things equipment corresponding to the target area; and receiving user operation data sent by the terminal, and controlling the target Internet of things equipment according to the user operation data.
According to the technical scheme of the embodiment of the invention, the technical means that the physical position of the terminal is positioned according to the network connection data so as to match the target Internet of things equipment corresponding to the target area and then control the target Internet of things equipment according to the user operation data is adopted, so that the technical problems that the detection speed is low and the detection accuracy cannot be ensured in the prior art are solved. The embodiment of the invention does not need to carry out living body detection, image acquisition, face recognition and the like, and reduces the steps of image analysis, so that the method can quickly respond to environmental changes, thereby accurately triggering the control instruction. And the internet of things equipment can be controlled through network connection data and user operation data, and the installation and the deployment of the image acquisition equipment are reduced, so that the equipment investment and the deployment cost are saved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A control method of an Internet of things device is characterized by comprising the following steps:
receiving network connection data sent by a terminal, and positioning the physical position of the terminal according to the network connection data;
determining a target area according to the physical position, and matching target internet of things equipment corresponding to the target area;
and receiving user operation data sent by the terminal, and controlling the target Internet of things equipment according to the user operation data.
2. The method of claim 1, wherein the network connection data includes a MAC address of the terminal;
positioning the physical location of the terminal according to the network connection data, including:
establishing a mapping relation between a physical position of a terminal and an MAC address;
and matching the physical position of the terminal according to the MAC address and the mapping relation.
3. The method of claim 1, wherein the network connection data includes an identification of a first routing module connected to the terminal;
positioning the physical location of the terminal according to the network connection data, including:
establishing a mapping relation between a physical position of a terminal and an identifier of a routing module;
and matching the physical position of the terminal according to the identifier of the first routing module connected with the terminal and the mapping relation.
4. The method according to claim 1, wherein receiving user operation data sent by the terminal, and controlling the target internet of things device according to the user operation data comprises:
receiving keyboard click data and/or mouse click data sent by the terminal;
according to the keyboard knocking data and/or the mouse clicking data, calculating the keyboard knocking times and/or the mouse clicking times in unit time;
and matching a target instruction from a preset instruction table according to the keyboard knocking times and/or the mouse clicking times in the unit time, so as to control the target Internet of things equipment to execute target operation.
5. A control device of an Internet of things device is characterized by comprising:
the positioning module is used for receiving network connection data sent by a terminal and positioning the physical position of the terminal according to the network connection data;
the matching module is used for determining a target area according to the physical position so as to match target internet of things equipment corresponding to the target area;
and the control module is used for receiving the user operation data sent by the terminal and controlling the target Internet of things equipment according to the user operation data.
6. The apparatus of claim 5, wherein the network connection data comprises a MAC address of the terminal;
the positioning module is further configured to:
establishing a mapping relation between a physical position of a terminal and an MAC address;
and matching the physical position of the terminal according to the MAC address and the mapping relation.
7. The apparatus of claim 5, wherein the network connection data includes an identification of a first routing module connected to the terminal;
the positioning module is further configured to:
establishing a mapping relation between a physical position of a terminal and an identifier of a routing module;
and matching the physical position of the terminal according to the identifier of the first routing module connected with the terminal and the mapping relation.
8. The apparatus of claim 5, wherein the control module is further configured to:
receiving keyboard click data and/or mouse click data sent by the terminal;
according to the keyboard knocking data and/or the mouse clicking data, calculating the keyboard knocking times and/or the mouse clicking times in unit time;
and matching a target instruction from a preset instruction table according to the keyboard knocking times and/or the mouse clicking times in the unit time, so as to control the target Internet of things equipment to execute target operation.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201910935988.3A 2019-09-29 2019-09-29 Control method and device for Internet of things equipment Pending CN111770208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910935988.3A CN111770208A (en) 2019-09-29 2019-09-29 Control method and device for Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910935988.3A CN111770208A (en) 2019-09-29 2019-09-29 Control method and device for Internet of things equipment

Publications (1)

Publication Number Publication Date
CN111770208A true CN111770208A (en) 2020-10-13

Family

ID=72718306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910935988.3A Pending CN111770208A (en) 2019-09-29 2019-09-29 Control method and device for Internet of things equipment

Country Status (1)

Country Link
CN (1) CN111770208A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882641A (en) * 2021-03-17 2021-06-01 北京小米移动软件有限公司 Method, device, terminal equipment, server, mouse and medium
CN114124601A (en) * 2021-11-16 2022-03-01 青岛海尔科技有限公司 Terminal device control method, terminal device, control device and storage medium
CN115052404A (en) * 2022-05-27 2022-09-13 上海钧正网络科技有限公司 Internet of things-based light control method and device and storage medium

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030185237A1 (en) * 2000-04-21 2003-10-02 Schneider Automation Inc A method for locating devices within a network system
WO2004057836A1 (en) * 2002-12-20 2004-07-08 Thinprint Gmbh Method and device for printing in communication networks based on the location of terminals that are using said communication network
JP2004297112A (en) * 2003-03-25 2004-10-21 Zenrin Co Ltd Control of network apparatus utilizing positional information of mobile object and utilization of mobile terminal
CN1977494A (en) * 2004-02-11 2007-06-06 方案有限公司 A server, system and method for providing access to a public network through an internal network of a multi-system operator
CN103404088A (en) * 2010-12-31 2013-11-20 派拉蒙电影公司 Voice-over-ip ('voip') systems, components and methods for providing enhanced location information to emergency responders to respond to emergency calls
CN103701857A (en) * 2013-12-06 2014-04-02 周良文 Household appliance sensing control system and method based on mobile control terminal
US20140125464A1 (en) * 2012-11-02 2014-05-08 Huawei Technologies Co., Ltd. Smart remote control
WO2015081720A1 (en) * 2013-12-05 2015-06-11 Tencent Technology (Shenzhen) Company Limited Instant messaging (im) based information recommendation method, apparatus, and terminal
CN104915225A (en) * 2015-05-19 2015-09-16 小米科技有限责任公司 Method and device for controlling intelligent device
WO2015154360A1 (en) * 2014-04-08 2015-10-15 小米科技有限责任公司 Method and device for controlling smart terminal
WO2016023344A1 (en) * 2014-08-15 2016-02-18 小米科技有限责任公司 Method and apparatus for acquiring multimedia data stream
US20160192126A1 (en) * 2014-12-31 2016-06-30 Silver Spring Networks, Inc. System and method for tracking a device
CN205566350U (en) * 2016-04-22 2016-09-07 天津赞普科技股份有限公司 Can fix a position router of traceing back online action
US20160316448A1 (en) * 2013-12-26 2016-10-27 Sony Corporation Information processing apparatus, information processing method, target terminal, communication method, and program
CN106203016A (en) * 2016-06-30 2016-12-07 珠海市魅族科技有限公司 A kind of terminal processing method and equipment
CN106488465A (en) * 2016-10-08 2017-03-08 武汉睿和智云科技有限公司 User location system based on urban cells public wifi hotspot set and localization method
WO2017066988A1 (en) * 2015-10-23 2017-04-27 陈银芳 Mobile phone internet of things control method and system
WO2017076238A1 (en) * 2015-11-05 2017-05-11 丰唐物联技术(深圳)有限公司 Control method and system for smart home
WO2017166674A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Instruction set switching method and device
WO2018039834A1 (en) * 2016-08-28 2018-03-08 刘建林 Air conditioner control method and system based on positioning of mobile phone
CN108427301A (en) * 2018-03-30 2018-08-21 上海思愚智能科技有限公司 Control method, system and the control device of smart home device
CN110286601A (en) * 2019-07-01 2019-09-27 珠海格力电器股份有限公司 Method and device for controlling intelligent household equipment, control equipment and storage medium

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030185237A1 (en) * 2000-04-21 2003-10-02 Schneider Automation Inc A method for locating devices within a network system
WO2004057836A1 (en) * 2002-12-20 2004-07-08 Thinprint Gmbh Method and device for printing in communication networks based on the location of terminals that are using said communication network
JP2004297112A (en) * 2003-03-25 2004-10-21 Zenrin Co Ltd Control of network apparatus utilizing positional information of mobile object and utilization of mobile terminal
CN1977494A (en) * 2004-02-11 2007-06-06 方案有限公司 A server, system and method for providing access to a public network through an internal network of a multi-system operator
CN103404088A (en) * 2010-12-31 2013-11-20 派拉蒙电影公司 Voice-over-ip ('voip') systems, components and methods for providing enhanced location information to emergency responders to respond to emergency calls
US20140125464A1 (en) * 2012-11-02 2014-05-08 Huawei Technologies Co., Ltd. Smart remote control
WO2015081720A1 (en) * 2013-12-05 2015-06-11 Tencent Technology (Shenzhen) Company Limited Instant messaging (im) based information recommendation method, apparatus, and terminal
CN103701857A (en) * 2013-12-06 2014-04-02 周良文 Household appliance sensing control system and method based on mobile control terminal
US20160316448A1 (en) * 2013-12-26 2016-10-27 Sony Corporation Information processing apparatus, information processing method, target terminal, communication method, and program
WO2015154360A1 (en) * 2014-04-08 2015-10-15 小米科技有限责任公司 Method and device for controlling smart terminal
WO2016023344A1 (en) * 2014-08-15 2016-02-18 小米科技有限责任公司 Method and apparatus for acquiring multimedia data stream
US20160192126A1 (en) * 2014-12-31 2016-06-30 Silver Spring Networks, Inc. System and method for tracking a device
CN104915225A (en) * 2015-05-19 2015-09-16 小米科技有限责任公司 Method and device for controlling intelligent device
WO2017066988A1 (en) * 2015-10-23 2017-04-27 陈银芳 Mobile phone internet of things control method and system
WO2017076238A1 (en) * 2015-11-05 2017-05-11 丰唐物联技术(深圳)有限公司 Control method and system for smart home
WO2017166674A1 (en) * 2016-03-31 2017-10-05 乐视控股(北京)有限公司 Instruction set switching method and device
CN205566350U (en) * 2016-04-22 2016-09-07 天津赞普科技股份有限公司 Can fix a position router of traceing back online action
CN106203016A (en) * 2016-06-30 2016-12-07 珠海市魅族科技有限公司 A kind of terminal processing method and equipment
WO2018039834A1 (en) * 2016-08-28 2018-03-08 刘建林 Air conditioner control method and system based on positioning of mobile phone
CN106488465A (en) * 2016-10-08 2017-03-08 武汉睿和智云科技有限公司 User location system based on urban cells public wifi hotspot set and localization method
CN108427301A (en) * 2018-03-30 2018-08-21 上海思愚智能科技有限公司 Control method, system and the control device of smart home device
CN110286601A (en) * 2019-07-01 2019-09-27 珠海格力电器股份有限公司 Method and device for controlling intelligent household equipment, control equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张璠等, 航空工业出版社, pages: 220 *
张璠等: "《物联网技术基础》", 31 May 2018, 航空工业出版社, pages: 220 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882641A (en) * 2021-03-17 2021-06-01 北京小米移动软件有限公司 Method, device, terminal equipment, server, mouse and medium
EP4060965A1 (en) * 2021-03-17 2022-09-21 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for controlling internet of things device, and medium
US11782523B2 (en) 2021-03-17 2023-10-10 Beijing Xiaomi Mobile Software Co., Ltd. Method for controlling Internet of Things device, and terminal device
CN114124601A (en) * 2021-11-16 2022-03-01 青岛海尔科技有限公司 Terminal device control method, terminal device, control device and storage medium
CN115052404A (en) * 2022-05-27 2022-09-13 上海钧正网络科技有限公司 Internet of things-based light control method and device and storage medium

Similar Documents

Publication Publication Date Title
CN106301968B (en) Terminal data processing method, device and system
CN111770208A (en) Control method and device for Internet of things equipment
CN107196848B (en) Information push method and device
CN105389175A (en) Application program sharing method and mobile terminal
CN111104479A (en) Data labeling method and device
CN105335309A (en) Data transmission method and computer
CN110209956B (en) Method, medium, apparatus and computing device for providing reading service
CN110321252B (en) Skill service resource scheduling method and device
CN111756711A (en) Flow control method, device, system and storage medium
CN115344315B (en) Skin switching method and device of applet page and electronic equipment
CN113242331A (en) Different types of address translation methods, different types of address translation devices, different types of computer equipment and different types of storage media
US20190245827A1 (en) Method and apparatus for synchronizing contact information and medium
CN105187562A (en) System and method for operating remote file
CN112667368A (en) Task data processing method and device
US20210176186A1 (en) Resource processing method and system, storage medium and electronic device
CN113312553A (en) Method and device for determining user label
WO2020000657A1 (en) Method and apparatus for establishing operation and maintenance monitoring connection, terminal device, and medium
CN113220342A (en) Centralized configuration method and device, electronic equipment and storage medium
JP2021170319A (en) Method and device for acquiring information
CN109087097B (en) Method and device for updating same identifier of chain code
CN110362297B (en) Element ordering method and device
CN110796137A (en) Method and device for identifying image
CN113535020B (en) Method, apparatus, device, medium and product for generating application icons
CN111833036B (en) Method, apparatus, device and computer readable medium for judging repeat transaction
CN111338642B (en) Method, device, terminal and storage medium for determining application download path

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201013

RJ01 Rejection of invention patent application after publication