CN114244886A - Device control method, device control apparatus, and storage medium - Google Patents

Device control method, device control apparatus, and storage medium Download PDF

Info

Publication number
CN114244886A
CN114244886A CN202111387745.4A CN202111387745A CN114244886A CN 114244886 A CN114244886 A CN 114244886A CN 202111387745 A CN202111387745 A CN 202111387745A CN 114244886 A CN114244886 A CN 114244886A
Authority
CN
China
Prior art keywords
internet
secure connection
things
equipment
cloud server
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.)
Granted
Application number
CN202111387745.4A
Other languages
Chinese (zh)
Other versions
CN114244886B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111387745.4A priority Critical patent/CN114244886B/en
Publication of CN114244886A publication Critical patent/CN114244886A/en
Application granted granted Critical
Publication of CN114244886B publication Critical patent/CN114244886B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/75Information technology; Communication
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0838Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Development Economics (AREA)
  • Cardiology (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Selective Calling Equipment (AREA)
  • Power Sources (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure relates to a device control method, apparatus, and storage medium. The equipment control method is applied to the Internet of things equipment and comprises the following steps: establishing a secure connection with a cloud server; sending notification information to the agent equipment, wherein the notification information comprises context information of the secure connection, and the agent equipment is used for sending a keep-alive message to the cloud server through the secure connection based on the context information of the secure connection; and controlling the Internet of things equipment to enter a low power consumption mode. Through this embodiment of the disclosure, the internet of things device establishes a secure connection with the cloud server, and when the internet of things is about to enter a low power consumption mode, the context information of the secure connection is sent to the agent device to inform the agent device to act, and when the internet of things device enters the low power consumption mode, the agent device multiplexes the secure connection with the cloud server to act on the keep-alive service of the internet of things device, so that the internet of things device is frequently awakened, the power consumption of the internet of things device is reduced, and the cloud bandwidth resource is saved.

Description

Device control method, device control apparatus, and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an apparatus control method, an apparatus control device, and a storage medium.
Background
In recent years, the technology of the internet of things is rapidly developed, more and more intelligent household devices are moved into the working life of people, and in order to meet business requirements, the intelligent household devices need to be connected and communicated with a cloud network in real time. Therefore, higher technical requirements are provided for the terminal of the Internet of things to meet low power consumption and rapid networking.
In order to keep real-time connection with the cloud server, the terminal of the Internet of things can be networked and remotely awakened. The smart home device needs to keep real-time connection with the cloud end through the keep-alive messages and periodically interacts with the cloud end. When the intelligent home equipment is in standby, the chip is woken up by transmitting frequent interaction of the keep-alive messages, and the low-power-consumption characteristic of the chip is sacrificed. For some devices that use built-in batteries due to limited usage conditions, the power consumption problem is more an important factor affecting the user experience.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an apparatus control method, an apparatus control device, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an apparatus control method applied to an internet of things apparatus, the apparatus control method including: establishing a secure connection with a cloud server; sending notification information to agent equipment, wherein the notification information comprises context information of the secure connection, and the agent equipment is used for sending a keep-alive message to a cloud server through the secure connection based on the context information of the secure connection; and controlling the Internet of things equipment to enter a low power consumption mode.
In some embodiments, the device control method further comprises: and controlling the Internet of things equipment to enter a working mode with normal power consumption in response to receiving the awakening information sent by the agent equipment.
In some embodiments, the device control method further comprises: and responding to control of the Internet of things equipment to enter a low power consumption mode, and disconnecting the safe connection with the cloud server.
In some embodiments, the method further comprises: receiving context information of the secure connection sent by the agent equipment; and recovering the secure connection with the cloud server based on the context information of the secure connection, and sending the keep-alive message to the cloud server through the secure connection.
According to a second aspect of the embodiments of the present disclosure, there is provided a device control method applied to a proxy device, the device control method including: acquiring notification information sent by an Internet of things device, wherein the notification information comprises context information of a secure connection established between the Internet of things device and a cloud server; performing a hot migration on the secure connection based on context information of the secure connection; and sending the keep-alive messages of the Internet of things equipment to a cloud server through the secure connection.
In some embodiments, the device control method further comprises: receiving wake-up information sent by the cloud server, wherein the wake-up information is used for waking up the Internet of things equipment to enter a working mode; and sending the awakening information and the context information of the secure connection to the Internet of things equipment, and disconnecting the secure connection with the cloud server.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus control method applied to a cloud server, the apparatus control method including: establishing a secure connection with the Internet of things equipment; in response to the Internet of things device entering a low power mode, disconnecting the secure connection with the Internet of things device; responding to the agent equipment to perform the secure connection live migration, and receiving the keep-alive message sent by the agent equipment through the secure connection.
In some embodiments, the device control method further comprises: and sending awakening information to the agent equipment, wherein the awakening information is used for awakening the Internet of things equipment to enter a working mode and disconnecting the safe connection with the agent equipment.
In some embodiments, the device control method further comprises: and after sending awakening information to the agent equipment, recovering the safe connection with the Internet of things equipment, and receiving the keep-alive message sent by the Internet of things equipment through the safe connection.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus control device applied to an internet of things apparatus, the apparatus control device including: the connection unit is used for establishing safe connection with the cloud server; a sending unit, configured to send notification information to a proxy device, where the notification information includes context information of the secure connection, and the proxy device is configured to send a keep-alive packet to a cloud server through the secure connection based on the context information of the secure connection; and the control unit is used for controlling the Internet of things equipment to enter a low power consumption mode.
In some embodiments, the control unit is further configured to: and controlling the Internet of things equipment to enter a working mode with normal power consumption in response to receiving the awakening information sent by the agent equipment.
In some embodiments, the connection unit is further configured to: and responding to control of the Internet of things equipment to enter a low power consumption mode, and disconnecting the safe connection with the cloud server.
In some embodiments, the device control apparatus further comprises: a receiving unit, configured to receive context information of the secure connection sent by the proxy device; the connection unit is further configured to: restoring the secure connection with the cloud server based on the context information of the secure connection; the sending unit is further configured to send the keep-alive message to a cloud server through the secure connection.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling a device, which is applied to a proxy device, the apparatus including: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring notification information sent by the Internet of things equipment, and the notification information comprises context information of a secure connection established between the Internet of things equipment and a cloud server; a connection unit, configured to perform a hot migration on the secure connection based on context information of the secure connection; and the sending unit is used for sending the keep-alive messages of the Internet of things equipment to a cloud server through the secure connection.
In some embodiments, the device control apparatus further comprises: the receiving unit is used for receiving awakening information sent by the cloud server, and the awakening information is used for awakening the Internet of things equipment to enter a working mode; the sending unit is further configured to send the wake-up information and the context information of the secure connection to the internet of things device; the connection unit is further used for disconnecting the secure connection with the cloud server.
According to a sixth aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling a device, applied to a cloud server, the apparatus including: the connection unit is used for establishing a safe connection with the Internet of things equipment and responding to the Internet of things equipment entering a low power consumption mode, and disconnecting the safe connection with the Internet of things equipment; and the receiving unit is used for responding to the agent equipment to carry out the safety connection hot migration and receiving the keep-alive message sent by the agent equipment through the safety connection.
In some embodiments, the device control apparatus further comprises: and the sending unit is used for sending awakening information to the agent equipment, wherein the awakening information is used for awakening the Internet of things equipment to enter a working mode and disconnecting the safe connection with the agent equipment.
In some embodiments, the connection unit is further configured to: after sending the awakening information to the agent equipment, restoring the safe connection with the Internet of things equipment; the receiving unit is further configured to receive the keep-alive message sent by the internet of things device through the secure connection.
According to still another aspect of the embodiments of the present disclosure, there is provided an apparatus control device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: executing the device control method of any one of the preceding claims.
According to yet another aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions stored thereon, which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the device control method of any one of the preceding claims.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the safe connection is established between the Internet of things equipment and the cloud server, when the Internet of things enters a low-power-consumption mode, the context information of the safe connection is sent to the agent equipment, the agent equipment is informed to act, when the Internet of things equipment enters the low-power-consumption mode, the agent equipment reuses the safe connection with the cloud server to act on the keep-alive service of the Internet of things equipment, the phenomenon that the Internet of things equipment is frequently awakened is reduced, the power consumption of the Internet of things equipment is reduced, and cloud bandwidth resources are saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram illustrating interaction among an internet of things device, a proxy device, and a cloud server in the prior art.
Fig. 2 is a flowchart illustrating a device control method according to an exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure.
Fig. 4 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure.
Fig. 5 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure.
Fig. 6 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure.
Fig. 7 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure.
Fig. 8 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure.
Fig. 9 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure.
Fig. 10 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure.
Fig. 11 is a schematic diagram illustrating interaction among an internet of things device, a proxy device, and a cloud server to which the device control method of the present disclosure is applied.
Fig. 12 is a block diagram illustrating an apparatus control device according to an exemplary embodiment of the present disclosure.
Fig. 13 is a block diagram illustrating an apparatus control device according to yet another exemplary embodiment of the present disclosure.
Fig. 14 is a block diagram illustrating an apparatus control device according to yet another exemplary embodiment of the present disclosure.
Fig. 15 is a block diagram illustrating an apparatus control device according to yet another exemplary embodiment of the present disclosure.
Fig. 16 is a block diagram illustrating an apparatus control device according to yet another exemplary embodiment of the present disclosure.
FIG. 17 illustrates a block diagram of an apparatus for device control according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to maintain network connection, the internet of things equipment in the internet of things needs to send a keep-alive packet with the cloud server in real time through a keep-alive mechanism and receive a response of the server. The internet of things equipment needs to be awakened periodically, frequently interacts with the cloud end, and conducts a keep-alive mechanism.
Fig. 1 shows a schematic diagram of interaction among an internet of things device, an agent device and a cloud server in the prior art, and referring to fig. 1, after the internet of things device accesses a network, a secure connection is established with the cloud server, and keep-alive information is sent to the cloud server, the internet of things device enters a low power consumption mode, and still periodically sends the keep-alive information, so that a chip of the internet of things device is frequently awakened due to sending of the keep-alive information, and power consumption of the chip of the internet of things device is increased. When a user checks the application of the Internet of things equipment, the cloud server sends awakening information to the Internet of things equipment to enable the Internet of things equipment to enter a working mode. And sending service messages such as videos and the like to the cloud server in the working mode of the Internet of things equipment, and still periodically sending keep-alive information to the cloud server. The equipment of the Internet of things is in a low-power consumption state when in standby state, but is frequently awakened, so that the power consumption of the low-power consumption state of the equipment of the Internet of things is increased, the power consumption speed is increased, and the endurance time of the equipment is shortened.
For some internet of things devices, due to factors such as manufacturing processes and use environments, a power adapter cannot be used, power can be supplied only by a battery, and power consumption of the devices is one of the influencing factors of user experience.
Therefore, the equipment control method is characterized in that the safe connection between the Internet of things equipment and the agent equipment and the cloud server is multiplexed, when the Internet of things equipment enters a low-power-consumption mode, the agent equipment processes the keep-alive service of the Internet of things equipment in an agent mode, and the frequent awakening of the Internet of things equipment is reduced, so that the power consumption of the Internet of things equipment is reduced.
Fig. 2 is a flowchart illustrating a device control method according to an exemplary embodiment of the present disclosure, which is applied to an internet of things device, and as shown in fig. 2, the device control method includes the following steps.
In step S101, a secure connection is established with the cloud server.
In step S102, notification information is sent to the proxy device, where the notification information includes context information of the secure connection, and the proxy device is configured to send a keep-alive message to the cloud server through the secure connection based on the context information of the secure connection.
In step S103, the internet of things device is controlled to enter a low power consumption mode.
In the embodiment of the present disclosure, the internet of things device may be any intelligent device in the internet of things, for example, an intelligent home device, an intelligent wearable device, and the like, and the agent device may be a wireless Access Point (AP), where the wireless AP is an Access Point for a mobile computer user to enter a wired network and is also a core of a wireless network. The internet of things equipment can be a simple wireless access point and can also be equipment such as a wireless router and the like.
In this embodiment of the present disclosure, the keep-alive packet may also be referred to as a heartbeat packet, and the heartbeat generally refers to a user-defined instruction sent from one end of both communication parties to the other end to determine whether both communication parties are alive, and may be sent periodically, similar to a heartbeat, and therefore may also be referred to as a heartbeat instruction. The method comprises the steps that safe connection is established between the Internet of things equipment and a cloud server, when the Internet of things equipment is about to enter a low-power-consumption mode, notification information is sent to agent equipment, and context information of the safe connection established between the Internet of things equipment and the cloud server is sent to the agent equipment through the notification information. The agent device can send the keep-alive message to the cloud server through the secure connection based on the received context information of the secure connection. The internet of things device enters a low power mode, also referred to as a sleep mode. After the Internet of things equipment enters a low-power-consumption mode, the agent equipment sends a keep-alive message to the cloud server through the secure connection.
According to the embodiment of the disclosure, the safe connection is established between the Internet of things equipment and the cloud server, when the Internet of things is about to enter the low power consumption mode, the context information of the safe connection is sent to the agent equipment to inform the agent equipment to act, when the Internet of things equipment enters the low power consumption mode, the agent equipment reuses the safe connection with the cloud server to act on the keep-alive service of the Internet of things equipment, the frequent awakening of the Internet of things equipment is reduced, the power consumption of the Internet of things equipment is reduced, and the cloud bandwidth resource is saved.
In some embodiments, the proxy device replaces the internet of things device to send the keep-alive message to the cloud server, and the internet of things device sends its own device information to the proxy device, so that the proxy device performs identity authentication according to the received device information of the physical network device. The proxy equipment sends own equipment information to the Internet of things equipment so that the Internet of things equipment performs identity authentication according to the equipment information of the proxy equipment. In the embodiment of the present disclosure, the internet of things device may query, through a probe Message (Detect Message), whether an accessed proxy device supports a proxy keep-alive function, and send device information of itself to the proxy device through the probe Message. When the proxy device supports the proxy keep-alive function, the device information of the proxy device may be sent through a detection Response Message (Detect Response Message), so that the internet of things device performs identity authentication on the proxy device according to the device information of the proxy device, thereby preventing access to an illegal proxy device and ensuring safe communication between the internet of things device and the proxy device.
In some embodiments, the proxy device and the internet of things device interact with the cloud server respectively, and the internet of things device can carry local communication key negotiation information and send the local communication key negotiation information to the proxy device through the cloud server. The agent device and the Internet of things device share information required by key negotiation based on local communication key negotiation information to establish an encryption channel, and the agent device and the Internet of things device realize message transmission based on the encryption channel. The robustness of the shared key is guaranteed by using a key negotiation algorithm and salt adding calculation through random numbers, the shared key is not easy to crack, and the communication safety between the agent equipment and the Internet of things equipment is guaranteed.
Fig. 3 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure, the device control method including the following steps, as shown in fig. 3.
In step S201, a secure connection is established with the cloud server.
In step S202, notification information is sent to the proxy device, where the notification information includes context information of the secure connection, and the proxy device is configured to send a keep-alive packet to the cloud server through the secure connection based on the context information of the secure connection.
In step S203, the internet of things device is controlled to enter a low power consumption mode.
In step S204, in response to receiving the wake-up message sent by the proxy device, the internet of things device is controlled to enter a normal power consumption operating mode.
In the embodiment of the disclosure, the internet of things device establishes a secure connection with the cloud server, and sends notification information to the agent device and sends context information of the established secure connection to the agent device. The agent equipment is in safe connection with the cloud server based on the received context information of the safe connection, so that the agent Internet of things equipment sends the keep-alive messages to the cloud server. Namely, after the internet of things equipment enters the low power consumption mode, the agent equipment sends the keep-alive message to the cloud server through the secure connection.
In the embodiment of the disclosure, when a user checks the internet of things device by operating an application for managing the internet of things device, the cloud server transmits the awakening information to the agent device through the secure connection with the agent device, the agent device sends the awakening information to the internet of things device, and the internet of things device enters a working mode with normal power consumption from a low power consumption mode after receiving the awakening information and performs services such as video transmission. As can be appreciated, the power consumption of the low power mode of the internet of things device is lower than the normal power consumption of the operating mode. The proxy device may encapsulate the context information of the secure connection through an encryption channel, encrypt the context information through a shared key, and send the wakeup information to the internet of things device.
According to the embodiment of the disclosure, when the Internet of things enters the low power consumption mode, the agent device multiplexes the security connection with the cloud server to process the keep-alive service of the Internet of things device, reduces the frequent awakening of the Internet of things device, reduces the power consumption of the Internet of things device, and enters the working mode when the Internet of things device receives the awakening information, so that the Internet of things device is reasonably and effectively controlled.
Fig. 4 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure, the device control method including the following steps, as shown in fig. 4.
In step S301, a secure connection is established with the cloud server.
In step S302, notification information is sent to the proxy device, where the notification information includes context information of the secure connection, and the proxy device is configured to send a keep-alive packet to the cloud server through the secure connection based on the context information of the secure connection.
In step S303, the internet of things device is controlled to enter a low power consumption mode, and the secure connection with the cloud server is disconnected.
In the embodiment of the disclosure, when the internet of things device is about to enter the low power consumption mode, the notification information is sent to the agent device to notify the internet of things device to enter the low power consumption mode, and the context information of the secure connection established between the internet of things device and the cloud server is sent to the agent device. The Internet of things equipment enters a low-power-consumption mode, the safe connection between the Internet of things equipment and the cloud server is disconnected, the agent equipment can be safely connected with the cloud server based on the context information of the safe connection, and the agent equipment multiplexes the safe connection to send the keep-alive messages to the cloud server when the Internet of things equipment enters the low-power-consumption mode.
According to the embodiment of the disclosure, when the internet of things equipment enters the low power consumption mode, the agent equipment multiplexes the safe connection with the cloud server to process the keep-alive service of the internet of things equipment, the frequent awakening of the internet of things equipment is reduced, the power consumption of the internet of things equipment is reduced, the safe connection with the cloud server is multiplexed between the internet of things equipment and the agent equipment, and the cloud bandwidth resource is saved.
Fig. 5 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure, the device control method including the following steps, as shown in fig. 5.
In step S401, a secure connection is established with the cloud server.
In step S402, notification information is sent to the proxy device, where the notification information includes context information of the secure connection, and the proxy device is configured to send a keep-alive message to the cloud server through the secure connection based on the context information of the secure connection.
In step S403, the internet of things device is controlled to enter a low power consumption mode, and the secure connection with the cloud server is disconnected.
In step S404, in response to receiving the wake-up message sent by the proxy device, the internet of things device is controlled to enter a normal power consumption operating mode.
In step S405, the context information of the secure connection sent by the proxy device is received.
In step S406, based on the context information of the secure connection, the secure connection with the cloud server is recovered, and the keep-alive message is sent to the cloud server through the secure connection.
In the embodiment of the disclosure, the internet of things device sends notification information to the proxy device, notifies the proxy device that the internet of things device is about to enter a low power consumption mode, and sends context information of a secure connection established between the internet of things device and the cloud server to the proxy device. The Internet of things equipment enters a low-power-consumption mode, the safe connection between the Internet of things equipment and the cloud server is disconnected, the agent equipment can be safely connected with the cloud server based on the context information of the safe connection, and the agent equipment multiplexes the safe connection to send the keep-alive message to the cloud server when the Internet of things equipment enters the low-power-consumption mode. The cloud server transmits the awakening information to the agent equipment through the safe connection with the agent equipment, the agent equipment transmits the awakening information to the Internet of things equipment, and the Internet of things equipment enters a working mode with normal power consumption from a low power consumption mode after receiving the awakening information and performs services such as video transmission and the like.
After receiving the wake-up information, the proxy device may encapsulate the context information of the secure connection through the encryption channel, encrypt the context information through the shared key, and send the wake-up information to the internet of things device. The Internet of things equipment decrypts the awakening information by using the shared secret key, extracts the context information of the secure connection, recovers the secure connection with the cloud server by using the context information of the secure connection, and sends the keep-alive message to the cloud server through the secure connection. The agent device sends the context information of the secure connection to the internet of things device, disconnects the secure connection with the cloud server, and stops the agent service of the keep-alive message.
According to the embodiment of the disclosure, when the internet of things equipment enters the low-power-consumption mode, the agent equipment multiplexes the safe connection with the cloud server to process the keep-alive service of the internet of things equipment, frequent awakening of the internet of things equipment is reduced, so that the power consumption of the internet of things equipment is reduced, the agent equipment enters the working mode when receiving awakening information, the agent equipment is disconnected from the safe connection with the cloud server, the agent of the keep-alive message is stopped, the internet of things equipment recovers the safe connection with the cloud server, and the cloud bandwidth resource is saved by multiplexing the safe connection with the cloud server between the internet of things equipment and the agent equipment.
Fig. 6 is a flowchart illustrating a device control method applied to a proxy device according to still another exemplary embodiment of the present disclosure, and the device control method includes the following steps, as illustrated in fig. 6.
In step S501, notification information sent by the internet of things device is obtained, where the notification information includes context information of a secure connection established between the internet of things device and the cloud server.
In step S502, the secure connection is subjected to a live migration based on the context information of the secure connection.
In step S503, the keep-alive message of the internet of things device is sent to the cloud server through the secure connection.
In the embodiment of the disclosure, the internet of things device sends notification information to the agent device, and sends the context information of the secure connection to the agent device. The agent device carries out heat migration on the secure connection based on the received context information of the secure connection, the secure connection with the cloud server is achieved, and therefore during the low-power-consumption mode of the Internet of things device, the agent device sends the keep-alive messages to the cloud server through the secure connection.
According to the embodiment of the disclosure, when the internet of things is to enter the low power consumption mode, the context information of the secure connection is sent to the agent device, the agent device is informed to act, the agent device conducts heat transfer on the secure connection based on the context information of the secure connection, the keep-alive service of the internet of things device is acted through the secure connection with the cloud server, the frequent awakening of the internet of things device is reduced, the power consumption of the internet of things device is reduced, and the cloud bandwidth resource is saved.
Fig. 7 is a flowchart illustrating a device control method according to still another exemplary embodiment of the present disclosure, the device control method including the following steps, as shown in fig. 7.
In step S601, notification information sent by the internet of things device is obtained, where the notification information includes context information of a secure connection established between the internet of things device and the cloud server.
In step S602, the secure connection is subjected to a live migration based on the context information of the secure connection.
In step S603, a keep-alive message of the internet of things device is sent to the cloud server through the secure connection.
In step S604, wake-up information sent by the cloud server is received, where the wake-up information is used to wake up the internet of things device to enter a working mode.
In step S605, the wake-up information and the context information of the secure connection are sent to the internet of things device, and the secure connection with the cloud server is disconnected.
In the embodiment of the disclosure, the agent device acquires notification information sent by the internet of things device, performs live migration on the secure connection based on context information of the secure connection between the internet of things device and the cloud server, sends a keep-alive message to the cloud server through the secure connection during a low-power-consumption mode of the internet of things device, and performs keep-alive on the agent internet of things device.
In the embodiment of the disclosure, when the internet of things is to enter the low power consumption mode, the context information of the secure connection is sent to the agent device, the agent device is notified to act, the agent device performs heat migration on the secure connection based on the context information of the secure connection, and the keep-alive service of the internet of things device is acted through the secure connection with the cloud server, so that the frequent awakening of the internet of things device is reduced, the power consumption of the internet of things device is reduced, and the cloud bandwidth resource is saved. When a user checks the Internet of things equipment by operating an application for managing the Internet of things equipment, the cloud server is in safe connection with the agent equipment, awakening information is transmitted to the agent equipment, and the agent equipment sends the awakening information to the Internet of things equipment, so that the Internet of things equipment enters a working mode with normal power consumption from a low-power-consumption mode after receiving the awakening information, and services such as video transmission are carried out. And the agent equipment sends awakening information and context information of the secure connection to the Internet of things equipment, the secure connection with the cloud server is disconnected, and the agent service of the keep-alive message is stopped. The internet of things equipment recovers the secure connection with the cloud server by using the context information of the secure connection, and sends the keep-alive message to the cloud server through the secure connection.
According to the embodiment of the disclosure, when the internet of things equipment enters the low-power-consumption mode, the agent equipment multiplexes the safe connection with the cloud server to process the keep-alive service of the internet of things equipment, frequent awakening of the internet of things equipment is reduced, so that the power consumption of the internet of things equipment is reduced, the agent equipment enters the working mode when receiving awakening information, the agent equipment is disconnected from the safe connection with the cloud server, the agent of the keep-alive message is stopped, the internet of things equipment recovers the safe connection with the cloud server, and the cloud bandwidth resource is saved by multiplexing the safe connection with the cloud server between the internet of things equipment and the agent equipment.
Fig. 8 is a flowchart illustrating a device control method according to an exemplary embodiment of the present disclosure, applied to a cloud server, and as shown in fig. 8, the device control method includes the following steps.
In step S701, a secure connection is established with the internet of things device.
In step S702, in response to the internet of things device entering the low power consumption mode, a secure connection with the internet of things device is disconnected.
In step S703, in response to the proxy device performing the secure connection live migration, the keep-alive message sent by the proxy device is received through the secure connection.
In the embodiment of the disclosure, the cloud server establishes a secure connection with the internet of things device, and when the internet of things device enters a low power consumption mode, the cloud server is disconnected from the secure connection with the internet of things device. The Internet of things equipment sends the context information of the secure connection to the agent equipment, and the agent equipment conducts heat transfer on the secure connection based on the context information of the secure connection. The agent equipment carries out safe connection heat transfer, and during the low-power-consumption mode of the Internet of things equipment, the cloud server receives the keep-alive messages sent by the agent equipment through the safe connection, and the agent equipment carries out the keep-alive message agent service of the Internet of things equipment.
According to the embodiment of the disclosure, when the internet of things is to enter the low power consumption mode, the context information of the secure connection is sent to the agent device, the agent device is informed to act, the agent device conducts heat transfer on the secure connection based on the context information of the secure connection, the keep-alive service of the internet of things device is acted through the secure connection with the cloud server, the frequent awakening of the internet of things device is reduced, the power consumption of the internet of things device is reduced, and the cloud bandwidth resource is saved.
In some embodiments, the cloud server establishes a secure connection with the internet of things device, and the internet of things device sends the device information of the proxy device to the cloud server through the secure connection, so that the proxy device is authenticated through the cloud server. The cloud server authenticates the agent equipment and sends an authentication result to the Internet of things equipment, so that the Internet of things equipment is prevented from accessing illegal agent equipment.
In some embodiments, the cloud server communicates with the proxy device and the internet of things device, receives local communication key negotiation information sent by the internet of things device, and sends the local communication key negotiation information to the proxy device. The agent device and the Internet of things device share information required by key negotiation based on local communication key negotiation information to establish an encryption channel, and the agent device and the Internet of things device realize message transmission based on the encryption channel.
Fig. 9 is a flowchart illustrating a device control method according to an exemplary embodiment of the present disclosure, and as shown in fig. 9, the device control method includes the following steps.
In step S801, a secure connection is established with the internet of things device.
In step S802, in response to the internet of things device entering the low power consumption mode, a secure connection with the internet of things device is disconnected.
In step S803, in response to the proxy device performing the secure connection live migration, the keep-alive message sent by the proxy device is received through the secure connection.
In step S804, wake-up information is sent to the proxy device, where the wake-up information is used to wake up the internet of things device to enter a working mode, and disconnect a secure connection with the proxy device.
In the embodiment of the disclosure, the cloud server establishes a secure connection with the internet of things device, the internet of things device enters a low power consumption mode, and the cloud server is disconnected from the secure connection with the internet of things device. The context information of the secure connection is sent to the agent device by the Internet of things device, and the agent device conducts heat transfer on the secure connection based on the context information of the secure connection, so that during the low-power-consumption mode of the Internet of things device, the cloud server receives the keep-alive messages sent by the agent device through the secure connection, and the agent device conducts the keep-alive message agent service on the Internet of things device. When a user operates the Internet of things equipment, the cloud server transmits the awakening information to the agent equipment through the safe connection with the agent equipment, and the agent equipment sends the awakening information to the Internet of things equipment, so that the Internet of things equipment enters a working mode with normal power consumption after receiving the awakening information, and services such as video transmission and the like are carried out. And the proxy equipment disconnects the secure connection with the cloud server and stops the proxy service of the keep-alive message.
According to the embodiment of the disclosure, when the Internet of things enters the low power consumption mode, the agent device multiplexes the security connection with the cloud server to process the keep-alive service of the Internet of things device, reduces the frequent awakening of the Internet of things device, reduces the power consumption of the Internet of things device, and enters the working mode when the Internet of things device receives the awakening information, so that the Internet of things device is reasonably and effectively controlled.
Fig. 10 is a flowchart illustrating a device control method according to an exemplary embodiment of the present disclosure, and as shown in fig. 10, the device control method includes the following steps.
In step S901, a secure connection is established with an internet of things device.
In step S902, in response to the internet of things device entering the low power consumption mode, a secure connection with the internet of things device is disconnected.
In step S903, in response to the agent device performing secure connection live migration, a keep-alive message sent by the agent device is received through the secure connection.
In step S904, wake-up information is sent to the proxy device, where the wake-up information is used to wake up the internet of things device to enter a working mode and disconnect a secure connection with the proxy device.
In step S905, the secure connection with the internet of things device is recovered, and the keep-alive message sent by the internet of things device is received through the secure connection.
In the embodiment of the disclosure, the cloud server establishes a secure connection with the internet of things device, the internet of things device enters a low power consumption mode, and the cloud server is disconnected from the secure connection with the internet of things device. The context information of the secure connection is sent to the agent device by the Internet of things device, and the agent device conducts heat transfer on the secure connection based on the context information of the secure connection, so that during the low-power-consumption mode of the Internet of things device, the cloud server receives the keep-alive messages sent by the agent device through the secure connection, and the agent device conducts the keep-alive message agent service on the Internet of things device.
The cloud server transmits the awakening information to the agent equipment through the safe connection with the agent equipment, and the agent equipment transmits the awakening information to the Internet of things equipment, so that the Internet of things equipment enters a working mode with normal power consumption after receiving the awakening information, and services such as video transmission and the like are carried out. And the proxy equipment disconnects the secure connection with the cloud server and stops the proxy service of the keep-alive message. The internet of things equipment recovers the secure connection with the cloud server by using the context information of the secure connection, and sends the keep-alive message to the cloud server through the secure connection.
According to the embodiment of the disclosure, when the internet of things is to enter the low power consumption mode, the context information of the secure connection is sent to the agent device, the agent device is informed to act, the agent device conducts heat transfer on the secure connection based on the context information of the secure connection, the keep-alive service of the internet of things device is acted through the secure connection with the cloud server, the frequent awakening of the internet of things device is reduced, the power consumption of the internet of things device is reduced, and the cloud bandwidth resource is saved.
Fig. 11 shows a schematic diagram of interaction among an internet of things device, an agent device, and a cloud server to which the device control method of the present disclosure is applied, referring to fig. 11, the agent device accesses a network, and the internet of things accesses the network through a secure connection, and queries whether the agent device accessed to the internet of things device supports an agent keep-alive function through a detection Message (Detect Message), where the Detect Message sent by the internet of things device carries device information of the internet of things device, and is used for the agent device to authenticate the internet of things device. When the proxy equipment can support the proxy keep-alive function, packaging the equipment information of the proxy equipment, replying a detection Response Message (Detect Response Message), and sending the detection Response Message to the Internet of things equipment for the Internet of things equipment to authenticate the proxy equipment. The Internet of things equipment encapsulates equipment information of the proxy equipment, carries local communication key negotiation information, sends the information to the cloud server, and authenticates the proxy equipment through the cloud server. An encryption channel is established between the Internet of things equipment and the agent equipment by using local communication key negotiation information, and information transmission is carried out through the encryption channel. And the cloud server returns the authentication result of the proxy equipment to the Internet of things equipment, and the Internet of things equipment calculates the shared key locally. The cloud server sends the local communication key negotiation information to the proxy equipment through the secure connection, and the proxy equipment calculates the shared key at the local machine. The Internet of things equipment sends a ciphertext to the agent equipment through the encryption channel, informs the agent equipment that the Internet of things equipment enters a low power consumption state, and sends the secure connection context information to the agent equipment, so that the agent equipment sends the keep-alive message to the cloud server through the secure connection agent Internet of things equipment based on the secure connection context information. And the agent equipment receives the notification information, performs safe connection live migration according to the safe connection context information, establishes safe connection with the cloud, and sends the keep-alive message of the Internet of things equipment to the cloud server through the safe connection to perform agent keep-alive.
When a user operates and checks the Internet of things equipment, the cloud server sends awakening information to the agent equipment through the safety connection established with the agent equipment. After the agent device receives the awakening information of the cloud server, the connected safe connection context information is encrypted based on the shared secret key, the awakening information is sent to the Internet of things device through the encryption channel, and the Internet of things device is awakened to enter a working mode. And the agent equipment stops sending the keep-alive messages of the Internet of things equipment to the cloud server and disconnects the safe connection with the cloud.
The Internet of things equipment decrypts the awakening information based on the shared secret key, extracts the secure connection context information, and recovers the secure connection with the cloud server based on the secure connection context information. After the Internet of things equipment is awakened, service messages of services such as videos are transmitted to the cloud server through the secure connection, and keep-alive messages are sent to the cloud server through the secure connection. After the service message transmission is completed, the Internet of things equipment is prepared to enter a low-power-consumption mode again, a notification information ciphertext is sent to the proxy equipment through the encryption channel, the proxy equipment is notified that the Internet of things equipment enters a low-power-consumption state, and the security connection context information is sent to the proxy equipment, so that the proxy equipment proxies the Internet of things equipment to send a keep-alive message to the cloud server based on the security connection context information. And the agent equipment receives the notification message, performs secure connection live migration according to the secure connection context information, establishes secure connection with the cloud, and sends the keep-alive message of the Internet of things equipment to the cloud server through the secure connection.
According to the embodiment of the disclosure, the safe connection is established between the Internet of things equipment and the cloud server, when the Internet of things is about to enter the low power consumption mode, the context information of the safe connection is sent to the agent equipment to inform the agent equipment to act, when the Internet of things equipment enters the low power consumption mode, the agent equipment reuses the safe connection with the cloud server to act on the keep-alive service of the Internet of things equipment, the frequent awakening of the Internet of things equipment is reduced, the power consumption of the Internet of things equipment is reduced, and the cloud bandwidth resource is saved.
Based on the same conception, the embodiment of the disclosure also provides a device control device.
Fig. 12 is a block diagram illustrating an apparatus control device according to an exemplary embodiment of the present disclosure, the apparatus control device being applied to an internet of things apparatus, and referring to fig. 12, the apparatus control device 100 includes: connection section 101, transmission section 102, and control section 103.
The connection unit 101 is configured to establish a secure connection with the cloud server.
A sending unit 102, configured to send notification information to a proxy device, where the notification information includes context information of a secure connection, and the proxy device is configured to send a keep-alive packet to a cloud server through the secure connection based on the context information of the secure connection.
And the control unit 103 is used for controlling the internet of things equipment to enter a low power consumption mode.
In some embodiments, the control unit 103 is further configured to: and controlling the Internet of things equipment to enter a normal power consumption working mode in response to receiving the awakening information sent by the proxy equipment.
In some embodiments, the connection unit 101 is further configured to: and responding to the control of the Internet of things equipment to enter a low power consumption mode, and disconnecting the safe connection with the cloud server.
In some embodiments, the wake-up information comprises: context information for the secure connection; the connection unit 101 is further configured to: after the Internet of things equipment enters a working mode with normal power consumption, based on the context information of the secure connection, the secure connection with the cloud server is recovered; the sending unit is further configured to send the keep-alive message to the cloud server through the secure connection.
Fig. 13 is a block diagram illustrating an appliance control apparatus applied to a proxy appliance according to still another exemplary embodiment of the present disclosure, and referring to fig. 13, the appliance control apparatus 200 includes: an acquisition unit 201, a connection unit 202, and a transmission unit 203.
The obtaining unit 201 is configured to obtain notification information sent by an internet of things device, where the notification information includes context information of a secure connection established between the internet of things device and a cloud server.
A connection unit 202, configured to perform a hot migration on the secure connection based on the context information of the secure connection.
A sending unit 203, configured to send the keep-alive message of the internet of things device to the cloud server through secure connection.
Fig. 14 is a block diagram illustrating an apparatus control device according to still another exemplary embodiment of the present disclosure, and referring to fig. 14, the apparatus control device further includes: a receiving unit 204.
The receiving unit 204 is configured to receive wakeup information sent by the cloud server, where the wakeup information is used to wake up the internet of things device to enter a working mode.
The sending unit 203 is further configured to send wake-up information and context information of the secure connection to the internet of things device.
The connection unit 202 is further configured to disconnect a secure connection with the cloud server.
Fig. 15 is a block diagram illustrating an apparatus control device according to an exemplary embodiment of the present disclosure, the apparatus control device is applied to a cloud server, and referring to fig. 15, the apparatus control device 300 includes: a connection unit 301 and a receiving unit 302.
The connection unit 301 is configured to establish a secure connection with the internet of things device, and disconnect the secure connection with the internet of things device in response to the internet of things device entering the low power consumption mode.
A receiving unit 302, configured to respond to the agent device performing secure connection live migration, and receive a keep-alive message sent by the agent device through the secure connection.
Fig. 16 is a block diagram illustrating an apparatus control device according to still another exemplary embodiment of the present disclosure, and referring to fig. 16, the apparatus control device 300 further includes: a transmitting unit 303.
The sending unit 303 is configured to send wakeup information to the agent device, where the wakeup information is used to wake up the internet of things device to enter a working mode, and disconnect a secure connection with the agent device.
In some embodiments, the connection unit 301 is further configured to: and after the awakening information is sent to the agent equipment, the safe connection with the Internet of things equipment is recovered.
The receiving unit 302 is further configured to receive a keep-alive message sent by the internet of things device through a secure connection.
It is understood that the apparatus provided by the embodiments of the present disclosure includes hardware structures and/or software modules for performing the functions described above. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 17 is a block diagram illustrating an apparatus 400 for device control according to an exemplary embodiment of the present disclosure. For example, the apparatus 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 17, the apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an interface for input/output (I/O) 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 440 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the apparatus 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 406 provide power to the various components of device 400. Power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor assembly 414 may detect an open/closed state of the apparatus 400, the relative positioning of the components, such as a display and keypad of the apparatus 400, the sensor assembly 414 may also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 4G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 440 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is understood that "a plurality" in this disclosure means two or more, and other words are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that, unless otherwise specified, "connected" includes direct connections between the two without the presence of other elements, as well as indirect connections between the two with the presence of other elements.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the scope of the appended claims.

Claims (20)

1. An equipment control method is applied to equipment of the Internet of things, and comprises the following steps:
establishing a secure connection with a cloud server;
sending notification information to agent equipment, wherein the notification information comprises context information of the secure connection, and the agent equipment is used for sending a keep-alive message to a cloud server through the secure connection based on the context information of the secure connection; and are
And controlling the Internet of things equipment to enter a low power consumption mode.
2. The apparatus control method according to claim 1, characterized in that the method further comprises:
and responding to control of the Internet of things equipment to enter a low power consumption mode, and disconnecting the safe connection with the cloud server.
3. The apparatus control method according to claim 1 or 2, characterized in that the method further comprises:
and controlling the Internet of things equipment to enter a working mode with normal power consumption in response to receiving the awakening information sent by the agent equipment.
4. The apparatus control method according to claim 3, characterized in that the method further comprises:
receiving context information of the secure connection sent by the agent equipment;
and recovering the secure connection with the cloud server based on the context information of the secure connection, and sending the keep-alive message to the cloud server through the secure connection.
5. A device control method applied to a proxy device, the method comprising:
acquiring notification information sent by an Internet of things device, wherein the notification information comprises context information of a secure connection established between the Internet of things device and a cloud server;
performing a hot migration on the secure connection based on context information of the secure connection;
and sending the keep-alive messages of the Internet of things equipment to a cloud server through the secure connection.
6. The apparatus control method according to claim 5, characterized in that the method further comprises:
receiving wake-up information sent by the cloud server, wherein the wake-up information is used for waking up the Internet of things equipment to enter a working mode;
and sending the awakening information and the context information of the secure connection to the Internet of things equipment, and disconnecting the secure connection with the cloud server.
7. An apparatus control method is applied to a cloud server, and the method includes:
establishing a secure connection with the Internet of things equipment;
in response to the Internet of things device entering a low power mode, disconnecting the secure connection with the Internet of things device;
responding to the agent equipment to perform the secure connection live migration, and receiving the keep-alive message sent by the agent equipment through the secure connection.
8. The apparatus control method according to claim 7, characterized in that the method further comprises:
and sending awakening information to the agent equipment, wherein the awakening information is used for awakening the Internet of things equipment to enter a working mode and disconnecting the safe connection with the agent equipment.
9. The apparatus control method according to claim 8, characterized in that the method further comprises:
and after sending awakening information to the agent equipment, recovering the safe connection with the Internet of things equipment, and receiving the keep-alive message sent by the Internet of things equipment through the safe connection.
10. The equipment control device is applied to Internet of things equipment and comprises:
the connection unit is used for establishing safe connection with the cloud server;
a sending unit, configured to send notification information to a proxy device, where the notification information includes context information of the secure connection, and the proxy device is configured to send a keep-alive packet to a cloud server through the secure connection based on the context information of the secure connection;
and the control unit is used for controlling the Internet of things equipment to enter a low power consumption mode.
11. The appliance control device according to claim 10, wherein the control unit is further configured to:
and controlling the Internet of things equipment to enter a working mode with normal power consumption in response to receiving the awakening information sent by the agent equipment.
12. The appliance control device according to claim 11, wherein the connection unit is further configured to:
and responding to control of the Internet of things equipment to enter a low power consumption mode, and disconnecting the safe connection with the cloud server.
13. The appliance control device according to claim 12, characterized in that the device further comprises:
a receiving unit, configured to receive context information of the secure connection sent by the proxy device;
the connection unit is further configured to:
restoring the secure connection with the cloud server based on the context information of the secure connection;
the sending unit is further configured to send the keep-alive message to a cloud server through the secure connection.
14. An apparatus for controlling a device, applied to a proxy device, the apparatus comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring notification information sent by the Internet of things equipment, and the notification information comprises context information of a secure connection established between the Internet of things equipment and a cloud server;
a connection unit, configured to perform a hot migration on the secure connection based on context information of the secure connection;
and the sending unit is used for sending the keep-alive messages of the Internet of things equipment to a cloud server through the secure connection.
15. The appliance control device according to claim 14, characterized in that the device further comprises:
the receiving unit is used for receiving awakening information sent by the cloud server, and the awakening information is used for awakening the Internet of things equipment to enter a working mode;
the sending unit is further configured to send the wake-up information and the context information of the secure connection to the internet of things device;
the connection unit is further used for disconnecting the secure connection with the cloud server.
16. An apparatus control device, applied to a cloud server, the apparatus comprising:
the connection unit is used for establishing a safe connection with the Internet of things equipment and responding to the Internet of things equipment entering a low power consumption mode, and disconnecting the safe connection with the Internet of things equipment;
and the receiving unit is used for responding to the agent equipment to carry out the safety connection hot migration and receiving the keep-alive message sent by the agent equipment through the safety connection.
17. The appliance control device according to claim 16, characterized in that the device further comprises:
and the sending unit is used for sending awakening information to the agent equipment, wherein the awakening information is used for awakening the Internet of things equipment to enter a working mode and disconnecting the safe connection with the agent equipment.
18. The appliance control device according to claim 17, wherein the connection unit is further configured to:
after sending the awakening information to the agent equipment, restoring the safe connection with the Internet of things equipment;
the receiving unit is further configured to receive the keep-alive message sent by the internet of things device through the secure connection.
19. An apparatus control device, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the device control method of any one of claims 1 to 4, or claims 5 to 8, or claims 7 to 9.
20. A storage medium having stored therein instructions that, when executed by a processor of a terminal, enable the terminal to perform the device control method of any one of claims 1 to 4, or claims 5 to 8, or claims 7 to 9.
CN202111387745.4A 2021-11-22 2021-11-22 Device control method, device control apparatus, and storage medium Active CN114244886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111387745.4A CN114244886B (en) 2021-11-22 2021-11-22 Device control method, device control apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111387745.4A CN114244886B (en) 2021-11-22 2021-11-22 Device control method, device control apparatus, and storage medium

Publications (2)

Publication Number Publication Date
CN114244886A true CN114244886A (en) 2022-03-25
CN114244886B CN114244886B (en) 2024-04-30

Family

ID=80750377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111387745.4A Active CN114244886B (en) 2021-11-22 2021-11-22 Device control method, device control apparatus, and storage medium

Country Status (1)

Country Link
CN (1) CN114244886B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114902635A (en) * 2022-03-30 2022-08-12 北京小米移动软件有限公司 Flow proxy method and device, electronic equipment and storage medium
CN115280743A (en) * 2022-03-30 2022-11-01 北京小米移动软件有限公司 Method and device for establishing User Datagram Protocol (UDP) transmission channel
CN115280725A (en) * 2022-03-30 2022-11-01 北京小米移动软件有限公司 Data frame secure transmission method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209302A (en) * 2011-07-07 2011-10-05 深圳市金立通信设备有限公司 System and method for realizing information push of mobile terminal
CN106161598A (en) * 2016-06-28 2016-11-23 济南中维世纪科技有限公司 A kind of system and method acting on behalf of keep-alive
CN107484232A (en) * 2017-08-21 2017-12-15 奇酷互联网络科技(深圳)有限公司 Message method, system, the network equipment and readable storage medium storing program for executing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209302A (en) * 2011-07-07 2011-10-05 深圳市金立通信设备有限公司 System and method for realizing information push of mobile terminal
CN106161598A (en) * 2016-06-28 2016-11-23 济南中维世纪科技有限公司 A kind of system and method acting on behalf of keep-alive
CN107484232A (en) * 2017-08-21 2017-12-15 奇酷互联网络科技(深圳)有限公司 Message method, system, the network equipment and readable storage medium storing program for executing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114902635A (en) * 2022-03-30 2022-08-12 北京小米移动软件有限公司 Flow proxy method and device, electronic equipment and storage medium
CN115280743A (en) * 2022-03-30 2022-11-01 北京小米移动软件有限公司 Method and device for establishing User Datagram Protocol (UDP) transmission channel
CN115280725A (en) * 2022-03-30 2022-11-01 北京小米移动软件有限公司 Data frame secure transmission method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114244886B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
CN114244886B (en) Device control method, device control apparatus, and storage medium
CN105050115B (en) Method and device for waking up MCU
EP3771261B1 (en) Paging synchronization indication method and device, paging synchronization method, and device and base station
CN106888206B (en) Key exchange method, device and system
CN112673685B (en) Information transmission method, device, communication equipment and storage medium
US11792886B2 (en) Method for accessing network by network node, and electronic equipment
WO2020034073A1 (en) Wake-up method, wake-up apparatus, electronic device, and computer-readable storage medium
CN111543118A (en) RRC state change method, device, communication equipment and storage medium
CN113783774A (en) Cross-cluster network configuration method and device, communication equipment and storage medium
CN113726521A (en) Communication method, communication device, electronic equipment and readable storage medium
CN113366798A (en) Signal receiving and transmitting method, device, user equipment, base station and storage medium
CN108702288B (en) Data transmission method, equipment and system
CN114128366A (en) Paging parameter determination method, device, communication equipment and storage medium
CN112383532A (en) Equipment networking method and device, electronic equipment and storage medium
WO2022174393A1 (en) Capability exchange method and apparatus, and exchange triggering method and apparatus
CN114025011B (en) Device control method, device control apparatus, and storage medium
WO2022047804A1 (en) Time gap request method and apparatus, and time gap configuration method and apparatus
CN109104361B (en) Instant messaging method, instant messaging device, electronic equipment and storage medium
CN110798830B (en) Method and device for searching for disconnection device
CN113342370A (en) Configuration updating method and device, electronic equipment and storage medium
WO2023240575A1 (en) Relay communication method, communication apparatus, and communication device
WO2024000123A1 (en) Key generation method and apparatus, communication device, and storage medium
CN107027002A (en) Screenshotss based reminding method, equipment and system
WO2022052070A1 (en) Connection control method and connection control apparatus
CN112055977B (en) Service slice activation method, service slice activation device and storage medium

Legal Events

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