Playback device control method, apparatus, device, and medium
By using ultra-wideband communication technology to select and switch playback devices in real time, the problem of sound and visual shifts during user movement is solved, ensuring optimal playback device performance and user experience.
Patent Information
- Application Number
- CN202110741530.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-30
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2041-06-30
AI Technical Summary
When users move, changes in distance from the playback device can cause the sound to become quieter or the visuals to shift, affecting the user experience.
By using ultra-wideband communication technology to detect the distance between the user's current location and multiple playback devices, the system can select and switch the nearest playback device in real time to ensure that the user is always in the best playback source, including the synchronized playback of audio and image data.
It ensures optimal playback quality for users while they are moving, avoiding volume changes and visual shifts, thus enhancing the user experience.
Smart Images

Figure CN115550755B_ABST
Abstract
Description
Technical Field
[0001] This application generally relates to the field of communication technology, and in particular to methods, apparatus, devices and media for controlling playback devices. Background Technology
[0002] With the development of technology, more and more electronic devices are being used in daily production and life to improve the quality of life. In people's daily lives, such as while doing housework, they play music through electronic playback devices such as stereos to enhance the comfort of their living environment.
[0003] During the process described above, because users need to move around constantly in different locations, their position and distance from the device frequently change. Sometimes they move to a position far away from the playback device, and sometimes they move to a position close to the playback device. Not only is the effect not as good as in the sound field, but the sound source also becomes farther away and the sound becomes quieter, resulting in a poor user experience. Summary of the Invention
[0004] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a playback device control method, apparatus, device and medium that uses proximity detection technology to ensure that the user is closest to the playback device in real time, thereby ensuring playback effect.
[0005] In a first aspect, embodiments of this application provide a playback device control method, the method comprising:
[0006] Obtain feedback signals from at least one playback device within a preset range of the user's current location;
[0007] Analyze the feedback signal to determine the distance between the user's current location and at least one of the playback devices;
[0008] Based on this distance, at least one playback device is identified as the target playback device for the current moment or the next moment, and the target playback device is used to play the data to be played.
[0009] In some embodiments of the first aspect of this application, the data to be played includes audio data and / or image data.
[0010] In some embodiments of the first aspect of this application, the target playback device includes a first target playback device and a second target playback device, wherein the distance between the first target device and the second target device and the user's current location is less than that of other playback devices within a preset range, and the method includes:
[0011] Acquire the volume signals of the first target playback device and the second target playback device;
[0012] When the volume difference between the first target device and the second target device is greater than a preset threshold, an adjustment command is generated, which is used to adjust the volume of the first target device or the second target device.
[0013] In some embodiments of the first aspect of this application, when the data to be played includes audio data and image data, the target playback device includes an audio playback device and a display device, wherein the audio playback device is used to play audio data and the display device is used to play image data.
[0014] In some embodiments of the first aspect of this application, determining at least one playback device as the target playback device at the current moment based on the distance includes:
[0015] Determine the minimum distance based on at least one distance, and designate at least one playback device corresponding to the minimum distance as the target playback device at the current moment.
[0016] In some embodiments of the first aspect of this application, at least one playback device corresponding to the minimum distance is designated as the target playback device at the current moment, including:
[0017] When the minimum distance is smaller than the distance corresponding to the current playback device, a switching instruction is generated. This switching instruction is used to instruct the playback device corresponding to the minimum distance to play the data to be played.
[0018] In some embodiments of the first aspect of this application, the method further includes:
[0019] Get the user's movement path;
[0020] Based on this movement path, predict the user's next destination point;
[0021] Then, the requirement to designate at least one playback device corresponding to the minimum distance as the target playback device for the next moment includes:
[0022] Based on this distance, at least one playback device that is close to the target point is identified as the target playback device for the next moment.
[0023] In some embodiments of the first aspect, after determining at least one playback device close to the target point as the target playback device based on the distance, the method further includes:
[0024] Generate an activation command, which is used to pre-activate the target playback device.
[0025] Secondly, embodiments of this application provide a playback device control apparatus, the apparatus comprising:
[0026] The first acquisition module is used to acquire feedback signals from at least one playback device within a preset range of the user's current location;
[0027] The parsing module is used to parse the feedback signal and determine the distance between the user's current location and at least one of the playback devices;
[0028] An indication module is used to determine at least one playback device as the target playback device at the current time or the next time based on the distance, wherein the target playback device is used to play the data to be played.
[0029] Thirdly, embodiments of this application provide a processing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the playback device control method as described in the first aspect above.
[0030] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon for implementing the playback device control method described in the first aspect above.
[0031] The playback device control method, apparatus, device, and medium provided in this application embodiment enable the terminal device to detect the distance between its current location and multiple playback devices within a preset range, and to ensure in real time that the closest playback device is the target playback device at the current moment, so as to provide playback data to the user. This ensures that the user is always in the center of the playback source, avoids volume changes or visual shifts caused by user movement, ensures playback effect, and improves user experience. Attached Figure Description
[0032] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0033] Figure 1 The diagram shown is a schematic representation of the architecture for controlling the playback device according to an embodiment of this application.
[0034] Figure 2 This is a flowchart illustrating the playback device control method according to an embodiment of this application;
[0035] Figure 3 This is a flowchart illustrating a playback device control method according to some embodiments of this application;
[0036] Figure 4 This is a flowchart illustrating a playback device control method according to some embodiments of this application;
[0037] Figure 5 This is a schematic diagram of the structure of the playback device control device according to an embodiment of this application;
[0038] Figure 6 This is a schematic diagram of the structure of a computer used in the processing device according to an embodiment of this application. Detailed Implementation
[0039] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the relevant disclosure and not intended to limit the scope of the disclosure. Furthermore, it should be noted that, for ease of description, only the parts relevant to the disclosure are shown in the accompanying drawings.
[0040] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0041] It's understandable that in some audio playback scenarios, such as in smart homes where users use speakers to play audio, or in tourist attractions where players use playback devices to display information about the attractions, the received sound waves gradually weaken as the user moves away from the playback device due to the characteristics of sound wave propagation. Alternatively, the viewing angle of the display device may be unfavorable as the user moves, resulting in a poor user experience.
[0042] In this embodiment of the application, considering the user's mobility in the actual playback scenario, in order to ensure that the user is always in the best playback source, the following is provided: Figure 1 The diagram shows the architecture for controlling the playback device.
[0043] like Figure 1 As shown, the architecture can include a mobile terminal and multiple audio playback devices. These audio playback devices are configured within a certain range, i.e., within the user's mobile range, such as the user's residence or tourist attractions. By leveraging Ultra Wide Band (UWB) technology, the system can select the nearest audio playback device based on the user's location during movement to play audio data, ensuring that the user is always in the optimal sound source.
[0044] The mobile terminal in this embodiment can be a portable terminal device, such as a mobile phone or a smart bracelet. This terminal device can interact with audio playback devices within its range via UWB to control those devices.
[0045] The audio playback device can be an electronic device capable of voice playback, such as a series of home devices with voice functions in a smart home scenario, or various voice playback devices in a tourist attraction scenario, which are equipped with at least a voice playback function module.
[0046] Furthermore, in some embodiments of this application, the hardware architecture may also include an image data playback device, i.e., a display device, such as a dressing mirror with display function in a smart home, which is at least equipped with a display panel. The display device in this architecture can follow the movement of the user, i.e., the terminal device, and cooperate with the aforementioned audio playback device, or be controlled independently by the terminal device, to achieve synchronized playback of image data.
[0047] Optionally, in some embodiments of this application, the hardware architecture may further include a cloud or backend server to provide the data to be played to the terminal device or directly to the playback device. It is understood that the playback device described above is merely illustrative, and the embodiments of this application do not impose any limitations on it.
[0048] To better understand the playback device control method provided in the embodiments of this application, the following is an explanation... Figures 2 to 4 A detailed explanation is provided.
[0049] Figure 2 This is a flowchart illustrating the playback device control method according to an embodiment of this application, as shown below. Figure 2 As shown, this method can be executed by a terminal device and may specifically include:
[0050] S110, the terminal device obtains feedback signals from at least one playback device within a preset range of the user's current location.
[0051] S120, the terminal device analyzes the feedback signal to determine the distance between the user's current location and at least one of the playback devices.
[0052] S130, the terminal device determines at least one playback device as the target playback device at the current moment or the next moment based on the distance, and the target playback device is used to play the data to be played.
[0053] Specifically, in this embodiment, when a playback device is playing data, such as audio data and / or image data, the user's portable terminal device can send a detection signal based on ultra-wideband communication technology to detect playback devices within a preset range of the current location. Upon receiving the detection signal, a playback device within the preset range of the terminal device will respond by sending a feedback signal to the terminal device.
[0054] After receiving feedback signals from playback devices within its range, the terminal device can analyze the feedback signals, such as the strength of the signals, and then calculate the distance between each playback device and the current location of the terminal device based on the analysis results.
[0055] Finally, the terminal device can analyze and calculate the distance to each playback device to determine the target playback device at the current moment or the next moment, that is, to determine the playback device that needs to perform the playback action at the current moment or the playback device that needs to perform the playback action at the next moment. The target playback device can play the data to be played.
[0056] It is understood that the terminal device in this embodiment is usually a mobile terminal carried by the user, or a mobile bracelet, or a handheld terminal at a tourist attraction. Its preset range is usually the user's place of residence, or workplace, or tourist attraction.
[0057] The preset range can be set to the radius of radiation with the user's location as the origin, such as 100m, and the specific range can be determined according to the actual situation.
[0058] The playback devices within this preset range can be audio playback devices and / or image playback devices, i.e., display devices. For example, smart home devices in residential areas, such as speakers, air conditioners, or refrigerators with voice playback capabilities; or playback devices in tourist attractions. Alternatively, smart home devices such as televisions and dressing mirrors with image display capabilities, or large display screens in tourist attractions.
[0059] It can also be understood that, in order to ensure the accurate positioning of each playback device, the data interaction between the terminal device and the playback devices within its range can be achieved based on Ultra Wide Band (UWB) technology to improve the control effect of each playback device.
[0060] Optionally, in this embodiment of the application, the data to be played may include audio data and / or image data. For example, audio data such as news, voice messages, and tourist attraction introductions listened to by the user, and image data such as television programs, picture messages, or pictures in museums watched by the user.
[0061] In this embodiment of the application, the terminal device sends a detection signal to obtain playback devices within a preset range. In some embodiments, the terminal device can monitor the volume of the received audio data. For example, when the volume of the detected audio data is lower than a preset threshold, it indicates that the user's location has changed significantly and the playback device needs to be switched. In this case, a detection signal can be generated and sent.
[0062] Alternatively, in other embodiments, the terminal device can also respond to the user's active operation. For example, if the user moves and the volume of the audio data decreases or the viewing angle of the image data is not ideal, the user can input an operation command into the terminal device through the operation interface. The terminal device will then respond to the operation command, generate a detection signal, detect playback devices within a preset range, and switch between playback devices.
[0063] Alternatively, in some embodiments, the terminal device can send detection signals via positioning. For example, if positioning determines that the user's location has changed and the change range is greater than a preset threshold, then if there is data to be played, it indicates that the playback device needs to be switched. The terminal device can send a detection signal to switch the playback device.
[0064] Alternatively, in other embodiments, the frequency of transmitting the detection signal can be preset in the terminal device. For example, by presetting, the terminal device can send a detection signal once every 10 minutes so that the user is in the best playback source in real time.
[0065] It is understood that the embodiments of this application do not impose any restrictions on the transmission time of the detection signal by the terminal device.
[0066] In some implementations of this application, the target playback device at the current moment can be selected based on the distance, that is, the playback device that needs to be played at the current moment can be selected; or, in other implementations, the playback device at the next moment can be selected based on the distance, that is, the playback device at the next moment can be determined in advance by predicting the target point where the user will move at the next moment, so as to ensure that the user is at the center of the sound source in real time during the movement.
[0067] For example, when determining the target playback device at the current moment, the terminal device can compare all calculated distances to identify the closest playback device. Then, it can select at least one of the closest playback devices as the target playback device to play audio and / or image data. Furthermore, in this embodiment, when the terminal device selects a target playback device, if the device currently playing audio and / or image data is different from the selected target playback device, it can also perform a switch. That is, the terminal device can generate a switch command and transmit it to the audio or image playback chip. The playback chip then responds to the switch command by sending a playback command to the target playback device, thereby enabling the target playback device to play audio and / or image data, completing the switch of playback devices.
[0068] It is understood that in this embodiment, when audio data and / or image data are initially played, the terminal device can directly and automatically select the target playback device, allowing the target playback device to execute the audio data and / or image data. Furthermore, if the user's position changes during playback, the terminal device can reselect the target playback device based on the distance and switch between the current playback device and the selected target playback device according to the selection result.
[0069] Optionally, different target playback devices or combinations thereof can be used for different data to be played.
[0070] For example, in a smart home scenario, when a user listens to weather forecasts or voice messages in their bedroom using a playback device installed there, and then needs to move to the living room after a while, the volume of the bedroom playback device decreases as the user moves. At this point, the terminal device can detect playback devices within a preset range in the living room, such as the television on the TV wall, speakers on the bookshelf, and a robot vacuum cleaner in the corner. The terminal device can then determine the distance between each detected playback device and the user's current location, and select the closest playback device as the target playback device. For example, if the user is sitting on the sofa, the closest device is determined to be the speaker, which can then be selected as the target playback device. Furthermore, the terminal device can send a switching command to the speaker, causing it to respond and play the data to be played, such as a weather forecast.
[0071] For example, in a tourist attraction scenario, a user enters from the entrance and listens to information about the attraction through the speakers at the entrance. As the user moves further inside the attraction, the volume of the speakers at the entrance gradually decreases. At this point, the terminal device can detect other speakers within a preset range of the current location and switch to the nearest speaker as the target playback device to continue playing the attraction information, ensuring that the user is always at the center of the sound source.
[0072] For example, in a smart home scenario, a user views image data received by a mobile terminal on a TV screen in the living room. When the user needs to go to the bathroom, upon moving there, the terminal device sends a detection signal to nearby playback devices to detect those within a preset range, i.e., the display device, as the target playback device, such as the vanity mirror in the bathroom. At this point, the terminal device can send a switching command to the vanity mirror, causing it to display the image data for the user to view.
[0073] For example, in other embodiments, when the data to be played includes both audio and image data, such as when a user is in a museum listening to explanations of exhibits while simultaneously viewing corresponding images, if the user moves from one display position to another, the audio volume decreases due to the change in user position, and the image display angle becomes less than optimal. In this case, the terminal device can generate a detection signal upon detecting that the volume is below a preset threshold, or that the movement range exceeds a preset threshold, or in response to a user's operation command. This signal is sent to nearby playback devices to detect the closest available playback device and switch between them, ensuring the user is always in the optimal playback source.
[0074] For example, in other embodiments, the terminal device can also make a tendency to judge the direction of the user's next movement based on the user's movement trajectory, thereby pre-determining the target playback device and turning it on in advance, so as to achieve perfect connection and flexible switching of playback data during the playback process.
[0075] like Figure 3 As shown, this method can specifically include:
[0076] S210, the terminal device obtains the user's movement path.
[0077] S210, the terminal device predicts the user's next destination point based on the movement path.
[0078] S210, the terminal device determines at least one playback device that is close to the target point based on the distance, as the target playback device for the next moment.
[0079] S210, the terminal device generates an activation command, which is used to pre-activate the target playback device.
[0080] Specifically, in this embodiment, during user movement, the terminal device can record the user's position in real time, and then obtain the user's movement trajectory based on the recorded position. Furthermore, based on the drawn movement trajectory, a tendency judgment can be made regarding the user's next movement direction, i.e., predicting the user's target point within a preset range at the next moment.
[0081] At this time, in order to keep the distance between the user and the playback device small in real time, the target playback device near the user's next moving point can be determined in advance based on the target point and the distance of at least one playback device.
[0082] It can be understood that the distance between each playback device and the current position can represent the position of each playback device, so that the terminal device can select at least one playback device that is close to the target point as the target playback device for the next moment based on the distance of each playback device.
[0083] Furthermore, after determining the target playback device for the next moment, an activation command can be generated to pre-activate the target playback device, thereby achieving seamless transition during the playback of the data to be played.
[0084] For example, in museums or tourist attractions, each visitor's route is usually predictable. Guided by signs, most visitors can follow a set path. When a user is at a particular attraction, the terminal device can predict the user's next destination based on their movement path. Simultaneously, the terminal device can send detection signals at a preset frequency to detect playback devices within a preset range—that is, playback devices within the tourist attraction or museum. Then, based on the distance between the target point and the detected playback devices, the device closest to the target point is chosen as the target playback device for the next moment, and this target playback device can be pre-activated.
[0085] For example, in a smart home scenario, a user's daily movement trajectory within their residence can typically be fixed, such as the path taken upon waking up in the morning, usually from the bathroom to the dining room and then to the entryway. The terminal device can also send detection signals based on a preset frequency according to this movement trajectory to detect playback devices near a target point at the next moment and pre-start that target playback device, enabling seamless transitions between audio and / or image data playback.
[0086] In this embodiment, the user's residence or tourist attraction includes multiple activity areas, each of which can be equipped with at least one playback device. When the user moves between different activity areas, the terminal device detects the distance between its current location and multiple playback devices, and ensures in real-time that the nearest playback device is selected as the target playback device to provide audio and / or image data playback to the user. This ensures the user is always at the center of the playback source, avoiding volume changes or visual shifts caused by user movement, thus ensuring playback quality and improving the user experience.
[0087] Furthermore, in some embodiments, when the data to be played includes audio data, in order to improve the user experience and ensure the stereo effect of the audio data playback, when selecting the target playback device based on distance, two target playback devices can be determined, and the sound loudness of the sound source generated by the two target playback devices to the terminal device, i.e., the user's location, can be consistent to ensure the stereo effect.
[0088] Then as Figure 4 As shown, after the target playback device is determined, the method may further include:
[0089] S140, the terminal device acquires the volume signals of the first target device and the second target device.
[0090] S150, when the difference between the volume signals of the first target device and the second target device is greater than a preset threshold, the terminal device generates an adjustment command, which is used to adjust the volume of the first target device or the second target device.
[0091] Specifically, in this embodiment of the application, when the data to be played includes audio data, in order to achieve a stereo effect and a steering function, the terminal device can select the two playback devices closest to the user's current position as the target playback devices, namely the first target playback device and the second target playback device, as the left and right channels to perform audio playback.
[0092] Based on this, to ensure a stereo effect, during the playback of audio on both target devices, the terminal device can acquire the loudness and sound signals transmitted from both target devices. The acquired sound signals are then analyzed, and the loudness of the corresponding audio signals on the two target devices is compared.
[0093] It is understandable that if the comparison result indicates that the sound loudness of the two devices is inconsistent and the difference is greater than a preset threshold, an adjustment command can be generated and sent to the corresponding target playback device, such as the first target playback device or the second target playback device. This adjustment command is used to adjust the volume of the first target playback device or the second target playback device so that when the two target playback devices play audio data, the difference in sound loudness received by the user at the terminal device position is kept within a certain range, that is, the difference value is not greater than the preset threshold, so as to form a better stereo effect.
[0094] For example, the preset threshold can be set to 3dB. When the difference in sound volume between the first target device and the second target device is greater than the threshold, such as when the sound signal value of the first target playback device is greater than the sound signal value of the second target device, an adjustment command is generated and sent to the second target playback device. When the second target playback device receives the adjustment command, it responds to the adjustment command and adjusts the volume, so that the difference in sound volume between the second target playback device and the first target playback device is not greater than 3dB.
[0095] Understandably, if the difference in sound loudness between the two target playback devices is determined to be within a preset threshold range after testing, then the audio data can be played directly.
[0096] Preferably, in this embodiment of the application, in order to ensure the playback effect, the two selected target playback devices can be located on either side of the current location of the terminal device.
[0097] It can also be understood that, in the embodiments of this application, when a stereoscopic playback effect is achieved and two target playback devices are selected, if one of the playback devices currently being played is the selected target playback device, then during the switching process, only the other one needs to be switched.
[0098] For example, in smart home or tourist attraction scenarios, when receiving audio data, in order to ensure the sound effect for the user, two target playback devices that are relatively close are selected as the sound sources for the left and right channels. This ensures that the loudness of the sound emitted by the two target playback devices received by the user at the current location is basically the same, thereby guaranteeing the stereo sound effect and improving the user experience.
[0099] Furthermore, in some embodiments of this application, when the data to be played includes both audio data and image data, in order to improve the user experience and ensure better listening and viewing effects for both audio and image data, during the selection of playback devices, in addition to selecting two audio playback devices, a video playback device can also be selected, that is, a playback device with display function can be selected.
[0100] In step S110, the acquired feedback signal may include feedback signals from the audio playback device and the display device. In subsequent steps, the terminal device can determine the target display device based on the distance to the display device and generate a playback command to instruct the display device to display the image data to be played.
[0101] Specifically, when a terminal device is playing audio and image data, it can send a detection signal to detect playback devices within its range, including audio playback devices and display devices. Upon receiving the detection signal, a playback device within the terminal device's range will respond by sending a feedback signal back to the terminal device.
[0102] After receiving feedback signals from playback devices within its range, the terminal device can analyze the feedback signals, such as the strength of the signals, and then calculate the distance between each display device and the current position of the terminal device based on the analysis results.
[0103] Finally, the terminal device can compare all the calculated distances to determine the nearest display device, and then use the determined nearest display device as the target playback device to play video data.
[0104] It is understood that, in this embodiment of the application, the image data displayed in the display device can also be transmitted directly through the terminal device, or it can be transmitted remotely through the cloud or the back-end server. This embodiment of the application does not limit this.
[0105] Furthermore, as the user moves, the display device can be continuously selected and switched based on changes in the user's location and the distance indicated by the detection signal, ensuring that the nearest display device always provides the image to the user, placing the user in the optimal display and playback environment. This can also be synchronized with the audio playback device to achieve matching between image display and sound transmission.
[0106] Optionally, in this embodiment, after the switching is completed and the target playback device begins playing audio and / or video data, the terminal device may generate a cutoff command and send it to the playback device that was playing before the switch, instructing the playback device to enter a sleep or power-off state to save power. Alternatively, in other embodiments, if the playback device that was playing before the switch does not receive the data to be played within a preset time period, it may proactively enter a sleep or power-off state to save power.
[0107] In this embodiment, by coordinating an electrical device capable of screen projection (i.e., a device equipped with a display panel) and a device equipped with an audio playback device in real time, panoramic sound technology is achieved, which enables sound to follow the person, images to follow the sound, scenes to change as you move, and an immersive audio experience, thereby enhancing the user experience.
[0108] Optionally, in some embodiments of this application, after selecting a target playback device, the terminal device may also package and transmit the audio data to be played to the target playback device, so that the target playback device can perform playback of the audio data.
[0109] Alternatively, in some other embodiments, the audio data and / or image data to be played is stored in a cloud or backend server device. Correspondingly, after the switch is completed, the terminal device can generate a data request message and send it to the cloud or backend server to request the cloud or backend server to transfer the audio data and / or image data to be played to the selected target playback device.
[0110] It is understood that the embodiments of this application do not limit the transmission method of the audio data and / or image data to be played.
[0111] Optionally, in some other embodiments of this application, the terminal device may pre-store the location data of all playback devices in the user's movement scenario. Then, during the user's movement, the terminal device only needs to locate the user's location, and after locating the location, it can directly select the target playback device from the pre-stored location data.
[0112] Optionally, in other embodiments of this application, the terminal device can be a fixed processing device within a scene, such as a computer in a home or a central control device in a museum scene. Furthermore, in this embodiment, sensors for detecting the user's location can also be deployed within the scene. The processing device pre-stores the specific location of each playback device within the scene. Then, during user movement, the processing device locates the user's position using data reported by the sensors, and then uses the user's position and the pre-stored playback device locations to determine the target playback device for the current or next moment.
[0113] In this embodiment, the processing device locates the user's position in real time and selects the playback device closest to the user's position based on the pre-stored playback device positions. This device is then used to execute audio and / or image data, ensuring that the user is in the optimal playback source in real time. This achieves immersive panoramic sound technology, where sound moves with the user, image moves with the sound, and the scene changes with movement, enhancing the user experience.
[0114] On the other hand, this application also provides a playback device control device, such as... Figure 5 As shown, the device 400 may include:
[0115] The first acquisition module 410 is used to acquire feedback signals from at least one playback device within a preset range of the user's current location;
[0116] The parsing module 420 is used to parse the feedback signal and determine the distance between the user's current position and at least one of the playback devices;
[0117] Selection module 430 is used to determine at least one playback device as the target playback device at the current moment or the next moment based on the distance, and the target playback device is used to play the data to be played.
[0118] Optionally, in the playback device control device of this application embodiment, the data to be played includes audio data and / or image data.
[0119] Optionally, in the playback device control device of this application embodiment, the data to be played includes audio data, the target playback device includes a first target playback device and a second target playback device, the distance between the first target device and the second target device and the user's current location is less than that of other playback devices within the preset range, and the device further includes:
[0120] The second acquisition module 440 is used to acquire the volume signals of the first target playback device and the second target playback device;
[0121] The adjustment module 450 is used to generate an adjustment command when the volume difference between the first target device and the second target device is greater than a preset threshold. The adjustment command is used to adjust the volume of the first target device or the second target device.
[0122] Optionally, in the playback device control device of this application embodiment, when the data to be played includes audio data and image data, the target playback device includes an audio playback device and a display device, the audio playback device is used to play audio data, and the display device is used to play image data.
[0123] Optionally, in the playback device control device of this application embodiment, the selection module is specifically used for:
[0124] Determine the minimum distance based on at least one distance, and designate at least one playback device corresponding to the minimum distance as the target playback device at the current moment.
[0125] Optionally, in the playback device control device of this application embodiment, the selection module is specifically used for:
[0126] When the minimum distance is smaller than the distance corresponding to the current playback device, a switching instruction is generated. This switching instruction is used to instruct the playback device corresponding to the minimum distance to play the data to be played.
[0127] Optionally, the playback device control device in this application embodiment further includes:
[0128] The third acquisition module 460 is used to acquire the user's movement path;
[0129] The prediction module 470 is used to predict the user's next target point based on the movement path;
[0130] The selected module is specifically used for:
[0131] Based on this distance, at least one playback device that is close to the target point is identified as the target playback device for the next moment.
[0132] Optionally, the playback device control device in this application embodiment further includes:
[0133] The pre-activation module 480 is used to generate an activation command, which is used to pre-activate the target playback device.
[0134] On the other hand, embodiments of this application also provide a processing device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor is used to execute the program to implement the playback device control method described in the above embodiments.
[0135] The following is for reference. Figure 6 , Figure 6 This is a schematic diagram of the structure of a computer electronic device used in the processing apparatus of this application embodiment.
[0136] like Figure 6 As shown, the computer electronic device 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from the storage section 502 into a random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The CPU 501, ROM 502, and RAM 503 are interconnected via a bus 504. Input / output (I / O) ports 505 are also connected to the bus 504.
[0137] The following components are connected to I / O port 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network port card such as a LAN card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to I / O port 505 as needed. A removable medium 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 510 as needed so that computer programs read from it can be installed into storage section 508 as needed.
[0138] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a machine-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by central processing unit (CPU) 501, it performs the functions defined in the electronic device of this application.
[0139] It should be noted that the computer-readable medium shown in this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electronic device, apparatus, or device that is electrical, magnetic, optical, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an electronic device, apparatus, or device that executes instructions. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit programs for use by or in connection with an electronic device, apparatus, or device whose instructions are executed. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0140] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of processing apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using dedicated hardware-based electronic devices that perform the specified functions or operations, or using a combination of dedicated hardware and computer instructions.
[0141] The units or modules described in the embodiments of this application can be implemented in software or hardware. The described units or modules can also be housed in a processor; for example, they can be described as: a processor including: an acquisition module, a parsing module, and a selection module. The names of these units or modules do not necessarily limit the unit or module itself. For example, the selection module can also be described as "used to determine at least one playback device as a target playback device at the current time or the next time, based on the distance, wherein the target playback device is used to play the data to be played."
[0142] In another aspect, this application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or it may exist independently and not assembled into the electronic device. The aforementioned computer-readable storage medium stores one or more programs, which, when used by one or more processors, execute the playback device control method described in this application:
[0143] Obtain feedback signals from at least one playback device within a preset range of the user's current location;
[0144] Analyze the feedback signal to determine the distance between the user's current location and at least one of the playback devices;
[0145] Based on the distance, at least one playback device is determined as the target playback device at the current moment or the next moment, and the target playback device is used to play the data to be played.
[0146] In summary, the playback device control method, apparatus, device, and medium provided in this application detect the distance between the current location and multiple playback devices, and ensure in real time that the closest playback device is the target playback device to provide audio data and / or image data playback to the user. This ensures the user is always at the center of the playback source, avoiding volume changes or visual shifts caused by user movement, thus guaranteeing a stereo sound effect. Furthermore, through the real-time coordination of screen-projecting electrical devices (i.e., devices equipped with display panels) and devices equipped with audio playback devices, it achieves immersive surround sound technology where sound follows the user, image follows sound, and scene changes with movement, ensuring playback quality and enhancing the user experience.
[0147] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the foregoing disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.
Claims
1. A method for controlling a playback device, characterized in that, The method includes: The system acquires feedback signals from at least one playback device within a preset range of the user's current location; the feedback signals represent the feedback from at least one playback device to a detection signal sent by the terminal device; the detection signals include signals sent by the terminal device when it determines that the user's current location has changed and the change range is greater than a preset threshold. Analyze the feedback signal to determine the distance between the user's current location and at least one of the playback devices; Based on the distance, at least one playback device is determined as the target playback device at the current moment or the next moment, and the target playback device is used to play the data to be played. Wherein, when the data to be played includes audio data, the target playback device includes a first target playback device and a second target playback device, and the distance between the first target playback device and the second target playback device and the user's current location is less than that of other playback devices within a preset range, the method further includes: Acquire the volume signals of the first target playback device and the second target playback device; When the volume signal difference between the first target playback device and the second target playback device is greater than a preset threshold, an adjustment command is generated, which is used to adjust the volume of the first target playback device or the second target playback device.
2. The playback device control method according to claim 1, characterized in that, The data to be played includes audio data and / or image data.
3. The playback device control method according to claim 2, characterized in that, When the data to be played includes audio data and image data, the target playback device includes an audio playback device and a display device. The audio playback device is used to play the audio data, and the display device is used to play the image data.
4. The playback device control method according to any one of claims 1-3, characterized in that, The step of determining at least one playback device as the target playback device at the current moment based on the distance includes: Determine the minimum distance based on at least one distance, and designate at least one playback device corresponding to the minimum distance as the target playback device at the current moment.
5. The playback device control method according to claim 4, characterized in that, The phrase "at least one playback device corresponding to the minimum distance is selected as the target playback device at the current moment" includes: When the minimum distance is smaller than the distance corresponding to the current playback device, a switching instruction is generated. The switching instruction is used to instruct the playback device corresponding to the minimum distance to play the data to be played.
6. The playback device control method according to any one of claims 1-3, characterized in that, The method further includes: Obtain the user's movement path; Based on the movement path, predict the user's next target point; The phrase "at least one playback device corresponding to the minimum distance is selected as the target playback device for the next moment" includes: Based on the distance, at least one playback device close to the target point is determined as the target playback device for the next moment.
7. The playback device control method according to claim 6, characterized in that, After determining at least one playback device close to the target point based on the distance as the target playback device for the next moment, the method further includes: A start command is generated, which is used to pre-start the target playback device.
8. A playback device control device, characterized in that, The device includes: The first acquisition module is used to acquire feedback signals from at least one playback device within a preset range of the user's current location; the feedback signals represent the feedback from at least one playback device to the detection signals sent by the terminal device; the detection signals include signals sent by the terminal device when it determines that the user's current location has changed and the change range is greater than a preset threshold. The parsing module is used to parse the feedback signal and determine the distance between the user's current position and at least one of the playback devices; The selection module is used to determine at least one playback device as the target playback device at the current time or the next time based on the distance, and the target playback device is used to play the data to be played. Wherein, when the data to be played includes audio data, the target playback device includes a first target playback device and a second target playback device, and the distance between the first target playback device and the second target playback device and the user's current location is less than that of other playback devices within the preset range, the device further includes: The second acquisition module is used to acquire the volume signals of the first target playback device and the second target playback device; An adjustment module is used to generate an adjustment command when the volume signal difference between the first target playback device and the second target playback device is greater than a preset threshold. The adjustment command is used to adjust the volume of the first target playback device or the second target playback device.
9. An electronic device, characterized in that, The electronic device includes a first coil, a second coil, a near-field communication module, a wireless charging receiver module, a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor is used to execute the program to implement the playback device control method as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon for implementing the playback device control method as described in any one of claims 1-7.
Citation Information
Patent Citations
Audio / video playing method and device
CN105407373A
Human-machine interaction control method, device and system and readable storage medium
CN108717271A
Loudspeaker control method and device, electronic equipment and medium
CN111654800A
Audio playing control method, audio playing control device and storage medium
CN111885255A