Method of operating electronic device, electronic device, and storage medium
Patent Information
- Application Number
- CN202210962509.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-11
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2042-08-11
AI Technical Summary
[0003]本公开提供一种电子设备的操作方法、电子设备及存储介质,以至少解决相关技术中的闹钟声音影响他人的问题
[0032]本公开的实施例提供的技术方案至少带来以下有益效果:根据本公开实施例的电子设备的操作方法,由于在获取到至少一个闹钟的闹钟设置信息之后,基于闹钟设置信息确定分别与所述至少一个闹钟中的每个闹钟对应的闹钟声音播放方向,然后向所述闹钟声音播放方向播放每个闹钟对应的闹钟声音,而非在整个空间中播放闹钟声音,因此,可以定向地提供闹钟服务,减小闹钟声音对他人的影响。
Smart Images

Figure CN117640820B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the Internet of Things (IoT) field, and more particularly to a method of operating an electronic device, an electronic device, and a storage medium. Background Technology
[0002] Currently, with the continuous development of IoT technology, the concept of interconnected things has gradually gained popularity. The ability for different devices to communicate has led to the possibility of redefining some traditional home appliances or devices. Almost everyone has experience setting alarm clocks. Taking wake-up alarms as an example, in shared living environments, it's common for one's own alarm to disturb others, or for one to be disturbed by another's alarm. Since alarm clocks are usually set for a single person, the same alarm clock can be very loud noise for others who are sleeping. Therefore, there is a need for a technology that can provide alarm clock services without disturbing others. Summary of the Invention
[0003] This disclosure provides an operating method for an electronic device, an electronic device, and a storage medium to at least solve the problem of alarm clock sounds disturbing others in the related art.
[0004] According to a first aspect of the present disclosure, an operation method for a first electronic device is provided, the operation method comprising: acquiring alarm setting information of at least one alarm clock from at least one second electronic device; determining an alarm sound playback direction corresponding to each of the at least one alarm clock based on the alarm setting information; and playing the alarm sound corresponding to each alarm clock in the alarm sound playback direction.
[0005] Optionally, the alarm clock setting information includes alarm time information, alarm sound information, and relevant information of a third electronic device matched with each of the at least one alarm clocks, wherein the third electronic device may be the same as or different from the second electronic device.
[0006] Optionally, determining the alarm sound playback direction corresponding to each of the at least one alarm clocks based on the alarm clock setting information includes: determining the position of the third electronic device based on the relevant information of the third electronic device matched with each alarm clock; and determining the alarm sound playback direction of each alarm clock based on the determined position of the third electronic device.
[0007] Optionally, determining the location of the third electronic device based on the relevant information of the third electronic device matched with each alarm clock includes: determining the location of the third electronic device using ultra-wideband (UWB) positioning technology based on the relevant information of the third electronic device matched with each alarm clock.
[0008] Optionally, determining the alarm sound playback direction corresponding to each of the at least one alarm clocks based on the alarm clock setting information includes: determining the alarm sound playback time of each alarm clock based on the alarm clock setting information; and determining the alarm sound playback direction corresponding to each of the at least one alarm clocks based on the alarm clock setting information within a predetermined time before the alarm sound playback time.
[0009] Optionally, the at least one alarm clock can be multiple alarm clocks, and the first electronic device includes multiple sound playback modules. The step of playing the alarm sound corresponding to each alarm clock in the alarm sound playback direction includes: if it is determined from the setting information that the alarm times of the multiple alarm clocks are the same, then at the alarm time, the multiple sound playback modules are used to play the alarm sound corresponding to each of the multiple alarm clocks in the alarm sound playback direction corresponding to each of the multiple alarm clocks.
[0010] Optionally, the at least one alarm clock can be multiple alarm clocks, and the first electronic device includes a sound playback module, wherein playing the alarm sound corresponding to each alarm clock in the direction of the alarm sound playback includes: if it is determined from the setting information that the alarm times of the multiple alarm clocks are the same, then starting from the alarm time, the sound playback module is used to alternately play the alarm sound corresponding to each alarm clock in the direction of the alarm sound playback corresponding to each of the multiple alarm clocks in different time periods.
[0011] Optionally, obtaining alarm setting information from at least one alarm clock from at least one second electronic device includes: receiving the alarm setting information directly from the at least one second electronic device; or obtaining the alarm setting information via an intermediate communication device or by accessing the cloud.
[0012] According to a second aspect of the present disclosure, an operation method for a second electronic device is provided, comprising: generating alarm setting information for at least one alarm clock; and sending the alarm setting information to a first electronic device, wherein the alarm setting information is used by the first electronic device to determine an alarm sound playback direction corresponding to each of the at least one alarm clock, so as to play the alarm sound corresponding to each alarm clock in the alarm sound playback direction.
[0013] Optionally, the alarm clock setting information includes alarm time information, alarm sound information, and relevant information of a third electronic device matched with each of the at least one alarm clocks, wherein the third electronic device may be the same as or different from the second electronic device.
[0014] Optionally, the third electronic device and the second electronic device are the same electronic device, and the first electronic device and the third electronic device include an ultra-wideband (UWB) module. The operation method further includes: establishing a communication connection with the first electronic device and exchanging ultra-wideband (UWB) ranging parameters with the first electronic device, wherein the ultra-wideband (UWB) ranging parameters are used to determine the direction of the alarm clock sound playback.
[0015] Optionally, generating alarm setting information for at least one alarm clock includes: outputting prompt information, wherein the prompt information prompts the user whether they wish to use a first electronic device to play an alarm sound; if a confirmation input regarding using the first electronic device to play an alarm sound is received, outputting a user interface for setting a third electronic device matching each alarm clock; and in response to input on the user interface, generating relevant information for the third electronic device matching each alarm clock as one of the alarm setting information.
[0016] Optionally, sending the alarm setting information to the first electronic device includes: sending the alarm setting information directly to the first electronic device; or sending the alarm setting information to the first electronic device via an intermediate communication device or the cloud.
[0017] According to a third aspect of the present disclosure, a first electronic device is provided, comprising: an information acquisition unit configured to acquire alarm clock setting information of at least one alarm clock from at least one second electronic device; a direction determination unit configured to determine, based on the alarm clock setting information, an alarm clock sound playback direction corresponding to each of the at least one alarm clock; and a sound playback unit configured to play the alarm clock sound corresponding to each alarm clock in the alarm clock sound playback direction.
[0018] Optionally, the alarm clock setting information includes alarm time information, alarm sound information, and relevant information of a third electronic device matched with each of the at least one alarm clocks, wherein the third electronic device may be the same as or different from the second electronic device.
[0019] Optionally, determining the alarm sound playback direction corresponding to each of the at least one alarm clocks based on the alarm clock setting information includes: determining the position of the third electronic device based on the relevant information of the third electronic device matched with each alarm clock; and determining the alarm sound playback direction of each alarm clock based on the determined position of the third electronic device.
[0020] Optionally, determining the location of the third electronic device based on the relevant information of the third electronic device matched with each alarm clock includes: determining the location of the third electronic device using ultra-wideband (UWB) positioning technology based on the relevant information of the third electronic device matched with each alarm clock.
[0021] Optionally, determining the alarm sound playback direction corresponding to each of the at least one alarm clocks based on the alarm clock setting information includes: determining the alarm sound playback time of each alarm clock based on the alarm clock setting information; and determining the alarm sound playback direction corresponding to each of the at least one alarm clocks based on the alarm clock setting information within a predetermined time before the alarm sound playback time.
[0022] Optionally, the at least one alarm clock can be multiple alarm clocks, and the sound playback unit includes multiple sound playback modules. The step of playing the alarm sound corresponding to each alarm clock in the alarm sound playback direction includes: if it is determined from the setting information that the alarm times of the multiple alarm clocks are the same, then at the alarm time, the multiple sound playback modules are used to play the alarm sound corresponding to each of the multiple alarm clocks in the alarm sound playback direction corresponding to each of the multiple alarm clocks.
[0023] Optionally, the at least one alarm clock can be multiple alarm clocks, and the sound playback unit includes a sound playback module, wherein playing the alarm sound corresponding to each alarm clock in the direction of the alarm sound playback includes: if it is determined from the setting information that the alarm times of the multiple alarm clocks are the same, then starting from the alarm time, the sound playback module is used to alternately play the alarm sound corresponding to each alarm clock in the direction of the alarm sound playback corresponding to each of the multiple alarm clocks in different time periods.
[0024] Optionally, obtaining alarm setting information from at least one alarm clock from at least one second electronic device includes: receiving the alarm setting information directly from the at least one second electronic device; or obtaining the alarm setting information via an intermediate communication device or by accessing the cloud.
[0025] According to a fourth aspect of the present disclosure, a second electronic device is provided, comprising: an information generation unit configured to generate alarm setting information for at least one alarm clock; and a sending unit configured to send the alarm setting information to a first electronic device, wherein the alarm setting information is used by the first electronic device to determine an alarm sound playback direction corresponding to each of the at least one alarm clock, so as to play the alarm sound corresponding to each alarm clock in the alarm sound playback direction.
[0026] Optionally, the alarm clock setting information includes alarm time information, alarm sound information, and relevant information of a third electronic device matched with each of the at least one alarm clocks, wherein the third electronic device may be the same as or different from the second electronic device.
[0027] Optionally, the third electronic device and the second electronic device are the same electronic device. The first electronic device and the third electronic device include an ultra-wideband (UWB) module. The UWB module included in the second electronic device is configured to: establish a communication connection with the first electronic device and exchange ultra-wideband (UWB) ranging parameters with the first electronic device, wherein the ultra-wideband (UWB) ranging parameters are used to determine the direction of the alarm clock sound playback.
[0028] Optionally, generating alarm setting information for at least one alarm clock includes: outputting prompt information, wherein the prompt information prompts the user whether they wish to use a first electronic device to play an alarm sound; if a confirmation input regarding using the first electronic device to play an alarm sound is received, outputting a user interface for setting a third electronic device matching each alarm clock; and in response to input on the user interface, generating relevant information for the third electronic device matching each alarm clock as one of the alarm setting information.
[0029] Optionally, sending the alarm setting information to the first electronic device includes: sending the alarm setting information directly to the first electronic device; or sending the alarm setting information to the first electronic device via an intermediate communication device or the cloud.
[0030] According to a fifth aspect of the present disclosure, an electronic device is provided, characterized in that it includes: at least one processor; at least one memory storing computer-executable instructions, wherein the computer-executable instructions, when executed by the at least one processor, cause the at least one processor to perform the operation method as described above.
[0031] According to a sixth aspect of the present disclosure, a computer-readable storage medium for storing instructions is provided, characterized in that, when the instructions are executed by at least one processor, they cause the at least one processor to perform the operation method described above.
[0032] The technical solutions provided by the embodiments of this disclosure bring at least the following beneficial effects: According to the operation method of the electronic device of the embodiments of this disclosure, after obtaining the alarm setting information of at least one alarm clock, the alarm sound playback direction corresponding to each of the at least one alarm clock is determined based on the alarm setting information, and then the alarm sound corresponding to each alarm clock is played in the alarm sound playback direction, instead of playing the alarm sound in the entire space. Therefore, the alarm clock service can be provided in a targeted manner, reducing the impact of the alarm sound on others.
[0033] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0034] The accompanying drawings, which are incorporated in and form part of this specification, illustrate exemplary embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0035] Figure 1 This is an illustration of an alarm clock ringing in a shared living environment;
[0036] Figure 2 This is a flowchart of an operation method of a first electronic device according to an exemplary embodiment of the present disclosure;
[0037] Figure 3 A schematic diagram showing a network connection scheme including a first electronic device and a second electronic device is provided.
[0038] Figure 4 A schematic diagram of bilateral two-way ranging is shown;
[0039] Figure 5 A schematic diagram showing the location of a third electronic device using three antennas is provided.
[0040] Figure 6 This diagram illustrates the directional playback of alarm clock sounds.
[0041] Figure 7 This is a schematic diagram illustrating a scheme where multiple sound playback modules play multiple alarm clock sounds;
[0042] Figure 8 This is a schematic diagram illustrating a scheme where a sound playback module plays multiple alarm clock sounds;
[0043] Figure 9 This is a flowchart of an operation method of a second electronic device according to an exemplary embodiment of the present disclosure;
[0044] Figure 10 This is a schematic diagram showing the settings of a third electronic device that is matched with the alarm clock;
[0045] Figure 11 This is a block diagram of a first electronic device according to an exemplary embodiment of the present disclosure;
[0046] Figure 12 This is a block diagram of a second electronic device according to exemplary embodiments of the present disclosure;
[0047] Figure 13 This is a block diagram of an electronic device according to exemplary embodiments of the present disclosure. Detailed Implementation
[0048] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0049] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following examples do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0050] It should be noted that the phrase "at least one of several items" in this disclosure refers to three parallel cases: "any one of the several items", "a combination of any number of the several items", and "all of the several items". For example, "including at least one of A and B" includes the following three parallel cases: (1) including A; (2) including B; (3) including A and B. As another example, "performing at least one of step one and step two" indicates the following three parallel cases: (1) performing step one; (2) performing step two; (3) performing both step one and step two.
[0051] As described in the background section of this application, in a shared living environment, it often happens that one's own alarm clock affects others or one is affected by an alarm clock set by others. Figure 1 The illustration depicts a scenario where an alarm clock rings in a shared living environment. For example, in a school dormitory, Xiaohua sets an alarm for 6:00 AM the day before an exam on Saturday morning. At 6:00 AM the next day, everyone hears Xiaohua's phone alarm while they are still asleep, directly affecting their sleep quality. Therefore, this disclosure proposes a method and device to prevent alarm clock sounds from disturbing others. The method and device proposed in this disclosure effectively prevent alarm clock sounds from disturbing others by playing the corresponding alarm clock sound in the direction corresponding to the sound of each alarm clock.
[0052] Figure 2 This is a flowchart of an operation method of a first electronic device according to an exemplary embodiment of the present disclosure.
[0053] In step S210, alarm setting information from at least one alarm clock from at least one second electronic device is obtained. In this application, the first electronic device can be a device that plays an alarm sound, such as a smart alarm clock. The second electronic device can be a device that allows the user to set the alarm, such as a mobile phone, wearable device, etc. As an example, in step S210, the alarm setting information can be received directly from the at least one second electronic device. Alternatively, the alarm setting information can be obtained via an intermediate communication device or by accessing the cloud. The method by which the first electronic device obtains the alarm setting information may depend on the communication method between the first electronic device and the second electronic device.
[0054] Specifically, Figure 3 A schematic diagram of a network connection scheme including a first electronic device and a second electronic device is shown.
[0055] exist Figure 3 The image illustrates three network connection schemes. For example... Figure 3 As shown, the first network connection method is that the first electronic device and at least one second electronic device are connected via WiFi Direct or short-range connection methods such as BT. In this case, in step S210, the first electronic device can directly receive the alarm clock setting information from at least one second electronic device via WiFi Direct or short-range connection methods such as BT.
[0056] The second network connection method is that the first electronic device and the second electronic device are under the same access point. In this case, in step S210, the first electronic device can obtain the alarm clock setting information through an intermediate communication device (e.g., a router).
[0057] The third network connection method involves both the first and second electronic devices connecting to the cloud via a data network (e.g., a cellular network) or a Wi-Fi network. In this case, the second electronic device can send alarm setting information to cloud storage via a control application, and then in step S210, the first electronic device can access the cloud to obtain the alarm setting information.
[0058] According to an embodiment, the alarm clock setting information may include alarm time information, alarm sound information, and relevant information of a third electronic device matched with each alarm clock, but is not limited thereto. For example, the alarm clock setting information may also include alarm name information, etc. The alarm time information may include alarm playback start time, alarm playback duration, alarm playback interval, etc. The alarm sound information includes the name, volume, and playback mode of the alarm sound (vibration or alarm music). The relevant information of the third electronic device matched with each alarm clock may include the name and physical address (MAC address) of the third electronic device, etc. Here, the third electronic device may be the same as or different from the second electronic device. As mentioned above, the second electronic device may be the electronic device that sets the alarm, and the third electronic device may be the second electronic device itself, or it may be another electronic device that the user usually keeps close at hand or wears with them, such as a mobile phone kept close at hand while sleeping, or a wearable device worn while sleeping (e.g., a smartwatch, smart bracelet, etc.). Therefore, the user's position and orientation information relative to the first electronic device can be determined by locating the third electronic device. By playing the alarm sound only towards the third electronic device, the alarm service can be provided only to the user associated with that third electronic device, thus avoiding disturbing others. According to an embodiment, the third electronic device paired with each alarm can be one or more electronic devices.
[0059] In a shared living environment, if there are multiple second electronic devices, each second electronic device can set an alarm clock and then synchronize the set alarm clock information to the first electronic device. Furthermore, a second electronic device can set at least one alarm clock. Therefore, in step S110, the first electronic device can obtain alarm clock setting information from at least one alarm clock of at least one second electronic device. For example, Table 1 below shows an example of alarm clock setting information obtained by the first electronic device.
[0060]
[0061] As shown in the table above, the alarm clock named "Alarm 1" has an alarm time of "AM 6:00" and its corresponding alarm sound is the ringtone "Horizon". The third electronic device matched with this alarm is two devices named "Uncle Suger'S21" (which could be a mobile phone, for example) and "Uncle Suger'GalaxyWatch" (which could be a smartwatch, for example), with MAC addresses MacAddress1 = 1a48ca4198999899 and MacAddress2 = 1a48ca4199976553, respectively. The alarm clock named "Alarm 2" also has an alarm time of "AM 6:00" and its corresponding alarm sound is the ringtone "Horizon". The third electronic device matched with this alarm is one device with the name "Lindar'S20" and MAC address "MacAddress =
[0062] 1a48ca4168598962". Therefore, the third electronic device paired with each alarm clock can be one or more electronic devices. The alarm clocks "Alarm 1" to "Alarm 5" mentioned above can be alarm clocks from the same second electronic device, or they can be alarm clocks from different second electronic devices. For example, different students in the same dormitory can set their own alarm clocks using their own second electronic devices, and then send the set alarm clock settings information to the first electronic device. The first electronic device can thus obtain alarm clock setting information from multiple alarm clocks from multiple second electronic devices. Alternatively, a student in the dormitory can also set alarm clocks for themselves or for other students using their own second electronic device. In this case, the first electronic device can obtain alarm clock setting information from at least one alarm clock from one second electronic device. Furthermore, the first electronic device can store the obtained alarm clock setting information.
[0063] After obtaining the alarm clock setting information, in step S220, the alarm sound playback direction corresponding to each of the at least one alarm clock is determined based on the alarm clock setting information. For example, the alarm sound playback time of each alarm clock can be determined based on the alarm clock setting information, and the alarm sound playback direction corresponding to each of the at least one alarm clock is determined based on the alarm clock setting information within a predetermined time before the alarm sound playback time. As mentioned above, the alarm clock setting information may include alarm clock time information, and the alarm sound playback time of each alarm clock (i.e., at what time the alarm sound will play) can be determined based on the alarm clock time information. Furthermore, in order to ensure that the alarm sound can be played smoothly in the appropriate direction at the alarm sound playback time, the alarm sound playback direction corresponding to each of the at least one alarm clock can be determined based on the alarm clock setting information within a predetermined time before the alarm sound playback time. For example, the alarm sound playback direction corresponding to each alarm clock can be determined 5 minutes before the scheduled ringing time of each alarm clock, and then, when the alarm time arrives, the alarm sound playback direction corresponding to each alarm clock can be determined based on the alarm clock setting information.
[0064] The following describes how to determine the alarm sound playback direction corresponding to each of the at least one alarm clocks based on the alarm clock setting information.
[0065] Specifically, for example, determining the alarm sound playback direction corresponding to each of the at least one alarm clocks based on the alarm clock setting information may include: first, determining the location of a third electronic device based on the relevant information of the third electronic device matched with each alarm clock; then, determining the alarm sound playback direction of each alarm clock based on the determined location of the third electronic device. According to an embodiment, the location of the third electronic device may be determined using ultra-wideband (UWB) positioning technology based on the relevant information of the third electronic device matched with each alarm clock. For example, as described above, the relevant information may include the physical address of the third electronic device. In this case, the distance between the first electronic device and the third electronic device can be measured based on the physical address of the third electronic device, and the location of the third electronic device can be determined based on the measured distance.
[0066] The following examples are provided for reference. Figure 4 and Figure 5 This describes an exemplary method for determining the location of a third electronic device to determine the direction of alarm sound playback based on the location.
[0067] According to embodiments of this disclosure, the first and third electronic devices may include ultra-wideband (UWB) modules. Using UWB technology, positioning and communication can be easily integrated, something conventional radio cannot do. UWB technology has extremely strong penetration capabilities, enabling precise positioning indoors and underground, while the Global Positioning System (GPS) can only operate within the line of sight of GPS positioning satellites. Unlike GPS, which provides absolute geographic location, ultra-wideband radio locators can provide relative location with centimeter-level accuracy; furthermore, ultra-wideband radio locators are more affordable.
[0068] If the relevant information of the third electronic device included in the alarm clock settings includes the physical address of the third electronic device, the first electronic device can first establish a communication connection with the third electronic device based on the physical address of the third electronic device, and exchange ultra-wideband (UWB) ranging parameters with the third electronic device. Subsequently, based on the exchanged UWB ranging parameters, the distance between the first electronic device and the third electronic device is measured using the bilateral two-way ranging (DS-TWR) method.
[0069] For example, a first electronic device (e.g., a smart alarm clock) can establish a Bluetooth Low Energy (BLE) connection with a third electronic device (e.g., a smartwatch) based on the physical address of the third electronic device, and exchange ultra-wideband (UWB) ranging parameters with the third electronic device via BLE GATT (Generic Attribute Profile). For instance, most current Bluetooth Low Energy (BLE) connections are built on the GATT protocol. GATT is a general specification for sending and receiving short data segments over a Bluetooth connection; these short data segments can be referred to as attributes. According to embodiments of this disclosure, UWB ranging parameters can be predefined parameters. These predefined parameters may include ranging mode (e.g., Double Sided Two-Way Ranging (DS-TWR)), session ID (a continuous ranging process between devices is called a ranging session, and the session ID of each ranging session is unique), MAC address of the first electronic device / MAC address of the third electronic device, scramble timestamp sequence (STS), search method (e.g., the first electronic device searches for only one third electronic device at a time), and device roles of the first and third electronic devices (e.g., the first electronic device is the controller and the third electronic device is the controlled device during communication exchange), but are not limited to these. The latest UWB specification, IEEE 802.15.4z, adds an important feature to the physical layer: scramble timestamp sequence. STS employs both encryption and random number generation techniques to protect the timestamp data. Since timestamp data is used to determine the precise distance between two objects, any tampering or manipulation of the timestamp means that the distance will appear more or less. STS makes it extremely difficult for adversaries to intercept and alter critical timestamp data sent by UWB devices.
[0070] Assuming the received UWB ranging parameters indicate a bilateral bidirectional ranging mode, the first electronic device can use the bilateral bidirectional ranging method to measure the distance between the first electronic device and the third electronic device.
[0071] Figure 4 A schematic diagram of bilateral two-way ranging is shown. (For example...) Figure 4As shown, device A (the UWB module of the first electronic device) and device B (the UWB module of the third electronic device) are two UWB modules. Ranging is initiated by device A. After receiving the data, device B sends back a response. Device A then receives this response and initiates another transmission to device B, thus completing one ranging operation. Each time device A sends and receives data, it records a timestamp. Based on the recorded timestamps, the time T from when device A initiates ranging to when it receives the response from device B can be determined. round1 and the time T from receiving the response from device B to re-initiating the ranging. reply2 And the time T from when device B receives the response from device A to when it initiates ranging. reply2 and the time T from initiating ranging to receiving the response from device A. round2 Based on the determined times mentioned above, the flight time can be calculated using the following equation.
[0072]
[0073] After determining the flight time, the distance between the first electronic device and the third electronic device can be determined by multiplying the flight time by the speed of light, c.
[0074] According to an embodiment, after measuring the distance between the first electronic device and the third electronic device, the position of the third electronic device can be determined based on the measured distance. As an example, the first electronic device may include multiple antennas. The distance between the first electronic device and the third electronic device can be the distance between each antenna of the first electronic device and the third electronic device, measured using the ranging method described above.
[0075] Figure 5 This diagram illustrates the positioning of a third electronic device using three antennas. Figure 5 As shown, assuming the distances from the three antennas (antenna A, antenna B, and antenna C) of the first electronic device to the fourth electronic device are measured by DS-TWR as r1, r2, and r3 respectively, then the position coordinates (x, y) of the third electronic device relative to the first electronic device can be obtained based on the distances r1, r2, and r3 and the coordinates (x1, y1), (x2, y2), and (x3, y3) of antennas A, B, and C. Based on these coordinates, the azimuth angle α of the third electronic device relative to the first electronic device can be determined, where α = arctan(y / x). The direction corresponding to this azimuth angle can be the direction in which the alarm sound is played, as in the case of an alarm clock.
[0076] Return to reference Figure 2After determining the alarm sound playback direction corresponding to each of the at least one alarm clocks, in step S230, the alarm sound corresponding to each alarm clock can be played in the alarm sound playback direction. Figure 6 This diagram illustrates the directional playback of an alarm clock sound. For example, as shown... Figure 6 As shown, sound direction playback technology can be used to play the corresponding alarm sound in the direction of the alarm sound playback for each alarm clock.
[0077] According to an exemplary embodiment, the at least one alarm clock can be multiple alarm clocks, and the first electronic device can include multiple sound playback modules. In this case, playing the alarm sound corresponding to each alarm clock in the alarm sound playback direction can include: if it is determined from the setting information that the alarm times of the multiple alarm clocks are the same, then at the alarm time, using the multiple sound playback modules to play the alarm sound corresponding to each of the multiple alarm clocks in the alarm sound playback direction corresponding to their respective alarm clocks. That is, each sound playback module is responsible for playing the corresponding alarm sound in one alarm sound playback direction. For example, in a real-world scenario, there may be two or more alarm clocks that need to be played at the same time, and the alarm sounds played are different. In this case, if the smart alarm clock includes multiple speakers, each speaker can play one alarm sound in one direction. Figure 7 This is a schematic diagram illustrating a scheme where multiple sound playback modules play multiple alarm clock sounds. For example... Figure 7 As shown, if the smart alarm clock needs to play alarms for two users at 6:00 AM, and the smart alarm clock has multiple speakers, one speaker can play user 1's alarm "Easy on me" in direction 1 corresponding to the alarm set by user 1, and another speaker can play user 2's alarm "Woman like me" in direction 2 corresponding to the alarm set by user 2, while other users in the same space can be undisturbed.
[0078] Optionally, the at least one alarm clock may be multiple alarm clocks. The first electronic device may include a sound playback module. In this case, playing the alarm sound corresponding to each alarm clock in the direction of the alarm sound playback may include: if it is determined from the setting information that the alarm times of the multiple alarm clocks are the same, then starting from the alarm time, using the sound playback module to alternately play the alarm sound corresponding to each alarm clock in time intervals in the direction of the alarm sound playback corresponding to each of the multiple alarm clocks. That is, an intermittent playback method can be adopted so that users in different directions can receive different alarm sounds. Figure 8 This is a schematic diagram illustrating a scheme where a sound playback module plays multiple alarm clock sounds. For example... Figure 8As shown, if the smart alarm clock needs to play alarms for two users at 6:00 AM, and the smart alarm clock only has one speaker, then the speaker can play user 1's alarm "Easy on me" in direction 1 corresponding to the alarm set by user 1 during the time period from 0 to t, play user 2's alarm "Woman like me" in direction 2 corresponding to the alarm set by user 2 during the time period from t to 2t, play user 1's alarm "Easy on me" in direction 1 during the time period from 2t to 3t, and play user 2's alarm "Woman like me" in direction 2 during the time period from 3t to 4t, and so on, until the playback stops after the predetermined time.
[0079] The above has been combined with Figures 1 to 8 The present disclosure describes an operation method for a first electronic device according to an embodiment of the present disclosure. After obtaining alarm setting information of at least one alarm clock, the device determines the alarm sound playback direction corresponding to each of the at least one alarm clock based on the alarm setting information, and then plays the alarm sound corresponding to each alarm clock in the alarm sound playback direction, instead of playing the alarm sound throughout the entire space. Therefore, the device can provide alarm clock service in a targeted manner, reducing the impact of the alarm sound on others.
[0080] The following is for reference Figure 9 and Figure 10 The operation method of the second electronic device according to an embodiment of the present disclosure will be described.
[0081] Figure 9 This is a flowchart of an operation method of a second electronic device according to an exemplary embodiment of the present disclosure.
[0082] Reference Figure 9 In step S910, alarm setting information for at least one alarm clock is generated. As mentioned above, the alarm setting information may include, but is not limited to, the alarm time information, alarm sound information, and relevant information of a third electronic device matched with each of the at least one alarm clocks. Figure 9 The described embodiments will not be repeated here. As mentioned above, the third electronic device is the electronic device that is facing when the alarm clock sound is played. Furthermore, the third electronic device may be the same as or different from the second electronic device.
[0083] As an example, generating alarm setting information for at least one alarm clock may include: outputting prompt information, wherein the prompt information prompts the user whether they wish to use a first electronic device to play an alarm sound; if a confirmation input regarding using the first electronic device to play an alarm sound is received, then outputting a user interface for setting a third electronic device that matches each alarm clock; and in response to input on the user interface, generating relevant information for the third electronic device that matches each alarm clock as one of the alarm setting information.
[0084] Figure 10 This is a schematic diagram illustrating the setting of a third electronic device paired with an alarm clock. According to an exemplary embodiment, when a user sets an alarm on a second electronic device (such as a user's mobile phone), the second electronic device can output a prompt message to indicate whether the user wishes to use the first electronic device (such as a smart alarm clock) to play the alarm sound. Alternatively, when the second electronic device is connected to a local area network shared by multiple users, the second electronic device can output a prompt message to indicate whether the user wishes to use the first electronic device to play the alarm sound. For example, as... Figure 10 As shown, the above prompt message could be "Synchronize to smart alarm clock?". If the user confirms, the user can be further prompted to set which device(s) the alarm sound will be played towards. According to an embodiment, if the user of the second electronic device confirms using the first electronic device to play the alarm sound, the second electronic device, upon receiving confirmation input regarding using the first electronic device to play the alarm sound, can output a user interface for setting a third electronic device that matches each alarm. Through input on this user interface, the user can set relevant information for the third electronic device, which can be one of the aforementioned alarm setting information. For example, the user can select the third electronic device they wish to match the alarm on a user interface displaying multiple candidate third electronic devices, for example, such as... Figure 10As shown, a user can select two electronic devices named "Uncle Suger'S21" and "Uncle Suger'Galaxy Watch" as third electronic devices to match a set alarm. The alarm sound will then be directed towards these two devices. The second electronic device can generate relevant information for each third electronic device in response to input on the user interface, as part of the alarm setting information. The above method of generating relevant information for the third electronic device is merely an example; other methods (e.g., directly inputting relevant information on the alarm setting interface without prompting) can also be used to generate this information. This relevant information may include the name, MAC address, etc., of the third electronic device. Furthermore, as mentioned above, the alarm setting information may include not only relevant information for the third electronic device but also alarm time and alarm sound information. Any alarm setting method can be used to set the alarm time and alarm sound information; this disclosure is not limited in this regard.
[0085] Return to reference Figure 9 After generating the alarm setting information, in step S920, the alarm setting information is sent to the first electronic device. The alarm setting information can be used by the first electronic device to determine the alarm sound playback direction corresponding to each of the at least one alarm clock, so as to play the alarm sound corresponding to each alarm clock in the specified direction. As an example, the second electronic device can directly send the alarm setting information to the first electronic device, or send it via an intermediate communication device or the cloud. For example, the second electronic device can first send the alarm setting information to an intermediate communication device, and then the intermediate communication device sends the alarm setting information to the first electronic device; or, the second electronic device can first send the alarm setting information to the cloud, and then the first electronic device obtains the alarm setting information by accessing the cloud.
[0086] According to the embodiments, the third electronic device and the second electronic device may be the same or different. If the third electronic device is the same as the second electronic device, it means that the electronic device setting the alarm is the same electronic device towards which the future alarm sound will be played. If the third electronic device is different from the second electronic device, it means that the electronic device setting the alarm is not the same electronic device towards which the future alarm sound will be played; that is, the alarm sound can be set to be played towards other electronic devices in the future through the second electronic device.
[0087] Optionally, in the case where the third electronic device and the second electronic device are the same electronic device, and both the first electronic device and the third electronic device include an ultra-wideband (UWB) module, Figure 9The operation method of the second electronic device may further include: establishing a communication connection with the first electronic device and exchanging ultra-wideband (UWB) ranging parameters with the first electronic device, wherein the UWB ranging parameters are used to determine the direction of the alarm sound playback. The exchange of UWB ranging parameters and how to determine the direction of the alarm sound playback based on the UWB ranging parameters have already been described in the above description of the operation method of the first electronic device; therefore, they will not be repeated here.
[0088] According to the operation method of the second electronic device, by generating and sending alarm clock setting information to the first electronic device, the first electronic device can determine the direction of alarm sound playback corresponding to the alarm clock based on the alarm clock setting information, and then play the alarm clock sound corresponding to the alarm clock in the direction of alarm sound playback, thereby reducing the impact of the alarm clock sound on others.
[0089] The operation methods of the first electronic device and the second electronic device according to embodiments of the present disclosure have been described above. The composition of the first electronic device and the second electronic device according to the embodiments will be briefly described below.
[0090] Figure 11 This is a block diagram of a first electronic device according to an exemplary embodiment of the present disclosure. Figure 11 As shown, the first electronic device 1100 may include an information acquisition unit 1110, a direction determination unit 1120, and a sound playback unit 1130. Specifically, the information acquisition unit 1110 may be configured to acquire alarm clock setting information from at least one alarm clock of at least one second electronic device. The direction determination unit 1120 may be configured to determine, based on the alarm clock setting information, the alarm sound playback direction corresponding to each of the at least one alarm clock. The sound playback unit 1130 may be configured to play the alarm sound corresponding to each alarm clock in the alarm sound playback direction.
[0091] As an example, the information acquisition unit 1110 may include a network connection module, which can receive alarm clock setting information within a local area network. The direction determination unit 1120 may include a UWB module and a calculation module. The UWB module can be used to locate a third electronic device (the third electronic device may also include a UWB module), and the calculation module can calculate the alarm sound playback direction of the alarm clock based on the determined location of the third electronic device. For example, a first electronic device (e.g., a smart alarm clock) can be placed in the same dormitory room. The alarms set by roommates can be synchronized to the smart alarm clock via Wi-Fi direct connection to a BT or Data network. The ringing of different alarm clocks only propagates the sound in the direction of the device set by the alarm clock setter, achieving a directional playback effect without disturbing other people's sleep.
[0092] For any details regarding the operations performed by the units mentioned above, please refer to [link / reference needed]. Figures 2 to 8The corresponding descriptions will not be repeated here. Furthermore, it should be noted that although the first electronic device 1100 has been divided into units for performing corresponding processes in the above description, those skilled in the art will understand that the processes performed by the aforementioned units can also be performed without any specific unit division or clear boundaries between the units. In addition, the first electronic device 1100 may also include other units, such as a storage unit. For example, the storage unit may store acquired alarm clock setting information.
[0093] Figure 12 This is a block diagram of a second electronic device according to an exemplary embodiment of the present disclosure. (Refer to...) Figure 12 The second electronic device may include an information generation unit 1210 and a transmission unit 1220. The information generation unit 1210 may be configured to generate alarm setting information for at least one alarm clock. The transmission unit 1220 may be configured to send the alarm setting information to the first electronic device, wherein the alarm setting information is used by the first electronic device to determine the alarm sound playback direction corresponding to each of the at least one alarm clock, so as to play the alarm sound corresponding to each alarm clock in the alarm sound playback direction. According to an exemplary embodiment, the third electronic device and the second electronic device may be the same electronic device, and the first electronic device and the third electronic device may include an ultra-wideband (UWB) module. The UWB module included in the second electronic device may be configured to: establish a communication connection with the first electronic device and exchange ultra-wideband (UWB) ranging parameters with the first electronic device, wherein the ultra-wideband (UWB) ranging parameters are used to determine the alarm sound playback direction.
[0094] For any details regarding the operations performed by the units mentioned above, please refer to the figure. Figures 9 to 10 The corresponding descriptions will not be repeated here. Furthermore, it should be noted that although the second electronic device 1200 has been divided into units for performing corresponding processes in the above description, those skilled in the art will understand that the processes performed by the aforementioned units can also be performed in the second electronic device 1200 without any specific unit division or clear boundaries between the units. In addition, the second electronic device 1200 may also include other units, such as a storage unit. For example, the storage unit may store generated alarm clock setting information.
[0095] Figure 13 This is a block diagram of an electronic device according to exemplary embodiments of the present disclosure.
[0096] Reference Figure 13The electronic device 1300 may include at least one memory 1310 and at least one processor 1320, the at least one memory storing computer-executable instructions that, when executed by the at least one processor, cause the at least one processor 1320 to perform an operation method according to an embodiment of the present disclosure.
[0097] As an example, an electronic device can be a PC, tablet, personal digital assistant, smartphone, or other device capable of executing the aforementioned set of instructions. Here, the electronic device is not necessarily a single device; it can be any collection of devices or circuits capable of executing the aforementioned instructions (or instruction sets) individually or in combination. The electronic device can also be part of an integrated control system or system manager, or can be configured to interconnect locally or remotely (e.g., via wireless transmission) through an interface.
[0098] In electronic devices, processors may include central processing units (CPUs), graphics processing units (GPUs), programmable logic devices, dedicated processor systems, microcontrollers, or microprocessors. By way of example and not limitation, processors may also include analog processors, digital processors, microprocessors, multi-core processors, processor arrays, network processors, etc.
[0099] The processor can execute instructions or code stored in memory, which can also store data. Instructions and data can also be sent and received over a network via a network interface device, which can employ any known transport protocol.
[0100] Memory can be integrated with the processor; for example, RAM or flash memory can be housed within an integrated circuit microprocessor. Alternatively, memory can comprise a separate device, such as an external disk drive, storage array, or other storage device that can be used by any database system. Memory and processor can be operatively coupled, or can communicate with each other, for example, via I / O ports, network connections, etc., enabling the processor to read files stored in the memory.
[0101] In addition, electronic devices may include video displays (such as liquid crystal displays) and user interaction interfaces (such as keyboards, mice, touch input devices, etc.). All components of the electronic device may be interconnected via buses and / or networks.
[0102] According to embodiments of this disclosure, a computer-readable storage medium storing instructions may also be provided, wherein when the instructions are executed by at least one processor, they cause the at least one processor to perform an operation method according to exemplary embodiments of this disclosure. Examples of computer-readable storage media herein include: read-only memory (ROM), random access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD+R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R, BD-R BD-RE, Blu-ray or optical disc storage, hard disk drive (HDD), solid-state drive (SSD), card storage (such as multimedia cards, secure digital (SD) cards, or ultra-fast digital (XD) cards), magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state drive, and any other device configured to store a computer program and any associated data, data files, and data structures in a non-transitory manner and to provide the computer program and any associated data, data files, and data structures to a processor or computer so that the processor or computer can execute the computer program. The instructions or computer program in the aforementioned computer-readable storage medium can run in an environment deployed in computer devices such as clients, hosts, agent devices, servers, etc. Furthermore, in one example, the computer program and any associated data, data files, and data structures are distributed across a networked computer system, such that the computer program and any associated data, data files, and data structures are stored, accessed, and executed in a distributed manner through one or more processors or computers.
[0103] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are defined by the claims.
Claims
1. A method of operating a first electronic device, comprising: Obtain alarm setting information from at least one alarm clock from at least one second electronic device; Based on the alarm clock setting information, determine the alarm sound playback direction corresponding to each of the at least one alarm clock; Play the alarm sound corresponding to each alarm clock in the direction of the alarm sound playback. The alarm clock setting information includes information about a third electronic device matched with each of the at least one alarm clocks, wherein the third electronic device is different from the second electronic device, and The step of determining the alarm sound playback direction corresponding to each of the at least one alarm clocks based on the alarm clock setting information includes: determining the position of the third electronic device based on the relevant information of the third electronic device matched with each alarm clock, and determining the alarm sound playback direction of each alarm clock based on the determined position of the third electronic device.
2. The operating method as described in claim 1, characterized in that, The alarm clock setting information also includes the alarm time information and alarm sound information for each of the at least one alarm clock.
3. The operating method as described in claim 1, characterized in that, Determining the location of the third electronic device based on the relevant information of the third electronic device matched with each alarm clock includes: Based on the relevant information of the third electronic device matched with each alarm clock, the location of the third electronic device is determined using ultra-wideband (UWB) positioning technology.
4. The operating method as described in claim 1, characterized in that, Determining the alarm sound playback direction corresponding to each of the at least one alarm clock based on the alarm clock setting information includes: The alarm sound playback time for each alarm is determined based on the alarm clock settings information; Within a predetermined time before the alarm sound plays, the direction of the alarm sound playback corresponding to each of the at least one alarm clock is determined based on the alarm clock setting information.
5. The operating method as described in claim 4, characterized in that, The at least one alarm clock can be multiple alarm clocks, and the first electronic device includes multiple sound playback modules, wherein playing the alarm sound corresponding to each alarm clock in the direction of the alarm clock sound playback includes: If the alarm times of the multiple alarm clocks are determined to be the same based on the setting information, then at the alarm time, the multiple sound playback modules will simultaneously play the alarm sound corresponding to each of the multiple alarm clocks in the direction corresponding to the alarm sound playback of each of the multiple alarm clocks.
6. The operating method as described in claim 4, characterized in that, The at least one alarm clock can be multiple alarm clocks, and the first electronic device includes a sound playback module, wherein playing the alarm sound corresponding to each alarm clock in the direction of the alarm sound playback includes: If it is determined from the setting information that the alarm times of the multiple alarm clocks are the same, then starting from the alarm time, the sound playback module will alternately play the alarm sound corresponding to each alarm clock in the direction corresponding to the alarm sound of each of the multiple alarm clocks in different time periods.
7. The operating method as described in claim 1, characterized in that, The step of obtaining alarm setting information from at least one alarm clock from at least one second electronic device includes: Receive the alarm setting information directly from the at least one second electronic device; or The alarm clock settings information can be obtained via an intermediate communication device or by accessing the cloud.
8. A method of operating a second electronic device, comprising: Generate alarm settings information for at least one alarm clock; Send the alarm clock setting information to the first electronic device. The alarm clock setting information includes information about a third electronic device that is matched with each of the at least one alarm clocks, wherein the third electronic device is different from the second electronic device. The alarm clock setting information is used by the first electronic device to determine the location of the third electronic device based on the relevant information of the third electronic device matched with each alarm clock, and to determine the alarm sound playback direction of each alarm clock according to the determined location of the third electronic device, so as to play the alarm sound corresponding to each alarm clock in the alarm sound playback direction.
9. The operating method as described in claim 8, characterized in that, The alarm clock setting information also includes the alarm time information and alarm sound information for each of the at least one alarm clock.
10. The operating method as described in claim 8, characterized in that, The first electronic device and the third electronic device include an ultra-wideband (UWB) module. The UWB module is used to exchange UWB ranging parameters between the first electronic device and the third electronic device. The UWB ranging parameters are used to determine the direction of the alarm clock sound playback.
11. The operating method as described in claim 8, characterized in that, The alarm setting information for generating at least one alarm clock includes: Output a prompt message, wherein the prompt message prompts the user whether they wish to use the first electronic device to play an alarm clock sound; If a confirmation input is received regarding playing an alarm sound using the first electronic device, the user interface for setting up a third electronic device that matches each alarm is output. In response to input on the user interface, relevant information for a third electronic device matching each alarm clock is generated as one of the alarm clock setting information.
12. The operating method as described in claim 8, wherein, Sending the alarm setting information to the first electronic device includes: The alarm setting information is sent directly to the first electronic device; or The alarm clock setting information is sent to the first electronic device via an intermediate communication device or the cloud.
13. A first electronic device, comprising: The information acquisition unit is configured to acquire alarm setting information from at least one alarm clock of at least one second electronic device; The direction determination unit is configured to determine, based on the alarm clock setting information, the alarm sound playback direction corresponding to each of the at least one alarm clock; The sound playback unit is configured to play the alarm sound corresponding to each alarm clock in the direction of the alarm clock sound playback. The alarm clock setting information includes information about a third electronic device matched with each of the at least one alarm clocks, wherein the third electronic device is different from the second electronic device, and The step of determining the alarm sound playback direction corresponding to each of the at least one alarm clocks based on the alarm clock setting information includes: determining the position of the third electronic device based on the relevant information of the third electronic device matched with each alarm clock, and determining the alarm sound playback direction of each alarm clock based on the determined position of the third electronic device.
14. The first electronic device as claimed in claim 13, characterized in that, The alarm clock setting information also includes the alarm time information and alarm sound information for each of the at least one alarm clock.
15. The first electronic device as claimed in claim 13, characterized in that, Determining the location of the third electronic device based on the relevant information of the third electronic device matched with each alarm clock includes: Based on the relevant information of the third electronic device matched with each alarm clock, the location of the third electronic device is determined using ultra-wideband (UWB) positioning technology.
16. The first electronic device as claimed in claim 13, characterized in that, Determining the alarm sound playback direction corresponding to each of the at least one alarm clock based on the alarm clock setting information includes: The alarm sound playback time for each alarm is determined based on the alarm clock settings information; Within a predetermined time before the alarm sound plays, the direction of the alarm sound playback corresponding to each of the at least one alarm clock is determined based on the alarm clock setting information.
17. The first electronic device as claimed in claim 16, characterized in that, The at least one alarm clock can be multiple alarm clocks, and the sound playback unit includes multiple sound playback modules, wherein playing the alarm sound corresponding to each alarm clock in the direction of the alarm clock sound playback includes: If the alarm times of the multiple alarm clocks are determined to be the same based on the setting information, then at the alarm time, the multiple sound playback modules will simultaneously play the alarm sound corresponding to each of the multiple alarm clocks in the direction corresponding to the alarm sound playback of each of the multiple alarm clocks.
18. The first electronic device as claimed in claim 16, characterized in that, The at least one alarm clock can be multiple alarm clocks, and the sound playback unit includes a sound playback module, wherein playing the alarm sound corresponding to each alarm clock in the direction of the alarm clock sound playback includes: If it is determined from the setting information that the alarm times of the multiple alarm clocks are the same, then starting from the alarm time, the sound playback module will alternately play the alarm sound corresponding to each alarm clock in the direction corresponding to the alarm sound of each of the multiple alarm clocks in different time periods.
19. The first electronic device as claimed in claim 13, characterized in that, The step of obtaining alarm setting information from at least one alarm clock from at least one second electronic device includes: Receive the alarm setting information directly from the at least one second electronic device; or The alarm clock settings information can be obtained via an intermediate communication device or by accessing the cloud.
20. A second electronic device, comprising: The information generation unit is configured to generate alarm setting information for at least one alarm clock. The transmitting unit is configured to send the alarm clock setting information to the first electronic device. The alarm clock setting information includes information about a third electronic device matched with each of the at least one alarm clocks, wherein the third electronic device is different from the second electronic device, and The alarm clock setting information is used by the first electronic device to determine the location of the third electronic device based on the relevant information of the third electronic device matched with each alarm clock, and to determine the alarm sound playback direction of each alarm clock according to the determined location of the third electronic device, so as to play the alarm sound corresponding to each alarm clock in the alarm sound playback direction.
21. The second electronic device as claimed in claim 20, characterized in that, The alarm clock setting information also includes the alarm time information and alarm sound information for each of the at least one alarm clock.
22. The second electronic device as claimed in claim 20, characterized in that, The first electronic device and the third electronic device include an ultra-wideband (UWB) module. The UWB module is used to exchange UWB ranging parameters between the first electronic device and the third electronic device. The UWB ranging parameters are used to determine the direction of the alarm clock sound playback.
23. The second electronic device as claimed in claim 20, characterized in that, The alarm setting information for generating at least one alarm clock includes: Output a prompt message, wherein the prompt message prompts the user whether they wish to use the first electronic device to play an alarm clock sound; If a confirmation input is received regarding playing an alarm sound using the first electronic device, the user interface for setting up a third electronic device that matches each alarm is output. In response to input on the user interface, relevant information for a third electronic device matching each alarm clock is generated as one of the alarm clock setting information.
24. The second electronic device as claimed in claim 20, wherein, Sending the alarm setting information to the first electronic device includes: The alarm setting information is sent directly to the first electronic device; or The alarm clock setting information is sent to the first electronic device via an intermediate communication device or the cloud.
25. An electronic device, characterized in that, include: At least one processor; At least one memory that stores computer-executable instructions. Wherein, when the computer-executable instructions are executed by the at least one processor, they cause the at least one processor to perform the operation method as described in any one of claims 1 to 12.
26. A computer-readable storage medium for storing instructions, characterized in that, When the instruction is executed by at least one processor, it causes the at least one processor to perform the operation method as described in any one of claims 1 to 12.
Citation Information
Patent Citations
Method and apparatus for generating directional sound
US20150018038A1
Alarm
US20160005302A1