CN112637221B - Equipment control method and device - Google Patents

Equipment control method and device Download PDF

Info

Publication number
CN112637221B
CN112637221B CN202011569015.1A CN202011569015A CN112637221B CN 112637221 B CN112637221 B CN 112637221B CN 202011569015 A CN202011569015 A CN 202011569015A CN 112637221 B CN112637221 B CN 112637221B
Authority
CN
China
Prior art keywords
app
edge control
authentication request
cloud server
authentication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011569015.1A
Other languages
Chinese (zh)
Other versions
CN112637221A (en
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011569015.1A priority Critical patent/CN112637221B/en
Publication of CN112637221A publication Critical patent/CN112637221A/en
Application granted granted Critical
Publication of CN112637221B publication Critical patent/CN112637221B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a device control method and a device, wherein the method comprises the following steps: receiving a multicast message which is broadcasted by the controlled equipment and used for triggering authentication; sending an authentication request to a cloud server corresponding to the controlled device according to the multicast message; receiving an application program APP sent by the cloud server after authentication is carried out according to the authentication request and the authentication is passed; according to the APP control method, the controlled device can solve the problem that workload of control manufacturers is very large for various devices in a cross-platform control device mode in the related technology, and for different devices, the control manufacturers do not need to care about specific interaction processes among the devices, and can control the device through the APP control device provided by the cloud server corresponding to the device, so that convenience of cross-manufacturer device control is realized.

Description

Equipment control method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a device control method and apparatus.
Background
The existing cross-platform control equipment solution method generally comprises cloud interconnection and intercommunication, equipment integration controlled equipment and a general interconnection and intercommunication protocol, the method needs to process a model and a control flow for each equipment, and has no problem for controlling a few equipment, but has very large workload for control manufacturers for various kinds of equipment.
Aiming at the problem that the mode of controlling equipment across platforms in the related art has great workload for controlling a plurality of kinds of equipment and control manufacturers, no solution is provided.
Disclosure of Invention
The embodiment of the invention provides a device control method and device, which at least solve the problem that the workload of a control manufacturer is very large for various devices in a cross-platform device control mode in the related technology.
According to an embodiment of the present invention, there is provided an apparatus control method applied to an edge control apparatus, including:
receiving a multicast message which is broadcasted by the controlled equipment and used for triggering authentication;
sending an authentication request to a cloud server corresponding to the controlled device according to the multicast message;
and receiving an Application program APP (Application) which is sent after the cloud server carries out authentication according to the authentication request and passes the authentication so as to control the controlled equipment through the APP.
Optionally, the receiving of the multicast message broadcasted by the controlled device for triggering authentication includes:
and receiving a multicast message broadcasted by the controlled device and used for acquiring the device with the edge control capability.
Optionally, sending an authentication request to the cloud server corresponding to the controlled device according to the multicast message includes:
authenticating a request to a cloud server corresponding to the vendor information of the controlled device, wherein the authentication request at least carries one of the following information: device identification information, computing capability information, storage size information, port information.
Optionally, controlling the controlled device according to the APP includes:
acquiring an installation package of the APP from the cloud server;
installing the APP according to the installation package;
and controlling the controlled equipment according to the installed APP.
According to another embodiment of the present invention, there is also provided an apparatus control method applied to a cloud server, including:
receiving an authentication request sent by one or more edge control devices, wherein the authentication request is sent by the one or more edge control devices after receiving a multicast message which is broadcasted by the devices and used for triggering authentication;
authenticating the one or more edge control devices according to the authentication request;
after the authentication is passed, sending an application program APP to a target device in the one or more edge control devices, where the APP is used to instruct the device to control the controlled device.
Optionally, before sending the APP to one target device of the one or more edge control devices, the method further includes:
if one edge control device is available, determining that the edge control device is the target device;
if the number of the edge control devices is multiple, selecting the target device from the multiple edge control devices according to the authentication request, wherein the authentication request carries one or more of the following information: device identification information, computing capability information, storage capacity information, port information.
Optionally, selecting the target device from the plurality of edge control devices according to the authentication request includes:
respectively determining the weighted sum of the computing capacity and the storage size in a plurality of edge control devices of which the port information supports control of the controlled device;
and selecting the edge control device with the largest weighted sum from the plurality of edge control devices as the target device.
Optionally, the multicast message is used to acquire a device with edge control capability, and the multicast message carries a device identifier and vendor information of the controlled device.
According to another embodiment of the present invention, there is also provided an apparatus control method applied to a controlled apparatus, the method including:
acquiring a multicast message for triggering authentication;
the multicast message is broadcasted, wherein the multicast message is used for instructing one or more edge control devices to send an authentication request to a cloud server, the cloud server is used for authenticating the one or more edge control devices according to the authentication request, and after the authentication is passed, an application program APP is sent to a target device in the one or more edge control devices, and the APP is used for instructing the target device to control the controlled device.
Optionally, broadcasting the multicast message includes:
broadcasting the multicast message for acquiring edge control capable devices.
According to another embodiment of the present invention, there is also provided an apparatus control device applied to an edge control apparatus, including:
the first receiving module is used for receiving a multicast message which is broadcasted by the controlled equipment and used for triggering authentication;
a first sending module, configured to send an authentication request to a cloud server corresponding to the controlled device according to the multicast message;
and the second receiving module is used for receiving the application program APP which is sent after the cloud server carries out authentication according to the authentication request and passes the authentication so as to control the controlled equipment through the APP.
Optionally, the first receiving module is further configured to
And receiving a multicast message broadcasted by the controlled device and used for acquiring the device with the edge control capability.
Optionally, the first sending module is further configured to
Authenticating a request to a cloud server corresponding to the vendor information of the controlled device, wherein the authentication request at least carries one of the following information: device identification information, computing capability information, storage size information, port information.
Optionally, the control module comprises:
the obtaining sub-module is used for obtaining the installation package of the APP from the cloud server;
the installation submodule is used for installing the APP according to the installation package;
and the control submodule is used for controlling the controlled equipment according to the installed APP.
According to another embodiment of the present invention, there is also provided an apparatus control device applied to a cloud server, including:
a third receiving module, configured to receive an authentication request sent by one or more edge control devices, where the authentication request is sent by the one or more edge control devices after receiving a multicast message broadcasted by a device for triggering authentication;
the authentication module is used for authenticating the one or more edge control devices according to the authentication request;
and a second sending module, configured to send an APP to a target device of the one or more edge control devices after the authentication is passed, where the APP is used to instruct the target device to control the controlled device.
Optionally, the apparatus further comprises:
a selecting module, configured to determine that an edge control device is the target device if there is one edge control device;
if the number of the edge control devices is multiple, selecting the target device from the multiple edge control devices according to the authentication request, wherein the authentication request carries one or more of the following information: device identification information, computing capability information, storage capacity information, port information.
Optionally, the selecting module includes:
a determining submodule, configured to determine, in the plurality of edge control devices whose port information supports control of the controlled device, a weighted sum of the computing capability and the storage size according to a preset weight coefficient;
and the selection submodule is used for selecting the edge control equipment with the largest weighted sum from the plurality of edge control equipment as the target equipment.
Optionally, the multicast message is used to acquire a device with edge control capability, and the multicast message carries a device identifier and vendor information of the controlled device.
According to another embodiment of the present invention, there is also provided an apparatus control device applied to a controlled apparatus, the apparatus including:
the acquisition module is used for acquiring a multicast message for triggering authentication;
the broadcast module is configured to broadcast the multicast message, where the multicast message is used to instruct one or more edge control devices to send an authentication request to a cloud server, the cloud server is configured to authenticate the one or more edge control devices according to the authentication request, and after the authentication is passed, send an application APP to one target device of the one or more edge control devices, where the APP is used to instruct the target device to control the controlled device.
Optionally, the broadcasting module is further configured to broadcast the multicast message for acquiring a device with edge control capability.
There is also provided, in accordance with another embodiment of the present invention, an apparatus control system including: one or more edge control devices, a cloud server, and a controlled device, wherein,
the controlled device is used for broadcasting a multicast message for triggering authentication;
the one or more edge control devices are used for sending an authentication request to the cloud server after receiving the multicast message;
the cloud server is configured to authenticate the one or more edge control devices according to the authentication request, and send an APP to a target device of the one or more edge control devices after the authentication is passed, where the APP is used to instruct the target device to control the controlled device.
Optionally, the controlled device is further configured to broadcast the multicast message for acquiring a device with edge control capability; and/or
The cloud server is further configured to determine that the edge control device is the target device if one edge control device is provided;
if the number of the edge control devices is multiple, selecting the target device from the multiple edge control devices according to the authentication request, wherein the authentication request carries one or more of the following information: device identification information, computing capability information, storage capacity information, port information.
Optionally, the cloud server is further configured to determine, according to a preset weight coefficient, a weighted sum of the computing capability and the storage size in the plurality of edge control devices whose port information supports control of the controlled device, and select an edge control device with a largest weighted sum from the plurality of edge control devices as the target device.
According to a further embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above-described method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
The invention receives the multicast message which is broadcasted by the controlled equipment and used for triggering the authentication; sending an authentication request to a cloud server corresponding to the controlled device according to the multicast message; receiving the cloud server, authenticating according to the authentication request, authenticating the application program APP sent after passing, and controlling the controlled equipment through the APP, so that the problem that the workload of a control manufacturer is very large for various kinds of equipment in a cross-platform control equipment mode in the related technology can be solved, for different equipment, the control manufacturer does not need to care about the specific interactive process among the equipment, and the convenience of cross-manufacturer equipment control can be realized through the APP control equipment provided by the cloud server corresponding to the equipment.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention and do not constitute a limitation of the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal of an apparatus control method of an embodiment of the present invention;
FIG. 2 is a first flowchart of a device control method according to an embodiment of the present invention;
FIG. 3 is a second flowchart of a device control method according to an embodiment of the present invention;
fig. 4 is a flowchart three of an apparatus control method according to an embodiment of the present invention;
FIG. 5 is an architectural diagram of a device control according to an embodiment of the present invention;
FIG. 6 is a flow chart of device control according to an embodiment of the present invention;
FIG. 7 is a first block diagram of a device control apparatus according to an embodiment of the present invention;
FIG. 8 is a block diagram two of a device control apparatus according to an embodiment of the present invention;
fig. 9 is a block diagram three of the appliance control device according to the embodiment of the present invention;
fig. 10 is a block diagram of a device control system according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the drawings and embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking a mobile terminal as an example, fig. 1 is a hardware structure block diagram of the mobile terminal of the device control method according to the embodiment of the present invention, as shown in fig. 1, the mobile terminal may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, and optionally, the mobile terminal may further include a transmission device 106 for a communication function and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the device control method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmitting device 106 may be a Radio FrequeNcy (RF) module, which is used to communicate with the internet via wireless.
Based on the foregoing mobile terminal or network architecture, in this embodiment, a device control method is provided, and fig. 2 is a first flowchart of the device control method according to the embodiment of the present invention, as shown in fig. 2, applied to an edge control device, where the flowchart includes the following steps:
step S202, receiving multicast information which is broadcasted by the controlled equipment and used for triggering authentication;
in an embodiment of the present invention, the step S202 may specifically include: and receiving a multicast message which is broadcasted by the controlled equipment and is used for acquiring the equipment with the edge control capability, wherein the multicast message carries the equipment identifier and/or the manufacturer information of the controlled equipment.
Step S204, an authentication request is sent to a cloud server corresponding to the controlled device according to the multicast message;
in an embodiment of the present invention, the step S204 may specifically include: and authenticating a request to a cloud server corresponding to the manufacturer information of the controlled device, wherein the authentication request at least carries one of the following information: device identification information, computing capability information, storage size information, port information.
And step S206, receiving an application APP sent by the cloud server after the cloud server authenticates according to the authentication request and passes the authentication, so as to control the controlled device through the APP.
After receiving the authentication request, the cloud server authenticates the device, specifically, the authentication such as validity can be performed according to the authentication request in the authentication request, and the APP is sent to the device after the authentication is passed.
In an embodiment of the present invention, the step S206 may specifically include: the installation package of the APP is obtained from the cloud server, the APP is installed according to the installation package, the controlled device is controlled according to the installed APP, namely, the controlled device can be controlled through the application program by installing the application program of the controlled device.
Through the steps S202 to S208, the problem that the workload of a control manufacturer is very large for various devices in a cross-platform control device mode in the related technology can be solved, for different devices, the control manufacturer can control the APP control device provided by the cloud server corresponding to the device without paying attention to the specific interaction process between the devices, and the convenience of cross-manufacturer device control is realized.
Example 2
According to another embodiment of the present invention, there is also provided an apparatus control method, and fig. 3 is a second flowchart of the apparatus control method according to the embodiment of the present invention, as shown in fig. 3, applied to a cloud server, where the flowchart includes the following steps:
step S302, receiving an authentication request sent by one or more edge control devices, wherein the authentication request is sent by the one or more edge control devices after receiving a multicast message for triggering authentication broadcast by the devices;
in this embodiment of the present invention, the multicast message is used to acquire a device with an edge control capability, where the multicast message carries a device identifier and vendor information of the controlled device, and may specifically be a specific Uniform Resource Locator (Uniform Resource Locator, abbreviated as URL).
Step S304, authenticating the one or more edge control devices according to the authentication request;
in the step S304, the authentication request sent by one or more edge control devices carries an authentication request of an edge control device, and the edge control device may be authenticated according to the authentication request.
Step S306, after the authentication is passed, sending an application APP to a target device in the one or more edge control devices, where the APP is used to instruct the target device to control the controlled device.
It should be noted that the target device may be any one of a plurality of devices, and may be randomly selected, or of course, an optimal or better edge control device may be selected from a plurality of edge control devices as the target device, that is, the target device may control the controlled device.
Through the steps S302 to S306, the problem that the workload of a control manufacturer is very large for various devices in a cross-platform control device mode in the related technology can be solved, for different devices, the control manufacturer can control the APP control device provided by the cloud server corresponding to the device without paying attention to the specific interaction process between the devices, and the convenience of cross-manufacturer device control is realized.
In an optional embodiment, before sending the APP to a target device of the edge control devices, selecting the target device from the edge control devices according to the authentication request, and further, if there is one edge control device, determining that the edge control device is the target device; if the number of the edge control devices is multiple, determining the weighted sum of the computing capacity and the storage size according to a preset weight coefficient in the edge control devices of which the port information supports the control of the controlled device; selecting the edge control device with the largest weighted sum as the target device from the plurality of edge control devices, wherein the authentication request carries one or more combinations of the following information: device identification information, computing capability information, storage capacity information, port information.
Example 3
According to another embodiment of the present invention, there is also provided an apparatus control method applied to a controlled apparatus, and fig. 4 is a flowchart three of the apparatus control method according to the embodiment of the present invention, as shown in fig. 4, the method includes:
step S402, acquiring multicast information for triggering authentication;
step S404, broadcasting the multicast message, where the multicast message is used to instruct one or more edge control devices to send an authentication request to a cloud server, the cloud server is used to authenticate the one or more edge control devices according to the authentication request, and after the authentication is passed, an application APP is sent to a target device of the one or more edge control devices, where the APP is used to instruct the target device to control the controlled device.
In this embodiment of the present invention, the step S404 may specifically include: and broadcasting the multicast message for acquiring the equipment with the edge control capability, wherein the multicast message carries the equipment identifier and/or the manufacturer information of the controlled equipment.
Through the steps S402 to S404, the problem that the workload of a control manufacturer is very large for various devices in a cross-platform control device mode in the related technology can be solved, for different devices, the control manufacturer can control the APP control device provided by the cloud server corresponding to the device without paying attention to the specific interaction process between the devices, and the convenience of cross-manufacturer device control is realized.
For different devices, a control manufacturer does not need to care about a specific interaction process between the devices, and only needs to care about the security of apps provided by the device manufacturer and the reliability of the devices. The standards are the same for different devices, and the model and the interconnection mechanism do not need to be corresponding according to different devices.
Fig. 5 is an architecture diagram of device control according to an embodiment of the present invention, as shown in fig. 5, the architecture diagram includes a device of vendor a, a device of vendor B (as a control end, resources are sufficient, and APPs (applications such as a background program or a front end interface) provided by vendor a can be provided and installed in a virtualized manner), and a cloud of vendor a stores applications such as a control program or an interface of a controlled device.
The controlled device multicast discovers the device capable of providing edge control, B acquires a controlled device control program and installs APP2 (for example, docker mirror image) after the cloud server passes authentication, and then B can control the controlled device through the APP 2. Fig. 6 is a flowchart of device control according to an embodiment of the present invention, as shown in fig. 6, including:
step S601, the controlled device broadcasts a multicast message, wherein the multicast message can be a specific URL, is used for acquiring a device with edge control capability and carries necessary information such as a device ID, a manufacturer name and the like;
step S602, the edge control equipment authenticates at the cloud server;
step S603, after the authentication is successful, the edge control device sends an authentication request to the cloud server, wherein the authentication request carries necessary information such as computing capacity, storage size and port;
step S604, the cloud server analyzes the optimal edge control device according to the capacity return value and the provided port;
step S605, the cloud server issues the APP to the edge control equipment;
in step S606, the edge control device may control the controlled device after being installed.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 4
In this embodiment, an apparatus control device is further provided, and the apparatus control device is used to implement the foregoing embodiments and preferred embodiments, and the description of the apparatus control device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a first block diagram of the device control apparatus according to the embodiment of the present invention, as shown in fig. 7, applied to an edge control device, including:
a first receiving module 72, configured to receive a multicast message broadcasted by a controlled device for triggering authentication;
a first sending module 74, configured to send an authentication request to a cloud server corresponding to the controlled device according to the multicast message;
and a second receiving module 76, configured to receive the APP sent after the cloud server performs authentication according to the authentication request and passes authentication, so as to control the controlled device through the APP.
Optionally, the first receiving module 72 is further configured to
And receiving the multicast message broadcasted by the controlled device and used for acquiring the device with the edge control capability.
Optionally, the first sending module 74 is further configured to
And authenticating a request to a cloud server corresponding to the manufacturer information of the controlled device, wherein the authentication request at least carries one of the following information: device identification information, computing capability information, storage size information, port information.
Example 5
According to another embodiment of the present invention, there is further provided an apparatus control device, and fig. 8 is a second block diagram of the apparatus control device according to the embodiment of the present invention, as shown in fig. 8, applied to a cloud server, and including:
a third receiving module 82, configured to receive an authentication request sent by one or more edge control devices, where the authentication request is sent by the one or more edge control devices after receiving a multicast message broadcasted by the device to trigger authentication;
an authentication module 84 for authenticating the one or more edge control devices according to the authentication request;
and a second sending module 86, configured to send an application APP to a target device of the one or more edge control devices after the authentication is passed, where the APP is used to instruct the target device to control the controlled device.
Optionally, the apparatus further comprises:
a selecting module, configured to select the target device from the multiple edge control devices according to the authentication request, where the authentication request at least carries one of the following information: device identification information, computing capability information, storage size information, port information.
Optionally, the selecting module includes:
a determining submodule, configured to determine, in a plurality of edge control devices whose port information supports control of the controlled device, a weighted sum of the computing capability and the storage size according to a preset weight coefficient;
and the selection submodule is used for selecting the edge control device with the largest weighted sum from the plurality of edge control devices as the target device.
Optionally, the multicast message is used to acquire a device with edge control capability, and the multicast message carries a device identifier and/or vendor information of the controlled device.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 6
According to another embodiment of the present invention, there is also provided an apparatus control device applied to a controlled apparatus, and fig. 9 is a block diagram three of the apparatus control device according to the embodiment of the present invention, as shown in fig. 9, the apparatus includes:
an obtaining module 92, configured to obtain a multicast message for triggering authentication;
a broadcasting module 94, configured to broadcast the multicast message, where the multicast message is used to instruct one or more edge control devices to send an authentication request to a cloud server, the cloud server is used to authenticate the one or more edge control devices according to the authentication request, and after the authentication is passed, send an application APP to a target device of the one or more edge control devices, where the APP is used to instruct the target device to control the controlled device.
Optionally, the broadcasting module is further configured to broadcast the multicast message for acquiring a device with edge control capability.
Example 7
There is also provided an appliance control system according to another embodiment of the present invention, and fig. 10 is a block diagram of an appliance control system according to an embodiment of the present invention, as shown in fig. 10, the system including: a controlled device 102, one or more edge control devices 104, and a cloud server 106, wherein,
the controlled device 102 is configured to broadcast a multicast message for triggering authentication;
the one or more edge control devices 104 are configured to send an authentication request to the cloud server after receiving the multicast message;
the cloud server 106 is configured to authenticate the one or more edge control devices according to the authentication request, and send an APP to a target device of the one or more edge control devices after the authentication is passed, where the APP is used to instruct the target device to control the controlled device.
Optionally, the controlled device 102 is further configured to broadcast the multicast message for acquiring a device with edge control capability; and/or
The cloud server 106 is further configured to determine that the edge control device is the target device if there is one edge control device;
if the number of the edge control devices is multiple, selecting the target device from the multiple edge control devices according to the authentication request, wherein the authentication request carries one or more of the following information: device identification information, computing capability information, storage capacity information, port information.
Optionally, the cloud server 106 is further configured to determine, according to a preset weight coefficient, a weighted sum of the computing capability and the storage size in the plurality of edge control devices whose port information supports control of the controlled device, and select an edge control device with a largest weighted sum from the plurality of edge control devices as the target device.
Example 8
An embodiment of the present invention further provides a storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps in any of the method embodiments described above when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s11, receiving a multicast message which is broadcasted by the controlled equipment and used for triggering authentication;
s12, sending an authentication request to a cloud server corresponding to the controlled device according to the multicast message;
and S13, receiving an application program APP which is sent after the cloud server carries out authentication according to the authentication request and passes the authentication, so as to control the controlled equipment through the APP.
Optionally, in this embodiment, the storage medium may be further configured to store a computer program for executing the following steps:
s21, receiving an authentication request sent by one or more edge control devices, wherein the authentication request is sent by the one or more edge control devices after receiving a multicast message which is broadcasted by the devices and used for triggering authentication;
s22, authenticating the one or more edge control devices according to the authentication request;
and S23, after the authentication is passed, sending an application program APP to a target device in the one or more edge control devices, wherein the APP is used for indicating the target device to control the controlled device.
Optionally, in this embodiment, the storage medium may be further configured to store a computer program for executing the following steps:
s31, acquiring a multicast message for triggering authentication;
and S32, broadcasting the multicast message, wherein the multicast message is used for instructing one or more edge control devices to send an authentication request to a cloud server, the cloud server is used for authenticating the one or more edge control devices according to the authentication request, and after the authentication is passed, an application program APP is sent to a target device in the one or more edge control devices, and the APP is used for instructing the target device to control the controlled device.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-ONly Memory (ROM), a RaNdom Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Example 9
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s11, receiving a multicast message which is broadcasted by the controlled equipment and used for triggering authentication;
s12, sending an authentication request to a cloud server corresponding to the controlled device according to the multicast message;
and S13, receiving an application program APP which is sent after the cloud server carries out authentication according to the authentication request and passes the authentication, so as to control the controlled equipment through the APP.
Optionally, in this embodiment, the processor may be further configured to execute, by the computer program, the following steps:
s21, receiving an authentication request sent by one or more edge control devices, wherein the authentication request is sent by the one or more edge control devices after receiving a multicast message for triggering authentication broadcast by the devices;
s22, authenticating the one or more edge control devices according to the authentication request;
and S23, after the authentication is passed, sending an application program APP to a target device in the one or more edge control devices, wherein the APP is used for indicating the target device to control the controlled device.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s31, acquiring a multicast message for triggering authentication;
and S32, broadcasting the multicast message, wherein the multicast message is used for instructing one or more edge control devices to send an authentication request to a cloud server, the cloud server is used for authenticating the one or more edge control devices according to the authentication request, and after the authentication is passed, an application program APP is sent to a target device in the one or more edge control devices, and the APP is used for instructing the target device to control the controlled device.
Optionally, for a specific example in this embodiment, reference may be made to the examples described in the above embodiment and optional implementation, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (16)

1. An apparatus control method, applied to an edge control apparatus, the method comprising:
receiving a multicast message which is broadcasted by the controlled equipment and used for triggering authentication;
sending an authentication request to a cloud server corresponding to the controlled device according to the multicast message, wherein the cloud server stores an application program APP of the controlled device, and the authentication request at least carries one of the following information: device identification information, computing capability information, storage size information, and port information;
and receiving an application program APP sent after the cloud server authenticates one or more edge control devices according to the authentication request and the authentication is passed, and virtualizing and installing the APP so as to control the controlled device through the APP.
2. The method of claim 1, wherein receiving the multicast message broadcast by the controlled device for triggering authentication comprises:
and receiving a multicast message which is broadcasted by the controlled device and is used for acquiring the device with the edge control capability.
3. The method according to claim 2, wherein sending an authentication request to a cloud server corresponding to the controlled device according to the multicast message comprises:
and sending the authentication request to a cloud server corresponding to the manufacturer information of the controlled equipment.
4. An equipment control method is applied to a cloud server, and comprises the following steps:
receiving an authentication request sent by one or more edge control devices, wherein the authentication request is sent by the one or more edge control devices after receiving a multicast message which is broadcasted by a controlled device and used for triggering authentication, and the authentication request carries one or more of the following information: device identification information, computing capacity information, storage capacity information, and port information;
authenticating the one or more edge control devices according to the authentication request;
after the authentication is passed, sending an application program APP to a target device in the one or more edge control devices, where the APP is used to instruct the target device to control the controlled device, the APP is stored in a cloud server, and the target device virtualizes and installs the APP after receiving the APP.
5. The method of claim 4, wherein before sending the application APP to the target device of the one or more edge control devices, the method further comprises:
if one edge control device is available, determining that the edge control device is the target device;
and if the number of the edge control devices is multiple, selecting the target device from the multiple edge control devices according to the authentication request.
6. The method of claim 5, wherein selecting the target device from the plurality of edge control devices according to the authentication request comprises:
determining a weighted sum of the computing capacity and the storage size according to a preset weight coefficient in a plurality of edge control devices of which the port information supports control of the controlled device;
and selecting the edge control device with the largest weighted sum from the plurality of edge control devices as the target device.
7. An equipment control method is applied to a controlled equipment, and comprises the following steps:
acquiring a multicast message for triggering authentication;
broadcasting the multicast message, wherein the multicast message is used for instructing one or more edge control devices to send an authentication request to a cloud server, the cloud server is used for authenticating the one or more edge control devices according to the authentication request, and after the authentication is passed, sending an application program (APP) to a target device in the one or more edge control devices, wherein the authentication request carries one or more of the following information: the device comprises device identification information, computing capacity information, storage capacity information and port information, wherein the APP is used for indicating the target device to control the controlled device, the APP is stored in the cloud server, and the target device is installed in a virtualization mode after receiving the APP.
8. The method of claim 7, wherein broadcasting the multicast message comprises:
broadcasting the multicast message for acquiring edge control capable devices.
9. An apparatus control device, applied to an edge control apparatus, comprising:
the first receiving module is used for receiving a multicast message which is broadcasted by the controlled equipment and used for triggering authentication;
a first sending module, configured to send an authentication request to a cloud server corresponding to the controlled device according to the multicast message, where the cloud server stores an application APP of the controlled device, and the authentication request at least carries one of the following information: device identification information, computing capability information, storage size information, and port information;
and the second receiving module is used for receiving an application program APP which is sent after the cloud server authenticates one or more edge control devices according to the authentication request and passes the authentication, and virtualizing and installing the APP so as to control the controlled device through the APP.
10. An apparatus control device, applied to a cloud server, includes:
a third receiving module, configured to receive an authentication request sent by one or more edge control devices, where the authentication request is sent by the one or more edge control devices after receiving a multicast message broadcasted by a device for triggering authentication, and the authentication request carries one or a combination of more of the following information: device identification information, computing capacity information, storage capacity information, and port information;
the authentication module is used for authenticating the one or more edge control devices according to the authentication request;
and a second sending module, configured to send an APP to a target device of the one or more edge control devices after the authentication is passed, where the APP is used to instruct the target device to control a controlled device, the APP is stored in a cloud server, and the target device virtualizes and installs the APP after receiving the APP.
11. An apparatus control device, applied to a controlled apparatus, the device comprising:
the acquisition module is used for acquiring a multicast message for triggering authentication;
a broadcasting module, configured to broadcast the multicast message, where the multicast message is used to instruct one or more edge control devices to send an authentication request to a cloud server, the cloud server is used to authenticate the one or more edge control devices according to the authentication request, and after the authentication is passed, send an application APP to a target device in the one or more edge control devices, where the authentication request carries a combination of one or more of the following information: the device comprises device identification information, computing capacity information, storage capacity information and port information, wherein the APP is used for indicating the target device to control the controlled device, the APP is stored in the cloud server, and the target device is installed in a virtualization mode after receiving the APP.
12. An appliance control system, the system comprising: one or more edge control devices, a cloud server, and a controlled device, wherein,
the controlled device is used for broadcasting a multicast message for triggering authentication;
the one or more edge control devices are configured to send an authentication request to the cloud server after receiving the multicast message, where the authentication request carries one or a combination of more of the following information: device identification information, computing capacity information, storage capacity information, and port information;
the cloud server is configured to authenticate the one or more edge control devices according to the authentication request, and send an APP to a target device of the one or more edge control devices after the authentication is passed, where the APP is used to instruct the target device to control the controlled device, the APP is stored in the cloud server, and the target device virtualizes and installs the APP after receiving the APP.
13. The system of claim 12,
the controlled device is further configured to broadcast the multicast message for acquiring a device with edge control capability; and/or
The cloud server is further configured to determine that the edge control device is the target device if one edge control device is provided;
and if the number of the edge control devices is multiple, selecting the target device from the multiple edge control devices according to the authentication request.
14. The system of claim 13,
the cloud server is further configured to determine, according to a preset weight coefficient, a weighted sum of the computing capability and the storage size in the plurality of edge control devices whose port information supports control of the controlled device, and select an edge control device with a largest weighted sum from the plurality of edge control devices as the target device.
15. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the method of any one of claims 1 to 3, 4 to 6, 7 to 8 when executed.
16. An electronic device comprising a memory and a processor, wherein the memory has a computer program stored therein, and the processor is configured to execute the computer program to perform the method of any one of claims 1 to 3, 4 to 6, and 7 to 8.
CN202011569015.1A 2020-12-25 2020-12-25 Equipment control method and device Active CN112637221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011569015.1A CN112637221B (en) 2020-12-25 2020-12-25 Equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011569015.1A CN112637221B (en) 2020-12-25 2020-12-25 Equipment control method and device

Publications (2)

Publication Number Publication Date
CN112637221A CN112637221A (en) 2021-04-09
CN112637221B true CN112637221B (en) 2022-10-14

Family

ID=75325205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011569015.1A Active CN112637221B (en) 2020-12-25 2020-12-25 Equipment control method and device

Country Status (1)

Country Link
CN (1) CN112637221B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779516B (en) * 2021-06-29 2023-08-18 青岛海尔科技有限公司 Equipment control method and device, storage medium and electronic device
CN113596013B (en) * 2021-07-26 2024-02-09 深圳Tcl新技术有限公司 Method and device for setting device control authority, computer device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107342607A (en) * 2017-06-30 2017-11-10 深圳微克科技有限公司 A kind of control method of charging equipment, device and charging equipment control system
CN107846408A (en) * 2017-11-17 2018-03-27 北京汉王智远科技有限公司 Identity authorization system and method based on cloud platform

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714173B (en) * 2019-01-25 2020-09-29 北京邮电大学 Block chain-based Internet of things authentication method and device
CN109831511B (en) * 2019-02-18 2020-10-23 华为技术有限公司 Method and equipment for scheduling content delivery network CDN edge nodes
CN111182083B (en) * 2020-02-11 2021-06-11 腾讯科技(深圳)有限公司 Equipment control method and device and edge equipment
CN111565218B (en) * 2020-04-08 2023-03-10 深圳数联天下智能科技有限公司 Data processing method and electronic equipment
CN111526201B (en) * 2020-04-28 2023-01-06 山东浪潮科学研究院有限公司 Robot management method, system and edge server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107342607A (en) * 2017-06-30 2017-11-10 深圳微克科技有限公司 A kind of control method of charging equipment, device and charging equipment control system
CN107846408A (en) * 2017-11-17 2018-03-27 北京汉王智远科技有限公司 Identity authorization system and method based on cloud platform

Also Published As

Publication number Publication date
CN112637221A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN110944330B (en) MEC platform deployment method and device
CN111885115B (en) Device binding changing method and device
CN110493184B (en) Method and device for processing login page in client and electronic device
CN110061871B (en) Base station opening method and device, computer storage medium and equipment
CN111885594B (en) Equipment binding method and device
CN112637221B (en) Equipment control method and device
CN113423105B (en) Network connection method and device
WO2015143794A1 (en) Creating and upgrading methods, server, terminal, upgrading system, and storage media
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN112187531B (en) Module upgrading method and system, storage medium and electronic device
RU2601834C2 (en) Method of application distribution, terminal and server
CN113037761B (en) Login request verification method and device, storage medium and electronic equipment
CN112448873A (en) Equipment binding method and device and computer readable storage medium
CN113438314A (en) Equipment control method and device, storage medium and electronic device
CN112637931A (en) Method and device for establishing network connection
CN112764803A (en) Version upgrading method and device, storage medium and electronic device
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN113691520B (en) Method and device for acquiring streaming media information, storage medium and electronic device
CN114205378A (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
CN113259918A (en) Equipment binding method and system
US10979287B2 (en) Method and apparatus for receiving a solution when configuration function verification fails in a terminal
CN114257509A (en) Module upgrading method and device, storage medium and electronic device
CN109741585B (en) Communication control system and method
CN110650071B (en) Access management method and device of user equipment and management server
CN113596835A (en) Network connection method, device, storage medium and electronic device

Legal Events

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