WO2019010896A1 - Control method and device for device volume, and server - Google Patents

Control method and device for device volume, and server Download PDF

Info

Publication number
WO2019010896A1
WO2019010896A1 PCT/CN2017/112602 CN2017112602W WO2019010896A1 WO 2019010896 A1 WO2019010896 A1 WO 2019010896A1 CN 2017112602 W CN2017112602 W CN 2017112602W WO 2019010896 A1 WO2019010896 A1 WO 2019010896A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
volume
user
preset
registered
Prior art date
Application number
PCT/CN2017/112602
Other languages
French (fr)
Chinese (zh)
Inventor
李彦
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780064266.4A priority Critical patent/CN109923848B/en
Publication of WO2019010896A1 publication Critical patent/WO2019010896A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems

Definitions

  • the present application relates to the field of terminals, and in particular, to a method, a device, and a server for controlling the volume of a device.
  • smart terminal devices have become very common products in daily life, and the types are also very diverse, such as: mobile phones, televisions, computers, ipads, audio equipment, MP3, MP4, etc., using smart terminal devices to play music or Watching videos and other entertainments has become part of people's daily lives.
  • the smart terminal device can only reduce the external volume by controlling its own external volume, and cannot avoid the influence of the external volume of other intelligent terminal devices.
  • the embodiment of the invention provides a method, a device and a server for controlling the volume of the device, which are used for realizing the reduction of the volume of the first device externally associated with the target user in the sleep state.
  • the first aspect of the embodiments of the present application provides a method for controlling a volume of a device, and the method may include:
  • the first device detects the usage status of the first device, where the first device is a registered device in the preset group on the server; when the first device uses the state as a sound external release, the first device acquires the volume sent by the server.
  • Controlling information the volume control information is information sent when the server determines that the first device and the second device have a preset association relationship, and the second device is a device that detects that the target user is in a sleep state, and the second device is Another registered device in the preset group; finally, the first device lowers the external volume of the first device according to the volume control information.
  • the purpose of reducing the volume of the external release is achieved for the first device having an association relationship with the target user in the sleep state.
  • the preset association relationship may include: the first device and the target user are within a first preset distance, or first The device is in the same local area network as the second device.
  • at least two preset association relationships are provided, which are extensive.
  • the method may further include: the first device prompting to operate the first user that the first user's external volume has decreased.
  • the first After reducing the external volume a device will also remind the user that the external volume has been reduced, improving the user experience.
  • 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:
  • the server may determine that the registered device in the preset group is the first device. After that, the server monitors the usage status of other registered devices in the preset group. When the server detects that the other registered device in the preset group is in the sound state and has a preset association relationship with the first device, The server determines that the other registered device is the second device, and controls the second device to lower the external volume of the second device. In the embodiment of the present application, the purpose of reducing the volume of the external device of the second device having the associated relationship with the first user in the sleep state is achieved.
  • the preset association relationship may include: the second device is within a first preset distance from the first user, or A device is in the same local area network as the second device.
  • at least two preset association relationships are provided, which are extensive.
  • the server is configured to register the device in the preset group.
  • the method may further include: when a certain registered device usage state is a sound external release and is in a second preset distance range of the first device, the second preset distance is greater than the foregoing a predetermined distance, and the second preset distance does not intersect with the first preset distance, the server determines that the registered device is a third device, and then the server sends a volume lowering prompt message to the third device, the volume lowering prompt The information is used to prompt the third user to perform an operation of lowering the volume of the external device, and the third user is a user who operates the third device.
  • the user is sent a prompt message for reducing the volume, which is used to prompt the user to adjust the external volume, thereby improving the user experience.
  • the server controlling the second device to reduce the volume of the external device is specifically configured to: the server sends volume control information to the second device, where the volume control information is used to cause the second device to automatically reduce the volume of the external release, or The volume control information is used to cause the second device to automatically lower the external volume and prompt the second user to release the volume of the second device has been lowered.
  • the second device after the second device reduces the volume of the external release, the second device will also remind the user that the external volume has been lowered, thereby improving the user experience.
  • the server monitoring the usage status of the registered device may include: the server periodically acquiring the usage status of the registered device in the preset group, including the server periodic inquiry and the automatic periodic reporting of the registered device; or, when the preset group is When the usage status of the registered device is changed, the server acquires the usage status of the registered device reported by the registered device.
  • a manner is provided for the server to obtain the state of use of the registered device, which is optional.
  • the method may further include: before the server determines the first device, the method may further include: when the server meets the preset trigger condition, the server sends the sleep state change information to the registered device in the preset group, so that the preset group is The registered device monitors the sleep state of the target user corresponding to the registered device according to the acquired sleep state change information.
  • the server Sending sleep state change information to the registered device in the preset group to trigger the registration device to monitor the sleep state of the target user is targeted.
  • the server meeting the preset triggering condition may include: if the system clock of the server reaches the preset time Point, it can be determined that the server meets the preset trigger condition; or, if the server obtains the open command, it can be determined that the server meets the preset trigger condition.
  • the server meeting the preset triggering condition may include: if the system clock of the server reaches the preset time Point, it can be determined that the server meets the preset trigger condition; or, if the server obtains the open command, it can be determined that the server meets the preset trigger condition.
  • 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 has a preset association relationship with the identifier of the second device, the first device receives the volume control sent by the server.
  • the second device is a device that monitors that the target user is in a sleep state; after that, the first device decreases the volume of the external device according to the acquired volume control information.
  • the purpose of reducing the volume of the external device of the first device having the associated relationship with the target user in the sleep state is achieved.
  • the preset association relationship may include: the first device and the second device are in the same local area network; or, the first device The first device and the second device are both registered devices in a preset group on the server; or the first device and the second device are not only in the preset target location range; The first device and the second device are also registered devices in a preset group on the server.
  • at least three preset association relationships are provided, which are optional.
  • the first device is configured according to the obtained volume control information. After the external volume is lowered, the method further includes: the first device prompting the first user operating the first device that the external volume of the first device has decreased. In the embodiment of the present application, after reducing the volume of the external release, the first device also reminds the user that the external volume has been lowered, thereby improving the user experience.
  • a fourth aspect of the embodiments of the present application provides a method for controlling a volume of a device, where the method includes:
  • the server determines that the device is the first device, and acquires the first device identifier of the first device; and then, if the device identifier of the other device The server has a preset association relationship with the first device identifier, and the server determines that the other device is the second device. Finally, the server controls the second device to reduce the external volume of the second device. In the embodiment of the present application, the reduction of the volume of the external device of the second device having the associated relationship with the first user in the sleep state is achieved.
  • the preset association relationship may include: the first device and the second device are in the same local area network.
  • the preset association relationship is specifically described, which is universal.
  • the server determines whether the first device and the second device are a preset group on the server. If the server determines that the first device and the second device are both registered devices in a preset group on the server, the server performs control of the second device to reduce the volume of the second device. operating. In the embodiment of the present application, the server further controls that the first device and the second device belong to the preset group to control the external volume of the second device, so that the control has more needles.
  • the method may further include: determining, by the server, whether the first device and the second device are registered devices in the preset group on the server, and if the server determines that the first device and the second device are registered devices in the preset group on the server, The server performs an operation of controlling the second device to lower the volume of the second device.
  • the server controls the external volume 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 a device, as a first device, having a function of detecting a usage state of the first device, and acquiring volume control information sent by the server to reduce the volume of the external device.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • 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 a second device that is externally released by the sound to reduce the volume of the external release.
  • This function can be implemented by hardware or by executing the corresponding software through hardware.
  • 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 a device, where the device, as a first device, may include: a processor, a memory, and an input/output interface, where the program stores program code, where the program code is used to store an operation instruction; The step that the first device needs to perform in the method for controlling the volume of the device in any one of the embodiments of the present application when the processor is used to invoke the program code in the memory.
  • An eighth aspect of the embodiments of the present application provides a server, which may include: a processor, a memory, and an input/output interface, where the program stores program code, where the program code is used to store an operation instruction; the processor is configured to invoke the memory.
  • the program code is a step that the server needs to perform in the method of controlling the volume of the device in any of the embodiments of the present application.
  • a ninth aspect of the embodiments of the present application provides a computer readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform the methods described in the above aspects.
  • the technical solution of the present application or the part that contributes to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a computer software instruction for storing the above device comprising a program designed to execute any one of the above first to fourth aspects for a data node or a management node.
  • the storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.
  • a tenth aspect of the embodiments of the present application provides a computer program product comprising instructions, when executed on a computer, causing a computer to perform the method as described in any one of the first to fourth aspects of the embodiments of the present application.
  • the method of controlling the volume of the device is not limited to any one of the first to fourth aspects of the embodiments of the present application.
  • the first device detects the usage status of the first device, where the first device is a registered device in a preset group on the server; when the first device is in use state When the sound is released, the first device acquires volume control information sent by the server, and the volume control information is determined by the server.
  • the first device when the usage state of the first device is externally released and has a preset association relationship with the second device, the first device acquires volume control information sent by the server to control the volume of the external release.
  • the first device that is associated with the target user in the sleep state can reduce the volume of the external device and avoid affecting the target user in the sleep state.
  • FIG. 1 is a schematic diagram 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 a volume of a device according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a server acquiring an open command according to an embodiment of the present application.
  • 4a is a schematic diagram of an external volume when the mobile phone is turned on by the mobile phone in the embodiment of the present application;
  • FIG. 4b is a schematic diagram of another external volume when the mobile phone is turned on by the mobile phone in the embodiment of the present application.
  • 4c is a schematic diagram of another external volume when the mobile phone is turned on by the mobile phone in the embodiment of the present application;
  • FIG. 5 is a schematic diagram of an application scenario of sending volume prompt information by a server according to an embodiment of the present application
  • FIG. 6 is a schematic manner of prompting a volume prompt information by a mobile phone according to an embodiment of the present application
  • FIG. 7 is another prompting manner for the mobile phone to obtain the volume prompt information in the embodiment of the present application.
  • FIG. 8 is a schematic diagram of an application scenario of a server sending volume reduction prompt information according to an embodiment of the present application
  • FIG. 9 is a schematic diagram of a prompt manner for a mobile phone to obtain a volume reduction prompt message according to an embodiment of the present application.
  • FIG. 10 is another prompt manner for the mobile phone to obtain the volume reduction prompt information in the embodiment of the present application.
  • FIG. 11 is a schematic diagram of automatically reducing an external volume after a mobile phone obtains volume control information according to an embodiment of the present application
  • FIG. 12 is a schematic manner of the mobile phone automatically reducing the volume of the external release after the embodiment of the present application.
  • FIG. 13 is another prompting manner 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 a volume of a device according to an embodiment of the present application.
  • FIG. 15 is a schematic diagram of another embodiment of a method for controlling a volume of a device according to an embodiment of the present application.
  • FIG. 16 is a schematic diagram of an application scenario of a method for controlling a volume of a device according to an embodiment of the present disclosure
  • 17 is a schematic diagram of an embodiment of a device 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 a device in an embodiment of the present application.
  • FIG. 20 is a schematic diagram of another embodiment of a server in an embodiment of the present application.
  • Figure 21 is a schematic diagram of another embodiment of the device in the embodiment of the present application.
  • FIG. 22 is a schematic diagram of another embodiment of a server in an embodiment of the present application.
  • terminal technology enables people to carry terminal devices with them, such as mobile phones, smart bracelets, tablet computers, etc. These devices generally have a sound external release function. Taking a mobile phone as an example, people can call the phone through the external sound of the mobile phone. Words, play music, watch videos, and more. However, in some application scenarios (such as homes, hospital wards, office lunch breaks, etc.), the sudden sound of these devices will disturb the people who are resting in the above scenes.
  • the current solution is as follows:
  • the device can obtain the sleep information of the user within the detection range of the device.
  • the algorithm may be used to calculate and calculate the user's physical data according to the algorithm of the device owner or the device system, and determine the user.
  • the current sleep information (such as sleep, wake-up, etc.), when it is determined that the user is in sleep, the device controls the volume according to the sleep information.
  • this way of controlling the volume of the device can only control itself. If there are multiple devices in the same application scenario, the volume of other devices cannot be controlled.
  • the embodiment of the present application provides the following technical solution: the server first determines the first user in the sleep state, and the first user corresponds to the first device; and the server monitors the registered device in the preset group on the server. a usage state; when the server determines that the usage state of the second device having the first preset association relationship with the first device in the registered device is the volume release, the server controls the second device to reduce the external volume of the second device .
  • the server determines the usage status of the registered device in the preset group, and determines, according to the first preset association relationship, the second device that needs to control the volume of the external release, so as to achieve the first state in the sleep state. The lowering of the volume of the external device of the second device to which the user has an association relationship.
  • the applied scenario is as shown in FIG. 1 , and the server establishes a connection with a plurality of devices having a sound external release function.
  • the device may be a smart terminal device including a mobile phone, a tablet computer, a personal computer, a speaker, or the like, or may be a smart wearable device including a smart wristband or a smart watch, and the device is not limited herein.
  • a server program is deployed on the server, and a communication connection can be made between each device.
  • the server may be a physical server in a traditional sense, or may be a cloud server, which is not limited herein.
  • Embodiment 1 The server monitors the usage status of the registered device. If the first device corresponding to the first user in the sleep state and the second device external to the sound have the first preset association relationship, the second device is controlled to decrease the second device. The volume of the device.
  • an embodiment of a method for controlling the volume of a device in the embodiment of the present application As shown in FIG. 2, an embodiment of a method for controlling the volume of a device in the embodiment of the present application:
  • the registered device in the preset group monitors the user's sleep condition
  • the registered device in the preset group refers to the device that has been registered or added by the user in the group preset on the server.
  • the specific process may be: the user registers on the server and selects a group, for example, the server already exists. Preset group "Group 1", “Group 2", “Group 3”. If User A wants to join “Group 1" of User B and User C, User A needs to register the identity on the server first. Then select "Group 1" to join. After joining, User A, User B, and User C form a group "Group 1"; if User A wants to register a group "Group 4" by itself, the user can be on the server.
  • the preset group "Group 4" is registered, and other users are added, such as adding user D and user E, so that user A, user D, and user E form a group "group 4".
  • the user can update (including registration, adding, deleting, etc.) the registered device in the preset group.
  • user A adds mobile phone a and tablet a in "group 4".
  • Smart bracelet a user B adds smart watch b, mobile phone b, user C adds personal computer c, deletes mobile phone c, then mobile phone a, tablet a, smart bracelet a, smart watch b, mobile phone b, personal computer c
  • the mobile phone c is the registered device that is deleted from "Group 4".
  • the server may obtain updated registered device information, where the registered device information is At least the identifier information of the registered device may be the MAC address of the registered device, or the device serial number of the registered device, and may be a graphic identifier of the registered device, which is not limited herein.
  • the registered device in the preset group monitors the user's sleep condition, which may include, but is not limited to, the following situations:
  • the server After the user determines the preset group and the registered device in the preset group on the server, if the server meets the preset trigger condition, the server sends the sleep state change information to the registered device, so that the registered device can change according to the sleep state.
  • the information monitors the user's sleep condition corresponding to the registered device.
  • the purpose of the server sending the sleep state change information to the registration device is to trigger the registration device to monitor the sleep condition of the user and feedback to the server when the registration device detects that the user enters the sleep state
  • the sleep state change information may be The information may be the second information, as long as the information can trigger the registration device to monitor the sleep condition of the user, which is not limited herein.
  • the server when the system clock of the server reaches the preset time point, it is determined that the server meets the preset trigger condition, for example, the user A presets that when the time point reaches 11:00 pm on October 23, 2017, the server The registered device in the preset group sends the sleep state change information, and when the system time of the server reaches 11:00 pm on October 23, 2017, the server automatically performs the operation of sending the sleep state change information; in addition, It is considered that when the server obtains the open command, it is determined that the server meets the preset trigger condition, taking the mobile phone of FIG. 3 as an example: the mobile phone b of the user B (assume the user name is kevin) has been registered on the server and joined the group "group".
  • Group 4" also includes user A, user C, user D, user A adds mobile phone a, tablet a in "group 4", user C adds smart watch c, mobile phone c, user D adds Computer d, smart bracelet d. If user B wants a lunch break at 1:00 pm (personal day 1:00), user B can open "My Group” in mobile phone b, and select to open the corresponding one in the registered device mobile phone b belonging to "Group 4".
  • the mobile phone b sends the "group sleep mode” open command to the server, and the server acquires all the registered devices of the "group 4" in the preset group after obtaining the "group sleep mode” open command ( That is, the mobile phone a, the tablet computer a, the mobile phone b, the smart watch c, the mobile phone c, the computer d, the smart bracelet are d) send the sleep state change information.
  • the preset trigger conditions that the server satisfies are not limited here. It is to be noted that the server sends the sleep state change information to the registered device.
  • the server may first obtain the identifier information of the registered device in the preset group, and then determine the corresponding registered device by using the identifier information, and then send the sleep state change information to the registered device.
  • the user can input a corresponding open command in any registered device in the preset group that the user has permission to operate, so that the server sends to all registered devices in the preset group.
  • the sleep state change information is used to register the device to monitor the user's sleep condition.
  • the user may be prompted by the registered device to prompt the user to send an open command to the server, or may be a voice prompt to allow the user to confirm whether the open command is generated.
  • the opening instruction corresponding to the direct text input or the voice input of the user may also be used, and the input of the opening instruction may also be a limb motion recognition, which is not limited herein.
  • the user's sleep condition is monitored.
  • the registered device monitors the user's sleep at all times.
  • the registered device may also monitor the user's sleep condition after the device is turned on, for example, a smart bracelet, a smart watch, etc. Smart wearables monitor the user's sleep 24 hours a day.
  • the watch c and the smart bracelet d can monitor the user's sleep condition after acquiring the sleep state change information sent by the server, or can monitor the user's sleep condition without acquiring the sleep state change information sent by the server. There is no limit here.
  • the device 1 monitors that the first user is in a sleep state
  • the server determines that the registered device that detects that the user is in a sleep state is the device 1 (also referred to as a first device), and is monitored by the device 1 to be in a sleep state. This user can be referred to as the first user.
  • the registered device monitors the user's sleep condition and how to determine that the user is in a sleep state can be implemented by a third-party technical solution, for example, a smart wristband worn on the user, a smart watch, or the like can collect the user.
  • the vital signs information (such as heart rate information) further determines whether the user is in a sleep state; non-wearable devices such as mobile phones and tablet computers can detect whether the user is in a sleep state by sound detection, or can detect the user's actions (eg, within a certain period of time). Whether it is moving or not to determine whether the user is in a sleep state or not, and whether the user is in a sleep state by means of the combination of the above-mentioned sound detection and motion detection, which is not limited herein.
  • the device 1 sends the first feedback information to the server.
  • the first feedback information is sent to the server, and the first feedback information may be used to indicate to the server that the device 1 detects that the first user is in a sleep state.
  • the server determines related information of the device 1 in the registered device.
  • the related information of the device 1 may include, but is not limited to, location information of the first user corresponding to the device 1 or network information of the device 1 (eg, The LAN information of device 1).
  • the server After the server obtains the first information sent by the device 1, the server sends an acquisition request to the device 1, and after receiving the acquisition request, the device 1 sends the related information of the device 1. To the server, so that the server obtains and saves the related information of the device 1, and the server obtains the related information of the device 1 when the device 1 sends the first feedback information to the server, and carries the related information of the device 1 in the first feedback information.
  • the information about the device 1 is directly extracted from the first feedback information after the server obtains the first feedback information, which is not limited herein.
  • the location information of the first user may be the location information of the device 1 or the location information of the first user obtained by the device 1 , which is not limited herein. The following describes the location information of the first user separately:
  • the location information of the first user is location information of the device 1;
  • the location information of the first user is location information of the device 1, for example, a smart wearable device such as a smart bracelet or a smart watch
  • the smart wearable can be The location information of the device is used as the location information of the first user.
  • the device 1 can obtain the location information of the device 1 by using the self-sensor and the positioning server, for example, acquiring the location information of the device 1 by using the 6PS sensor, or acquiring the location of the device 1 by using the network access information of the device 1. Information, specifically not limited here.
  • the device 1 is a non-worn device such as a mobile phone or a tablet computer
  • the location information of the non-wearable device may be used as the location information of the first user, which is not limited herein.
  • the location information of the first user is the location information of the first user obtained by the device 1 through calculation.
  • the location information of the first user is the location information of the first user acquired by the device 1, for example, the non-wearable device such as the mobile phone or the tablet computer described above, the sensor of the non-wearable device itself may be used to acquire the first
  • the user's voice strength, action characteristics, and the like are calculated to obtain the location of the first user, and the non-wearable device and the wearable device corresponding to the first user can obtain the location information of the first user by using the wearable device, which is not limited herein. .
  • the server monitors a usage status of the registered device in the preset group.
  • the server determines the related information of the device 1 (such as 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 , etc.), the usage status of the registered device in the preset group will be monitored.
  • the server may periodically obtain the usage status of the registered device. For example, the server periodically sends an acquisition request to the registration device, and the registration device reports the usage status to the server according to the acquisition request, or the registration device periodically reports the usage status.
  • the state of the device can be automatically reported to the server after the change of the state of use of the registered device (for example, the registered device is muted by the sound), which is not limited herein.
  • the server determines that the registered device external to the sound is the device 2 (also referred to as the second device) ).
  • a user who is using device 2 can be referred to as a second user.
  • the second feedback information is sent to the server, and the second feedback information can be used to indicate to the server that the sound of the device 2 is being externally released.
  • the use state of the device is that the sound is externally included, but is not limited to: the device is in a state of being put out of the sound, for example, the user is watching the video in the form of using the sound of the mobile phone; It is entering the state of external sound release.
  • the device is in a state of being put out of the sound, for example, the user is watching the video in the form of using the sound of the mobile phone; It is entering the state of external sound release.
  • the user watches the video by using the sound of the mobile phone it is initially in the silent mode. After the user finds it, the mute is turned off, the volume is increased, or the user starts to connect with the mobile phone by using the earphone to watch. Video, then remove the headset and watch it directly in the form of the phone's sound.
  • the use state of the device 2 for sound external release may include, but is not limited to, the following situations:
  • the sound of the device 2 is being released, regardless of the volume of the sound of the device 2, it is determined that the state of use of the device 2 is external.
  • the mobile phone of FIG. 4a and FIG. 4b as an example: if the mobile phone starts the music player “listening to music”, the external volume is 10% of the maximum playing volume as shown in FIG. 4a, or the maximum playing as shown in FIG. 4b. 100% of the volume, it is determined that the use state of the device 2 is the sound external release.
  • the use state of the device 2 is the sound external release.
  • the preset volume value is 30% of the maximum volume
  • the external volume of the mobile phone corresponding to FIG. 4a is 10% of the maximum playback volume, and it is determined that the usage state of the mobile phone is not externally placed
  • the external volume of the mobile phone corresponding to FIG. 4b is The maximum volume is 100%, and it is determined that the use state of the mobile phone is externally placed
  • the external volume of the mobile phone corresponding to FIG. 4c is 30% of the maximum volume, and it is determined that the use state of the mobile phone is sound external release.
  • volume of the volume in FIG. 4a to FIG. 4c is represented by a progress bar, and may be expressed by a percentage or other forms.
  • the illustrations in FIG. 4a to FIG. 4c are only schematic, and are not limited herein. It should be noted that, for a smart device such as a smart wristband or a smart finger ring that does not have a display screen, the volume of the volume can also be notified by means of voice broadcast, which is not limited herein.
  • the server determines related information of the device 2 in the registered device.
  • the server After obtaining the second feedback information sent by the device 2, the server determines the device 2 in the device and obtains the related information of the device 2.
  • the related information of the device 2 may include, but is not limited to, the location information of the device 2 or the network of the device 2.
  • Information eg, LAN information where device 2 is located).
  • the server obtains the second information sent by the device 2, the server sends an acquisition request to the device 2, and after receiving the acquisition request, the device 2 sends the related information of the device 2.
  • the server obtains and saves the related information of the device 2, and the server obtains the related information of the device 2, and may also carry the related information of the device 2 in the second feedback information when the device 2 sends the second feedback information to the server.
  • the information about the device 2 is directly extracted from the second feedback information after the server obtains the second feedback information, which is not limited herein.
  • the related information of the device 2 is the location information of the device 2
  • the device 2 sends the location information to the server
  • the location information of the device 2 is sent to the server, so that the server updates the location information of the device 2.
  • the server determines whether the device 1 and the device 2 have a first preset association relationship, and if so, step 209;
  • the server After the server obtains the related information of the device 2, it is determined whether the device 1 and the device 2 have the first preset association relationship.
  • the information about 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;
  • the server determines whether the device 1 and the device 2 have the first pre-
  • the specific relationship may be: the server determines whether the location information of the first user and the location information of the device 2 (which may indicate the distance between the first user and the device 2 by using Lx) are in the first preset distance range (first pre-predetermined range) provided L 1 represents a distance range is available), the server determines if Lx in L 1, the apparatus includes a determination device 1 and the first predetermined relationship, the server performs the step 209.
  • L 1 may be the default value of the server system, for example: 0 ⁇ L 1 ⁇ 3m (m is unit: m), L 1 ⁇ 5m, etc., or may be a value set by the user, specifically not here. Make a limit.
  • L 2 may also be a default value of the server system, for example, L 2 >3m, 5m ⁇ L 2 ⁇ 10m, etc., and may also be a value set by the user, which is not limited herein. For example: If L 1 ⁇ 4m, then L 2 may be 4m ⁇ L 2 ⁇ 7m, it may be 4m ⁇ L 2 ⁇ 10m, here is not limited particularly.
  • the server may prompt information to reduce the volume of the transmission device 2 is not within Lx L 1, volume down device 2 prompts the user to prompt the equipment is being used to reduce 2 external volume.
  • How the server sends the volume reduction prompt information to the device 2 may include, but is not limited to, the following situations:
  • L 1 ⁇ 4m, 4m ⁇ L 2 ⁇ 7m device 1 is a smart wristband worn on user 1 (user 1 is in a sleep state), and device 2 is user 2
  • the mobile phone used, the distance between the location of the user 1 and the location of the user 2 is represented by Lx. If the user 2 opens the mobile phone to watch the video with the external sound, the usage state of the mobile phone is determined to be outside the sound according to the above manner.
  • the video of the mobile phone may be suspended as shown in FIG. 6.
  • Play and display "There is a sleep user nearby, please adjust the volume” or similar information on the play page to remind the user who is watching the video 2 to adjust the volume; b, as shown in Figure 7, pause the video playback of the phone, And through the voice voice prompt less than the preset volume value, "there is a sleep user nearby, please adjust the volume” or the like to remind the user 2 who is watching the video to adjust the volume.
  • the user may be prompted by the voice prompt indicated in the above b, which is not limited herein.
  • the size of the volume adjusted by the user 2 may be reduced until the server no longer prompts, or may be muted, or the user 2 directly closes the application or function related to the sound release, specifically not here. limited.
  • FIG. 6 and FIG. 7 are similar, and are not specifically described herein.
  • Lx ⁇ L 2 , Lx is inversely related to time t.
  • FIG. 8 when the user 2 returns from the kitchen in the second position to the living room in the first position, it is known that each position on the path of the user 2 from the second position to the first position is to the user. 1 is close, that is, as the time t increases, the Lx is decreased.
  • the server may send the volume reduction prompt information to the device 2, including but not limited to the following forms: a, as shown in FIG. 6 above.
  • the manner of the prompting, specifically not described here; b, may also be prompted as shown in Figure 7 above, specifically not described here; c, can also be as shown in Figure 9, pause the video of the phone Play and display "You are approaching the sleep user, please adjust the volume” or similar information on the play page to remind the user 2 who is watching the video to adjust the volume; d, also as shown in Figure 10, suspend the phone The video plays and passes the voice voice prompt "You are approaching the sleeping user, please adjust the volume” or the like to remind the user 2 who is watching the video to adjust the volume.
  • the user may be prompted by the voice prompt indicated in the above b or d, which is not limited herein.
  • the device 2 discussed herein may be any one of the devices registered in the preset group, and may Is the third device (ie, device 3), the user of the corresponding operating device 3 may be the third user (ie, user 3), or the nth device (ie, device n), and the user of the corresponding operating device n may be the first n user (ie user n), which is not limited here.
  • the server determines whether the device 1 and the device 2 have the first preset association relationship. If the local area network is the same as the local area network where the device 2 is located, if the server is the same, the server determines that the device 1 and the device have the first preset association relationship, and the server performs step 209.
  • the server sends volume control information to the device 2;
  • the server After the server determines that the device 1 and the device 2 have a specific first preset association relationship, the server will send volume control information to the device 2, and the volume control information is used to control the device 2 to reduce the external volume of the device 2.
  • Device 2 reduces the volume of the external discharge.
  • the device 2 After the device 2 obtains the volume control information sent by the server, the volume of the external volume is reduced according to the volume control information, and the manner in which the device 2 reduces the volume of the external volume includes, but is not limited to: a, the device 2 automatically adjusts the volume to the range of the preset volume value.
  • the preset mobile phone is playing music with “listening to music”
  • the external volume of the music is 30% of the maximum volume
  • the server directly By sending volume control information to the phone, the volume of the phone's external release is reduced to 30% of the maximum volume. It should be noted that after the volume of the external release of the mobile phone is reduced to the preset volume value range, as shown in FIG.
  • the user who operates the mobile phone is displayed on the display interface that “the user has a sleep nearby, and the volume has been adjusted”. Or similar information; or as shown in FIG. 13 , the user who operates the mobile phone prompts “there is a sleeping user nearby, the volume has been adjusted” or the like in a sound within a preset volume value range, which is not limited herein; b. Device 2 adjusts the volume of the external sound to mute.
  • step 201 to step 204 there is no sequence between step 201 to step 204 and step 205 to step 207, and step 201 to step 204 may be performed first, and then step 205 to step 207 are performed.
  • the registered device in the preset group first monitors the sleep condition of the user, and the server further determines related information of the device 1 that monitors that the first user is in a sleep state, and then the server monitors the usage status of the registered device and determines that the used state is the sound.
  • the related information of the external device 2; the step 205 to the step 207 may be performed first, and then the step 201 to the step 204 are performed, that is, the server first monitors the use state of the registered device and determines that the device 2 that monitors the use state is the sound external device Related information, and then the registered device in the preset group monitors the sleep condition of the user, and the server further determines related information of the device 1 that monitors that the first user is in a sleep state. This is not limited here.
  • the server determines that the related information of the first device in which the first user is in the sleep state is monitored, and the related information of the first device is obtained, and the server monitors the usage status of the registered device in the preset group and determines the monitoring.
  • the server determines that the first device and the second device have the first preset association relationship, the volume control information is sent to the second device, so that the second device lowers the The volume is released.
  • the server determines the usage status of the registered device in the preset group, and determines, according to the first preset association relationship, the second device that needs to control the volume of the external release, so as to achieve the first state in the sleep state.
  • the server first determines that the second device that monitors the use state is the sound external release, and then Determining whether the first device and the second device have a first preset association relationship to determine whether to send volume control information to the second device.
  • Embodiment 2 The server first determines a second device that has a first preset association relationship with the first device, and then monitors whether the usage state of the second device is a sound external release, thereby controlling the second device to reduce the external device release. volume.
  • another embodiment of a method for controlling a volume of a device in the embodiment of the present application includes:
  • the registered device in the preset group monitors the user's sleep condition
  • Device 1 detects that the first user is in a sleep state
  • the device 1 sends the first feedback information to the server.
  • the server determines related information of the device 1 in the registered device.
  • 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 details are not described herein.
  • the server determines the device 2 having the first preset association relationship with the device 1;
  • the server determines the related information of the device 1, the related information of the registered device in the same preset group as the device 1 in the server is determined, if one or more registered devices and devices 1 in the preset group have the first A predetermined association relationship, the registered device having the first preset association relationship with the device 1 is referred to as device 2 (ie, the second device). It is to be noted that the server determines the device 2 by determining whether the related information of the registered device has the first preset association relationship with the device 1. The specific information of the determining device 2 in the embodiment corresponding to FIG. 2 is similar. Give a brief description.
  • the first preset association relationship is similar to the first preset association relationship in the embodiment corresponding to FIG. 2, and details are not described herein. It is to be noted that, if the information about 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 in the first preset distance range ( 2 location information of the available range of the device the first predetermined distance L 1 represents a) in the apparatus 2 is determined, if the location of the device 2 is changed, the device transmits the device 2 changes the location information to the server 2 So that the server updates the location information of the device 2.
  • the server will send the volume reduction prompt information to the device 2, which is similar to that described in step 208 in the embodiment corresponding to FIG. 2, and details are not described herein.
  • the server sends volume control information to the device 2;
  • the server After the server determines that the device 1 has the first preset association relationship with the device 1, it will send volume control information to the device 2, and the volume control information will be activated when the device 2 meets the preset condition, and the control device 2 reduces the device. 2 outside the release.
  • the volume control information is activated to reduce the volume of the external release.
  • the usage state of the device 2 is obtained according to the volume control information.
  • the volume control information is activated to reduce the volume of the device 2 .
  • the device 2 may directly activate the volume control information regardless of its own use state, so as to reduce the volume of the device 2 .
  • the server first determines related information of the first device that detects that the first user is in a sleep state, and then determines a second device that has a first preset association relationship with the first device, and then sends the second device to the second device.
  • Volume control information so that the second device activates the volume control information to reduce the external volume of the second device when determining that the usage state of the second device is the sound external release, or such that the second device does not consider the use of the second device
  • the volume control information is directly activated to reduce the volume of the second device.
  • the server determines, according to the first preset association relationship, the second device that needs to control the volume of the external release, so as to achieve a reduction in the volume of the external device that has the associated relationship with the first user in the sleep state.
  • the embodiments corresponding to FIG. 2 and FIG. 14 are both for monitoring the usage status of the registered device in the preset group and determining the first device that satisfies the condition (the condition satisfied is: the first user is monitored to be in a sleep state) and the second The device (the condition that is satisfied is: the use state is sound external release) whether there is a first preset association relationship to control the second device to reduce the external release volume of the second device.
  • Embodiment 3 No longer pay attention to the use status of the device, and determine a second preset association relationship between the first device identifier and the second device identifier that meet the condition by adding a judgment condition for the device identifier of the device, and further control the The second device reduces the volume of the external device.
  • another embodiment of a method for controlling a volume of a device in the embodiment of the present application includes:
  • device 1 detects that the first user is in a sleep state
  • the registered device in the preset group monitors the user's sleep condition on the server. If a registered device on the server detects that the user is in a sleep state, the device that detects that the user is in a sleep state may be referred to as device 1 (also A user who is monitored by the device 1 to be in a sleep state may be referred to as a first user.
  • the monitoring of the user's sleep condition in the preset group on the server is similar to the step 2 in the embodiment corresponding to FIG. 2, and details are not described herein.
  • Device 1 sends a first device identifier to a server
  • the device 1 After detecting that the first user is in the sleep state, the device 1 sends a first device identifier to the server, where the device identifier may be the registered device information of the registered device, such as the MAC address of the registered device, the device serial number, the graphic identifier, or the like. It is a user-defined device code, etc., which is not limited here.
  • the server determines the device 2 according to the second device identifier that has the second preset association relationship with the first device identifier;
  • the server After the server obtains the first device identifier of the device 1, the device 2 (also referred to as a second device) is determined according to the second device identifier having the 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, device 1 and device 2 are in the target local area network
  • the server pre-sets a target local area network. After the server sets the target local area network, the server obtains the device identification set of the device connected to the target local area network. After the server obtains the first device identifier of the device 1, it determines whether the first device identifier belongs to the device. The 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 in the same target local area network, the server determines the device 2 accordingly.
  • kevin's home LAN there are 4 devices connected to kevin's home LAN, respectively kevin's mobile phone k (device ID is K01), kevin's computer k (device The phone number a (labeled as A01), Anna's tablet a (device identification is A02), David's mobile phone d (device identification is D01), and the device identification set N include: K01, K02, A01 , A02, D01.
  • the server When the mobile phone k detects that a user (such as kevin) is in a sleep state, the server will obtain the device identifier K01 of the mobile phone k, and then determine whether the K01 belongs to the device identification set N. As can be seen from the above, K01 belongs to the device identification set N, K02 A01, A02, and D01 also belong to the device identification set N, then the device 2 can be kevin's computer k, Anna's mobile phone a, Anna's tablet computer a, and David's mobile phone d. According to this, the server determines that the device 2 is the computer k of kevin, the mobile phone a of Anna, the tablet a of Anna, and the mobile phone d of David.
  • device 1 and device 2 are in the target local area network, and device 1 and device 2 belong to the registered device in the preset group on the server;
  • the server determines the device 2 that is in the same target local area network as the device 1, it is further determined whether the device 1 and the device 2 belong to the registered device in the preset group on the server, and if the server determines that the device 1 and the device 2 belong to the same preset group. Then the server determines device 2 accordingly.
  • kevin home LAN For example, still take the above kevin home LAN as an example, if the server determines that kevin's mobile phone k is in kevin's home LAN kevin computer k, Anna's mobile phone a, Anna's tablet a, David's mobile phone d. But the server further determines that only kevin's computer k, Anna's mobile phone a, Anna's tablet a and kevin's mobile phone k are in the default group "group 5", then the server determines that device 2 is kevin's computer k, Anna's mobile phone a and Anna's tablet a.
  • Device 1 and device 2 are in a target location, and device 1 and device 2 belong to a registered device in a preset group on the server.
  • the server first sets a target location, and after the server sets the target location, the device identifier set of the device in the target location is obtained.
  • the manner in which the server obtains the device identifier set may include, but is not limited to, passing the GPS in the device. Positioning, base station positioning, WiFi assisted positioning, etc. to obtain the device identification of the device at the target location.
  • the server 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, and 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, If the device 1 and the device 2 belong to the same preset group, the server determines that the device 1 and the device 2 belong to the same preset group on the server. Device 2 is determined accordingly.
  • the user kevin sets the target location to "kevin's home” and uploads the location information of kevin's home to the server, for example, the location information of kevin's home is shown in Figure 16, the devices in kevin's home are kevin respectively.
  • Mobile phone k (device identification is K01), kevin computer k (device identification is K02), Anna mobile phone a (device identification is A01), Anna tablet a (device identification is A02), device identification set M includes: K01 , K02, A01, A02, when the mobile phone k detects that a user (such as kevin) is sleeping, the server will obtain the device identification K01 of the mobile phone k, and then the server will determine whether K01 belongs to the device identification set M, as can be seen from K01 belongs to the device identification set M, and K02, A01, and A02 also belong to the device identification set M.
  • the server further determines that kevin's computer k, Anna's mobile phone a, Anna's tablet a and kevin's mobile phone k are all in the default group "group 5", then the server determines that device 2 is kevin's computer k, Anna's Mobile phone a, Anna's tablet a and kevin's mobile phone k.
  • the server sends volume control information to the device 2;
  • the volume control information After the server determines the device 2 according to the second preset association relationship, the volume control information will be sent to the device 2.
  • the volume control information is used to control the device 2 to reduce the external volume of the device 2.
  • device 2 reduces the external volume.
  • the volume control information is reduced according to the volume control information, which may include, but is not limited to: a. When the usage state of the device 2 is externally released, the volume control information is activated to enable The device 2 reduces its own external volume; b. directly activates the volume control information regardless of the usage state of the device 2, so as to reduce the external volume of the device 2.
  • the manner in which the device 2 reduces the external volume includes, but is not limited to: a, the device 2 automatically adjusts the volume to a range of preset volume values; b, the device 2 adjusts the volume of the external sound to mute.
  • FIG. 1 , FIG. 14 and FIG. 15 illustrate the method for controlling the volume of the device in the embodiment of the present application.
  • the related devices in the embodiments of the present application are respectively described below.
  • the related device includes a device and a server, where the device serves as the first device.
  • an embodiment of the device in this embodiment of the present application includes:
  • the detecting unit 1701 is configured to detect a usage status of the first device, where the first device is a registered device in a preset group on the server;
  • the acquiring unit 1702 is configured to acquire volume control information sent by the server when the first device usage state is sound external release, where the volume control information is that the server determines the first device and the second device.
  • the second device is a device that monitors that the target user is in a sleep state, and the second device is another registered device in the preset group.
  • the volume control unit 1703 is configured to reduce the external volume according to the volume control information.
  • the device may further include a prompting unit 1704:
  • the prompting unit 1704 is configured to prompt the first user that the external volume has been lowered, and the first user is a user who operates the first device.
  • 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 the first user is in a sleep state, and the first device is a registered device in a preset group on the server;
  • the monitoring unit 1802 is 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 state of being used for sound and has a preset association relationship with the first device, where the second device is another registered device in the preset group ;
  • the control unit 1804 is configured to control the second device to reduce an external volume of the second device.
  • the server may further include a third determining unit 1805 and a first sending unit 1806:
  • a third determining unit 1805 configured to determine, in the registration device, a third device that is used in a state of sound external release and is in a second preset distance range of the first device, where the second preset distance is greater than the a first preset distance, and the second preset distance does not intersect with the first preset distance;
  • the first sending unit 1806 is configured to send, to the third device, volume lowering prompt information, where the volume lowering prompt information is used to prompt the third user to perform an operation of lowering the volume of the third device to be released by the third device.
  • the third user corresponds to the third device.
  • control unit 1804 is specifically configured to send volume control information to the second device, where the volume control information is used to cause the second device to automatically lower the external volume.
  • the volume control information is used to cause the second device to automatically lower the external volume and prompt the second user that the external volume has decreased, and the second user corresponds to the second device.
  • the monitoring unit 1802 is specifically configured to periodically acquire a usage status of the registered device; or acquire the registration when a usage status of the registered device changes. The usage status of the registered device reported by the device.
  • the server may further include the second sending unit 1800:
  • the second sending unit 1800 is configured to send sleep state change information to the registration device when the server meets the preset trigger condition, so that the registration device monitors the corresponding device according to the sleep state change information.
  • the sleep state of the target user is configured to send sleep state change information to the registration device when the server meets the preset trigger condition, so that the registration device monitors the corresponding device according to the sleep state change information.
  • the sleep state of the target user is configured to send sleep state change information to the registration device when the server meets the preset trigger condition, so that the registration device monitors the corresponding device according to the sleep state change information.
  • an embodiment of the device in the embodiment of the present application includes:
  • the receiving unit 1901 is configured to: when the identifier of the first device has a preset association relationship with the identifier of the second device, receive volume control information sent by the server, where the second device is a device that detects that the target user is in a sleep state;
  • the volume control unit 1902 is configured to reduce the external volume according to the volume control information.
  • the device may further include a prompting unit 1903:
  • the prompting unit 1903 is configured to prompt the first user that the external volume has been lowered, and the first user is a user who operates the first device.
  • an embodiment of the server in the embodiment of the present application includes:
  • the first determining unit 2001 is configured to determine a first device, where the first device is a device that detects that the first user is in a sleep state;
  • An obtaining unit 2002 configured to acquire a first device identifier of the first device
  • a second determining unit 2003 configured to determine a second device, where the second device identifier of the second device has a preset association relationship with the first device identifier;
  • the control unit 2004 is configured to control the second device to reduce an external volume of the second device.
  • the server may further include a first determining unit 2005 and a third determining unit 2006:
  • the first determining unit 2005 is configured to determine whether the first device and the second device are registered devices in the preset group.
  • the third determining unit 2006 is configured to trigger the control unit 2004 to perform a corresponding operation when the first device determines that the second device is a registered device in the preset group.
  • the server may further include a second determining unit 2007 and a fourth determining unit 2008:
  • the second determining unit 2007 is configured to determine whether the first device and the second device are registered devices in the preset group;
  • the fourth determining unit 2008 is configured to trigger the control unit 2004 to perform a corresponding operation when the first device and the second device determine to be the registered device in the preset group.
  • FIG. 21 is a schematic diagram of another embodiment of a device according to an embodiment of the present application, where the device is used as a first device.
  • the device may include any terminal device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a smart wristband, a smart watch, a personal computer on-board computer, and the like. Take the device as a mobile phone as an example:
  • FIG. 21 is a block diagram showing a partial structure of a mobile phone related to the smart terminal provided by the embodiment of the present application.
  • the mobile phone includes: a radio frequency (RF) circuit 2110, a memory 2120, an input unit 2130, a display unit 2140, a sensor 2150, an audio circuit 2160, a wireless fidelity (WiFi) module 2170, and a processor 2180. , power supply 2190 and other components.
  • RF radio frequency
  • the structure of the handset shown in FIG. 21 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the RF circuit 2110 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving the downlink information of the base station, and processing it to the processor 2180; in addition, transmitting the designed uplink data to the base station.
  • 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.
  • LNA Low Noise Amplifier
  • RF circuitry 2110 can also communicate with the network and other devices via wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packe
  • the memory 2120 can be used to store software programs and modules, and the processor 2180 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 2120.
  • the memory 2120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Mobile phone use Created data (such as audio data, phone book, etc.).
  • 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 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • 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 on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 2131 or near the touch panel 2131. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 2131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 2180 is provided and can receive commands from the processor 2180 and execute them.
  • the touch panel 2131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 2130 may also include other input devices 2132.
  • other input devices 2132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 2140 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 2140 may include a display panel 2141.
  • 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.
  • the touch panel 2131 can cover the display panel 2141. After the touch panel 2131 detects a touch operation on or near the touch panel 2131, the touch panel 2131 transmits to the processor 2180 to determine the type of the touch event, and then the processor 2180 according to the touch event. The type provides a corresponding visual output on the display panel 2141.
  • touch panel 2131 and the display panel 2141 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 21, in some embodiments, the touch panel 2131 and the display panel 2141 may be integrated. Realize the input and output functions of the phone.
  • the handset may also include at least one type of sensor 2150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 2141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 2141 and/or when the mobile phone moves to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • An audio circuit 2160, a speaker 2161, and a microphone 2162 can provide an audio interface between the user and the handset.
  • the audio circuit 2160 can transmit the converted electrical data of the received audio data to the speaker 2161, and convert it into a sound signal output by the speaker 2161; on the other hand, the microphone 2162 converts the collected sound signal into an electrical signal, and the audio circuit 2160 After receiving, it is converted into audio data, and then processed by the audio data output processor 2180, transmitted to the mobile phone 2110 via the RF circuit 2110, or outputted to the memory 2120 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help users send and receive emails through the WiFi module 2170. Browse the web and access streaming media, etc. It provides users with wireless broadband Internet access.
  • FIG. 21 shows the WiFi module 2170, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 2180 is a control center for the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 2120, and invoking data stored in the memory 2120, The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 2180 may include one or more processing units; preferably, the processor 2180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 2180.
  • the mobile phone also includes a power source 2190 (such as a battery) for powering various components.
  • a power source 2190 such as a battery
  • the power source can be logically connected to the processor 2180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • FIG. 21 The structure of the device in the method embodiment corresponding to the foregoing FIG. 2, FIG. 14 and FIG. 15 can be based on the structure shown in FIG. 21.
  • the device structure shown in FIG. 21 can correspondingly perform the steps performed by the device in the foregoing method embodiment. I will not repeat them here.
  • FIG. 22 it is a schematic diagram of an embodiment of a server in the embodiment of the present application, which specifically includes:
  • the server may vary considerably depending on configuration or performance, and may include one or more Central Processing Units (CPUs) 2222 (eg, one or more processors) and memory 2232, one or more A storage medium 2230 of storage application 2242 or data 2244 (eg, one or one storage device in Shanghai).
  • CPUs Central Processing Units
  • the memory 2232 and the storage medium 2230 may be short-term storage or persistent storage.
  • the program stored on storage medium 2230 may include one or more modules (not shown), each of which may include a series of instruction operations in the server.
  • central processor 2222 can be configured to communicate with storage medium 2230 to perform a series of instruction operations in storage medium 2230 on the 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 and output interfaces 2258, and/or one or more operating systems 2241, such as Windows ServerTM, Mac OS. XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • operating systems 2241 such as Windows ServerTM, Mac OS. XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center By wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) to another Site sites, computers, servers, or data centers for transmission.
  • wired eg coaxial cable, fiber optic, digital subscriber line (DSL)
  • wireless eg infrared, wireless, microwave, etc.
  • the computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Abstract

Disclosed by an embodiment of the present application are a control method and device for device volume, as well as a server, which are used to lower the volume of sound that is played back out loud by a first device which has an association relationship with a target user which is in a sleep state. The method in the embodiment of the present application comprises: the first device detects the use state thereof, said first device being a registered device in a preset group on the server; when the use state of the first device is playing back sound out loud, the first device acquires volume control information that is sent by the server, the volume control information being information that is sent when the server determines a preset association relationship between the first device and a second device, wherein the second device is a device which monitors a target user being in a sleep state, and the second device is another registered device in the preset group; and finally, the first device lowers the volume of the sound being played back out loud according to the volume control information.

Description

一种设备音量的控制方法、设备以及服务器Device volume control method, device and server
本申请要求于2017年07月12日提交中国专利局、申请号为201710567560.9、申请名称为“一种调节终端音量的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. JP-A No. No. No. No. No. No. No. No. No. No. No. No. No. No. In the application.
技术领域Technical field
本申请涉及终端领域,尤其涉及一种设备音量的控制方法、设备以及服务器。The present application relates to the field of terminals, and in particular, to a method, a device, and a server for controlling the volume of a device.
背景技术Background technique
随着终端技术的发展,智能终端设备已成为日常生活中非常常见的产品,种类也非常繁多,例如:手机、电视、电脑、ipad、音响设备、MP3、MP4等,利用智能终端设备播放音乐或观看视频等来进行休闲娱乐也已成为人们日常生活的一部分。With the development of terminal technology, smart terminal devices have become very common products in daily life, and the types are also very diverse, such as: mobile phones, televisions, computers, ipads, audio equipment, MP3, MP4, etc., using smart terminal devices to play music or Watching videos and other entertainments has become part of people's daily lives.
因此,在日常生活中就经常会出现这样的场景:家人正在休息的时候(即处于睡眠状态),突然手机铃声响起、视频播放声音响起或音响设备播放音乐的声音响起,这种突然响起的外放的声音会影响周围正在休息的家人,尤其是外放音量大的时候。目前已经有方法可以解决类似上述场景出现的问题:当智能终端设备监测到使用该智能终端的用户在休息时,该智能终端对该智能终端设备自身的外放音量进行控制以降低外放音量。Therefore, in daily life, there is often a scene in which the family is resting (ie, in a state of sleep), suddenly the phone ringing, the sound of the video is sounding, or the sound of the audio device is playing, this sudden sound The sound of the sound will affect the family who are resting around, especially when the volume is high. At present, there is a method to solve the problem similar to the above scenario: when the smart terminal device detects that the user who uses the smart terminal is at rest, the smart terminal controls the external release volume of the smart terminal device to reduce the external volume.
以上所述的解决方法存在不足之处:智能终端设备只能通过控制自身的外放音量以降低外放音量,而不能避免周围其他智能终端设备外放音量产生的影响。The solution described above has inadequacies: the smart terminal device can only reduce the external volume by controlling its own external volume, and cannot avoid the influence of the external volume of other intelligent terminal devices.
发明内容Summary of the invention
本发明实施例提供了一种设备音量的控制方法、设备以及服务器,用于实现对与处于睡眠状态的目标用户具有关联关系的第一设备外放音量的降低。The embodiment of the invention provides a method, a device and a server for controlling the volume of the device, which are used for realizing the reduction of the volume of the first device externally associated with the target user in the sleep state.
有鉴于此,本申请实施例第一方面提供一种设备音量的控制方法,该方法可以包括:In view of this, the first aspect of the embodiments of the present application provides a method for controlling a volume of a device, and the method may include:
第一设备检测第一设备的使用状态,该第一设备为服务器上预设群组内的注册设备;当该第一设备使用状态为声音外放时,则该第一设备获取服务器发送的音量控制信息,该音量控制信息为当服务器确定该第一设备与第二设备具备预设关联关系时发送的信息,该第二设备为监测到目标用户处于睡眠状态的设备,且该第二设备为该预设群组内的另一注册设备;最后,该第一设备根据该音量控制信息降低该第一设备的外放音量。在本申请实施例中,实现了对与处于睡眠状态的目标用户具有关联关系的第一设备,降低外放音量的目的。The first device detects the usage status of the first device, where the first device is a registered device in the preset group on the server; when the first device uses the state as a sound external release, the first device acquires the volume sent by the server. Controlling information, the volume control information is information sent when the server determines that the first device and the second device have a preset association relationship, and the second device is a device that detects that the target user is in a sleep state, and the second device is Another registered device in the preset group; finally, the first device lowers the external volume of the first device according to the volume control information. In the embodiment of the present application, the purpose of reducing the volume of the external release is achieved for the first device having an association relationship with the target user in the sleep state.
结合本申请实施例第一方面,在本申请实施例第一方面的第一种实施方式中,预设关联关系可以包括:第一设备与目标用户处于第一预设距离内,或,第一设备与该第二设备处于同一局域网内。在本申请实施例中,提供了至少两种预设关联关系,具有广泛性。With reference to the first aspect of the embodiments of the present application, in a first implementation manner of the first aspect of the embodiments, the preset association relationship may include: the first device and the target user are within a first preset distance, or first The device is in the same local area network as the second device. In the embodiment of the present application, at least two preset association relationships are provided, which are extensive.
结合本申请实施例第一方面的第一种实施方式,在本申请实施例第一方面的第二种实施方式中,在第一设备根据音量控制信息降低了第一设备的外放音量之后,该方法还可以包括:第一设备提示操作该第一设备的第一用户外放音量已降低。在本申请实施例中,第 一设备在降低外放音量后,还将提醒用户外放音量已降低,提高了用户体验。With reference to the first embodiment of the first aspect of the embodiment of the present application, in the second implementation manner of the first aspect of the embodiment of the present application, after the first device reduces the external volume of the first device according to the volume control information, The method may further include: the first device prompting to operate the first user that the first user's external volume has decreased. In the embodiment of the present application, the first After reducing the external volume, a device will also remind the user that the external volume has been reduced, improving the user experience.
本申请实施例第二方面提供了一种设备音量的控制方法,该方法可以包括: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 registered device in a preset group on the server detects that the first user operating the registered device is in a sleep state, the server may determine that the registered device in the preset group is the first device. After that, the server monitors the usage status of other registered devices in the preset group. When the server detects that the other registered device in the preset group is in the sound state and has a preset association relationship with the first device, The server determines that the other registered device is the second device, and controls the second device to lower the external volume of the second device. In the embodiment of the present application, the purpose of reducing the volume of the external device of the second device having the associated relationship with the first user in the sleep state is achieved.
结合本申请实施例第二方面,在本申请实施例第二方面的第一种实施方式中,预设关联关系可以包括:第二设备与第一用户处于第一预设距离内,或,第一设备与该第二设备处于同一局域网内。在本申请实施例中,提供了至少两种预设关联关系,具有广泛性。With reference to the second aspect of the embodiments of the present application, in a first implementation manner of the second aspect of the embodiment, the preset association relationship may include: the second device is within a first preset distance from the first user, or A device is in the same local area network as the second device. In the embodiment of the present application, at least two preset association relationships are provided, which are extensive.
结合本申请实施例第二方面以及本申请实施例第二方面的第一种实施方式,在本申请实施例第二方面的第二种实施方式中,在服务器监测预设群组内注册设备的使用状态之后,该方法还可以包括:当预设群组内存在某一注册设备使用状态为声音外放且处于第一设备的第二预设距离范围内,该第二预设距离大于上述第一预设距离,且第二预设距离与上述第一预设距离不存在交集,则服务器确定该注册设备为第三设备,之后服务器向该第三设备发送音量降低提示信息,该音量降低提示信息用于提示第三用户对该第三设备进行降低外放音量的操作,该第三用户为操作第三设备的用户。在本申请实施例中,通过设置第二预设距离,向用户发送降低音量的提示信息,用于提示用户调节外放音量,提高了用户体验。With reference to the second aspect of the embodiments of the present application, and the first implementation manner of the second aspect of the embodiments of the present application, in the second implementation manner of the second aspect of the embodiment of the present application, the server is configured to register the device in the preset group. After the state is used, the method may further include: when a certain registered device usage state is a sound external release and is in a second preset distance range of the first device, the second preset distance is greater than the foregoing a predetermined distance, and the second preset distance does not intersect with the first preset distance, the server determines that the registered device is a third device, and then the server sends a volume lowering prompt message to the third device, the volume lowering prompt The information is used to prompt the third user to perform an operation of lowering the volume of the external device, and the third user is a user who operates the third device. In the embodiment of the present application, by setting a second preset distance, the user is sent a prompt message for reducing the volume, which is used to prompt the user to adjust the external volume, thereby improving the user experience.
结合本申请实施例第二方面、本申请实施例第二方面的第一种实施方式以及本申请实施例第二方面的第二种实施方式,在本申请实施例第二方面的第三种实施方式中,服务器控制第二设备降低第二设备的外放音量具体可以包括:服务器向第二设备发送音量控制信息,该音量控制信息用于使第二设备自动降低所述外放音量,或,该音量控制信息用于使第二设备自动降低外放音量并提示操作该第二设备的第二用户外放音量已降低。在本申请实施例中,第二设备在降低外放音量后,还将提醒用户外放音量已降低,提高了用户体验。With reference to the second aspect of the embodiment of the present application, the first embodiment of the second aspect of the embodiment of the present application, and the second embodiment of the second aspect of the embodiment of the present application, the third implementation of the second aspect of the embodiment of the present application In the mode, the server controlling the second device to reduce the volume of the external device is specifically configured to: the server sends volume control information to the second device, where the volume control information is used to cause the second device to automatically reduce the volume of the external release, or The volume control information is used to cause the second device to automatically lower the external volume and prompt the second user to release the volume of the second device has been lowered. In the embodiment of the present application, after the second device reduces the volume of the external release, the second device will also remind the user that the external volume has been lowered, thereby improving the user experience.
结合本申请实施例第二方面、本申请实施例第二方面的第一种实施方式至本申请实施例第二方面的第三种实施方式,在本申请实施例第二方面的第四种实施方式中,服务器监测注册设备的使用状态可以包括:服务器周期性获取预设群组内注册设备的使用状态,包括服务器周期性询问以及注册设备自动周期性上报;或,当该预设群组内的注册设备的使用状态发送变化时,服务器获取注册设备上报的该注册设备的使用状态。在本申请实施例中,提供了几种服务器获取注册设备使用状态的方式,具备可选择性。With reference to the second aspect of the embodiment of the present application, the first embodiment of the second aspect of the present application, the third embodiment of the second aspect of the embodiment of the present application, and the fourth implementation of the second aspect of the embodiment of the present application In the mode, the server monitoring the usage status of the registered device may include: the server periodically acquiring the usage status of the registered device in the preset group, including the server periodic inquiry and the automatic periodic reporting of the registered device; or, when the preset group is When the usage status of the registered device is changed, the server acquires the usage status of the registered device reported by the registered device. In the embodiment of the present application, a manner is provided for the server to obtain the state of use of the registered device, which is optional.
结合本申请实施例第二方面、本申请实施例第二方面的第一种实施方式至本申请实施例第二方面的第四种实施方式,在本申请实施例第二方面的第五种实施方式中,在服务器确定第一设备之前,该方法还可以包括:当服务器满足预设触发条件时,服务器向预设群组内的注册设备发送睡眠状态变化信息,以使得该预设群组内的注册设备根据获取到的睡眠状态变化信息监测与注册设备对应的目标用户的睡眠状态。在本申请实施例中,服务器 向预设群组内的注册设备发送睡眠状态变化信息以触发注册设备对目标用户的睡眠状态的监测,具有针对性。With reference to the second aspect of the embodiments of the present application, the first embodiment of the second aspect of the present application, the fourth implementation of the second aspect of the embodiment of the present application, and the fifth implementation of the second aspect of the embodiment of the present application The method may further include: before the server determines the first device, the method may further include: when the server meets the preset trigger condition, the server sends the sleep state change information to the registered device in the preset group, so that the preset group is The registered device monitors the sleep state of the target user corresponding to the registered device according to the acquired sleep state change information. In the embodiment of the present application, the server Sending sleep state change information to the registered device in the preset group to trigger the registration device to monitor the sleep state of the target user is targeted.
结合本申请实施例第二方面的第五种实施方式,在本申请实施例第二方面的第六种实施方式中,服务器满足预设触发条件可以包括:若服务器的系统时钟达到了预设时间点,则可以确定服务器满足预设触发条件;或,若服务器获取到开启指令时,则可以确定服务器满足预设触发条件。在本申请实施例中,提供了几种预设触发条件的满足方式,具备灵活性。With reference to the fifth implementation manner of the second aspect of the embodiment of the present application, in the sixth implementation manner of the second aspect of the embodiment of the present application, the server meeting the preset triggering condition may include: if the system clock of the server reaches the preset time Point, it can be determined that the server meets the preset trigger condition; or, if the server obtains the open command, it can be determined that the server meets the preset trigger condition. In the embodiment of the present application, several manners of satisfying preset trigger conditions are provided, and the flexibility is provided.
本申请实施例第三方面提供一种设备音量的控制方法,该方法包括:当第一设备的标识与第二设备的标识具有预设关联关系时,则该第一设备接收服务器发送的音量控制信息,该第二设备为监测到目标用户处于睡眠状态的设备;之后,第一设备根据获取到的音量控制信息,降低该第一设备的外放音量。在本申请实施例中,实现了对处于睡眠状态的目标用户具有关联关系的第一设备外放音量的降低的目的。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 has a preset association relationship with the identifier of the second device, the first device receives the volume control sent by the server. The second device is a device that monitors that the target user is in a sleep state; after that, the first device decreases the volume of the external device according to the acquired volume control information. In the embodiment of the present application, the purpose of reducing the volume of the external device of the first device having the associated relationship with the target user in the sleep state is achieved.
结合本申请实施例第三方面,在本申请实施例第三方面的第一种实施方式中,该预设关联关系可以包括:第一设备与第二设备处于同一局域网内;或,第一设备与第二设备不仅处于同一局域网内,第一设备与第二设备还均为服务器上某一预设群组内的注册设备;或,第一设备与第二设备不仅处于预置的目标位置范围内,第一设备与第二设备还均为服务器上某一预设群组内的注册设备。在本申请实施例中,提供了至少三种预设关联关系,具备可选择性。With reference to the third aspect of the embodiments of the present application, in the first implementation manner of the third aspect of the embodiment, the preset association relationship may include: the first device and the second device are in the same local area network; or, the first device The first device and the second device are both registered devices in a preset group on the server; or the first device and the second device are not only in the preset target location range; The first device and the second device are also registered devices in a preset group on the server. In the embodiment of the present application, at least three preset association relationships are provided, which are optional.
结合本申请实施例第三方面以及本申请实施例第三方面的第一种实施方式,在本申请实施例第三方面的第二种实施方式中,在第一设备根据获取到的音量控制信息降低外放音量之后,该方法还包括:第一设备向操作该第一设备的第一用户提示第一设备的外放音量已降低。在本申请实施例中,第一设备在降低外放音量后,还将提醒用户外放音量已降低,提高了用户体验。With reference to the third aspect of the embodiments of the present application, and the first implementation manner of the third aspect of the application, in the second implementation manner of the third aspect of the embodiment, the first device is configured according to the obtained volume control information. After the external volume is lowered, the method further includes: the first device prompting the first user operating the first device that the external volume of the first device has decreased. In the embodiment of the present application, after reducing the volume of the external release, the first device also reminds the user that the external volume has been lowered, thereby improving the user experience.
本申请实施例第四方面提供了一种设备音量的控制方法,该方法包括: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 a device detects that the first user corresponding to the device is in a sleep state, the server determines that the device is the first device, and acquires the first device identifier of the first device; and then, if the device identifier of the other device The server has a preset association relationship with the first device identifier, and the server determines that the other device is the second device. Finally, the server controls the second device to reduce the external volume of the second device. In the embodiment of the present application, the reduction of the volume of the external device of the second device having the associated relationship with the first user in the sleep state is achieved.
结合本申请实施例第四方面,在本申请实施例第四方面的第一种实施方式中,该预设关联关系可以包括:第一设备与第二设备处于同一局域网内。在本申请实施例中,具体说明了何为预设关联关系,具有普适性。With reference to the fourth aspect of the embodiments of the present application, in the first implementation manner of the fourth aspect of the embodiments, 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, what is a preset association relationship is specifically described, which is universal.
结合本申请实施例第四方面的第一种实施方式,在本申请实施例第四方面的第二种实施方式中,服务器判断第一设备与第二设备是否为该服务器上某一预设群组内的注册设备,若服务器确定该第一设备与第二设备均为该服务器上某一预设群组内的注册设备,则服务器执行控制第二设备以降低该第二设备外放音量的操作。在本申请实施例中,服务器通过进一步确定第一设备与第二设备属于预设群组来控制第二设备的外放音量,使控制更有针 对性。With reference to the first embodiment of the fourth aspect of the embodiments of the present application, in a second implementation manner of the fourth aspect of the embodiments, the server determines whether the first device and the second device are a preset group on the server. If the server determines that the first device and the second device are both registered devices in a preset group on the server, the server performs control of the second device to reduce the volume of the second device. operating. In the embodiment of the present application, the server further controls that the first device and the second device belong to the preset group to control the external volume of the second device, so that the control has more needles. Right.
结合本申请实施例第四方面,在本申请实施例第四方面的第三种实施方式中,当预设关联关系为第一设备与第二设备处于预置的目标位置范围内时,则该方法还可以包括:服务器判断第一设备与第二设备是否为服务器上预设群组内的注册设备,若服务器确定第一设备与第二设备为服务器上预设群组内的注册设备,则服务器执行控制第二设备以降低该第二设备外放音量的操作。在本申请实施例中,服务器通过进一步确定第一设备与第二设备属于预设群组来控制第二设备的外放音量,使控制更有针对性。With reference to the fourth aspect of the embodiments of the present application, in a third implementation manner of the fourth aspect of the embodiments of the present application, when the preset association relationship is that the first device and the second device are in a preset target location range, The method may further include: determining, by the server, whether the first device and the second device are registered devices in the preset group on the server, and if the server determines that the first device and the second device are registered devices in the preset group on the server, The server performs an operation of controlling the second device to lower the volume of the second device. In the embodiment of the present application, the server controls the external volume 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 a device, as a first device, having a function of detecting a usage state of the first device, and acquiring volume control information sent by the server to reduce the volume of the external device. This function can be implemented in hardware or in hardware by executing the corresponding software. 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 a second device that is externally released by the sound to reduce the volume of the external release. This function can be implemented by hardware or by executing the corresponding software through hardware. 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 a device, where the device, as a first device, may include: a processor, a memory, and an input/output interface, where the program stores program code, where the program code is used to store an operation instruction; The step that the first device needs to perform in the method for controlling the volume of the device in any one of the embodiments of the present application when the processor is used to invoke the program code in the memory.
本申请实施例第八方面提供一种服务器,可以包括:处理器,存储器,和输入输出接口,该存储器中存储有程序代码,该程序代码用于存储操作指令;该处理器用于调用该存储器中的程序代码时执行本申请实施例中任一项设备音量的控制方法中该服务器需要执行的步骤。An eighth aspect of the embodiments of the present application provides a server, which may include: a processor, a memory, and an input/output interface, where the program stores program code, where the program code is used to store an operation instruction; the processor is configured to invoke the memory. The program code is a step that the server needs to perform in the method of controlling the volume of the device in any of the embodiments of the present application.
本申请实施例第九方面提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。需要说明的是,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,用于储存为上述设备所用的计算机软件指令,其包含用于执行上述第一方面至第四方面中任一种为数据节点或者管理节点所设计的程序。A ninth aspect of the embodiments of the present application provides a computer readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform the methods described in the above aspects. It should be noted that the technical solution of the present application or the part that contributes to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. And a computer software instruction for storing the above device, comprising a program designed to execute any one of the above first to fourth aspects for a data node or a management node.
该存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.
本申请实施例第十方面提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如本申请实施例第一方面至第四方面任一可选实现方式中所述的设备音量的控制方法。A tenth aspect of the embodiments of the present application provides a computer program product comprising instructions, when executed on a computer, causing a computer to perform the method as described in any one of the first to fourth aspects of the embodiments of the present application. The method of controlling the volume of the device.
在本申请实施例提供的技术方案中,具有如下有益效果:第一设备检测第一设备的使用状态,该第一设备为服务器上预设群组内的注册设备;当该第一设备使用状态为声音外放时,则该第一设备获取服务器发送的音量控制信息,该音量控制信息为当服务器确定该 第一设备与第二设备具备预设关联关系时发送的信息,该第二设备为监测到目标用户处于睡眠状态的设备,该第二设备为该预设群组内的另一注册设备;最后,该第一设备根据该音量控制信息降低外放音量。在本申请实施例中,当第一设备使用状态为声音外放且与第二设备具备预设关联关系时,则第一设备获取服务器发送的音量控制信息来对自身外放音量进行控制,对与处于睡眠状态的目标用户具有关联关系的第一设备,可以降低第一设备的外放音量,避免对处于睡眠状态的目标用户产生影响。In the technical solution provided by the embodiment of the present application, the first device detects the usage status of the first device, where the first device is a registered device in a preset group on the server; when the first device is in use state When the sound is released, the first device acquires volume control information sent by the server, and the volume control information is determined by the server. The information sent when the first device and the second device are in a preset association relationship, the second device is a device that monitors that the target user is in a sleep state, and the second device is another registered device in the preset group; The first device reduces the external volume according to the volume control information. In the embodiment of the present application, when the usage state of the first device is externally released and has a preset association relationship with the second device, the first device acquires volume control information sent by the server to control the volume of the external release. The first device that is associated with the target user in the sleep state can reduce the volume of the external device and avoid affecting the target user in the sleep state.
附图说明DRAWINGS
图1为本申请实施例中的一个应用场景示意图;FIG. 1 is a schematic diagram of an application scenario in an embodiment of the present application;
图2为本申请实施例中设备音量的控制方法的一个实施例示意图;2 is a schematic diagram of an embodiment of a method for controlling a volume of a device according to an embodiment of the present application;
图3为本申请实施例中服务器获取开启指令的一个示意图;3 is a schematic diagram of a server acquiring an open command according to an embodiment of the present application;
图4a为本申请实施例中手机开启音乐播放器时的一个外放音量示意图;4a is a schematic diagram of an external volume when the mobile phone is turned on by the mobile phone in the embodiment of the present application;
图4b为本申请实施例中手机开启音乐播放器时的另一外放音量示意图;FIG. 4b is a schematic diagram of another external volume when the mobile phone is turned on by the mobile phone in the embodiment of the present application; FIG.
图4c为本申请实施例中手机开启音乐播放器时的另一外放音量示意图;4c is a schematic diagram of another external volume when the mobile phone is turned on by the mobile phone in the embodiment of the present application;
图5为本申请实施例中服务器发送音量提示信息的一个应用场景示意图;FIG. 5 is a schematic diagram of an application scenario of sending volume prompt information by a server according to an embodiment of the present application;
图6为本申请实施例中手机获取到音量提示信息的一种提示方式;FIG. 6 is a schematic manner of prompting a volume prompt information by a mobile phone according to an embodiment of the present application;
图7为本申请实施例中手机获取到音量提示信息的另一提示方式;FIG. 7 is another prompting manner for the mobile phone to obtain the volume prompt information in the embodiment of the present application;
图8为本申请实施例中服务器发送音量降低提示信息的一个应用场景示意图;FIG. 8 is a schematic diagram of an application scenario of a server sending volume reduction prompt information according to an embodiment of the present application;
图9为本申请实施例中手机获取到音量降低提示信息的一种提示方式;FIG. 9 is a schematic diagram of a prompt manner for a mobile phone to obtain a volume reduction prompt message according to an embodiment of the present application;
图10为本申请实施例中手机获取到音量降低提示信息的另一提示方式;FIG. 10 is another prompt manner for the mobile phone to obtain the volume reduction prompt information in the embodiment of the present application;
图11为本申请实施例中手机获取到音量控制信息后自动降低外放音量的一种方式;FIG. 11 is a schematic diagram of automatically reducing an external volume after a mobile phone obtains volume control information according to an embodiment of the present application;
图12为本申请实施例中手机自动降低外放音量后的一种提示方式;FIG. 12 is a schematic manner of the mobile phone automatically reducing the volume of the external release after the embodiment of the present application;
图13为本申请实施例中手机自动降低外放音量后的另一提示方式;FIG. 13 is another prompting manner after the mobile phone automatically reduces the external volume in the embodiment of the present application;
图14为本申请实施例中设备音量的控制方法的另一实施例示意图;FIG. 14 is a schematic diagram of another embodiment of a method for controlling a volume of a device according to an embodiment of the present application;
图15为本申请实施例中设备音量的控制方法的另一实施例示意图;FIG. 15 is a schematic diagram of another embodiment of a method for controlling a volume of a device according to an embodiment of the present application;
图16为本申请实施例设备音量的控制方法的一个应用场景示意图;FIG. 16 is a schematic diagram of an application scenario of a method for controlling a volume of a device according to an embodiment of the present disclosure;
图17为本申请实施例中设备的一个实施例示意图;17 is a schematic diagram of an embodiment of a device in an embodiment of the present application;
图18为本申请实施例中服务器的一个实施例示意图;FIG. 18 is a schematic diagram of an embodiment of a server in an embodiment of the present application;
图19为本申请实施例中设备的另一实施例示意图;FIG. 19 is a schematic diagram of another embodiment of a device in an embodiment of the present application;
图20为本申请实施例中服务器的另一实施例示意图;20 is a schematic diagram of another embodiment of a server in an embodiment of the present application;
图21为本申请实施例中设备的另一实施例示意图;Figure 21 is a schematic diagram of another embodiment of the device in the embodiment of the present application;
图22为本申请实施例中服务器的另一实施例示意图。FIG. 22 is a schematic diagram of another embodiment of a server in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本发明的实施例进行描述。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 with them, such as mobile phones, smart bracelets, tablet computers, etc. These devices generally have a sound external release function. Taking a mobile phone as an example, people can call the phone through the external sound of the mobile phone. Words, play music, watch videos, and more. However, in some application scenarios (such as homes, hospital wards, office lunch breaks, etc.), the sudden sound of these devices will disturb the people who are resting in the above scenes. The current solution is as follows: The device can obtain the sleep information of the user within the detection range of the device. For example, the algorithm may be used to calculate and calculate the user's physical data according to the algorithm of the device owner or the device system, and determine the user. The current sleep information (such as sleep, wake-up, etc.), when it is determined that the user is in sleep, the device controls the volume according to the sleep information. However, this way of controlling the volume of the device can only control itself. If there are multiple devices in the same application scenario, the volume of other devices cannot be controlled.
为了解决上述问题,本申请实施例提供了如下技术方案:服务器先确定处于睡眠状态的第一用户,该第一用户与第一设备对应;同时服务器监测该服务器上预设群组里的注册设备的使用状态;当服务器确定注册设备中的与第一设备有第一预设关联关系的第二设备的使用状态为音量外放时,则服务器控制第二设备以降低第二设备的外放音量。在本申请实施例中,服务器通过监测预设群组里注册设备的使用状态、并根据第一预设关联关系来确定需要控制外放音量的第二设备,以实现对处于睡眠状态的第一用户具有关联关系的第二设备的外放音量的降低。In order to solve the above problem, the embodiment of the present application provides the following technical solution: the server first determines the first user in the sleep state, and the first user corresponds to the first device; and the server monitors the registered device in the preset group on the server. a usage state; when the server determines that the usage state of the second device having the first preset association relationship with the first device in the registered device is the volume release, the server controls the second device to reduce the external volume of the second device . In the embodiment of the present application, the server determines the usage status of the registered device in the preset group, and determines, according to the first preset association relationship, the second device that needs to control the volume of the external release, so as to achieve the first state in the sleep state. The lowering of the volume of the external device of the second device to which the user has an association relationship.
在本申请实施例中,所应用的场景如图1所示,服务器与多个具有声音外放功能的设备建立连接。其中,该设备可以是包括手机、平板电脑、个人电脑、音箱等智能终端设备,也可以是包括智能手环、智能手表等智能可穿戴设备,具体此处对设备不做限定。服务器上部署有服务器程序,与各个设备之间可以进行通信连接。该服务器可以是传统意义上的物理服务器,也可以是云服务器,具体此处不做限定。In the embodiment of the present application, the applied scenario is as shown in FIG. 1 , and the server establishes a connection with a plurality of devices having a sound external release function. The device may be a smart terminal device including a mobile phone, a tablet computer, a personal computer, a speaker, or the like, or may be a smart wearable device including a smart wristband or a smart watch, and the device is not limited herein. A server program is deployed on the server, and a communication connection can be made between each device. The server may be a physical server in a traditional sense, or may be a cloud server, which is not limited herein.
本申请实施例提供的技术方案有多种实施方式,下面分别进行介绍。The technical solutions provided by the embodiments of the present application have various implementation manners, which are separately introduced below.
实施例一:服务器监测注册设备的使用状态,若确定处于睡眠状态的第一用户对应的第一设备与声音外放的第二设备具备第一预设关联关系,则控制第二设备降低第二设备的外放音量。Embodiment 1: The server monitors the usage status of the registered device. If the first device corresponding to the first user in the sleep state and the second device external to the sound have the first preset association relationship, the second device is controlled to decrease the second device. The volume of the device.
如图2所示,本申请实施例中设备音量的控制方法的一个实施例: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、预设群组内的注册设备监测用户睡眠情况;201. The registered device in the preset group monitors the user's sleep condition;
预设群组内的注册设备是指用户在服务器上预置的群组内已经进行注册或添加的设备,具体过程可以是:用户在服务器上注册,并选择群组,例如:服务器上已存在预设群组“组1”、“组2”、“组3”,若用户A想要加入已存在用户B和用户C的“组1”,则用户A需要先在服务器上进行身份注册,然后选择“组1”加入,加入后用户A、用户B、用户C就组成一个群组“组1”;若用户A想要独自注册一个群组“组4”,则用户可以在服务器上对预设群组“组4”进行注册,并添加其他用户,如添加用户D和用户E,这样用户A、用户D、用户E就组成一个群组“组4”。用户对群组进行预先设置后,就可以更新(包括注册、添加、删除等操作)该预设群组内的注册设备,例如:用户A在“组4”中添加手机a、平板电脑a、智能手环a,用户B添加智能手表b、手机b,用户C添加个人电脑c,删除手机c,则手机a、平板电脑a、智能手环a、智能手表b、手机b、个人电脑c就为“组4”中添加的注册设备,手机c则为从“组4”中被删除的注册设备。需要说明的是,用户在预设群组内更新注册设备时,服务器可以获取更新的注册设备信息,该注册设备信息中 至少包含能够唯一识别该注册设备的标识信息,可以是注册设备的MAC地址,也可以是注册设备的设备序列号,还可以是注册设备的图形识别码,具体此处不做限定。The registered device in the preset group refers to the device that has been registered or added by the user in the group preset on the server. The specific process may be: the user registers on the server and selects a group, for example, the server already exists. Preset group "Group 1", "Group 2", "Group 3". If User A wants to join "Group 1" of User B and User C, User A needs to register the identity on the server first. Then select "Group 1" to join. After joining, User A, User B, and User C form a group "Group 1"; if User A wants to register a group "Group 4" by itself, the user can be on the server. The preset group "Group 4" is registered, and other users are added, such as adding user D and user E, so that user A, user D, and user E form a group "group 4". After the user presets the group, the user can update (including registration, adding, deleting, etc.) the registered device in the preset group. For example, user A adds mobile phone a and tablet a in "group 4". Smart bracelet a, user B adds smart watch b, mobile phone b, user C adds personal computer c, deletes mobile phone c, then mobile phone a, tablet a, smart bracelet a, smart watch b, mobile phone b, personal computer c For the registered device added in "Group 4", the mobile phone c is the registered device that is deleted from "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 is At least the identifier information of the registered device may be the MAC address of the registered device, or the device serial number of the registered device, and may be a graphic identifier of the registered device, which is not limited herein.
预设群组内的注册设备监测用户的睡眠情况可以包括但不限于以下几种情形:The registered device in the preset group monitors the user's sleep condition, which may include, but is not limited to, the following situations:
A、当服务器满足预设触发条件时,向注册设备发送睡眠状态变化信息,以使得注册设备根据接收到的睡眠状态变化信息监测用户的睡眠情况;A. When the server meets the preset trigger condition, sending the sleep state change information to the registered device, so that the registered device monitors the sleep condition of the user according to the received sleep state change information.
用户在服务器上确定了预设群组以及预设群组内的注册设备之后,若服务器满足预设触发条件,则服务器会向注册设备发送睡眠状态变化信息,以使得注册设备可以根据睡眠状态变化信息监测注册设备对应的用户睡眠情况。需要说明的是,服务器向注册设备发送睡眠状态变化信息的目的是触发注册设备监测用户的睡眠情况并且当某一注册设备监测到用户进入睡眠状态时向服务器进行反馈,睡眠状态变化信息可以是第一信息,也可以是第二信息,只要该信息能够触发注册设备监测用户的睡眠情况即可,具体此处不做限定。具体地,可以认为当服务器的系统时钟达到预设时间点时,就确定服务器满足预设触发条件,例如:用户A预设当时间点达到2017年10月23日晚上11:00时,服务器向预设群组内的注册设备发送睡眠状态变化信息,则当服务器的系统时间达到2017年10月23日晚上11:00时,服务器就会自动执行发送睡眠状态变化信息的操作;此外,还可以认为当服务器获取到开启指令时,就确定服务器满足预设触发条件,以图3的手机为例:用户B(假设用户名为kevin)的手机b已在服务器上已注册并加入群组“组4”,“组4”中还有用户A,用户C、用户D,用户A在“组4”中添加了手机a、平板电脑a,用户C添加了智能手表c、手机c,用户D添加电脑d、智能手环d。若用户B此时(某日下午1:00)想要午休,用户B就可以在手机b中打开“我的群组”,选择在属于“组4”的注册设备手机b中确定开启对应的“组睡眠模式”,手机b将该“组睡眠模式”的开启指令发送至服务器,服务器获取到该“组睡眠模式”的开启指令后向预设群组内“组4”的所有注册设备(即手机a、平板电脑a、手机b、智能手表c、手机c、电脑d、智能手环是d)发送睡眠状态变化信息。此处对服务器满足的预设触发条件不做限定。需要注意的是,服务器向注册设备发送睡眠状态变化信息可以是服务器先获取预设群组内注册设备的标识信息,再通过该标识信息确定对应的注册设备后向注册设备发送睡眠状态变化信息。还需要说明的是,用户可以在任何一台该用户有权限进行操作的上述预设群组内的注册设备中输入对应的开启指令,以使得服务器向该预设群组内的所有注册设备发送睡眠状态变化信息用以注册设备监测用户的睡眠情况。还需要说明的是,可以是如图3所示的以注册设备向用户以文字提示的方式让用户进行确认是否向服务器发送开启指令,也可以是语音提示的方式让用户进行确认是否发生开启指令,还可以是用户直接文字输入或语音输入对应的开启指令,该开启指令的输入还可以是肢体动作识别,具体此处不做限定。After the user determines the preset group and the registered device in the preset group on the server, if the server meets the preset trigger condition, the server sends the sleep state change information to the registered device, so that the registered device can change according to the sleep state. The information monitors the user's sleep condition corresponding to the registered device. It should be noted that the purpose of the server sending the sleep state change information to the registration device is to trigger the registration device to monitor the sleep condition of the user and feedback to the server when the registration device detects that the user enters the sleep state, and the sleep state change information may be The information may be the second information, as long as the information can trigger the registration device to monitor the sleep condition of the user, which is not limited herein. Specifically, it can be considered that when the system clock of the server reaches the preset time point, it is determined that the server meets the preset trigger condition, for example, the user A presets that when the time point reaches 11:00 pm on October 23, 2017, the server The registered device in the preset group sends the sleep state change information, and when the system time of the server reaches 11:00 pm on October 23, 2017, the server automatically performs the operation of sending the sleep state change information; in addition, It is considered that when the server obtains the open command, it is determined that the server meets the preset trigger condition, taking the mobile phone of FIG. 3 as an example: the mobile phone b of the user B (assume the user name is kevin) has been registered on the server and joined the group "group". 4", "Group 4" also includes user A, user C, user D, user A adds mobile phone a, tablet a in "group 4", user C adds smart watch c, mobile phone c, user D adds Computer d, smart bracelet d. If user B wants a lunch break at 1:00 pm (personal day 1:00), user B can open "My Group" in mobile phone b, and select to open the corresponding one in the registered device mobile phone b belonging to "Group 4". "Group sleep mode", the mobile phone b sends the "group sleep mode" open command to the server, and the server acquires all the registered devices of the "group 4" in the preset group after obtaining the "group sleep mode" open command ( That is, the mobile phone a, the tablet computer a, the mobile phone b, the smart watch c, the mobile phone c, the computer d, the smart bracelet are d) send the sleep state change information. The preset trigger conditions that the server satisfies are not limited here. It is to be noted that the server sends the sleep state change information to the registered device. The server may first obtain the identifier information of the registered device in the preset group, and then determine the corresponding registered device by using the identifier information, and then send the sleep state change information to the registered device. It should be noted that the user can input a corresponding open command in any registered device in the preset group that the user has permission to operate, so that the server sends to all registered devices in the preset group. The sleep state change information is used to register the device to monitor the user's sleep condition. It should be noted that, as shown in FIG. 3, the user may be prompted by the registered device to prompt the user to send an open command to the server, or may be a voice prompt to allow the user to confirm whether the open command is generated. The opening instruction corresponding to the direct text input or the voice input of the user may also be used, and the input of the opening instruction may also be a limb motion recognition, which is not limited herein.
注册设备获取到服务器发送的睡眠状态变化信息之后,将监测用户的睡眠情况。After the registered device obtains the sleep state change information sent by the server, the user's sleep condition is monitored.
B、注册设备时刻监测用户的睡眠情况。B. The registered device monitors the user's sleep at all times.
注册设备除了可以通过获取服务器发送的睡眠状态变化信息来触发执行监测用户睡眠情况的操作之外,还可以是注册设备在开启后就时刻监测用户的睡眠情况,例如:智能手环、智能手表等智能可穿戴设备就可以一天24小时监测用户的睡眠情况。如图3所示的智 能手表c和智能手环d除了可以在获取到服务器发送的睡眠状态变化信息后再监测用户的睡眠情况,也可以是在没有获取服务器发送的睡眠状态变化信息就时刻监测用户的睡眠情况,具体此处不做限定。In addition to the operation of monitoring the user's sleep condition by acquiring the sleep state change information sent by the server, the registered device may also monitor the user's sleep condition after the device is turned on, for example, a smart bracelet, a smart watch, etc. Smart wearables monitor the user's sleep 24 hours a day. As shown in Figure 3 The watch c and the smart bracelet d can monitor the user's sleep condition after acquiring the sleep state change information sent by the server, or can monitor the user's sleep condition without acquiring the sleep state change information sent by the server. There is no limit here.
202、设备1监测到第一用户处于睡眠状态;202. The device 1 monitors that the first user is in a sleep state;
若服务器上的某一注册设备监测到用户处于睡眠状态,则服务器确定该监测到用户处于睡眠状态的注册设备为设备1(也可称为第一设备),被设备1监测到处于睡眠状态的该用户可以称为第一用户。If a registered device on the server detects that the user is in a sleep state, the server determines that the registered device that detects that the user is in a sleep state is the device 1 (also referred to as a first device), and is monitored by the device 1 to be in a sleep state. This user can be referred to as the first user.
需要说明的是,注册设备如何监测用户的睡眠情况以及如何判定用户处于睡眠状态可以通过第三方的技术方案实现,例如:佩戴在用户身上的智能手环、智能手表等智能可穿戴设备可以采集用户体征信息(如:心率信息)进而判断用户是否处于睡眠状态;手机、平板电脑等非可穿戴设备则可以声音检测来判断用户是否处于睡眠状态,也可以通过检测用户的动作(如:一定时间内是否移动)来判断用户是否处于睡眠状态,还可以通过上述声音检测与动作检测结合的方式来判断用户是否处于睡眠状态,具体此处不做限定。It should be noted that how the registered device monitors the user's sleep condition and how to determine that the user is in a sleep state can be implemented by a third-party technical solution, for example, a smart wristband worn on the user, a smart watch, or the like can collect the user. The vital signs information (such as heart rate information) further determines whether the user is in a sleep state; non-wearable devices such as mobile phones and tablet computers can detect whether the user is in a sleep state by sound detection, or can detect the user's actions (eg, within a certain period of time). Whether it is moving or not to determine whether the user is in a sleep state or not, and whether the user is in a sleep state by means of the combination of the above-mentioned sound detection and motion detection, which is not limited herein.
203、设备1向服务器发送第一反馈信息;203. The device 1 sends the first feedback information to the server.
当注册设备中的设备1监测到第一用户处于睡眠状态时,将向服务器发送第一反馈信息,该第一反馈信息可以用于向服务器指示设备1监测到第一用户处于睡眠状态。When the device 1 in the registered device detects that the first user is in the sleep state, the first feedback information is sent to the server, and the first feedback information may be used to indicate to the server that the device 1 detects that the first user is in a sleep state.
204、服务器确定注册设备中的设备1的相关信息;204. The server determines related information of the device 1 in the registered device.
服务器获取到设备1发送的第一反馈信息后,确定设备1的相关信息,设备1的相关信息可以包括但不限于:设备1对应的第一用户的位置信息或设备1的网络信息(如,设备1所处局域网信息)。After the server obtains the first feedback information sent by the device 1, the related information of the device 1 is determined. The related information of the device 1 may include, but is not limited to, location information of the first user corresponding to the device 1 or network information of the device 1 (eg, The LAN information of device 1).
需要说明的是,服务器获取设备1的相关信息可以是服务器获取到设备1发送的第一反馈信息之后,向设备1发送获取请求,设备1接收到该获取请求后,将设备1的相关信息发送至服务器,以使得该服务器获取并保存设备1的相关信息,服务器获取设备1的相关信息还可以是当设备1向服务器发送第一反馈信息时,将设备1的相关信息携带在第一反馈信息中,服务器获取到该第一反馈信息之后直接从该第一反馈信息中提取设备1的相关信息,具体此处不做限定。It should be noted that after the server obtains the first information sent by the device 1, the server sends an acquisition request to the device 1, and after receiving the acquisition request, the device 1 sends the related information of the device 1. To the server, so that the server obtains and saves the related information of the device 1, and the server obtains the related information of the device 1 when the device 1 sends the first feedback information to the server, and carries the related information of the device 1 in the first feedback information. The information about the device 1 is directly extracted from the first feedback information after the server obtains the first feedback information, which is not limited herein.
还需要说明的是,第一用户的位置信息,可以是设备1所处位置信息,也可以是设备1通过计算获得的第一用户所处位置信息,具体此处不做限定。下面针对第一用户的位置信息分别进行说明:It should be noted that the location information of the first user may be the location information of the device 1 or the location information of the first user obtained by the device 1 , which is not limited herein. The following describes the location information of the first user separately:
A、第一用户的位置信息是设备1所处位置信息;A. The location information of the first user is location information of the device 1;
若第一用户的位置信息是设备1所处位置信息,例如,智能手环、智能手表等智能可穿戴设备,由于智能可穿戴设备是佩戴在第一用户身上,因此,就可以将智能可穿戴设备所处位置信息作为第一用户的位置信息。可以是设备1利用自身传感器和定位服务器进行通信获取到设备1所处位置信息,例如利用6PS传感器获取设备1所处位置信息;也可以是通过设备1的网络接入信息获取设备1所处位置信息,具体此处不做限定。If the location information of the first user is location information of the device 1, for example, a smart wearable device such as a smart bracelet or a smart watch, since the smart wearable device is worn on the first user, the smart wearable can be The location information of the device is used as the location information of the first user. The device 1 can obtain the location information of the device 1 by using the self-sensor and the positioning server, for example, acquiring the location information of the device 1 by using the 6PS sensor, or acquiring the location of the device 1 by using the network access information of the device 1. Information, specifically not limited here.
需要说明的是,若设备1是手机、平板电脑等非可穿戴设备,那么也可以将该非可穿戴设备所处位置信息作为第一用户的位置信息,具体此处不做限定。 It should be noted that, if the device 1 is a non-worn device such as a mobile phone or a tablet computer, the location information of the non-wearable device may be used as the location information of the first user, which is not limited herein.
这里还需要注意的是,设备如何确定自身所处位置信息可以通过第三方的技术方案实现,不是本申请实施例讨论和保护的对象,因此此处不做详细说明。It should be noted here that how the device determines its location information can be implemented by a third-party technical solution, which is not an object of discussion and protection in the embodiments of the present application, and therefore will not be described in detail herein.
B、第一用户的位置信息是设备1通过计算获得的第一用户所处位置信息。B. The location information of the first user is the location information of the first user obtained by the device 1 through calculation.
若第一用户的位置信息是设备1通过计算获取的第一用户所处位置信息,例如上述所述的手机、平板电脑等非可穿戴设备,则可以利用非可穿戴设备自身的传感器获取第一用户的声音强度、动作特性等计算得到第一用户所处位置,也可以是非可穿戴设备和对应第一用户的穿戴式设备进行通信获取到第一用户所处位置信息,具体此处不做限定。If the location information of the first user is the location information of the first user acquired by the device 1, for example, the non-wearable device such as the mobile phone or the tablet computer described above, the sensor of the non-wearable device itself may be used to acquire the first The user's voice strength, action characteristics, and the like are calculated to obtain the location of the first user, and the non-wearable device and the wearable device corresponding to the first user can obtain the location information of the first user by using the wearable device, which is not limited herein. .
205、服务器监测预设群组内注册设备的使用状态;205. The server monitors a usage status of the registered device in the preset group.
服务器确定设备1的相关信息之后(如设备1所处位置信息、设备1对应的第一用户所处位置信息或设备1所处局域网信息等),将监测预设群组内注册设备的使用状态,可以是服务器周期性获取注册设备的使用状态,例如,服务器周期性向注册设备发送获取请求,注册设备根据该获取请求向服务器上报自身的使用状态,也可以是注册设备周期性主动上报各自的使用状态,还可以是当注册设备使用状态发生变化时(如,注册设备由声音外放变为静音)自动向服务器上报变化后的使用状态,具体此处不做限定。After the server determines the related information of the device 1 (such as 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 , etc.), the usage status of the registered device in the preset group will be monitored. The server may periodically obtain the usage status of the registered device. For example, the server periodically sends an acquisition request to the registration device, and the registration device reports the usage status to the server according to the acquisition request, or the registration device periodically reports the usage status. The state of the device can be automatically reported to the server after the change of the state of use of the registered device (for example, the registered device is muted by the sound), which is not limited herein.
206、当注册设备中的设备2的使用状态为声音外放时,向服务器发送第二反馈信息;206. When the usage status of the device 2 in the registered device is a sound external release, sending the second feedback information to the server;
在服务器监测预设群组内注册设备的过程中,若监测到某一注册设备的使用状态为声音外放,则服务器确定该声音外放的注册设备为设备2(也可称为第二设备)。正在使用设备2的用户可以称为第二用户。当注册设备中的设备2的使用状态为声音外放时,将向服务器发送第二反馈信息,该第二反馈信息可以用于向服务器指示设备2的声音正在外放。In the process of the server monitoring the device registered in the preset group, if the usage status of the registered device is monitored as the sound external release, the server determines that the registered device external to the sound is the device 2 (also referred to as the second device) ). A user who is using device 2 can be referred to as a second user. When the usage status of the device 2 in the registered device is the sound external release, the second feedback information is sent to the server, and the second feedback information can be used to indicate to the server that the sound of the device 2 is being externally released.
需要说明的是,在本申请实施例中,设备的使用状态为声音外放包括但不限于:设备正处于声音外放的状态,例如,用户正在使用手机的声音外放的形式观看视频;设备正进入声音外放的状态,例如,用户利用手机声音外放的形式观看视频时,一开始是静音模式,用户发现后将静音关闭,加大音量,或者用户开始用耳机与手机进行连接来观看视频,后来把耳机取掉直接用手机声音外放的形式进行观看。It should be noted that, in the embodiment of the present application, the use state of the device is that the sound is externally included, but is not limited to: the device is in a state of being put out of the sound, for example, the user is watching the video in the form of using the sound of the mobile phone; It is entering the state of external sound release. For example, when the user watches the video by using the sound of the mobile phone, it is initially in the silent mode. After the user finds it, the mute is turned off, the volume is increased, or the user starts to connect with the mobile phone by using the earphone to watch. Video, then remove the headset and watch it directly in the form of the phone's sound.
需要说明的是,设备2的使用状态为声音外放可以包括但不限于以下几种情形:It should be noted that the use state of the device 2 for sound external release may include, but is not limited to, the following situations:
A、只要设备2的声音正在外放,即确定为设备2的使用状态为声音外放;A, as long as the sound of the device 2 is being released, it is determined that the state of use of the device 2 is externally placed;
若设备2的声正在外放,不管设备2外放的声音的音量为多少,均确定设备2的使用状态为声音外放。以图4a以及图4b的手机为例进行示意:若手机开启音乐播放器“聆听音乐”,外放音量不管是如图4a显示的最大播放音量的10%,还是如图4b显示为最大的播放音量的100%,均确定设备2的使用状态为声音外放。If the sound of the device 2 is being released, regardless of the volume of the sound of the device 2, it is determined that the state of use of the device 2 is external. Take the mobile phone of FIG. 4a and FIG. 4b as an example: if the mobile phone starts the music player “listening to music”, the external volume is 10% of the maximum playing volume as shown in FIG. 4a, or the maximum playing as shown in FIG. 4b. 100% of the volume, it is determined that the use state of the device 2 is the sound external release.
B、设备2的声音正在外放,且外放声音的音量不低于预设音量值时,即确定为设备2的使用状态为声音外放。B. The sound of the device 2 is being released, and when the volume of the external sound is not lower than the preset volume value, it is determined that the use state of the device 2 is the sound external release.
若设备2的声音正在外放,且只有设备2外放的声音的音量不低于预设音量值时,才确定设备2的使用状态为声音外放。例如,预设音量值为最大音量的30%,则图4a对应的手机外放音量为最大播放音量的10%,确定该手机的使用状态不是声音外放;图4b对应的手机外放音量为最大音量的100%,确定该手机的使用状态是声音外放;图4c对应的手机外放音量为最大音量的30%,确定该手机的使用状态是声音外放。 If the sound of the device 2 is being released, and only the volume of the sound of the device 2 is not lower than the preset volume value, it is determined that the use state of the device 2 is the sound external release. For example, if the preset volume value is 30% of the maximum volume, the external volume of the mobile phone corresponding to FIG. 4a is 10% of the maximum playback volume, and it is determined that the usage state of the mobile phone is not externally placed; the external volume of the mobile phone corresponding to FIG. 4b is The maximum volume is 100%, and it is determined that the use state of the mobile phone is externally placed; the external volume of the mobile phone corresponding to FIG. 4c is 30% of the maximum volume, and it is determined that the use state of the mobile phone is sound external release.
需要说明的是,图4a至图4c中的音量的大小是以进度条进行表示,还可以是用百分比或其他形式进行表示,图4a至图4c中仅为示意,具体此处不做限定。还需要说明的是,对于不具备显示屏的智能手环、智能指环等智能设备,音量的大小还可以是以语音播报的方式进行告知,具体此处不做限定。It should be noted that the volume of the volume in FIG. 4a to FIG. 4c is represented by a progress bar, and may be expressed by a percentage or other forms. The illustrations in FIG. 4a to FIG. 4c are only schematic, and are not limited herein. It should be noted that, for a smart device such as a smart wristband or a smart finger ring that does not have a display screen, the volume of the volume can also be notified by means of voice broadcast, which is not limited herein.
207、服务器确定注册设备中设备2的相关信息;207. The server determines related information of the device 2 in the registered device.
服务器获取到设备2发送的第二反馈信息后,确定注册设备中的设备2并获取设备2的相关信息,设备2的相关信息可以包括但不限于:设备2所处位置信息或设备2的网络信息(如,设备2所处局域网信息)。After obtaining the second feedback information sent by the device 2, the server determines the device 2 in the device and obtains the related information of the device 2. The related information of the device 2 may include, but is not limited to, the location information of the device 2 or the network of the device 2. Information (eg, LAN information where device 2 is located).
需要说明的是,服务器获取设备2的相关信息可以是服务器获取到设备2发送的第二反馈信息之后,向设备2发送获取请求,设备2接收到该获取请求后,将设备2的相关信息发送至服务器,以使得该服务器获取并保存设备2的相关信息,服务器获取设备2的相关信息还可以是当设备2向服务器发送第二反馈信息时,将设备2的相关信息携带在第二反馈信息中,服务器获取到该第二反馈信息之后直接从该第二反馈信息中提取设备2的相关信息,具体此处不做限定。It should be noted that after the server obtains the second information sent by the device 2, the server sends an acquisition request to the device 2, and after receiving the acquisition request, the device 2 sends the related information of the device 2. To the server, so that the server obtains and saves the related information of the device 2, and the server obtains the related information of the device 2, and may also carry the related information of the device 2 in the second feedback information when the device 2 sends the second feedback information to the server. The information about the device 2 is directly extracted from the second feedback information after the server obtains the second feedback information, which is not limited herein.
还需要说明的是,当设备2的相关信息为设备2所处位置信息时,设备2将所处位置信息发送至服务器之后,若设备2所处位置发生了变化,则设备2将变化后的设备2所处位置信息发送至服务器,以使得服务器对设备2所处位置信息进行更新。It should also be noted that when the related 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 will change. The location information of the device 2 is sent to the server, so that the server updates the location information of the device 2.
208、服务器判断设备1与设备2是否具有第一预设关联关系,若是,则执行步骤209;208, the server determines whether the device 1 and the device 2 have a first preset association relationship, and if so, step 209;
服务器获取到设备2的相关信息后,将判断设备1与设备2是否具有第一预设关联关系。After the server obtains the related information of the device 2, it is determined whether the device 1 and the device 2 have the first preset association relationship.
A、若设备1及设备2的相关信息分别为设备1对应的第一用户的位置信息以及设备2所处位置信息;A. If the information about 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;
若服务器获取的设备1的相关信息为设备1对应的第一用户的位置信息,服务器获取的设备2的相关信息为设备2所处位置信息,则服务器判断设备1与设备2是否具有第一预设关联关系具体可以为:服务器判断第一用户的位置信息与设备2所处位置信息(可以用Lx表示第一用户与设备2之间的距离)是否在第一预设距离范围(第一预设距离范围可用L1表示)内,若服务器确定Lx在L1内,则确定设备1与设备具备第一预设关联关系,服务器将执行步骤209。If the information about the device 1 obtained by the server is the location information of the first user corresponding to the device 1, and the information about the device 2 acquired by the server is the location information of the device 2, the server determines whether the device 1 and the device 2 have the first pre- The specific relationship may be: the server determines whether the location information of the first user and the location information of the device 2 (which may indicate the distance between the first user and the device 2 by using Lx) are in the first preset distance range (first pre-predetermined range) provided L 1 represents a distance range is available), the server determines if Lx in L 1, the apparatus includes a determination device 1 and the first predetermined relationship, the server performs the step 209.
需要注意的是,L1可以是服务器系统默认的值,例如:0<L1<3m(m为单位:米)、L1≤5m等,也可以是用户自行设置的值,具体此处不做限定。It should be noted that L 1 may be the default value of the server system, for example: 0 < L 1 < 3m (m is unit: m), L 1 ≤ 5m, etc., or may be a value set by the user, specifically not here. Make a limit.
需要说明的是,若服务器确定Lx不在L1内,则服务器还可以进一步判断Lx是否在第二预设距离范围(第二预设距离范围可用L2表示)内,L1中的最大取值小于L2中的最小取值,且L1∩L2=0,即L1与L2不存在交集。还需要说明的是,L2也可以是服务器系统默认的值,例如:L2>3m、5m<L2<10m等,也可以是用户自行设置的值,具体此处不做限定。例如:若L1≤4m,则L2可以是4m<L2<7m,也可以是4m<L2<10m,具体此处不做限定。Note that the server determines if Lx is not within the L 1, the server may further determines whether Lx (a second predetermined distance represents the range of available L 2) at a second predetermined distance range, L 1 is the maximum value It is less than the minimum value in L 2 , and L 1 ∩L 2 =0, that is, there is no intersection between L 1 and L 2 . It should be noted that L 2 may also be a default value of the server system, for example, L 2 >3m, 5m<L 2 <10m, etc., and may also be a value set by the user, which is not limited herein. For example: If L 1 ≤4m, then L 2 may be 4m <L 2 <7m, it may be 4m <L 2 <10m, here is not limited particularly.
这里还需要补充说明的是,若服务器确定Lx不在L1内但是在L2内,则服务器可以向设备2发送音量降低提示信息,音量降低提示信息用于提示正在使用设备2的用户降低对 设备2的外放音量。服务器如何向设备2发送音量降低提示信息,可以包括但不限于以下几种情形:There is also need to add that, if the server determines it is within L 2, the server may prompt information to reduce the volume of the transmission device 2 is not within Lx L 1, volume down device 2 prompts the user to prompt the equipment is being used to reduce 2 external volume. How the server sends the volume reduction prompt information to the device 2 may include, but is not limited to, the following situations:
a、Lx∈L2,Lx不变或Lx与时间t呈正相关;a, Lx ∈ L 2 , Lx is unchanged or Lx is positively correlated with time t;
以图5为例进行示意:假设已设置L1≤4m,4m<L2<7m,设备1为佩戴在用户1(用户1正处于睡眠状态)身上的智能手环,设备2为用户2正在使用的手机,用户1的位置与用户2的位置之间的距离用Lx表示,若此时用户2打开手机用外放的声音观看视频,此时手机的使用状态已根据上述方式确定为声音外放,且服务器确定Lx=6m,可知Lx∈L2,此时服务器可以向设备2发送音量降低提示信息,包括但不限于以下几种形式:a、可以如图6所示,暂停手机的视频播放,并在播放页面显示“附近有睡眠用户,请调节音量大小”或类似信息,以提醒正在观看视频的用户2调节音量大小;b、也可以如图7所示,暂停手机的视频播放,并通过小于预设音量值的声音语音提示“附近有睡眠用户,请调节音量大小”或类似信息以提醒正在观看视频的用户2调节音量大小。需要说明的是,对于不具备显示屏的智能手环、智能指环等智能设备,则可以通过上述b中示意的语音提示的方式对用户进行提示,具体此处不做限定。还需要说明的是,用户2调节音量的大小可以是降低音量直至服务器不再进行提示,也可以是静音,还可以是用户2直接关闭涉及到声音外放的应用或功能,具体此处不做限定。Taking FIG. 5 as an example, it is assumed that it is assumed that L 1 ≤ 4m, 4m < L 2 <7m, device 1 is a smart wristband worn on user 1 (user 1 is in a sleep state), and device 2 is user 2 The mobile phone used, the distance between the location of the user 1 and the location of the user 2 is represented by Lx. If the user 2 opens the mobile phone to watch the video with the external sound, the usage state of the mobile phone is determined to be outside the sound according to the above manner. The server determines that Lx=6m, and the Lx∈L 2 is known. At this time, the server may send the volume reduction prompt information to the device 2, including but not limited to the following forms: a. The video of the mobile phone may be suspended as shown in FIG. 6. Play, and display "There is a sleep user nearby, please adjust the volume" or similar information on the play page to remind the user who is watching the video 2 to adjust the volume; b, as shown in Figure 7, pause the video playback of the phone, And through the voice voice prompt less than the preset volume value, "there is a sleep user nearby, please adjust the volume" or the like to remind the user 2 who is watching the video to adjust the volume. It should be noted that, for a smart device such as a smart wristband or a smart ring that does not have a display screen, the user may be prompted by the voice prompt indicated in the above b, which is not limited herein. It should also be noted that the size of the volume adjusted by the user 2 may be reduced until the server no longer prompts, or may be muted, or the user 2 directly closes the application or function related to the sound release, specifically not here. limited.
图5示意的是用户2已在L2内,且用户2的位置不变,即Lx不随时间t的增加而变化;若用户2已在L2内,且用户2的位置随着时间t的增加而变化,变化的规律为:Lx随着时间t的增加而增大,可以理解为用户2拿着手机正在远离用户1,例如图8所示:假设图5所示的用户2在t1=13:00的时刻,拿着手机从第一位置的客厅走到第二位置的厨房,用户2从第一位置走向第二位置的路径上的每一个位置都是远离用户1的,若用户2走到厨房的时刻为t2=13:01,则Lx(t2)>Lx(t1),只要用户2在移动的过程中,Lx始终是在L2内,则服务器向设备2发送音量降低提示信息与图6以及图7应的提示方式类似,具体此处不予赘述。Figure 5 illustrates that user 2 is already within L 2 and that the location of user 2 is unchanged, i.e., Lx does not change with time t; if user 2 is already within L 2 and the location of user 2 is over time t Increase and change, the law of change is: Lx increases with time t, it can be understood that user 2 is holding mobile phone away from user 1, for example, as shown in Figure 8: assume that user 2 shown in Figure 5 is at t1= At 13:00, the mobile phone is moved from the living room in the first position to the kitchen in the second position, and each position on the path of the user 2 from the first position to the second position is away from the user 1, if the user 2 into the kitchen for the time t2 = 13: 01, then Lx (t2)> Lx (t1 ), as long as the user 2 in the process of moving, Lx is always within L 2, the server 2 transmits prompt information to reduce the volume of the device The manners of the presentations in FIG. 6 and FIG. 7 are similar, and are not specifically described herein.
b、Lx∈L2,Lx与时间t呈反相关。b, Lx ∈ L 2 , Lx is inversely related to time t.
依然以图8为例进行说明:但用户2从第二位置的厨房返回到第一位置的客厅时,可知用户2从第二位置走向第一位置的路径上的每一个位置都是在向用户1靠近的,即随着时间t的增大,Lx是减小的,此时服务器可以向设备2发送音量降低提示信息,包括但不限于以下几种形式:a、可以如上述图6所示的方式进行提示,具体此处不予赘述;b、也可以是如上述图7所示的方式进行提示,具体此处不予赘述;c、还可以是如图9所示,暂停手机的视频播放,并在播放页面显示“您正在向睡眠用户靠近,请调节音量大小”或类似信息,以提醒正在观看视频的用户2调节音量大小;d、还可以是如图10所示,暂停手机的视频播放,并通过小于预设音量值的声音语音提示“您正在向睡眠用户靠近,请调节音量大小”或类似信息以提醒正在观看视频的用户2调节音量大小。需要说明的是,对于不具备显示屏的智能手环、智能指环等智能设备,则可以通过上述b或d中示意的语音提示的方式对用户进行提示,具体此处不做限定。Still taking FIG. 8 as an example: when the user 2 returns from the kitchen in the second position to the living room in the first position, it is known that each position on the path of the user 2 from the second position to the first position is to the user. 1 is close, that is, as the time t increases, the Lx is decreased. At this time, the server may send the volume reduction prompt information to the device 2, including but not limited to the following forms: a, as shown in FIG. 6 above. The manner of the prompting, specifically not described here; b, may also be prompted as shown in Figure 7 above, specifically not described here; c, can also be as shown in Figure 9, pause the video of the phone Play and display "You are approaching the sleep user, please adjust the volume" or similar information on the play page to remind the user 2 who is watching the video to adjust the volume; d, also as shown in Figure 10, suspend the phone The video plays and passes the voice voice prompt "You are approaching the sleeping user, please adjust the volume" or the like to remind the user 2 who is watching the video to adjust the volume. It should be noted that, for a smart device such as a smart wristband or a smart ring that does not have a display screen, the user may be prompted by the voice prompt indicated in the above b or d, which is not limited herein.
还需要说明的是,这里讨论的设备2可以是预设群组内注册设备中的任一设备,可以 是第三设备(即设备3),相应的操作设备3的用户可以是第三用户(即用户3),也可以是第n设备(即设备n),相应的操作设备n的用户可以是第n用户(即用户n),具体此处不做限定。It should also be noted that the device 2 discussed herein may be any one of the devices registered in the preset group, and may Is the third device (ie, device 3), the user of the corresponding operating device 3 may be the third user (ie, user 3), or the nth device (ie, device n), and the user of the corresponding operating device n may be the first n user (ie user n), which is not limited here.
B、若设备1及设备2的相关信息分别为设备1所处的局域网以及设备2所处的局域网;B. If the information about device 1 and device 2 is the local area network where device 1 is located and the local area network where device 2 is located;
若设备1的相关信息为设备1所处的局域网,设备2的相关信息为设备2所处的局域网,则服务器判断设备1与设备2是否具有第一预设关联关系具体可以为:服务器判断设备1所处的局域网与设备2所处的局域网是否相同,若相同,则服务器确定设备1与设备具备第一预设关联关系,服务器将执行步骤209。If the related information of the device 1 is the local area network where the device 1 is located, and the related information of the device 2 is the local area network where the device 2 is located, the server determines whether the device 1 and the device 2 have the first preset association relationship. If the local area network is the same as the local area network where the device 2 is located, if the server is the same, the server determines that the device 1 and the device have the first preset association relationship, and the server performs step 209.
209、服务器向设备2发送音量控制信息;209. The server sends volume control information to the device 2;
当服务器确定设备1与设备2具体第一预设关联关系之后,服务器将向设备2发送音量控制信息,该音量控制信息用于控制设备2降低设备2的外放音量。After the server determines that the device 1 and the device 2 have a specific first preset association relationship, the server will send volume control information to the device 2, and the volume control information is used to control the device 2 to reduce the external volume of the device 2.
210、设备2降低外放音量。210. Device 2 reduces the volume of the external discharge.
设备2获取到服务器发送的音量控制信息后,将根据该音量控制信息降低外放音量,设备2降低外放音量的方式包括但不限于:a、设备2自动调节音量至预设音量值的范围内,以图11为例进行示意:预设手机正在用“聆听音乐”播放音乐,音乐的外放音量值为最大音量的30%,而此时手机的外放音量为60%,则服务器直接通过向手机发送音量控制信息使得手机的外放音量降低至最大音量的30%。需要说明的是,手机的外放音量降低到预设音量值范围内后,还可以如图12所示,在显示界面上向操作手机的用户显示“附近有睡眠用户,音量大小已被调节”或类似信息;或者如图13所示,以预设音量值范围内的声音向操作手机的用户语音提示“附近有睡眠用户,音量大小已被调节”或类似信息,具体此处不做限定;b、设备2将外放声音的音量调节至静音。After the device 2 obtains the volume control information sent by the server, the volume of the external volume is reduced according to the volume control information, and the manner in which the device 2 reduces the volume of the external volume includes, but is not limited to: a, the device 2 automatically adjusts the volume to the range of the preset volume value. Inside, take the example of Figure 11 as an example: the preset mobile phone is playing music with “listening to music”, the external volume of the music is 30% of the maximum volume, and at this time the external volume of the mobile phone is 60%, the server directly By sending volume control information to the phone, the volume of the phone's external release is reduced to 30% of the maximum volume. It should be noted that after the volume of the external release of the mobile phone is reduced to the preset volume value range, as shown in FIG. 12, the user who operates the mobile phone is displayed on the display interface that “the user has a sleep nearby, and the volume has been adjusted”. Or similar information; or as shown in FIG. 13 , the user who operates the mobile phone prompts “there is a sleeping user nearby, the volume has been adjusted” or the like in a sound within a preset volume value range, which is not limited herein; b. Device 2 adjusts the volume of the external sound to mute.
还需要说明的是,在本申请的一些实施方式中,步骤201至步骤204与步骤205至步骤207之间没有先后顺序,可以先执行步骤201至步骤204,再执行步骤205至步骤207,即预设群组内的注册设备先监测用户的睡眠情况,服务器进一步确定监测到第一用户处于睡眠状态的设备1的相关信息,之后服务器再监测注册设备的使用状态并确定监测到使用状态为声音外放的设备2的相关信息;也可以先执行步骤205至步骤207,再执行步骤201至步骤204,即服务器先监测注册设备的使用状态并确定监测到使用状态为声音外放的设备2的相关信息,之后预设群组内的注册设备再监测用户的睡眠情况,服务器再进一步确定监测到第一用户处于睡眠状态的设备1的相关信息。具体此处不做限定。It should be noted that, in some implementations of the present application, there is no sequence between step 201 to step 204 and step 205 to step 207, and step 201 to step 204 may be performed first, and then step 205 to step 207 are performed. The registered device in the preset group first monitors the sleep condition of the user, and the server further determines related information of the device 1 that monitors that the first user is in a sleep state, and then the server monitors the usage status of the registered device and determines that the used state is the sound. The related information of the external device 2; the step 205 to the step 207 may be performed first, and then the step 201 to the step 204 are performed, that is, the server first monitors the use state of the registered device and determines that the device 2 that monitors the use state is the sound external device Related information, and then the registered device in the preset group monitors the sleep condition of the user, and the server further determines related information of the device 1 that monitors that the first user is in a sleep state. This is not limited here.
在本申请实施例中,服务器确定监测到第一用户处于睡眠状态的第一设备的相关信息,获取到第一设备的相关信息,且服务器监测预设群组内注册设备的使用状态并确定监测到使用状态为声音外放的第二设备的相关信息;当服务器在确定第一设备与第二设备具备第一预设关联关系时,向第二设备发送音量控制信息使得第二设备降低自身的外放音量。在本申请实施例中,服务器通过监测预设群组里注册设备的使用状态、并根据第一预设关联关系来确定需要控制外放音量的第二设备,以实现对处于睡眠状态的第一用户具有关联关系的第二设备的外放音量的降低。In the embodiment of the present application, the server determines that the related information of the first device in which the first user is in the sleep state is monitored, and the related information of the first device is obtained, and the server monitors the usage status of the registered device in the preset group and determines the monitoring. Corresponding information to the second device in the state of use of the sound; when the server determines that the first device and the second device have the first preset association relationship, the volume control information is sent to the second device, so that the second device lowers the The volume is released. In the embodiment of the present application, the server determines the usage status of the registered device in the preset group, and determines, according to the first preset association relationship, the second device that needs to control the volume of the external release, so as to achieve the first state in the sleep state. The lowering of the volume of the external device of the second device to which the user has an association relationship.
在图2对应的实施例中,服务器是先确定监测到使用状态为声音外放的第二设备,再 判断第一设备与第二设备是否具备第一预设关联关系来决定是否向第二设备发送音量控制信息。In the embodiment corresponding to FIG. 2, the server first determines that the second device that monitors the use state is the sound external release, and then Determining whether the first device and the second device have a first preset association relationship to determine whether to send volume control information to the second device.
实施例二:服务器先确定与第一设备具备第一预设关联关系的第二设备,再来监测第二设备的使用状态是否为声音外放,从而来控制第二设备降低第二设备的外放音量。Embodiment 2: The server first determines a second device that has a first preset association relationship with the first device, and then monitors whether the usage state of the second device is a sound external release, thereby controlling the second device to reduce the external device release. volume.
具体请参阅图14,本申请实施例中设备音量的控制方法的另一实施例包括:Referring to FIG. 14 , another embodiment of a method for controlling a volume of a device in the embodiment of the present application includes:
1401、预设群组内的注册设备监测用户睡眠情况;1401. The registered device in the preset group monitors the user's sleep condition;
1402、设备1监测到第一用户处于睡眠状态;1402: Device 1 detects that the first user is in a sleep state;
1403、设备1向服务器发送第一反馈信息;1403. The device 1 sends the first feedback information to the server.
1404、服务器确定注册设备中的设备1的相关信息;1404. The server determines related information of the device 1 in the registered device.
在本申请中,图14对应的实施例中的步骤1401至步骤1404与图2对应的实施例中的步骤201至步骤204类似,此处不予赘述。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 details are not described herein.
1405、服务器确定与设备1具有第一预设关联关系的设备2;1405, the server determines the device 2 having the first preset association relationship with the device 1;
当服务器确定了设备1的相关信息之后,将确定服务器内与设备1属于同一预设群组内的注册设备的相关信息,若预设群组内的一个或多个注册设备与设备1具备第一预设关联关系,则与设备1具备该第一预设关联关系的注册设备就称为设备2(即第二设备)。需要说明的是,服务器通过判断这些注册设备的相关信息是否与设备1具备第一预设关联关系来确定设备2,具体与图2对应的实施例中确定设备2的相关信息类似,此处不予赘述。After the server determines the related information of the device 1, the related information of the registered device in the same preset group as the device 1 in the server is determined, if one or more registered devices and devices 1 in the preset group have the first A predetermined association relationship, the registered device having the first preset association relationship with the device 1 is referred to as device 2 (ie, the second device). It is to be noted that the server determines the device 2 by determining whether the related information of the registered device has the first preset association relationship with the device 1. The specific information of the determining device 2 in the embodiment corresponding to FIG. 2 is similar. Give a brief description.
在本申请实施例中,第一预设关联关系与图2对应的实施例中的第一预设关联关系类似,此处不予赘述。需要注意的是,若服务器获取的设备1的相关信息为设备1对应的第一用户的位置信息,则服务器是通过确定与设备1对应的第一用户的位置信息在第一预设距离范围(第一预设距离范围可用L1表示)内的设备2所处位置信息来确定设备2,若设备2所处位置发生了变化,则设备2将变化后的设备2所处位置信息发送至服务器,以使得服务器对设备2所处位置信息进行更新。若每次更新后的设备2不在L1内,而在第二预设距离范围(第二预设距离范围可用L2表示)内,L1中的最大取值小于L2中的最小取值,且L1∩L2=0,即L1与L2不存在交集。则服务器将向设备2发送音量降低提示信息,具体如图2对应的实施例中的步骤208阐述的类似,此处不予赘述。In the embodiment of the present application, the first preset association relationship is similar to the first preset association relationship in the embodiment corresponding to FIG. 2, and details are not described herein. It is to be noted that, if the information about 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 in the first preset distance range ( 2 location information of the available range of the device the first predetermined distance L 1 represents a) in the apparatus 2 is determined, if the location of the device 2 is changed, the device transmits the device 2 changes the location information to the server 2 So that the server updates the location information of the device 2. If the device 2 after each update is not in L 1 and the second preset distance range (the second preset distance range can be represented by L 2 ), the maximum value in L 1 is smaller than the minimum value in L 2 . And L 1 ∩L 2 =0, that is, there is no intersection between L 1 and L 2 . The server will send the volume reduction prompt information to the device 2, which is similar to that described in step 208 in the embodiment corresponding to FIG. 2, and details are not described herein.
1406、服务器向设备2发送音量控制信息;1406. The server sends volume control information to the device 2;
服务器确定与设备1具备第一预设关联关系的设备2之后,将向设备2发送音量控制信息,该音量控制信息在设备2满足预设条件时将会被激活,用于控制设备2降低设备2的外放。After the server determines that the device 1 has the first preset association relationship with the device 1, it will send volume control information to the device 2, and the volume control information will be activated when the device 2 meets the preset condition, and the control device 2 reduces the device. 2 outside the release.
1407、当设备2的使用状态为声音外放时,激活音量控制信息,降低外放音量。1407. When the usage state of the device 2 is externally sounded, the volume control information is activated to reduce the volume of the external release.
设备2获取到服务器发送的音量控制信息之后,将根据该音量控制信息获取自身的使用状态,当设备2的使用状态为声音外放时,则激活音量控制信息,降低设备2的外放音量。After the device 2 obtains the volume control information sent by the server, the usage state of the device 2 is obtained according to the volume control information. When the usage state of the device 2 is the sound, the volume control information is activated to reduce the volume of the device 2 .
需要说明的是,在本申请的一些实施方式中,设备2在获取到服务器发送的音量控制信息之后,也可以不考虑自身的使用状态而直接激活音量控制信息,以降低设备2的外放音量。 It should be noted that, in some implementations of the present application, after acquiring the volume control information sent by the server, the device 2 may directly activate the volume control information regardless of its own use state, so as to reduce the volume of the device 2 .
在本申请实施例中,服务器首先确定监测到第一用户处于睡眠状态的第一设备的相关信息,再确定与第一设备具有第一预设关联关系的第二设备,之后向第二设备发送音量控制信息,以使得第二设备在确定第二设备的使用状态为声音外放时激活音量控制信息用以降低第二设备的外放音量,或以使得第二设备不考虑第二设备的使用状态而直接激活音量控制信息用以降低第二设备的外放音量。在本申请实施例中,服务器根据第一预设关联关系来确定需要控制外放音量的第二设备,以实现对处于睡眠状态的第一用户具有关联关系的第二设备的外放音量的降低。In the embodiment of the present application, the server first determines related information of the first device that detects that the first user is in a sleep state, and then determines a second device that has a first preset association relationship with the first device, and then sends the second device to the second device. Volume control information, so that the second device activates the volume control information to reduce the external volume of the second device when determining that the usage state of the second device is the sound external release, or such that the second device does not consider the use of the second device The volume control information is directly activated to reduce the volume of the second device. In the embodiment of the present application, the server determines, according to the first preset association relationship, the second device that needs to control the volume of the external release, so as to achieve a reduction in the volume of the external device that has the associated relationship with the first user in the sleep state. .
图2以及图14对应的实施例均是通过监测预设群组内的注册设备的使用状态以及确定满足条件的第一设备(满足的条件为:监测到第一用户处于睡眠状态)与第二设备(满足的条件为:使用状态为声音外放)是否具备第一预设关联关系来控制第二设备以降低第二设备的外放音量。The embodiments corresponding to FIG. 2 and FIG. 14 are both for monitoring the usage status of the registered device in the preset group and determining the first device that satisfies the condition (the condition satisfied is: the first user is monitored to be in a sleep state) and the second The device (the condition that is satisfied is: the use state is sound external release) whether there is a first preset association relationship to control the second device to reduce the external release volume of the second device.
实施例三:不再关注设备的使用状态,通过增加对设备的设备标识的判断条件来确定满足条件的第一设备标识与第二设备标识之间具备第二预设关联关系,并进一步控制第二设备以降低第二设备的外放音量。Embodiment 3: No longer pay attention to the use status of the device, and determine a second preset association relationship between the first device identifier and the second device identifier that meet the condition by adding a judgment condition for the device identifier of the device, and further control the The second device reduces the volume of the external device.
具体请参阅图15,本申请实施例中设备音量的控制方法的另一实施例包括:Referring to FIG. 15 , another embodiment of a method for controlling a volume of a device in the embodiment of the present application includes:
1501、设备1监测到第一用户处于睡眠状态;1501, device 1 detects that the first user is in a sleep state;
在服务器上预设群组内的注册设备监测用户的睡眠情况,若服务器上的某一注册设备监测到用户处于睡眠状态,则该监测到用户处于睡眠状态的设备可以称为设备1(也可称为第一设备),被设备1监测到处于睡眠状态的用户可以称为第一用户。The registered device in the preset group monitors the user's sleep condition on the server. If a registered device on the server detects that the user is in a sleep state, the device that detects that the user is in a sleep state may be referred to as device 1 (also A user who is monitored by the device 1 to be in a sleep state may be referred to as a first user.
需要说明的是,在服务器上预设群组内的注册设备监测用户的睡眠情况与图2对应的实施例中的步骤2类似,此处不予赘述。It should be noted that the monitoring of the user's sleep condition in the preset group on the server is similar to the step 2 in the embodiment corresponding to FIG. 2, and details are not described herein.
1502、设备1向服务器发送第一设备标识;1502: Device 1 sends a first device identifier to a server;
设备1监测到第一用户处于睡眠状态之后,将向服务器发送第一设备标识,设备标识可以是注册设备的注册设备信息,例如注册设备的MAC地址、设备序列号、图形识别码等,也可以是用户自定义的设备编码等,具体此处不做限定。After detecting that the first user is in the sleep state, the device 1 sends a first device identifier to the server, where the device identifier may be the registered device information of the registered device, such as the MAC address of the registered device, the device serial number, the graphic identifier, or the like. It is a user-defined device code, etc., which is not limited here.
1503、服务器根据与第一设备标识具备第二预设关联关系的第二设备标识确定设备2;1503, the server determines the device 2 according to the second device identifier that has the second preset association relationship with the first device identifier;
服务器获取到设备1的第一设备标识之后,将根据与第一设备标识具备第二预设关联关系的第二设备标识确定设备2(也可称为第二设备)。需要说明的是,服务器确定设备2的方式可以包括但不限于以下几种情形:After the server obtains the first device identifier of the device 1, the device 2 (also referred to as a second device) is determined according to the second device identifier having the 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、设备1与设备2处于目标局域网;A, device 1 and device 2 are in the target local area network;
首先服务器预先设置一个目标局域网,服务器设置目标局域网之后,将获取连接到该目标局域网内的设备的设备标识集合,当服务器获取设备1的第一设备标识之后,将判断第一设备标识是否属于设备标识集合,若第一设备属于该设备标识集合,且设备2的第二设备标识也属于该设备标识集合,即设备1与设备2处于同一目标局域网,那么服务器据此确定设备2。First, the server pre-sets a target local area network. After the server sets the target local area network, the server obtains the device identification set of the device connected to the target local area network. After the server obtains the first device identifier of the device 1, it determines whether the first device identifier belongs to the device. The 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 in the same target local area network, the server determines the device 2 accordingly.
例如:若用户kevin设置目标局域网为“kevin的家庭局域网”,连接到kevin的家庭局域网的设备共有4个,分别为kevin的手机k(设备标识为K01)、kevin的电脑k(设备 标识为K02)、Anna的手机a(设备标识为A01)、Anna的平板电脑a(设备标识为A02),David的手机d(设备标识为D01),设备标识集合N包括:K01、K02、A01、A02、D01。当手机k监测到有用户(如kevin)正处于睡眠状态,那么服务器将获取手机k的设备标识K01,之后将判断K01是否属于设备标识集合N,由上可知,K01属于设备标识集合N,K02、A01、A02、D01也属于设备标识集合N,那么设备2就可以是kevin的电脑k、Anna的手机a、Anna的平板电脑a以及David的手机d。据此,服务器就确定设备2为kevin的电脑k、Anna的手机a以及Anna的平板电脑a以及David的手机d。For example, if the user kevin sets the target LAN to "kevin's home LAN", there are 4 devices connected to kevin's home LAN, respectively kevin's mobile phone k (device ID is K01), kevin's computer k (device The phone number a (labeled as A01), Anna's tablet a (device identification is A02), David's mobile phone d (device identification is D01), and the device identification set N include: K01, K02, A01 , A02, D01. When the mobile phone k detects that a user (such as kevin) is in a sleep state, the server will obtain the device identifier K01 of the mobile phone k, and then determine whether the K01 belongs to the device identification set N. As can be seen from the above, K01 belongs to the device identification set N, K02 A01, A02, and D01 also belong to the device identification set N, then the device 2 can be kevin's computer k, Anna's mobile phone a, Anna's tablet computer a, and David's mobile phone d. According to this, the server determines that the device 2 is the computer k of kevin, the mobile phone a of Anna, the tablet a of Anna, and the mobile phone d of David.
B、设备1与设备2处于目标局域网,且设备1与设备2属于服务器上预设群组内的注册设备;B, device 1 and device 2 are in the target local area network, and device 1 and device 2 belong to the registered device in the preset group on the server;
若服务器确定了与设备1处于同一目标局域网的设备2,则进一步判断设备1与设备2是否属于服务器上预设群组内的注册设备,若服务器确定设备1与设备2属于同一预设群组,那么服务器据此确定设备2。If the server determines the device 2 that is in the same target local area network as the device 1, it is further determined whether the device 1 and the device 2 belong to the registered device in the preset group on the server, and if the server determines that the device 1 and the device 2 belong to the same preset group. Then the server determines device 2 accordingly.
例如:依然以上述kevin的家庭局域网为例,若服务器确定了与kevin的手机k都处于kevin的家庭局域网的kevin的电脑k、Anna的手机a、Anna的平板电脑a、David的手机d。但服务器进一步确定只有kevin的电脑k、Anna的手机a、Anna的平板电脑a与kevin的手机k处于预设群组“组5”,则服务器就确定设备2为kevin的电脑k、Anna的手机a以及Anna的平板电脑a。For example, still take the above kevin home LAN as an example, if the server determines that kevin's mobile phone k is in kevin's home LAN kevin computer k, Anna's mobile phone a, Anna's tablet a, David's mobile phone d. But the server further determines that only kevin's computer k, Anna's mobile phone a, Anna's tablet a and kevin's mobile phone k are in the default group "group 5", then the server determines that device 2 is kevin's computer k, Anna's mobile phone a and Anna's tablet a.
C、设备1与设备2处于目标位置,且设备1与设备2属于服务器上预设群组内的注册设备。 C. Device 1 and device 2 are in a target location, and device 1 and device 2 belong to a registered device in a preset group on the server.
首先服务器预先设置一个目标位置,服务器设置目标位置之后,将获取处于该目标位置的设备的设备标识集合,需要说明的是,服务器获取设备标识集合的方式可以包括但不限于:通过设备中的GPS定位、基站定位、WiFi辅助定位等来获取处于目标位置的设备的设备标识。当服务器获取设备1的第一设备标识之后,将判断第一设备标识是否属于设备标识集合,若第一设备属于该设备标识集合,且设备2的第二设备标识也属于该设备标识集合,即设备1与设备2处于同一目标位置,那么服务器将进一步判断设备1与设备2是否属于服务器上预设群组内的注册设备,若服务器确定设备1与设备2属于同一预设群组,那么服务器据此确定设备2。The server first sets a target location, and after the server sets the target location, the device identifier set of the device in the target location is obtained. The manner in which the server obtains the device identifier set may include, but is not limited to, passing the GPS in the device. Positioning, base station positioning, WiFi assisted positioning, etc. to obtain the device identification of the device at the target location. 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, and 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, If the device 1 and the device 2 belong to the same preset group, the server determines that the device 1 and the device 2 belong to the same preset group on the server. Device 2 is determined accordingly.
例如:若用户kevin设置目标位置为“kevin的家”,并向服务器上传kevin的家所处的位置信息,例如图16所示为kevin的家的位置信息,处于kevin家里的设备分别为kevin的手机k(设备标识为K01)、kevin的电脑k(设备标识为K02)、Anna的手机a(设备标识为A01)、Anna的平板电脑a(设备标识为A02),设备标识集合M包括:K01、K02、A01、A02,当手机k监测到有用户(如kevin)正处于睡眠状态,那么服务器将获取手机k的设备标识K01,之后服务器将判断K01是否属于设备标识集合M,由上可知,K01属于设备标识集合M,K02、A01、A02也属于设备标识集合M。最后,服务器进一步确定kevin的电脑k、Anna的手机a、Anna的平板电脑a与kevin的手机k均处于预设群组“组5”,则服务器就确定设备2为kevin的电脑k、Anna的手机a、Anna的平板电脑a与kevin的手机k。For example, if the user kevin sets the target location to "kevin's home" and uploads the location information of kevin's home to the server, for example, the location information of kevin's home is shown in Figure 16, the devices in kevin's home are kevin respectively. Mobile phone k (device identification is K01), kevin computer k (device identification is K02), Anna mobile phone a (device identification is A01), Anna tablet a (device identification is A02), device identification set M includes: K01 , K02, A01, A02, when the mobile phone k detects that a user (such as kevin) is sleeping, the server will obtain the device identification K01 of the mobile phone k, and then the server will determine whether K01 belongs to the device identification set M, as can be seen from K01 belongs to the device identification set M, and K02, A01, and A02 also belong to the device identification set M. Finally, the server further determines that kevin's computer k, Anna's mobile phone a, Anna's tablet a and kevin's mobile phone k are all in the default group "group 5", then the server determines that device 2 is kevin's computer k, Anna's Mobile phone a, Anna's tablet a and kevin's mobile phone k.
1504、服务器向设备2发送音量控制信息; 1504. The server sends volume control information to the device 2;
服务器根据第二预设关联关系确定了设备2之后,将向设备2发送音量控制信息。该音量控制信息用于控制设备2降低设备2的外放音量。After the server determines the device 2 according to the second preset association relationship, the volume control information will be sent to the device 2. The volume control information is used to control the device 2 to reduce the external volume of the device 2.
1505、设备2降低外放音量。1505, device 2 reduces the external volume.
设备2获取到服务器发送的音量控制信息后,将根据该音量控制信息降低外放音量,可以包括但不限于:a、当设备2的使用状态为声音外放时,激活音量控制信息,以使得设备2降低自身的外放音量;b、不考虑设备2的使用状态而直接激活音量控制信息,以降低设备2的外放音量。After the device 2 obtains the volume control information sent by the server, the volume control information is reduced according to the volume control information, which may include, but is not limited to: a. When the usage state of the device 2 is externally released, the volume control information is activated to enable The device 2 reduces its own external volume; b. directly activates the volume control information regardless of the usage state of the device 2, so as to reduce the external volume of the device 2.
还需要说明的是,设备2降低外放音量的方式包括但不限于:a、设备2自动调节音量至预设音量值的范围内;b、设备2将外放声音的音量调节至静音。It should be noted that the manner in which the device 2 reduces the external volume includes, but is not limited to: a, the device 2 automatically adjusts the volume to a range of preset volume values; b, the device 2 adjusts the volume of the external sound to mute.
图1、图14以及图15对本申请实施例中设备音量的控制方法进行了说明,下面分别对本申请实施例中的相关装置进行说明,相关装置包括设备以及服务器,其中设备作为第一设备,具体请参阅图17,本申请实施例中设备的一个实施例包括:FIG. 1 , FIG. 14 and FIG. 15 illustrate the method for controlling the volume of the device in the embodiment of the present application. The related devices in the embodiments of the present application are respectively described below. The related device includes a device and a server, where the device serves as the first device. Referring to FIG. 17, an embodiment of the device in this embodiment of the present application includes:
检测单元1701,用于检测所述第一设备的使用状态,所述第一设备为服务器上预设群组内的注册设备;The detecting unit 1701 is configured to detect a usage status of the first device, where the first device is a registered device in a preset group on the server;
获取单元1702,用于当所述第一设备使用状态为声音外放时,获取所述服务器发送的音量控制信息,所述音量控制信息为当所述服务器确定所述第一设备与第二设备具备预设关联关系时发送的信息,所述第二设备为监测到目标用户处于睡眠状态的设备,所述第二设备为所述预设群组内的另一注册设备;The acquiring unit 1702 is configured to acquire volume control information sent by the server when the first device usage state is sound external release, where the volume control information is that the server determines the first device and the second device The second device is a device that monitors that the target user is in a sleep state, and the second device is another registered device in the preset group.
音量控制单元1703,用于根据所述音量控制信息降低外放音量。The volume control unit 1703 is configured to reduce the external volume according to the volume control information.
优选的,在本申请的一些实施方式中,该设备还可以包括提示单元1704:Preferably, in some implementations of the present application, the device may further include a prompting unit 1704:
提示单元1704,用于提示第一用户所述外放音量已降低,所述第一用户为操作所述第一设备的用户。The prompting unit 1704 is configured to prompt the first user that the external volume has been lowered, and the first user is a user who operates the first device.
图17对应的实施例中的设备具体的功能以及结构用于实现前述图2以及图14所示实施例中由第一设备进行处理的步骤,具体此处不予赘述。The specific functions and structures of the device in the corresponding embodiment of FIG. 17 are used to implement the steps performed by the first device in the foregoing embodiments shown in FIG. 2 and FIG. 14 , and details are not described herein.
本申请实施例还提供了一种服务器,具体请参阅图18,本申请实施例中服务器的一个实施例包括:The embodiment of the present application further provides a server. Referring to FIG. 18, an embodiment of the server in the embodiment of the present application includes:
第一确定单元1801,用于确定第一设备,所述第一设备为监测到第一用户处于睡眠状态的设备,所述第一设备为所述服务器上预设群组内的注册设备;a first determining unit 1801, configured to determine a first device, where the first device is a device that monitors that the first user is in a sleep state, and the first device is a registered device in a preset group on the server;
监测单元1802,用于监测所述注册设备的使用状态;The monitoring unit 1802 is configured to monitor a usage status of the registered device.
第二确定单元1803,用于确定使用状态为声音外放且与所述第一设备具备预设关联关系的第二设备,所述第二设备为所述预设群组内的另一注册设备;a second determining unit 1803, configured to determine a second device that is in a state of being used for sound and has a preset association relationship with the first device, where the second device is another registered device in the preset group ;
控制单元1804,用于控制所述第二设备以降低所述第二设备的外放音量。The control unit 1804 is configured to control the second device to reduce an external volume of the second device.
优选的,在本申请的一些实施方式中,该服务器还可以包括第三确定单元1805以及第一发送单元1806:Preferably, in some implementations of the present application, the server may further include a third determining unit 1805 and a first sending unit 1806:
第三确定单元1805,用于确定所述注册设备中使用状态为声音外放且处于所述第一设备的第二预设距离范围内的第三设备,所述第二预设距离大于所述第一预设距离,且所述第二预设距离与所述第一预设距离不存在交集; a third determining unit 1805, configured to determine, in the registration device, a third device that is used in a state of sound external release and is in a second preset distance range of the first device, where the second preset distance is greater than the a first preset distance, and the second preset distance does not intersect with the first preset distance;
第一发送单元1806,用于向所述第三设备发送音量降低提示信息,所述音量降低提示信息用于提示第三用户对所述第三设备进行降低第三设备外放音量的操作,所述第三用户与所述第三设备相对应。The first sending unit 1806 is configured to send, to the third device, volume lowering prompt information, where the volume lowering prompt information is used to prompt the third user to perform an operation of lowering the volume of the third device to be released by the third device. The third user corresponds to the third device.
优选的,在本申请的一些实施方式中,控制单元1804,具体用于向所述第二设备发送音量控制信息,所述音量控制信息用于使所述第二设备自动降低所述外放音量,或,所述音量控制信息用于使所述第二设备自动降低所述外放音量并提示第二用户所述外放音量已降低,所述第二用户与所述第二设备相对应。Preferably, in some implementations 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 cause the second device to automatically lower the external volume. Or, the volume control information is used to cause the second device to automatically lower the external volume and prompt the second user that the external volume has decreased, and the second user corresponds to the second device.
优选的,在本申请的一些实施方式中,所述监测单元1802,具体用于周期性获取所述注册设备的使用状态;或,当所述注册设备的使用状态发生变化时,获取所述注册设备上报的所述注册设备的使用状态。Preferably, in some implementations of the present application, the monitoring unit 1802 is specifically configured to periodically acquire a usage status of the registered device; or acquire the registration when a usage status of the registered device changes. The usage status of the registered device reported by the device.
优选的,在本申请的一些实施方式中,在第一确定单元1801确定第一设备之前,该服务器还可以包括第二发送单元1800:Preferably, in some implementations of the present application, before the first determining unit 1801 determines the first device, the server may further include the second sending unit 1800:
第二发送单元1800,用于当所述服务器满足预设触发条件时,向所述注册设备发送睡眠状态变化信息,以使得所述注册设备根据所述睡眠状态变化信息监测所述注册设备对应的目标用户的睡眠状态。The second sending unit 1800 is configured to send sleep state change information to the registration device when the server meets the preset trigger condition, so that the registration device monitors the corresponding device according to the sleep state change information. The sleep state of the target user.
图18对应的实施例中的设备具体的功能以及结构用于实现前述图2以及图14所示实施例中由服务器进行处理的步骤,具体此处不予赘述。The specific functions and structures of the device in the corresponding embodiment of FIG. 18 are used to implement the steps performed by the server in the foregoing embodiment shown in FIG. 2 and FIG. 14 , and details are not described herein.
本申请实施例还提供了一种设备,该设备作为第一设备,具体请参阅图19,本申请实施例中设备的一个实施例包括:The embodiment of the present application further provides a device, and the device is used as the first device. For details, refer to FIG. 19, an embodiment of the device in the embodiment of the present application includes:
接收单元1901,用于当第一设备的标识与第二设备的标识具有预设关联关系时,接收服务器发送的音量控制信息,所述第二设备为监测到目标用户处于睡眠状态的设备;The receiving unit 1901 is configured to: when the identifier of the first device has a preset association relationship with the identifier of the second device, receive volume control information sent by the server, where the second device is a device that detects that the target user is in a sleep state;
音量控制单元1902,用于根据所述音量控制信息,降低外放音量。The volume control unit 1902 is configured to reduce the external volume according to the volume control information.
优选的,在本申请的一些实施方式中,该设备还可以包括提示单元1903:Preferably, in some implementations of the present application, the device may further include a prompting unit 1903:
提示单元1903,用于提示第一用户所述外放音量已降低,所述第一用户为操作所述第一设备的用户。The prompting unit 1903 is configured to prompt the first user that the external volume has been lowered, and the first user is a user who operates the first device.
图19对应的实施例中的设备具体的功能以及结构用于实现前述图15所示实施例中由第一设备进行处理的步骤,具体此处不予赘述。The specific functions and structures of the device in the corresponding embodiment of FIG. 19 are used to implement the steps of the foregoing device in the embodiment shown in FIG. 15 , and details are not described herein.
本申请实施例还提供了一种服务器,具体请参阅图20,本申请实施例中服务器的一个实施例包括:The embodiment of the present application further provides a server. Referring to FIG. 20, an embodiment of the server in the embodiment of the present application includes:
第一确定单元2001,用于确定第一设备,所述第一设备为监测到第一用户处于睡眠状态的设备;The first determining unit 2001 is configured to determine a first device, where the first device is a device that detects that the first user is in a sleep state;
获取单元2002,用于获取所述第一设备的第一设备标识;An obtaining unit 2002, configured to acquire a first device identifier of the first device;
第二确定单元2003,用于确定第二设备,所述第二设备的第二设备标识与所述第一设备标识具有预设关联关系;a second determining unit 2003, configured to determine a second device, where the second device identifier of the second device has a preset association relationship with the first device identifier;
控制单元2004,用于控制所述第二设备以降低所述第二设备的外放音量。The control unit 2004 is configured to control the second device to reduce an external volume of the second device.
优选的,在本申请的一些实施方式中,该服务器还可以包括第一判断单元2005以及第三确定单元2006: Preferably, in some implementations of the present application, the server may further include a first determining unit 2005 and a third determining unit 2006:
第一判断单元2005,用于判断所述第一设备与所述第二设备是否为预设群组内的注册设备;The first determining unit 2005 is configured to determine whether the first device and the second device are registered devices in the preset group.
第三确定单元2006,用于当所述第一设备确定所述第二设备为预设群组内的注册设备时,触发所述控制单元2004执行相应操作。The third determining unit 2006 is configured to trigger the control unit 2004 to perform a corresponding operation when the first device determines that the second device is a registered device in the preset group.
优选的,在本申请的一些实施方式中,该服务器还可以包括第二判断单元2007以及第四确定单元2008:Preferably, in some implementations of the present application, the server may further include a second determining unit 2007 and a fourth determining unit 2008:
第二判断单元2007,用于判断所述第一设备与所述第二设备是否为预设群组内的注册设备;The second determining unit 2007 is configured to determine whether the first device and the second device are registered devices in the preset group;
第四确定单元2008,用于当所述第一设备与所第二设备确定为预设群组内的注册设备时,触发所述控制单元2004执行相应操作。The fourth determining unit 2008 is configured to trigger the control unit 2004 to perform a corresponding operation when the first device and the second device determine to be the registered device in the preset group.
图20对应的实施例中的服务器具体的功能以及结构用于实现前述图15所示实施例中由该服务器进行处理的步骤,具体此处不予赘述。The specific functions and structures of the server in the corresponding embodiment of FIG. 20 are used to implement the steps of the foregoing embodiment in FIG. 15 for processing by the server, and details are not described herein.
如图21所示,为本申请实施例设备的另一实施例示意图,该设备作为第一设备。为便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该设备可以包括手机、平板电脑、个人数字助理(personal digital assistant,PDA)、智能手环、智能手表、个人电脑车载电脑等任意终端设备。以设备为手机为例:FIG. 21 is a schematic diagram of another embodiment of a device according to an embodiment of the present application, where the device is used as a first device. For the convenience of description, only the parts related to the embodiments of the present application are shown. If the specific technical details are not disclosed, please refer to the method part of the embodiment of the present application. The device may include any terminal device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a smart wristband, a smart watch, a personal computer on-board computer, and the like. Take the device as a mobile phone as an example:
图21示出的是与本申请实施例提供的智能终端相关的手机的部分结构的框图。参考图21,手机包括:射频(Radio Frequency,RF)电路2110、存储器2120、输入单元2130、显示单元2140、传感器2150、音频电路2160、无线保真(wireless fidelity,WiFi)模块2170、处理器2180、电源2190等部件。本领域技术人员可以理解,图21中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 21 is a block diagram showing a partial structure of a mobile phone related to the smart terminal provided by the embodiment of the present application. Referring to FIG. 21, the mobile phone includes: a radio frequency (RF) circuit 2110, a memory 2120, an input unit 2130, a display unit 2140, a sensor 2150, an audio circuit 2160, a wireless fidelity (WiFi) module 2170, and a processor 2180. , power supply 2190 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 21 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
下面结合图21对手机的各个构成部件进行具体的介绍:The following describes the components of the mobile phone in detail with reference to FIG. 21:
RF电路2110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器2180处理;另外,将设计上行的数据发送给基站。通常,RF电路2110包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路2110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 2110 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving the downlink information of the base station, and processing it to the processor 2180; in addition, transmitting the designed uplink data to the base station. Generally, 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, RF circuitry 2110 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
存储器2120可用于存储软件程序以及模块,处理器2180通过运行存储在存储器2120的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器2120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所 创建的数据(比如音频数据、电话本等)等。此外,存储器2120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 2120 can be used to store software programs and modules, and the processor 2180 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 2120. The memory 2120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Mobile phone use Created data (such as audio data, phone book, etc.). Moreover, 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.
输入单元2130可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元2130可包括触控面板2131以及其他输入设备2132。触控面板2131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板2131上或在触控面板2131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板2131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器2180,并能接收处理器2180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板2131。除了触控面板2131,输入单元2130还可以包括其他输入设备2132。具体地,其他输入设备2132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 2130 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset. 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 on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 2131 or near the touch panel 2131. Operation), and drive the corresponding connecting device according to a preset program. Optionally, the touch panel 2131 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 2180 is provided and can receive commands from the processor 2180 and execute them. In addition, the touch panel 2131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 2131, the input unit 2130 may also include other input devices 2132. Specifically, other input devices 2132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元2140可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元2140可包括显示面板2141,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板2141。进一步的,触控面板2131可覆盖显示面板2141,当触控面板2131检测到在其上或附近的触摸操作后,传送给处理器2180以确定触摸事件的类型,随后处理器2180根据触摸事件的类型在显示面板2141上提供相应的视觉输出。虽然在图21中,触控面板2131与显示面板2141是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板2131与显示面板2141集成而实现手机的输入和输出功能。The display unit 2140 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 2140 may include a display panel 2141. Alternatively, 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. After the touch panel 2131 detects a touch operation on or near the touch panel 2131, the touch panel 2131 transmits to the processor 2180 to determine the type of the touch event, and then the processor 2180 according to the touch event. The type provides a corresponding visual output on the display panel 2141. Although the touch panel 2131 and the display panel 2141 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 21, in some embodiments, the touch panel 2131 and the display panel 2141 may be integrated. Realize the input and output functions of the phone.
手机还可包括至少一种传感器2150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板2141的亮度,接近传感器可在手机移动到耳边时,关闭显示面板2141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one type of sensor 2150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 2141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 2141 and/or when the mobile phone moves to the ear. Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
音频电路2160、扬声器2161,传声器2162可提供用户与手机之间的音频接口。音频电路2160可将接收到的音频数据转换后的电信号,传输到扬声器2161,由扬声器2161转换为声音信号输出;另一方面,传声器2162将收集的声音信号转换为电信号,由音频电路2160接收后转换为音频数据,再将音频数据输出处理器2180处理后,经RF电路2110以发送给比如另一手机,或者将音频数据输出至存储器2120以便进一步处理。An audio circuit 2160, a speaker 2161, and a microphone 2162 can provide an audio interface between the user and the handset. The audio circuit 2160 can transmit the converted electrical data of the received audio data to the speaker 2161, and convert it into a sound signal output by the speaker 2161; on the other hand, the microphone 2162 converts the collected sound signal into an electrical signal, and the audio circuit 2160 After receiving, it is converted into audio data, and then processed by the audio data output processor 2180, transmitted to the mobile phone 2110 via the RF circuit 2110, or outputted to the memory 2120 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块2170可以帮助用户收发电子邮件、 浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图21示出了WiFi模块2170,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the mobile phone can help users send and receive emails through the WiFi module 2170. Browse the web and access streaming media, etc. It provides users with wireless broadband Internet access. Although FIG. 21 shows the WiFi module 2170, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器2180是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器2120内的软件程序和/或模块,以及调用存储在存储器2120内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器2180可包括一个或多个处理单元;优选的,处理器2180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器2180中。The processor 2180 is a control center for the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 2120, and invoking data stored in the memory 2120, The phone's various functions and processing data, so that the overall monitoring of the phone. Optionally, the processor 2180 may include one or more processing units; preferably, the processor 2180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 2180.
手机还包括给各个部件供电的电源2190(比如电池),优选的,电源可以通过电源管理系统与处理器2180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power source 2190 (such as a battery) for powering various components. Preferably, the power source can be logically connected to the processor 2180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
上述图2、图14以及图15所对应的方法实施例中设备的结构可以基于图21所示的结构,图21所示的设备结构可以对应的执行上述方法实施例中的由设备执行的步骤,此处不再一一赘述。The structure of the device in the method embodiment corresponding to the foregoing FIG. 2, FIG. 14 and FIG. 15 can be based on the structure shown in FIG. 21. The device structure shown in FIG. 21 can correspondingly perform the steps performed by the device in the foregoing method embodiment. I will not repeat them here.
如图22所示,为本申请实施例中服务器的一个实施例示意图,具体包括:As shown in FIG. 22, it is a schematic diagram of an embodiment of a server in the embodiment of the present application, which specifically includes:
该服务器可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(Central Processing Units,CPU)2222(例如,一个或一个以上处理器)和存储器2232,一个或一个以上存储应用程序2242或数据2244的存储介质2230(例如一个或一个以上海量存储设备)。其中,存储器2232和存储介质2230可以是短暂存储或持久存储。存储在存储介质2230的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器2222可以设置为与存储介质2230通信,在服务器上执行存储介质2230中的一系列指令操作。The server may vary considerably depending on configuration or performance, and may include one or more Central Processing Units (CPUs) 2222 (eg, one or more processors) and memory 2232, one or more A storage medium 2230 of storage application 2242 or data 2244 (eg, one or one storage device in Shanghai). Among them, the memory 2232 and the storage medium 2230 may be short-term storage or persistent storage. The program stored on storage medium 2230 may include one or more modules (not shown), each of which may include a series of instruction operations in the server. Still further, central processor 2222 can be configured to communicate with storage medium 2230 to perform a series of instruction operations in storage medium 2230 on the server.
该服务器还可以包括一个或一个以上电源2226,一个或一个以上有线或无线网络接口2250,一个或一个以上输入输出接口2258,和/或,一个或一个以上操作系统2241,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等。The server may also include one or more power supplies 2226, one or more wired or wireless network interfaces 2250, one or more input and output interfaces 2258, and/or one or more operating systems 2241, such as Windows ServerTM, Mac OS. XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
上述图2、图14以及图15所描述的设备音量的控制方法中的步骤由服务器基于该图22所示的结构实现。The steps in the method of controlling the volume of the device described above with reference to FIGS. 2, 14, and 15 are implemented by the server based on the structure shown in FIG.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一 个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center By wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) to another Site sites, computers, servers, or data centers for transmission. The computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。 The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present application and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than what is illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.

Claims (33)

  1. 一种设备音量的控制方法,其特征在于,包括:A method for controlling a volume of a device, comprising:
    第一设备检测所述第一设备的使用状态,所述第一设备为服务器上预设群组内的注册设备;The first device detects a usage status of the first device, where the first device is a registered device in a preset group on the server;
    当所述第一设备的使用状态为声音外放时,所述第一设备获取所述服务器发送的音量控制信息,所述音量控制信息为当所述服务器确定所述第一设备与第二设备具备预设关联关系时发送的信息,所述第二设备为监测到目标用户处于睡眠状态的设备,所述第二设备为所述预设群组内的另一注册设备;When the usage status of the first device is a sound external release, the first device acquires volume control information sent by the server, where the volume control information is that the server determines the first device and the second device The second device is a device that monitors that the target user is in a sleep state, and the second device is another registered device in the preset group.
    所述第一设备根据所述音量控制信息降低外放音量。The first device reduces the external volume according to the volume control information.
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备与第二设备具备预设关联关系,包括:The method according to claim 1, wherein the first device and the second device have a preset association relationship, including:
    所述第一设备与所述目标用户处于第一预设距离内;或,The first device is within a first preset distance from the target user; or
    所述第一设备与所述第二设备处于同一局域网内。The first device and the second device are in the same local area network.
  3. 根据权利要求2所述的方法,其特征在于,在所述第一设备根据所述音量控制信息降低外放音量之后,所述方法还包括:The method according to claim 2, wherein after the first device reduces the external volume according to the volume control information, the method further includes:
    所述第一设备提示第一用户所述外放音量已降低,所述第一用户为操作所述第一设备的用户。The first device prompts the first user that the volume of the external release has decreased, and the first user is a user who operates the first device.
  4. 一种设备音量的控制方法,其特征在于,包括:A method for controlling a volume of a device, comprising:
    服务器确定第一设备,所述第一设备为监测到第一用户处于睡眠状态的设备,所述第一设备为所述服务器上预设群组内的注册设备;Determining, by the server, a first device, where the first device is a device that monitors that the first user is in a sleep state, and the first device is a registered device in the preset group on the server;
    所述服务器监测所述注册设备的使用状态;The server monitors a usage status of the registered device;
    所述服务器确定使用状态为声音外放且与所述第一设备具备预设关联关系的第二设备,所述第二设备为所述预设群组内的另一注册设备;Determining, by the server, that the usage status is a sound external device and having a preset association relationship with the first device, where the second device is another registered device in the preset group;
    所述服务器控制所述第二设备以降低所述第二设备的外放音量。The server controls the second device to reduce an external volume of the second device.
  5. 根据权利要求4所述的方法,其特征在于,所述预设关联关系包括:The method according to claim 4, wherein the preset association relationship comprises:
    所述第二设备与所述第一用户处于第一预设距离内;或,The second device is within a first preset distance from the first user; or
    所述第二设备与所述第一设备处于同一局域网内。The second device is in the same local area network as the first device.
  6. 根据权利要求4或5所述的方法,其特征在于,在所述服务器监测所述注册设备的使用状态之后,所述方法还包括:The method according to claim 4 or 5, wherein after the server monitors the usage status of the registered device, the method further includes:
    所述服务器确定所述注册设备中使用状态为声音外放的第三设备,所述第三设备与所述第一设备的距离处于第二预设距离范围以内,所述第二预设距离大于所述第一预设距离,且所述第二预设距离与所述第一预设距离不存在交集;Determining, by the server, that the usage status of the device is a third device that is externally placed, wherein the distance between the third device and the first device is within a second preset distance, and the second preset distance is greater than The first preset distance, and the second preset distance does not intersect with the first preset distance;
    所述服务器向所述第三设备发送音量降低提示信息,所述音量降低提示信息用于提示第三用户对所述第三设备进行降低外放音量的操作,所述第三用户与所述第三设备相对应。The server sends a volume reduction prompt message to the third device, where the volume decrease prompt information is used to prompt the third user to perform an operation of lowering the volume of the external release, the third user and the third Three devices correspond.
  7. 根据权利要求4或5所述的方法,其特征在于,所述服务器控制所述第二设备以降低所述第二设备的外放音量包括:The method according to claim 4 or 5, wherein the controlling the second device to reduce the volume of the external device is:
    所述服务器向所述第二设备发送音量控制信息,所述音量控制信息用于使所述第二设 备自动降低所述外放音量,或,所述音量控制信息用于使所述第二设备自动降低所述外放音量并提示第二用户所述外放音量已降低,所述第二用户与所述第二设备相对应。The server sends volume control information to the second device, where the volume control information is used to make the second device The volume of the external volume is automatically reduced, or the volume control information is used to cause the second device to automatically lower the volume of the external release and prompt the second user that the volume of the external release has decreased, the second user and the second user The second device corresponds.
  8. 根据权利要求4-7任意一项所述的方法,其特征在于,所述服务器监测所述注册设备的使用状态包括:The method according to any one of claims 4-7, wherein the monitoring of the usage status of the registered device by the server comprises:
    所述服务器周期性获取所述注册设备的使用状态;或,The server periodically acquires a usage status of the registered device; or
    当所述注册设备的使用状态发生变化时,所述服务器获取所述注册设备上报的所述注册设备的使用状态。When the usage status of the registered device changes, the server acquires a usage status of the registered device reported by the registration device.
  9. 根据权利要求4-7任意一项所述的方法,其特征在于,在所述服务器确定第一设备之前,所述方法还包括:The method according to any one of claims 4-7, wherein before the server determines the first device, the method further comprises:
    当所述服务器满足预设触发条件时,所述服务器向所述注册设备发送睡眠状态变化信息,以使得所述注册设备根据所述睡眠状态变化信息监测所述注册设备对应的目标用户的睡眠状态。When the server meets the preset triggering condition, the server sends the sleep state change information to the registration device, so that the registration device monitors the sleep state of the target user corresponding to the registered device according to the sleep state change information. .
  10. 根据权利要求9所述的方法,其特征在于,所述服务器满足预设触发条件包括:The method according to claim 9, wherein the meeting the preset triggering conditions comprises:
    当所述服务器的系统时钟达到预设时间点时,则确定所述服务器满足所述预设触发条件;或,When the system clock of the server reaches a preset time point, determining that the server meets the preset trigger condition; or
    当所述服务器获取到开启指令时,则确定所述服务器满足所述预设触发条件。When the server acquires an open command, it is determined that the server meets the preset trigger condition.
  11. 一种设备音量的控制方法,其特征在于,包括:A method for controlling a volume of a device, comprising:
    当第一设备的标识与第二设备的标识具有预设关联关系时,所述第一设备接收服务器发送的音量控制信息,所述第二设备为监测到目标用户处于睡眠状态的设备;When the identifier of the first device has a preset association relationship with the identifier of the second device, the first device receives volume control information sent by the server, and the second device is a device that monitors that the target user is in a sleep state;
    根据所述音量控制信息,所述第一设备降低外放音量。According to the volume control information, the first device reduces the volume of the external release.
  12. 根据权利要求11所述的方法,其特征在于,所述预设关联关系包括:The method according to claim 11, wherein the preset association relationship comprises:
    所述第一设备与所述第二设备处于同一局域网内;The first device and the second device are in the same local area network;
    或,or,
    所述第一设备与所述第二设备处于同一局域网内,且所述第一设备与所述第二设备为所述服务器上预设群组内的注册设备;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 the preset group on the server;
    或,or,
    所述第一设备与所述第二设备处于预置的目标位置范围内,且所述第一设备与所述第二设备为所述服务器上预设群组内的注册设备。The first device and the second device are in a preset target location range, and the first device and the second device are registered devices in a preset group on the server.
  13. 根据权利要求11至12中任一项所述的方法,其特征在于,在所述第一设备根据所述音量控制信息降低外放音量之后,所述方法还包括:The method according to any one of claims 11 to 12, wherein after the first device reduces the external volume according to the volume control information, the method further includes:
    所述第一设备提示第一用户所述外放音量已降低,所述第一用户为操作所述第一设备的用户。The first device prompts the first user that the volume of the external release has decreased, and the first user is a user who operates the first device.
  14. 一种设备音量的控制方法,其特征在于,包括:A method for controlling a volume of a device, comprising:
    服务器确定第一设备,所述第一设备为监测到第一用户处于睡眠状态的设备;Determining, by the server, a first device, where the first device is a device that detects that the first user is in a sleep state;
    所述服务器获取所述第一设备的第一设备标识;Obtaining, by the server, a first device identifier of the first device;
    所述服务器确定第二设备,所述第二设备的第二设备标识与所述第一设备标识具有预设关联关系; Determining, by the server, a second device, where the second device identifier of the second device has a preset association relationship with the first device identifier;
    所述服务器控制所述第二设备以降低所述第二设备的外放音量。The server controls the second device to reduce an external volume of the second device.
  15. 根据权利要求14所述的方法,其特征在于,所述预设关联关系包括:The method according to claim 14, wherein the preset association relationship comprises:
    所述第一设备与所述第二设备处于同一局域网内。The first device and the second device are in the same local area network.
  16. 根据权利要求15所述的方法,其特征在于,所述方法还包括:The method of claim 15 wherein the method further comprises:
    所述服务器判断所述第一设备与所述第二设备是否为预设群组内的注册设备;Determining, by the server, whether the first device and the second device are registered devices in a preset group;
    若是,则所述服务器执行控制所述第二设备以降低所述第二设备的外放音量的操作。If so, the server performs an operation of controlling the second device to reduce the volume of the external device.
  17. 根据权利要求14所述的方法,其特征在于,所述预设关联关系包括:The method according to claim 14, wherein the preset association relationship comprises:
    所述第一设备与所述第二设备处于预置的目标位置范围内;The first device and the second device are in a preset target location range;
    所述方法还包括:The method further includes:
    所述服务器判断所述第一设备与所述第二设备是否为预设群组内的注册设备;Determining, by the server, whether the first device and the second device are registered devices in a preset group;
    若是,则所述服务器执行控制所述第二设备以降低所述第二设备的外放音量的操作。If so, the server performs an operation of controlling the second device to reduce the volume of the external device.
  18. 一种第一设备,其特征在于,包括:A first device, comprising:
    检测单元,用于检测所述第一设备的使用状态,所述第一设备为服务器上预设群组内的注册设备;a detecting unit, configured to detect a usage status of the first device, where the first device is a registered device in a preset group on the server;
    获取单元,用于当所述第一设备使用状态为声音外放时,获取所述服务器发送的音量控制信息,所述音量控制信息为当所述服务器确定所述第一设备与第二设备具备预设关联关系时发送的信息,所述第二设备为监测到目标用户处于睡眠状态的设备,所述第二设备为所述预设群组内的另一注册设备;An acquiring unit, configured to acquire volume control information sent by the server when the first device usage state is a sound external release, where the volume control information is that the server determines that the first device and the second device are The information sent when the association relationship is preset, the second device is a device that detects that the target user is in a sleep state, and the second device is another registered device in the preset group;
    音量控制单元,用于根据所述音量控制信息降低外放音量。And a volume control unit, configured to reduce an external volume according to the volume control information.
  19. 根据权利要求18所述的设备,其特征在于,所述设备还包括:The device according to claim 18, wherein the device further comprises:
    提示单元,用于提示第一用户所述外放音量已降低,所述第一用户为操作所述第一设备的用户。The prompting unit is configured to prompt the first user that the external volume has been lowered, and the first user is a user who operates the first device.
  20. 一种服务器,其特征在于,包括:A server, comprising:
    第一确定单元,用于确定第一设备,所述第一设备为监测到第一用户处于睡眠状态的设备,所述第一设备为所述服务器上预设群组内的注册设备;a first determining unit, configured to determine a first device, where the first device is a device that monitors that the 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, configured to monitor a usage status of the registered device;
    第二确定单元,用于确定使用状态为声音外放且与所述第一设备具备预设关联关系的第二设备,所述第二设备为所述预设群组内的另一注册设备;a second determining unit, configured to determine a second device that is used in the sound state and has a preset association relationship with the first device, where the second device is another registered device in the preset group;
    控制单元,用于控制所述第二设备以降低所述第二设备的外放音量。And a control unit, configured to control the second device to reduce an external volume of the second device.
  21. 根据权利要求20所述的服务器,其特征在于,所述服务器还包括:The server according to claim 20, wherein the server further comprises:
    第三确定单元,用于确定所述注册设备中使用状态为声音外放且处于所述第一设备的第二预设距离范围内的第三设备,所述第二预设距离大于所述第一预设距离,且所述第二预设距离与所述第一预设距离不存在交集;a third determining unit, configured to determine a third device in the registered device that is in a state of sound external release and is in a second preset distance range of the first device, where the second preset distance is greater than the first a preset distance, and the second preset distance does not intersect with the first preset distance;
    第一发送单元,用于向所述第三设备发送音量降低提示信息,所述音量降低提示信息用于提示第三用户对所述第三设备进行降低第三设备外放音量的操作,所述第三用户与所述第三设备相对应。a first sending unit, configured to send, to the third device, volume lowering prompt information, where the volume lowering prompt information is used to prompt the third user to perform an operation of lowering a third device externalizing volume on the third device, The third user corresponds to the third device.
  22. 根据权利要求20所述的服务器,其特征在于, A server according to claim 20, wherein
    所述控制单元,具体用于向所述第二设备发送音量控制信息,所述音量控制信息用于使所述第二设备自动降低所述外放音量,或,所述音量控制信息用于使所述第二设备自动降低所述外放音量并提示第二用户所述外放音量已降低,所述第二用户与所述第二设备相对应。The control unit is configured to send volume control information to the second device, where the volume control information is used to cause the second device to automatically lower the external volume, or the volume control information is used to enable The second device automatically lowers the external volume and prompts the second user that the external volume has decreased, and the second user corresponds to the second device.
  23. 根据权利要求20所述的服务器,其特征在于,A server according to claim 20, wherein
    所述监测单元,具体用于周期性获取所述注册设备的使用状态;The monitoring unit is specifically configured to periodically acquire a usage status of the registered device.
    或,or,
    当所述注册设备的使用状态发生变化时,获取所述注册设备上报的所述注册设备的使用状态。When the usage status of the registered device changes, the usage status of the registered device reported by the registered device is obtained.
  24. 根据权利要求20至23中任一项所述的服务器,其特征在于,所述服务器还包括:The server according to any one of claims 20 to 23, wherein the server further comprises:
    第二发送单元,用于当所述服务器满足预设触发条件时,向所述注册设备发送睡眠状态变化信息,以使得所述注册设备根据所述睡眠状态变化信息监测所述注册设备对应的目标用户的睡眠状态。a second sending unit, configured to send sleep state change information to the registration device when the server meets a preset trigger condition, so that the registration device monitors the target corresponding to the registered device according to the sleep state change information The user's sleep state.
  25. 一种第一设备,其特征在于,包括:A first device, comprising:
    接收单元,用于当第一设备的标识与第二设备的标识具有预设关联关系时,接收服务器发送的音量控制信息,所述第二设备为监测到目标用户处于睡眠状态的设备;a receiving unit, configured to receive volume control information sent by the server when the identifier of the first device has a preset association relationship with the identifier of the second device, where the second device is a device that detects that the target user is in a sleep state;
    音量控制单元,用于根据所述音量控制信息,降低外放音量。a volume control unit, configured to reduce an external volume according to the volume control information.
  26. 根据权利要求25所述的设备,其特征在于,所述设备还包括:The device according to claim 25, wherein the device further comprises:
    提示单元,用于提示第一用户所述外放音量已降低,所述第一用户为操作所述第一设备的用户。The prompting unit is configured to prompt the first user that the external volume has been lowered, and the first user is a user who operates the first device.
  27. 一种服务器,其特征在于,包括:A server, comprising:
    第一确定单元,用于确定第一设备,所述第一设备为监测到第一用户处于睡眠状态的设备;a first determining unit, configured to determine a first device, where the first device is a device that monitors that the first user is in a sleep state;
    获取单元,用于获取所述第一设备的第一设备标识;An obtaining unit, configured to acquire a first device identifier of the first device;
    第二确定单元,用于确定第二设备,所述第二设备的第二设备标识与所述第一设备标识具有预设关联关系;a second determining unit, configured to determine a second device, where the second device identifier of the second device has a preset association relationship with the first device identifier;
    控制单元,用于控制所述第二设备以降低所述第二设备的外放音量。And a control unit, configured to control the second device to reduce an external volume of the second device.
  28. 根据权利要求27所述的服务器,其特征在于,所述服务器还包括:The server according to claim 27, wherein the server further comprises:
    第一判断单元,用于判断所述第一设备与所述第二设备是否为预设群组内的注册设备;a first determining unit, configured to determine whether the first device and the second device are registered devices in a preset group;
    第三确定单元,用于当所述第一设备确定所述第二设备为预设群组内的注册设备时,触发所述控制单元执行相应操作。And a third determining unit, configured to: when the first device determines that the second device is a registered device in the preset group, trigger the control unit to perform a corresponding operation.
  29. 根据权利要求27所述的服务器,其特征在于,当所述预设关联关系包括所述第一设备与所述第二设备处于预置的目标位置范围内时,则所述服务器还包括:The server according to claim 27, wherein when the preset association relationship includes the first device and the second device being within a preset target location range, the server further includes:
    第二判断单元,用于判断所述第一设备与所述第二设备是否为预设群组内的注册设备;a second determining unit, configured to determine whether the first device and the second device are registered devices in a preset group;
    第四确定单元,用于当所述第一设备与所第二设备确定为预设群组内的注册设备时,触发所述控制单元执行相应操作。And a fourth determining unit, configured to trigger the control unit to perform a corresponding operation when the first device and the second device determine to be a registered device in the preset group.
  30. 一种第一设备,其特征在于,包括: A first device, comprising:
    处理器、存储器、以及输入输出接口;a processor, a memory, and an input and output interface;
    所述存储器中存储有程序代码;Program code is stored in the memory;
    所述处理器调用所述存储器中的程序代码时执行权利要求1-3、11-13中任一项所述的方法。The method of any one of claims 1-3, 11-13 is performed when the processor invokes the program code in the memory.
  31. 一种服务器,其特征在于,包括:A server, comprising:
    处理器、存储器、以及输入输出接口;a processor, a memory, and an input and output interface;
    所述存储器中存储有程序代码;Program code is stored in the memory;
    所述处理器调用所述存储器中的程序代码时执行权利要求4-10、14-17中任一项所述的方法。The method of any one of claims 4-10, 14-17 is performed when the processor invokes program code in the memory.
  32. 一种计算机可读存储介质,包括指令,其特征在于,当其在计算机上运行时,使得计算机执行如权利要求1-17中任一项所述的方法。A computer readable storage medium comprising instructions, wherein when executed on a computer, causes the computer to perform the method of any of claims 1-17.
  33. 一种包含指令的计算机程序产品,其特征在于,当其在计算机上运行时,使得计算机执行如权利要求1-17中任一项所述的方法。 A computer program product comprising instructions, wherein when executed on a computer, causes the computer to perform the method of any of claims 1-17.
PCT/CN2017/112602 2017-07-12 2017-11-23 Control method and device for device volume, and server WO2019010896A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780064266.4A CN109923848B (en) 2017-07-12 2017-11-23 Method and device for controlling volume of device and server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710567560.9 2017-07-12
CN201710567560 2017-07-12

Publications (1)

Publication Number Publication Date
WO2019010896A1 true WO2019010896A1 (en) 2019-01-17

Family

ID=65001528

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/112602 WO2019010896A1 (en) 2017-07-12 2017-11-23 Control method and device for device volume, and server

Country Status (2)

Country Link
CN (1) CN109923848B (en)
WO (1) WO2019010896A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666444A (en) * 2020-12-23 2022-06-24 华为技术有限公司 Equipment control method and device and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112153527B (en) * 2020-09-11 2022-08-05 深圳市火乐科技发展有限公司 Voice playing control method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101479670B1 (en) * 2013-08-14 2015-01-06 (주)웅진씽크빅 Apparatus and method for controlling multimedia device
CN105306760A (en) * 2014-06-18 2016-02-03 腾讯科技(深圳)有限公司 Method and device for controlling terminal
CN105534505A (en) * 2016-02-04 2016-05-04 湖南信息职业技术学院 Health management equipment, monitoring method and health monitoring system
CN105807726A (en) * 2014-12-30 2016-07-27 北京奇虎科技有限公司 Terminal control system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
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
CN106528036B (en) * 2016-10-09 2020-02-14 腾讯科技(深圳)有限公司 Volume adjusting method and device
CN106371802A (en) * 2016-10-31 2017-02-01 北京小米移动软件有限公司 Terminal volume control method and device
CN107277266B (en) * 2017-07-13 2021-04-20 广东小天才科技有限公司 Mode switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101479670B1 (en) * 2013-08-14 2015-01-06 (주)웅진씽크빅 Apparatus and method for controlling multimedia device
CN105306760A (en) * 2014-06-18 2016-02-03 腾讯科技(深圳)有限公司 Method and device for controlling terminal
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666444A (en) * 2020-12-23 2022-06-24 华为技术有限公司 Equipment control method and device and electronic equipment
WO2022135183A1 (en) * 2020-12-23 2022-06-30 华为技术有限公司 Device control method and apparatus and electronic device

Also Published As

Publication number Publication date
CN109923848B (en) 2021-03-30
CN109923848A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
US20210089270A1 (en) Prompting method and mobile terminal
WO2016150331A1 (en) Method and device for operating game client
WO2019120087A1 (en) Processing method for reducing power consumption and mobile terminal
CN108781236B (en) Audio playing method and electronic equipment
WO2021036711A1 (en) Network control method and related product
CN102970323A (en) Remote access to a mobile communication device over a wireless local area network (wlan)
WO2016116041A1 (en) Information recommendation management method, device and system
WO2018120905A1 (en) Message reminding method for terminal, and terminal
WO2015078145A1 (en) Method and apparatus for enlarging display font
WO2015043505A1 (en) Method, apparatus, and system for sending and receiving social network information
WO2020107290A1 (en) Audio output control method and apparatus, computer readable storage medium, and electronic device
WO2021238844A1 (en) Audio output method and electronic device
WO2024055494A1 (en) Call method and apparatus based on bluetooth earphone, and storage medium
WO2019076250A1 (en) Push message management method and related products
CN111901211A (en) Control method, apparatus and storage medium
WO2019010896A1 (en) Control method and device for device volume, and server
WO2020097927A1 (en) Call control method and device, computer-readable storage medium and electronic device
CN112286286B (en) Standby control method, wearable device and computer readable storage medium
WO2015078349A1 (en) Microphone sound-reception status switching method and apparatus
CN106454953B (en) Flow control method, device and terminal
CN111694537B (en) Audio playing method, electronic equipment and readable storage medium
CN111526248B (en) Audio output mode switching method and electronic equipment
CN111309392B (en) Equipment control method and electronic equipment
WO2020113525A1 (en) Playing control method and apparatus, and computer-readable storage medium and electronic device
CN106210325B (en) Method, device and terminal for setting incoming call ringtone of social application

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17917557

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17917557

Country of ref document: EP

Kind code of ref document: A1