Disclosure of Invention
The application provides a method, a device and a system for prompting electric quantity of a recording device, which aim to solve the problem that the electric quantity of the recording device of a user cannot be effectively prompted in the prior art.
In a first aspect, the present application provides a method for prompting an electric quantity of a sound recording device, including: receiving electric quantity information uploaded by the data collection device, wherein the electric quantity information is acquired by the data collection device from the sound recording device, the sound recording device is set to be bound with a user identifier, and the user identifier is used for representing a user of the sound recording device; generating electric quantity prompt information according to the electric quantity information; and sending electric quantity prompt information to a user terminal, wherein the user terminal is a terminal associated with the user identification.
In an alternative embodiment of the present specification, the receiving the power information uploaded by the data collection device includes: when the data collection device is disconnected with the recording device, the electric quantity information of the recording device, which is automatically sent by the data collection device, is received, wherein the data collection device is used for monitoring the electric quantity of the recording device in the charging process in real time, and the electric quantity information comprises the current electric quantity of the recording device when the charging connection is disconnected.
In an optional embodiment of the present specification, the generating the power prompt information according to the power information includes: acquiring a historical power consumption record of the recording equipment; and generating prompt information according to the historical power consumption record and the electric quantity information, wherein the prompt information is used for indicating the available electric quantity of the sound recording equipment, or indicating the available duration of the sound recording equipment, or prompting to charge the sound recording equipment.
In an optional embodiment of the present specification, the generating the power amount prompt information according to the historical power consumption record and the power amount information includes: acquiring a first electric quantity when the first charging is finished, a second electric quantity before the second charging is started and a first interval time between the first charging and the second charging from the historical power consumption record; dividing the difference between the first electric quantity and the second electric quantity by the first interval time to obtain the electric consumption of unit time; and acquiring a second time interval between the receiving time of the electric quantity information and the current time, subtracting the electric quantity represented by the electric quantity information, and obtaining electric quantity prompt information by multiplying the electric quantity of unit time by the second time interval, wherein the electric quantity prompt information at least represents the available electric quantity of the sound recording equipment.
In an optional embodiment of the present specification, the generating the power amount prompt information according to the historical power consumption record and the power amount information includes: taking any two charging records adjacent in time in the historical power consumption records as a unit; for each unit, taking the charging record with the earlier recording time as the first charging of the unit, and taking the charging record with the later recording time as the second charging of the unit; obtaining the power consumption of the unit in unit time according to the first electric quantity when the first charging in the unit is finished, the second electric quantity before the second charging is started and the first interval time between the first charging and the second charging; summarizing the power consumption of each unit in unit time to obtain the reference power consumption of the unit time; and obtaining a second time interval between the receiving time of the electric quantity information and the current time, subtracting the electric quantity represented by the electric quantity information, and obtaining prompt information by multiplying the reference electric consumption of unit time by the second time interval, wherein the prompt information at least represents the available electric quantity of the sound recording equipment.
In an optional embodiment of the present specification, sending the power prompt message to the user terminal includes: acquiring current time; judging whether the time interval between the current time and the time of the electric quantity exhaustion of the recording equipment shown in the electric quantity prompt information is larger than a threshold time interval or not; if the judgment result is yes, sending the electric quantity prompt message to the user terminal; if the judgment result is negative, the current time is obtained again, and the judgment is continuously executed until the judgment result is positive.
In a second aspect, the present application provides a second method for prompting an electric quantity of a sound recording device, where the method includes receiving an electric quantity prompting message sent by a server; and displaying the electric quantity prompt information on the user interface.
In a third aspect, the present application provides an electric quantity prompting system of a sound recording device, including:
the recording equipment is used for recording; the data collection device is used for charging the recording device and collecting the electric quantity information of the recording device when the data collection device is connected with the recording device; the server is used for generating electric quantity prompt information according to the electric quantity information uploaded by the data collection equipment and sending the electric quantity prompt information according to a user identifier bound with the recording equipment, wherein the user identifier is used for representing a user of the recording equipment; and the user terminal is used for displaying the received electric quantity prompt information on a user interface, wherein the user terminal is a terminal associated with the user identifier.
In a fourth aspect, the present application provides an electric quantity prompting device for a sound recording apparatus, which is used to implement the steps of the electric quantity prompting method for the sound recording apparatus in any one of the foregoing first aspects.
In a fifth aspect, the present application provides an electric quantity prompting device for a sound recording apparatus, which is used to implement the steps of the electric quantity prompting method for the sound recording apparatus in any one of the embodiments of the foregoing second aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the scheme can be applied to the technical field of intelligent equipment and is used for man-machine cooperation. According to the electric quantity prompting method and system of the sound recording equipment, the server generates electric quantity prompting information with prediction properties according to the electric quantity information of the sound recording equipment uploaded by the data collecting equipment, and sends the electric quantity prompting information to the terminal corresponding to the sound recording equipment. The electric quantity prompting information is at least used for prompting the electric quantity of the recording equipment to a user. On one hand, the server sends prompt information to the terminal, so that the situation that the electric quantity condition of the recording equipment cannot be effectively transmitted to the user and the user does not take measures in time due to the fact that the user neglects the prompt sent by the recording equipment can be avoided; on the other hand, the process in the specification is based on the interaction between the data collection device and the terminal, the recording device does not need to interact with the server, and the electricity consumption of the recording device caused by the interaction between the recording device and the server can be effectively avoided. Therefore, the method and the system in the specification can solve the problem that the electric quantity of the recording equipment of the user cannot be effectively prompted in the prior art to a certain extent.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to solve the problem that the electric quantity of the recording equipment of a user cannot be effectively prompted in the prior art, the electric quantity prompting method of the recording equipment is particularly provided.
For example, a scene related to the power prompting method of the sound recording device in the present specification may be as shown in fig. 1. In the scenario shown in fig. 1, the sound recording system comprises: the system comprises a server, a plurality of (one or more) sound recording devices (such as the sound recording devices 1 to p shown in fig. 1), a plurality of data collection devices (such as the data collection devices 1 to m shown in fig. 1), and a plurality of user terminals (such as the user terminals 1 to n shown in fig. 1). The server is respectively in communication connection with any one data collection device and any one user terminal. The data collection device may be communicatively coupled to the sound recording device. For example, if not specifically stated, the following description will be given by taking an example in which the server is in communication connection with one of the data collection devices, the server is in communication connection with one of the user terminals, and the data collection devices, the recording devices, and the user terminals are in one-to-one correspondence.
Now, the power prompting method process of the sound recording device in this specification is described, as shown in fig. 2, the power prompting method process of the sound recording device in this specification may include one or more of the following steps:
s200: the recording device collects audio data.
The recording device in this specification is a device having a recording function, and the use mode of the recording device is not particularly limited in this specification. Illustratively, the sound recording apparatus may be an apparatus fixedly provided in a certain place; or may be a wearable device worn on a person (which may be the "user" described below in this specification).
The present specification does not specifically limit the functions of the sound recording apparatus other than the sound recording function. Illustratively, the recording device may be a chest card with recording function; the camera device may have a recording function.
In this specification, the recording device may acquire audio data in real time, that is, the recording device may be in a recording state continuously; the recording apparatus may also adjust the state to the recording state when valid audio data (alternatively, non-noise is valid audio data) is detected, and adjust the state to the standby state when a duration in which valid audio data is not continuously detected is greater than or equal to the state adjustment duration.
S202: when the data collection device is in a connection state with the recording device, the data collection device charges the recording device and collects electric quantity information of the recording device.
The data collection device in the specification has a function of supplying power to the recording device; on the other hand, the device has the function of acquiring audio data from the recording equipment; on the other hand, the server has a communication function with the server. The power supply function and the audio data acquisition function can be implemented through the same interface, such as a USB interface.
Illustratively, the data collection device may be a charger, a charger (e.g., a charging plug of a cell phone), or the like. In an alternative embodiment, the power supplied by the data collection device to the audio recording device may be the power stored by the data collection device itself; in another alternative embodiment, the power provided by the data collection device to the audio recording device may be power drawn from a power source.
Specifically, the data collection device may detect the connection status between its designated interface and the sound recording device. If the recording equipment connected with the recording equipment is detected, charging the recording equipment, and collecting electric quantity information from the recording equipment; if the recording equipment connected with the device is not detected, the detection is continued.
The power information in this specification indicates at least the power of the sound recording apparatus when the connection with the data collection apparatus is established. In addition, in an optional embodiment, the electric quantity information may also indicate a time length from the last charging end of the sound recording device to the current time, a user identifier of a user bound with the sound recording device, and the like.
S204: and the data collection equipment sends the electric quantity information to the server.
The timing at which the data collection device sends the power information to the server may be determined according to the manner in which the power information is obtained. For example, when the power information is data that can be acquired by the sound recording apparatus when the sound recording apparatus establishes a connection with the data collection apparatus (for example, the power information is the power of the sound recording apparatus when the sound recording apparatus establishes a connection with the data collection apparatus), the data collection apparatus may transmit the power information to the server in a short time after the sound recording apparatus. When the electric quantity information is data generated by the recording device after the recording device is connected with the data collection device and in the process of charging the recording device by the data collection device (for example, the electric quantity information is the electric quantity of the recording device when the data collection device finishes charging the recording device at this time), the data collection device sends the electric quantity information to the server after the electric quantity information is generated and acquired by the data collection device (for example, the charging at this time).
In an optional embodiment of this specification, if the power information includes a plurality of pieces of sub information, and the time for acquiring different pieces of sub information by the data collection device is not completely the same, the data collection device may send each piece of acquired sub information to the server, so that the time for receiving at least two pieces of sub information in each piece of sub information received by the server is different.
In another optional embodiment of the present specification, the data collection device sends the power information to the server when detecting that the sound recording device is electrically disconnected from the data collection device, regardless of when each piece of sub information in the power information is generated and when the data collection device acquires each piece of sub information.
S206: and the server receives the electric quantity information uploaded by the data collection equipment.
S208: and the server generates electric quantity prompt information according to the electric quantity information.
The electric quantity prompting information in the specification is at least used for prompting a user corresponding to the user terminal and the current electric quantity of the recording equipment. The amount of electricity may be characterized by at least one of: the available electric quantity of the recording equipment or the available time length of the recording equipment is represented, or the recording equipment is charged by prompting. It can be seen that the power prompt message in this specification can be used to prompt the user that "the recording device runs out of power at a certain time of a certain day, about a certain month in a certain year".
In an optional embodiment of this specification, the process of generating the power prompt message by the server may be: and acquiring the historical power consumption record of the sound recording equipment. And then generating prompt information according to the historical power consumption record and the electric quantity information, wherein the prompt information is used for indicating the available electric quantity of the sound recording equipment, or indicating the available time length of the sound recording equipment, or prompting to charge the sound recording equipment.
The historical power consumption record in the present specification can reflect the power consumption situation of the sound recording device in the history from at least two aspects: the hardware condition of the recording apparatus (e.g., the power supply efficiency of the recording apparatus battery, etc.), the usage of the recording apparatus (e.g., for a recording apparatus, the power consumption in the recording state for a long time is higher than the power consumption in the standby state for a long time).
In an optional real-time example of this specification, the server receives the power information uploaded by the data collection device, and stores the received power information. And taking the stored electric quantity information as a historical power consumption record. And updating the historical power consumption record according to the new electric quantity information after receiving the new electric quantity information uploaded by the data collection equipment each time. And then the updated historical power consumption record is used as the historical power consumption record for subsequent use.
S210: and the server sends electric quantity prompt information to the user terminal.
After the server generates the electric quantity prompt information, the electric quantity prompt information can be sent to the user terminal.
In an optional embodiment of the present description, after generating the power prompt message, the server directly sends the power prompt message (the power prompt message at least indicates "the recording device runs out of power at a certain time about a certain month and a certain day of a certain year") to the user terminal, so that the user can take measures for the recording device before the power running out actually occurs.
In another optional embodiment of the present specification, the server obtains the current time, determines whether a time interval between the current time and the time when the recording device runs out of electric quantity indicated in the electric quantity prompt information is greater than a threshold time interval, and if the determination result is yes, sends the electric quantity prompt information to the user terminal; if the judgment result is negative, the judgment is continuously executed until the judgment result is positive.
Alternatively, the threshold time interval may be a preset empirical value.
In addition, the time interval between the current time and the time of the recording device power exhaustion indicated in the power prompt information may be determined, and specifically, the threshold time interval is inversely related to the time interval between the current time and the time of the recording device power exhaustion indicated in the power prompt information and is not greater than the time interval between the current time and the time of the recording device power exhaustion indicated in the power prompt information. At this time, the threshold time interval may be re-determined each time after the power prompting information is transmitted to the user terminal, so as to perform the next determination as to whether to transmit the power prompting information to the user terminal according to the re-determined threshold time interval.
S212: and the user terminal displays the electric quantity prompt information sent by the server.
And after receiving the electric quantity prompt information, the user terminal displays the electric quantity prompt information. The presentation may be by at least one of: the display is carried out in a picture and text mode, in a sound signal emitting mode, in a light signal emitting mode and in a vibration signal emitting mode.
As can be seen, with the method and system for prompting the electric quantity of the sound recording device provided in this specification, the server generates electric quantity prompting information with predictive properties according to the electric quantity information based on the electric quantity information of the sound recording device uploaded by the data collection device, and sends the electric quantity prompting information to the terminal corresponding to the sound recording device. The electric quantity prompting information is at least used for prompting the electric quantity of the recording equipment to a user. On one hand, the server sends prompt information to the terminal, so that the situation that the electric quantity condition of the recording equipment cannot be effectively transmitted to the user and the user does not take measures in time due to the fact that the user neglects the prompt sent by the recording equipment can be avoided; on the other hand, the process in the specification is based on the interaction between the data collection device and the terminal, the recording device does not need to interact with the server, and the electricity consumption of the recording device caused by the interaction between the recording device and the server can be effectively avoided. Therefore, the method and the system in the specification can solve the problem that the electric quantity of the recording equipment of the user cannot be effectively prompted in the prior art to a certain extent.
In an alternative embodiment of the present description, the sound recording apparatus may include: the recording device comprises a recording module, a control module and a power module which are electrically connected in sequence, and the recording device also comprises a first transmission module which is electrically connected with the power module.
The data collection device comprises a charging module, a control module and a storage module which are sequentially and electrically connected, and the data collection device also comprises a second transmission module which is electrically connected with the control module. Wherein, the power module of the recording equipment is electrically connected with the charging module of the data collecting equipment. The first transmission module of the sound recording device and the second transmission module of the data collection device are electrically connected (including but not limited to a communication connection).
The server may include: the third transmission module, the matching module and the electric quantity calculation module are electrically connected in sequence. The third transmission module is electrically connected with the second transmission module.
The user terminal (which may be simply referred to as a terminal) may comprise, electrically connected in turn: the fourth transmission module, the main control module and the prompt module. The fourth transmission module is electrically connected with the third transmission module.
In an actual scenario, there may be a case where the number of user terminals communicatively connected to the server is not unique. The server is required to identify the terminal corresponding to the power prompt message to be sent from each user terminal. In an optional embodiment of the present specification, when the data collection device obtains the power information from the sound recording device, the data collection device also obtains an identifier of the sound recording device as a device identifier. The electric quantity information sent to the server carries the equipment identifier.
The server stores a correspondence relationship (which may be a correspondence relationship table) between the device identifier and the user identifier. After receiving the electric quantity information, the server analyzes the equipment identifier from the electric quantity information. And inquiring the user identification corresponding to the analyzed equipment identification in the stored corresponding relation. After the server generates the power prompt information, the power prompt information is sent to the user terminal which inquires out the association with the user identifier (the association relationship may be an association relationship table). Wherein the user identifier is used for representing a user of the sound recording device.
As can be seen from the foregoing, the historical power consumption record in the present specification can reflect at least the hardware condition of the recording apparatus and the usage of the recording apparatus at the same time. In order to obtain the prompt information integrating the two aspects. In an alternative embodiment of the present specification, the first amount of electricity at the end of the first charge, the second amount of electricity before the start of the second charge, and the first interval time between the first charge and the second charge are acquired from the history of power consumption. And dividing the difference value between the first electric quantity and the second electric quantity by the first interval time to obtain the electric consumption per unit time. And obtaining a second time interval between the receiving time of the electric quantity information and the current time, subtracting the electric quantity represented by the electric quantity information, and obtaining prompt information by multiplying the electric quantity of the unit time by the second time interval, wherein the prompt information at least represents the available electric quantity of the sound recording equipment.
The actual power consumption of the recording device is related to the hardware condition of the recording device on one hand and the use of the recording device by the user on the other hand. In addition, in the process of the specification, the server and the recording equipment are not directly interacted, the server cannot directly monitor the recording equipment in real time, and the prediction difficulty of the server on the power consumption condition of the recording equipment is further increased.
In view of this, in an alternative embodiment, the "first charging" may be the earliest recorded charging record among the historical power consumption records; the "second charging" may be a charging record of which the time is recorded second earliest in the history power consumption record. The obtained power consumption per unit time can be stored in the server, and when the prompt information is determined later, the power consumption per unit time can be directly searched for use. The mode of determining the first charging and the second charging is fast and efficient.
In addition, in another alternative embodiment of the present specification, the "second charging" may be a record of a charging most recent to the current time (i.e., last charging) recorded in the history power consumption record; the "first charge" may be a charge record that is the latest from the time of last charge in the history of power consumption. Since the hardware condition of the recording apparatus is likely to change with time, for example, older recording apparatuses have their batteries disabled less, which is manifested as an increase in power consumption per unit time. In addition, the power consumption of the sound recording apparatus per unit time may be different in different states (e.g., a sound recording state and a standby state). The last charging times of the user are closer to the current time, so that the use condition of the recording device, which is recently used by the user, can be shown. In this embodiment, the prompt information is determined based on two times of charging that are closest to the current time, so that the condition of the recording device at the current time along with the lapse of time can be embodied more accurately; the recent use condition of the recording equipment by the user can be reflected.
Further, in order to use more data in the historical power consumption records as a basis for determining the power consumption prompting information, in an optional embodiment of the present specification, any two charging records adjacent in time in the historical power consumption records are used as one unit. For each cell, a charge record with an earlier recording time is taken as a first charge of the cell, and a charge record with a later recording time is taken as a second charge of the cell. And obtaining the power consumption of the unit in unit time according to the first electric quantity when the first charging in the unit is finished, the second electric quantity before the second charging is started and the first interval time between the first charging and the second charging. The power consumption amount per unit time corresponding to each cell is summed (for example, the sum may be an average value), and a reference power consumption amount per unit time is obtained. And obtaining a second time interval between the receiving time of the electric quantity information and the current time, subtracting the electric quantity represented by the electric quantity information, and obtaining the prompt information by the product of the reference electric consumption of the unit time and the second time interval, wherein the prompt information at least represents the available electric quantity of the recording equipment.
Based on the same idea, the present specification further provides an electric quantity prompting device of a first sound recording device, where the electric quantity prompting device of the first sound recording device is applied to a server, as shown in fig. 3, the electric quantity prompting device of the first sound recording device includes one or more of the following modules:
a power information receiving module 300 configured to: and receiving the electric quantity information uploaded by the data collection device, wherein the electric quantity information is acquired by the data collection device from the sound recording device, the sound recording device is set to be bound with a user identifier, and the user identifier is used for representing a user of the sound recording device.
A charge amount calculation module 302 configured to: and generating electric quantity prompt information according to the electric quantity information.
A sending module 304 configured to: and sending electric quantity prompt information to a user terminal, wherein the user terminal is a terminal associated with the user identification.
In an optional embodiment of the present description, the power information receiving module 300 is specifically configured to: when the data collection device is disconnected with the recording device, the electric quantity information of the recording device, which is automatically sent by the data collection device, is received, wherein the data collection device is used for monitoring the electric quantity of the recording device in the charging process in real time, and the electric quantity information comprises the current electric quantity of the recording device when the charging connection is disconnected.
In an optional embodiment of the present disclosure, the electric quantity calculating module 302 is specifically configured to: acquiring a historical power consumption record of the recording equipment; and generating prompt information according to the historical power consumption record and the electric quantity information, wherein the prompt information is used for indicating the available electric quantity of the sound recording equipment, or indicating the available duration of the sound recording equipment, or prompting to charge the sound recording equipment.
In an optional embodiment of the present disclosure, the electric quantity calculating module 302 is specifically configured to: acquiring a first electric quantity when the first charging is finished, a second electric quantity before the second charging is started and a first interval time between the first charging and the second charging from the historical power consumption record; dividing the difference between the first electric quantity and the second electric quantity by the first interval time to obtain the electric consumption of unit time; and acquiring a second time interval between the receiving time of the electric quantity information and the current time, subtracting the electric quantity represented by the electric quantity information, and obtaining electric quantity prompt information by multiplying the electric quantity of unit time by the second time interval, wherein the electric quantity prompt information at least represents the available electric quantity of the sound recording equipment.
In an optional embodiment of the present disclosure, the electric quantity calculating module 302 is specifically configured to: taking any two charging records adjacent in time in the historical power consumption records as a unit; for each unit, taking the charging record with the earlier recording time as the first charging of the unit, and taking the charging record with the later recording time as the second charging of the unit; obtaining the power consumption of the unit in unit time according to the first electric quantity when the first charging in the unit is finished, the second electric quantity before the second charging is started and the first interval time between the first charging and the second charging; summarizing the power consumption of each unit in unit time to obtain the reference power consumption of the unit time; and obtaining a second time interval between the receiving time of the electric quantity information and the current time, subtracting the electric quantity represented by the electric quantity information, and obtaining prompt information by multiplying the reference electric consumption of unit time by the second time interval, wherein the prompt information at least represents the available electric quantity of the sound recording equipment.
In an alternative embodiment of the present disclosure, the sending module 304 is specifically configured to: acquiring current time; judging whether the time interval between the current time and the time of the electric quantity exhaustion of the recording equipment shown in the electric quantity prompt information is larger than a threshold time interval or not; if the judgment result is yes, sending the electric quantity prompt message to the user terminal; if the judgment result is negative, the current time is obtained again, and the judgment is continuously executed until the judgment result is positive.
Based on the same idea, the present specification further provides an electric quantity prompting apparatus for a second type of sound recording device, where the electric quantity prompting apparatus for the second type of sound recording device is applied to a server, as shown in fig. 4, the electric quantity prompting apparatus for the second type of sound recording device includes one or more of the following modules:
the power prompt information receiving module 400 is configured to: and receiving electric quantity prompt information sent by the server.
A display module 402 configured to: and displaying the electric quantity prompt information on a user interface.
As shown in fig. 5, the embodiment of the present application provides a power prompting device of a sound recording device, which includes a processor 111, a communication interface 112, a memory 113, and a communication bus 114, where the processor 111, the communication interface 112, and the memory 113 complete mutual communication through the communication bus 114,
a memory 113 for storing a computer program;
in an embodiment of the present application, when the processor 111 is configured to execute the program stored in the memory 113, the method for controlling the power prompt of the sound recording apparatus according to any one of the foregoing method embodiments includes:
the embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the power prompting method of the sound recording apparatus provided in any one of the foregoing method embodiments.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.