CN113835347A - Equipment state management method and device - Google Patents
Equipment state management method and device Download PDFInfo
- 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
- state
- object model
- model mapping
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 63
- 238000013507 mapping Methods 0.000 claims abstract description 130
- 238000004891 communication Methods 0.000 claims abstract description 97
- 238000000034 method Methods 0.000 claims abstract description 21
- 230000004044 response Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 70
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total 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
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, and the storage space of the electric control end is saved.
Description
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. A device status management method, for a communication module of a device terminal, the device status management method comprising:
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.
2. The device status management method according to claim 1, wherein the step of managing the operating status of the current device terminal according to the object model mapping table comprises:
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.
3. The device status management method according to claim 1, wherein the step of managing the operating status of the current device terminal according to the object model mapping table comprises:
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.
4. The device status management method according to claim 3, wherein 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 comprises:
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.
5. The device status management method according to claim 1, wherein the step of managing the operating status of the current device terminal according to the object model mapping table comprises:
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.
6. A device state management method is used for a cloud server, and 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.
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 identification to the communication module, further comprising:
and receiving an object model mapping table corresponding to the equipment identification uploaded by the developer terminal.
8. The device state management method according to claim 6, further comprising, after the step of feeding back the object model mapping table corresponding to the device identification to the communication module:
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.
9. The device state management method according to claim 6, further comprising, after the step of feeding back the object model mapping table corresponding to the device identification to the communication module:
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.
10. A device state management apparatus provided in a communication module of a device terminal, the device state management apparatus comprising:
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.
11. A device state management apparatus provided in a cloud server, the device state management apparatus comprising:
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111082311.3A CN113835347A (en) | 2021-09-15 | 2021-09-15 | Equipment state management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111082311.3A CN113835347A (en) | 2021-09-15 | 2021-09-15 | Equipment state management method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113835347A true CN113835347A (en) | 2021-12-24 |
Family
ID=78959619
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111082311.3A Pending CN113835347A (en) | 2021-09-15 | 2021-09-15 | Equipment state management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113835347A (en) |
Cited By (1)
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)
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 |
-
2021
- 2021-09-15 CN CN202111082311.3A patent/CN113835347A/en active Pending
Patent Citations (10)
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)
Title |
---|
余长庚: "绿色数据中心机房智能监控技术及应用", 31 July 2021, 华中科技大学出版社, pages: 323 - 327 * |
冯媛;武丰龙;蔡增玉;张建伟;: "基于预缓存机制的网络标识映射机制", 制造业自动化, no. 07, 10 April 2013 (2013-04-10), pages 26 - 29 * |
Cited By (1)
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 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105915420B (en) | The adding method and device of smart home device | |
WO2020206693A1 (en) | Smart home scheduling method, apparatus and system, server and storage medium | |
CN107332976B (en) | Karaoke method, device, equipment and system | |
CN113412469A (en) | Equipment network distribution method and device, electronic equipment and storage medium | |
CN104111634A (en) | Intelligent household system and control method | |
CN104714817A (en) | Method, system and control terminal for upgrading household appliance software through infrared signal | |
CN107025120B (en) | Software upgrading processing method and device and terminal | |
CN106162811B (en) | Method and device for establishing network connection | |
CN105245377A (en) | Smart home host and control system thereof | |
CN113986349A (en) | Data processing method, data processing device, computer readable storage medium and computer equipment | |
CN114116014A (en) | Instruction issuing method and device, intelligent equipment and storage medium | |
CN113835347A (en) | Equipment state management method and device | |
CN111866138A (en) | Cloud mobile phone configured with cloud system operation | |
CN114120999A (en) | Equipment control method and device | |
CN117472163B (en) | Power supply system for high-speed additional card | |
CN112671572B (en) | Method and device for intelligent equipment network distribution, storage medium and electronic device | |
CN105306244B (en) | Router management method, system and equipment | |
CN114327332A (en) | Internet of things equipment setting method and device, electronic equipment and storage medium | |
CN111916084A (en) | Smart home voice control method and device, equipment and storage medium | |
CN113132191A (en) | Voice control method of intelligent device, intelligent device and storage medium | |
CN113630129B (en) | Terminal communication control method, device, equipment and computer readable storage medium | |
CN109347686A (en) | Terminal online remote upgrading system and method and intelligent household appliance | |
CN114116090A (en) | Information display method and device, electronic equipment and computer readable storage medium | |
CN113129578A (en) | Matching method, control method, system and storage medium of infrared equipment | |
CN111402882A (en) | Intelligent voice module and operation method thereof |
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 |