A method, device and mobile terminal for generating a prompt message

By acquiring the working status information of smart devices through mobile terminals and generating prompts, the problem of low intelligence level of smart devices is solved, and convenient status adjustment and energy saving are achieved.

CN113783968BActive Publication Date: 2025-11-04ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111131522.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-14
Publication Date
2025-11-04
Estimated Expiration
2039-10-14

AI Technical Summary

Technical Problem

The current level of intelligence in smart devices is not high, and users need to actively consider whether to adjust the device's working status, which leads to inconvenience.

Method used

The system obtains the working status information of the smart devices controlled by the gateway control device through the mobile terminal, judges the consistency between the status and the target status, and generates a prompt message to switch to the target status when there is a discrepancy.

Benefits of technology

It improves the ease of use of smart devices, allowing users to promptly know and adjust device status, reduce energy waste, and enhance user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113783968B_ABST
    Figure CN113783968B_ABST
Patent Text Reader

Abstract

The embodiment of the present specification provides a method, device and mobile terminal for generating prompt information. The scheme comprises: triggering the mobile terminal to acquire the working state information of the intelligent device from the gateway control device according to the current state information of the mobile terminal; if the working state of the intelligent device is inconsistent with the target state, the mobile terminal generates prompt information to prompt the user to switch the working state of the intelligent device to the target state.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The one or more embodiments of the present specification relate to the technical field of computer technology, and particularly relate to a method and device for generating prompt information and a mobile terminal. BACKGROUND

[0002] With the development of Internet of Things technology, smart devices are also increasingly used by users. Smart devices can be connected together through the Internet of Things to provide users with functions such as home appliance control, lighting control, burglar alarm, and environmental monitoring. Compared with ordinary devices, smart devices not only have traditional use functions, but also have network communication, remote control, information appliances, and device automation functions. However, at present, the degree of intelligence of smart devices is not high, so users need to actively consider whether the working state of the smart device should be adjusted when using the smart device, which brings a lot of inconvenience and annoyance to the user, and the ideal smart device should be further improved.

[0003] In summary, how to improve the use convenience of smart devices has become a technical problem to be solved. SUMMARY

[0004] Therefore, the one or more embodiments of the present specification provide a method and device for generating prompt information and a mobile terminal, which enable the user to know the prompt information that the working state of the smart device needs to be adjusted in time, thereby improving the use convenience of the smart device.

[0005] To solve the above technical problems, the embodiments of the present specification are implemented as follows:

[0006] The method for generating prompt information provided by the embodiments of the present specification comprises:

[0007] According to the current state information of the mobile terminal, the mobile terminal triggers to obtain the working state information of the smart device controlled by the gateway control device in the preset Internet of Things range from the gateway control device.

[0008] Based on the working state information of the smart device, it is determined whether the working state of the smart device is consistent with the target state, and a first determination result is obtained.

[0009] When the first determination result indicates that the working state of the smart device is inconsistent with the target state, the mobile terminal generates prompt information, and the prompt information is used to prompt the working state of the smart device to be switched to the target state.

[0010] The device for generating prompt information provided by the embodiments of the present specification comprises:

[0011] triggering the mobile terminal to acquire, from a gateway control device in a preset Internet of Things range, working state information of a smart device controlled by the gateway control device according to current state information of the mobile terminal;

[0012] determining whether the working state of the smart device is consistent with a target state based on the working state information of the smart device, to obtain a first determination result;

[0013] generating, when the first determination result indicates that the working state of the smart device is inconsistent with the target state, prompt information in the mobile terminal, the prompt information being used to prompt switching of the working state of the smart device to the target state.

[0014] A mobile terminal provided by an embodiment of the present specification comprises:

[0015] at least one processor; and

[0016] a memory in communication connection with the at least one processor; wherein

[0017] the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:

[0018] trigger the mobile terminal to acquire, from a gateway control device in a preset Internet of Things range, working state information of a smart device controlled by the gateway control device according to current state information of the mobile terminal;

[0019] determine whether the working state of the smart device is consistent with a target state based on the working state information of the smart device, to obtain a first determination result;

[0020] generate, when the first determination result indicates that the working state of the smart device is inconsistent with the target state, prompt information in the mobile terminal, the prompt information being used to prompt switching of the working state of the smart device to the target state.

[0021] A computer readable medium provided by an embodiment of the present specification has computer readable instructions stored thereon, and the computer readable instructions can be executed by a processor to implement the above-mentioned method for generating prompt information.

[0022] One or more embodiments of the present specification can achieve the following beneficial effects:

[0023] According to the current state information of the mobile terminal, the mobile terminal is triggered to acquire the working state information of the smart device from the gateway control device, and if the working state of the smart device is inconsistent with the target state, the mobile terminal generates prompt information to prompt the user to switch the working state of the smart device to the target state, so that the user can timely know the prompt information that the working state of the smart device needs to be adjusted, and the use convenience and intelligence of the smart device are improved. BRIEF DESCRIPTION OF DRAWINGS

[0024] The accompanying drawings, which are included to provide a further understanding of the one or more embodiments of the present specification and constitute a part of the present specification, illustrate the exemplary embodiments of the present specification and are used to explain one or more embodiments of the present specification, but do not constitute an improper limitation on one or more embodiments of the present specification. In the drawings:

[0025] Figure 1 A schematic diagram of an application scenario of a method for generating prompt information provided in an embodiment of the present specification;

[0026] Figure 2 A schematic diagram of a flow of a method for generating prompt information provided in an embodiment of the present specification;

[0027] Figure 3 A schematic diagram of a first energy-saving behavior visualization interface provided in an embodiment of the present specification;

[0028] Figure 4 A schematic diagram of a second energy-saving behavior visualization interface provided in an embodiment of the present specification;

[0029] Figure 5 A structural schematic diagram of a device for generating prompt information corresponding to Figure 2 provided in an embodiment of the present specification;

[0030] Figure 6 A structural schematic diagram of a mobile terminal corresponding to Figure 2 provided in an embodiment of the present specification. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical scheme and advantages of one or more embodiments of the present specification clearer, the technical scheme of one or more embodiments of the present specification will be described clearly and completely below in combination with the specific embodiments of the present specification and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present specification, but not all the embodiments. Based on the embodiments in the present specification, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of one or more embodiments of the present specification.

[0032] The technical solutions provided in the various embodiments of this specification are described in detail below with reference to the accompanying drawings.

[0033] Smart devices have been around for decades, and their security, convenience, and comfort features have fueled rapid market growth. Currently, users can install smart device control apps on their personal devices to remotely control the on / off status and operating modes of their devices. For example, a user in the office can turn off the air conditioner in their home by clicking the "turn off" button in the app. However, if a user forgets to turn off the smart device or adjust its operating mode, they won't actively access the app to remotely control it, impacting the user experience.

[0034] To address the shortcomings of existing technologies, this solution presents the following implementation plan.

[0035] Figure 1 This is a schematic diagram illustrating an application scenario of a method for generating prompt information provided in the embodiments of this specification. For example... Figure 1 As shown, there can be various types of smart devices, such as a smart socket 101, a smart fan (or smart air conditioner) 102, a smart desk lamp 103, and a smart TV 104. The smart devices can communicate with the gateway control device 105, and the gateway control device 105 can communicate with the user's mobile terminal 106. The user can remotely control the operating status of smart devices such as the smart socket 101, smart fan (or smart air conditioner) 102, smart desk lamp 103, and smart TV 104 through the mobile terminal 106 and the gateway control device 105. For example, when the smart socket 101 is in a high-power state, the user can generate a control command through the smart device APP on the mobile terminal 106 to switch the smart socket 101 to the off state. After receiving the control command from the mobile terminal 106, the gateway control device 105 sends the control command to the smart socket 101. Upon receiving the command, the smart socket 101 responds by switching its operating state from the high-power state to the off state, thus allowing the user to remotely control the smart socket 101. In practical applications, the gateway control device 105 can be a smart speaker or a router with smart device control functions.

[0036] Next, a method for generating prompt information provided in the embodiments of the specification will be described in detail with reference to the accompanying drawings.

[0037] Figure 2A flowchart of a method for generating prompt information is provided in the embodiments of the present specification. From the perspective of a program, the execution subject of the flowchart can be an application program loaded on a mobile terminal. From the perspective of an entity device, the execution subject of the flowchart can be a mobile terminal. The mobile terminal can include a mobile phone, a computer, a tablet computer, and the like.

[0038] As shown in the flowchart, Figure 2 the flowchart can include the following steps:

[0039] Step 202: According to the current state information of the mobile terminal, triggering the mobile terminal to obtain the working state information of the smart device controlled by the gateway control device from the gateway control device in the preset Internet of Things range.

[0040] In the embodiments of the present specification, the gateway control device refers to a device that can be used to realize network interconnection. Specifically, the gateway control device can be used to realize information communication between the mobile terminal and the smart device. The gateway control device can be realized by a gateway (Gateway) device, or a smart device with network interconnection function. Specifically, the gateway control device can include a router and a smart sound box; for example, a wireless router, a smart sound box, and the like.

[0041] In the embodiments of the present specification, the smart device is a device whose working state can be remotely controlled. The working state can include a high-power consumption state, a low-power consumption state, an off state, and the like. Specifically, the user can generate a control instruction for the smart device based on a designated application on the mobile terminal. The gateway control device can send the control instruction sent by the mobile terminal to the corresponding smart device. The smart device changes its working state in response to the control instruction sent by the gateway control device, so that the user remotely controls the working state of the smart device.

[0042] In actual application, the smart device can include a smart switch, a smart home appliance, a smart socket, and an electrical appliance connected to the smart socket. The electrical appliance connected to the smart socket can be a general device without the function of being remotely controlled in the working state. Since the user can remotely control the working state of the smart socket connected to the general device to remotely control the working state of the general device, the electrical appliance connected to the smart socket also belongs to the smart device mentioned in the embodiments of the present specification.

[0043] In the embodiments of the present specification, the current state information of the mobile terminal can include current time information, current location information, and current use state information of the mobile terminal. The current state information of the mobile terminal can be used as a basis for triggering the gateway control device to obtain the working state information of the smart device. If it is determined that the triggering condition is met according to the current state information of the mobile terminal, the mobile terminal is triggered to obtain the current working state information of the smart device controlled by the gateway control device.

[0044] In actual applications, the user can send a request for obtaining the working state information of the smart device based on a specified application on the mobile terminal. The gateway control device in the preset Internet of Things range can receive the request and send it to the corresponding smart device. The smart device responds to the request and feeds back its working state information to the mobile terminal of the user based on the gateway control device. Alternatively, the smart device can periodically report its working state information to the gateway control device. Correspondingly, the working state information of the smart device last received by the gateway control device can be used as the working state information obtained in step 202. The communication between the mobile terminal and the gateway control device can be implemented based on mobile communication technologies such as GSM, CDMA, 3G, 4G, 5G, etc. The communication between the gateway control device and the smart device can be implemented based on technologies such as WiFi, ZigBee, or Bluetooth.

[0045] Step 204: Based on the working state information of the smart device, it is determined whether the working state of the smart device is consistent with the target state, and a first determination result is obtained.

[0046] Step 206: When the first determination result indicates that the working state of the smart device is inconsistent with the target state, the mobile terminal generates a prompt information, and the prompt information is used to prompt the working state of the smart device to be switched to the target state.

[0047] In the embodiments of the present specification, the working state of the smart device can be determined according to the working state information of the smart device. If the working state of the smart device is consistent with the target state, it can be indicated that the working state of the smart device meets the needs of the user, and therefore, the working state of the smart device does not need to be switched, and the process can be ended.

[0048] If the working state of the smart device is inconsistent with the target state, it can be indicated that the working state of the smart device does not meet the needs of the user, and therefore, the mobile terminal can generate prompt information for prompting the user to switch the working state of the smart device to the target state, thereby avoiding the adverse effects caused by the user forgetting to switch the working state of the smart device, and further improving the user experience.

[0049] In the embodiments of the present specification, after step 206, the method can further include: displaying the prompt information on the screen of the mobile terminal; or playing the prompt information in the form of sound through the mobile terminal. More specifically, when the mobile terminal is a mobile phone or a tablet computer or the like, and the use state information of the mobile terminal indicates that the mobile terminal is in a standby state or a lock screen state, the prompt information can be directly displayed on the screen of the mobile terminal, so that the user can know the prompt information as soon as possible.

[0050] It should be understood that the order of some steps in the method described in one or more embodiments of the present specification can be exchanged according to actual needs, or some steps can be omitted or deleted.

[0051] Figure 2 In the method, according to the current state information of the mobile terminal, the mobile terminal is triggered to obtain the working state information of the smart device from the gateway control device, and if the working state of the smart device is inconsistent with the target state, the mobile terminal generates a prompt information to prompt the user to switch the working state of the smart device to the target state, so that the user can know the prompt information that the working state of the smart device needs to be adjusted in time, and the use convenience and intelligence of the smart device are improved.

[0052] Based on the method of Figure 2 The embodiments of the present specification also provide some specific implementations of the method, which are described below.

[0053] In the embodiments of the present specification, there can be various implementation manners for the step 202 of triggering the gateway control device to obtain the working state information of the smart device according to the current state information of the mobile terminal. One implementation manner can be: obtaining the working state information of the smart device through the gateway control device based on the user's preset leaving time and the current time for a specific environment. Another implementation manner can be: obtaining the working state information of the smart device through the gateway control device based on the user's location and the preset coverage range of the Internet of Things.

[0054] In the first implementation manner of obtaining the working state information of the smart device described above, step S202 can include:

[0055] obtaining a preset leaving time; the leaving time is used to indicate the starting time when the mobile terminal is not in the preset Internet of Things range; obtaining the current time state information of the mobile terminal; based on the leaving time and the current time state information, triggering the mobile terminal to obtain the working state information of the smart device controlled by the gateway control device from the gateway control device in the preset Internet of Things range.

[0056] In the embodiments of the present disclosure, the preset coverage of the Internet of Things can be a specific environment. The smart device is installed in the specific environment. The specific environment can be a smart home environment, an office environment, or the like. The mobile terminal can be in the specific environment with a relatively high frequency. Therefore, the user can preset a leaving time for the specific environment, so as to determine a time period (i.e., a leaving time period) in which the user is not in the specific environment. When the current time is in the leaving time period, it can be considered that the user is not in the specific environment, and at this time, prompt information needs to be generated to remind the user. Therefore, the mobile terminal can be triggered to acquire the working state information of the smart device through the gateway control device. Similarly, when the current time is not in the leaving time period, it can be considered that the user is in the specific environment. At this time, it can be considered that the user does not need to be reminded, and therefore, the mobile terminal can not be triggered to acquire the working state information of the smart device through the gateway control device.

[0057] For example, it is assumed that the user is usually not at home from 8:00 to 17:00, and the leaving time set for the user's home can be represented as [8:00, 17:00]. If the current time is 9:00, it can be considered that the user is not in the specific environment of the user's home at this time, and therefore, the mobile terminal can be triggered to acquire the working state information of the smart device through the gateway control device.

[0058] In actual applications, the mobile terminal can be triggered to acquire the working state information of the smart device through the gateway control device after the user leaves the specific environment for a period of time, so as to confirm that the user needs to be reminded, and thus the practicability of the generated prompt information is improved. In the embodiments of the present disclosure, the triggering of the mobile terminal to acquire the working state information of the smart device controlled by the gateway control device in the preset Internet of Things range based on the leaving time and the current time state information can specifically include:

[0059] Determining whether a time difference between the current time corresponding to the current time state information and the leaving time reaches a preset time length, to obtain a second determination result.

[0060] When the second determination result indicates that the time difference between the current time and the leaving time reaches the preset time length, the mobile terminal is triggered to acquire the working state information of the smart device controlled by the gateway control device in the preset Internet of Things range.

[0061] For example, the leaving time set for the user's home is [8:00, 17:00], and the preset time length is 5 minutes. At a time between 8:05 and 17:00, the mobile terminal can be triggered to acquire the working state information of the smart device through the gateway control device. If the current time is 8:02, since the time difference between the current time and the leaving time is 2 minutes, which does not exceed the preset time length, the mobile terminal will not be triggered to acquire the working state information of the smart device through the gateway control device.

[0062] In the embodiments of the present disclosure, when it is determined that the user is not in the specific environment based on the leaving time and the current time, the target state of the smart device can be set as an off state or a low-power-consumption state, so that when the working state of the smart device is different from the target state, information for prompting the user to switch the working state of the smart device to the off state or the low-power-consumption state is generated, thereby helping to reduce energy waste caused by use of the smart device.

[0063] In this implementation, the mobile terminal can determine whether to trigger the mobile terminal to acquire the working state information of the smart device through the gateway control device based on the leaving time and the current time preset by the user for the specific environment, which is simple and fast.

[0064] In the second implementation of acquiring the demand state information of the smart device, step S202 can include:

[0065] Acquiring current position state information of the mobile terminal, and triggering the mobile terminal to acquire the working state information of the smart device controlled by the gateway control device from the gateway control device in the preset Internet of Things range based on a current position corresponding to the current position state information and a position of the preset Internet of Things.

[0066] In the embodiments of the present disclosure, the mobile terminal of the user has a positioning function, and the mobile terminal can determine the current position thereof based on the positioning function as the current position of the user. The mobile terminal can achieve positioning based on a GPS positioning function, a Bluetooth positioning function, a WIFI positioning function, and the like. In the present disclosure, the implementation of the positioning function of the mobile terminal is not limited.

[0067] In the embodiments of the present application, whether the user is in a specific environment where the smart device is installed can be determined by judging whether the distance between the current position of the mobile terminal and the position of the preset Internet of Things is greater than or equal to a preset distance. If the user is not in the specific environment where the smart device is installed, the mobile terminal can be triggered to obtain the working state information of the smart device through the gateway control device. The position of the preset Internet of Things has a corresponding relationship with the signal coverage range of the preset Internet of Things. The position of the preset Internet of Things can be represented by part or all of the signal coverage range.

[0068] Specifically, whether the distance between the current position and the position of the preset Internet of Things is greater than or equal to a preset distance can be determined to obtain a third determination result. When the third determination result indicates that the distance between the current position and the position of the preset Internet of Things is greater than or equal to the preset distance, the mobile terminal is triggered to obtain the working state information of the smart device controlled by the gateway control device from the gateway control device within the range of the preset Internet of Things.

[0069] In actual application, in order to improve the practicability of the generated prompt information, the mobile terminal can be triggered to obtain the working state information of the smart device through the gateway control device after the user leaves the specific environment for a certain distance and for a period of time, so as to improve the practicability of the generated prompt information. The second implementation manner of obtaining the working state information of the smart device can specifically include:

[0070] Obtaining the current position state information of the mobile terminal.

[0071] Judging whether the distance between the current position corresponding to the current position state information and the position of the preset Internet of Things is greater than or equal to a preset distance to obtain a third determination result.

[0072] When the third determination result indicates that the distance between the current position and the position of the smart device is greater than or equal to the preset distance, whether the duration that the distance is greater than or equal to the preset distance reaches a preset duration is determined to obtain a fourth determination result.

[0073] When the fourth determination result indicates that the duration that the distance is greater than or equal to the preset distance reaches the preset duration, the mobile terminal is triggered to obtain the working state information of the smart device controlled by the gateway control device from the gateway control device within the range of the preset Internet of Things.

[0074] In this implementation, the mobile terminal can determine whether to trigger the mobile terminal to acquire the working state information of the smart device through the gateway control device based on the distance between the current location of the user (i.e., the current location of the mobile terminal) and the location of the preset Internet of Things and the duration for which the distance exceeds the preset distance, so that the accuracy and effectiveness of the generated prompt information are higher, thereby facilitating improvement of the practicability of the method for generating prompt information, and further improving user experience.

[0075] In the embodiments of the present specification, if it is determined that the user is not in a specific environment in which the smart device is installed based on the current location of the mobile terminal and the location of the preset Internet of Things, the target state of the smart device can be set to an off state or a low-power-consumption state, so that when the working state of the smart device is different from the target state, information for prompting the user to switch the working state of the smart device to the off state or the low-power-consumption state is generated, thereby helping to reduce energy waste generated when the smart device is used.

[0076] In the embodiments of the present specification, since the prompt information generated in step 206 can be used to prompt the user to switch the smart device in the specific environment to the target state, therefore, Figure 2 The method of the present application can further comprise the following steps after step 206:

[0077] Acquiring a control operation for the smart device input by the mobile terminal.

[0078] Generating a control instruction for the smart device based on the control operation.

[0079] Sending the control instruction to the gateway control device, so that the smart device switches to the target state after receiving the control instruction, and the target state is an off state or a low-power-consumption state.

[0080] In the embodiments of the present specification, when the user remotely switches the working state of the smart device to the off state or the low-power-consumption state, the effect of saving electric energy and reducing energy waste can be achieved. In order to improve user participation and further reduce the amount of energy waste, information related to the energy-saving behavior of the user can be generated and displayed to the user.

[0081] Based on this, after acquiring the control operation for the smart device input by the mobile terminal, the method can further comprise the following steps:

[0082] Monitoring the first duration for which the smart device is in the target state.

[0083] When the first duration reaches a first set duration, it is determined that the user account inputting the control operation has completed an energy-saving behavior.

[0084] Based on the energy-saving behavior, generate energy-saving behavior related information for the user account.

[0085] In the embodiments of the present specification, a user can input a control operation for a smart device through an application account of the user at a smart device control APP to switch the working state of the smart device to an off state or a low-power-consumption state. When it is monitored that the smart device switches to the target state in response to the control operation, and the smart device keeps the working state as the target state for a first duration greater than or equal to a first set duration, it can be determined that the user account has completed an energy-saving behavior. The first set duration can be set according to actual needs.

[0086] For example, assuming that the first set duration is 4 hours, the smart device switches from a high-power-consumption state to an off state at 8:00 am in response to a remote control operation of the user. If the smart device keeps the off state between 8:00 am and 12:00 pm, it can be determined that the user has completed an energy-saving behavior. If the user controls the smart device to switch from the off state to the on state between 8:00 am and 12:00 pm, the first duration of the smart device in the off state should be restarted after the user turns off the smart device again, and details are not repeated here.

[0087] In the embodiments of the present specification, to avoid repeated operations of the user to increase the number of energy-saving behaviors completed by the user, the maximum value of the cumulative value of the number of times that the user remotely switches the working state of the smart device to the target state and keeps the smart device in the target state for a first duration greater than or equal to the first set duration within a preset time period can be set to 1. For example, assuming that the preset time period is one day, and the first duration is set to 4 hours, the user remotely turns off the smart device and keeps the smart device in the off state between 8:00 am and 12:00 pm. Then, the user turns on the smart device and remotely turns off the smart device again, and keeps the smart device in the off state between 13:00 pm and 17:00 pm. At this time, it can be determined that the user has completed only one energy-saving behavior within the preset time period, i.e., the user behavior corresponding to 13:00 pm to 17:00 pm is not counted.

[0088] It should be noted that the user completes one qualified and effective energy-saving behavior within one day, and the user account of the user can be recorded to successfully punch in once at the smart device control APP.

[0089] In the embodiments of the present specification, according to the different number of times of energy-saving behaviors of the user in different time periods, an application interface containing various energy-saving behavior related information for the user can be generated and displayed to improve user experience.

[0090] Specifically, the generating the energy-saving behavior related information for the user account can include:

[0091] generating first energy-saving behavior related information for the user account, the first energy-saving behavior related information being used to represent a contribution value of the energy-saving behavior to a specified project, and an initiator of the specified project increasing an input cost of the environmental protection project when the contribution value accumulates to a set contribution value.

[0092] In the implementation, when a user completes an energy-saving behavior through a user account, first energy-saving behavior related information can be shown to the user based on the user account, so that the user can intuitively perceive a contribution value of the energy-saving behavior to a specified project. The specified project can be an environmental protection project. The environmental protection project can refer to a general term of various actions taken by a project initiator to solve real or potential environmental problems, coordinate the relationship between human beings and the environment, and ensure the sustainable development of economy and society. The number of times of the energy-saving behavior completed by the user through the user account is proportional to the accumulated contribution value of the user account to the environmental protection project. When the accumulated contribution value of the user account is greater than or equal to a set contribution value, the initiator of the environmental protection project can increase the input cost of the environmental protection project according to the accumulated contribution value of the user.

[0093] For example, the environmental protection project can be an ant forest project, a nature reserve project, a garbage recycling project, an air pollution control project, etc. For ease of understanding, the ant forest project is taken as an example for explanation and description. It is assumed that the first energy-saving behavior related information generated by the user completing an energy-saving behavior through the user account is used to represent that the energy-saving behavior makes the user account obtain 50 grams of ant forest energy, and 215,680 grams of ant forest energy can be used to plant a poplar tree. When the accumulated value of the ant forest energy obtained by the user account based on the energy-saving behavior is greater than or equal to 215,680 grams, the user can perform a virtual tree planting operation based on the user account. Correspondingly, the initiator of the ant forest project plants a poplar tree in the natural environment in response to the virtual tree planting operation of the user. In the embodiments of the present application, the environmental protection project and the implementation mode in which the initiator of the environmental protection project increases the input cost of the environmental protection project according to the accumulated contribution value of the user are not limited in particular.

[0094] In actual application, in addition to showing the contribution value of the energy-saving behavior of the user to the environmental protection project, the accumulated number of times of the energy-saving behavior, the saved electricity cost value, the reduced carbon emission value, etc. can also be shown to the user to improve the user experience.

[0095] Therefore, after the first energy-saving behavior related information for the user account is generated, the method can further include:

[0096] generating a first energy-saving behavior visual interface based on the energy-saving behavior in a second preset time period;

[0097] The first energy-saving behavior visualization interface can include one or more of the cumulative amount of the contribution value, an estimated value of the cumulative saved electricity fee, the number of energy-saving days, and an estimated value of the cumulative reduced carbon emissions.

[0098] For ease of understanding, the second preset time period is taken as a natural month, and the contribution value is taken as an example of the ant forest energy value. The first energy-saving behavior visualization interface is illustrated. The first energy-saving behavior visualization interface can be one of the application interfaces of an application program for remotely controlling the smart device, for example, the application interface of the Tmall Genius APP, and the like. Figure 3 A schematic diagram of a first energy-saving behavior visualization interface provided by an embodiment of the present specification is shown in FIG. 3. Figure 3 As shown in the first energy-saving behavior visualization interface 301, the second preset time period display area 302 is provided in the first energy-saving behavior visualization interface 301. It can be known that the first energy-saving behavior visualization interface 301 currently displays the information related to the energy-saving behavior of the user account in October. According to the contribution value cumulative amount display area 303, it can be known that the cumulative amount of the contribution value (i.e., the ant forest energy value) of the environmental protection project completed by the user based on the user account in October is 1280 grams. According to the energy-saving day display area 304, it can be known that the user performed the energy-saving behavior for a total of 19 days in October based on the user account. According to the cumulative saved electricity fee link display area 305, the user can view the estimated value range of the cumulative saved electricity fee by clicking the area 305. According to the cumulative reduced carbon emissions link display area 306, the user can view the estimated value range of the cumulative reduced carbon emissions by clicking the area 306.

[0099] In actual applications, the preset algorithm can be used to calculate the estimated value of the cumulative saved electricity fee and the estimated value of the cumulative reduced carbon emissions respectively corresponding to the value range, wherein the preset algorithm can be various, and the present specification does not limit it any more. The user can set it according to the actual demand. For example, the range of the estimated value of the cumulative saved electricity fee can be represented as: [preset minimum saved electricity fee per hour x cumulative time length of remotely controlling the smart device to switch to the target state in the month, preset maximum saved electricity fee per hour x cumulative time length of remotely controlling the smart device to switch to the target state in the month]. Similarly, the range of the estimated value of the cumulative reduced carbon emissions can be represented as: [preset minimum reduced carbon emissions per hour x cumulative time length of remotely controlling the smart device to switch to the target state in the month, preset maximum reduced carbon emissions per hour x cumulative time length of remotely controlling the smart device to switch to the target state in the month].

[0100] In this implementation, users can click on the link display area 305 showing accumulated electricity cost savings to view the estimated range of accumulated electricity cost savings and the specific calculation method. Similarly, users can click on the link display area 306 showing accumulated carbon emission reductions to view the estimated range of accumulated carbon emission reductions and the specific calculation method. This helps to increase users' motivation to engage in energy-saving behaviors and improves the user experience.

[0101] In the embodiments of this specification, in addition to displaying the cumulative number of times a user has performed energy-saving actions, the user can also be shown the date on which the energy-saving action was completed in a calendar format to improve the user experience.

[0102] Therefore, after generating the first energy-saving behavior information for the user, it may also include:

[0103] Based on the energy-saving behavior within the third preset time period, a second energy-saving behavior visualization interface is generated; the second energy-saving behavior visualization interface is in the form of a monthly calendar; on the second energy-saving behavior visualization interface, the dates on which the user account has completed the energy-saving behavior have a specific display method, and the specific display method is different from the display method on the dates on which the user account has not completed the energy-saving behavior.

[0104] In this implementation, for ease of understanding, the third preset time period is taken as a natural month, and the date circled in black represents the date on which the user completed the energy-saving behavior based on the user account. This example illustrates the visualization interface for the second energy-saving behavior. The second energy-saving behavior visualization interface is one type of application interface used for remotely controlling smart devices, and the user account is a registered account within the application used for remotely controlling smart devices. Figure 4 This is a schematic diagram of a second energy-saving behavior visualization interface provided in an embodiment of this specification, such as... Figure 4 As shown, the user completed energy-saving actions on the 15th, 16th, and 18th of January 2018 based on their user account, but did not complete any energy-saving actions on the 1st-14th and 17th. Assuming the current date is the 18th, since the 19th-31st have not yet arrived, there will be no black circle markings for the 19th-31st. When the user subsequently completes energy-saving actions on any day between the 19th and 31st based on their user account, the second energy-saving action visualization interface will change accordingly, which will not be elaborated further.

[0105] In the embodiments of this specification, in addition to showing the user the date on which the energy-saving behavior was completed, the user can also be awarded an energy-saving behavior title mark when the user meets preset conditions, so as to improve the user experience.

[0106] Specifically, after determining that the user completes an energy-saving behavior, the method further includes:

[0107] generating an energy-saving behavior record identifier for the user account when the cumulative number of times of completing the energy-saving behavior by the user account in the fourth preset time period is greater than or equal to a set cumulative completion number; the energy-saving behavior record identifier is used to reflect the energy-saving behavior completed by the user account in the fourth preset time period.

[0108] In the present implementation, the energy-saving behavior title identifier can be displayed in an application interface logged in with the user account, where the user account can be a registered account at an application program for remotely controlling the smart device. The energy-saving behavior title identifier can be an honorary title such as a Sustainable Development Goals actor of the United Nations, an environmental protection pioneer, etc. In the present embodiment, there can be various specific implementation manners of the energy-saving behavior title identifier, which are not limited specifically. The fourth preset time period and the set cumulative completion number can be determined according to actual needs, for example, the fourth preset time period can be one year, and the set cumulative completion number can be 183 times, etc.

[0109] In the present embodiment, to encourage the user to perform the energy-saving behavior, after determining that the user completes an energy-saving behavior based on the user account, the method further includes:

[0110] generating second energy-saving behavior related information for the user account when the number of times of continuously completing the energy-saving behavior by the user account in the first preset time period is greater than or equal to a set completion number; the second energy-saving behavior related information is used to increase a resource value of the user account, the resource value is used to represent a part of assets of the user account; or the second energy-saving behavior related information is used to make the user account exchange a product related to the energy-saving behavior.

[0111] For ease of understanding, taking the first preset time period as 7 days, the set completion number as 7 times, and the user performing an energy-saving behavior based on the user account at most once a day as an example, the second energy-saving behavior related information is explained and described. For example, when the user performs an energy-saving behavior based on the user account for 7 consecutive days, the second energy-saving behavior related information can be displayed to the user through an application interface of an application logged in with the user account, the second energy-saving behavior related information can be in the form of a link or a red packet, the user can draw a random amount of bonus by clicking the link or the red packet, or the user can receive a coupon by clicking the link. Assuming that the user performs an energy-saving behavior based on the user account for 7 consecutive days for the smart socket, the bonus or the coupon can be used to reduce the amount paid by the user when purchasing the smart socket. Thus, the user is encouraged to perform the energy-saving behavior, and the solution to the problem of energy waste is promoted.

[0112] The embodiments in the specification can improve user participation and user experience by counting effective energy-saving behaviors completed by the user, feeding back a visual interface to the user according to a statistical result, awarding a title mark, and issuing a preferential reward, and can further contribute to energy saving and emission reduction.

[0113] Based on the same idea, the embodiments of the specification also provide a device corresponding to the above method. Figure 5 A structure diagram of a device for generating prompt information corresponding to the above method is provided in the embodiments of the specification. As shown in Figure 2 , the device can include: Figure 5

[0114] The triggering module 502 is configured to trigger the mobile terminal to acquire, from a gateway control device in a preset Internet of Things range, working state information of a smart device controlled by the gateway control device according to current state information of the mobile terminal. The gateway control device can include a smart sound box and / or a router. The smart device can include a smart socket and / or a smart switch.

[0115] The judgment module 504 is configured to determine whether the working state of the smart device is consistent with a target state based on the working state information of the smart device, to obtain a first determination result.

[0116] The prompt information generation module 506 is configured to generate prompt information in the mobile terminal when the first determination result indicates that the working state of the smart device is inconsistent with the target state, the prompt information being used to prompt switching of the working state of the smart device to the target state.

[0117] In the embodiments of the specification, when the judgment module 504 in the device for generating prompt information determines that the working state of the smart device is inconsistent with the target state, the prompt information generation module 506 in the device for generating prompt information can generate prompt information used to prompt a user to switch the working state of the smart device to the target state, so that the user can learn the prompt information that the working state of the smart device needs to be adjusted in time, thereby facilitating improvement of the use convenience and intelligence of the smart device.

[0118] In the embodiments of the specification, the triggering module 502 can include:

[0119] The leaving time acquisition unit is configured to acquire a pre-set leaving time, the leaving time being used to represent a starting time at which the mobile terminal is not in the preset Internet of Things range.

[0120] The current time state information acquisition unit is configured to acquire current time state information of the mobile terminal. ​

[0121] triggering the mobile terminal to acquire, from a gateway control device within a preset Internet of Things range, working state information of a smart device controlled by the gateway control device, based on the leaving time and the current time state information.

[0122] The triggering unit can be specifically configured to:

[0123] determine whether a time difference between a current time corresponding to the current time state information and the leaving time reaches a preset time length, to obtain a second determination result; and when the second determination result indicates that the time difference between the current time and the leaving time reaches the preset time length, trigger the mobile terminal to acquire, from a gateway control device within a preset Internet of Things range, working state information of a smart device controlled by the gateway control device.

[0124] In the embodiments of the present specification, the triggering module 502 can include:

[0125] a current position state information acquisition unit configured to acquire current position state information of the mobile terminal.

[0126] a triggering unit configured to trigger the mobile terminal to acquire, from a gateway control device within a preset Internet of Things range, working state information of a smart device controlled by the gateway control device, based on a current position corresponding to the current position state information and a position of the preset Internet of Things.

[0127] The triggering unit can be specifically configured to:

[0128] determine whether a distance between the current position and the position of the preset Internet of Things is greater than or equal to a preset distance, to obtain a third determination result; and when the third determination result indicates that the distance between the current position and the position of the preset Internet of Things is greater than or equal to the preset distance, trigger the mobile terminal to acquire, from a gateway control device within a preset Internet of Things range, working state information of a smart device controlled by the gateway control device.

[0129] In the embodiments of the present specification, the triggering module 502 can further include:

[0130] a determination unit configured to, when the third determination result indicates that the distance between the current position and the position of the preset Internet of Things is greater than or equal to the preset distance, determine whether a duration for which the distance is greater than or equal to the preset distance reaches a preset duration length, to obtain a fourth determination result.

[0131] Correspondingly, the triggering unit can be specifically configured to:

[0132] When the fourth determination result indicates that the distance is greater than or equal to the preset distance for a duration reaching the preset duration, the mobile terminal triggers to acquire, from a gateway control device in a preset Internet of Things range, working state information of the smart device controlled by the gateway control device.

[0133] In the embodiments of the present disclosure, the device for generating prompt information can further include:

[0134] The first determination module is configured to determine that the target state of the smart device is a closed state or a low-power-consumption state when the second determination result indicates that the time difference between the current time and the leaving time reaches the preset duration.

[0135] In the embodiments of the present disclosure, the device for generating prompt information can further include:

[0136] The second determination module is configured to determine that the target state of the smart device is a closed state or a low-power-consumption state when the third determination result indicates that the distance between the current location and the location of the preset Internet of Things is greater than or equal to the preset distance.

[0137] In the embodiments of the present disclosure, the device for generating prompt information can further include:

[0138] The display module is configured to display the prompt information on a screen of the mobile terminal, or play the prompt information in a sound form through the mobile terminal.

[0139] In the embodiments of the present disclosure, the device for generating prompt information can further include:

[0140] The control operation acquisition module is configured to acquire a control operation for the smart device input by the mobile terminal.

[0141] The control instruction generation module is configured to generate a control instruction for the smart device based on the control operation.

[0142] The control instruction sending module is configured to send the control instruction to the gateway control device, so that the smart device switches to the target state after receiving the control instruction, and the target state is a closed state or a low-power-consumption state.

[0143] In the embodiments of the present disclosure, the device for generating prompt information can further include:

[0144] The monitoring module is configured to monitor a first duration that the smart device is in the target state.

[0145] The energy-saving behavior determining module is configured to determine that the user account inputting the control operation completes an energy-saving behavior when the first duration reaches a first set duration.

[0146] The energy-saving behavior related information generating module is configured to generate energy-saving behavior related information for the user account based on the energy-saving behavior.

[0147] In the embodiments of the present disclosure, the energy-saving behavior related information generating module can be specifically configured to:

[0148] generate first energy-saving behavior related information for the user account; the first energy-saving behavior related information is used to represent a contribution value of the designated item of the energy-saving behavior; and when the contribution value accumulates to a set contribution value, an initiator of the designated item increases an input cost of the designated item.

[0149] In the embodiments of the present disclosure, the device for generating prompt information can further include:

[0150] The second energy-saving behavior related information generating module is configured to generate second energy-saving behavior related information for the user account when a number of energy-saving behaviors completed by the user account continuously in a first preset time period is greater than or equal to a set completion number; the second energy-saving behavior related information is used to increase a resource value of the user account, the resource value being used to represent a part of assets of the user account; or the second energy-saving behavior related information is used to make the user account exchange a product related to the energy-saving behavior.

[0151] In the embodiments of the present disclosure, the device for generating prompt information can further include:

[0152] The first energy-saving behavior visual interface generating module is configured to generate a first energy-saving behavior visual interface based on the energy-saving behavior in a second preset time period; the first energy-saving behavior visual interface includes one or more of an accumulated amount of the contribution value, an estimated value of an accumulated saved electricity fee, an energy-saving day number, and an estimated value of an accumulated reduced carbon emission amount.

[0153] In the embodiments of the present disclosure, the device for generating prompt information can further include:

[0154] The second energy-saving behavior visual interface generating module is configured to generate a second energy-saving behavior visual interface based on the energy-saving behavior in a third preset time period; the second energy-saving behavior visual interface is in a form of a month calendar; and the second energy-saving behavior visual interface has a specific display mode for a date on which the user account completes the energy-saving behavior, the specific display mode being different from a display mode of a date on which the user account does not complete the energy-saving behavior.

[0155] In the embodiments of the present specification, the device for generating the prompt information can further comprise:

[0156] The energy-saving behavior record identifier generation module is configured to generate an energy-saving behavior record identifier for the user account when the cumulative completion number of the energy-saving behavior of the user account within a fourth preset time period is greater than or equal to a set cumulative completion number; the energy-saving behavior record identifier is used to reflect the energy-saving behavior completed by the user account within the fourth preset time period.

[0157] Figure 6 A structure diagram of a mobile terminal corresponding to Figure 2 provided by the embodiments of the present specification is shown in FIG. 6. As shown in Figure 6 , the mobile terminal 600 can comprise:

[0158] at least one processor 610; and

[0159] a memory 630 in communication connection with the at least one processor; wherein

[0160] the memory 630 stores instructions 620 executable by the at least one processor 610, and the instructions are executed by the at least one processor 610 to enable the at least one processor 610 to:

[0161] trigger the mobile terminal to acquire working state information of a smart device controlled by a gateway control device from the gateway control device within a preset Internet of Things range according to current state information of the mobile terminal.

[0162] determine whether the working state of the smart device is consistent with a target state based on the working state information of the smart device, to obtain a first determination result.

[0163] when the first determination result indicates that the working state of the smart device is inconsistent with the target state, the mobile terminal generates a prompt information, and the prompt information is used to prompt to switch the working state of the smart device to the target state.

[0164] In the embodiments of the present specification, Figure 6 the mobile terminal in the embodiments of the present specification can automatically trigger the mobile terminal to acquire working state information of a smart device from a gateway control device according to current state information of the mobile terminal, and if the working state of the smart device is inconsistent with a target state, a prompt information is generated to prompt a user to switch the working state of the smart device to the target state, so that the user can timely obtain the prompt information that the working state of the smart device needs to be adjusted, thereby facilitating the use convenience and intelligence of the smart device.

[0165] Based on the same idea, the embodiments of the present specification also provide a computer readable medium corresponding to the above method. The computer readable medium stores computer readable instructions which can be executed by a processor to implement the following method:

[0166] According to the current state information of the mobile terminal, the mobile terminal triggers to obtain the working state information of the intelligent device controlled by the gateway control device in the preset Internet of Things range.

[0167] Based on the working state information of the intelligent device, it is judged whether the working state of the intelligent device is consistent with the target state, and a first judgment result is obtained.

[0168] When the first judgment result indicates that the working state of the intelligent device is inconsistent with the target state, the mobile terminal generates a prompt information, and the prompt information is used to prompt to switch the working state of the intelligent device to the target state.

[0169] The above describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different than the order in the embodiments and still achieve the desired result. In addition, the processes depicted in the figures do not necessarily require the particular order shown or sequential order to achieve the desired results.

[0170] In the 1990s, it was quite obvious to distinguish whether an improvement in a technology was in hardware (e.g., improvement in circuit structures of diodes, transistors, switches, etc.) or in software (improvement in method flow). However, as technology has evolved, many improvements in method flow today can be considered as direct improvements in hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structures by programming the improved method flow into hardware circuits. Therefore, it cannot be said that an improvement in a method flow cannot be implemented by hardware entity modules. For example, a programmable logic device (PLD) such as a field programmable gate array (FPGA) is an integrated circuit whose logic function is determined by user programming of the device. A digital system is "integrated" on a piece of PLD by the designer programming it by himself, without having to ask a chip manufacturer to design and manufacture a special integrated circuit chip. Moreover, instead of manually fabricating an integrated circuit chip, this programming is now mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing a program, and the original code before compilation also has to be written in a specific programming language, which is called a hardware description language (HDL), and there are many types of HDL, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., and the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should be aware that, as long as the method flow is logically programmed in the above-mentioned hardware description languages and programmed into an integrated circuit, a hardware circuit that implements the logical method flow can be easily obtained.

[0171] The controller can be implemented in any suitable way, e.g. the controller can take the form of a microprocessor or processor and a computer readable medium storing computer readable program code, e.g. software or firmware, executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller and an embedded microcontroller, examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91 SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that in addition to being implemented in pure computer readable program code form, the controller can perfectly well be implemented by means of logic programmed into logic gates, switches, application specific integrated circuits, programmable logic controllers and embedded microcontrollers, etc. to perform the same functions. The controller can thus be considered as a hardware component, and the means comprised therein for performing various functions can be considered as structures within the hardware component. Alternatively, or even, the means for performing various functions can be considered as both a software module implementing a method and a structure within a hardware component.

[0172] The systems, apparatuses, modules or units illustrated by the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0173] For the sake of description, the above apparatuses are described in various units with functions respectively. Of course, the functions of each unit can be implemented in one or more software and / or hardware in implementing one or more embodiments of the present specification.

[0174] Those skilled in the art will understand that one or more embodiments of the present specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of the present specification can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, one or more embodiments of the present specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.

[0175] One or more embodiments of the disclosure are described herein with reference to flow diagrams and / or block diagrams of methods, apparatus (systems) and computer program products according to one or more embodiments of the disclosure. It will be understood that each flow and / or block of the flow diagrams and / or block diagrams, and combinations of flows and / or blocks in the flow diagrams and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks. Figure 1 one or more flows and / or blocks. Figure 1 one or more flows and / or blocks.

[0176] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flow diagrams and / or block diagrams block or blocks. Figure 1 one or more flows and / or blocks. Figure 1 one or more flows and / or blocks.

[0177] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flow diagrams and / or block diagrams block or blocks. Figure 1 one or more flows and / or blocks. Figure 1 one or more flows and / or blocks.

[0178] In one typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0179] The memory can include non-persistent memory and / or volatile memory, such as a random access memory (RAM) including a cache area for the temporary storage of data. The memory can also include non-volatile memory, such as a read only memory (ROM) device, a floppy disk, a hard disk, or a flash memory. The memory can store an operating system and / or one or more program modules.

[0180] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.

[0181] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to encompass non-exclusive inclusion, such that processes, methods, articles or devices that comprise a list of elements do not only include those elements, but also include other elements not expressly listed, or inherent to such processes, methods, articles or devices. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.

[0182] One or more embodiments of the present specification can be described in the general context of computer-executable instructions being executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. One or more embodiments of the present specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected by a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.

[0183] Each embodiment in the present specification is described in a progressive manner, and the same or similar parts between each embodiment can be referred to each other, and each embodiment focuses on the difference from other embodiments. In particular, for system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiment.

[0184] The above descriptions merely illustrate the embodiments of the present specification and are not intended to limit one or more embodiments of the present specification. One or more embodiments of the present specification can have various modifications and changes for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of the claims of one or more embodiments of the present specification.

Claims

1. A method for generating a prompt information, comprising: obtaining working state information of a smart device controlled by a gateway control device according to current state information of a mobile terminal; wherein the working state information is triggered to be obtained based on current time of the mobile terminal and a pre-set leaving time, or the working state information is triggered to be obtained if a distance between a current location of the mobile terminal and a location of a pre-set Internet of Things is greater than or equal to a pre-set distance for a duration reaching a pre-set duration; the gateway control device is used to realize information communication between the mobile terminal and the smart device; and the gateway control device is located within a pre-set Internet of Things range; judging whether the working state of the smart device is consistent with a target state based on the working state information of the smart device, to obtain a first judgment result; generating a prompt information when the first judgment result indicates that the working state of the smart device is not consistent with the target state, the prompt information being used to prompt a user to switch the working state of the smart device to the target state; if a first duration in which the smart device is in the target state is greater than or equal to a first set duration, determining that a user account corresponding to the mobile terminal has an energy saving behavior; and generating energy saving behavior related information for the user account based on the energy saving behavior, the energy saving behavior related information being used to represent a contribution value of the energy saving behavior to a specified item. 2.The method of claim 1, wherein the gateway control device is located within a pre-set Internet of Things range; and the gateway control device is used to control a working state of at least one smart device. 3.The method of claim 2, wherein the obtaining of the working state information of the smart device controlled by the gateway control device according to the current state information of the mobile terminal specifically comprises: triggering the mobile terminal to obtain the working state information of the smart device controlled by the gateway control device from the gateway control device within the pre-set Internet of Things range according to the current state information of the mobile terminal. 4.The method of claim 3, wherein the triggering of the mobile terminal to obtain the working state information of the smart device controlled by the gateway control device from the gateway control device within the pre-set Internet of Things range according to the current state information of the mobile terminal specifically comprises: obtaining a pre-set leaving time; wherein the leaving time is used to represent a starting time at which the mobile terminal is not within the pre-set Internet of Things range; obtaining current time state information of the mobile terminal; and triggering the mobile terminal to obtain the working state information of the smart device controlled by the gateway control device from the gateway control device within the pre-set Internet of Things range based on the leaving time and the current time state information. 5.The method of claim 4, wherein the triggering of the mobile terminal to obtain the working state information of the smart device controlled by the gateway control device from the gateway control device within the pre-set Internet of Things range based on the leaving time and the current time state information specifically comprises: judging whether a time difference between a current time corresponding to the current time state information and the leaving time reaches a pre-set duration, to obtain a second judgment result. ​ When the second determination result indicates that the time difference between the current time and the leaving time reaches the preset time length, the mobile terminal is triggered to acquire the working state information of the smart device controlled by the gateway control device within the preset Internet of Things range. 6.The method of claim 3, wherein the triggering the mobile terminal to acquire the working state information of the smart device controlled by the gateway control device within the preset Internet of Things range based on the current state information of the mobile terminal comprises: acquiring current location state information of the mobile terminal; and triggering the mobile terminal to acquire the working state information of the smart device controlled by the gateway control device within the preset Internet of Things range based on a current location corresponding to the current location state information and a location of the preset Internet of Things. 7.The method of claim 6, wherein the triggering the mobile terminal to acquire the working state information of the smart device controlled by the gateway control device within the preset Internet of Things range based on the current location corresponding to the current location state information and the location of the preset Internet of Things comprises: determining whether a distance between the current location and the location of the preset Internet of Things is greater than or equal to a preset distance, to obtain a third determination result; and triggering the mobile terminal to acquire the working state information of the smart device controlled by the gateway control device within the preset Internet of Things range when the third determination result indicates that the distance between the current location and the location of the preset Internet of Things is greater than or equal to the preset distance. 8.The method of claim 7, wherein after the determining whether the distance between the current location and the location of the preset Internet of Things is greater than or equal to the preset distance, the method further comprises: determining whether a duration for which the distance is greater than or equal to the preset distance reaches a preset duration length, to obtain a fourth determination result, when the third determination result indicates that the distance between the current location and the location of the preset Internet of Things is greater than or equal to the preset distance; and the triggering the mobile terminal to acquire the working state information of the smart device controlled by the gateway control device within the preset Internet of Things range comprises: triggering the mobile terminal to acquire the working state information of the smart device controlled by the gateway control device within the preset Internet of Things range when the fourth determination result indicates that the duration for which the distance is greater than or equal to the preset distance reaches the preset duration length. 9.The method of claim 5, wherein before the determining whether the working state of the smart device is consistent with the target state, the method further comprises: determining that the target state of the smart device is an off state or a low-power-consumption state when the second determination result indicates that the time difference between the current time and the leaving time reaches the preset time length. 10.The method of claim 7, wherein before the determining whether the working state of the smart device is consistent with the target state, the method further comprises: ​ ​ ​ ​ ​ ​ ​ ​ When the third determination result indicates that the distance between the current location and the location of the preset Internet of Things is greater than or equal to the preset distance, it is determined that the target state of the smart device is a shutdown state or a low-power-consumption state. 11.The method of claim 1, after the generating the prompt information, further comprising: displaying the prompt information on a screen of the mobile terminal; or playing the prompt information in a sound form through the mobile terminal. 12.The method of claim 11, further comprising: obtaining a control operation for the smart device based on an input of the mobile terminal; generating a control instruction for the smart device based on the control operation; sending the control instruction to the gateway control device, so that the smart device switches to the target state after receiving the control instruction, the target state being a shutdown state or a low-power-consumption state. 13.The method of claim 12, after the obtaining the control operation for the smart device based on the input of the mobile terminal, further comprising: monitoring a first duration that the smart device stays in the target state; when the first duration reaches a first set duration, determining that a user account that inputs the control operation completes an energy-saving behavior; generating energy-saving behavior related information for the user account based on the energy-saving behavior. 14.The method of claim 13, the generating the energy-saving behavior related information for the user account, specifically comprising: generating first energy-saving behavior related information for the user account; the first energy-saving behavior related information is used to represent a contribution value of the energy-saving behavior to a specified project; when the contribution value accumulates to a set contribution value, an initiator of the specified project increases an input cost of the specified project. 15.The method of claim 13, further comprising: when a number of energy-saving behaviors that the user account continuously completes within a first preset time period is greater than or equal to a set completion number, generating second energy-saving behavior related information for the user account; the second energy-saving behavior related information is used to increase a resource value of the user account; or the second energy-saving behavior related information is used to make the user account exchange a product related to the energy-saving behavior. 16.The method of claim 14, further comprising: generating a first energy-saving behavior visualization interface based on the energy-saving behavior within a second preset time period; one or more of the following are included in the first energy-saving behavior visualization interface: an accumulated amount of the contribution value, an estimated value of an accumulated saved electricity bill, a number of energy-saving days, and an estimated value of an accumulated reduced carbon emission. 17.The method of claim 13, further comprising: generating a second energy-saving behavior visualization interface based on the energy-saving behavior within a third preset time period; the second energy-saving behavior visualization interface is in a form of a month calendar; on the second energy-saving behavior visualization interface, a date on which the energy-saving behavior is completed by the user account has a specific display mode, which is different from a display mode of a date on which the energy-saving behavior is not completed by the user account. ​ 18.The method of claim 13, further comprising: generating a power saving behavior record identifier for the user account when the cumulative number of times of completion of the power saving behavior by the user account within a fourth preset time period is greater than or equal to a set cumulative number of times of completion; the power saving behavior record identifier being used to reflect the power saving behavior completed by the user account within the fourth preset time period. 19.The method of any one of claims 1 to 18, wherein the gateway control device comprises: a smart speaker, and / or a router. 20.The method of any one of claims 1 to 18, wherein the smart device comprises: a smart socket, and / or a smart switch. 21.An apparatus for generating prompt information, comprising: a triggering module configured to acquire working state information of a smart device controlled by a gateway control device according to current state information of a mobile terminal; wherein the working state information is triggered to be acquired based on current time of the mobile terminal and a pre-set leaving time, or the working state information is triggered to be acquired if a distance between a current location of the mobile terminal and a location of a pre-set Internet of Things is greater than or equal to a pre-set distance for a duration reaching a pre-set duration; the gateway control device is used to realize information communication between the mobile terminal and the smart device; and the gateway control device is located within a pre-set Internet of Things range; a judging module configured to judge whether the working state of the smart device is consistent with a target state based on the working state information of the smart device, to obtain a first judgment result; a prompt information generating module configured to generate prompt information when the first judgment result indicates that the working state of the smart device is not consistent with the target state, the prompt information being used to prompt a user to switch the working state of the smart device to the target state; if a first duration in which the smart device is in the target state is greater than or equal to a first set duration, it is determined that a user account corresponding to the mobile terminal generates a power saving behavior; based on the power saving behavior, power saving behavior related information for the user account is generated; the power saving behavior related information is used to represent a contribution value of the power saving behavior to a specified item. 22.The apparatus of claim 21, further comprising: a control operation acquiring module configured to acquire a control operation for the smart device input based on the mobile terminal; a control instruction generating module configured to generate a control instruction for the smart device based on the control operation; a control instruction sending module configured to send the control instruction to the gateway control device, so that the smart device switches to the target state after receiving the control instruction, the target state being an off state or a low power consumption state. 23.A mobile terminal, comprising: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: ​ According to the current state information of the mobile terminal, obtain working state information of a smart device controlled by a gateway control device; wherein, based on the current time of the mobile terminal and a pre-set leaving time, triggering the obtaining of the working state information; or, if the distance between the current location of the mobile terminal and the location of the pre-set Internet of Things is greater than or equal to a pre-set distance for a duration reaching a pre-set duration, triggering the obtaining of the working state information; the gateway control device is used to realize the information communication between the mobile terminal and the smart device; the gateway control device is located within the pre-set Internet of Things range; Based on the working state information of the smart device, determine whether the working state of the smart device is consistent with a target state, to obtain a first determination result; When the first determination result indicates that the working state of the smart device is inconsistent with the target state, generate a prompt information, the prompt information is used to prompt the user to switch the working state of the smart device to the target state; If the first duration of the smart device in the target state is greater than or equal to the first set duration, it is determined that the user account corresponding to the mobile terminal has energy-saving behavior; based on the energy-saving behavior, generate energy-saving behavior related information for the user account; the energy-saving behavior related information is used to represent the contribution value of the energy-saving behavior to the specified project.

24. A computer readable medium having stored thereon computer readable instructions executable by a processor to implement the method of generating prompt information according to any one of claims 1 to 20.

Citation Information

Patent Citations

  • Home appliance control method as well as wearable device and computer readable storage medium

    CN109946986A