CN115633056A - Intelligent information prompting method, device, equipment and medium in operating system of Internet of things - Google Patents

Intelligent information prompting method, device, equipment and medium in operating system of Internet of things Download PDF

Info

Publication number
CN115633056A
CN115633056A CN202211207206.2A CN202211207206A CN115633056A CN 115633056 A CN115633056 A CN 115633056A CN 202211207206 A CN202211207206 A CN 202211207206A CN 115633056 A CN115633056 A CN 115633056A
Authority
CN
China
Prior art keywords
internet
control
equipment
error code
things
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
Application number
CN202211207206.2A
Other languages
Chinese (zh)
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 Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202211207206.2A priority Critical patent/CN115633056A/en
Publication of CN115633056A publication Critical patent/CN115633056A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application relates to an information intelligent prompting method, device, equipment and medium in an operating system of the Internet of things. The method comprises the following steps: the method comprises the steps that control response information is obtained by controlling the Internet of things equipment; under the condition that the control response information indicates that control fails, searching a target error code matched with the Internet of things equipment from cached error codes according to the equipment identification of the Internet of things equipment; if the target error code is found and is in the corresponding life cycle, ignoring the control response information representing control failure without error prompt; if the target error code is not found, determining the target error code matched with the Internet of things equipment, correspondingly caching the target error code and the equipment identification to the local, and generating error prompt information. By adopting the method, system resources can be saved.

Description

Intelligent information prompting method, device, equipment and medium in Internet of things operating system
Technical Field
The application relates to the technical field of computers, in particular to an intelligent information prompting method, device, equipment and medium in an operating system of the Internet of things.
Background
With the development of computer technology, remote control technology has emerged, in which a user can use a local computer device to send a control instruction to a remote computer device, and the remote computer device can respond to the received control instruction to perform an operation indicated by the control instruction.
Conventionally, the local computer device prompts the user for an error whenever a control error occurs. For the situation of frequent control errors, the local computer device cannot avoid frequently and massively generating error prompts, so that a large amount of system resources are consumed for interactive prompts.
Disclosure of Invention
In view of the foregoing, there is a need to provide an intelligent prompting method, an intelligent prompting apparatus, a computer device, a computer-readable storage medium, and a computer program product for information in an operating system of the internet of things, which can save system resources.
In a first aspect, the application provides an intelligent information prompting method in an operating system of the internet of things. The method comprises the following steps:
the method comprises the steps that control response information is obtained by controlling the Internet of things equipment;
under the condition that the control response information indicates that the control fails, searching a target error code matched with the Internet of things equipment from the cached error codes according to the equipment identification of the Internet of things equipment;
if the target error code is found and is in the corresponding life cycle, ignoring the control response information representing the control failure without error prompt;
if the target error code is not found, the target error code matched with the Internet of things equipment is determined, the target error code and the equipment identification are correspondingly cached to the local, and error prompt information is generated.
In one embodiment, the method further comprises:
based on the life cycles respectively corresponding to the cached error codes, carrying out validity detection on the cached error codes;
and deleting the invalid error codes exceeding the corresponding life cycle from the cached error codes.
In one embodiment, if the target error code is found and the target error code is in the corresponding life cycle, ignoring the control response information indicating the control failure, and before performing no error prompt, the method further includes:
determining the error type of the error code aiming at the cached error code;
determining a life cycle corresponding to the error code according to the error type;
and caching the error code locally and recording the corresponding life cycle.
In one embodiment, the cached error codes respectively have corresponding error types;
under the condition that the control response information indicates that the control fails, searching a target error code matched with the Internet of things equipment from the cached error codes according to the equipment identifier of the Internet of things equipment, wherein the steps specifically comprise:
under the condition that the control response information indicates that the control fails, determining at least one cached error code corresponding to the equipment identifier of the Internet of things equipment from the cached error codes; the control response information indicating control failure comprises an error code of response;
and searching the error codes matched with the error types of the error codes of the response from at least one error code to obtain the target error code.
In one embodiment, the method further comprises:
under the condition that the control response information indicates that the control fails and the Internet of things equipment is in an abnormal state, acquiring equipment state information of the Internet of things equipment according to a preset time interval;
and under the condition that the triggering operation of the equipment control interface is obtained, displaying the equipment state information of the equipment of the Internet of things in the equipment control interface.
In one embodiment, the method further comprises:
generating a delay control setting entry in the case where the control response information indicates a control failure due to an abnormality in the device state;
responding to the trigger operation of the delay control setting entrance, and displaying a delay control interface;
acquiring a delay control time range input for the Internet of things equipment in a delay control interface;
and if the Internet of things equipment is detected to be recovered to the normal state within the delay control time range, triggering the control of the Internet of things equipment.
In one embodiment, the method further comprises:
acquiring delay control instruction information input for the Internet of things equipment in a delay control interface;
if the internet of things equipment is detected to be recovered to the normal state within the delay control time range, the internet of things equipment is triggered to be controlled, and the method specifically comprises the following steps:
and if the Internet of things equipment is detected to be recovered to the normal state within the delay control time range, triggering the control of the Internet of things equipment based on the delay control instruction information.
In a second aspect, the application further provides an intelligent information prompting device in the operating system of the internet of things. The device comprises:
the control module is used for controlling the Internet of things equipment to obtain control response information;
the searching module is used for searching a target error code matched with the Internet of things equipment from the cached error codes according to the equipment identification of the Internet of things equipment under the condition that the control response information indicates that the control fails;
the error prompt module is used for ignoring control response information representing control failure and not performing error prompt if the target error code is found and is in a corresponding life cycle; if the target error code is not found, the target error code matched with the Internet of things equipment is determined, the target error code and the equipment identification are correspondingly cached to the local, and error prompt information is generated.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, the memory stores computer programs, and the processor realizes the steps of the method embodiments when executing the computer programs.
In a fourth aspect, the present application further provides a computer-readable storage medium. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method embodiments of the application.
In a fifth aspect, the present application further provides a computer program product. Computer program product comprising a computer program which, when being executed by a processor, carries out the steps of the embodiments of the method of the present application.
According to the method and the device for intelligently prompting information in the operating system of the Internet of things, the computer equipment, the storage medium and the computer program product, the control response information is obtained by controlling the equipment of the Internet of things; under the condition that the control response information indicates that the control fails, searching a target error code matched with the equipment of the Internet of things from the cached error codes according to the equipment identification of the equipment of the Internet of things; if the target error code is found and is in the corresponding life cycle, ignoring control response information representing control failure, not performing error prompt, and avoiding the problem of frequent error prompt for the condition of frequent control errors; if the target error code is not found, the target error code matched with the Internet of things equipment is determined, the target error code and the equipment identifier are correspondingly cached to the local, error prompt information is generated, error prompt is carried out by finding the cached target error code, the error prompt information is generated if the target error code is not found, and no error prompt is carried out if the target error code is found, so that the error prompt information can be generated or no error prompt is carried out according to different conditions, the error prompt can be prevented from being frequently generated in large quantity, and system resources are saved.
Drawings
FIG. 1 is a diagram of an application environment of an intelligent information prompting method in an operating system of the Internet of things in one embodiment;
fig. 2 is a schematic flow chart of an intelligent information prompting method in an operating system of the internet of things in one embodiment;
FIG. 3 is a schematic diagram illustrating a method for intelligently prompting information in an operating system of the Internet of things according to an embodiment;
fig. 4 is a simple flowchart of an intelligent information prompting method in an operating system of the internet of things in one embodiment;
fig. 5 is a block diagram illustrating a structure of an intelligent information prompt device in an operating system of the internet of things in one embodiment;
FIG. 6 is a diagram of the internal structure of a computer device in one embodiment;
fig. 7 is an internal structural diagram of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The method for intelligently prompting the information in the operating system of the internet of things, provided by the embodiment of the application, can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104, or may be located on the cloud or other network server. The terminal 102 may control the internet of things device through the server 104 to obtain control response information returned by the server 104; under the condition that the control response information indicates that the control fails, the terminal 102 may search a target error code matched with the internet of things device from the cached error codes according to the device identifier of the internet of things device; if the target error code is found and the target error code is in the corresponding life cycle, the terminal 102 may ignore the control response information indicating the control failure and does not perform error prompt; if the target error code is not found, the terminal 102 may determine the target error code matched with the internet of things device, cache the target error code and the device identifier locally, and generate error prompt information. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, smart central control screen hangers, smart curtains, smart door locks, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In an embodiment, as shown in fig. 2, an intelligent information prompting method in an operating system of the internet of things is provided, and the method is applied to the terminal in fig. 1 as an example for description. It is understood that the method can also be applied to a system comprising a terminal and a server, and is implemented through the interaction of the terminal and the server. In this embodiment, the method includes the steps of:
s202, control response information is obtained by controlling the Internet of things equipment.
The control response information is used for indicating a control result of the Internet of things equipment. It is to be understood that the control result may be one of success, failure, error, no response, or the like.
For example, the terminal may send a control command for the internet of things device to the server, and the server may forward the control command to the internet of things device. The internet of things equipment can respond to the control command and feed back the response condition of the control command to the server. The server may determine control response information matching the response situation and transmit the control response information to the terminal.
In one embodiment, the terminal may deploy an internet of things operating system.
In one embodiment, the internet of things device may be a smart home device. The internet of things device may include at least one of an intelligent switch device, an intelligent lighting device, an intelligent curtain device, or the like. The terminal can respond to the triggering operation of the equipment control interface and display the equipment control interface for controlling the equipment of the Internet of things. The terminal can respond to the control operation aiming at the Internet of things equipment in the equipment control interface and send a control command aiming at the Internet of things equipment to the server.
In one embodiment, the control command may instruct the internet of things device to adjust to a specified device state. It can be understood that the internet of things device can respond to the control command to adjust the local terminal to the device state specified by the control command.
In one embodiment, the server may detect a current device status of the internet of things device before forwarding the control command to the internet of things device. It is understood that, in the case where the current device state is abnormal, the server may directly return control response information indicating that the control has failed to the terminal.
In one embodiment, in the case that it is determined that the internet of things device is offline, the server may directly return control response information indicating control failure to the terminal.
And S204, under the condition that the control response information indicates that the control fails, searching a target error code matched with the equipment of the Internet of things from the cached error codes according to the equipment identification of the equipment of the Internet of things.
For example, the terminal may determine the device identifier of the internet of things device carried by the control response information. Under the condition that the control response information indicates that the control fails, the terminal can search the cached target error code corresponding to the equipment identifier of the internet of things equipment from the locally cached error codes.
And S206, if the target error code is found and is in the corresponding life cycle, ignoring the control response information representing the control failure without performing error prompt.
Wherein, the life cycle is used for representing the valid period of the error code. The cached error codes have a life cycle, the cached error codes are already subjected to error prompt at the beginning stage of the life cycle, and the error prompt can be carried out only by the error codes cached again under the condition that the life cycle is ended. It is understood that error codes within the life cycle are valid. If the target error code is found and is in the corresponding life cycle, the representation terminal generates an error prompt for the target error code in the near future, and in order to avoid frequent error prompt, the terminal can ignore control response information indicating control failure and does not perform error prompt any more.
And S208, if the target error code is not found, determining the target error code matched with the Internet of things equipment, correspondingly caching the target error code and the equipment identifier to the local, and generating error prompt information.
Illustratively, the terminal may delete error codes up to the life cycle locally. If the target error code is not found, an error prompt is not generated within the time representing at least one life cycle, and the terminal can correspondingly cache the target error code matched with the Internet of things equipment and the equipment identification to the local and generate error prompt information. It can be understood that the terminal can display the error prompt message on the interface. For example, the terminal may present an error prompt at the device control interface.
In one embodiment, the control reply information may include an error code that the internet of things device matches. The terminal can obtain the target error code matched with the Internet of things equipment from the control response information. It is to be understood that an error code in the control response message may indicate a response condition of the internet of things device, for example, an error code indicating a control failure, an error code indicating no response in control, and so on.
In one embodiment, the terminal may generate a target error code matched with the internet of things device when the control response information returned by the server cannot be acquired. It will be appreciated that the target error code may then represent an error code that controls no acknowledgement or an error code that fails control due to an error that occurs with no acknowledgement by the server.
In one embodiment, in the case that the control response information indicates that the control is successful, the terminal may delete a target error code matching the internet of things device from the locally cached error codes.
In one embodiment, the server may cache the error code. The terminal can search the error codes cached by the server for the target error code. In other embodiments, the server may search for a target error code from the cached error codes, and send information of the searched target error code to the terminal.
In the intelligent information prompting method in the internet of things operating system, control response information is obtained by controlling the internet of things equipment; under the condition that the control response information indicates that the control fails, searching a target error code matched with the equipment of the Internet of things from the cached error codes according to the equipment identification of the equipment of the Internet of things; if the target error code is found and the target error code is in the corresponding life cycle, ignoring control response information representing control failure, not making error prompt, and avoiding the problem of frequent error prompt for the condition that control errors frequently occur; if the target error code is not found, the target error code matched with the Internet of things equipment is determined, the target error code and the equipment identifier are correspondingly cached to the local, error prompt information is generated, error prompt is carried out by finding the cached target error code, the error prompt information is generated if the target error code is not found, and no error prompt is carried out if the target error code is found, so that the error prompt information can be generated or no error prompt is carried out according to different conditions, the error prompt can be prevented from being frequently generated in large quantity, and system resources are saved.
In one embodiment, the method further comprises: based on the life cycles respectively corresponding to the cached error codes, carrying out validity detection on the cached error codes; and deleting the invalid error codes exceeding the corresponding life cycle from the cached error codes.
Illustratively, the terminal may perform validity detection on the cached error codes by determining a local caching time of the cached error codes and determining whether the local caching time reaches a life cycle corresponding to each of the cached error codes. It is understood that the local buffering time is the time that the error code has been buffered locally. And when the local caching time does not reach the corresponding life cycle, the validity detection is passed, and the corresponding cached error code is represented as a valid error code. And when the local caching time reaches the corresponding life cycle, the validity detection fails, and the corresponding cached error code is represented as an invalid error code. The terminal may delete the failed error codes exceeding the corresponding life cycle from the locally cached error codes.
In one embodiment, the cached error codes may include a target error code. The terminal can correspondingly cache the target error code and the equipment identifier to the local, carry out validity detection on the target error code based on the life cycle corresponding to the target error code, and delete the target error code under the condition that the validity detection fails.
In an embodiment, the terminal may correspondingly cache the target error code carried by the control response information or generated by the terminal and the device identifier to the local, generate the error prompt information, and start the countdown of the life cycle of the target error code. In case the countdown of the life cycle is over, the terminal may delete the locally stored target error code. For example, the terminal may start a 5s countdown to clear locally cached error codes.
In one embodiment, a schematic diagram of an intelligent information prompting method in an operating system of the internet of things is provided as shown in fig. 3. The terminal can respond to the control operation aiming at the Internet of things equipment in the equipment control interface and send a control command to the Internet of things cloud server so as to instruct the Internet of things cloud server to control the Internet of things equipment. Under the condition that the Internet of things equipment is in an off-line or weak network state, the response of the Internet of things equipment to the control command fails, and the Internet of things cloud server can send control response information indicating the control failure to the terminal. Under the condition that the target error code is not found, the terminal can cache the error code of the response in the control response information to the local, and generate and display error prompt information in an equipment control interface. The terminal can start the life cycle countdown when the responded error codes are cached, the countdown is finished to represent that the error codes exceed the life cycle, and the terminal can delete the failure error codes finished by the countdown.
In the embodiment, validity detection is carried out on the cached error codes through the life cycles respectively corresponding to the cached error codes; and deleting the invalid error codes exceeding the corresponding life cycle from the cached error codes, and subsequently caching new error codes again to generate error prompts, so that the error codes of the same Internet of things equipment can not be frequently prompted in at least one life cycle, and the waste of interface interaction resources is reduced.
In an embodiment, if the target error code is found and the target error code is in the corresponding life cycle, the method further includes, before ignoring the control response information indicating that the control fails and not performing the error prompt: determining the error type of the error code aiming at the cached error code; determining a life cycle corresponding to the error code according to the error type; and caching the error code locally and recording the corresponding life cycle.
The error type is used for representing the reason why the response of the Internet of things equipment to the control command fails. For example, control failure is caused by offline of the internet of things device, or control failure is caused by weak network of the internet of things device, or control failure is caused by no response of the server.
Illustratively, the terminal may determine an error type of the error code when caching the error code and the device identification correspondence locally. The terminal may determine a lifecycle corresponding to an error code indicated by a correspondence between a preset error type and the lifecycle. It is to be understood that the correspondence is used to indicate a lifecycle to which the error type corresponds. The terminal may cache the error code locally and record the corresponding life cycle. The subsequent terminal can perform validity detection on the cached error code based on the recorded life cycle.
In one embodiment, the terminal may determine an error type of the target error code, determine a life cycle corresponding to the target error code according to the error type, cache the target error code locally, and record the corresponding life cycle.
In one embodiment, the life cycle corresponding to the error type characterizing the weak network of the internet of things device is shorter than the life cycle corresponding to the error type characterizing the offline of the internet of things device.
In one embodiment, the terminal may determine the life cycle corresponding to the target error code according to the error type and the environment data. The environmental data may include at least one of weather, schedule, device identification or number of control operations, etc. It can be understood that in the case that the environmental data satisfies the control urgency condition, that is, the environmental data represents the control urgency of the internet of things device, the terminal may shorten the life cycle determined according to the error type. For example, the terminal may determine to shorten the life cycle corresponding to the intelligent air-conditioning device under the condition that the environmental data represents the weather heat, a subsequent plan to take a friend, and the device identifier indicates the intelligent air-conditioning device.
In the embodiment, the error type of the error code is determined aiming at the cached error code; determining a life cycle corresponding to the error code according to the error type; the error codes are cached locally and corresponding life cycles are recorded, and then frequent error prompt can be avoided according to the life cycles, so that interface interaction resources are reduced.
In one embodiment, the cached error codes respectively have corresponding error types; under the condition that the control response information indicates that the control fails, searching a target error code matched with the Internet of things equipment from the cached error codes according to the equipment identifier of the Internet of things equipment, wherein the steps specifically comprise: under the condition that the control response information indicates that the control fails, determining at least one cached error code corresponding to the equipment identifier of the Internet of things equipment from the cached error codes; the control response information indicating control failure comprises an error code of response; and searching for an error code matched with the error type of the error code responded from the at least one error code to obtain a target error code.
For example, in the case that the control response information indicates that the control fails, the terminal may determine, from the cached error codes, at least one error code cached corresponding to the device identifier of the internet of things device, and search, from the at least one error code, an error code consistent with an error type of the error code of the response to obtain a target error code. Under the condition that the target error code does not exist in the cached error codes, the terminal can determine the responded error code as the target error code and correspondingly cache the target error code and the equipment identifier to the local.
In one embodiment, a simple flowchart of an intelligent information prompting method in an operating system of the internet of things is provided as shown in fig. 4. The terminal can determine whether the error codes cached corresponding to the device identification of the internet of things device exist in the locally cached error codes. In the presence of the error code cached corresponding to the device identifier, the terminal may determine whether the error code cached corresponding to the device identifier exceeds the life cycle. In the case that the error code cached corresponding to the device identifier does not exceed the life cycle, the terminal may determine whether the error code cached corresponding to the device identifier is consistent with the error type of the error code responded. And under the condition that the error types are consistent, no error prompt is made.
The terminal may delete the invalid error code exceeding the life cycle, cache the responded error code, start life cycle countdown, and generate error prompt information in a case where there is no error code cached corresponding to the device identifier, in a case where the error code cached corresponding to the device identifier exceeds the life cycle, or in a case where the error type of the error code cached corresponding to the device identifier is inconsistent with the error code responded. It can be appreciated that the terminal can invoke the interface component to interface the error prompt message.
In this embodiment, when the control response information indicates that the control fails, at least one cached error code corresponding to the device identifier of the internet of things device is determined from the cached error codes; the error codes matched with the error types of the responded error codes are searched from the at least one error code to obtain the target error code, so that the method can adapt to the condition that the same Internet of things equipment has the error codes of various error types, and the adaptability of error prompt is improved.
In one embodiment, the method further comprises: under the condition that the control response information indicates that the control fails and the Internet of things equipment is in an abnormal state, acquiring equipment state information of the Internet of things equipment according to a preset time interval; and under the condition that the triggering operation of the equipment control interface is obtained, displaying the equipment state information of the equipment of the Internet of things in the equipment control interface.
The error type of the responded error code can be used for representing the abnormal state of the equipment of the Internet of things to a certain extent while representing the reason that the Internet of things fails to respond to the control command. It can be understood that the reason for the failure of the control command response includes that the internet of things is in an abnormal state. The device state information is used for indicating the state of the Internet of things device.
For example, in a case that control fails due to the fact that the internet of things device is in an abnormal state in the error type representation of the response error code of the control response information, the terminal may obtain the device state information of the internet of things device from the server according to a preset time interval. It can be understood that the server can monitor the state of the internet of things device to obtain the device state information of the internet of things device. The user can perform triggering operation on the terminal to trigger the terminal to display the equipment control interface. The terminal can display the equipment state information of the Internet of things equipment in the equipment control interface under the condition that the triggering operation of the equipment control interface is obtained.
In one embodiment, the terminal may update the device state information of the internet of things device in the device control interface. It can be understood that the user does not necessarily quit the device control interface after the control fails, and the terminal can also show the updated device state information to the user without triggering the operation.
In this embodiment, under the condition that the control response information indicates that the control is failed and the internet of things device is in an abnormal state, device state information of the internet of things device is acquired according to a preset time interval; under the condition that the trigger operation of the equipment control interface is obtained, the equipment state information of the Internet of things equipment is displayed in the equipment control interface, the situation that a user continues to control the equipment under the abnormal condition is avoided, convenience is improved, and meanwhile resources are saved.
In one embodiment, the method further comprises: generating a delay control setting entry in the case where the control response information indicates a control failure due to an abnormality in the device state; responding to the trigger operation of the delay control setting entrance, and displaying a delay control interface; acquiring a delay control time range input for the Internet of things equipment in a delay control interface; and if the Internet of things equipment is detected to be recovered to the normal state within the delay control time range, triggering the Internet of things equipment to be controlled.
Wherein the delay control setting entry is a trigger entry of the delay control interface. The delay control interface is used for carrying out delay control on the Internet of things equipment. The delay control time range is used to indicate a time range that allows control to be automatically performed for the internet of things device.
For example, the terminal may generate and present the delay control setting entry in the case where the control response information indicates a control failure due to an abnormality in the device state. The user can perform trigger operation on the delay control setting entry, and the terminal can respond to the trigger operation on the delay control setting entry and display a delay control interface. The user can input the delay control time range for the Internet of things equipment in the delay control interface, and the terminal can acquire the input delay control time range. The terminal can determine the state of the Internet of things equipment indicated by the equipment state information, and if the Internet of things equipment is detected to be recovered to the normal state within the delay control time range, the terminal can trigger the control of the Internet of things equipment.
In an embodiment, when the internet of things device fails to respond to the control command, the terminal may resend the control command for the internet of things device to the server within the delay control time range to trigger control over the internet of things device. It can be understood that the user does not need to perform control operation again, and only needs to input the delay control time range to realize the delay control of the internet of things equipment. In other embodiments, the user may perform a control operation on the internet of things device at the delay control interface and input the delay control time range.
In this embodiment, in a case where the control response information indicates that control has failed due to an abnormal device state, a delay control setting entry is generated; responding to the trigger operation of the delay control setting entrance, and displaying a delay control interface; acquiring a delay control time range input for the Internet of things equipment in a delay control interface; if the internet of things equipment is detected to be recovered to the normal state within the delay control time range, the internet of things equipment is triggered to be controlled, so that the internet of things equipment can be automatically controlled under the condition that the equipment state is normal, and convenience is improved.
In one embodiment, the method further comprises: acquiring delay control instruction information input for the Internet of things equipment in a delay control interface; if the internet of things equipment is detected to be recovered to the normal state within the delay control time range, the internet of things equipment is triggered to be controlled, and the method specifically comprises the following steps: and if the Internet of things equipment is detected to be recovered to the normal state within the delay control time range, triggering the control of the Internet of things equipment based on the delay control instruction information.
And the delay control instruction information indicates that a delay control instruction for the equipment of the Internet of things is generated. It is to be understood that the delay control instruction information may include a state parameter to which the internet of things device is to be adjusted, so as to indicate that the delay control instruction adjusted to the corresponding state is generated. For example, the delay control instruction information may include at least one of brightness of the smart lamp device, a degree of opening of the smart window blind device, or a temperature of the smart air conditioner device.
For example, a user may obtain delay control instruction information in a delay control interface for delay control instruction information input by an internet of things device. If the internet of things equipment is detected to be restored to the normal state within the delay control time range, the terminal can generate a delay control instruction matched with the delay control instruction information and send the delay control instruction to the server to trigger the control of the internet of things equipment. It can be understood that the internet of things device can respond to the delay control instruction to adjust the state parameters of the local terminal.
In the embodiment, delay control instruction information input for the internet of things equipment in a delay control interface is acquired; if the Internet of things equipment is detected to be recovered to the normal state within the delay control time range, the control of the Internet of things equipment based on the delay control instruction information is triggered, so that the Internet of things equipment can be automatically controlled under the condition that the equipment state is normal, and convenience is improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides an intelligent information prompting device in the operating system of the internet of things for realizing the intelligent information prompting method in the operating system of the internet of things. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so that specific limitations in the following one or more information intelligent prompting device embodiments in the operating system of the internet of things can be referred to the limitations on the information intelligent prompting method in the operating system of the internet of things, and are not described herein again.
In one embodiment, as shown in fig. 5, there is provided an intelligent prompting apparatus 500 for information in an operating system of the internet of things, including: a control module 502, a lookup module 504, and an error prompt module 506, wherein:
the control module 502 is configured to obtain control response information by controlling the internet of things device.
The searching module 504 is configured to search a target error code matched with the internet of things device from the cached error codes according to the device identifier of the internet of things device, when the control response information indicates that the control fails.
An error prompt module 506, configured to ignore the control response information indicating that the control fails, and not perform an error prompt if the target error code is found and is within the corresponding life cycle; if the target error code is not found, the target error code matched with the Internet of things equipment is determined, the target error code and the equipment identification are correspondingly cached to the local, and error prompt information is generated.
In an embodiment, the error prompt module 506 is configured to perform validity detection on the cached error codes based on the life cycles corresponding to the cached error codes respectively; and deleting the invalid error codes exceeding the corresponding life cycle from the cached error codes.
In one embodiment, the error prompt module 506 is configured to determine an error type of the error code for the cached error code; determining a life cycle corresponding to the error code according to the error type; and caching the error code locally and recording the corresponding life cycle.
In one embodiment, the cached error codes respectively have corresponding error types; the searching module 504 is configured to determine, from the cached error codes, at least one error code that is cached corresponding to the device identifier of the internet of things device when the control response information indicates that the control fails; the control response information indicating control failure comprises an error code of response; and searching for an error code matched with the error type of the error code responded from the at least one error code to obtain a target error code.
In one embodiment, the control module 502 is configured to, when the control response information indicates that the control is failed and the internet of things device is in an abnormal state, obtain device state information of the internet of things device at a preset time interval; and under the condition that the triggering operation of the equipment control interface is obtained, displaying the equipment state information of the equipment of the Internet of things in the equipment control interface.
In one embodiment, the control module 502 is configured to generate a delayed control setting entry in a case where the control response information indicates a control failure due to an abnormal device state; responding to the trigger operation of the delay control setting entrance, and displaying a delay control interface; acquiring a delay control time range input for the Internet of things equipment in a delay control interface; and if the Internet of things equipment is detected to be recovered to the normal state within the delay control time range, triggering the Internet of things equipment to be controlled.
In one embodiment, the control module 502 is configured to obtain delay control instruction information input in a delay control interface for an internet of things device; and if the Internet of things equipment is detected to be recovered to the normal state within the delay control time range, triggering to control the Internet of things equipment based on the delay control instruction information.
All modules in the information intelligent prompting device in the operating system of the internet of things can be completely or partially realized through software, hardware and a combination of the software and the hardware. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device comprises a processor, a memory, an Input/Output (I/O) interface and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing error codes. The input/output interface of the computer device is used for exchanging information between the processor and an external device. The communication interface of the computer device is used for connecting and communicating with an external terminal through a network. The computer program is executed by the processor to realize the intelligent information prompting method in the operating system of the Internet of things.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer apparatus includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input device. The processor, the memory and the input/output interface are connected by a system bus, and the communication interface, the display unit and the input device are connected by the input/output interface to the system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The input/output interface of the computer device is used for exchanging information between the processor and an external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by the processor to realize the intelligent information prompting method in the operating system of the Internet of things. The display unit of the computer equipment is used for forming a visual and visible picture, and can be a display screen, a projection device or a virtual reality imaging device, the display screen can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configurations shown in fig. 6 and 7 are merely block diagrams of portions of configurations related to aspects of the present application, and do not constitute limitations on the computing devices to which aspects of the present application may be applied, as particular computing devices may include more or less components than shown, or combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, carries out the steps in the method embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), magnetic Random Access Memory (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. An intelligent information prompting method in an operating system of the Internet of things is characterized by comprising the following steps:
the control response information is obtained by controlling the Internet of things equipment;
under the condition that the control response information indicates that control fails, searching a target error code matched with the Internet of things equipment from cached error codes according to the equipment identification of the Internet of things equipment;
if the target error code is found and the target error code is in the corresponding life cycle, ignoring the control response information representing control failure without performing error prompt;
if the target error code is not found, determining the target error code matched with the Internet of things equipment, correspondingly caching the target error code and the equipment identification to the local, and generating error prompt information.
2. The method of claim 1, further comprising:
based on the life cycles respectively corresponding to the cached error codes, carrying out validity detection on the cached error codes;
and deleting the invalid error codes exceeding the corresponding life cycle from the cached error codes.
3. The method of claim 1, wherein if the target error code is found and the target error code is within the corresponding life cycle, ignoring the control response message indicating control failure without error notification, the method further comprises:
determining an error type of the error code for the cached error code;
determining a life cycle corresponding to the error code according to the error type;
and caching the error codes locally and recording the corresponding life cycle.
4. The method of claim 1, wherein the buffered error codes each have a corresponding error type;
under the condition that the control response information indicates that the control fails, searching a target error code matched with the internet of things equipment from cached error codes according to the equipment identifier of the internet of things equipment, wherein the steps specifically include:
under the condition that the control response information indicates that control fails, determining at least one cached error code corresponding to the equipment identifier of the equipment of the Internet of things from the cached error codes; the control response information indicating control failure comprises an error code of response;
and searching for an error code matched with the error type of the error code of the response from the at least one error code to obtain a target error code.
5. The method of claim 1, further comprising:
under the condition that the control response information indicates that the control is failed and the Internet of things equipment is in an abnormal state, acquiring equipment state information of the Internet of things equipment according to a preset time interval;
and under the condition that the triggering operation of the equipment control interface is obtained, displaying the equipment state information of the equipment of the Internet of things in the equipment control interface.
6. The method according to any one of claims 1 to 5, further comprising:
generating a delay control setting entry in the case that the control response information indicates that control fails due to an abnormal device state;
responding to the trigger operation of the delay control setting entrance, and displaying a delay control interface;
acquiring a delay control time range input for the Internet of things equipment in the delay control interface;
and if the Internet of things equipment is detected to be recovered to the normal state within the delay control time range, triggering the control of the Internet of things equipment.
7. The method of claim 6, further comprising:
acquiring delay control instruction information input for the Internet of things equipment in the delay control interface;
if the internet of things equipment is detected to be recovered to the normal state within the delay control time range, triggering the control of the internet of things equipment, wherein the steps specifically comprise:
and if the Internet of things equipment is detected to be recovered to the normal state within the delay control time range, triggering to control the Internet of things equipment based on the delay control instruction information.
8. The utility model provides an information intelligence suggestion device in thing networking operating system which characterized in that, the device includes:
the control module is used for controlling the Internet of things equipment to obtain control response information;
the searching module is used for searching a target error code matched with the equipment of the Internet of things from the cached error codes according to the equipment identification of the equipment of the Internet of things under the condition that the control response information indicates that the control fails;
the error prompt module is used for ignoring the control response information representing control failure and not performing error prompt if the target error code is found and is in the corresponding life cycle; if the target error code is not found, determining the target error code matched with the Internet of things equipment, correspondingly caching the target error code and the equipment identifier to the local, and generating error prompt information.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202211207206.2A 2022-09-30 2022-09-30 Intelligent information prompting method, device, equipment and medium in operating system of Internet of things Pending CN115633056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211207206.2A CN115633056A (en) 2022-09-30 2022-09-30 Intelligent information prompting method, device, equipment and medium in operating system of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211207206.2A CN115633056A (en) 2022-09-30 2022-09-30 Intelligent information prompting method, device, equipment and medium in operating system of Internet of things

Publications (1)

Publication Number Publication Date
CN115633056A true CN115633056A (en) 2023-01-20

Family

ID=84905263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211207206.2A Pending CN115633056A (en) 2022-09-30 2022-09-30 Intelligent information prompting method, device, equipment and medium in operating system of Internet of things

Country Status (1)

Country Link
CN (1) CN115633056A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116110562A (en) * 2023-04-12 2023-05-12 深圳英美达医疗技术有限公司 Error management method and device for medical equipment, computer equipment and storage medium
CN118642808A (en) * 2024-08-12 2024-09-13 深圳市智慧城市科技发展集团有限公司 Application program prompting method, terminal equipment and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116110562A (en) * 2023-04-12 2023-05-12 深圳英美达医疗技术有限公司 Error management method and device for medical equipment, computer equipment and storage medium
CN116110562B (en) * 2023-04-12 2023-11-24 深圳英美达医疗技术有限公司 Error management method and device for medical equipment, computer equipment and storage medium
CN118642808A (en) * 2024-08-12 2024-09-13 深圳市智慧城市科技发展集团有限公司 Application program prompting method, terminal equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN109857737B (en) Cold and hot data storage method and device and electronic equipment
US11320167B2 (en) Centralized control method and system for VRV air conditioning system, and computer readable storage medium
CN108595919B (en) Software activation method, device, system and storage medium
US9411640B2 (en) Method for efficiently managing application and electronic device implementing the method
CN112465466B (en) Method, device, computer equipment and storage medium for executing flow task
CN115633056A (en) Intelligent information prompting method, device, equipment and medium in operating system of Internet of things
CN112732434A (en) Application management method and device
CN105027155A (en) Unifying cloud services for online sharing
CN108595213A (en) Method and device for adjusting threshold value of distance sensor and electronic equipment
CN109388487B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN109992369B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN114928620A (en) User information synchronization method, device, equipment, storage medium and program product
CN112702257B (en) Method and device for deleting friend application
CN111935337B (en) MAC address keep-alive method, equipment and storage medium of aggregation link
CN112416400A (en) Program update control method, program update control device, computer device, and storage medium
CN113891038B (en) Information prompting method, device, intelligent equipment and computer readable storage medium
US20240118947A1 (en) Method, device and medium for subscribing applications
CN114363461A (en) Application control method and device, electronic equipment and computer readable storage medium
CN114938924B (en) Intelligent closestool cover-turning control method and device, intelligent closestool and storage medium
CN103024537A (en) Intelligent TV (television) pre-warning method and system
WO2024159975A1 (en) Application program processing method and apparatus, electronic device, and storage medium
CN115243109B (en) Method and device for updating object state, live broadcast system, equipment and storage medium
CN116300612A (en) Interface intelligent control method, device, equipment, storage medium and program product
CN117917637A (en) Reminding method for system upgrade and electronic equipment
CN114791848A (en) Process control method, electronic equipment and system

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