CN113835347A - Device state management method and device - Google Patents

Device state management method and device Download PDF

Info

Publication number
CN113835347A
CN113835347A CN202111082311.3A CN202111082311A CN113835347A CN 113835347 A CN113835347 A CN 113835347A CN 202111082311 A CN202111082311 A CN 202111082311A CN 113835347 A CN113835347 A CN 113835347A
Authority
CN
China
Prior art keywords
identifier
mapping table
object model
state
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111082311.3A
Other languages
Chinese (zh)
Other versions
CN113835347B (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111082311.3A priority Critical patent/CN113835347B/en
Publication of CN113835347A publication Critical patent/CN113835347A/en
Application granted granted Critical
Publication of CN113835347B publication Critical patent/CN113835347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Computer And Data Communications (AREA)

Abstract

本申请实施例提供了一种设备状态管理方法及装置,该方法首先通信模块在所属的当前设备终端上电后,获取当前设备终端本体的设备标识,再向云端服务器发送获取请求,获取请求携带所述设备标识,接收云端服务器根据设备标识反馈的物模型映射表,并存储至通信模块的存储单元中,最后,根据物模型映射表,管理当前设备终端的工作状态。本申请将属性映射表存储在云端服务器中,云端服务器根据获取请求向设备终端的通信模块发送对应的属性映射表,不需要将属性映射表储存在设备终端的电控端中,节省了电控端的存储空间。

Figure 202111082311

The embodiments of the present application provide a device state management method and device. In the method, first, after the current device terminal to which it belongs is powered on, the communication module obtains the device identifier of the current device terminal body, and then sends an obtaining request to the cloud server, and the obtaining request carries The device identification receives the object model mapping table fed back by the cloud server according to the device identification, and stores it in the storage unit of the communication module. Finally, according to the object model mapping table, the current working state of the device terminal is managed. In the present application, the attribute mapping table is stored in the cloud server, and the cloud server sends the corresponding attribute mapping table to the communication module of the equipment terminal according to the acquisition request, and the attribute mapping table does not need to be stored in the electronic control terminal of the equipment terminal, which saves the electric control end storage space.

Figure 202111082311

Description

Equipment state management method and device
Technical Field
The application relates to the field of intelligent household appliances, in particular to a device state management method and device.
Background
In the field of intelligent household appliances, when manufacturers produce intelligent equipment, functions, parameters and the like of equipment of various types are abstracted to form an attribute mapping table with a mapping relation, and the same mapping table is conveniently used for attribute configuration of the equipment of the same type and a server side and a control terminal corresponding to the equipment. In the conventional scheme, the attribute mapping table is stored in the corresponding device, and this method may occupy a large amount of storage space of the device.
Content of application
The embodiment of the application provides an equipment management method and an equipment management device, which are used for saving the storage space of an electric control end of an equipment terminal.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
in one aspect, the present application provides an apparatus status management method for a communication module of an apparatus terminal, including:
the communication module acquires the equipment identifier of the current equipment terminal body after the current equipment terminal is electrified;
sending an acquisition request to a cloud server, wherein the acquisition request carries the equipment identifier;
receiving an object model mapping table fed back by the cloud server according to the equipment identifier, and storing the object model mapping table into a storage unit of the communication module;
and managing the working state of the current equipment terminal according to the object model mapping table.
Optionally, in some possible implementation manners of the present application, the step of managing the working state of the current device terminal according to the object model mapping table includes:
receiving reported first state updating information of the current equipment terminal after responding to the state updating of a local control instruction, wherein the first state updating information comprises a first local function identifier and a first local state identifier after the first local function identifier is updated;
based on the object model mapping table, converting the first local function identifier into a corresponding first network function identifier, and converting the first local state identifier into a corresponding first network state identifier;
and uploading the first network function identifier and the first network state identifier to the cloud server.
Optionally, in some possible implementation manners of the present application, the step of managing the working state of the current device terminal according to the object model mapping table includes:
receiving a second network function identifier sent by the cloud server and a second network state identifier corresponding to the second network function identifier;
based on the object model mapping table, converting the second network function identifier into a corresponding second local function identifier, and converting the second network state identifier into a corresponding second local state identifier;
and issuing the second local function identifier and the second local state identifier to the current equipment terminal body.
Optionally, in some possible implementation manners of the present application, after the step of issuing the second local function identifier and the second local status identifier to the current device terminal body, the method further includes:
receiving second state updating information reported by the current equipment terminal after the state of a response network control instruction is updated according to the second local function identifier and the second local state identifier, wherein the second state updating information comprises a third local function identifier and a third local state identifier updated by the third local function identifier;
converting the third local function identifier into a corresponding third network function identifier and converting the third local state identifier into a corresponding first network state identifier based on the object model mapping table;
and uploading the third network function identifier and the third network state identifier to the cloud server.
Optionally, in some possible implementation manners of the present application, the step of managing the working state of the current device terminal according to the object model mapping table includes:
receiving a network state query request issued by the cloud server, wherein the network state query request carries a fourth network function identifier;
based on the object model mapping table, converting the network state query request carrying the fourth network function identifier into a local state query request carrying a fourth local function identifier;
sending the local state query request to the current equipment terminal;
receiving a fourth local state identifier corresponding to a fourth local function identifier fed back by the current equipment terminal according to the local state query request;
converting the fourth local state identifier into a corresponding fourth network state identifier based on the object model mapping table;
and uploading the fourth network state identifier to the cloud server.
In one aspect, the present application provides an apparatus status management method for a cloud server, including:
the device state management method comprises the following steps:
receiving an acquisition request sent by a communication module, wherein the acquisition request carries an equipment identifier of a current equipment terminal body;
and feeding back an object model mapping table corresponding to the equipment identifier to the communication module.
Optionally, in some possible implementations of the present application, before the step of feeding back the object model mapping table corresponding to the device identifier to the communication module, the method further includes:
and receiving an object model mapping table corresponding to the equipment identification uploaded by the developer terminal.
Optionally, in some possible implementations of the present application, after the step of feeding back the object model mapping table corresponding to the device identifier to the communication module, the method further includes:
and when detecting that the object model mapping table corresponding to the equipment identifier changes, pushing a data updating prompt to the communication module so as to trigger the communication module to acquire the changed object model mapping table corresponding to the equipment identifier.
Optionally, in some possible implementations of the present application, after the step of feeding back the object model mapping table corresponding to the device identifier to the communication module, the method further includes:
and when detecting that the object model mapping table corresponding to the equipment identifier changes, sending the changed object model mapping table corresponding to the equipment identifier to the communication module.
Meanwhile, an embodiment of the present application further provides an apparatus state management device, where the apparatus state management device is disposed in a communication module of an apparatus terminal, and the apparatus state management device includes:
the first acquisition module is used for acquiring the equipment identifier of the current equipment terminal body after the communication module is powered on the current equipment terminal;
the second acquisition module is used for sending an acquisition request to a cloud server, wherein the acquisition request carries the equipment identifier;
the first receiving module is used for receiving the object model mapping table fed back by the cloud server according to the equipment identifier and storing the object model mapping table into a storage unit of the communication module;
and the management module is used for managing the working state of the current equipment terminal according to the object model mapping table.
The embodiment of the present application further provides another device status management apparatus, where the device status management apparatus is disposed in a cloud server, and the device status management apparatus includes:
the second receiving module is used for receiving an acquisition request sent by the communication module, wherein the acquisition request carries the equipment identifier of the current equipment terminal body;
and the feedback module is used for feeding back the object model mapping table corresponding to the equipment identifier to the communication module.
The application also provides an electronic device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform any one of the operations in the device state management method.
The embodiment of the application provides a device state management method and device, the method includes the steps that firstly, after a communication module is powered on a current device terminal, a device identification of a current device terminal body is obtained, then an obtaining request is sent to a cloud server, the obtaining request carries the device identification, an object model mapping table fed back by the cloud server according to the device identification is received and stored in a storage unit of the communication module, and finally, the working state of the current device terminal is managed according to the object model mapping table. According to the method and the device, the attribute mapping table is stored in the cloud server, the cloud server sends the corresponding attribute mapping table to the communication module of the equipment terminal according to the acquisition request, the attribute mapping table does not need to be stored in the electric control end of the equipment terminal, the storage space of the electric control end is saved, meanwhile, the object model mapping table corresponding to the terminal equipment can be dynamically acquired and updated at any time, and ota upgrading is not needed to be carried out on the communication module or the single chip microcomputer of the electric control end.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a schematic view of a first scenario of a device status management system according to an embodiment of the present application.
Fig. 1b is a schematic view of a second scenario of the device status management system according to the embodiment of the present application.
Fig. 2 is a first flowchart illustrating a device status management method according to an embodiment of the present application.
Fig. 3a is a second flowchart illustrating a device status management method according to an embodiment of the present application.
Fig. 3b is a third flowchart illustrating a device status management method according to an embodiment of the present application.
Fig. 4 is a fourth flowchart illustrating a device status management method according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a device status management apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a second device status management apparatus according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In this application, the device terminal includes the communication module at device terminal body and device terminal, the device terminal body does not contain all parts of packet communication module for in the device terminal, the device terminal body includes but is not limited to household electrical appliances such as traditional TV set, air conditioner that do not have communication function.
In the present application, the cloud server is also called as an "cloud server" (ECS) and is a computing Service with simple, efficient, safe, reliable, and elastically scalable processing capability. The management mode is simpler and more efficient than that of a physical server. A user can rapidly create or release any plurality of cloud servers without purchasing hardware in advance. The user is connected with the cloud server through a wireless network or a mobile network, and resources stored in the cloud server can be obtained.
Referring to fig. 1a, fig. 1a is a first scenario schematic diagram of an apparatus state management system according to an embodiment of the present disclosure, where the apparatus state management system includes an apparatus terminal 10 and a cloud server 11, the apparatus terminal 10 is composed of an apparatus terminal local 101 and a communication module 102, where:
the device terminal 10 includes, but is not limited to, an intelligent home device such as an intelligent air conditioner.
The device terminal 10 and the cloud server 11 perform data interaction through a wireless network or a wired network, wherein the wireless network includes but is not limited to WiFi.
Firstly, after the device terminal 10 is powered on, the communication module 102 acquires a device identifier of the current device terminal body 101, where the power-on refers to that the communication module 102 starts an object request model mapping table for the first time, the communication module 102 sends an acquisition request to the cloud server 11, the acquisition request carries the device identifier of the device terminal body 101, the device identifier may be a device model, and then receives an attribute mapping table fed back by the cloud server 11 according to the device identifier, the attribute mapping table is stored in a storage unit of the communication module 102, and the communication module 102 manages a working state of the device terminal 10 according to the object model mapping table.
As shown in fig. 1b, which is a second scenario diagram of the device status management system provided in the embodiment of the present application, the communication module 102 may be a WiFi module, the WiFi module is connected to a device terminal through a serial port, and the device terminal communicates with a cloud server through the WiFi module via a router.
It should be noted that the scene schematic diagrams of the device control system shown in fig. 1a and 1b are only an example, and the device terminal and the cloud server described in the embodiment of the present application are used to more clearly illustrate the technical solution of the embodiment of the present application, and do not limit the technical solution provided in the embodiment of the present application. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 2, fig. 2 is a first flowchart of a device state management method according to an embodiment of the present application, for a communication module of a device terminal, where the device state management method includes:
step 201: and the communication module acquires the equipment identifier of the current equipment terminal body after the current equipment terminal is electrified.
In this application, the device terminal includes the communication module at device terminal body and device terminal, the device terminal body does not contain all parts of packet communication module for in the device terminal, the device terminal body includes but is not limited to household electrical appliances such as traditional TV set, air conditioner that do not have communication function. After the current device terminal is started for the first time, the communication module connected with the current device terminal starts to acquire a device identifier of the current device terminal body, wherein the device identifier can be a device model or a character which identifies the identity of the device such as a code. For example, the device identifier corresponding to the air conditioner is KT, and the device identifier corresponding to the television is DS.
Step 202: and sending an acquisition request to a cloud server, wherein the acquisition request carries the equipment identifier.
After acquiring the equipment identifier of the current equipment terminal body, the communication module sends a request for acquiring an object model mapping table corresponding to the equipment terminal to the cloud server, wherein the request for acquiring carries the equipment identifier.
Step 203: and receiving the object model mapping table fed back by the cloud server according to the equipment identifier, and storing the object model mapping table into a storage unit of the communication module.
The cloud server searches a corresponding object model mapping table according to the equipment identification, then sends the searched object model mapping table to the communication module, and after the communication module receives the corresponding object model mapping table, the communication module analyzes the object model mapping table in a memory of the communication module and simultaneously stores the object model mapping table in the flash.
The object model mapping table is used for abstracting functions, parameters and the like of various types of equipment to form an attribute mapping table with a mapping relation, wherein the object model mapping table comprises a mapping relation in which local function identifications and network function identifications are in one-to-one correspondence, a mapping relation in which local state identifications and network state identifications are in one-to-one correspondence, the local function identifications and the local state identifications are languages which can be identified by a machine, the network function identifications and the network state identifications are languages which can be identified by a user, and the object model mapping table is used for converting the languages which can be identified by the machine into the languages which can be identified by the user or converting the languages which can be identified by the user into the languages which can be identified by the machine to complete man-machine interaction so as to manage the state of management equipment. As shown in table 1, a physical model mapping table corresponding to the air conditioner is shown, where the content in the physical model mapping table may be added according to needs, or may be added with a target temperature, a target duration, and the like, which is not limited herein.
Local function identification Network function identification Local state identification Network status identification
1 Power supply 0/1 0: off 1: is opened
2 Temperature of 0/1 0: decrease by 1: is raised
Step 204: and managing the working state of the current equipment terminal according to the object model mapping table.
And the communication module manages the working state of the current equipment terminal according to the object model mapping table.
Fig. 3a is a second flowchart of the device state management method provided in the embodiment of the present application, and is used for a communication module of a device terminal, where step 204 specifically includes the following steps:
step 3011: and receiving first state updating information reported by the current equipment terminal after responding to the state update of the local control instruction, wherein the first state updating information comprises a first local function identifier and a first local state identifier after updating the first local function identifier.
Assuming that the current device terminal is an air conditioner, when a user turns on a power supply of the air conditioner by using a local remote controller corresponding to the air conditioner, the state of the air conditioner is updated to be a state that the power supply is turned on from a previous state that the power supply is turned off, the current device terminal sends updated first state information to the communication module, as can be known from table 1, a local function identifier corresponding to the power supply is 1, a local state identifier corresponding to a state that the power supply is turned on is 1, and therefore, the first state update information is "11".
Step 3012: and based on the object model mapping table, converting the first local function identifier into a corresponding first network function identifier, and converting the first local state identifier into a corresponding first network state identifier.
After receiving the first state update information, the communication module converts the first local function identifier into a corresponding first network function identifier and converts the first local state identifier into a corresponding first network state identifier based on the physical model mapping table, as can be seen from table 1, the first network state identifier corresponding to the first local function identifier "1" is "power source", and the first network state identifier corresponding to the first local state identifier "1" of the first local function identifier is "on".
Step 3013: and uploading the first network function identifier and the first network state identifier to a cloud server.
And uploading the first network function identifier 'power supply' and the first network state identifier 'on' obtained in the last step to a cloud platform, so that a user can check the state information after the air conditioner is updated on the cloud platform.
Fig. 3b is a third flowchart of the device state management method provided in this embodiment, and is used for a communication module of a device terminal, where step 204 specifically includes the following steps:
step 3021: and receiving a second network function identifier sent by the cloud server and a second network state identifier corresponding to the second network function identifier.
When a user needs to remotely control the device terminal, control information can be issued through the platform, and the control information carries the second network function identifier and the second network state identifier corresponding to the second network function identifier.
Step 3022: and based on the object model mapping table, converting the second network function identifier into a corresponding second local function identifier, and converting the second network state identifier into a corresponding second local state identifier.
As can be seen from table 1, the second local function identifier corresponding to the second network function identifier "temperature" is "2", and the second local state identifier corresponding to the second network state identifier "decrease" of the second network function identifier is "0".
Step 3023: and issuing the second local function identifier and the second local state identifier to the current equipment terminal body.
The communication module issues the second local function identifier "2" and the second local state identifier "0" obtained in the previous step to the current equipment terminal, that is, the electric control end of the air conditioner, and the electric control end controls the operation state of the current equipment terminal according to the second local function identifier and the second local state identifier, for example, the temperature of the air conditioner is reduced according to "20".
In an embodiment, after the step of issuing the second local function identifier and the second local status identifier to the current device terminal body, the method further includes: receiving second state updating information reported by the current equipment terminal after the state of a response network control instruction is updated according to the second local function identifier and the second local state identifier, wherein the second state updating information comprises a third local function identifier and a third local state identifier updated by the third local function identifier; converting the third local function identifier into a corresponding third network function identifier and converting the third local state identifier into a corresponding first network state identifier based on the object model mapping table; and uploading the third network function identifier and the third network state identifier to the cloud server.
In an embodiment, the step of managing the working state of the current device terminal according to the object model mapping table includes: receiving a network state query request issued by the cloud server, wherein the network state query request carries a fourth network function identifier; based on the object model mapping table, converting the network state query request carrying the fourth network function identifier into a local state query request carrying a fourth local function identifier; sending the local state query request to the current equipment terminal; receiving a fourth local state identifier corresponding to a fourth local function identifier fed back by the current equipment terminal according to the local state query request; converting the fourth local state identifier into a corresponding fourth network state identifier based on the object model mapping table; and uploading the fourth network state identifier to the cloud server.
The embodiment of the application provides an equipment state management method, which includes the steps that firstly, after a communication module is electrified at a current equipment terminal, an equipment identifier of a current equipment terminal body is obtained, then an obtaining request is sent to a cloud server, the obtaining request carries the equipment identifier, an object model mapping table fed back by the cloud server according to the equipment identifier is received and stored in a storage unit of the communication module, and finally, the working state of the current equipment terminal is managed according to the object model mapping table. According to the method and the device, the attribute mapping table is stored in the cloud server, the cloud server sends the corresponding attribute mapping table to the communication module of the equipment terminal according to the acquisition request, the attribute mapping table does not need to be stored in the electric control end of the equipment terminal, the storage space of the electric control end is saved, meanwhile, the object model mapping table corresponding to the terminal equipment can be dynamically acquired and updated at any time, and ota upgrading is not needed to be carried out on the communication module or the single chip microcomputer of the electric control end.
Referring to fig. 4, fig. 4 is a fourth schematic flow chart of a device status management method for a cloud server according to an embodiment of the present disclosure, where the device status management method includes the following steps:
step 401: and receiving an acquisition request sent by the communication module, wherein the acquisition request carries the equipment identifier of the current equipment terminal body.
In one embodiment, before the step of feeding back the object model mapping table corresponding to the device identifier to the communication module, the method further includes: and receiving an object model mapping table corresponding to the equipment identification uploaded by the developer terminal.
The object model mapping table corresponding to the device identifier can be uploaded to the cloud server by a developer and stored in the cloud server.
Step 402: and feeding back the object model mapping table corresponding to the equipment identifier to the communication module.
In one embodiment, after the step of feeding back the object model mapping table corresponding to the device identifier to the communication module, the method further includes: and when detecting that the object model mapping table corresponding to the equipment identifier changes, pushing a data updating prompt to the communication module so as to trigger the communication module to acquire the changed object model mapping table corresponding to the equipment identifier.
When the object model mapping table corresponding to the terminal device is updated, the original object model mapping is not applicable, for example: the device identification of the air conditioner is KT, and when the cloud server detects that the object model data corresponding to KT are updated, the cloud server pushes a data update prompt to a communication module of the air conditioner so as to trigger the communication module to send an acquisition request to the cloud end to acquire the latest object model mapping table.
In one embodiment, after the step of feeding back the object model mapping table corresponding to the device identifier to the communication module, the method further includes: and when detecting that the object model mapping table corresponding to the equipment identifier changes, sending the changed object model mapping table corresponding to the equipment identifier to the communication module.
When the cloud server detects that the object model data corresponding to KT is updated, the cloud server directly sends the changed object model mapping table corresponding to the equipment identification to a communication module of the air conditioner.
The embodiment of the application provides an equipment state management method, which comprises the steps of firstly receiving an acquisition request sent by a communication module, wherein the acquisition request carries an equipment identifier of a current equipment terminal body, feeding back an object model mapping table corresponding to the equipment identifier to the communication module, receiving the object model mapping table corresponding to the equipment identifier uploaded by a developer terminal before the step of feeding back the object model mapping table corresponding to the equipment identifier to the communication module, and sending the changed object model mapping table corresponding to the equipment identifier to the communication module after the step of feeding back the object model mapping table corresponding to the equipment identifier to the communication module when detecting that the object model mapping table corresponding to the equipment identifier is changed. The object model mapping table can be dynamically updated, and development and maintenance costs are saved.
On the basis of the method in the foregoing embodiment, this embodiment will be further described from the perspective of a device control apparatus, please refer to fig. 5, where fig. 5 specifically describes a first structural schematic diagram of a device state management apparatus provided in this embodiment, where the device state management apparatus is disposed in a communication module of a device terminal, and may include:
a first obtaining module 501, configured to obtain a device identifier of a current device terminal body after the communication module powers on the current device terminal to which the communication module belongs;
a second obtaining module 502, configured to send an obtaining request to a cloud server, where the obtaining request carries the device identifier;
a first receiving module 503, configured to receive an object model mapping table fed back by the cloud server according to the device identifier, and store the object model mapping table in a storage unit of the communication module;
and a management module 504, configured to manage a working state of the current device terminal according to the object model mapping table.
Referring to fig. 6, fig. 6 is a schematic diagram specifically illustrating a second structure of the device state management apparatus according to the embodiment of the present application, where the device state management apparatus is disposed in a cloud server, and the device state management apparatus includes:
a second receiving module 601, configured to receive an acquisition request sent by a communication module, where the acquisition request carries an equipment identifier of a current equipment terminal body;
a feedback module 602, configured to feed back, to the communication module, an object model mapping table corresponding to the device identifier.
Accordingly, embodiments of the present application also provide an electronic device, as shown in fig. 7, which may include radio frequency circuits 701, a memory 702 including one or more computer-readable storage media, an input unit 703, a display unit 704, a sensor 705, an audio circuit 706, a WiFi module 707, a processor 708 including one or more processing cores, and a power supply 709. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the rf circuit 701 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to the one or more processors 708 for processing; in addition, data relating to uplink is transmitted to the base station. The memory 702 may be used to store software programs and modules, and the processor 708 executes various functional applications and data processing by operating the software programs and modules stored in the memory 702. The input unit 703 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The display unit 704 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof.
The electronic device may also include at least one sensor 705, such as a light sensor, motion sensor, and other sensors. The audio circuitry 706 includes speakers that can provide an audio interface between the user and the electronic device.
WiFi belongs to short-range wireless transmission technology, and the electronic device can help the user send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 707, which provides wireless broadband internet access for the user. Although fig. 7 shows the WiFi module 707, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 708 is a control center of the electronic device, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 702 and calling data stored in the memory 702, thereby performing overall monitoring of the mobile phone.
The electronic device also includes a power source 709 (e.g., a battery) for supplying power to various components, which may preferably be logically coupled to the processor 708 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
Although not shown, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 708 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 702 according to the following instructions, and the processor 708 runs the application programs stored in the memory 702, so as to implement the following functions:
the communication module acquires the equipment identifier of the current equipment terminal body after the current equipment terminal is electrified;
sending an acquisition request to a cloud server, wherein the acquisition request carries the equipment identifier;
receiving an object model mapping table fed back by the cloud server according to the equipment identifier, and storing the object model mapping table into a storage unit of the communication module;
and managing the working state of the current equipment terminal according to the object model mapping table.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to implement the following functions:
the communication module acquires the equipment identifier of the current equipment terminal body after the current equipment terminal is electrified;
sending an acquisition request to a cloud server, wherein the acquisition request carries the equipment identifier;
receiving an object model mapping table fed back by the cloud server according to the equipment identifier, and storing the object model mapping table into a storage unit of the communication module;
and managing the working state of the current equipment terminal according to the object model mapping table.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by any method provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The above detailed description is given to a device status management method and apparatus provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the technical solution and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (11)

1.一种设备状态管理方法,其特征在于,用于设备终端的通信模块,所述设备状态管理方法包括:1. A device state management method, characterized in that, a communication module for a device terminal, the device state management method comprising: 所述通信模块在所属的当前设备终端上电后,获取当前设备终端本体的设备标识;The communication module acquires the device identifier of the current device terminal body after the current device terminal to which it belongs is powered on; 向云端服务器发送获取请求,所述获取请求携带所述设备标识;sending an acquisition request to the cloud server, where the acquisition request carries the device identifier; 接收所述云端服务器根据所述设备标识反馈的物模型映射表,并存储至所述通信模块的存储单元中;receiving the object model mapping table fed back by the cloud server according to the device identifier, and storing it in the storage unit of the communication module; 根据所述物模型映射表,管理所述当前设备终端的工作状态。According to the object model mapping table, the working state of the current equipment terminal is managed. 2.如权利要求1所述的设备状态管理方法,其特征在于,所述根据所述物模型映射表,管理所述当前设备终端的工作状态的步骤,包括:2. The device state management method according to claim 1, wherein the step of managing the working state of the current device terminal according to the object model mapping table comprises: 接收所述当前设备终端在响应本地控制指令的状态更新后的上报的第一状态更新信息,所述第一状态更新信息包括第一本地功能标识以及所述第一本地功能标识更新后的第一本地状态标识;Receive the first state update information reported by the current device terminal after the state update in response to the local control instruction, the first state update information includes the first local function identifier and the first local function identifier after the update of the first local function identifier. local state identifier; 基于所述物模型映射表,将所述第一本地功能标识转化成对应的第一网络功能标识,将所述第一本地状态标识转化成对应的第一网络状态标识;Based on the object model mapping table, converting the first local function identifier into a corresponding first network function identifier, and converting the first local state identifier into a corresponding first network state identifier; 将所述第一网络功能标识和所述第一网络状态标识上传至所述云端服务器。Upload the first network function identifier and the first network state identifier to the cloud server. 3.如权利要求1所述的设备状态管理方法,其特征在于,所述根据所述物模型映射表,管理所述当前设备终端的工作状态的步骤,包括:3. The device state management method according to claim 1, wherein the step of managing the working state of the current device terminal according to the object model mapping table comprises: 接收所述云端服务器下发的第二网络功能标识和所述第二网络功能标识对应的第二网络状态标识;receiving a second network function identifier issued by the cloud server and a second network state identifier corresponding to the second network function identifier; 基于所述物模型映射表,将所述第二网络功能标识转化成对应的第二本地功能标识,将所述第二网络状态标识转化成对应的第二本地状态标识;Based on the object model mapping table, converting the second network function identifier into a corresponding second local function identifier, and converting the second network state identifier into a corresponding second local state identifier; 将所述第二本地功能标识和所述第二本地状态标识下发至所述当前设备终端本体。Delivering the second local function identifier and the second local state identifier to the current device terminal body. 4.如权利要求3所述的设备状态管理方法,其特征在于,在所述将所述第二本地功能标识和所述第二本地状态标识下发至所述当前设备终端本体的步骤之后,还包括:4. The device state management method according to claim 3, wherein after the step of issuing the second local function identifier and the second local state identifier to the current device terminal body, Also includes: 接收所述当前设备终端根据所述第二本地功能标识和所述第二本地状态标识做出响应网络控制指令的状态更新后上报的第二状态更新信息,所述第二状态更新信息包括第三本地功能标识以及所述第三本地功能标识更新后的第三本地状态标识;Receiving the second status update information reported by the current device terminal after the status update in response to the network control instruction according to the second local function identifier and the second local status identifier, the second status update information includes the third status update information. the local function identifier and the updated third local state identifier of the third local function identifier; 基于所述物模型映射表,将所述第三本地功能标识转化成对应的第三网络功能标识,将所述第三本地状态标识转化成对应的第一网络状态标识;Based on the object model mapping table, converting the third local function identifier into a corresponding third network function identifier, and converting the third local state identifier into a corresponding first network state identifier; 将所述第三网络功能标识和所述第三网络状态标识上传至所述云端服务器。Upload the third network function identifier and the third network state identifier to the cloud server. 5.如权利要求1所述的设备状态管理方法,其特征在于,所述根据所述物模型映射表,管理所述当前设备终端的工作状态的步骤,包括:5. The device state management method according to claim 1, wherein the step of managing the working state of the current device terminal according to the object model mapping table comprises: 接收所述云端服务器下发的网络状态查询请求,所述网络状态查询请求携带第四网络功能标识;receiving a network status query request sent by the cloud server, where the network status query request carries a fourth network function identifier; 基于所述物模型映射表,将所述携带第四网络功能标识的网络状态查询请求转化成携带第四本地功能标识的本地状态查询请求;Converting the network status query request carrying the fourth network function identifier into a local status query request carrying the fourth local function identifier based on the object model mapping table; 向所述当前设备终端发送所述本地状态查询请求;sending the local status query request to the current equipment terminal; 接收所述当前设备终端根据所述本地状态查询请求反馈的第四本地功能标识对应的第四本地状态标识;receiving a fourth local state identifier corresponding to a fourth local function identifier fed back by the current device terminal according to the local state query request; 基于所述物模型映射表,将所述第四本地状态标识转化成对应的第四网络状态标识;converting the fourth local state identifier into a corresponding fourth network state identifier based on the object model mapping table; 将所述第四网络状态标识上传至所述云端服务器。uploading the fourth network status identifier to the cloud server. 6.一种设备状态管理方法,其特征在于,用于云端服务器,所述设备状态管理方法包括:6. A device state management method, characterized in that it is used in a cloud server, the device state management method comprising: 接收通信模块发送的获取请求,所述获取请求携带当前设备终端本体的设备标识;receiving an acquisition request sent by the communication module, where the acquisition request carries the device identifier of the current device terminal body; 向所述通信模块反馈与所述设备标识对应的物模型映射表。The object model mapping table corresponding to the device identifier is fed back to the communication module. 7.如权利要求6所述的设备状态管理方法,其特征在于,在所述向所述通信模块反馈与所述设备标识对应的物模型映射表的步骤之前,还包括:7. The device state management method according to claim 6, wherein before the step of feeding back the object model mapping table corresponding to the device identifier to the communication module, the method further comprises: 接收开发者终端上传的所述设备标识对应的物模型映射表。The object model mapping table corresponding to the device identifier uploaded by the developer terminal is received. 8.如权利要求6所述的设备状态管理方法,其特征在于,在所述向所述通信模块反馈与所述设备标识对应的物模型映射表的步骤之后,还包括:8. The device state management method according to claim 6, wherein after the step of feeding back the object model mapping table corresponding to the device identifier to the communication module, the method further comprises: 在检测到所述设备标识对应的物模型映射表发生变化时,向所述通信模块推送数据更新提示,以触发所述通信模块获取所述设备标识对应的变化后的物模型映射表。When it is detected that the object model mapping table corresponding to the device identification changes, a data update prompt is pushed to the communication module to trigger the communication module to acquire the changed object model mapping table corresponding to the device identification. 9.如权利要求6所述的设备状态管理方法,其特征在于,在所述向所述通信模块反馈与所述设备标识对应的物模型映射表的步骤之后,还包括:9. The device state management method according to claim 6, wherein after the step of feeding back the object model mapping table corresponding to the device identifier to the communication module, the method further comprises: 在检测到所述设备标识对应的物模型映射表发生变化时,向所述通信模块发送所述设备标识对应的变化后的物模型映射表。When it is detected that the object model mapping table corresponding to the device identification changes, the changed object model mapping table corresponding to the device identification is sent to the communication module. 10.一种设备状态管理装置,所述设备状态管理装置设置在设备终端的通信模块中,所述设备状态管理装置包括:10. A device state management device, the device state management device being set in a communication module of a device terminal, the device state management device comprising: 第一获取模块,用于所述通信模块在所属的当前设备终端上电后,获取当前设备终端本体的设备标识;a first obtaining module, used for the communication module to obtain the device identification of the current device terminal body after the current device terminal to which it belongs is powered on; 第二获取模块,用于向云端服务器发送获取请求,所述获取请求携带所述设备标识;a second acquisition module, configured to send an acquisition request to the cloud server, where the acquisition request carries the device identifier; 第一接收模块,用于接收所述云端服务器根据所述设备标识反馈的物模型映射表,并存储至所述通信模块的存储单元中;a first receiving module, configured to receive the object model mapping table fed back by the cloud server according to the device identifier, and store it in a storage unit of the communication module; 管理模块,用于根据所述物模型映射表,管理所述当前设备终端的工作状态。The management module is used for managing the working state of the current equipment terminal according to the object model mapping table. 11.一种设备状态管理装置,所述设备状态管理装置设置在云端服务器中,所述设备状态管理装置包括:11. A device state management device, the device state management device being set in a cloud server, the device state management device comprising: 第二接收模块,用于接收通信模块发送的获取请求,所述获取请求携带当前设备终端本体的设备标识;a second receiving module, configured to receive an acquisition request sent by the communication module, where the acquisition request carries the device identifier of the current device terminal body; 反馈模块,用于向所述通信模块反馈与所述设备标识对应的物模型映射表。The feedback module is configured to feed back the object model mapping table corresponding to the device identification to the communication module.
CN202111082311.3A 2021-09-15 2021-09-15 Device status management method and device Active CN113835347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111082311.3A CN113835347B (en) 2021-09-15 2021-09-15 Device status management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111082311.3A CN113835347B (en) 2021-09-15 2021-09-15 Device status management method and device

Publications (2)

Publication Number Publication Date
CN113835347A true CN113835347A (en) 2021-12-24
CN113835347B CN113835347B (en) 2024-11-22

Family

ID=78959619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111082311.3A Active CN113835347B (en) 2021-09-15 2021-09-15 Device status management method and device

Country Status (1)

Country Link
CN (1) CN113835347B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174297A (en) * 2022-05-30 2022-10-11 青岛海尔科技有限公司 Attribute information updating method and device, storage medium and electronic device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973522A (en) * 2013-01-31 2014-08-06 珠海格力电器股份有限公司 Intelligent household system and monitoring method thereof
US20140229105A1 (en) * 2013-02-14 2014-08-14 Lg Electronics Inc. Mobile terminal and cloud system using the mobile terminal
CN103997442A (en) * 2013-02-20 2014-08-20 珠海格力电器股份有限公司 monitoring method and system of intelligent home system and intelligent home system
CN105812157A (en) * 2014-12-30 2016-07-27 福建新大陆电脑股份有限公司 Internet-of-things equipment management system and method
WO2018040813A1 (en) * 2016-08-31 2018-03-08 腾讯科技(深圳)有限公司 Audio/video communication method, terminal, server, and storage medium
CN108224683A (en) * 2017-12-28 2018-06-29 惠州Tcl家电集团有限公司 Method of data synchronization, user equipment and computer readable storage medium
CN109413515A (en) * 2018-11-20 2019-03-01 深圳绿米联创科技有限公司 Apparatus control method, device, mobile terminal and server
CN110716439A (en) * 2019-10-21 2020-01-21 合肥美的电冰箱有限公司 Household appliance state synchronization method, household appliance and medium
CN112383663A (en) * 2019-05-08 2021-02-19 华为技术有限公司 Display method and device
CN113348725A (en) * 2019-05-16 2021-09-03 深圳市欢太科技有限公司 Device operation method, device, gateway, electronic device and computer readable medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973522A (en) * 2013-01-31 2014-08-06 珠海格力电器股份有限公司 Intelligent household system and monitoring method thereof
US20140229105A1 (en) * 2013-02-14 2014-08-14 Lg Electronics Inc. Mobile terminal and cloud system using the mobile terminal
CN103997442A (en) * 2013-02-20 2014-08-20 珠海格力电器股份有限公司 monitoring method and system of intelligent home system and intelligent home system
CN105812157A (en) * 2014-12-30 2016-07-27 福建新大陆电脑股份有限公司 Internet-of-things equipment management system and method
WO2018040813A1 (en) * 2016-08-31 2018-03-08 腾讯科技(深圳)有限公司 Audio/video communication method, terminal, server, and storage medium
CN108224683A (en) * 2017-12-28 2018-06-29 惠州Tcl家电集团有限公司 Method of data synchronization, user equipment and computer readable storage medium
CN109413515A (en) * 2018-11-20 2019-03-01 深圳绿米联创科技有限公司 Apparatus control method, device, mobile terminal and server
CN112383663A (en) * 2019-05-08 2021-02-19 华为技术有限公司 Display method and device
CN113348725A (en) * 2019-05-16 2021-09-03 深圳市欢太科技有限公司 Device operation method, device, gateway, electronic device and computer readable medium
CN110716439A (en) * 2019-10-21 2020-01-21 合肥美的电冰箱有限公司 Household appliance state synchronization method, household appliance and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
余长庚: "绿色数据中心机房智能监控技术及应用", 31 July 2021, 华中科技大学出版社, pages: 323 - 327 *
冯媛;武丰龙;蔡增玉;张建伟;: "基于预缓存机制的网络标识映射机制", 制造业自动化, no. 07, 10 April 2013 (2013-04-10), pages 26 - 29 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174297A (en) * 2022-05-30 2022-10-11 青岛海尔科技有限公司 Attribute information updating method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN113835347B (en) 2024-11-22

Similar Documents

Publication Publication Date Title
CN105915420B (en) The adding method and device of smart home device
CN113412469B (en) Equipment network distribution method and device, electronic equipment and storage medium
WO2020206693A1 (en) Smart home scheduling method, apparatus and system, server and storage medium
CN107332976B (en) Karaoke method, device, equipment and system
CN107976911B (en) Equipment control method, device and system
CN104111634A (en) Intelligent household system and control method
CN104714817A (en) Method, system and control terminal for upgrading household appliance software through infrared signal
CN106162811B (en) Method and device for establishing network connection
CN105187480B (en) Profile acquisition method, apparatus and system
EP3972202A1 (en) Smart home system control method and apparatus, electronic device and storage medium
WO2020168568A1 (en) Data processing method and apparatus, electronic device and readable storage medium
CN113986349A (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN114116014A (en) An instruction issuing method, device, intelligent device and storage medium
CN110299002A (en) A kind of infrared control system and method based on Internet of Things cloud platform
CN113835347B (en) Device status management method and device
CN111866138A (en) Cloud mobile phone configured with cloud system operation
CN114120999A (en) Equipment control method and device
CN105306244B (en) Router management method, system and equipment
CN110363979A (en) A LoRa remote control system and control method based on ModBus protocol
CN114584624B (en) Electronic device management method, system, server and computer readable storage medium
CN109448348B (en) Infrared remote control device
CN113630129A (en) Terminal communication control method, device, equipment and computer readable storage medium
CN114116090A (en) Information display method and device, electronic equipment and computer readable storage medium
CN114443168A (en) Data configuration method, device and computer readable storage medium
CN107612705A (en) A kind of method and trunking of the equipment power saving of bulk management internet-of-things terminal

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