CN109923848B - Method and device for controlling volume of device and server - Google Patents
Method and device for controlling volume of device and server Download PDFInfo
- Publication number
- CN109923848B CN109923848B CN201780064266.4A CN201780064266A CN109923848B CN 109923848 B CN109923848 B CN 109923848B CN 201780064266 A CN201780064266 A CN 201780064266A CN 109923848 B CN109923848 B CN 109923848B
- Authority
- CN
- China
- Prior art keywords
- equipment
- server
- volume
- preset
- registered
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M11/00—Telephonic communication systems specially adapted for combination with other electrical systems
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application discloses a method, equipment and a server for controlling the volume of equipment, which are used for reducing the volume of the first equipment which has an association relation with a target user in a sleeping state. The method in the embodiment of the application comprises the following steps: the method comprises the steps that a first device detects the use state of the first device, wherein the first device is a registered device in a preset group on a server; when the first device is in a use state of sound playing, the first device acquires volume control information sent by a server, wherein the volume control information is information sent when the server determines that the first device and a second device have a preset association relationship, the second device is a device for monitoring that a target user is in a sleep state, and the second device is another registered device in the preset group; and finally, the first equipment reduces the volume of the external sound according to the volume control information.
Description
The present application claims priority from chinese patent application filed on 12.07.2017 under the name of "a method and apparatus for adjusting terminal volume" by the chinese patent office having the application number of 201710567560.9, the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of terminals, and in particular, to a method, a device, and a server for controlling a device volume.
Background
With the development of terminal technology, intelligent terminal devices have become very common products in daily life, and the variety is very various, for example: mobile phones, televisions, computers, ipads, audio devices, MP3, MP4, etc., which play music or watch videos using smart terminal devices for entertainment have become part of people's daily life.
Therefore, such a scenario often occurs in daily life: when family members are resting (namely in a sleeping state), sudden ringing of mobile phone rings, video playing sounds or sounds of music played by sound equipment are sounded, and the sudden played sound affects the family members who are resting around, especially when the volume of the played sound is large. There are methods available to solve problems similar to those presented in the above scenarios: when the intelligent terminal device monitors that the user using the intelligent terminal is at rest, the intelligent terminal controls the play volume of the intelligent terminal device so as to reduce the play volume.
The above solutions have disadvantages: the intelligent terminal equipment can only reduce the volume of the external sound by controlling the volume of the external sound of the intelligent terminal equipment, and cannot avoid the influence of the volume of the external sound of other intelligent terminal equipment around.
Disclosure of Invention
The embodiment of the invention provides a method, equipment and a server for controlling the volume of equipment, which are used for reducing the volume of the external sound of first equipment in an association relationship with a target user in a sleep state.
In view of this, a first aspect of the embodiments of the present application provides a method for controlling a volume of a device, where the method may include:
the method comprises the steps that a first device detects the use state of the first device, wherein the first device is a registered device in a preset group on a server; when the first device is in a use state of sound playing, the first device acquires volume control information sent by a server, wherein the volume control information is information sent when the server determines that the first device and a second device have a preset association relationship, the second device is a device for monitoring that a target user is in a sleep state, and the second device is another registered device in the preset group; and finally, the first equipment reduces the volume of the external sound of the first equipment according to the volume control information. In the embodiment of the application, the purpose of reducing the volume of the external sound for the first equipment which is in the association relation with the target user in the sleep state is achieved.
With reference to the first aspect of the embodiment of the present application, in a first implementation manner of the first aspect of the embodiment of the present application, the presetting of the association relationship may include: the first device and the target user are within a first preset distance, or the first device and the second device are within the same local area network. In the embodiment of the application, at least two preset association relations are provided, and the method has universality.
With reference to the first implementation manner of the first aspect of the embodiment of the present application, in a second implementation manner of the first aspect of the embodiment of the present application, after the first device reduces the playback volume of the first device according to the volume control information, the method may further include: the first device prompts that a first outdoor playback volume operating the first device has been reduced. In the embodiment of the application, after the volume of the external sound is reduced, the first device can remind the user that the volume of the external sound is reduced, and the user experience is improved.
A second aspect of the embodiments of the present application provides a method for controlling a volume of a device, where the method may include:
when a certain registered device in a certain preset group on a server monitors that a first user operating the registered device is in a sleep state, the server can determine that the registered device in the preset group is a first device, then the server monitors the use states of other registered devices in the preset group, and when the server monitors that the use state of another registered device in the preset group is sound outgoing and has a preset association relationship with the first device, the server determines that the other registered device is a second device and controls the second device to reduce the outgoing volume of the second device. In the embodiment of the application, the aim of reducing the volume of the second device which is in the association relationship with the first user in the sleep state is fulfilled.
With reference to the second aspect of the embodiment of the present application, in a first implementation manner of the second aspect of the embodiment of the present application, the presetting of the association relationship may include: the second device is located within a first preset distance from the first user, or the first device and the second device are located in the same local area network. In the embodiment of the application, at least two preset association relations are provided, and the method has universality.
With reference to the second aspect of the embodiment of the present application and the first implementation manner of the second aspect of the embodiment of the present application, in the second implementation manner of the second aspect of the embodiment of the present application, after the server monitors the use state of the registered device in the preset group, the method may further include: when a certain registered device exists in the preset group, the registered device is in a second preset distance range of the first device, the second preset distance is larger than the first preset distance, and intersection does not exist between the second preset distance and the first preset distance, the server determines that the registered device is a third device, and then sends volume reduction prompt information to the third device, wherein the volume reduction prompt information is used for prompting a third user to carry out operation of reducing the volume of the third device, and the third user is a user operating the third device. In the embodiment of the application, the second preset distance is set, and the volume reduction prompt information is sent to the user to prompt the user to adjust the volume of the loudspeaker, so that the user experience is improved.
With reference to the second aspect of the embodiment of the present application, the first implementation manner of the second aspect of the embodiment of the present application, and the second implementation manner of the second aspect of the embodiment of the present application, in a third implementation manner of the second aspect of the embodiment of the present application, the controlling, by the server, the second device to reduce the amount of outgoing sound of the second device may specifically include: and the server sends volume control information to the second equipment, wherein the volume control information is used for enabling the second equipment to automatically reduce the outdoor volume, or the volume control information is used for enabling the second equipment to automatically reduce the outdoor volume and prompting that the outdoor volume of the second equipment is reduced. In the embodiment of the application, after the play volume is reduced, the second device can remind the user that the play volume is reduced, so that the user experience is improved.
With reference to the second aspect of the example of the present application, the first implementation manner of the second aspect of the example of the present application, to the third implementation manner of the second aspect of the example of the present application, in a fourth implementation manner of the second aspect of the example of the present application, the monitoring, by the server, the usage state of the registration device may include: the method comprises the steps that a server periodically obtains the use state of registered equipment in a preset group, and the use state comprises server periodic inquiry and automatic periodic reporting of the registered equipment; or, when the use state of the registered device in the preset group is changed, the server acquires the use state of the registered device reported by the registered device. In the embodiment of the application, several ways of acquiring the use state of the registered device by the server are provided, and selectivity is provided.
With reference to the second aspect of the embodiment of the present application, the first implementation manner of the second aspect of the embodiment of the present application, to the fourth implementation manner of the second aspect of the embodiment of the present application, in a fifth implementation manner of the second aspect of the embodiment of the present application, before the server determines the first device, the method may further include: when the server meets a preset trigger condition, the server sends sleep state change information to the registered equipment in the preset group, so that the registered equipment in the preset group monitors the sleep state of the target user corresponding to the registered equipment according to the obtained sleep state change information. In the embodiment of the application, the server sends the sleep state change information to the registered device in the preset group to trigger the registered device to monitor the sleep state of the target user, and the method has pertinence.
With reference to the fifth implementation manner of the second aspect of the embodiment of the present application, in a sixth implementation manner of the second aspect of the embodiment of the present application, the that the server satisfies the preset trigger condition may include: if the system clock of the server reaches a preset time point, the server can be determined to meet a preset trigger condition; or, if the server acquires the start instruction, it may be determined that the server satisfies the preset trigger condition. In the embodiment of the application, several meeting modes of preset triggering conditions are provided, and flexibility is achieved.
A third aspect of the embodiments of the present application provides a method for controlling a volume of a device, where the method includes: when the identifier of the first device and the identifier of the second device have a preset association relationship, the first device receives volume control information sent by a server, and the second device monitors that a target user is in a sleep state; and then, the first equipment reduces the volume of the external sound of the first equipment according to the acquired volume control information. In the embodiment of the application, the aim of reducing the volume of the first device which is in the association relation with the target user in the sleep state is fulfilled.
With reference to the third aspect of the embodiment of the present application, in a first implementation manner of the third aspect of the embodiment of the present application, the preset association relationship may include: the first device and the second device are in the same local area network; or, the first device and the second device are not only in the same local area network, but also are registered devices in a certain preset group on the server; or, the first device and the second device are not only within a preset target position range, but also are registered devices in a certain preset group on the server. In the embodiment of the application, at least three preset association relations are provided, and selectivity is provided.
With reference to the third aspect of the present embodiment and the first implementation manner of the third aspect of the present embodiment, in a second implementation manner of the third aspect of the present embodiment, after the first device reduces the playback volume according to the acquired volume control information, the method further includes: the first device prompts a first user operating the first device that the playback volume of the first device has been reduced. In the embodiment of the application, after the volume of the external sound is reduced, the first device can remind the user that the volume of the external sound is reduced, and the user experience is improved.
A fourth aspect of the embodiments of the present application provides a method for controlling a volume of a device, where the method includes:
when one device monitors that a first user corresponding to the device is in a sleep state, the server determines that the device is a first device and acquires a first device identifier of the first device; then, if the device identifier of another device has a preset association relationship with the first device identifier, the server determines that the another device is a second device; finally, the server controls the second device to reduce the volume of the second device. In the embodiment of the application, the volume of the second device which is in the association relationship with the first user in the sleep state is reduced.
With reference to the fourth aspect of the embodiment of the present application, in the first implementation manner of the fourth aspect of the embodiment of the present application, the preset association relationship may include: the first device and the second device are in the same local area network. In the embodiment of the present application, it is specifically described how the predetermined association relationship is a universal relationship.
With reference to the first implementation manner of the fourth aspect of the present embodiment, in the second implementation manner of the fourth aspect of the present embodiment, the server determines whether the first device and the second device are registered devices in a certain preset group on the server, and if the server determines that the first device and the second device are both registered devices in a certain preset group on the server, the server performs an operation of controlling the second device to reduce the volume of the external sound of the second device. In the embodiment of the application, the server controls the volume of the external sound of the second device by further determining that the first device and the second device belong to the preset group, so that the control is more targeted.
With reference to the fourth aspect of the embodiment of the present application, in a third implementation manner of the fourth aspect of the embodiment of the present application, when the preset association relationship is that the first device and the second device are within a preset target position range, the method may further include: the server judges whether the first device and the second device are registered devices in a preset group on the server, and if the server determines that the first device and the second device are the registered devices in the preset group on the server, the server executes an operation of controlling the second device to reduce the volume of the second device. In the embodiment of the application, the server controls the volume of the external sound of the second device by further determining that the first device and the second device belong to the preset group, so that the control is more targeted.
A fifth aspect of the embodiments of the present application provides an apparatus, which is a first apparatus, and has a function of detecting a use state of the first apparatus, and acquiring volume control information sent by a server to reduce a volume of a self-external sound. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
A sixth aspect of the embodiments of the present application provides a server, where the server has a function of determining a first device, determining a second device that has a preset association relationship with the first device, and controlling the second device that plays sound to reduce volume played back, and the function may be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
A seventh aspect of the embodiments of the present application provides an apparatus, which serves as a first apparatus, and may include: a processor, a memory, and an input-output interface, the memory having stored therein program code for storing operating instructions; the processor is configured to execute, when calling the program code in the memory, steps that need to be executed by the first device in the method for controlling the volume of any device in the embodiment of the present application.
An eighth aspect of embodiments of the present application provides a server, which may include: a processor, a memory, and an input-output interface, the memory having stored therein program code for storing operating instructions; the processor is configured to execute steps that the server needs to execute in the method for controlling the volume of any device in the embodiment of the present application when calling the program code in the memory.
A ninth aspect of the embodiments of the present application provides a computer-readable storage medium, having stored therein instructions, which, when executed on a computer, cause the computer to perform the method of the above-mentioned aspects. It should be noted that the technical solutions of the present application, which are essential or contributing to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product stored in a storage medium for storing computer software instructions for the above-mentioned devices, which contains a program designed for executing any one of the above-mentioned first to fourth aspects for a data node or a management node.
The storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
A tenth aspect of the embodiments of the present application provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for controlling the volume of a device as described in any one of the optional implementations of the first aspect to the fourth aspect of the embodiments of the present application.
In the technical scheme provided by the embodiment of the application, the method has the following beneficial effects: the method comprises the steps that a first device detects the use state of the first device, wherein the first device is a registered device in a preset group on a server; when the first device is in a use state of sound playing, the first device acquires volume control information sent by a server, wherein the volume control information is information sent when the server determines that the first device and a second device have a preset association relationship, the second device is a device for monitoring that a target user is in a sleep state, and the second device is another registered device in the preset group; and finally, the first equipment reduces the volume of the external sound according to the volume control information. In the embodiment of the application, when the first device is in the sound playing state and has a preset association relationship with the second device, the first device acquires the volume control information sent by the server to control the playing volume of the first device, and for the first device having the association relationship with the target user in the sleep state, the playing volume of the first device can be reduced, so that the target user in the sleep state is prevented from being influenced.
Drawings
Fig. 1 is a schematic view of an application scenario in an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of a method for controlling the volume of a device in an embodiment of the present application;
FIG. 3 is a diagram illustrating a server obtaining an open command according to an embodiment of the present application;
FIG. 4a is a schematic diagram of an outgoing volume when the music player is turned on by the mobile phone according to the embodiment of the present application;
FIG. 4b is a schematic diagram of another playback volume when the music player is turned on in the embodiment of the present application;
FIG. 4c is a schematic diagram of another playback volume when the music player is turned on in the embodiment of the present application;
fig. 5 is a schematic view of an application scenario in which a server sends a volume prompt message in an embodiment of the present application;
fig. 6 is a prompt mode for acquiring volume prompt information by a mobile phone in the embodiment of the present application;
fig. 7 is another prompting manner for acquiring the volume prompting information by the mobile phone in the embodiment of the present application;
fig. 8 is a schematic view of an application scenario in which a server sends a volume-down prompt message in an embodiment of the present application;
fig. 9 is a diagram illustrating a manner in which a mobile phone obtains a volume reduction prompt message in an embodiment of the present application;
fig. 10 shows another prompting manner for acquiring the volume reduction prompting information by the mobile phone in the embodiment of the present application;
fig. 11 is a diagram illustrating a manner in which the mobile phone automatically reduces the playback volume after acquiring the volume control information according to an embodiment of the present application;
fig. 12 shows a prompt mode after the mobile phone automatically reduces the volume of the external sound in the embodiment of the present application;
fig. 13 is another prompting method after the mobile phone automatically reduces the external volume in the embodiment of the present application;
FIG. 14 is a schematic diagram of another embodiment of a method for controlling the volume of a device in an embodiment of the present application;
FIG. 15 is a schematic diagram of another embodiment of a method for controlling the volume of a device in an embodiment of the present application;
fig. 16 is a schematic view of an application scenario of a method for controlling the volume of a device according to an embodiment of the present application;
FIG. 17 is a schematic diagram of an embodiment of an apparatus in an embodiment of the present application;
FIG. 18 is a schematic diagram of an embodiment of a server in an embodiment of the present application;
FIG. 19 is a schematic diagram of another embodiment of the apparatus in the example of the present application;
FIG. 20 is a schematic diagram of another embodiment of a server in the embodiment of the present application;
FIG. 21 is a schematic diagram of another embodiment of the apparatus in the example of the present application;
fig. 22 is a schematic diagram of another embodiment of the server in the embodiment of the present application.
Detailed Description
Embodiments of the present invention will be described below with reference to the accompanying drawings.
The development of terminal technology enables people to carry terminal devices such as mobile phones, smart bands, tablet computers and the like, and the devices generally have a sound playing function. Taking a mobile phone as an example, people can make and receive calls, play music, watch videos and the like through the sound playing function of the mobile phone. However, in some application scenarios (e.g., home, hospital ward, office noon break, etc.), the sudden loud sounds of these devices can be annoying to people who are resting in the above scenario. One current solution is: the device may acquire sleep information of the user within the detection range of the device, for example, statistics and calculation may be performed on user sign data according to an algorithm customized in the device by an owner of the device or a device system, so as to determine current sleep information (such as sleep, waking, and the like) of the user, and when it is determined that the user is in sleep, the device performs volume control on the device according to the sleep information. However, such a method of controlling the volume of a device can only control itself, and if there are multiple devices in the same application scenario, it is not possible to control the volume of other devices.
In order to solve the above problem, the embodiment of the present application provides the following technical solutions: the method comprises the steps that a server firstly determines a first user in a sleep state, wherein the first user corresponds to first equipment; meanwhile, the server monitors the use state of the registered equipment in a preset group on the server; when the server determines that the use state of a second device which is in a first preset association relation with the first device in the registered devices is volume play-out, the server controls the second device to reduce the volume of the play-out of the second device. In the embodiment of the application, the server monitors the use state of the registered devices in the preset group and determines the second device needing to control the volume of the external sound according to the first preset incidence relation, so that the volume of the external sound of the second device, which is in the incidence relation with the first user in the sleep state, is reduced.
In the embodiment of the present application, the applied scenario is as shown in fig. 1, and a server establishes a connection with a plurality of devices having a sound playing function. The device can be intelligent terminal devices such as a mobile phone, a tablet personal computer, a personal computer and a sound box, and can also be intelligent wearable devices such as an intelligent bracelet and an intelligent watch, and the device is not limited in the specific process. The server is provided with a server program and can be in communication connection with each device. The server may be a physical server in a conventional sense, or may be a cloud server, and is not limited herein.
The technical scheme provided by the embodiment of the application has a plurality of implementation modes, which are respectively introduced below.
The first embodiment is as follows: the server monitors the use state of the registered device, and controls the second device to reduce the volume of the sound played out of the second device if it is determined that the first device corresponding to the first user in the sleep state and the second device playing out the sound have a first preset association relationship.
As shown in fig. 2, an embodiment of a method for controlling the volume of a device in the embodiment of the present application:
201. monitoring the sleep condition of a user by a registration device in a preset group;
the preset registered device in the group refers to a device which is registered or added in the group preset on the server by the user, and the specific process may be as follows: the user registers on the server and selects a group, for example: the server is provided with preset groups of 'group 1', 'group 2' and 'group 3', if a user A wants to join in the 'group 1' of the existing user B and the user C, the user A needs to register the identity on the server firstly, then selects 'group 1' to join in, and the user A, the user B and the user C form a group of 'group 1'; if the user a wants to register a group "group 4" alone, the user may register the preset group "group 4" on the server, and add other users, such as user D and user E, so that the user a, the user D, and the user E form a group "group 4". After the user presets the group, the registered devices in the preset group may be updated (including operations of registration, addition, deletion, and the like), for example: the user A adds the mobile phone a, the tablet computer a and the smart bracelet a in the group 4, the user B adds the smart watch B and the mobile phone B, the user C adds the personal computer C and deletes the mobile phone C, and then the mobile phone a, the tablet computer a, the smart bracelet a, the smart watch B, the mobile phone B and the personal computer C are the registered devices added in the group 4, and the mobile phone C is the registered device deleted from the group 4. It should be noted that, when the user updates the registered device in the preset group, the server may obtain updated registered device information, where the registered device information at least includes identification information capable of uniquely identifying the registered device, and the identification information may be a MAC address of the registered device, a device serial number of the registered device, or a pattern identification code of the registered device, and is not limited herein.
The monitoring of the sleep condition of the user by the registered device in the preset group may include, but is not limited to, the following situations:
A. when the server meets a preset trigger condition, sending sleep state change information to the registration equipment, so that the registration equipment monitors the sleep condition of the user according to the received sleep state change information;
after a user determines a preset group and registered equipment in the preset group on a server, if the server meets a preset trigger condition, the server sends sleep state change information to the registered equipment, so that the registered equipment can monitor the user sleep condition corresponding to the registered equipment according to the sleep state change information. It should be noted that the purpose of sending the sleep state change information to the registered device by the server is to trigger the registered device to monitor the sleep condition of the user and to feed back the sleep state change information to the server when a certain registered device monitors that the user enters the sleep state, and the sleep state change information may be the first information or the second information, as long as the information can trigger the registered device to monitor the sleep condition of the user, which is not limited herein. Specifically, it may be considered that when the system clock of the server reaches a preset time point, it is determined that the server satisfies a preset trigger condition, for example: user a presets that when the time point reaches 2017, 10 months, 23 days, evening 11: 00, the server sends sleep state change information to the registered devices in the preset group, and when the system time of the server reaches 2017, 10, 23, 11: 00, the server automatically executes the operation of sending the sleep state change information; in addition, it may also be considered that when the server acquires the start instruction, it is determined that the server satisfies the preset trigger condition, taking the mobile phone in fig. 3 as an example: the method comprises the steps that a mobile phone B of a user B (the user name is assumed to be kevin) is registered on a server and joins a group ' group 4 ', wherein the group 4 ' also comprises a user A, a user C and a user D, the user A adds a mobile phone a and a tablet personal computer a in the ' group 4 ', the user C adds an intelligent watch C and a mobile phone C, and the user D adds a computer D and an intelligent bracelet D. If the user B wants to have a lunch break at this time (1: 00 pm on a certain day), the user B can open the my group in the mobile phone B, select to determine to open the corresponding group sleep mode in the registered device mobile phone B belonging to the group 4, the mobile phone B sends an opening instruction of the group sleep mode to the server, and the server sends sleep state change information to all registered devices (namely the mobile phone a, the tablet computer a, the mobile phone B, the smart watch c, the mobile phone c, the computer d and the smart bracelet d) of the group 4 in the preset group after acquiring the opening instruction of the group sleep mode. The preset trigger condition satisfied by the server is not limited herein. It should be noted that the step of sending the sleep state change information to the registered device by the server may be that the server first obtains the identification information of the registered device in the preset group, and then determines the corresponding registered device according to the identification information and sends the sleep state change information to the registered device. It should be further noted that the user may input a corresponding start instruction in any registered device in the preset group that the user has permission to operate, so that the server sends sleep state change information to all registered devices in the preset group to monitor the sleep condition of the user by the registered device. It should be further noted that, as shown in fig. 3, the registered device may enable the user to confirm whether to send the start instruction to the server in a text prompt manner, or enable the user to confirm whether to generate the start instruction in a voice prompt manner, or enable the user to directly input text or input a start instruction corresponding to voice, or enable the user to input the start instruction in a body motion recognition manner, which is not limited herein.
After acquiring the sleep state change information sent by the server, the registration device monitors the sleep condition of the user.
B. The registered device constantly monitors the sleep condition of the user.
The registered device may trigger execution of the operation of monitoring the sleep condition of the user by acquiring the sleep state change information sent by the server, and may monitor the sleep condition of the user at any time after being turned on, for example: wearable equipment of intelligence such as intelligent bracelet, intelligent wrist-watch just can monitor user's sleep condition 24 hours a day. The smart watch c and the smart bracelet d shown in fig. 3 may monitor the sleep condition of the user after acquiring the sleep state change information sent by the server, or may monitor the sleep condition of the user at any time without acquiring the sleep state change information sent by the server, which is not limited herein.
202. The device 1 monitors that the first user is in a sleep state;
if one registered device on the server monitors that the user is in the sleep state, the server determines that the registered device monitoring that the user is in the sleep state is device 1 (also referred to as a first device), and the user monitored by device 1 to be in the sleep state may be referred to as a first user.
It should be noted that how the registration device monitors the sleep condition of the user and determines that the user is in the sleep state may be implemented by a third party technical solution, for example: intelligent wearable devices such as an intelligent bracelet and an intelligent watch worn on a user can acquire user sign information (such as heart rate information) so as to judge whether the user is in a sleep state; non-wearable devices such as mobile phones and tablet computers can detect sound to determine whether a user is in a sleep state, can also determine whether the user is in the sleep state by detecting the user's actions (e.g., whether the user moves within a certain time period), and can also determine whether the user is in the sleep state by combining the sound detection and the action detection, which is not limited herein.
203. The device 1 sends first feedback information to a server;
when monitoring that the first user is in a sleep state, the device 1 in the registered device sends first feedback information to the server, where the first feedback information may be used to indicate to the server that the device 1 monitors that the first user is in the sleep state.
204. The server determines the relevant information of the equipment 1 in the registered equipment;
after acquiring the first feedback information sent by the device 1, the server determines relevant information of the device 1, where the relevant information of the device 1 may include but is not limited to: location information of a first user corresponding to the device 1 or network information of the device 1 (e.g., local area network information where the device 1 is located).
It should be noted that, the server may obtain the relevant information of the device 1, where the server obtains the first feedback information sent by the device 1, and then sends an obtaining request to the device 1, and after receiving the obtaining request, the device 1 sends the relevant information of the device 1 to the server, so that the server obtains and stores the relevant information of the device 1, and the server may also obtain the relevant information of the device 1, where the relevant information of the device 1 is carried in the first feedback information when the device 1 sends the first feedback information to the server, and the server directly extracts the relevant information of the device 1 from the first feedback information after obtaining the first feedback information, and this is not limited here specifically.
It should be further noted that the location information of the first user may be location information of the device 1, or may be location information of the first user obtained by the device 1 through calculation, which is not limited herein. The following description is made for the location information of the first user:
A. the location information of the first user is the location information of the device 1;
if the location information of the first user is the location information of the device 1, for example, the smart wearable device such as a smart bracelet and a smart watch is worn on the first user, the location information of the smart wearable device may be used as the location information of the first user. The device 1 may acquire the location information of the device 1 by using a sensor of the device and a positioning server, for example, by using a GPS sensor to acquire the location information of the device 1; the location information of the device 1 may also be obtained through network access of the device 1, and is not limited here.
It should be noted that, if the device 1 is a non-wearable device such as a mobile phone or a tablet computer, the location information of the non-wearable device may also be used as the location information of the first user, and the specific details are not limited herein.
It should be further noted here that how the device determines the location information of itself may be implemented by a third party, which is not the subject of the discussion and protection in the embodiments of the present application, and therefore, the detailed description is not provided herein.
B. The position information of the first user is position information of the first user obtained by the device 1 through calculation.
If the location information of the first user is the location information of the first user obtained by the device 1 through calculation, for example, the above-mentioned non-wearable device such as a mobile phone and a tablet computer, the location of the first user may be obtained through calculation by using a sensor of the non-wearable device to obtain the sound intensity, the motion characteristic, and the like of the first user, or the non-wearable device and the wearable device corresponding to the first user may communicate to obtain the location information of the first user, which is not limited herein.
205. The server monitors the use state of the registration equipment in the preset group;
after the server determines the relevant information of the device 1 (for example, the location information of the device 1, the location information of the first user corresponding to the device 1, or the local area network information of the device 1), the usage state of the registered device in the preset group is monitored, where the usage state of the registered device is periodically obtained by the server, for example, the server periodically sends an obtaining request to the registered device, and the registered device reports the usage state of the registered device to the server according to the obtaining request, or the registered device periodically and actively reports the respective usage state, or when the usage state of the registered device changes (for example, the registered device changes from sound amplification to silence), the changed usage state is automatically reported to the server, which is not limited herein.
206. When the use state of the equipment 2 in the registered equipment is sound outgoing, sending second feedback information to the server;
in the process that the server monitors the registered devices in the preset group, if the use state of one registered device is monitored to be the sound outgoing device, the server determines that the registered device with the sound outgoing device is the device 2 (also referred to as a second device). The user who is using the device 2 may be referred to as a second user. When the usage status of the device 2 among the registered devices is sound play-out, second feedback information is sent to the server, and the second feedback information can be used for indicating that the sound of the device 2 is being played-out to the server.
It should be noted that, in the embodiment of the present application, the using state of the device is sound output, which includes but is not limited to: the device is in a sound play-out state, for example, the user is watching a video in the form of sound play-out using a mobile phone; when the device is entering the sound playing state, for example, when the user watches the video in the sound playing form of the mobile phone, the mute mode is started, the user turns off the mute after finding the mute mode, and increases the volume, or the user starts to use the earphone to connect with the mobile phone to watch the video, and then the earphone is taken off and directly used for watching the video in the sound playing form of the mobile phone.
It should be noted that the usage state of the device 2 is sound output, which may include, but is not limited to, the following situations:
A. as long as the sound of the device 2 is being played out, it is determined that the use state of the device 2 is sound play-out;
if the sound of the device 2 is being played out, the use state of the device 2 is determined to be sound play-out regardless of the volume of the sound played out by the device 2. The mobile phone in fig. 4a and 4b is taken as an example for illustration: if the handset turns on the music player "listen to music", the play-out volume, whether 10% of the maximum play volume as shown in fig. 4a or 100% of the maximum play volume as shown in fig. 4b, determines the use state of the device 2 as sound play-out.
B. When the sound of the device 2 is being played out and the volume of the played-out sound is not lower than the preset volume value, it is determined that the use state of the device 2 is sound playing-out.
If the sound of the device 2 is being played out and only if the volume of the sound played out by the device 2 is not lower than the preset volume value, the use state of the device 2 is determined to be sound playing out. For example, if the preset volume value is 30% of the maximum volume, the outgoing volume of the mobile phone corresponding to fig. 4a is 10% of the maximum playing volume, and it is determined that the usage state of the mobile phone is not the outgoing volume; fig. 4b shows that the volume of the mobile phone is 100% of the maximum volume, and it is determined that the usage status of the mobile phone is sound playing; the volume of the mobile phone in the external play corresponding to fig. 4c is 30% of the maximum volume, and it is determined that the usage state of the mobile phone is the sound external play.
It should be noted that the volume in fig. 4a to 4c is represented by a progress bar, and may also be represented by a percentage or other forms, and fig. 4a to 4c are only schematic, and are not limited herein. It should be further noted that, for intelligent devices such as an intelligent bracelet and an intelligent ring without a display screen, the volume can also be notified in a voice broadcast manner, and the details are not limited herein.
207. The server determines the relevant information of the equipment 2 in the registered equipment;
after acquiring the second feedback information sent by the device 2, the server determines to register the device 2 in the device and acquires the relevant information of the device 2, where the relevant information of the device 2 may include but is not limited to: location information of the device 2 or network information of the device 2 (e.g., local area network information of the device 2).
It should be noted that, the server may obtain the relevant information of the device 2, where the server obtains the second feedback information sent by the device 2, and then sends an obtaining request to the device 2, and after receiving the obtaining request, the device 2 sends the relevant information of the device 2 to the server, so that the server obtains and stores the relevant information of the device 2, and the server may also obtain the relevant information of the device 2, where the relevant information of the device 2 is carried in the second feedback information when the device 2 sends the second feedback information to the server, and after obtaining the second feedback information, the server directly extracts the relevant information of the device 2 from the second feedback information, and this is not limited here specifically.
It should be further noted that, when the relevant information of the device 2 is the location information of the device 2, after the device 2 sends the location information to the server, if the location of the device 2 changes, the device 2 sends the changed location information of the device 2 to the server, so that the server updates the location information of the device 2.
208. The server determines whether the device 1 and the device 2 have a first preset association relationship, if yes, step 209 is executed;
after the server obtains the relevant information of the device 2, whether the device 1 and the device 2 have a first preset association relationship is judged.
A. If the related information of the device 1 and the device 2 is the location information of the first user corresponding to the device 1 and the location information of the device 2 respectively;
if the related information of the device 1 acquired by the server is the location information of the first user corresponding to the device 1, and the related information of the device 2 acquired by the server is the location information of the device 2, the step of determining, by the server, whether the device 1 and the device 2 have the first preset association relationship may specifically be: the server determines whether the location information of the first user and the location information of the device 2 (the distance between the first user and the device 2 can be represented by Lx) are within a first preset distance range (the first preset distance range can be represented by L)1Representation), if the server determines that Lx is at L1If it is determined that the device 1 and the device have the first preset association relationship, the server will execute step 209.
It is noted that L1May be a server system default value, such as: 0 < L1< 3m (m is a unit: m), L1Less than or equal to 5m, etc., or a value set by the user, which is not limited herein.
It should be noted that ifThe server determines that Lx is not at L1If yes, the server may further determine whether Lx is within a second predetermined distance range (the second predetermined distance range may be L)2Represents) of L1Is less than L2Is a minimum value of, and L1∩L 20, i.e. L1And L2There is no intersection. Also, L is2Or may be a server system default value, such as: l is2>3m、5m<L2< 10m, etc., or may be a value set by the user, and is not limited herein. For example: if L is1Less than or equal to 4m, then L2Can be 4m < L2Less than 7m, or 4m < L2Is less than 10m, and is not limited in particular here.
It should be noted that if the server determines that Lx is not in L, the server determines that Lx is not in L1Is internal but at L2And the server may send a volume-down prompt message to the device 2, the volume-down prompt message being used to prompt the user who is using the device 2 to reduce the volume of the external sound to the device 2. How the server sends the volume-down cue information to the device 2 may include, but is not limited to, the following situations:
a、Lx∈L2lx is unchanged or is positively correlated with time t;
by way of example, fig. 5 illustrates: suppose L has been set1≤4m,4m<L2< 7m, the device 1 is a smart band worn on the user 1 (the user 1 is in a sleep state), the device 2 is a mobile phone used by the user 2, the distance between the position of the user 1 and the position of the user 2 is represented by Lx, if the user 2 opens the mobile phone to watch a video with the sound played outside at the moment, the use state of the mobile phone is determined to be the sound played outside at the moment according to the above mode, and the server determines that Lx is 6m, and it can be known that Lx belongs to L2At this time, the server may send volume-down prompt information to the device 2, including but not limited to the following forms: a. as shown in fig. 6, the video playing of the mobile phone may be paused, and "there is a sleeping user near the playing page," please adjust the volume "or similar information, so as to remind the user 2 watching the video to adjust the volume; b. alternatively, as shown in FIG. 7, the video playback of the handset may be pausedAnd then, the user 2 watching the video is reminded to adjust the volume by voice prompting that a sleeping user is nearby through the voice smaller than the preset volume value or similar information. It should be noted that, for the smart devices such as the smart band and the smart ring without a display screen, the user may be prompted in the voice prompt manner illustrated in the above b, and the specific details are not limited herein. It should be further noted that, the adjusting of the volume by the user 2 may be to reduce the volume until the server does not prompt any more, may also be to mute, and may also be to directly turn off the application or function related to sound playing by the user 2, which is not limited herein.
FIG. 5 shows that user 2 is already at L2And the location of user 2 is unchanged, i.e. Lx does not change with increasing time t; if user 2 is already at L2And the position of the user 2 changes with the increase of the time t, and the change rule is as follows: lx increases with increasing time t, and it can be understood that user 2 is holding the phone away from user 1, as shown in fig. 8: assume that user 2 shown in fig. 5 is 13 at t 1: at time 00, when the user 2 moves from the living room at the first location to the kitchen at the second location, each location on the route from the first location to the second location is far from user 1, and if time t2 when user 2 moves to the kitchen is 13: 01, then Lx (t2) > Lx (t1), as long as the user 2 is in the process of moving, Lx is always at L2In this case, the manner of sending the volume-down prompt message to the device 2 by the server is similar to that of the prompt in fig. 6 and 7, and details thereof are not repeated here.
b、Lx∈L2Lx is inversely related to time t.
Still taking fig. 8 as an example for illustration: however, when the user 2 returns to the living room at the first location from the kitchen at the second location, it is known that each location on the path from the second location to the first location of the user 2 is approaching the user 1, i.e. Lx decreases as time t increases, and at this time, the server may send a volume reduction prompt message to the device 2, including but not limited to the following forms: a. the prompt may be performed in the manner shown in fig. 6, which is not described herein in detail; b. the prompt may also be performed in the manner shown in fig. 7, which is not described herein in detail; c. as shown in fig. 9, the video playing of the mobile phone may be paused, and "you are approaching the sleeping user and please adjust the volume" or similar information is displayed on the playing page to remind the user 2 watching the video to adjust the volume; d. as shown in fig. 10, the video playing of the mobile phone may be paused, and a voice prompt "you are approaching the sleeping user, please adjust the volume level" or similar information is provided to remind the user 2 watching the video to adjust the volume level, wherein the voice prompt is smaller than the preset volume value. It should be noted that, for an intelligent device such as an intelligent bracelet and an intelligent ring without a display screen, the user may be prompted by the voice prompt mode indicated in the above b or d, which is not limited herein.
It should be further noted that the device 2 discussed herein may be any device in the registered devices in the preset group, and may be a third device (i.e., the device 3), the user corresponding to the operating device 3 may be a third user (i.e., the user 3), or may be an nth device (i.e., the device n), and the user corresponding to the operating device n may be an nth user (i.e., the user n), which is not limited herein.
B. If the relevant information of the device 1 and the device 2 is the local area network where the device 1 is located and the local area network where the device 2 is located respectively;
if the relevant information of the device 1 is the local area network where the device 1 is located, and the relevant information of the device 2 is the local area network where the device 2 is located, the step of determining, by the server, whether the device 1 and the device 2 have the first preset association relationship may specifically be: the server determines whether the lan where the device 1 is located is the same as the lan where the device 2 is located, and if so, the server determines that the device 1 and the device have the first preset association relationship, and the server performs step 209.
209. The server sends volume control information to the device 2;
after the server determines that the device 1 is in a specific first preset association relationship with the device 2, the server sends volume control information to the device 2, where the volume control information is used to control the device 2 to reduce the volume of the external sound emitted by the device 2.
210. The device 2 reduces the loud volume.
After the device 2 acquires the volume control information sent by the server, the play-out volume is reduced according to the volume control information, and the way for reducing the play-out volume by the device 2 includes but is not limited to: a. the device 2 automatically adjusts the volume to a range of a preset volume value, which is illustrated by taking fig. 11 as an example: if the mobile phone is preset to play music by listening to the music, the play-out volume value of the music is 30% of the maximum volume, and the play-out volume of the mobile phone is 60%, the server directly sends volume control information to the mobile phone to reduce the play-out volume of the mobile phone to 30% of the maximum volume. It should be noted that, after the volume of the mobile phone is decreased to the preset volume value range, as shown in fig. 12, a message "a sleeping user is nearby, and the volume is adjusted" or the like may be displayed to the user operating the mobile phone on the display interface; or as shown in fig. 13, a voice in a preset volume value range is used to prompt a user operating the mobile phone to "a sleeping user is nearby, the volume is adjusted" or similar information, which is not limited herein specifically; b. the device 2 adjusts the volume of the outgoing sound to mute.
It should be further noted that, in some embodiments of the present application, there is no sequence between step 201 to step 204 and step 205 to step 207, step 201 to step 204 may be executed first, and then step 205 to step 207 may be executed, that is, the registered devices in the preset group monitor the sleep condition of the user first, the server further determines the relevant information of the device 1 that monitors that the first user is in the sleep state, and then the server monitors the use state of the registered device and determines the relevant information of the device 2 that monitors that the use state is the sound play-out; or, step 205 to step 207 may be executed first, and then step 201 to step 204 are executed, that is, the server monitors the use state of the registered device and determines to monitor the relevant information of the device 2 whose use state is the sound playing, then the registered device in the preset group monitors the sleep condition of the user, and the server further determines to monitor the relevant information of the device 1 whose first user is in the sleep state. The details are not limited herein.
In the embodiment of the application, the server determines to monitor the relevant information of the first device of the first user in the sleep state, acquires the relevant information of the first device, monitors the use state of the registered device in the preset group, and determines to monitor the relevant information of the second device of which the use state is sound emission; when the server determines that the first device and the second device have the first preset association relationship, the server sends volume control information to the second device so that the second device reduces the volume of the external sound emitted by the second device. In the embodiment of the application, the server monitors the use state of the registered devices in the preset group and determines the second device needing to control the volume of the external sound according to the first preset incidence relation, so that the volume of the external sound of the second device, which is in the incidence relation with the first user in the sleep state, is reduced.
In the embodiment corresponding to fig. 2, the server determines that the second device in the sound playing state is monitored, and then determines whether the first device and the second device have the first preset association relationship to determine whether to send the volume control information to the second device.
Example two: the server firstly determines a second device having a first preset association relation with the first device, and then monitors whether the using state of the second device is sound amplification, so as to control the second device to reduce the amplification volume of the second device.
Referring to fig. 14, another embodiment of the method for controlling the volume of the device in the embodiment of the present application includes:
1401. monitoring the sleep condition of a user by a registration device in a preset group;
1402. the device 1 monitors that the first user is in a sleep state;
1403. the device 1 sends first feedback information to a server;
1404. the server determines the relevant information of the equipment 1 in the registered equipment;
in the present application, steps 1401 to 1404 in the embodiment corresponding to fig. 14 are similar to steps 201 to 204 in the embodiment corresponding to fig. 2, and are not repeated herein.
1405. The server determines a device 2 having a first preset association relation with the device 1;
after the server determines the relevant information of the device 1, it determines the relevant information of the registered devices in the server that belong to the same preset group as the device 1, and if one or more registered devices in the preset group have a first preset association relationship with the device 1, the registered device having the first preset association relationship with the device 1 is called a device 2 (i.e., a second device). It should be noted that the server determines the device 2 by determining whether the relevant information of the registered devices has the first preset association relationship with the device 1, which is specifically similar to the relevant information of the device 2 in the embodiment corresponding to fig. 2 and is not described herein again.
In the embodiment of the present application, the first predetermined association relationship is similar to the first predetermined association relationship in the embodiment corresponding to fig. 2, and is not described herein again. It should be noted that, if the related information of the device 1 acquired by the server is the location information of the first user corresponding to the device 1, the server determines that the location information of the first user corresponding to the device 1 is within the first preset distance range (the first preset distance range is available as L)1Indicating) the location information of the device 2 in the server, and if the location of the device 2 changes, the device 2 sends the changed location information of the device 2 to the server, so that the server updates the location information of the device 2. If the updated device 2 is not in L1Within a second predetermined distance range (the second predetermined distance range may be L)2Represents) of L1Is less than L2Is a minimum value of, and L1∩L 20, i.e. L1And L2There is no intersection. The server will send a volume-down prompt message to the device 2, which is similar to that set forth in step 208 in the embodiment corresponding to fig. 2 and will not be described herein again.
1406. The server sends volume control information to the device 2;
after determining the device 2 having the first preset association with the device 1, the server sends volume control information to the device 2, where the volume control information is activated when the device 2 meets a preset condition, and is used to control the device 2 to reduce the play-out of the device 2.
1407. When the use state of the device 2 is sound playback, the volume control information is activated, and the playback volume is lowered.
After the device 2 acquires the volume control information sent by the server, the use state of the device 2 is acquired according to the volume control information, and when the use state of the device 2 is sound playing, the volume control information is activated to reduce the playing volume of the device 2.
It should be noted that, in some embodiments of the present application, after acquiring the volume control information sent by the server, the device 2 may also directly activate the volume control information without considering its own use state, so as to reduce the volume of the external sound of the device 2.
In this embodiment, the server first determines information related to a first device that monitors a first user in a sleep state, then determines a second device that has a first preset association relationship with the first device, and then sends volume control information to the second device, so that the second device activates the volume control information to reduce the play-out volume of the second device when determining that the use state of the second device is sound play-out, or so that the second device directly activates the volume control information to reduce the play-out volume of the second device regardless of the use state of the second device. In the embodiment of the application, the server determines the second device needing to control the play-out volume according to the first preset incidence relation, so that the play-out volume of the second device having the incidence relation with the first user in the sleep state is reduced.
The embodiments shown in fig. 2 and 14 are all configured to control the second device to reduce the volume of the outgoing sound of the second device by monitoring the use status of the registered devices in the preset group and determining whether the first device and the second device that satisfy the condition (the condition is that the first user is monitored to be in a sleep state) have the first preset association relationship.
Example three: the using state of the equipment is not concerned, the judgment condition of the equipment identification of the equipment is added to determine that the first equipment identification and the second equipment identification which meet the condition have a second preset incidence relation, and the second equipment is further controlled to reduce the volume of the loudspeaker of the second equipment.
Referring to fig. 15, another embodiment of a method for controlling a volume of a device in an embodiment of the present application includes:
1501. the device 1 monitors that the first user is in a sleep state;
the method includes that registered devices in a group are preset on a server to monitor sleep conditions of a user, if one registered device on the server monitors that the user is in a sleep state, the device monitoring that the user is in the sleep state can be called a device 1 (also called a first device), and the user monitored by the device 1 to be in the sleep state can be called a first user.
It should be noted that, the monitoring of the sleep condition of the user by the registered device in the group preset on the server is similar to step 2 in the embodiment corresponding to fig. 2, and details thereof are omitted here.
1502. The device 1 sends a first device identifier to a server;
after monitoring that the first user is in a sleep state, the device 1 sends a first device identifier to the server, where the device identifier may be registered device information of the registered device, such as an MAC address, a device serial number, a graphical identification code, and the like of the registered device, or may be a device code defined by the user, and the specific details are not limited herein.
1503. The server determines the device 2 according to a second device identifier having a second preset association relation with the first device identifier;
after acquiring the first device identifier of the device 1, the server determines the device 2 (which may also be referred to as a second device) according to a second device identifier having a second preset association relationship with the first device identifier. It should be noted that the manner in which the server determines the device 2 may include, but is not limited to, the following situations:
A. the device 1 and the device 2 are in a target local area network;
firstly, a target local area network is preset by a server, after the target local area network is set by the server, a device identifier set of a device connected to the target local area network is obtained, after a first device identifier of a device 1 is obtained by the server, whether the first device identifier belongs to the device identifier set is judged, if the first device belongs to the device identifier set and a second device identifier of a device 2 also belongs to the device identifier set, namely the device 1 and the device 2 are in the same target local area network, the server determines the device 2 according to the device identifier set.
For example: if the user kevin sets a target lan to be "home lan of kevin", the total number of devices connected to the home lan of kevin is 4, which are respectively handset K of kevin (device id K01), computer K of kevin (device id K02), handset a of Anna (device id a01), tablet a of Anna (device id a02), handset D of David (device id D01), and the device id set N includes: k01, K02, A01, A02 and D01. When the mobile phone K monitors that a user (such as kevin) is in a sleep state, the server acquires the device identifier K01 of the mobile phone K, and then determines whether K01 belongs to the device identifier set N, as can be seen from the above, K01 belongs to the device identifier set N, and K02, a01, a02, and D01 also belong to the device identifier set N, so that the device 2 may be a computer K of kevin, a mobile phone a of Anna, a tablet computer a of Anna, and a mobile phone D of David. Accordingly, the server determines that the device 2 is a computer k of kevin, a cell phone a of Anna, and a tablet a of Anna, and a cell phone d of David.
B. The equipment 1 and the equipment 2 are positioned in a target local area network, and the equipment 1 and the equipment 2 belong to registered equipment in a preset group on a server;
if the server determines the device 2 located in the same target lan as the device 1, it further determines whether the device 1 and the device 2 belong to a registered device in a preset group on the server, and if the server determines that the device 1 and the device 2 belong to the same preset group, the server determines the device 2 accordingly.
For example: still taking the home lan of kevin as an example, if the server determines that the computer k of kevin, the mobile phone a of Anna, the tablet computer a of Anna, and the mobile phone d of David are both in the home lan of kevin with the mobile phone k of kevin. But the server further determines that only the computer k of kevin, the mobile phone a of Anna, the tablet a of Anna, and the mobile phone k of kevin are in the preset group "group 5", the server determines that the device 2 is the computer k of kevin, the mobile phone a of Anna, and the tablet a of Anna.
C. The device 1 and the device 2 are located at target positions, and the device 1 and the device 2 belong to registered devices in a preset group on a server.
Firstly, a target location is preset by the server, and after the target location is set by the server, the device identifier set of the device in the target location is acquired, it should be noted that the manner for the server to acquire the device identifier set may include, but is not limited to: and acquiring the equipment identification of the equipment at the target position through GPS positioning, base station positioning, WiFi auxiliary positioning and the like in the equipment. After the server obtains the first device identifier of the device 1, it is determined whether the first device identifier belongs to the device identifier set, if the first device belongs to the device identifier set, and the second device identifier of the device 2 also belongs to the device identifier set, that is, the device 1 and the device 2 are located at the same target position, the server further determines whether the device 1 and the device 2 belong to registered devices in a preset group on the server, and if the server determines that the device 1 and the device 2 belong to the same preset group, the server determines the device 2 accordingly.
For example: if the target location set by the user kevin is "home of kevin", and upload location information of the home of kevin, for example, location information of the home of kevin fig. 16, where the devices in the kevin home are respectively a mobile phone K of kevin (device id K01), a computer K of kevin (device id K02), a mobile phone a of Anna (device id a01), and a tablet computer a of Anna (device id a02), the device id set M includes: when the mobile phone K monitors that a user (such as a kevin) is in a sleep state, the server acquires the device identifier K01 of the mobile phone K, and then the server determines whether K01 belongs to the device identifier set M, as can be seen from the above, K01 belongs to the device identifier set M, and K02, a01, and a02 also belong to the device identifier set M. Finally, the server further determines that the computer k of kevin, the mobile phone a of Anna, the tablet computer a of Anna, and the mobile phone k of kevin are all in the preset group "group 5", and then the server determines that the device 2 is the computer k of kevin, the mobile phone a of Anna, the tablet computer a of Anna, and the mobile phone k of kevin.
1504. The server sends volume control information to the device 2;
after determining the device 2 according to the second preset association relationship, the server sends volume control information to the device 2. The volume control information is used to control the device 2 to reduce the volume of the outgoing sound of the device 2.
1505. The device 2 reduces the loud volume.
After acquiring the volume control information sent by the server, the device 2 reduces the volume of the external sound according to the volume control information, which may include but is not limited to: a. when the using state of the device 2 is sound playing, activating volume control information to enable the device 2 to reduce the playing volume of the device 2; b. the volume control information is directly activated regardless of the use state of the device 2 to reduce the play-out volume of the device 2.
It should also be noted that the manner in which the device 2 reduces the volume of the outgoing sound includes, but is not limited to: a. the device 2 automatically adjusts the volume to be within the range of the preset volume value; b. the device 2 adjusts the volume of the outgoing sound to mute.
Fig. 1, fig. 14, and fig. 15 illustrate a method for controlling a volume of a device in an embodiment of the present application, and a related apparatus in the embodiment of the present application is respectively described below, where the related apparatus includes a device and a server, where the device is used as a first device, and specifically refer to fig. 17, and an embodiment of the device in the embodiment of the present application includes:
a detecting unit 1701, configured to detect a use state of the first device, where the first device is a registered device in a preset group on a server;
an obtaining unit 1702, configured to obtain, when the usage state of the first device is sound playing, volume control information sent by the server, where the volume control information is information sent when the server determines that the first device and a second device have a preset association relationship, the second device is a device that monitors that a target user is in a sleep state, and the second device is another registered device in the preset group;
and a volume control unit 1703, configured to reduce the volume of the external sound according to the volume control information.
Preferably, in some embodiments of the present application, the apparatus may further include a prompting unit 1704:
a prompt unit 1704, configured to prompt a first user that the playback volume has been reduced, where the first user is a user operating the first device.
The specific functions and structures of the device in the embodiment corresponding to fig. 17 are used to implement the steps processed by the first device in the embodiments shown in fig. 2 and fig. 14, and details thereof are not repeated here.
An embodiment of the present application further provides a server, and with specific reference to fig. 18, an embodiment of the server in the embodiment of the present application includes:
a first determining unit 1801, configured to determine a first device, where the first device is a device that monitors that a first user is in a sleep state, and the first device is a registered device in a preset group on the server;
a monitoring unit 1802, configured to monitor a usage status of the registered device;
a second determining unit 1803, configured to determine a second device that is in a use state of sound playing and has a preset association relationship with the first device, where the second device is another registered device in the preset group;
a control unit 1804, configured to control the second device to reduce the volume of the external sound emitted by the second device.
Preferably, in some embodiments of the present application, the server may further include a third determining unit 1805 and a first sending unit 1806:
a third determining unit 1805, configured to determine a third device, which is in a second preset distance range of the first device and used in the registered device in a state of sound being played outside, where the second preset distance is greater than the first preset distance, and there is no intersection between the second preset distance and the first preset distance;
a first sending unit 1806, configured to send volume reduction prompt information to the third device, where the volume reduction prompt information is used to prompt a third user to perform an operation of reducing a volume of a third device, where the third user corresponds to the third device.
Preferably, in some embodiments of the present application, the control unit 1804 is specifically configured to send volume control information to the second device, where the volume control information is used to enable the second device to automatically reduce the playback volume, or the volume control information is used to enable the second device to automatically reduce the playback volume and prompt a second user that the playback volume has been reduced, where the second user corresponds to the second device.
Preferably, in some embodiments of the present application, the monitoring unit 1802 is specifically configured to periodically acquire a use status of the registered device; or when the use state of the registered equipment changes, acquiring the use state of the registered equipment reported by the registered equipment.
Preferably, in some embodiments of the present application, before the first determining unit 1801 determines the first device, the server may further include a second sending unit 1800:
a second sending unit 1800, configured to send sleep state change information to the registered device when the server meets a preset trigger condition, so that the registered device monitors a sleep state of a target user corresponding to the registered device according to the sleep state change information.
The specific functions and structures of the device in the embodiment corresponding to fig. 18 are used to implement the steps processed by the server in the embodiments shown in fig. 2 and fig. 14, and details are not repeated here.
An embodiment of the present application further provides an apparatus, which is used as the first apparatus, and referring to fig. 19 specifically, an embodiment of the apparatus in the embodiment of the present application includes:
a receiving unit 1901, configured to receive volume control information sent by a server when an identifier of a first device and an identifier of a second device have a preset association relationship, where the second device is a device that monitors that a target user is in a sleep state;
a volume control unit 1902, configured to reduce the volume of the external sound according to the volume control information.
Preferably, in some embodiments of the present application, the apparatus may further include a prompting unit 1903:
a prompting unit 1903, configured to prompt a first user that the playback volume has been reduced, where the first user is a user operating the first device.
The specific functions and structures of the device in the embodiment corresponding to fig. 19 are used to implement the step of processing by the first device in the embodiment shown in fig. 15, and details are not repeated here.
An embodiment of the present application further provides a server, and with specific reference to fig. 20, an embodiment of the server in the embodiment of the present application includes:
a first determining unit 2001, configured to determine a first device, where the first device is a device that monitors that a first user is in a sleep state;
an obtaining unit 2002, configured to obtain a first device identifier of the first device;
a second determining unit 2003, configured to determine a second device, where a second device identifier of the second device has a preset association relationship with the first device identifier;
a control unit 2004 for controlling the second device to reduce the volume of the second device for playback.
Preferably, in some embodiments of the present application, the server may further include a first determining unit 2005 and a third determining unit 2006:
a first determining unit 2005, configured to determine whether the first device and the second device are registered devices in a preset group;
a third determining unit 2006, configured to trigger the control unit 2004 to execute a corresponding operation when the first device determines that the second device is a registered device in a preset group.
Preferably, in some embodiments of the present application, the server may further include a second determination unit 2007 and a fourth determination unit 2008:
a second determining unit 2007, configured to determine whether the first device and the second device are registered devices in a preset group;
a fourth determining unit 2008, configured to trigger the control unit 2004 to perform a corresponding operation when the first device and the second device are determined to be registered devices in a preset group.
The specific functions and structures of the server in the embodiment corresponding to fig. 20 are used to implement the steps processed by the server in the embodiment shown in fig. 15, and are not described herein again in detail.
Fig. 21 is a schematic diagram of another embodiment of the device according to the embodiment of the present application, which is used as a first device. For convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the specific technology are not disclosed. The equipment can comprise any terminal equipment such as a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), an intelligent bracelet, an intelligent watch, a personal computer vehicle-mounted computer and the like. Taking the device as a mobile phone as an example:
fig. 21 is a block diagram illustrating a partial structure of a mobile phone related to a smart terminal provided in an embodiment of the present application. Referring to fig. 21, the cellular phone includes: radio Frequency (RF) circuit 2110, memory 2120, input unit 2130, display unit 2140, sensor 2150, audio circuit 2160, wireless fidelity (WiFi) module 2170, processor 2180, power source 2190, and the like. Those skilled in the art will appreciate that the handset configuration shown in fig. 21 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 21:
the RF circuit 2110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and particularly, receives downlink information of a base station and then processes the received downlink information to the processor 2180; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 2110 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 2110 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 2120 may be used for storing software programs and modules, and the processor 2180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 2120. The memory 2120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Additionally, the memory 2120 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 2130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 2130 may include a touch panel 2131 and other input devices 2132. The touch panel 2131, also referred to as a touch screen, can collect touch operations performed by a user on or near the touch panel 2131 (e.g., operations performed by the user on or near the touch panel 2131 using any suitable object or accessory such as a finger or a stylus), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 2131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 2180, and can receive and execute commands sent by the processor 2180. In addition, the touch panel 2131 can be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 2130 may include other input devices 2132 in addition to the touch panel 2131. In particular, other input devices 2132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 2140 may be used to display information input by the user or information provided to the user, and various menus of the cellular phone. The Display unit 2140 may include a Display panel 2141, and optionally, the Display panel 2141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 2131 can cover the display panel 2141, and when the touch panel 2131 detects a touch operation on or near the touch panel 2131, the touch operation is transmitted to the processor 2180 to determine the type of the touch event, and then the processor 2180 provides a corresponding visual output on the display panel 2141 according to the type of the touch event. Although the touch panel 2131 and the display panel 2141 are shown as two separate components in fig. 21 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 2131 and the display panel 2141 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 2150, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 2141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 2141 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send emails, browse webpages, access streaming media and the like through the WiFi module 2170, and provides wireless broadband internet access for the user. Although fig. 21 shows the WiFi module 2170, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 2180 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 2120 and calling data stored in the memory 2120, thereby integrally monitoring the mobile phone. Optionally, the processor 2180 may include one or more processing units; preferably, the processor 2180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 2180.
The phone also includes a power source 2190 (e.g., a battery) for powering the various components, and preferably, the power source may be logically connected to the processor 2180 via a power management system, so that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
The structure of the device in the method embodiments corresponding to fig. 2, fig. 14, and fig. 15 may be based on the structure shown in fig. 21, and the device structure shown in fig. 21 may correspondingly perform the steps performed by the device in the method embodiments, which is not described in detail here.
As shown in fig. 22, a schematic diagram of an embodiment of a server in the embodiment of the present application specifically includes:
such servers may vary widely by configuration or performance, and may include one or more Central Processing Units (CPUs) 2222 (e.g., one or more processors) and memory 2232, one or more storage media 2230 (e.g., one or more mass storage devices) storing applications 2242 or data 2244. The memory 2232 and the storage medium 2230 can be, among other things, transient storage or persistent storage. The program stored in the storage medium 2230 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, central processor 2222 may be configured to communicate with storage medium 2230 and execute a series of instruction operations in storage medium 2230 on a server.
The server may also include one or more power supplies 2226, one or more wired or wireless network interfaces 2250, one or more input-output interfaces 2258, and/or one or more operating systems 2241, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The steps in the method for controlling the volume of the device described in fig. 2, 14 and 15 above are implemented by the server based on the structure shown in fig. 22.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Claims (32)
1. A method for controlling the volume of a device, comprising:
the first equipment is registered or added in a preset group on the server;
detecting the use state of first equipment by the first equipment, wherein the first equipment is registered equipment in a preset group on a server;
when the using state of the first device is sound playing, the first device acquires volume control information sent by the server, wherein the volume control information is information sent when the server determines that the first device and a second device with a sound playing function have a preset association relationship, the second device is a device for monitoring that a target user is in a sleep state, and the second device is another registered device in the preset group;
the first equipment reduces the volume of the external sound according to the volume control information;
the preset incidence relation is determined by the server according to the relevant information of the first device and the relevant information of the second device; the related information of the first equipment is determined by the server according to first feedback information sent by the first equipment; the related information of the second device is determined by the server according to the second feedback information sent by the second device.
2. The method of claim 1, wherein the first device and the second device have a preset association relationship, comprising:
the first device and the target user are within a first preset distance; or the like, or, alternatively,
the first device and the second device are in the same local area network.
3. The method of claim 2, wherein after the first device reduces the amount of play-out according to the volume control information, the method further comprises:
and the first equipment prompts a first user that the playing volume is reduced, wherein the first user is a user operating the first equipment.
4. A method for controlling the volume of a device, comprising:
the method comprises the steps that a server determines first equipment with a sound playing function, wherein the first equipment is equipment for monitoring that a first user is in a sleep state, the first equipment is registered equipment in a preset group on the server, and the first equipment is pre-registered or added into the preset group;
the server monitors the use state of the registered equipment;
the server determines a second device which is in a use state of sound playing and has a preset association relation with the first device, wherein the second device is another registered device in the preset group;
the server controls the second device to reduce the volume of the play-out of the second device;
the preset incidence relation is determined by the server according to the relevant information of the first device and the relevant information of the second device; the related information of the first equipment is determined by the server according to first feedback information sent by the first equipment; the related information of the second device is determined by the server according to the second feedback information sent by the second device.
5. The method of claim 4, wherein the preset association relationship comprises:
the second device is within a first preset distance from the first user; or the like, or, alternatively,
the second device is in the same local area network as the first device.
6. The method of claim 5, wherein after the server monitors the usage status of the registered device, the method further comprises:
the server determines a third device in the registered device, wherein the use state of the third device is sound playing, the distance between the third device and the first device is within a second preset distance range, the second preset distance is greater than the first preset distance, and no intersection exists between the second preset distance and the first preset distance;
the server sends volume reduction prompt information to the third equipment, wherein the volume reduction prompt information is used for prompting a third user to carry out operation of reducing the volume of the external sound to the third equipment, and the third user corresponds to the third equipment.
7. The method according to claim 4 or 5, wherein the server controlling the second device to reduce the play-out volume of the second device comprises:
the server sends volume control information to the second device, wherein the volume control information is used for enabling the second device to automatically reduce the playing volume, or the volume control information is used for enabling the second device to automatically reduce the playing volume and prompting a second user that the playing volume is reduced, and the second user corresponds to the second device.
8. The method according to any one of claims 4 or 5, wherein the server monitoring the use status of the registered device comprises:
the server periodically acquires the use state of the registered equipment; or the like, or, alternatively,
and when the use state of the registered equipment changes, the server acquires the use state of the registered equipment reported by the registered equipment.
9. The method of any of claims 4 or 5, wherein prior to the server determining the first device, the method further comprises:
when the server meets a preset trigger condition, the server sends sleep state change information to the registered equipment, so that the registered equipment monitors the sleep state of a target user corresponding to the registered equipment according to the sleep state change information.
10. The method of claim 9, wherein the server satisfying the preset trigger condition comprises:
when the system clock of the server reaches a preset time point, determining that the server meets the preset trigger condition; or the like, or, alternatively,
and when the server acquires the starting instruction, determining that the server meets the preset triggering condition.
11. A method for controlling the volume of a device, comprising:
when the identifier of a first device and the identifier of a second device with a sound playing function have a preset association relationship, the first device receives volume control information sent by a server, the second device is a device for monitoring that a target user is in a sleep state, and the first device is registered in advance or added into a preset group;
according to the volume control information, the first equipment reduces the volume of the external sound;
the preset incidence relation is determined by the server according to the relevant information of the first device and the relevant information of the second device; the related information of the first equipment is determined by the server according to first feedback information sent by the first equipment; the related information of the second device is determined by the server according to the second feedback information sent by the second device.
12. The method of claim 11, wherein the preset association comprises:
the first device and the second device are in the same local area network;
or the like, or, alternatively,
the first device and the second device are in the same local area network, and the first device and the second device are registered devices in a preset group on the server;
or the like, or, alternatively,
the first device and the second device are located in a preset target position range, and the first device and the second device are registered devices in a preset group on the server.
13. The method according to any one of claims 11 to 12, wherein after the first device reduces the amount of play-out according to the volume control information, the method further comprises:
and the first equipment prompts a first user that the playing volume is reduced, wherein the first user is a user operating the first equipment.
14. A method for controlling the volume of a device, comprising:
the method comprises the steps that a server determines first equipment with a sound playing function, wherein the first equipment monitors that a first user is in a sleep state, and the first equipment is pre-registered or added into a preset group;
the server acquires a first device identifier of the first device;
the server determines a second device, and a second device identifier of the second device has a preset association relation with the first device identifier;
the server controls the second device to reduce the volume of the play-out of the second device;
the preset incidence relation is determined by the server according to the relevant information of the first device and the relevant information of the second device; the related information of the first equipment is determined by the server according to first feedback information sent by the first equipment; the related information of the second device is determined by the server according to the second feedback information sent by the second device.
15. The method of claim 14, wherein the preset association comprises:
the first device and the second device are in the same local area network.
16. The method of claim 15, further comprising:
the server judges whether the first equipment and the second equipment are registered equipment in a preset group or not;
and if so, the server executes the operation of controlling the second equipment to reduce the volume of the external sound of the second equipment.
17. The method of claim 14, wherein the preset association comprises:
the first equipment and the second equipment are positioned in a preset target position range;
the method further comprises the following steps:
the server judges whether the first equipment and the second equipment are registered equipment in a preset group or not;
and if so, the server executes the operation of controlling the second equipment to reduce the volume of the external sound of the second equipment.
18. A first device, comprising:
the detection unit is used for detecting the use state of the first equipment, the first equipment is registered equipment in a preset group on a server, and the first equipment is pre-registered or added into the preset group;
an obtaining unit, configured to obtain volume control information sent by the server when the usage state of the first device is sound playing, where the volume control information is sent when the server determines that the first device and a second device having a sound playing function have a preset association relationship, the second device is a device that monitors that a target user is in a sleep state, and the second device is another registered device in the preset group;
the volume control unit is used for reducing the volume of the external sound according to the volume control information;
the preset incidence relation is determined by the server according to the relevant information of the first device and the relevant information of the second device; the related information of the first equipment is determined by the server according to first feedback information sent by the first equipment; the related information of the second device is determined by the server according to the second feedback information sent by the second device.
19. The apparatus of claim 18, further comprising:
and the prompting unit is used for prompting a first user that the playback volume is reduced, and the first user is a user operating the first device.
20. A server, comprising:
the device comprises a first determining unit, a second determining unit and a control unit, wherein the first determining unit is used for determining first equipment with a sound playing function, the first equipment is equipment for monitoring that a first user is in a sleep state, the first equipment is registered equipment in a preset group on the server, and the first equipment is registered in advance or added into the preset group;
the monitoring unit is used for monitoring the use state of the registered equipment;
a second determining unit, configured to determine a second device that is in a use state of sound playing and has a preset association relationship with the first device, where the second device is another registered device in the preset group;
a control unit for controlling the second device to reduce a volume of the second device;
the preset incidence relation is determined by the server according to the relevant information of the first device and the relevant information of the second device; the related information of the first equipment is determined by the server according to first feedback information sent by the first equipment; the related information of the second device is determined by the server according to the second feedback information sent by the second device.
21. The server of claim 20, further comprising:
a third determining unit, configured to determine a third device that is in a second preset distance range of the first device and has a use state of sound playing outside in the registered device, where the second preset distance is greater than a first preset distance, and there is no intersection between the second preset distance and the first preset distance;
the first sending unit is used for sending volume reduction prompt information to the third equipment, the volume reduction prompt information is used for prompting a third user to carry out operation of reducing the volume of the third equipment, and the third user corresponds to the third equipment.
22. The server according to claim 20,
the control unit is specifically configured to send volume control information to the second device, where the volume control information is used to enable the second device to automatically reduce the playback volume, or the volume control information is used to enable the second device to automatically reduce the playback volume and prompt a second user that the playback volume has been reduced, where the second user corresponds to the second device.
23. The server according to claim 20,
the monitoring unit is specifically configured to periodically acquire a use state of the registered device;
or the like, or, alternatively,
and when the use state of the registered equipment changes, acquiring the use state of the registered equipment reported by the registered equipment.
24. A server according to any one of claims 20 to 23, further comprising:
and the second sending unit is used for sending sleep state change information to the registered equipment when the server meets a preset trigger condition, so that the registered equipment monitors the sleep state of a target user corresponding to the registered equipment according to the sleep state change information.
25. A first device, comprising:
the receiving unit is used for receiving volume control information sent by the server when the identifier of the first device and the identifier of a second device with a sound playing function have a preset association relationship, wherein the second device is a device for monitoring that a target user is in a sleep state;
the volume control unit is used for reducing the volume of the external sound according to the volume control information;
the preset incidence relation is determined by the server according to the relevant information of the first device and the relevant information of the second device; the related information of the first equipment is determined by the server according to first feedback information sent by the first equipment; the related information of the second device is determined by the server according to the second feedback information sent by the second device.
26. The apparatus of claim 25, further comprising:
and the prompting unit is used for prompting a first user that the playback volume is reduced, and the first user is a user operating the first device.
27. A server, comprising:
the first determining unit is used for determining first equipment, wherein the first equipment monitors that a first user is in a sleep state, and the first equipment is pre-registered or added into a preset group;
an obtaining unit, configured to obtain a first device identifier of the first device;
the second determining unit is used for determining second equipment with a sound playing function, and a second equipment identifier of the second equipment and the first equipment identifier have a preset association relationship;
a control unit for controlling the second device to reduce a volume of the second device;
the preset incidence relation is determined by the server according to the relevant information of the first device and the relevant information of the second device; the related information of the first equipment is determined by the server according to first feedback information sent by the first equipment; the related information of the second device is determined by the server according to the second feedback information sent by the second device.
28. The server of claim 27, further comprising:
the first judging unit is used for judging whether the first equipment and the second equipment are registered equipment in a preset group or not;
and the third determining unit is used for triggering the control unit to execute corresponding operation when the first equipment determines that the second equipment is the registered equipment in the preset group.
29. The server according to claim 27, wherein when the preset association relationship includes that the first device and the second device are within a preset target location range, the server further comprises:
a second determining unit, configured to determine whether the first device and the second device are registered devices in a preset group;
and the fourth determining unit is used for triggering the control unit to execute corresponding operation when the first equipment and the second equipment are determined to be the registered equipment in the preset group.
30. A first device, comprising:
a processor, a memory, and an input-output interface;
the memory has program code stored therein;
the processor, when calling the program code in the memory, performs the method of any of claims 1-3, 11-13.
31. A server, comprising:
a processor, a memory, and an input-output interface;
the memory has program code stored therein;
the processor, when calling the program code in the memory, performs the method of any of claims 4-10, 14-17.
32. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1-17.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710567560 | 2017-07-12 | ||
CN2017105675609 | 2017-07-12 | ||
PCT/CN2017/112602 WO2019010896A1 (en) | 2017-07-12 | 2017-11-23 | Control method and device for device volume, and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109923848A CN109923848A (en) | 2019-06-21 |
CN109923848B true CN109923848B (en) | 2021-03-30 |
Family
ID=65001528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780064266.4A Active CN109923848B (en) | 2017-07-12 | 2017-11-23 | Method and device for controlling volume of device and server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109923848B (en) |
WO (1) | WO2019010896A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153527B (en) * | 2020-09-11 | 2022-08-05 | 深圳市火乐科技发展有限公司 | Voice playing control method and related device |
CN114666444B (en) * | 2020-12-23 | 2023-06-06 | 华为技术有限公司 | Equipment control method and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260161A (en) * | 2015-10-29 | 2016-01-20 | 维沃移动通信有限公司 | Method for application software volume control and mobile terminal |
CN106371802A (en) * | 2016-10-31 | 2017-02-01 | 北京小米移动软件有限公司 | Terminal volume control method and device |
CN106528036A (en) * | 2016-10-09 | 2017-03-22 | 腾讯科技(深圳)有限公司 | Volume adjusting method and device |
CN107277266A (en) * | 2017-07-13 | 2017-10-20 | 广东小天才科技有限公司 | Mode switching method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101479670B1 (en) * | 2013-08-14 | 2015-01-06 | (주)웅진씽크빅 | Apparatus and method for controlling multimedia device |
CN105306760B (en) * | 2014-06-18 | 2019-09-27 | 腾讯科技(深圳)有限公司 | The method and device that terminal is controlled |
CN105807726A (en) * | 2014-12-30 | 2016-07-27 | 北京奇虎科技有限公司 | Terminal control system and method |
CN105534505A (en) * | 2016-02-04 | 2016-05-04 | 湖南信息职业技术学院 | Health management equipment, monitoring method and health monitoring system |
-
2017
- 2017-11-23 CN CN201780064266.4A patent/CN109923848B/en active Active
- 2017-11-23 WO PCT/CN2017/112602 patent/WO2019010896A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260161A (en) * | 2015-10-29 | 2016-01-20 | 维沃移动通信有限公司 | Method for application software volume control and mobile terminal |
CN106528036A (en) * | 2016-10-09 | 2017-03-22 | 腾讯科技(深圳)有限公司 | Volume adjusting method and device |
CN106371802A (en) * | 2016-10-31 | 2017-02-01 | 北京小米移动软件有限公司 | Terminal volume control method and device |
CN107277266A (en) * | 2017-07-13 | 2017-10-20 | 广东小天才科技有限公司 | Mode switching method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109923848A (en) | 2019-06-21 |
WO2019010896A1 (en) | 2019-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017008588A1 (en) | Message processing method and apparatus | |
WO2018045536A1 (en) | Sound signal processing method, terminal, and headphones | |
WO2019210754A1 (en) | Network search control method and device, and mobile terminal | |
CN108924706A (en) | Bluetooth headset method for handover control, bluetooth headset and computer readable storage medium | |
CN107241789B (en) | Terminal power saving method, terminal and computer readable storage medium | |
CN108781236B (en) | Audio playing method and electronic equipment | |
CN102970323A (en) | Remote access to a mobile communication device over a wireless local area network (wlan) | |
WO2018098694A1 (en) | Network search method and terminal device | |
CN112997470B (en) | Audio output control method and device, computer readable storage medium and electronic equipment | |
CN111161515A (en) | Reminding information pushing method, terminal equipment and computer readable storage medium | |
CN111901211B (en) | Control method, apparatus and storage medium | |
CN111371705B (en) | Download task execution method and electronic device | |
CN108881778B (en) | Video output method based on wearable device and wearable device | |
CN103647868B (en) | Reduce the method and apparatus that the tinkle of bells is bothered | |
CN111787611A (en) | Method for updating paging cycle, terminal equipment and network equipment | |
CN107770368B (en) | Alarm clock application reminding method based on terminal and terminal | |
CN109923848B (en) | Method and device for controlling volume of device and server | |
CN112997471B (en) | Audio channel switching method and device, readable storage medium and electronic equipment | |
CN111935849A (en) | Information processing method, device and storage medium | |
CN112805988B (en) | Call control method and device, computer readable storage medium and electronic equipment | |
CN115022457A (en) | Reminding method, intelligent terminal and storage medium | |
CN107040658B (en) | Mobile terminal and method and device for controlling screen thereof | |
CN106454953B (en) | Flow control method, device and terminal | |
CN116113929A (en) | Application management method, device and storage medium | |
CN113039518B (en) | Playing control method and device, computer readable storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |