Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a schematic structural diagram of a terminal according to a first embodiment of the present invention, as shown in fig. 1, a terminal 1 provided in this embodiment includes: the display device comprises a controller 2 and a display module 3, wherein the controller 2 is connected with the display module 3;
the controller 2 is configured to obtain a tree planting request, where the tree planting request includes tree planting position information and a lamp identifier, and generate a virtual tree corresponding to the lamp identifier at a virtual position represented by the tree planting position information according to the tree planting request, where the virtual tree corresponds to a planted tree at a geographic position corresponding to the virtual position;
and the display module 3 is used for displaying the virtual tree corresponding to the lamp mark, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp mark and the tree carbon dioxide absorption amount of the planted tree.
In this embodiment, specifically, a user may purchase and install a plurality of lamps, and then, bind all the lamps with one gateway respectively; meanwhile, the terminal 1 of the user has already been connected with the gateway in a binding manner, and in this embodiment, the terminal 1 may be a mobile terminal, a fixed terminal, etc., such as a smart phone, a tablet computer, a notebook computer, a desktop computer, etc. A cloud server is provided in connection with the gateway. The connection mode between the above devices may be wired connection or wireless connection.
An Application (App) for tree planting is provided in the terminal 1, in which App a user can obtain a tree planting opportunity, and there is a single tree planting opportunity for one lamp, that is, in which App a lamp connected to a gateway corresponds to a virtual tree.
The terminal 1 is composed of a controller 2 and a display module 3, and the controller 2 is connected with the display module 3. The tree APP in terminal 1 can display the lamp addition information on the first interactive interface so that after the user knows that a new lamp is under the gateway, the user buys the lamp for the first time and adds it to his account. Then, fig. 2 is a schematic diagram of an interface of the terminal in implementation, as shown in fig. 2, where the tree planting APP of the terminal 1 may display a first interactive interface, and prompt information is on the first interactive interface to prompt a user whether to plant a tree. Then, the user selects the lamps needing tree planting on the first interactive interface, and the terminal 1 can determine the lamp identification of the lamps selecting the tree planting according to the selection of the user on the first interactive interface, at the moment, the user has a plurality of lamps and a plurality of virtual trees can be planted; the controller 2 of the terminal 1 can acquire the lamp identification of the lamp of the user input selection tree on the first interactive interface; next, fig. 3 is a schematic diagram of an interface of the terminal in implementation provided in the first embodiment of the present invention, as shown in fig. 3, a second interactive interface is displayed on the tree APP of the terminal 1, a plurality of tree positions are displayed on the second interactive interface, and then, a user selects a tree position on the second interactive interface; the tree positions comprise areas such as North America, south America, africa, asia and the like, and optionally, pictures for representing the areas can be respectively displayed on various tree positions; the controller 2 of the terminal 1 can acquire the position of the tree selected by the user on the second interactive interface, and then the controller 2 acquires the position information of the tree; the controller 2 can then obtain a seed tree request consisting of seed tree position information and a lamp identification. The controller 2 of the terminal 1 can generate a virtual tree corresponding to the lamp identifier at the virtual position represented by the tree planting position information, wherein the planted tree at the geographic position corresponding to the virtual position is a real planted tree, the production service unit of the lamp can plant a lesson real tree at the real tree planting position according to the tree planting position selected by the user on the tree planting APP, namely, the generated virtual tree corresponds to the real planted tree, namely, the generated virtual tree corresponds to the planted tree corresponding to the virtual position of the virtual tree, and the lamp, the virtual tree and the planted tree are in one-to-one correspondence. Next, the controller 2 of the terminal 1 transmits the generated virtual tree information of the virtual tree and the tree planting information of the tree planting corresponding to the virtual tree to the display module 3.
Then, during the period that the lamps are lighted, the cloud server can acquire the power consumption of each lamp bound with the gateway through the gateway; then, the cloud server can calculate the carbon dioxide emission of each lamp according to the power consumption of each lamp; and one lamp, one virtual tree and one planted tree are in a one-to-one correspondence, and the cloud server can also obtain the carbon dioxide absorption amount of various planted trees corresponding to the virtual trees. The cloud server may transmit the light carbon dioxide emission amount of each light and the tree carbon dioxide absorption amount of each tree planted corresponding to each virtual tree to the terminal 1 bound to the gateway.
After receiving the light carbon dioxide emission amounts of the respective lights and the tree carbon dioxide absorption amounts of the respective planted trees corresponding to the respective virtual trees transmitted from the cloud server, the controller 2 of the terminal 1 can associate the light carbon dioxide emission amounts of the respective lights and the tree carbon dioxide absorption amounts of the respective planted trees corresponding to the respective virtual trees with the respective virtual trees in the tree APP. Fig. 4 is a schematic diagram of an interface of the terminal in implementation provided in the first embodiment of the present invention, as shown in fig. 4, the display module 3 displays a virtual tree corresponding to the lamp identifier, a light carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and a tree carbon dioxide absorption amount of a planted tree corresponding to the virtual tree on a third interactive interface of the tree planting APP.
The embodiment is realized by providing the terminal 1 composed of the controller 2 and the display module 3, wherein the controller 2 is connected with the display module 3; the controller 2 is configured to obtain a tree planting request, where the tree planting request includes tree planting position information and a lamp identifier, and generate a virtual tree corresponding to the lamp identifier at a virtual position represented by the tree planting position information according to the tree planting request, where the virtual tree corresponds to a planted tree at a geographic position corresponding to the virtual position; and the display module 3 is used for displaying the virtual tree corresponding to the lamp mark, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp mark and the tree carbon dioxide absorption amount of the planted tree. Therefore, a user can check the carbon dioxide emission amount of the lamp corresponding to each lamp and the carbon dioxide absorption amount of each real planted tree corresponding to each lamp through the tree planting APP on the terminal 1, so that the user can check the power consumption of each lamp; further, a mode for displaying the power consumption of the lamp and the carbon dioxide emission of the lamp is provided, so that the use interest of a user is increased, and the user experience is improved.
Fig. 5 is a schematic structural diagram of a terminal provided in a second embodiment of the present invention, and on the basis of the first embodiment, as shown in fig. 5, in the terminal 1 provided in this embodiment, the terminal 1 further includes: a user interface 4; the display module 3 is connected with the user interface 4;
The display module 3 is further used for displaying planting prompt information, wherein the planting prompt information represents a lamp with a virtual tree which is not generated, so as to prompt a user whether to view the situation of the virtual tree;
a user interface 4, configured to receive a view request sent by a user;
and the display module 3 is further used for displaying virtual tree information according to the viewing request, wherein the virtual tree information comprises lamps which do not generate virtual trees and lamps which generate the virtual trees.
Display module 3 includes: a display screen module 5 and a PCB circuit board 6; the PCB 6 is connected with the display screen module 5;
the display screen module 5 is configured to display transition animation information after displaying the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree, where the transition animation information includes tree information of each virtual tree, and the tree information includes virtual tree information and planted tree information of the planted tree corresponding to the virtual tree.
Terminal 1, further comprising: a first memory 7;
the first memory 7 is respectively connected with the controller 2 and the display module 3;
the controller 2 is further configured to generate a tree planting certificate picture after the display module 3 displays the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree, where the tree planting certificate picture has at least one of the following information: the method comprises the steps of generating total number of virtual trees, types of various planted trees corresponding to the virtual trees one by one, tree planting position information of various planted trees corresponding to the virtual trees one by one, generating time of the virtual trees and planting time of the planted trees corresponding to the virtual trees one by one;
The display module 3 is also used for displaying the seed tree certificate pictures and displaying and storing prompt information so as to prompt a user whether to store the seed tree certificate pictures or not;
the user interface 4 is further configured to obtain a save request sent by a user, and send the save request to the first memory 7;
a first memory 7 for storing the seed tree certificate pictures according to the storage request.
A controller 2 comprising: a control chip 8;
the display module 3 is further configured to display sharing prompt information after displaying the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree, so as to prompt a user whether to share a current tree state, where the sharing prompt information includes at least one link of a sharing platform, and the current tree state represents virtual tree information of the virtual tree corresponding to the lamp, planted tree information of the planted tree corresponding to the virtual tree, the lamp carbon dioxide emission amount of the lamp, and the tree carbon dioxide absorption amount of the planted tree;
the user interface 4 is further configured to receive a sharing request of a user, where the sharing request includes a sharing platform identifier;
and the control chip 8 is used for sharing the current tree state to the sharing platform corresponding to the sharing platform identifier according to the sharing request and the link of the sharing platform corresponding to the sharing platform identifier.
Terminal 1, further comprising: a sensor 9; wherein the sensor 9 is connected with the controller 2;
the controller 2 is further configured to determine whether the light carbon dioxide emission amount is equal to or greater than the tree carbon dioxide absorption amount after displaying the virtual tree corresponding to the light identifier, the light carbon dioxide emission amount of the light corresponding to the light identifier, and the tree carbon dioxide absorption amount of the planted tree; if the first prompt information is greater than or equal to the first prompt information, generating the first prompt information;
the display module 3 is further used for displaying first prompt information to prompt a user whether to adjust the lamp;
a sensor 9 for receiving the motion state transmitted by the user and transmitting the motion state to the controller 2;
the controller 2 is further configured to generate a first lamp adjustment instruction according to the action state, where the first lamp adjustment instruction includes a lamp identifier, and the first lamp adjustment instruction is at least one of the following: a lamp turn-off instruction, a lamp brightness adjustment instruction, and a lamp color adjustment instruction; and sending the first lamp adjusting instruction to a lamp corresponding to the lamp identification in the first lamp adjusting instruction through the gateway and the cloud server so that the lamp executes the operation corresponding to the first lamp adjusting instruction.
Terminal 1, further comprising: a microphone 10; wherein the microphone 10 is connected with the controller 2;
The controller 2 is further configured to determine whether the light carbon dioxide emission amount is equal to or greater than the tree carbon dioxide absorption amount after displaying the virtual tree corresponding to the light identifier, the light carbon dioxide emission amount of the light corresponding to the light identifier, and the tree carbon dioxide absorption amount of the planted tree; if the first prompt information is greater than or equal to the second prompt information, generating the second prompt information;
the display module 3 is further used for displaying second prompt information to prompt a user whether to adjust the lamp;
a microphone 10 for receiving voice information transmitted from a user and transmitting the voice information to the controller 2;
the controller 2 is further configured to generate a second lamp adjustment instruction according to the voice information, where the second lamp adjustment instruction includes a lamp identifier, and the second lamp adjustment instruction is at least one of the following: and the lamp closing instruction, the lamp brightness adjusting instruction and the lamp color adjusting instruction are transmitted to the lamp corresponding to the lamp identification in the second lamp adjusting instruction through the gateway and the cloud server, so that the lamp executes the operation corresponding to the second lamp adjusting instruction.
The user interface 4 comprises any one of the following:
an operator, an interface input module and a keyboard;
the user interface 4 is further configured to receive a query instruction sent by a user, where the query instruction indicates querying the sum of the virtual trees and the total number of users participating in the virtual trees, and send the query instruction to the controller 2;
The controller 2 is further used for determining the total sum of the virtual trees and the total number of users participating in the virtual trees according to the query instruction;
the display module 3 is further configured to display the sum of the virtual trees and the total number of users participating in the virtual trees.
In this embodiment, specifically, a user interface 4 is further provided in the terminal 1, and the display module 3 may be connected to the user interface 4. The user interface 4 comprises any one of the following: the device comprises an operator, an interface input module and a keyboard. The display module 3 in the terminal 1 comprises a display screen module 5 and a PCB circuit board 6, and the PCB circuit board 6 is connected with the display screen module 5.
On the basis of the first embodiment, after the display module 3 displays the virtual tree corresponding to the lamp identifier, the light carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree corresponding to the virtual tree on the third interactive interface of the tree planting APP, fig. 6 is a schematic diagram of the interface of the terminal in implementation provided by the second embodiment of the present invention, as shown in fig. 6, the display screen module 5 of the terminal 1 displays transition animation information on the fourth interactive interface of the tree planting APP, where the transition animation information includes tree information of each virtual tree, and the tree information includes virtual tree information and planted tree information of the planted tree corresponding to the virtual tree.
Then, the terminal 1 is further provided with a first memory 7, and the first memory 7 is connected to the controller 2 and the display module 3, respectively. After the display screen module 5 of the terminal 1 displays the transition animation information on the fourth interactive interface of the tree species APP, the controller 2 of the terminal 1 may generate a tree species certificate picture. Wherein, the seed tree certificate picture is provided with at least one of the following information: the method comprises the steps of generating total number of virtual trees, types of various planted trees corresponding to the virtual trees one by one, tree planting position information of various planted trees corresponding to the virtual trees one by one, generating time of the virtual trees and planting time of the planted trees corresponding to the virtual trees one by one. Then, fig. 7 is a schematic diagram of a second interface of the terminal in implementation, as shown in fig. 7, where the display module 3 of the terminal 1 displays a tree planting certificate picture on a fifth interactive interface of the tree planting APP, and displays a saving prompt message to prompt a user whether to save the tree planting certificate picture. Then, the user can input a save request on the fifth interactive interface, and further the user interface 4 of the terminal 1 obtains the save request sent by the user; the user interface 4 of the terminal 1 then sends a save request to the first memory 7 of the terminal 1; the first memory 7 of the terminal 1 saves such tree certificate pictures according to the save request.
Then, the controller 2 of the terminal 1 is constituted by a control chip 8. After the display module 3 displays the tree-planting certificate picture on the fifth interactive interface of the tree-planting APP, fig. 8 is a schematic diagram of an interface three of the terminal in implementation provided by the second embodiment of the present invention, as shown in fig. 8, the display module 3 of the terminal 1 may display a sharing prompt message on the sixth interactive interface of the tree-planting APP to prompt the user whether to share the current tree-planting state, where the sharing prompt message includes at least one link of a sharing platform, for example, a link of a microblog, a link of a WeChat, etc., and the current tree-planting state represents virtual tree information of a virtual tree corresponding to a lamp, tree-planting information of a planted tree corresponding to the virtual tree, a lamp carbon dioxide emission amount of the lamp, and a tree carbon dioxide absorption amount of the planted tree. Then, the user can select the sharing platform on the sixth interactive interface, and further the user inputs a sharing request into the sixth interactive interface; the user interface 4 of the terminal 1 may then receive a sharing request from the user, where the sharing request includes the sharing platform identifier. Then, the control chip 8 obtains the sharing request in the user interface 4, and then the control chip 8 shares the current tree state into the sharing platform corresponding to the sharing platform identifier according to the link of the sharing platform corresponding to the sharing platform identifier. If the user does not select the sharing platform on the sixth interactive interface, the current tree planting process can be ended.
In any of the above processes, if the user re-enters the tree APP of the terminal 1, fig. 9 is a schematic diagram of an interface of the terminal in implementation provided in the second embodiment of the present invention, as shown in fig. 9, the terminal 1 may display a tree main interface on a seventh interactive interface of the tree APP, and then the user enters the tree APP. Then, fig. 10 is a schematic diagram of an interface of the terminal provided in the second embodiment of the present invention when the terminal is implemented, as shown in fig. 10, the display module 3 of the terminal 1 displays planting prompt information on an eighth interactive interface of the tree planting APP, where the planting prompt information indicates a lamp with a virtual tree that is not generated, and further prompts a user whether to view a planting condition of the virtual tree, for example, a red lamp is displayed on the eighth interactive interface, where the red lamp indicates a lamp with a virtual tree that is not generated, and then the user clicks into an interactive sub-interface inside the red lamp, so that the planting condition of the virtual tree can be viewed. The user may input a viewing request on the eighth interactive interface and the user interface 4 of the terminal 1 may then receive the viewing request sent by the user. Then, fig. 11 is a schematic diagram of an interface sixth when the terminal according to the second embodiment of the present invention is implemented, as shown in fig. 11, the display module 3 of the terminal 1 displays virtual tree planting information on the ninth interactive interface of the tree planting APP, where the virtual tree planting information includes a lamp that does not generate a virtual tree and a lamp that generates a virtual tree.
In any of the above processes, the user interface 4 of the terminal 1 may also receive a query instruction sent by the user, where the query instruction indicates querying the sum of the virtual trees and the total number of users participating in the virtual trees; then, the controller 2 of the terminal 1 acquires the query instruction, and then the controller 2 sends the query instruction to the cloud server through the gateway. Then, the cloud server determines the total sum of the virtual trees and the total number of users participating in the virtual trees according to the query instruction, and the processor 15 sends the total sum of the virtual trees and the total number of users participating in the virtual trees to the terminal 1 through the gateway. After the terminal 1 receives the total sum of the virtual trees and the total number of the users participating in the virtual trees, the display module 3 of the terminal 1 can display the total sum of the virtual trees and the total number of the users participating in the virtual trees.
Also, the terminal 1 provided in the present embodiment may provide a sensor 9, and connect the sensor 9 with the controller 2; after the display module 3 of the terminal 1 displays the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the carbon dioxide absorption amount of the tree in which the tree is planted, the controller 2 judges whether the lamp carbon dioxide emission amount is equal to or greater than the tree carbon dioxide absorption amount; if the controller 2 determines that the carbon dioxide emission of the lamp is greater than or equal to the carbon dioxide absorption of the tree, the controller 2 generates a first prompt message; fig. 12 is a schematic diagram seventh of an interface of the terminal in implementation, as shown in fig. 12, in which the display module 3 of the terminal 1 displays a first prompting message to prompt a user whether to adjust a lamp; then, the user generates an action state, and then the sensor 9 acquires the action state of the user, and then the sensor 9 sends the action state to the controller 2; then, the controller 2 generates a first lamp adjustment instruction corresponding to the action state according to the action state, for example, the hand lifting action corresponds to a lamp turning-off instruction, and the head shaking action corresponds to a brightness reducing instruction; wherein the first lamp adjustment instruction includes a lamp identifier, and the first lamp adjustment instruction is at least one of the following: a lamp turn-off instruction, a lamp brightness adjustment instruction, and a lamp color adjustment instruction; then, the controller 2 transmits the first lamp adjustment instruction to the lamp corresponding to the lamp identification in the first lamp adjustment instruction through the gateway and the cloud server, so that the lamp performs an operation corresponding to the first lamp adjustment instruction. Alternatively, the terminal 1 provided in the present embodiment may provide a microphone 10, and connect the microphone 10 with the controller 2; after the display module 3 of the terminal 1 displays the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the carbon dioxide absorption amount of the tree in which the tree is planted, the controller 2 judges whether the lamp carbon dioxide emission amount is equal to or greater than the tree carbon dioxide absorption amount; if the controller 2 determines that the prompt message is more than or equal to the prompt message, generating a second prompt message; fig. 13 is an interface schematic diagram eight of the terminal in implementation provided in the second embodiment of the present invention, as shown in fig. 13, where the display module 3 of the terminal 1 displays the second prompting information on the eleventh interactive interface of the tree APP to prompt the user whether to adjust the lamp; then the user sends out voice information, and then the microphone 10 receives the voice information sent by the user, and the microphone 10 sends the voice information to the controller 2; the controller 2 then generates a second lamp adjustment command according to the voice information, wherein the second lamp adjustment command includes a lamp identifier, and the second lamp adjustment command is at least one of the following: a lamp turn-off instruction, a lamp brightness adjustment instruction, and a lamp color adjustment instruction; the controller 2 then transmits the second lamp adjustment instruction to the lamp corresponding to the lamp identification in the second lamp adjustment instruction through the gateway and the cloud server, so that the lamp performs an operation corresponding to the second lamp adjustment instruction. Or, after the display module 3 of the terminal 1 displays the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree, the controller 2 judges whether the lamp carbon dioxide emission amount is equal to or greater than the tree carbon dioxide absorption amount; if the controller 2 determines that the light carbon dioxide emission is greater than or equal to the tree carbon dioxide absorption, the controller 2 may automatically generate a third light adjustment command.
The embodiment is realized by providing the terminal 1 composed of the controller 2 and the display module 3, wherein the controller 2 is connected with the display module 3; the controller 2 is configured to obtain a tree planting request, where the tree planting request includes tree planting position information and a lamp identifier, and generate a virtual tree corresponding to the lamp identifier at a virtual position represented by the tree planting position information according to the tree planting request, where the virtual tree corresponds to a planted tree at a geographic position corresponding to the virtual position; and the display module 3 is used for displaying the virtual tree corresponding to the lamp mark, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp mark and the tree carbon dioxide absorption amount of the planted tree. Therefore, a user can check the carbon dioxide emission amount of the lamp corresponding to each lamp and the carbon dioxide absorption amount of each real planted tree corresponding to each lamp through the tree planting APP on the terminal 1, so that the user can check the power consumption of each lamp; further, a mode for displaying the power consumption of the lamp and the carbon dioxide emission of the lamp is provided, so that the use interest of a user is increased, and the user experience is improved. And, terminal 1 can accomplish the work of going to display lamp newly-increased information in proper order, displaying planting suggestion information, displaying the virtual trees corresponding to this lamp identification and the carbon dioxide volume of this virtual trees, displaying transition animation information, displaying planting tree certificate picture, displaying sharing suggestion information etc.. And, terminal 1 is when confirming the lamp carbon dioxide emission volume that corresponds with the lamp, and is greater than or equal to the tree carbon dioxide absorption volume of planting trees that corresponds with this lamp, generates a lamp adjustment command to send the lamp with the lamp adjustment command through gateway, high in the clouds server, and then the lamp carries out the operation that corresponds with the lamp adjustment command, reaches the purpose of adjusting lamp luminance, colour, further reduces the power consumption of lamp, the energy saving.
Fig. 14 is a schematic structural diagram of a lamp-based carbon compensation processing system according to a third embodiment of the present invention, as shown in fig. 14, the system according to the present embodiment includes:
a cloud server 11, a gateway 12, a terminal 1 as provided in the above embodiments, and at least one lamp 13;
the cloud server 11 is connected with the gateway 12, and the terminal 1 and each lamp 13 are respectively connected with the gateway 12;
the cloud server 11 is configured to obtain power consumption of the lamp 13 bound to the gateway 12, determine a lamp carbon dioxide emission amount corresponding to the power consumption, determine a tree carbon dioxide absorption amount of a planted tree corresponding to the lamp 13, and send the lamp carbon dioxide emission amount and the tree carbon dioxide absorption amount to the terminal 1; wherein, a lamp 13, a virtual tree and a planted tree are in one-to-one correspondence.
The cloud server 11 includes: a communication interface 14, a processor 15;
the communication interface 14 is respectively connected with the gateway 12 and the processor 15;
a communication interface 14, configured to receive a lamp binding request sent by the gateway 12, where the lamp binding request is sent by the gateway 12 after detecting that the lamp 13 is connected to the gateway 12, and the lamp binding request includes a lamp identifier and a gateway identifier;
the processor 15 is configured to obtain a lamp binding request received by the communication interface 14, determine the terminal 1 corresponding to the gateway identifier according to the lamp binding request, add the lamp identifier under the terminal 1, and send lamp adding information to the terminal 1, so that the terminal 1 displays lamp adding information, where the lamp adding information includes the lamp identifier, and the lamp adding information characterizes that a new lamp 13 is under the gateway 12.
The cloud server 11 further includes: a second memory 16;
the second memory 16 is connected with the processor 15;
the processor 15 is further configured to receive a first light adjustment instruction or a second light adjustment instruction sent by the terminal 1 through the gateway 12, and send the first light adjustment instruction or the second light adjustment instruction to the light 13 indicated by the first light adjustment instruction or the second light adjustment instruction through the gateway 12, so that the light 13 performs an operation corresponding to the light adjustment instruction;
a second memory 16 for receiving and storing the lamp adjustment instructions sent by the processor 15.
In this embodiment, specifically, based on fig. 5 in the second embodiment, the system provided in this embodiment will be described. A user can purchase and install a plurality of lamps 13, and then, all lamps 13 are respectively connected with one gateway 12 in a binding way; meanwhile, the user terminal 1 is already in binding connection with the gateway 12, and a cloud server 11 is provided, and the cloud server 11 is connected with the gateway 12. The connection mode between the above devices may be wired connection or wireless connection.
Then, during the period when the lamps 13 are turned on, the cloud server 11 may obtain the power consumption of each lamp 13 bound to the gateway 12 through the gateway 12; then, the cloud server 11 may calculate the amount of carbon dioxide emitted from each lamp 13 according to the power consumption of each lamp 13; and one lamp 13, one virtual tree and one planted tree are in one-to-one correspondence, the cloud server 11 can also obtain the carbon dioxide absorption amount of various planted trees corresponding to each virtual tree. The cloud server 11 may transmit the light carbon dioxide emission amount of each light 13 and the tree carbon dioxide absorption amount of each tree planted corresponding to each virtual tree to the terminal 1 bound to the gateway 12.
Specifically, the power consumption of 1 kilowatt-hour (KWh) corresponds to the emission of 0.702766Kg of carbon dioxide, and the processor 15 of the cloud server 11 may determine that the emission of carbon dioxide a of the lamp 13 is x× 0.702766Kg according to the power consumption of x kilowatt-hours of the lamp 13.
The processor 15 of the cloud server 11 calculates the amount b= (18213 Kg/365/10) y of carbon dioxide absorbed by one tree in one day from 18213Kg of carbon dioxide absorbed by one tree in 10 years, specifically calculates the value of 18213 Kg/365/10, combines the obtained values with the number y of days of tree planting, and the processor 15 can obtain the amount B of carbon dioxide absorbed by each tree planted corresponding to each virtual tree.
The cloud server 11 includes a communication interface 14 and a processor 15, and the communication interface 14 is connected to the gateway 12 and the processor 15, respectively. The terminal 1 of this embodiment may adopt the terminal 1 provided in the foregoing embodiment, and the structure and principle of the terminal 1 are the same as those of the foregoing embodiment, and will not be described in detail.
When the gateway 12 detects that the lamp 13 is connected with the gateway 12, the gateway 12 sends a lamp binding request to the communication interface 14 of the cloud server 11, and the communication interface 14 of the cloud server 11 receives the lamp binding request, wherein the lamp binding request comprises a lamp identifier and a gateway identifier. The processor 15 of the cloud server 11 may acquire the lamp binding request received by the communication interface 14, then the processor 15 determines the terminal 1 corresponding to the gateway identifier according to the lamp binding request, and then the processor 15 adds the lamp identifier to the terminal 1. Then, the processor 15 of the cloud server 11 sends the lamp adding information to the terminal 1 through the communication interface 14 and the gateway 12, wherein the lamp adding information includes a lamp identifier, and the lamp adding information characterizes that a new lamp 13 is arranged under the gateway 12. Then, the terminal 1 receives the lamp addition information, and then fig. 15 is a schematic interface diagram of the terminal in the lamp-based carbon compensation processing system according to the third embodiment of the present invention, as shown in fig. 15, the tree APP in the terminal 1 may display the lamp addition information on the twelfth interactive interface, so that the user knows that the gateway 12 has a new lamp 13.
The cloud server 11 further provides a second memory 16, and connects the second memory 16 to the processor 15. After the display module 3 of the terminal 1 displays the virtual tree corresponding to the lamp identifier, the light carbon dioxide emission amount of the lamp 13 corresponding to the lamp identifier, and the carbon dioxide absorption amount of the tree planted by the lamp, if the controller 2 of the terminal 1 determines that the light carbon dioxide emission amount is greater than or equal to the carbon dioxide absorption amount of the tree, a first lamp adjustment instruction or a second lamp adjustment instruction is generated according to the selection of the user, and then the controller 2 of the terminal 1 sends the first lamp adjustment instruction or the second lamp adjustment instruction to the processor 15 of the cloud server 11 through the gateway 12. Then, the processor 15 of the cloud server 11 transmits the first lamp adjustment instruction or the second lamp adjustment instruction to the lamp 13 indicated by the first lamp adjustment instruction or the second lamp adjustment instruction through the gateway 12, and the lamp 13 performs an operation corresponding to the first lamp adjustment instruction or the second lamp adjustment instruction. Further, the lamp 13 may be turned off, or the brightness may be increased, or the brightness may be decreased, or the color may be changed, or the like, according to the first lamp adjustment command or the second lamp adjustment command. And, the second memory 16 of the cloud server 11 may receive and store the first lamp adjustment instruction or the second lamp adjustment instruction sent by the processor 15.
In the embodiment, by providing the lamp-based carbon compensation processing system composed of the cloud server 11, the gateway 12, the terminal 1 provided by the embodiment and at least one lamp 13, the cloud server 11 is connected with the gateway 12, and the terminal 1 and each lamp 13 are respectively connected with the gateway 12; the cloud server 11 is configured to obtain power consumption of the lamp 13 bound to the gateway 12, determine a lamp carbon dioxide emission amount corresponding to the power consumption, determine a tree carbon dioxide absorption amount of a planted tree corresponding to the lamp 13, and send the lamp carbon dioxide emission amount and the tree carbon dioxide absorption amount to the terminal 1; wherein, a lamp 13, a virtual tree and a planted tree are in one-to-one relation. Therefore, a user can check the carbon dioxide emission amount of the lamp corresponding to each lamp 13 and the carbon dioxide absorption amount of each real tree planted corresponding to each lamp 13 through the tree planting APP on the terminal 1, so that the user can check the power consumption of each lamp 13; further, a mode of displaying the power consumption of the lamp 13 and the carbon dioxide emission of the lamp is provided, so that the use interest of the user is increased and the user experience is improved. And, the terminal 1 can complete the work of sequentially displaying the new information of the lamp, displaying the planting prompt information, displaying the virtual tree corresponding to the lamp identifier and the carbon dioxide amount of the virtual tree, displaying the transition animation information, displaying the tree planting certificate picture, displaying the sharing prompt information and the like, and provides a virtual tree planting system and process based on the power consumption of the lamp 13 for the user. When determining that the light carbon dioxide emission amount corresponding to the light 13 is greater than or equal to the tree carbon dioxide absorption amount of the planted tree corresponding to the light 13, the terminal 1 generates a light adjustment instruction, sends the light 13 through the gateway 12 and the cloud server 11, and then the light 13 performs the operation corresponding to the light adjustment instruction, thereby achieving the purpose of adjusting the brightness and the color of the light 13, further reducing the power consumption of the light 13 and saving energy.
Fig. 16 is a flowchart of a lamp-based carbon compensation processing method according to a fourth embodiment of the present invention, as shown in fig. 16, where the method provided in the present embodiment includes:
step 101, a terminal acquires a tree planting request, wherein the tree planting request comprises tree planting position information and a lamp identifier;
102, the terminal generates a virtual tree corresponding to the lamp mark at a virtual position represented by tree position information according to a tree planting request, wherein the virtual tree corresponds to a planted tree at a geographic position corresponding to the virtual position;
step 103, the terminal displays the virtual tree corresponding to the lamp mark, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp mark and the tree carbon dioxide absorption amount of the planted tree.
The method provided in this embodiment will not be described in detail with reference to the terminal provided in the first embodiment and the second embodiment, and the lamp-based carbon compensation processing system provided in the third embodiment.
The embodiment obtains a tree planting request through a terminal, wherein the tree planting request comprises tree planting position information and a lamp identifier; the terminal generates a virtual tree corresponding to the lamp mark at a virtual position represented by the tree position information according to the tree planting request, wherein the virtual tree corresponds to a planted tree at a geographic position corresponding to the virtual position; the terminal displays the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree. Therefore, a user can check the carbon dioxide emission amount of the lamp corresponding to each lamp and the carbon dioxide absorption amount of each real planted tree corresponding to each lamp through the tree planting APP on the terminal, so that the user can check the power consumption of each lamp; further, a mode for displaying the power consumption of the lamp and the carbon dioxide emission of the lamp is provided, so that the use interest of a user is increased, and the user experience is improved.
Fig. 17 is a flowchart of a lamp-based carbon compensation processing method according to a fifth embodiment of the present invention, and on the basis of the fourth embodiment, as shown in fig. 17, the method according to the present embodiment further includes, before step 101:
step 201, a cloud server receives a lamp binding request sent by a gateway, wherein the lamp binding request is sent by the gateway after detecting that a lamp is connected with the gateway, and the lamp binding request comprises a lamp identifier and a gateway identifier;
step 202, the cloud server determines a terminal corresponding to the gateway identifier according to the lamp binding request, adds the lamp identifier under the terminal, and sends lamp adding information to the terminal so that the terminal displays lamp adding information, wherein the lamp adding information comprises the lamp identifier, and the lamp adding information characterizes that a new lamp is arranged under the gateway.
The method provided in this embodiment will not be described in detail with reference to the terminal provided in the first embodiment and the second embodiment, and the lamp-based carbon compensation processing system provided in the third embodiment.
The embodiment obtains a tree planting request through a terminal, wherein the tree planting request comprises tree planting position information and a lamp identifier; the terminal generates a virtual tree corresponding to the lamp mark at a virtual position represented by the tree position information according to the tree planting request, wherein the virtual tree corresponds to a planted tree at a geographic position corresponding to the virtual position; the terminal displays the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree. Therefore, a user can check the carbon dioxide emission amount of the lamp corresponding to each lamp and the carbon dioxide absorption amount of each real planted tree corresponding to each lamp through the tree planting APP on the terminal, so that the user can check the power consumption of each lamp; further, a mode for displaying the power consumption of the lamp and the carbon dioxide emission of the lamp is provided, so that the use interest of a user is increased, and the user experience is improved. And the cloud server can receive a lamp binding request sent by the gateway, wherein the lamp binding request comprises a lamp identifier and a gateway identifier; and the cloud server determines a terminal corresponding to the gateway identifier according to the lamp binding request, and adds the lamp identifier to the lower part of the terminal. So that one lamp, one virtual tree and one planted tree are in one-to-one correspondence.
Fig. 18 is a flowchart of a lamp-based carbon compensation processing method according to a sixth embodiment of the present invention, where, on the basis of the foregoing embodiment, as shown in fig. 18, the method according to the present embodiment further includes:
step 301, a terminal displays planting prompt information, wherein the planting prompt information characterizes a lamp with a virtual tree which is not generated so as to prompt a user whether to check the condition of the virtual tree;
step 302, a terminal receives a viewing request sent by a user;
and 303, displaying virtual tree information by the terminal according to the checking request, wherein the virtual tree information comprises lamps which do not generate virtual trees and lamps which generate the virtual trees.
The method provided in this embodiment will not be described in detail with reference to the terminal provided in the first embodiment and the second embodiment, and the lamp-based carbon compensation processing system provided in the third embodiment.
The embodiment obtains a tree planting request through a terminal, wherein the tree planting request comprises tree planting position information and a lamp identifier; the terminal generates a virtual tree corresponding to the lamp mark at a virtual position represented by the tree position information according to the tree planting request, wherein the virtual tree corresponds to a planted tree at a geographic position corresponding to the virtual position; the terminal displays the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree. Therefore, a user can check the carbon dioxide emission amount of the lamp corresponding to each lamp and the carbon dioxide absorption amount of each real planted tree corresponding to each lamp through the tree planting APP on the terminal, so that the user can check the power consumption of each lamp; further, a mode for displaying the power consumption of the lamp and the carbon dioxide emission of the lamp is provided, so that the use interest of a user is increased, and the user experience is improved. And the terminal can finish displaying the new information of the lamps in turn and display planting prompt information.
Fig. 19 is a flowchart of a lamp-based carbon compensation processing method according to a seventh embodiment of the present invention, where, on the basis of the foregoing embodiment, as shown in fig. 19, the method according to the present embodiment further includes:
step 401, a terminal receives a query instruction sent by a user, wherein the query instruction indicates to query the sum of the virtual trees and the total number of users participating in the virtual trees, and sends the query instruction to a controller;
step 402, the terminal determines the total sum of the virtual trees and the total number of users participating in the virtual trees according to the query instruction;
step 403, the terminal displays the sum of the virtual trees and the total number of users participating in the virtual trees.
The method provided in this embodiment will not be described in detail with reference to the terminal provided in the first embodiment and the second embodiment, and the lamp-based carbon compensation processing system provided in the third embodiment.
The embodiment obtains a tree planting request through a terminal, wherein the tree planting request comprises tree planting position information and a lamp identifier; the terminal generates a virtual tree corresponding to the lamp mark at a virtual position represented by the tree position information according to the tree planting request, wherein the virtual tree corresponds to a planted tree at a geographic position corresponding to the virtual position; the terminal displays the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree. Therefore, a user can check the carbon dioxide emission amount of the lamp corresponding to each lamp and the carbon dioxide absorption amount of each real planted tree corresponding to each lamp through the tree planting APP on the terminal, so that the user can check the power consumption of each lamp; further, a mode for displaying the power consumption of the lamp and the carbon dioxide emission of the lamp is provided, so that the use interest of a user is increased, and the user experience is improved. And the terminal can finish displaying the lamp newly-added information, the planting prompt information, the virtual tree sum and the like in sequence.
Fig. 20 is a flowchart of a lamp-based carbon compensation processing method according to an eighth embodiment of the present invention, where, on the basis of the foregoing embodiment, as shown in fig. 20, the method according to the present embodiment further includes, before step 103:
step 501, a cloud server acquires power consumption of a lamp bound with a gateway, determines carbon dioxide emission of the lamp corresponding to the power consumption, and determines carbon dioxide absorption of a tree planted with the tree corresponding to the lamp; and the cloud server sends the light carbon dioxide emission and the tree carbon dioxide absorption to the terminal.
Specifically, the power consumption of 1 kilowatt-hour (KWh) corresponds to the emission of 0.702766Kg of carbon dioxide, and the processor 15 of the cloud server 11 may determine that the emission of carbon dioxide a of the lamp 13 is x× 0.702766Kg according to the power consumption of x kilowatt-hours of the lamp 13.
The processor 15 of the cloud server 11 calculates the amount b= (18213 Kg/365/10) y of carbon dioxide absorbed by one tree in one day from 18213Kg of carbon dioxide absorbed by one tree in 10 years, specifically calculates the value of 18213 Kg/365/10, combines the obtained values with the number y of days of tree planting, and the processor 15 can obtain the amount B of carbon dioxide absorbed by each tree planted corresponding to each virtual tree.
After step 103, the method further comprises:
step 502, the terminal displays transition animation information, wherein the transition animation information comprises tree information of each virtual tree, and the tree information comprises the virtual tree information and planting tree information of planting trees corresponding to the virtual trees.
Step 503, the terminal generates a seed tree certificate picture, wherein the seed tree certificate picture has at least one of the following information: the method comprises the steps of generating total number of virtual trees, types of various planted trees corresponding to the virtual trees one by one, tree planting position information of various planted trees corresponding to the virtual trees one by one, generating time of the virtual trees and planting time of the planted trees corresponding to the virtual trees one by one;
step 504, the terminal displays the seed tree certificate picture and displays the preservation prompt information to prompt the user whether to preserve the seed tree certificate picture;
step 505, the terminal obtains a save request sent by the user, and saves the seed tree certificate picture according to the save request.
Step 506, the terminal displays sharing prompt information to prompt the user whether to share the current tree state, wherein the sharing prompt information comprises links of at least one sharing platform, and the current tree state represents virtual tree information of a virtual tree corresponding to the lamp, tree planting information of a planted tree corresponding to the virtual tree, carbon dioxide emission of the lamp and carbon dioxide absorption of the planted tree;
Step 507, the terminal receives a sharing request of the user, wherein the sharing request comprises a sharing platform identifier;
and step 508, the terminal shares the current tree state to the sharing platform corresponding to the sharing platform identifier according to the sharing request and the link of the sharing platform corresponding to the sharing platform identifier.
The method provided in this embodiment will not be described in detail with reference to the terminal provided in the first embodiment and the second embodiment, and the lamp-based carbon compensation processing system provided in the third embodiment.
The embodiment obtains a tree planting request through a terminal, wherein the tree planting request comprises tree planting position information and a lamp identifier; the terminal generates a virtual tree corresponding to the lamp mark at a virtual position represented by the tree position information according to the tree planting request, wherein the virtual tree corresponds to a planted tree at a geographic position corresponding to the virtual position; the terminal displays the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree. Therefore, a user can check the carbon dioxide emission amount of the lamp corresponding to each lamp and the carbon dioxide absorption amount of each real planted tree corresponding to each lamp through the tree planting APP on the terminal, so that the user can check the power consumption of each lamp; further, a mode for displaying the power consumption of the lamp and the carbon dioxide emission of the lamp is provided, so that the use interest of a user is increased, and the user experience is improved. And the terminal can finish the work of sequentially displaying the new information of the lamp, displaying the planting prompt information, displaying the virtual tree corresponding to the lamp mark, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp mark and the tree carbon dioxide absorption amount of the planted tree, displaying transition animation information, displaying tree planting certificate pictures, displaying sharing prompt information and the like, and providing a virtual tree planting system and a virtual tree planting process based on the power consumption of the lamp for a user.
Fig. 21 is a flowchart of a lamp-based carbon compensation processing method according to a ninth embodiment of the present invention, where, on the basis of the foregoing embodiment, as shown in fig. 21, the method according to the present embodiment further includes, after step 103:
step 601, a terminal judges whether the carbon dioxide emission amount of a lamp is greater than or equal to the carbon dioxide absorption amount of a tree, and if the terminal determines that the carbon dioxide emission amount of the lamp is greater than or equal to the carbon dioxide absorption amount of the tree, the terminal generates first prompt information;
step 602, the terminal displays first prompt information to prompt a user whether to adjust the lamp;
step 603, the terminal receives an action state sent by a user, and generates a first lamp adjustment instruction according to the action state, where the first lamp adjustment instruction includes a lamp identifier, and the first lamp adjustment instruction is at least one of the following: a lamp turn-off instruction, a lamp brightness adjustment instruction, and a lamp color adjustment instruction;
in step 604, the terminal sends the first lamp adjustment instruction to the lamp corresponding to the lamp identifier in the first lamp adjustment instruction through the gateway and the cloud server, so that the lamp executes the operation corresponding to the first lamp adjustment instruction.
Alternatively, after step 103, the method further includes:
step 701, the terminal judges whether the carbon dioxide emission amount of the lamp is greater than or equal to the carbon dioxide absorption amount of the tree, and if the terminal determines that the carbon dioxide emission amount of the lamp is greater than or equal to the carbon dioxide absorption amount of the tree, the terminal generates second prompt information;
Step 702, the terminal displays second prompt information to prompt a user whether to adjust the lamp;
step 703, the terminal receives the voice information sent by the user and generates a second lamp adjustment instruction according to the voice information, where the second lamp adjustment instruction includes a lamp identifier, and the second lamp adjustment instruction is at least one of the following: a lamp turn-off instruction, a lamp brightness adjustment instruction, and a lamp color adjustment instruction;
and step 704, the terminal sends the second lamp adjusting instruction to the lamp corresponding to the lamp identification in the second lamp adjusting instruction through the gateway and the cloud server, so that the lamp executes the operation corresponding to the second lamp adjusting instruction.
The steps 601 to 604 may be performed separately from or simultaneously with the steps 701 to 704.
The embodiment obtains a tree planting request through a terminal, wherein the tree planting request comprises tree planting position information and a lamp identifier; the terminal generates a virtual tree corresponding to the lamp mark at a virtual position represented by the tree position information according to the tree planting request, wherein the virtual tree corresponds to a planted tree at a geographic position corresponding to the virtual position; the terminal displays the virtual tree corresponding to the lamp identifier, the lamp carbon dioxide emission amount of the lamp corresponding to the lamp identifier, and the tree carbon dioxide absorption amount of the planted tree. Therefore, a user can check the carbon dioxide emission amount of the lamp corresponding to each lamp and the carbon dioxide absorption amount of each real planted tree corresponding to each lamp through the tree planting APP on the terminal, so that the user can check the power consumption of each lamp; further, a mode for displaying the power consumption of the lamp and the carbon dioxide emission of the lamp is provided, so that the use interest of a user is increased, and the user experience is improved. And when determining whether the carbon dioxide emission of the lamp is greater than or equal to the carbon dioxide absorption of the tree, the terminal generates a lamp adjusting instruction, sends the lamp adjusting instruction to the lamp through the gateway and the cloud server, and then the lamp executes the operation corresponding to the lamp adjusting instruction, so that the purpose of adjusting the brightness and the color of the lamp is achieved, the power consumption of the lamp is further reduced, and the energy is saved.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.