CN117833461A - Electric quantity monitoring method, device, equipment and storage medium - Google Patents

Electric quantity monitoring method, device, equipment and storage medium Download PDF

Info

Publication number
CN117833461A
CN117833461A CN202311749460.XA CN202311749460A CN117833461A CN 117833461 A CN117833461 A CN 117833461A CN 202311749460 A CN202311749460 A CN 202311749460A CN 117833461 A CN117833461 A CN 117833461A
Authority
CN
China
Prior art keywords
sub
equipment
electric quantity
piece
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311749460.XA
Other languages
Chinese (zh)
Inventor
黄胜
董书建
黄钦
刘易思
陈少宗
伍永航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202311749460.XA priority Critical patent/CN117833461A/en
Publication of CN117833461A publication Critical patent/CN117833461A/en
Pending legal-status Critical Current

Links

Abstract

According to the electric quantity monitoring method, device, equipment and storage medium, under the condition that communication connection is established between the electric quantity monitoring device and a plurality of pieces of sub-equipment, an electric quantity request instruction is sent to each piece of sub-equipment, under the condition that electric quantity information fed back by each piece of sub-equipment is obtained, a monitoring template is generated based on the electric quantity information of each piece of sub-equipment, and the monitoring template is displayed.

Description

Electric quantity monitoring method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of home device management technologies, and in particular, to a method, an apparatus, a device, and a storage medium for monitoring electric quantity.
Background
Along with the rapid development of intelligent networking technology, the types and brands of rechargeable intelligent devices are increased gradually, in order to ensure the normal operation of the devices, users need to monitor the electric quantity of the devices and manage the devices in time, however, in the prior art, when the electric quantity of each device is monitored, the electric quantity of each device is checked by manpower in sequence, the efficiency of acquiring the electric quantity of each device is lower, and in addition, the situation that the electric quantity of a certain device is forgotten to be checked sometimes exists, so that the use of the users is influenced.
Disclosure of Invention
Aiming at the problems, the application provides an electric quantity monitoring method, an electric quantity monitoring device, electric quantity monitoring equipment and a storage medium, which can be used for carrying out centralized monitoring on the electric quantity of each equipment and helping a user to obtain the electric quantity of a plurality of equipment at the same time, so that the user can reasonably plan the charging time.
The embodiment of the application provides an electric quantity monitoring method, which comprises the following steps:
under the condition of establishing communication connection with a plurality of pieces of sub-equipment, sending an electric quantity request instruction to each piece of sub-equipment;
under the condition that the electric quantity information fed back by each piece of sub-equipment is obtained, a monitoring template is generated based on the electric quantity information of each piece of sub-equipment;
and displaying the monitoring template.
In some embodiments, the method is applied to a Matter device, the method further comprising:
under the condition that the Matter equipment is added to the local area network, a networking request is issued so that each piece of sub-equipment feeds back response information;
under the condition that the response information of each piece of sub-equipment is obtained, determining whether each piece of sub-equipment passes the security authentication or not based on the response information of each piece of sub-equipment;
and under the condition that each piece of sub-equipment passes the security authentication, establishing communication connection between the Matter equipment and the sub-equipment.
In some embodiments, the sub-device comprises: the non-Matter device is a device without Matter protocol, the non-Matter device establishes communication connection with the Matter device through the Matter bridging device, and the local area network comprises: a WIFI network.
In some embodiments, the method further comprises:
repeatedly sending a networking request under the condition that the response information of the first target sub-equipment does not pass the security authentication;
and stopping sending the networking request under the condition that the sending times of the networking request are larger than a preset time threshold.
In some embodiments, the sending the power request instruction to each sub-device includes:
periodically sending a power request command to each sub-device, or,
and acquiring request information of a user, and sending an electric quantity request instruction to each piece of sub-equipment based on the request information.
In some embodiments, the monitoring template includes: the early warning information, the generating a monitoring template based on the electric quantity information of each piece of sub-equipment, includes:
determining whether the electric quantity information of the second target sub-device is lower than a preset threshold value or not based on the electric quantity information of each sub-device;
generating early warning information under the condition that the electric quantity information of the second target sub-equipment is lower than a preset threshold value;
and generating a monitoring template based on the early warning information and the electric quantity information.
In some embodiments, the method further comprises:
analyzing the electric quantity information of each piece of sub-equipment, and determining the sub-equipment used by a user and the service time of the sub-equipment used by the user;
determining a charging recommendation based on the common sub-device and the usage time;
and displaying the charging advice.
The embodiment of the application provides an electric quantity monitoring device, which comprises:
the sending module is used for sending an electric quantity request instruction to each piece of sub-equipment under the condition that communication connection is established between the sending module and the plurality of pieces of sub-equipment;
the generation module is used for generating a monitoring template based on the electric quantity information of each piece of sub-equipment under the condition that the electric quantity information fed back by each piece of sub-equipment is acquired;
and the display module is used for displaying the monitoring template.
An embodiment of the present application provides an electronic device, including a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the method for monitoring electric quantity according to any one of the foregoing embodiments is executed.
Embodiments of the present application provide a computer readable storage medium storing a computer program executable by one or more processors for implementing the above-mentioned power monitoring method.
According to the electric quantity monitoring method, device, equipment and storage medium, under the condition that communication connection is established between the electric quantity monitoring device and a plurality of pieces of sub-equipment, an electric quantity request instruction is sent to each piece of sub-equipment, under the condition that electric quantity information fed back by each piece of sub-equipment is obtained, a monitoring template is generated based on the electric quantity information of each piece of sub-equipment, and the monitoring template is displayed.
Drawings
The present application will be described in more detail hereinafter based on embodiments and with reference to the accompanying drawings.
Fig. 1 is a schematic implementation flow chart of an electric quantity monitoring method according to an embodiment of the present application;
fig. 2 is a schematic implementation flow chart of another electric quantity monitoring method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a composition structure of an electronic device according to an embodiment of the present application.
In the drawings, like elements are denoted by like reference numerals, and the drawings are not drawn to scale.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
If a similar description of "first\second\third" appears in the application document, the following description is added, in which the terms "first\second\third" are merely distinguishing between similar objects and do not represent a particular ordering of the objects, it being understood that the "first\second\third" may be interchanged in a particular order or precedence, where allowed, so that the embodiments of the application described herein may be practiced in an order other than that illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application.
Based on at least one technical problem existing in the related art, the embodiment of the application provides an electric quantity monitoring method, wherein an execution subject of the method can be electronic equipment, and the electronic equipment can be a mobile terminal, a computer, an intelligent wearable device and the like. In some embodiments, the electronic device may be a controller of a mobile terminal, computer, smart wearable device, or the like.
The functions implemented by the electric quantity monitoring method provided by the embodiment of the application can be implemented by calling program codes by a processor of the electronic device, wherein the program codes can be stored in a computer storage medium.
The embodiment of the application provides an electric quantity monitoring method. Fig. 1 is a schematic implementation flow chart of an electric quantity monitoring method according to an embodiment of the present application, where, as shown in fig. 1, the electric quantity monitoring method includes:
step S101, in the case of establishing communication connection with a plurality of sub-devices, sending an electric quantity request instruction to each sub-device.
In the embodiment of the application, the electronic device can establish communication connection with a plurality of sub-devices. The electronic device may establish communication connection with the plurality of sub-devices by using serial communication, parallel communication, network communication, or wireless communication, to ensure that the device can communicate with each sub-device. Specifically, the electronic device establishes communication connection with the plurality of sub-devices using serial communication, and as an example, a power request instruction is transmitted to the sub-devices through a serial communication protocol such as UART, SPI, I C or the like. These communication protocols typically require a physical connection between the electronic device and the sub-device, which may be wires, optical fibers, etc. The electronic device establishes communication connections with the plurality of sub-devices using parallel communications, and as an example, the power request instructions are sent in parallel to the plurality of sub-devices through parallel communication interfaces, such as GPIO ports, bus interfaces, and the like. The parallel communication can simultaneously transmit a plurality of data bits, thereby improving the communication efficiency. The electronic device establishes communication connections with the plurality of sub-devices using wireless communication, and by way of example, the power request instruction is transmitted to the sub-devices through wireless communication technology such as bluetooth, wi-Fi, zigbee, and the like. Wireless communication may enable remote communication between devices without limitation of physical connections. It should be noted that, no matter what communication mode, the electronic device needs to have a corresponding communication interface and a corresponding protocol support, and the sub-device needs to support the corresponding communication protocol and the corresponding interface, so as to transmit and receive the electric quantity request command.
In the embodiment of the application, the electronic device can send the electric quantity request instruction to each piece of sub-equipment so as to require each piece of sub-equipment to feed back the electric quantity information. Specifically, the electronic device sends a power request command to each sub-device, and each device can respond to the request command and send power information to the electronic device.
Step S102, under the condition that the electric quantity information fed back by each piece of sub-equipment is obtained, a monitoring template is generated based on the electric quantity information of each piece of sub-equipment.
In the embodiment of the application, the electronic device can acquire the electric quantity information fed back by each piece of sub-device. Specifically, in the case that the electronic device has established a communication connection with each of the sub-devices and sends an electric quantity request instruction to each of the sub-devices, the electronic device obtaining electric quantity information fed back by each of the sub-devices includes the following steps:
the sub-device receives the instruction and processes: after each piece of sub-equipment receives the electric quantity request instruction, the instruction content is analyzed, and corresponding processing is carried out according to the instruction. And the sub-equipment reads the own electric quantity information according to the instruction and stores the electric quantity information in an internal variable or a register. The sub-device feeds the read electric quantity information back to the electronic device, and a data packet form can be used, wherein the electric quantity information and the sub-device ID and the like are contained.
The electronic equipment receives the electric quantity information fed back by each piece of sub equipment and can distinguish and sort according to the ID or other identifiers of the sub equipment.
In the embodiment of the application, the electronic device can generate the monitoring template based on the electric quantity information of each piece of sub-device. In some embodiments, the electronic device may perform calculation, analysis, and processing according to the received electrical quantity information, and generate an electrical quantity monitoring template, where the monitoring template may include information such as electrical quantity data, electrical quantity change trend, and electrical quantity early warning of each sub-device.
In the embodiment of the application, to generate the monitoring template based on the electric quantity information of each piece of sub-equipment, the electronic equipment may perform the following steps:
and (3) data processing: the electronic device processes the collected power information. Data cleaning, screening, calculation and the like can be performed according to the requirements so as to generate data required by the monitoring template.
Designing a monitoring template: and designing the layout and the style of the monitoring template according to the monitoring requirements and the data processing result. The electric quantity information of each piece of sub-equipment can be intuitively displayed by using elements such as charts, tables, indicator lights and the like.
And (3) filling data: and filling the processed electric quantity information into the corresponding position in the monitoring template. The power information may be combined with the template using a template engine or other data processing technique to generate a final monitoring template.
Step S103, displaying the monitoring template.
The electronic equipment displays the generated monitoring template and can display the monitoring template in modes of interface display, report generation, remote access and the like. The timing refresh can be performed as needed to keep up-to-date power information display.
The details of the particular implementation will vary depending upon factors such as the hardware platform of the device, the communication protocol, and the development language. In general, the electronic device needs to send an instruction to the sub-device, and the sub-device reads the electric quantity information through the corresponding interface and returns the information to the electronic device. And the electronic equipment receives and analyzes feedback information of the sub-equipment through the corresponding interface to acquire electric quantity information.
In the embodiment of the application, the electronic equipment can display the generated electric quantity monitoring template on a relevant interface for the user to view and analyze. By way of example, the electronic device may display the monitoring template by way of a screen of the display device, remote monitoring software, a mobile phone application, or the like.
According to the electric quantity monitoring method, under the condition that communication connection is established with the plurality of pieces of equipment, the electric quantity request instruction is sent to each piece of equipment, under the condition that electric quantity information fed back by each piece of equipment is obtained, the monitoring template is generated based on the electric quantity information of each piece of equipment, and the monitoring template is displayed.
However, integration and unification between devices are still a challenge, and bluetooth, wifi or local area network in the existing mainstream technology cannot open a communication barrier between devices, and thus it cannot be guaranteed that unified monitoring and management of electric quantity of multiple charging devices can be performed.
In some embodiments, the power monitoring method is applied to a Matter device, which is a new interoperability standard of smart home devices, so as to enable smart home devices of different brands to communicate and cooperate with each other better. The goal of Matter is to establish an open standard so that smart home devices can be more easily connected and controlled, regardless of the manufacturer from which they come. The advantage of the Matter devices is that they can communicate via a unified standard protocol, and a unified application or smart home platform can be used to control devices from different brands without having to install a separate application for each brand of device.
The Matter devices will use Wi-Fi, thread and Ethernet etc. communication protocols, which makes them more reliable to connect to the home network and can support more smart home scenarios like smart lighting, smart security systems, smart temperature control etc.
In some embodiments, before step S101, the power monitoring method further includes:
step S104, when the Matter equipment joins the local area network, a networking request is issued so that each piece of sub-equipment feeds back response information;
in the embodiment of the application, the Matter device establishes connection with other Matter devices by adding to the local area network. This may be accomplished through the Matter network networking protocol and associated network devices (e.g., routers).
In the embodiment of the application, the Matter device uses a communication protocol of the Matter standard to broadcast a networking request to the Matter device in the local area network. After receiving the networking request, the sub-equipment sends response information to the Matter equipment.
Step S105, determining whether each piece of sub-equipment passes the security authentication or not based on the response information of each piece of sub-equipment under the condition that the response information of each piece of sub-equipment is acquired;
the Matter device receives and analyzes the response information of the sub-devices to obtain identification information, capability description and the like of each sub-device.
In the embodiment of the application, whether the security authentication is passed is determined based on the response information of each sub-device. For the Matter device, security authentication is an important link. The Matter device can verify whether the Matter device passes the security authentication according to the response information of the sub device, and decide whether to establish communication connection with the sub device.
In the embodiment of the application, the Matter device can use a Matter standard security authentication mechanism, such as encryption and authentication protocols, to verify the identity and security of each sub-device.
And step S106, establishing communication connection between the Matter equipment and the sub-equipment under the condition that each sub-equipment passes the security authentication.
In the embodiment of the application, under the condition that each piece of sub-equipment passes the security authentication, the Matter equipment establishes communication connection with the piece of sub-equipment. For a sub-device that passes the security authentication, the Matter device may establish a communication connection therewith. Communication between the Matter device and the sub-device can be realized through a communication protocol and an interface defined by the Matter standard, so that the communication between the devices is ensured to be safe and reliable.
In these embodiments, the water device may establish communication connection with a plurality of sub-devices, so that the plurality of sub-devices are integrated into one and the same device, and the function of unified monitoring of electric quantity is realized.
In some embodiments, the sub-device comprises: a non-Matter device, the non-Matter device is a device without Matter protocol, the non-Matter device establishes communication connection with the Matter device through the Matter bridging device, the local area network comprises: a WIFI network.
In the embodiment of the application, in order to realize the communication connection between the Matter device and the non-Matter device in the local area network. In this case, you can use a Matter bridging device to implement a communication connection between the Matter device and the non-Matter device.
In the embodiment of the application, the Matter device can directly establish communication connection with the Matter bridging device, and communicate by using the Matter protocol. The Matter bridging device may establish a communication connection with the non-Matter device using a non-Matter protocol for communication, such as Zigbee, Z-Wave, etc. The Matter bridging device is responsible for converting the Matter protocol into the non-Matter protocol, and realizes communication conversion and bridging between the Matter device and the non-Matter device.
In the embodiment of the application, before the communication connection is established, the Matter bridging device can carry out security authentication on the non-Matter device, so that the security of communication is ensured.
According to the electric quantity monitoring method, communication connection between the material equipment and the non-material equipment can be achieved through the material bridging equipment, so that compatibility and interoperability of the material equipment are expanded, and different types of intelligent home equipment can be integrated in an existing local area network environment.
In some embodiments, the power monitoring method further comprises:
step S107, in the case that the response information of the first target sub-device does not pass the security authentication, the networking request is repeatedly sent.
In the embodiment of the present application, the first target sub-device is at least one of a plurality of sub-devices. Examples include smart watches, tablets, notebook computers, drones, and other smart devices.
In this embodiment of the present application, the networking request is repeatedly sent, and after the response information of the first target sub-device is received, if the response information fails the security authentication, the networking request may be sent again, so as to attempt to establish a secure connection with the sub-device. For example, a number of retries may be set, and a time interval may be set between each retry.
Step S108, stopping sending the networking request when the sending times of the networking request are larger than a preset time threshold.
In this embodiment of the present application, when the number of times of sending the networking request is greater than a preset number of times threshold, sending the networking request may be stopped, and if the number of times of sending the networking request reaches the preset threshold, but still the secure connection with the first target sub-device cannot be established, sending the networking request may be stopped. It is contemplated that a prompt may be given or corresponding log information may be recorded.
It should be noted that, in practical application, the specific retry number and the preset number threshold need to be set according to the actual situation. As an example, the number of times threshold may be 3-5 times. Meanwhile, in order to avoid excessive sending of the request, a reasonable time interval can be set between the retry number and a preset number threshold so as to consider both safety and performance.
In the embodiment of the present application, when the number of times of transmission reaches a preset threshold, the transmission of the networking request is stopped, so as to avoid excessive consumption of network resources and equipment resources.
In some embodiments, step S101, sending a power request command to each sub-device includes:
in step S1011, the power request command is sent to each sub-device at regular time.
In this embodiment of the present application, the device may set a timer, and periodically send an electric quantity request instruction to each sub-device. The time interval of the timer can be set according to actual requirements, such as sending an electric quantity request command at intervals. This approach is applicable to situations where it is desirable to monitor the power of a sub-device in real time.
In some embodiments, step S101, sending a power request command to each sub-device includes:
step S1012, obtaining the request information of the user, and sending an electric quantity request instruction to each piece of sub-equipment based on the request information.
In the embodiment of the application, the electronic device may acquire the request information of the user through a user interface or other manners, such as the user manually clicking the monitor button or inputting a specific command. And according to the request information of the user, the electronic equipment sends an electric quantity request instruction to each piece of sub-equipment. This approach is applicable to situations where power monitoring is performed according to user needs or specific scenarios.
The appropriate manner needs to be selected according to the specific application scenario and device characteristics. The timing transmission is suitable for real-time monitoring requirements, and the transmission is suitable for the condition of carrying out electric quantity monitoring according to the user requirements and specific scenes based on the user request.
In these embodiments, a plurality of ways of sending the power request command to each sub-device are provided, so that more application scenarios can be satisfied.
In some embodiments, the monitoring template includes: step S102 of generating a monitoring template based on the power information of each sub-device, including:
in step S1021, it is determined whether the power information of the second target sub-device is lower than a preset threshold based on the power information of each sub-device.
In the embodiment of the present application, the second target sub-device is at least one of a plurality of sub-devices. Examples include smart watches, tablets, notebook computers, drones, and other smart devices.
In the embodiment of the application, in the process of generating the monitoring template, the electronic device may check the electric quantity information of each piece of sub-device, and determine whether the electric quantity of the second target sub-device is lower than a preset threshold.
Step S1022, generating early warning information when the electric quantity information of the second target sub-device is lower than a preset threshold value.
In this embodiment of the present application, when there is a second target sub-device having an electrical quantity information lower than a preset threshold, the device generates corresponding early warning information for identifying that the electrical quantity state of the second target sub-device is abnormal.
Step S1023: and generating a monitoring template based on the early warning information and the electric quantity information.
In the embodiment of the application, the electronic device combines the electric quantity information and the early warning information to generate a final monitoring template. The monitoring template may include power data of each sub-device, power change trend, and early warning information identifying sub-devices having abnormal power.
In these embodiments, these expansion steps may help the device generate a comprehensive power monitoring template so that the user may clearly understand the power status of each sub-device and discover potential problems in time. Specific implementation details may be adjusted and optimized according to specific system requirements and equipment characteristics.
In some embodiments, the power monitoring method further comprises:
and step S109, analyzing the electric quantity information of each piece of sub-equipment, and determining the common sub-equipment of the user and the use time of the common sub-equipment.
In the embodiment of the application, in the process of monitoring the electric quantity, the electronic device can analyze the electric quantity information of each piece of sub-equipment, identify the sub-equipment commonly used by the user and record the service time of the sub-equipment.
Step S110, determining a charging recommendation based on the common sub-device and the usage time.
In the embodiment of the present application, according to the result of step S109, the device may provide corresponding charging advice based on the sub-devices commonly used by the user and their use time. As an example, a user may be advised to charge certain sub-devices for a particular period of time or situation to ensure their availability and to meet user needs.
Step S120, displaying the charging advice.
In embodiments of the present application, in a monitoring interface or related application, the device may display charging advice so that the user knows which sub-devices should be charged and when. In this way, the user can reasonably arrange the charging schedule according to the advice to ensure continuous use of the device and sufficient power.
In these embodiments, these expansion steps may further enhance the power monitoring functionality, enabling the user to better manage and optimize the power usage of the device.
Fig. 2 is a schematic implementation flow chart of another method for monitoring electric quantity according to an embodiment of the present application. As shown in figure 2, the invention provides a method for constructing the ecological environment based on a Matter-Thread network structure. The protocol adopts the Matter protocol to carry out information transmission among all devices, and provides a standardized cross-platform communication framework so as to promote the integration of intelligent devices. The method effectively solves the obstacle of information transmission among the multi-platform devices and provides a feasible method for multi-device electric quantity monitoring management.
Firstly, the water can be networked in various modes, and the ecological (Fabric) construction is carried out based on the water-WiFi network structure.
With a Matter device as a multi-device ecological control terminal for interaction, fig. 2 is a schematic implementation flow diagram of an electric quantity monitoring method provided in an embodiment of the present application, as shown in fig. 2, the electric quantity monitoring method provided in real time in the present application includes the following steps:
step S100, the Matter device performs initialization operations including basic setting and starting of the device. The Matter device generates a unique device identification code for subsequent communications and identification.
Step S200, the Matter device connects with the local area network in the area. The sub-devices are divided into a Matter device and a non-Matter device, and if the sub-devices are the non-Matter device, the sub-devices can be added into a Matter network through a Matter bridging device.
Step S300, the Matter device issues a networking request, so that the sub-device responds to the networking request and establishes connection. The networking process uses a shared Password (PASE) or Certificate (CASE) based secure session establishment mechanism to accomplish secure authentication.
Step S400, receiving response information fed back by each piece of sub-equipment, and judging whether the sub-equipment passes the security authentication successfully or not according to the response information and establishing connection. If yes, sending an electric quantity request instruction to all the sub-devices in the Matter ecology, and receiving and storing electric quantity information. If not, 3 repeated join request attempts are made. The child device that established the connection will join the established Matter ecology (as in the communication connection in the above embodiment) and assign node information to the devices in the new joining network.
And S500, after the ecological construction of the Matter is completed, the node and the sub-equipment are connected in a user layer. The Matter equipment acquires electric quantity information in two ways, namely, acquiring the electric quantity information of the ecological internal sub-equipment at fixed time; and secondly, when a user request is received, the power information is requested to the sub-equipment.
And S600, monitoring generation of a model.
And according to the acquired electric quantity information, the control terminal processes the electric quantity information, including real-time electric quantity display, power consumption analysis, low electric quantity early warning, use report and the like. And delivers information to the user in the form of an interface display.
And step S700, data storage. The historical data is saved and used for inquiring and displaying by a user and checking and adjusting the monitoring model.
In the above, a process of interacting with a Matter device as a multi-device is described to implement power monitoring and related functions. In the specific implementation, factors such as safety, performance, user experience and the like also need to be considered, and the method is refined and adjusted according to specific requirements.
According to the method, the intelligent household field is taken as an example, the multi-device electric quantity monitoring method is provided, the multi-device electric quantity is monitored and managed in a centralized mode, a user is effectively helped to obtain the multi-device electric consumption condition rapidly, and the charging time is planned reasonably. Specific examples of user scenarios are as follows:
the user A has intelligent devices such as an intelligent watch, a tablet, a notebook computer, an unmanned aerial vehicle and the like in a family, and the intelligent devices are all carried by the user A for daily outgoing work and study, but because of lack of unified electric quantity monitoring management, the situation that some devices are powered off by less electricity is often discovered when the user A goes out of the home, so that the use of the user is affected, and irreversible damage is caused to battery equipment.
By the method for monitoring the electric quantity, which is provided by the embodiment of the application, an APP with multi-device electric quantity monitoring management can be used as the control terminal described in the invention. When the user A returns home, all intelligent devices are in the same local area network, so that the establishment of the Matter ecology can be completed, the user A can see the residual electric quantity of all the devices at present by opening the mobile phone electric quantity management APP, and whether a certain device needs to be charged or not can be determined without checking each device one by one. In addition, the APP has a low-power early warning function, and when the user A does not actively open the APP to check, the control terminal can judge the power threshold value of each device and prompt the user to charge in time. Meanwhile, the APP can analyze equipment commonly used by a user and service time, and provide advice of charging optimization so as to prolong the service life of the battery of the equipment, and effectively help the user to solve various problems in the charging management process of a plurality of intelligent equipment in a household.
Based on the foregoing embodiments, the embodiments of the present application provide an electric quantity monitoring apparatus, where each module included in the apparatus and each unit included in each module may be implemented by a processor in a computer device; of course, the method can also be realized by a specific logic circuit; in practice, the processor may be a central processing unit (CPU, central Processing Unit), a microprocessor (MPU, microprocessor Unit), a digital signal processor (DSP, digital Signal Processing), or a field programmable gate array (FPGA, field Programmable Gate Array), or the like.
The embodiment of the application provides an electric quantity monitoring device, which comprises:
the sending module is used for sending an electric quantity request instruction to each piece of sub-equipment under the condition that communication connection is established between the sending module and the plurality of pieces of sub-equipment;
the generation module is used for generating a monitoring template based on the electric quantity information of each piece of sub-equipment under the condition that the electric quantity information fed back by each piece of sub-equipment is acquired;
and the display module is used for displaying the monitoring template.
In some embodiments, the power monitoring device comprises a Matter device, the power monitoring device further configured to:
under the condition that the Matter equipment is added to the local area network, a networking request is issued so that each piece of sub-equipment feeds back response information;
under the condition that the response information of each piece of sub-equipment is obtained, determining whether each piece of sub-equipment passes the security authentication or not based on the response information of each piece of sub-equipment;
and under the condition that each piece of sub-equipment passes the security authentication, establishing communication connection between the Matter equipment and the sub-equipment.
In some embodiments, the sub-device comprises: the non-Matter device is a device without Matter protocol, the non-Matter device establishes communication connection with the Matter device through the Matter bridging device, and the local area network comprises: a WIFI network.
In some embodiments, the power control device is further configured to:
repeatedly sending a networking request under the condition that the response information of the first target sub-equipment does not pass the security authentication;
and stopping sending the networking request under the condition that the sending times of the networking request are larger than a preset time threshold.
In some embodiments, the sending the power request instruction to each sub-device includes:
periodically sending a power request command to each sub-device, or,
and acquiring request information of a user, and sending an electric quantity request instruction to each piece of sub-equipment based on the request information.
In some embodiments, the monitoring template includes: the early warning information, the generating a monitoring template based on the electric quantity information of each piece of sub-equipment, includes:
determining whether the electric quantity information of the second target sub-device is lower than a preset threshold value or not based on the electric quantity information of each sub-device;
generating early warning information under the condition that the electric quantity information of the second target sub-equipment is lower than a preset threshold value;
and generating a monitoring template based on the early warning information and the electric quantity information.
In some embodiments, the power control device is further configured to:
analyzing the electric quantity information of each piece of sub-equipment, and determining the common sub-equipment of a user and the service time of the common sub-equipment;
determining a charging recommendation based on the common sub-device and the usage time;
and displaying the charging advice.
It should be noted that, in the embodiment of the present application, if the above-mentioned power monitoring method is implemented in the form of a software functional module, and is sold or used as a separate product, the power monitoring method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the prior art, and the computer software product may be stored in a storage medium, and include several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the present application provides a computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the power monitoring method provided in the above embodiment.
The embodiment of the application provides electronic equipment. Fig. 3 is a schematic diagram of a composition structure of an electronic device according to an embodiment of the present application, as shown in fig. 3, an electronic device 500 includes: a processor 501, at least one communication bus 502, a user interface 503, at least one external communication interface 504, a memory 505. Wherein the communication bus 502 is configured to enable connected communication between these components. The user interface 503 may include a display screen, and the external communication interface 504 may include a standard wired interface and a wireless interface, among others. The processor 501 is configured to execute a program of the power monitoring method stored in the memory to implement the steps in the power monitoring method provided in the above-described embodiment.
The embodiment of the application provides an electric quantity monitoring method, which comprises the following steps:
under the condition of establishing communication connection with a plurality of pieces of sub-equipment, sending an electric quantity request instruction to each piece of sub-equipment;
under the condition that the electric quantity information fed back by each piece of sub-equipment is obtained, a monitoring template is generated based on the electric quantity information of each piece of sub-equipment;
and displaying the monitoring template.
In some embodiments, the method is applied to a Matter device, the method further comprising:
under the condition that the Matter equipment is added to the local area network, a networking request is issued so that each piece of sub-equipment feeds back response information;
under the condition that the response information of each piece of sub-equipment is obtained, determining whether each piece of sub-equipment passes the security authentication or not based on the response information of each piece of sub-equipment;
and under the condition that each piece of sub-equipment passes the security authentication, establishing communication connection between the Matter equipment and the sub-equipment.
In some embodiments, the sub-device comprises: the non-Matter device is a device without Matter protocol, the non-Matter device establishes communication connection with the Matter device through the Matter bridging device, and the local area network comprises: a WIFI network.
In some embodiments, the method further comprises:
repeatedly sending a networking request under the condition that the response information of the first target sub-equipment does not pass the security authentication;
and stopping sending the networking request under the condition that the sending times of the networking request are larger than a preset time threshold.
In some embodiments, the sending the power request instruction to each sub-device includes:
periodically sending a power request command to each sub-device, or,
and acquiring request information of a user, and sending an electric quantity request instruction to each piece of sub-equipment based on the request information.
In some embodiments, the monitoring template includes: the early warning information, the generating a monitoring template based on the electric quantity information of each piece of sub-equipment, includes:
determining whether the electric quantity information of the second target sub-device is lower than a preset threshold value or not based on the electric quantity information of each sub-device;
generating early warning information under the condition that the electric quantity information of the second target sub-equipment is lower than a preset threshold value;
and generating a monitoring template based on the early warning information and the electric quantity information.
In some embodiments, the method further comprises:
analyzing the electric quantity information of each piece of sub-equipment, and determining the sub-equipment used by a user and the service time of the sub-equipment used by the user;
determining a charging recommendation based on the common sub-device and the usage time;
and displaying the charging advice.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus of the present application, please refer to the description of the method embodiments of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of units is only one logical function division, and there may be other divisions in actual implementation, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components controlled or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components for controlling the units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the integrated units described above may be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partly contributing to the prior art, embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a controller to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The foregoing is merely an embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for monitoring power comprising:
under the condition of establishing communication connection with a plurality of pieces of sub-equipment, sending an electric quantity request instruction to each piece of sub-equipment;
under the condition that the electric quantity information fed back by each piece of sub-equipment is obtained, a monitoring template is generated based on the electric quantity information of each piece of sub-equipment;
and displaying the monitoring template.
2. The method of claim 1, wherein the method is applied to a Matter device, the method further comprising:
under the condition that the Matter equipment is added to the local area network, a networking request is issued so that each piece of sub-equipment feeds back response information;
under the condition that the response information of each piece of sub-equipment is obtained, determining whether each piece of sub-equipment passes the security authentication or not based on the response information of each piece of sub-equipment;
and under the condition that each piece of sub-equipment passes the security authentication, establishing communication connection between the Matter equipment and the sub-equipment.
3. The method of claim 2, wherein the sub-device comprises: the non-Matter device is a device without Matter protocol, the non-Matter device establishes communication connection with the Matter device through the Matter bridging device, and the local area network comprises: a WIFI network.
4. The method according to claim 2, wherein the method further comprises:
repeatedly sending a networking request under the condition that the response information of the first target sub-equipment does not pass the security authentication;
and stopping sending the networking request under the condition that the sending times of the networking request are larger than a preset time threshold.
5. The method of claim 1, wherein the sending the power request command to each sub-device comprises:
periodically sending a power request command to each sub-device, or,
and acquiring request information of a user, and sending an electric quantity request instruction to each piece of sub-equipment based on the request information.
6. The method according to claim 1, wherein the monitoring template comprises: the early warning information, the generating a monitoring template based on the electric quantity information of each piece of sub-equipment, includes:
determining whether the electric quantity information of the second target sub-device is lower than a preset threshold value or not based on the electric quantity information of each sub-device;
generating early warning information under the condition that the electric quantity information of the second target sub-equipment is lower than a preset threshold value;
and generating a monitoring template based on the early warning information and the electric quantity information.
7. The method of claim 6, wherein the method further comprises:
analyzing the electric quantity information of each piece of sub-equipment, and determining the common sub-equipment of a user and the service time of the common sub-equipment;
determining a charging recommendation based on the common sub-device and the usage time;
and displaying the charging advice.
8. An electrical quantity monitoring device, comprising:
the sending module is used for sending an electric quantity request instruction to each piece of sub-equipment under the condition that communication connection is established between the sending module and the plurality of pieces of sub-equipment;
the generation module is used for generating a monitoring template based on the electric quantity information of each piece of sub-equipment under the condition that the electric quantity information fed back by each piece of sub-equipment is acquired;
and the display module is used for displaying the monitoring template.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, performs the method of power monitoring as claimed in any one of claims 1 to 7.
10. A storage medium storing a computer program executable by one or more processors for implementing a method of monitoring power as claimed in any one of claims 1 to 7.
CN202311749460.XA 2023-12-18 2023-12-18 Electric quantity monitoring method, device, equipment and storage medium Pending CN117833461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311749460.XA CN117833461A (en) 2023-12-18 2023-12-18 Electric quantity monitoring method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311749460.XA CN117833461A (en) 2023-12-18 2023-12-18 Electric quantity monitoring method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117833461A true CN117833461A (en) 2024-04-05

Family

ID=90508773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311749460.XA Pending CN117833461A (en) 2023-12-18 2023-12-18 Electric quantity monitoring method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117833461A (en)

Similar Documents

Publication Publication Date Title
CN106878459B (en) Self-adaptive Internet of things intelligent gateway implementation method and equipment thereof
CN102945029B (en) Intelligent gateway, smart home system and intelligent control method for home appliance equipment
CN109474977A (en) A kind of monitoring method of equipment, apparatus and system
CN108432282A (en) Method and apparatus for managing electronic device by radio communication
CN104412245A (en) Modular wireless power, light and automation control
CN105308993A (en) Method for configuring a node and node configured therefore
CN106878025A (en) Internet of Things controlling switch and method based on fingerprint recognition control of authority
CN104468178B (en) Method and apparatus for configuring control system in operating environment
CN109640326B (en) Authority management method, device and system and mobile terminal
CN106899498A (en) Embedded industry intelligent gateway and its real-time data acquisition method based on SoC
CN103916625A (en) Video monitoring system and method based on cloud computing
Ding et al. A smart gateway architecture for improving efficiency of home network applications
CN105766016A (en) Method and apparatus for inter-profile commissioning in a network
CN107018203A (en) A kind of frequency converter remote monitoring control method
CN107092243B (en) Power supply control intelligent safety monitoring system based on Internet of things
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN101369979A (en) Communication method, apparatus and system for network camera and user terminal
CN111163144A (en) Internet of things module, Internet of things control method and intelligent equipment
CN104950853A (en) Intelligent control system
EP2779532A1 (en) Electrical equipment and communication apparatus
CN112423322A (en) Model information sending method, device, storage medium and electronic device
CN106502113B (en) Automatic pairing method and server
CN101945086A (en) Security system access business platform for video type security gateway and information transmission method
CN113703363B (en) Plug-and-play method of intelligent edge computing gateway in power dispatching cloud
CN114095311A (en) Power Internet of things gateway, power system and method for configuring newly-added power equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination