[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115314549B - Offline equipment management method, storage medium and electronic device - Google Patents

Offline equipment management method, storage medium and electronic device Download PDF

Info

Publication number
CN115314549B
CN115314549B CN202210764125.6A CN202210764125A CN115314549B CN 115314549 B CN115314549 B CN 115314549B CN 202210764125 A CN202210764125 A CN 202210764125A CN 115314549 B CN115314549 B CN 115314549B
Authority
CN
China
Prior art keywords
internet
message
things
equipment
platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210764125.6A
Other languages
Chinese (zh)
Other versions
CN115314549A (en
Inventor
李京涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210764125.6A priority Critical patent/CN115314549B/en
Publication of CN115314549A publication Critical patent/CN115314549A/en
Application granted granted Critical
Publication of CN115314549B publication Critical patent/CN115314549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The application discloses a management method of offline equipment, a storage medium and an electronic device, and relates to the technical field of intelligent home/intelligent families, wherein the management method of offline equipment comprises the following steps: the method comprises the steps that a first equipment version message corresponding to first Internet of things equipment forwarded by a message forwarding platform is obtained, and the message forwarding platform is used for forwarding a message initiated by the first Internet of things equipment or sent to the first Internet of things equipment; judging whether the first equipment version message is matched with the second equipment version message or not under the condition that the second equipment version message imported by the message management platform is acquired; and under the condition that the first equipment version message is matched with the second equipment version message, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first Internet of things equipment so as to enable the first Internet of things equipment to be in an unassociated relation with the Internet of things platform. The technical problem that offline equipment management efficiency is lower has been solved to this application.

Description

Offline equipment management method, storage medium and electronic device
Technical Field
The present invention relates to the field of computers, and in particular, to a method for managing offline equipment, a storage medium, and an electronic device.
Background
With the development of the Internet of things age, internet of things equipment is deeply located in thousands of households, and as long as a user performs configured networking according to the network configuration instruction of the equipment, the equipment can be always connected to an Internet of things platform, communicate with the platform, interact data and occupy platform resources no matter whether the user uses the Internet of things function or the equipment has a maintenance period. However, at present, the internet of things platform has no permanent offline management mechanism for the device, and has no operation means or method for the internet of things function of the device which is proposed by the user and is not used any more, or the internet of things function of the device which is stopped by the device manufacturer. Therefore, there is a technical problem in the related art that management efficiency of the offline device is low.
Disclosure of Invention
The embodiment of the application provides a management method and device of offline equipment, a storage medium and electronic equipment, and aims to at least solve the technical problem of low management efficiency of the offline equipment.
According to an aspect of the embodiments of the present application, there is provided a method for managing a downlink device, including:
acquiring a first equipment version message corresponding to a first Internet of things equipment forwarded by a message forwarding platform, wherein the first Internet of things equipment is equipment with an established association relationship of the Internet of things platform, and the message forwarding platform is used for forwarding a message initiated by the first Internet of things equipment or sent to the first Internet of things equipment;
Judging whether the first equipment version message is matched with the second equipment version message or not under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has the association relation established by the internet of things platform and is indicated to be offline;
and under the condition that the first equipment version message is matched with the second equipment version message, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first Internet of things equipment so as to enable the first Internet of things equipment and the Internet of things platform to release the association relation.
According to another aspect of the embodiments of the present application, there is further provided a management apparatus for an offline device, including:
the first acquisition unit is used for acquiring a first equipment version message corresponding to a first Internet of things equipment forwarded by the message forwarding platform, wherein the first Internet of things equipment is equipment with an established association relationship of the Internet of things platform, and the message forwarding platform is used for forwarding a message initiated by the first Internet of things equipment or sent to the first Internet of things equipment;
the first judging unit is used for judging whether the first equipment version message is matched with the second equipment version message or not under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has the association relation established by the internet of things platform and is indicated to be offline;
The first execution unit is used for initiating a first downlink instruction under the condition that the first equipment version message is matched with the second equipment version message, and forwarding the first downlink instruction to a client associated with the first internet of things equipment so as to enable the first internet of things equipment and the internet of things platform to release the association relation.
As an alternative, the first execution unit includes: the first execution module is used for initiating the first offline instruction, forwarding the first offline instruction to a client associated with the first Internet of things device through a message communication system so as to enable the first Internet of things device to release the association relationship with the Internet of things platform, wherein the message communication system is used for being responsible for connection between the Internet of things platform and the first Internet of things device, and the support device establishes the association relationship with the Internet of things platform through various communication protocols and connection modes.
As an alternative, the first execution module includes: the first execution submodule is used for initiating the first downlink instruction, sending the first downlink instruction to the message communication system, converting a first instruction format of the first downlink instruction into a second instruction format corresponding to the first Internet of things device by the message communication system, and forwarding the first downlink instruction in the second instruction format to a client associated with the first Internet of things device by the message communication system so as to enable the first Internet of things device and the Internet of things platform to release the association relation.
As an alternative, the first execution module includes: the first receiving submodule is used for initiating the first downlink instruction and forwarding the first downlink instruction to the client associated with the first internet of things device through the message communication system so as to enable the first internet of things device to release the association relation with the internet of things platform and then receive the device response message forwarded by the message forwarding platform, wherein the device response message is a response message which is sent to the message communication system after the first internet of things device responds to the first downlink instruction and is processed and forwarded to the message forwarding platform by the message communication system; the first issuing sub-module is used for acquiring a downlink broadcasting message according to the equipment response message and issuing the downlink broadcasting message, wherein the downlink broadcasting message is used for prompting whether the first Internet of things equipment and the Internet of things platform are successfully released from the association relation.
As an alternative, the first distributing module includes: and the first sending submodule is used for sending the downlink broadcast message to the message management platform, wherein the message management platform is set to respond to a downlink query instruction to display the equipment information which is released from the association relation with the internet of things platform.
As an alternative, the first execution unit includes: the first obtaining module is configured to obtain a version message of the device indicated to be offline, where the version message includes a version message of the device indicated to be offline, where the version message has the association relationship established by the internet of things platform, before determining whether the version message of the first device matches the version message of the second device; the first input module is used for inputting the version information of the equipment which has the association relation established by the Internet of things platform and is indicated to be offline into the information management platform; the first importing module is used for responding to a message importing instruction triggered by the message management platform and importing the version message which is input by the message management platform into the Internet of things platform.
As an optional solution, the management apparatus of the offline device further includes: the second acquisition unit is used for acquiring the active offline instruction forwarded by the message forwarding platform, wherein the active offline instruction is an instruction triggered by a client associated with second internet of things equipment and used for indicating to release the association relation between the second internet of things equipment and the internet of things platform; and the second execution unit is used for initiating a second offline instruction and forwarding the second offline instruction to a client associated with the second internet of things device so as to release the association relationship between the second internet of things device and the internet of things platform.
According to yet another aspect of embodiments of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs a management method as the above-described on-line and off-line device.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the method for managing the offline device described above through the computer program.
In the embodiment of the application, a first device version message corresponding to a first internet of things device forwarded by a message forwarding platform is obtained, wherein the first internet of things device is a device with an established association relationship of the internet of things platform, and the message forwarding platform is used for forwarding a message initiated by the first internet of things device or sent to the first internet of things device; judging whether the first equipment version message is matched with the second equipment version message or not under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has the association relation established by the internet of things platform and is indicated to be offline; and under the condition that the first equipment version message is matched with the second equipment version message, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first Internet of things equipment so as to enable the first Internet of things equipment and the Internet of things platform to release the association relation. The purpose of permanently downloading equipment is achieved through interaction between the Internet of things platform and the Internet of things equipment, the message platform, the message management platform and the message communication system, so that the capability of permanently downloading equipment is achieved, the technical effect that the networked equipment is not activated any more can be controlled, and the technical problem that the management efficiency of the downloading equipment is low is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of an interaction method of a smart device according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative method of offline device management according to an embodiment of the present application;
FIG. 3 is an example schematic diagram of another alternative offline device management method according to an embodiment of the present application;
FIG. 4 is an example schematic diagram of another alternative offline device management method according to an embodiment of the present application;
FIG. 5 is an example schematic diagram of another alternative offline device management method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an alternative offline device management method apparatus according to an embodiment of the present application;
Fig. 7 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiment of the application, an interaction method of intelligent home equipment is provided. The interaction method of the intelligent household equipment is widely applied to full-house intelligent digital control application scenes such as intelligent Home (Smart Home), intelligent Home, intelligent household equipment ecology, intelligent Home (Intelligence House) ecology and the like. Alternatively, in this embodiment, the above-mentioned interaction method of the smart home device may be applied to a hardware environment formed by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be used to provide services (such as application services and the like) for a terminal or a client installed on the terminal, a database may be set on the server or independent of the server, for providing data storage services for the server 104, and cloud computing and/or edge computing services may be configured on the server or independent of the server, for providing data computing services for the server 104.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI (Wireless Fidelity ), bluetooth. The terminal device 102 may not be limited to a PC, a mobile phone, a tablet computer, an intelligent air conditioner, an intelligent smoke machine, an intelligent refrigerator, an intelligent oven, an intelligent cooking range, an intelligent washing machine, an intelligent water heater, an intelligent washing device, an intelligent dish washer, an intelligent projection device, an intelligent television, an intelligent clothes hanger, an intelligent curtain, an intelligent video, an intelligent socket, an intelligent sound box, an intelligent fresh air device, an intelligent kitchen and toilet device, an intelligent bathroom device, an intelligent sweeping robot, an intelligent window cleaning robot, an intelligent mopping robot, an intelligent air purifying device, an intelligent steam box, an intelligent microwave oven, an intelligent kitchen appliance, an intelligent purifier, an intelligent water dispenser, an intelligent door lock, and the like.
Optionally, as an optional implementation manner, as shown in fig. 2, the offline device management method includes:
s202, a first device version message corresponding to a first Internet of things device forwarded by a message forwarding platform is obtained, wherein the first Internet of things device is a device with an established association relationship of the Internet of things device, and the message forwarding platform is used for forwarding a message initiated by the first Internet of things device or sent to the first Internet of things device;
s204, judging whether the first equipment version message is matched with the second equipment version message under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has an association relation established by the internet of things platform and is indicated to be offline;
s206, under the condition that the first equipment version information is matched with the second equipment version information, a first offline instruction is initiated, and the first offline instruction is forwarded to a client associated with the first Internet of things equipment, so that the first Internet of things equipment and the Internet of things platform are in an unassociated relation.
Optionally, in this embodiment, the method for managing the offline device may be, but not limited to, applying a scenario of an internet of things platform matched with the internet of things device, as the internet of things era develops, the internet of things device has been extended into a lot of households, as long as a user configures the internet of things according to the configuration network instruction of the device, and after the user uses the internet of things function or the device has been in a maintenance period, the device can be always connected to the internet of things platform, communicate with the platform, interact data, and occupy platform resources. The existing internet of things platform has no permanent offline management mechanism for equipment, and has no operation means or method for the internet of things function of equipment which is proposed by a user and is not used any more or the internet of things function of equipment which is stopped by equipment manufacturers. Thereby causing the technical problem of lower management efficiency of the offline equipment.
Based on the technical problems, when the Internet of things equipment has been in a maintenance period or the user actively proposes the Internet of things function of the equipment to be no longer used, a system method can be provided, a request is initiated from an Internet of things platform to the equipment, the equipment is permanently disconnected, and the networked equipment can be controlled to be no longer activated. On the premise that the Internet of things equipment is connected to the Internet of things platform, a set of equipment permanent offline management system service is additionally built on the Internet of things platform, and meanwhile, the processing logic of the equipment networking module is improved. When the device permanent offline management system issues a permanent offline instruction to the device networking module, the module receives the offline instruction, sends a platform response, and enters a permanent offline state after the response. Therefore, the closing of the function of the equipment internet of things is truly realized, the permanent offline capability of the equipment is realized, and the technical problem of lower offline equipment management efficiency is solved.
Optionally, in this embodiment, the message forwarding platform is a platform for receiving and forwarding a message, and in this application, the message forwarding platform is used for receiving and forwarding a message of the internet of things device and forwarding the message to the internet of things platform, and meanwhile receiving the message of the internet of things platform and feeding back the message to the internet of things device; the internet of things platform stores synchronous offline equipment information sent by permanent offline equipment information management, the version of the received internet of things equipment can be matched, if the version of the internet of things equipment is successfully matched, the internet of things equipment of the version is indicated to be offline, and then a corresponding instruction is initiated to enable the internet of things equipment to be offline; the message management platform inputs the platform with the permanent offline equipment information, namely, an operator operates the platform to input the permanent offline equipment information, and the permanent offline equipment information can be imported into the internet of things platform by receiving the inquiry of the message forwarding platform; the first equipment version information is equipment version information which establishes a relation with the Internet of things platform, and the second equipment version information is permanently offline equipment version information which is input by an operator and imported in the message management platform; determining whether the first device version message matches the second device version message includes: and according to the first equipment version information, matching second equipment version information to be permanently connected with the Internet of things, if the matching is successful, initiating a first connection instruction, forwarding the first connection instruction to the Internet of things equipment, releasing the association between the first Internet of things equipment and the Internet of things management platform, and if the matching is failed, continuing to keep information communication between the Internet of things equipment and the Internet of things platform until an operator adds the equipment version information in the permanently connected equipment information.
Optionally, in this embodiment, the foregoing matching process may be, but is not limited to, secondary matching, the first matching is primary matching, a threshold is set in advance by an operator, similarity matching is performed between subscribed version information received by the internet of things platform and device information sent by the message management platform, when the compared similarity exceeds a preset threshold, the second matching is performed, the second matching is accurate list matching, a device list needing to be permanently disconnected is directly stored in the hash table, and whether the first device version information is located in the permanently disconnected device list is determined according to a query result of the first device version information in the hash table. Through the secondary matching, under the conditions of more version data and larger data volume, the computing resource is reduced, the matching speed is improved, and the offline equipment is considered to have offline risk, so that the accuracy is improved by using the secondary matching, and the larger adverse effect caused by the permanent offline of the equipment due to misoperation is avoided.
The method comprises the steps of acquiring a first equipment version message corresponding to first Internet of things equipment forwarded by a message forwarding platform, wherein the first Internet of things equipment is equipment with an established association relationship of the Internet of things platform, and the message forwarding platform is used for forwarding a message initiated by the first Internet of things equipment or sent to the first Internet of things equipment; judging whether the first equipment version message is matched with the second equipment version message or not under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has an association relation established by the Internet of things platform and is indicated to be offline; and under the condition that the first equipment version message is matched with the second equipment version message, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first Internet of things equipment so as to enable the first Internet of things equipment to be in an unassociated relation with the Internet of things platform. The permanent offline capability of the control equipment is realized, and the management efficiency of the equipment is improved.
Further to illustrate, as shown in fig. 3, optional for example, the version information of the intelligent washing machine in the internet of things device 310 is a device produced by the year 2020 1 and the month 1, after the internet of things is connected, a first device version message corresponding to a first internet of things device forwarded by the message forwarding platform 306 is obtained, if a second device version message imported by the message management platform 304 is obtained, it is determined whether the first device version message is matched with the second device version message, whether the device information exists in a permanently offline device information list is determined, if the device information exists, an offline instruction is sent to the intelligent washing machine, the association relation between the washing machine and the internet of things platform 302 is released, and if the first device version message is matched with the second device version message, a first offline instruction is initiated, and the first offline instruction is converted to a client associated with the first internet of things device through the message communication system 308, so that the first internet of things device and the internet of things platform 302 are in a non-association relation, after the association relation is released, the internet of things device 310 enters a permanently offline state, and simultaneously, if the device information exists in the permanently offline state is determined, the online state is sent to the internet of things device 302 through the message forwarding platform 306, and an online response platform is notified to the manufacturer to receive the offline information through the internet of things device 302, and the online device is notified to the manufacturer to forward the online device to the internet of things device 302.
According to the embodiment provided by the application, the first equipment version message corresponding to the first Internet of things equipment forwarded by the message forwarding platform is obtained, wherein the first Internet of things equipment is equipment with an established association relationship of the Internet of things platform, and the message forwarding platform is used for forwarding the message initiated by the first Internet of things equipment or sent to the first Internet of things equipment; judging whether the first equipment version message is matched with the second equipment version message or not under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has an association relation established by the Internet of things platform and is indicated to be offline; and under the condition that the first equipment version message is matched with the second equipment version message, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first Internet of things equipment so as to enable the first Internet of things equipment to be in an unassociated relation with the Internet of things platform. The purpose of permanently downloading equipment is achieved through interaction between the Internet of things platform and the Internet of things equipment, the message platform, the message management platform and the message communication system, so that the capability of permanently downloading equipment is achieved, the technical effect that the networked equipment is not activated any more can be controlled, and the technical problem that the management efficiency of the downloading equipment is low is solved.
As an optional solution, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first internet of things device, so as to disassociate the first internet of things device from the internet of things platform, including:
initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first Internet of things device through a message communication system so as to enable the first Internet of things device to be in an unassociated relation with the Internet of things platform, wherein the message communication system is used for being responsible for connection between the Internet of things platform and the first Internet of things device, and supporting equipment establishes an associated relation with the Internet of things platform through various communication protocols and connection modes.
Optionally, in this embodiment, the message communication system is responsible for connection between the internet of things platform and the internet of things device, and supports systems with different communication protocols and connection modes; the first instruction format is the format of a first downlink instruction issued by the internet of things platform, and the second instruction format is the format of the first downlink instruction which can be identified by the internet of things device.
It should be noted that, a first offline instruction is initiated and forwarded to a client associated with the first internet of things device through a message communication system, so that the first internet of things device and the internet of things platform are disassociated, wherein the message communication system is used for being responsible for connection between the internet of things platform and the first internet of things device, and the supporting device establishes association with the internet of things platform through various communication protocols and connection modes. And the efficiency between device connection communication is improved.
According to the embodiment provided by the application, the first offline instruction is initiated and forwarded to the client associated with the first Internet of things device through the message communication system, so that the first Internet of things device and the Internet of things device are in an unassociated relation, wherein the message communication system is used for being responsible for connection between the Internet of things platform and the first Internet of things device, and the supporting device establishes an association relation with the Internet of things platform through various communication protocols and connection modes, so that the aim of supporting access of devices in different communication protocols and connection modes is fulfilled, and the technical effect of improving the interactive efficiency of the platform is achieved.
As an optional solution, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first internet of things device through the message communication system, so as to disassociate the first internet of things device from the internet of things platform, including:
initiating a first offline instruction, sending the first offline instruction to a message communication system, converting a first instruction format of the first offline instruction into a second instruction format corresponding to the first Internet of things device by the message communication system, and forwarding the first offline instruction in the second instruction format to a client associated with the first Internet of things device by the message communication system so as to enable the first Internet of things device to be in an unassociated relation with the Internet of things platform.
It should be noted that, a first offline instruction is initiated and sent to the message communication system, so that the message communication system converts the first instruction format of the first offline instruction into a second instruction format corresponding to the first internet of things device, and forwards the first offline instruction of the second instruction format to the client associated with the first internet of things device through the message communication system, so that the first internet of things device and the internet of things platform are disassociated. The universality of the Internet of things platform is improved.
According to the embodiment of the application, the first offline instruction is initiated and sent to the message communication system, so that the message communication system converts the first instruction format of the first offline instruction into the second instruction format corresponding to the first Internet of things equipment, and forwards the first offline instruction of the second instruction format to the client associated with the first Internet of things equipment through the message communication system, so that the first Internet of things equipment and the Internet of things platform are in an unassociated relation, and the aim of improving the efficiency of instruction forwarding under the condition that various different format instructions are sent more complicated is achieved, and the technical effect of improving the communication efficiency of the Internet of things platform is achieved.
As an optional solution, after initiating the first offline instruction and forwarding the first offline instruction to the client associated with the first internet of things device through the message communication system, so as to disassociate the first internet of things device from the internet of things platform, the method includes:
s1, receiving a device response message forwarded by a message forwarding platform, wherein the device response message is a response message which is sent to a message communication system after a first Internet of things device responds to a first downlink instruction, processed by the message communication system and forwarded to the message forwarding platform;
s2, acquiring a downlink broadcast message according to the equipment response message, and publishing the downlink broadcast message, wherein the downlink broadcast message is used for prompting whether the first Internet of things equipment and the Internet of things platform are successfully in a release association relationship.
Optionally, in this embodiment, the device response message is a response message fed back to the internet of things platform after the first internet of things device receives the first offline instruction, and the offline broadcast message is a message for prompting whether the first internet of things device and the internet of things platform are successfully disconnected.
The device response message forwarded by the message forwarding platform is received, wherein the device response message is a response message which is sent to the message communication system after the first Internet of things device responds to the first downlink instruction, is processed by the message communication system and is forwarded to the message forwarding platform; acquiring a downlink broadcast message according to the equipment response message, and issuing the downlink broadcast message, wherein the downlink broadcast message is used for prompting whether the first Internet of things equipment and the Internet of things platform are successfully in a disarming relationship. And the efficiency of message forwarding is improved.
By way of further illustration, as shown in fig. 4, for example, the intelligent washing machine in the internet of things device 402 receives the offline instruction 404 in the second instruction format sent by the message communication system 408, and responds to the offline instruction, sets the device to a permanent offline state, no longer connects to the internet of things platform 412, closes the lan port to answer, stops entering the distribution network mode, and simultaneously sends the response message of the intelligent washing machine to the message communication system 408 in the second instruction format 404, the message communication system 408 converts the second instruction format 404 into the first instruction format 406 and sends the first instruction format to the message forwarding platform 410, and the message forwarding platform 410 obtains the forwarded response message and sends the forwarded response message to the internet of things platform 412, obtains the offline broadcast message responded by the internet of things platform 412, and issues the offline broadcast message.
By the embodiment provided by the application, the device response message forwarded by the message forwarding platform is received, wherein the device response message is a response message which is sent to the message communication system after the first Internet of things device responds to the first downlink instruction, and is processed by the message communication system and forwarded to the message forwarding platform; the method comprises the steps of obtaining a offline broadcast message according to a device response message and issuing the offline broadcast message, wherein the offline broadcast message is used for prompting whether the first Internet of things device and the Internet of things platform are successfully in a disassociation relationship, and further the purpose of determining offline through message interaction is achieved, and therefore the technical effect of intuitiveness of offline device notification is achieved.
As an optional solution, in a process of acquiring the offline broadcast message according to the device response message and publishing the offline broadcast message, the method includes:
and sending the offline broadcast message to a message management platform, wherein the message management platform is set to respond to the offline inquiry instruction to display the equipment information which is in the un-association relationship with the Internet of things platform.
It should be noted that, the offline broadcast message is sent to the message management platform, where the message management platform is configured to display the device information that has been disassociated from the internet of things platform in response to the offline query instruction, so as to improve the efficiency of message forwarding.
Further by way of example, when the internet of things platform receives a corresponding offline answer of the intelligent washing machine, if the offline answer is a successful offline answer, a offline notification is sent to the message platform, and the message platform sends the offline notification to the message management platform to notify an operator to record; if the offline response is an offline failure response, sending offline failure information to the Internet of things platform, and re-matching and judging version information of the Internet of things device by the Internet of things platform and re-sending a first offline instruction to the Internet of things device.
Through the embodiment provided by the application, the offline broadcast message is sent to the message management platform, wherein the message management platform is set to respond to the offline inquiry instruction to display the equipment information which is in the un-association relationship with the Internet of things platform, so that the aim of further carrying out complete management on whether offline is successful is achieved, and the technical effect of improving the offline equipment management efficiency is achieved.
As an alternative, before determining whether the first device version message and the second device version message match, the method includes:
s1, acquiring version information of equipment which has an association relation and is indicated to be offline from an Internet of things platform, wherein the second equipment version information comprises the version information of the equipment which has the association relation and is indicated to be offline from the Internet of things platform;
s2, inputting version information of equipment which has the association relation established by the Internet of things platform and is indicated to be offline into the information management platform;
and S3, responding to a message importing instruction triggered by the message management platform, and importing the version message which is input by the message management platform into the Internet of things platform.
Optionally, in this embodiment, the permanently offline device information in the device management platform is imported into the internet of things platform, where the permanently offline device in the information management platform is entered by an authorized operator such as a device manufacturer or an operator, and an actual result of the offline device is queried.
It should be noted that, the version message of the device which has the association established by the internet of things platform and is indicated to be offline is obtained, wherein the version message of the second device includes the version message of the device which has the association established by the internet of things platform and is indicated to be offline; inputting version information of equipment which has an association relation and is indicated to be offline into an information management platform; and responding to a message import instruction triggered by the message management platform, and importing the version message input by the message management platform into the Internet of things platform. The beneficial effect of improving the integrity of the management offline equipment is achieved.
According to the embodiment provided by the application, the version information of the equipment which has the association relation and is indicated to be offline is obtained, wherein the second equipment version information comprises the version information of the equipment which has the association relation and is indicated to be offline; inputting version information of equipment which has an association relation and is indicated to be offline into an information management platform; and in response to a message import instruction triggered by the message management platform, importing the version message input by the message management platform into the Internet of things platform, so that the purpose of timely inputting the message during offline is achieved, and the technical effect of improving the management efficiency of offline equipment is realized.
As an alternative, the method further comprises:
s1, acquiring an active offline instruction forwarded by a message forwarding platform, wherein the active offline instruction is an instruction triggered by a client associated with second internet of things equipment and used for indicating to release the association relationship between the second internet of things equipment and the internet of things platform;
s2, initiating a second offline instruction, and forwarding the second offline instruction to a client associated with the second internet of things device so as to enable the second internet of things device and the internet of things platform to be in an unassociated relation.
The method includes the steps that a message forwarding platform is acquired to forward an active offline instruction, wherein the active offline instruction is an instruction triggered by a client associated with second internet of things equipment and used for indicating to release the association relationship between the second internet of things equipment and the internet of things platform; and initiating a second offline instruction, and forwarding the second offline instruction to a client associated with the second internet of things device so as to enable the second internet of things device to be in an unassociated relation with the internet of things platform. The flexibility of equipment offline is improved.
By way of further illustration, as shown in fig. 5, optionally, for example, the internet of things platform 506 receives an active offline request of internet of things device 502 sent by message forwarding platform 508, the active offline request is an instruction initiated actively by a client for releasing the association between the internet of things device and the internet of things device, after receiving the active offline request instruction, internet of things platform 506 sends an acknowledgement notification of the active offline to internet of things device 502, after receiving acknowledgement information of the internet of things device, the internet of things platform sends a second offline instruction, after responding to the active offline instruction of the internet of things device, the offline instruction sent by the internet of things platform is sent to internet of things device 502 through message notification system 504, and internet of things device 502 enters a permanent offline state and feeds back an offline response to internet of things platform 506.
According to the embodiment provided by the application, the message forwarding platform forwards the active offline instruction, wherein the active offline instruction is an instruction triggered by a client associated with the second internet of things device and used for indicating to release the association relationship between the second internet of things device and the internet of things platform; and initiating a second offline instruction, and forwarding the second offline instruction to a client associated with the second internet of things device, so that the second internet of things device and the internet of things platform are in a disassociation relationship, and the aim of combining active offline means and passive offline means is fulfilled, and the technical effect of improving the flexibility of offline management is achieved.
For convenience of understanding, the above method for managing the offline device is applied to a specific offline device management scenario:
optionally, in this embodiment, the message management platform is a portal system for applying for a permanently offline device, and an authorized operator such as a device manufacturer or an operator may enter or import device information that needs to be permanently offline into the system, and query an actual result of the offline device. The system operation, input or import of equipment information to be permanently off-line, a2. Synchronize the off-line equipment information to the equipment permanent off-line service, F2: subscribing F1 information by the offline device information result service, and updating the offline state of the offline device information by the offline information result;
The internet of things platform is a core system for permanent offline equipment operation, comprising: storing the equipment information to be off line, equipment message subscription service (according to the subscribed equipment information, matching the equipment list to be permanently off line, if not, skipping, if so, entering an off line service instruction), inquiring the permanent off line information and off line instruction service. B1. The Internet of things equipment is accessed to the platform, and equipment version information is reported to the platform; the method comprises the steps that B2, equipment version information is published to a message platform; B3. a device message subscription service for subscribing device version information conforming to a device permanent offline function; C1. according to the equipment version information spelling issuing instruction, calling an M2M issuing instruction, wherein the C2M receives an off-line instruction from an off-line instruction service and converts the off-line instruction into a general instruction of equipment and issues the general instruction to the equipment, D1. The equipment receives the off-line instruction, the operation is to reply the M2M, the D2M issues an operation response message to a message platform, D3. The off-line instruction service asynchronously receives the message platform response message from the equipment, and F1. The off-line instruction service assembles the equipment permanent off-line message (off-line failure or success) according to the result of the off-line response of the equipment;
the message platform is a message forwarding platform of the internet of things platform and is responsible for uplink and downlink processing and distribution of the message; the M2M is a core service of the Internet of things platform and is responsible for connection between the cloud end and the control terminal and connection between the cloud end and the household appliance terminal, and different communication protocols and connection modes are supported for accessing the equipment; the Internet of things equipment is the Internet of things equipment for realizing the permanent offline function of the equipment, the equipment end (networking module) needs to realize the capability of entering the permanent offline function, and operations to be executed are that the Internet of things cloud platform is not connected any more, any port monitoring of a local area network is not opened any more, TCP and UDP broadcasting is not sent any more, the network distribution mode is not entered after a network distribution instruction sent by an equipment bottom plate is received, the same A-D is carried out after the equipment is powered off again, and the E0. Internet of things equipment receives the permanent offline instruction and responds, and the equipment end (networking module) enters the permanent offline state, including disconnecting the connection with the platform, closing the port monitoring of the local area network, stopping sending the TCP and UDP broadcasting and stopping entering the network distribution mode.
It will be appreciated that in the specific embodiments of the present application, related data such as user information is referred to, and when the above embodiments of the present application are applied to specific products or technologies, user permissions or consents need to be obtained, and the collection, use and processing of related data need to comply with related laws and regulations and standards of related countries and regions.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for implementing the above-mentioned offline device management. As shown in fig. 6, the apparatus includes:
a first obtaining unit 602, configured to obtain a first device version message corresponding to a first internet of things device forwarded by a message forwarding platform, where the first internet of things device is a device for which an association relationship has been established by the internet of things platform, and the message forwarding platform is configured to forward a message initiated by the first internet of things device or sent to the first internet of things device;
A first judging unit 604, configured to judge whether the first device version message and the second device version message are matched when the second device version message imported by the message management platform is obtained, where the second device version message is a device that has an association relationship established by the internet of things platform and is indicated to be offline;
the first execution unit 606 is configured to initiate a first offline instruction if the first device version message matches the second device version message, and forward the first offline instruction to a client associated with the first internet of things device, so that the first internet of things device and the internet of things platform are disassociated.
Optionally, in this embodiment, the method for managing the offline device may be, but not limited to, applying a scenario of an internet of things platform matched with the internet of things device, as the internet of things era develops, the internet of things device has been extended into a lot of households, as long as a user configures the internet of things according to the configuration network instruction of the device, and after the user uses the internet of things function or the device has been in a maintenance period, the device can be always connected to the internet of things platform, communicate with the platform, interact data, and occupy platform resources. The existing internet of things platform has no permanent offline management mechanism for equipment, and has no operation means or method for the internet of things function of equipment which is proposed by a user and is not used any more or the internet of things function of equipment which is stopped by equipment manufacturers. Thereby causing the technical problem of lower management efficiency of the offline equipment.
Based on the technical problems, when the Internet of things equipment has been in a maintenance period or the user actively proposes the Internet of things function of the equipment to be no longer used, a system method can be provided, a request is initiated from an Internet of things platform to the equipment, the equipment is permanently disconnected, and the networked equipment can be controlled to be no longer activated. On the premise that the Internet of things equipment is connected to the Internet of things platform, a set of equipment permanent offline management system service is additionally built on the Internet of things platform, and meanwhile, the processing logic of the equipment networking module is improved. When the device permanent offline management system issues a permanent offline instruction to the device networking module, the module receives the offline instruction, sends a platform response, and enters a permanent offline state after the response. Therefore, the closing of the function of the equipment internet of things is truly realized, the permanent offline capability of the equipment is realized, and the technical problem of lower offline equipment management efficiency is solved.
Optionally, in this embodiment, the message forwarding platform is a platform for receiving and forwarding a message, and in this application, the message forwarding platform is used for receiving and forwarding a message of the internet of things device and forwarding the message to the internet of things platform, and meanwhile receiving the message of the internet of things platform and feeding back the message to the internet of things device; the internet of things platform stores synchronous offline equipment information sent by permanent offline equipment information management, the version of the received internet of things equipment can be matched, if the version of the internet of things equipment is successfully matched, the internet of things equipment of the version is indicated to be offline, and then a corresponding instruction is initiated to enable the internet of things equipment to be offline; the message management platform inputs the platform with the permanent offline equipment information, namely, an operator operates the platform to input the permanent offline equipment information, and the permanent offline equipment information can be imported into the internet of things platform by receiving the inquiry of the message forwarding platform; the first equipment version information is equipment version information which establishes a relation with the Internet of things platform, and the second equipment version information is permanently offline equipment version information which is input by an operator and imported in the message management platform; determining whether the first device version message matches the second device version message includes: and according to the first equipment version information, matching second equipment version information to be permanently connected with the Internet of things, if the matching is successful, initiating a first connection instruction, forwarding the first connection instruction to the Internet of things equipment, releasing the association between the first Internet of things equipment and the Internet of things management platform, and if the matching is failed, continuing to keep information communication between the Internet of things equipment and the Internet of things platform until an operator adds the equipment version information in the permanently connected equipment information.
Optionally, in this embodiment, the foregoing matching process may be, but is not limited to, secondary matching, the first matching is primary matching, a threshold is set in advance by an operator, similarity matching is performed between subscribed version information received by the internet of things platform and device information sent by the message management platform, when the compared similarity exceeds a preset threshold, the second matching is performed, the second matching is accurate list matching, a device list needing to be permanently disconnected is directly stored in the hash table, and whether the first device version information is located in the permanently disconnected device list is determined according to a query result of the first device version information in the hash table. Through secondary matching, under the conditions of more version data and larger data quantity, the computing resource is reduced, the matching speed is improved, and the accuracy is improved
The method comprises the steps of acquiring a first equipment version message corresponding to first Internet of things equipment forwarded by a message forwarding platform, wherein the first Internet of things equipment is equipment with an established association relationship of the Internet of things platform, and the message forwarding platform is used for forwarding a message initiated by the first Internet of things equipment or sent to the first Internet of things equipment; judging whether the first equipment version message is matched with the second equipment version message or not under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has an association relation established by the Internet of things platform and is indicated to be offline; and under the condition that the first equipment version message is matched with the second equipment version message, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first Internet of things equipment so as to enable the first Internet of things equipment to be in an unassociated relation with the Internet of things platform. The permanent offline capability of the control equipment is realized, and the management efficiency of the equipment is improved.
According to the embodiment provided by the application, the first equipment version message corresponding to the first Internet of things equipment forwarded by the message forwarding platform is obtained, wherein the first Internet of things equipment is equipment with an established association relationship of the Internet of things platform, and the message forwarding platform is used for forwarding the message initiated by the first Internet of things equipment or sent to the first Internet of things equipment; judging whether the first equipment version message is matched with the second equipment version message or not under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has an association relation established by the Internet of things platform and is indicated to be offline; and under the condition that the first equipment version message is matched with the second equipment version message, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first Internet of things equipment so as to enable the first Internet of things equipment to be in an unassociated relation with the Internet of things platform. The purpose of permanently downloading equipment is achieved through interaction between the Internet of things platform and the Internet of things equipment, the message platform, the message management platform and the message communication system, so that the capability of permanently downloading equipment is achieved, the technical effect that the networked equipment is not activated any more can be controlled, and the technical problem that the management efficiency of the downloading equipment is low is solved.
Specific embodiments may refer to the examples shown in the offline device management apparatus, and in this example, details are not repeated here.
As an optional solution, the first execution module is configured to initiate a first offline instruction, and forward the first offline instruction to a client associated with the first internet of things device through the message communication system, so that the first internet of things device and the internet of things device are disassociated, where the message communication system is used for being responsible for connection between the internet of things platform and the first internet of things device, and the support device establishes an association with the internet of things platform through multiple communication protocols and connection modes.
Specific embodiments may refer to the examples shown in the offline device management method, and this example is not described herein.
As an alternative, the first execution module includes: the first execution submodule is used for initiating a first downlink instruction, sending the first downlink instruction to the message communication system, converting the first instruction format of the first downlink instruction into a second instruction format corresponding to the first Internet of things device by the message communication system, and forwarding the first downlink instruction in the second instruction format to a client associated with the first Internet of things device by the message communication system so as to enable the first Internet of things device to be in an un-associated relation with the Internet of things platform.
Specific embodiments may refer to the examples shown in the offline device management method, and this example is not described herein.
As an alternative, the first execution module includes:
s1, a first receiving submodule is used for initiating a first offline instruction, forwarding the first offline instruction to a client associated with first Internet of things equipment through a message communication system so that after the first Internet of things equipment is in an unassociated relation with an Internet of things platform, receiving equipment response information forwarded by the message forwarding platform, wherein the equipment response information is response information which is sent to the message communication system by the first Internet of things equipment after responding to the first offline instruction, and then processed by the message communication system and forwarded to the message forwarding platform;
s2, a first issuing submodule is used for acquiring a downlink broadcasting message according to the equipment response message and issuing the downlink broadcasting message, wherein the downlink broadcasting message is used for prompting whether the first Internet of things equipment and the Internet of things platform are successfully in a disassociation relationship.
Specific embodiments may refer to the examples shown in the offline device management method, and this example is not described herein.
As an alternative, the first distributing module includes: the first sending sub-module is used for sending the offline broadcast message to the message management platform, wherein the message management platform is set to respond to the offline inquiry instruction to display the equipment information which is in the un-association relationship with the Internet of things platform.
Specific embodiments may refer to the examples shown in the offline device management method, and this example is not described herein.
As an alternative, the first execution unit includes:
s1, a first acquisition module is used for acquiring version information of equipment which is instructed to be offline and has an association relation established by an Internet of things platform before judging whether the first equipment version information is matched with a second equipment version information, wherein the second equipment version information comprises version information of the equipment which is instructed to be offline and has the association relation established by the Internet of things platform;
s2, a first input module is used for inputting version information of equipment which has an association relation established by the internet of things platform and is indicated to be offline into the information management platform; the first importing module is used for importing the version message input by the message management platform into the Internet of things platform in response to the message importing instruction triggered by the message management platform.
Specific embodiments may refer to the examples shown in the offline device management method, and this example is not described herein.
As an optional solution, the management apparatus of the offline device further includes: the second acquisition unit is used for acquiring an active offline instruction forwarded by the message forwarding platform, wherein the active offline instruction is an instruction triggered by a client associated with the second internet of things device and used for indicating to release the association relationship between the second internet of things device and the internet of things platform; the second execution unit is used for initiating a second offline instruction and forwarding the second offline instruction to a client associated with the second internet of things device so as to enable the second internet of things device to be in an unassociated relation with the internet of things platform.
Specific embodiments may refer to the examples shown in the offline device management method, and this example is not described herein.
According to a further aspect of the embodiments of the present application, there is also provided an electronic device for implementing the above-mentioned offline device management method, as shown in fig. 7, the electronic device comprising a memory 702 and a processor 704, the memory 702 storing a computer program, the processor 704 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, acquiring a first equipment version message corresponding to first Internet of things equipment forwarded by a message forwarding platform, wherein the first Internet of things equipment is equipment with an established association relationship of the Internet of things platform, and the message forwarding platform is used for forwarding a message initiated by the first Internet of things equipment or sent to the first Internet of things equipment;
s2, judging whether the first equipment version message is matched with the second equipment version message under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has an association relation established by the internet of things platform and is indicated to be offline;
And S3, under the condition that the first equipment version information is matched with the second equipment version information, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first Internet of things equipment so as to enable the first Internet of things equipment to be in an unassociated relation with the Internet of things platform.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 7 is only schematic, and the electronic device may also be a terminal device such as a smart phone (e.g. an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 7 is not limited to the structure of the electronic device described above. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 7, or have a different configuration than shown in FIG. 7.
The memory 702 may be configured to store software programs and modules, such as program instructions/modules corresponding to the offline device management method and apparatus in the embodiments of the present application, and the processor 704 executes the software programs and modules stored in the memory 702, thereby performing various functional applications and data processing, that is, implementing the offline device management method described above. The memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 702 may further include memory remotely located relative to the processor 704, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 702 may be used for storing, but is not limited to, information such as first device version information, second device version information, and the like. As an example, as shown in fig. 7, the memory 702 may include, but is not limited to, the first obtaining unit 602, the first judging unit 604, and the first execution 606 in the offline device management apparatus. In addition, other module units in the above-mentioned offline device management apparatus may be further included, which is not described in detail in this example.
Optionally, the transmission device 706 is used to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 706 includes a network adapter (Network Interface Controller, NIC) that may be connected to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 706 is a Radio Frequency (RF) module that is configured to communicate wirelessly with the internet.
In addition, the electronic device further includes: a display 708 for displaying the first version information, the second version information, and the like; and a connection bus 710 for connecting the respective module parts in the above-described electronic device.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the plurality of nodes through a network communication. Among them, the nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, etc., may become a node in the blockchain system by joining the Peer-To-Peer network.
According to one aspect of the present application, a computer program product is provided, comprising a computer program/instructions containing program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium. When executed by a central processing unit, performs the various functions provided by the embodiments of the present application.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
It should be noted that the computer system of the electronic device is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
The computer system includes a central processing unit (Central Processing Unit, CPU) which can execute various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) or a program loaded from a storage section into a random access Memory (Random Access Memory, RAM). In the random access memory, various programs and data required for the system operation are also stored. The CPU, the ROM and the RAM are connected to each other by bus. An Input/Output interface (i.e., I/O interface) is also connected to the bus.
The following components are connected to the input/output interface: an input section including a keyboard, a mouse, etc.; an output section including a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and the like, and a speaker, and the like; a storage section including a hard disk or the like; and a communication section including a network interface card such as a local area network card, a modem, and the like. The communication section performs communication processing via a network such as the internet. The drive is also connected to the input/output interface as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, and the like are mounted on the drive as needed so that a computer program read therefrom is mounted into the storage section as needed.
In particular, according to embodiments of the present application, the processes described in the various method flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium. The computer program, when executed by a central processing unit, performs the various functions defined in the system of the present application.
According to one aspect of the present application, there is provided a computer-readable storage medium, from which a processor of a computer device reads the computer instructions, the processor executing the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations described above.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a first equipment version message corresponding to first Internet of things equipment forwarded by a message forwarding platform, wherein the first Internet of things equipment is equipment with an established association relationship of the Internet of things platform, and the message forwarding platform is used for forwarding a message initiated by the first Internet of things equipment or sent to the first Internet of things equipment;
s2, judging whether the first equipment version message is matched with the second equipment version message under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has an association relation established by the internet of things platform and is indicated to be offline;
and S3, under the condition that the first equipment version information is matched with the second equipment version information, initiating a first offline instruction, and forwarding the first offline instruction to a client associated with the first Internet of things equipment so as to enable the first Internet of things equipment to be in an unassociated relation with the Internet of things platform.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods of the various embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and are merely a logical functional division, and there may be other manners of dividing the apparatus in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (8)

1. A method for managing an offline device, comprising:
acquiring a first equipment version message corresponding to a first Internet of things equipment forwarded by a message forwarding platform, wherein the first Internet of things equipment is equipment with an established association relationship of the Internet of things platform, and the message forwarding platform is used for forwarding a message initiated by the first Internet of things equipment or sent to the first Internet of things equipment;
judging whether the first equipment version message is matched with the second equipment version message or not under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has the association relation established by the internet of things platform and is indicated to be offline;
Under the condition that the first equipment version message is matched with the second equipment version message, a first downlink instruction is initiated and sent to a message communication system, so that the message communication system converts a first instruction format of the first downlink instruction into a second instruction format corresponding to the first Internet of things equipment, and forwards the first downlink instruction of the second instruction format to a client associated with the first Internet of things equipment through the message communication system, so that the association relationship between the first Internet of things equipment and the Internet of things platform is relieved, wherein the message communication system is used for being responsible for connection between the Internet of things platform and the first Internet of things equipment, and supporting equipment establishes the association relationship with the Internet of things platform through various communication protocols and connection modes.
2. The method according to claim 1, wherein after the initiating the first offline instruction and sending the first offline instruction to a message communication system to convert a first instruction format of the first offline instruction into a second instruction format corresponding to the first internet of things device by the message communication system, and forwarding the first offline instruction of the second instruction format to a client associated with the first internet of things device by the message communication system to release the association relationship between the first internet of things device and the internet of things platform, the method comprises:
Receiving a device response message forwarded by the message forwarding platform, wherein the device response message is a response message which is sent to the message communication system after the first Internet of things device responds to the first downlink instruction, processed by the message communication system and forwarded to the message forwarding platform;
acquiring a downlink broadcast message according to the equipment response message, and publishing the downlink broadcast message, wherein the downlink broadcast message is used for prompting whether the first Internet of things equipment and the Internet of things platform successfully release the association relation.
3. The method according to claim 2, wherein in the process of obtaining the downlink broadcast message according to the device response message and publishing the downlink broadcast message, the method comprises:
and sending the offline broadcast message to the message management platform, wherein the message management platform is set to respond to an offline inquiry instruction to display the equipment information which is released from the association relationship with the Internet of things platform.
4. A method according to any one of claims 1 to 3, comprising, prior to said determining whether said first device version message and said second device version message match:
Acquiring version information of equipment which has the association established by the Internet of things platform and is indicated to be offline, wherein the second equipment version information comprises version information of equipment which has the association established by the Internet of things platform and is indicated to be offline;
inputting a version message of the equipment, of which the association relation is established, of which the Internet of things platform is indicated to be offline into the message management platform;
and responding to a message import instruction triggered by the message management platform, importing the version message input by the message management platform into the Internet of things platform.
5. A method according to any one of claims 1 to 3, further comprising:
acquiring an active offline instruction forwarded by the message forwarding platform, wherein the active offline instruction is an instruction triggered by a client associated with second internet of things equipment and used for indicating to release the association relationship between the second internet of things equipment and the internet of things platform;
and initiating a second offline instruction, and forwarding the second offline instruction to a client associated with the second internet of things device, so that the association relationship between the second internet of things device and the internet of things platform is relieved.
6. A management apparatus for an offline device, comprising:
the first acquisition unit is used for acquiring a first equipment version message corresponding to a first Internet of things equipment forwarded by the message forwarding platform, wherein the first Internet of things equipment is equipment with an established association relationship of the Internet of things platform, and the message forwarding platform is used for forwarding a message initiated by the first Internet of things equipment or sent to the first Internet of things equipment;
the first judging unit is used for judging whether the first equipment version message is matched with the second equipment version message or not under the condition that the second equipment version message imported by the message management platform is acquired, wherein the second equipment version message is equipment which has the association relation established by the internet of things platform and is indicated to be offline;
the first execution unit is used for initiating a first downlink instruction and forwarding the first downlink instruction to a client associated with the first Internet of things device under the condition that the first device version message is matched with the second device version message so as to enable the first Internet of things device and the Internet of things platform to release the association relation; the first execution unit includes: the first execution module is used for initiating the first offline instruction and forwarding the first offline instruction to a client associated with the first Internet of things device through a message communication system so as to enable the first Internet of things device and the Internet of things platform to release the association, wherein the message communication system is used for being responsible for connection between the Internet of things platform and the first Internet of things device, and a supporting device establishes the association with the Internet of things platform through various communication protocols and connection modes;
The first execution module includes: the first execution submodule is used for initiating the first downlink instruction, sending the first downlink instruction to the message communication system, converting a first instruction format of the first downlink instruction into a second instruction format corresponding to the first Internet of things device by the message communication system, and forwarding the first downlink instruction of the second instruction format to a client associated with the first Internet of things device by the message communication system so that the association relationship between the first Internet of things device and the Internet of things platform is relieved.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 5.
8. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to perform the method of any of claims 1 to 5 by means of the computer program.
CN202210764125.6A 2022-06-30 2022-06-30 Offline equipment management method, storage medium and electronic device Active CN115314549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210764125.6A CN115314549B (en) 2022-06-30 2022-06-30 Offline equipment management method, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210764125.6A CN115314549B (en) 2022-06-30 2022-06-30 Offline equipment management method, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN115314549A CN115314549A (en) 2022-11-08
CN115314549B true CN115314549B (en) 2024-03-22

Family

ID=83854679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210764125.6A Active CN115314549B (en) 2022-06-30 2022-06-30 Offline equipment management method, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115314549B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294393A (en) * 2020-01-19 2020-06-16 深圳市瑞研通讯设备有限公司 Equipment Internet of things platform management method
CN111488156A (en) * 2020-04-08 2020-08-04 中国银行股份有限公司 Client function offline method and device
CN111769978A (en) * 2020-06-19 2020-10-13 青岛海尔科技有限公司 Method, device, terminal and system for reporting offline information of Internet of things equipment
CN112437146A (en) * 2020-11-18 2021-03-02 青岛海尔科技有限公司 Equipment state synchronization method, device and system
CN112835968A (en) * 2021-02-01 2021-05-25 浪潮云信息技术股份公司 Intelligent equipment linkage method based on Internet of things
CN113596619A (en) * 2021-06-22 2021-11-02 深圳市泛海数据科技有限公司 Fire-fighting Internet of things multi-device state judgment method, device, equipment and storage medium
CN113810449A (en) * 2020-06-17 2021-12-17 广东芬尼克兹节能设备有限公司 Control method, device, equipment and storage medium for keeping equipment on line
CN114662720A (en) * 2022-04-22 2022-06-24 国网安徽省电力有限公司 Thing of transformer substation allies oneself with edge management platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10367688B2 (en) * 2016-08-17 2019-07-30 Red Hat Israel, Ltd. Discovering changes of network interface controller names

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294393A (en) * 2020-01-19 2020-06-16 深圳市瑞研通讯设备有限公司 Equipment Internet of things platform management method
CN111488156A (en) * 2020-04-08 2020-08-04 中国银行股份有限公司 Client function offline method and device
CN113810449A (en) * 2020-06-17 2021-12-17 广东芬尼克兹节能设备有限公司 Control method, device, equipment and storage medium for keeping equipment on line
CN111769978A (en) * 2020-06-19 2020-10-13 青岛海尔科技有限公司 Method, device, terminal and system for reporting offline information of Internet of things equipment
CN112437146A (en) * 2020-11-18 2021-03-02 青岛海尔科技有限公司 Equipment state synchronization method, device and system
CN112835968A (en) * 2021-02-01 2021-05-25 浪潮云信息技术股份公司 Intelligent equipment linkage method based on Internet of things
CN113596619A (en) * 2021-06-22 2021-11-02 深圳市泛海数据科技有限公司 Fire-fighting Internet of things multi-device state judgment method, device, equipment and storage medium
CN114662720A (en) * 2022-04-22 2022-06-24 国网安徽省电力有限公司 Thing of transformer substation allies oneself with edge management platform

Also Published As

Publication number Publication date
CN115314549A (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US20150006719A1 (en) LEVERAGING SYSTEM SIGNALING SERVICE ADVERTISEMENTS FOR APPLICATION-LAYER DISCOVERY AND CONNECTION MANAGEMENT IN AN INTERNET OF THINGS (IoT) ENVIRONMENT
CN116033006A (en) Data processing method, system, storage medium and electronic device
CN116016002A (en) Intelligent household appliance network distribution method and device and electronic device
CN114697150B (en) Command issuing method and device, storage medium and electronic device
CN115314549B (en) Offline equipment management method, storage medium and electronic device
CN116418613A (en) Message reflow processing method and device, storage medium and electronic device
CN115296948B (en) Scene information updating method and device, storage medium and electronic device
CN115174643B (en) Control method and device of terminal equipment, storage medium and electronic device
WO2024016539A1 (en) Device control method and apparatus, and storage medium and electronic apparatus
CN115356937A (en) Device control method, device, storage medium, and electronic apparatus
CN116107975A (en) Control method and device of equipment, storage medium and electronic device
CN115296945B (en) Control method, system and device of equipment, storage medium and electronic device
CN115113534A (en) Scene execution method and device, storage medium and electronic device
CN115296958B (en) Distribution method and device of equipment control tasks, storage medium and electronic device
CN114697345B (en) Information updating method and device, storage medium and electronic device
CN115296947B (en) Control command response method and device, storage medium and electronic device
CN115174297B (en) Method and device for updating attribute information, storage medium and electronic device
CN115174513B (en) Message pushing method and device, storage medium and electronic device
CN115002206B (en) Control method and device of intelligent equipment, storage medium and electronic device
CN115473756B (en) Message sending method and device, storage medium and electronic device
CN115296946B (en) Control request decomposition method and device, storage medium and electronic device
CN115174383B (en) Equipment updating method, storage medium and electronic device
CN116578618A (en) Method and device for generating target reflow instance, storage medium and electronic device
CN116486802A (en) Equipment control method, device, storage medium and electronic device
CN115174296A (en) Equipment function access method, device, storage medium and electronic device

Legal Events

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