Intelligent multimedia equipment control method and system based on Internet of Things

By establishing a coordinate system in the preset area and utilizing the location information of the mobile terminal, we can determine whether the user needs to switch the multimedia device and calculate the switching time, the problem of the user being unable to maintain a coherent playback experience when moving across partitions is solved, and efficient multimedia device switching and coherent playback experience are achieved.

CN120034565APending Publication Date: 2025-05-23WUXI FUTURE MIRROR DISPLAY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510201111.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-21
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The prior art is difficult to maintain a coherent playback experience when the user moves across partitions, resulting in the user being unable to continue playing multimedia files smoothly when moving between different partitions.

Method used

By establishing a coordinate system in the preset area, determining the range and exit location of each partition, using the position information of the mobile terminal to determine whether the multimedia device needs to be switched, and calculating the switching time based on the user's movement trend and speed, achieving seamless switching of multimedia files.

Benefits of technology

When users move across partitions, they can maintain a coherent playback experience, improve playback effect and user experience, reduce the probability of misjudgment, and ensure accurate switching of multimedia devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120034565A_ABST
    Figure CN120034565A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent multimedia equipment control method and system based on the Internet of Things, and relates to the technical field of the Internet of Things, and the method comprises the steps that multimedia equipment transmits first identification information of a played multimedia file to a server; establishing a coordinate system, and determining a first position coordinate of an exit of the partition; determining a second position coordinate of the mobile terminal; determining whether the multimedia equipment for playing the multimedia file needs to be switched or not; determining a switching moment and a switching timestamp; and switching the multimedia equipment to play the multimedia file, and determining whether the multimedia equipment before switching needs to be closed or not. According to the invention, whether the user has the trend of moving across the partitions can be judged based on the second position coordinates of the mobile terminal carried by the user, and the switching moment can be determined based on the moment when the user reaches the exit of the partitions, so that the multimedia equipment is controlled to be switched, and the switching efficiency of the multimedia equipment is improved under the condition that the user moves across the partitions. Coherent playing experience can be obtained, and the playing effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to an intelligent multimedia device control method and system based on the Internet of Things. Background Art

[0002] In the related technology, CN118963222A discloses a multimedia equipment intelligent control operation management system based on the Internet of Things, which specifically relates to the field of multimedia equipment management technology, and includes: an exhibition data acquisition module, an attention area analysis module, an exhibition real-time parameter monitoring module, an exhibition attention parameter analysis module, a control parameter analysis module, a control parameter execution module and a database; by monitoring and analyzing the distribution of exhibition exhibitors, and monitoring and analyzing the real-time exhibition status of the exhibition exhibitors, it can not only accurately analyze the exhibition status of the exhibition exhibitors, but also monitor and manage in real time according to the distribution of the exhibitors' booths, which greatly improves the exhibition efficiency, greatly improves the exhibition efficiency, and also provides exhibitors with reliable and accurate reminder services, so that the exhibitors' concentration at the exhibition is improved.

[0003] CN117826692B discloses a multimedia management platform for smart classrooms with centralized control by the Internet of Things, and relates to the technical field of smart classrooms; the platform is used to control several smart classrooms with smart education terminals, the smart education terminals are respectively connected to an image acquisition module, a podium control panel and an intelligent switch module, the smart education terminals are also respectively connected to a management system and a database through a campus network, the intelligent switch module is also connected to an image acquisition module, the image acquisition module is connected to an image recognition module, the image recognition module is connected to a database, and the database is also connected to the management system through a campus network; the school administrator remotely controls the smart education terminals in several smart classrooms through the management system, and at the same time, a podium control panel is set in each smart classroom to enable teachers to perform close control of the smart education terminals in the current smart classroom, thereby realizing centralized control of the audio and video peripherals and environmental peripherals of the smart classroom through the Internet of Things.

[0004] CN117930686A discloses an Internet of Things intelligent integrated multimedia control method and system. The method includes a control end sending the class scheduling information of each classroom to the electronic class board of the corresponding classroom; comparing the class scheduling information of all electronic class boards in the corresponding time period, and when it is found that there is no class in the preset time period of the corresponding time period, turning off the main power supply, doors and windows, air conditioners and face recognition system of the corresponding classroom, otherwise turning them on; comparing the face with the face of the class in the corresponding time period, forming the actual number of people and the number of absentees, and obtaining the attendance rate of each student, and the electronic class board of the classroom then sends the attendance rate of the corresponding course to the control end through the local area network communication mode. The system corresponding to this method includes a module for publishing class scheduling information, a door control module and a module for forming attendance rate; through this method and system, when the main control end fails, it can quickly switch to the spare electronic class board as the control end, and when the multimedia of the class scheduling classroom is damaged, the classroom can be immediately replaced and the teachers and students can be notified.

[0005] Therefore, in the related art, multiple devices can be managed and controlled through the Internet of Things technology. However, users can move within the area, and when users move from one partition to another, based on the related technology, it is difficult to connect the Internet of Things devices in the two partitions, and it is also difficult for users to still obtain a consistent playback experience when moving across partitions.

[0006] The information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or any form of suggestion that the information constitutes the prior art already known to those skilled in the art. Summary of the invention

[0007] The present invention provides an intelligent multimedia device control method and system based on the Internet of Things, which can solve the technical problem that related technologies are difficult to enable users to obtain a coherent playback experience when moving across partitions.

[0008] According to a first aspect of the present invention, there is provided a method for controlling an intelligent multimedia device based on the Internet of Things, comprising:

[0009] When a multimedia device in any one of the partitions in the preset area is activated by a user and plays a multimedia file, the activated multimedia device transmits first identification information of the played multimedia file to the server, wherein each partition includes at least one multimedia device, and the user carries a mobile terminal;

[0010] Establishing a coordinate system in a preset area, and determining the partition range of each partition in the coordinate system, and the first position coordinates of the exit of each partition in the coordinate system;

[0011] At multiple moments of playing the multimedia file, determining a second position coordinate of the mobile terminal in the coordinate system;

[0012] determining whether it is necessary to switch a multimedia device for playing the multimedia file according to the partition range, the first position coordinates, and the second position coordinates;

[0013] If it is necessary to switch the multimedia device for playing the multimedia file, determine the multimedia device after switching according to the partition range;

[0014] Determining a switching time of switching a multimedia device for playing the multimedia file according to the first position coordinates and the second position coordinates;

[0015] Determining a switching timestamp of the multimedia file according to the switching moment;

[0016] The server controls the multimedia device after switching to play the multimedia file according to the switching timestamp and the first identification information, and closes the multimedia device before switching according to the partition range, the first location information and the second location coordinates.

[0017] According to a second aspect of the present invention, there is provided an intelligent multimedia device control system based on the Internet of Things, comprising:

[0018] A startup module, configured to transmit first identification information of the played multimedia file to a server when a multimedia device in any partition in a preset area is started by a user and plays a multimedia file, wherein each partition includes at least one multimedia device and the user carries a mobile terminal;

[0019] An establishing module, used to establish a coordinate system in a preset area, and determine the partition range of each partition in the coordinate system, and the first position coordinates of the exit of each partition in the coordinate system;

[0020] A position module, used for determining the second position coordinates of the mobile terminal in the coordinate system at multiple moments of playing the multimedia file;

[0021] a judgment module, used for determining whether it is necessary to switch the multimedia device for playing the multimedia file according to the partition range, the first position coordinates and the second position coordinates;

[0022] A determination module, configured to determine the multimedia device to be switched according to the partition range if the multimedia device for playing the multimedia file needs to be switched;

[0023] a timing module, configured to determine a switching timing of switching a multimedia device for playing a multimedia file according to the first position coordinates and the second position coordinates;

[0024] A time module, used for determining a switching timestamp of the multimedia file according to the switching moment;

[0025] A switching module is used for the server to control the multimedia device after switching to play multimedia files according to the switching timestamp and the first identification information, and to close the multimedia device before switching according to the partition range, the first location information and the second location coordinates.

[0026] By adopting the above technical solution, the present invention can achieve the following technical effects:

[0027] According to the present invention, it is possible to determine whether the user has a tendency to move across partitions based on the second position coordinates of the mobile terminal carried by the user, thereby determining whether it is necessary to switch the multimedia device that plays the multimedia file, and the switching time can be determined based on the time when the user arrives at the partition exit, thereby controlling the multimedia device to switch, so that when the user moves across partitions, a coherent playback experience can still be obtained, the playback effect is improved, and the user experience is improved. When determining the switching condition, the switching condition can be determined from the distance change trend between the user carrying the mobile terminal and the partition exit, the degree of proximity between the user's moving direction and the direction of leaving the partition, and the distance between the user and the exit, and the multimedia device that needs to switch to play the multimedia file is determined under the condition that multiple switching conditions are all met, thereby reducing the probability of misjudgment and improving the accuracy of judgment. When determining the switching time, the average speed of the user at multiple moments before the judgment time can be calculated, and the reserved time coefficient can be used to enable the user to complete the switching of the multimedia device before leaving the partition, so that the user can hear the sound effect of the switched multimedia device in advance, improve the coherence of the playback, and make the continuity of the sound effect heard by the user better. When determining the closing conditions, the closing conditions can be set according to the user's movement trend after leaving the original partition, the distance between the user and the exit of the original partition, and the distance to the multimedia devices before and after the switch. In this way, it can be judged in various situations whether the user needs to continue playing the multimedia device before the switch. If the user continues to move away from the original partition or continues to approach the multimedia device after the switch, it means that the user has a low demand for the multimedia device before the switch, and the multimedia device before the switch can be closed, which can improve the accuracy of the shutdown, improve the continuity of the playback and the user experience.

[0028] It should be understood that the above general description and the following detailed description are exemplary and explanatory only and do not limit the present invention. Other features and aspects of the present invention will become more apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other embodiments can be obtained based on these drawings without creative work.

[0030] Figure 1 A schematic diagram of a flow chart of a method for controlling an intelligent multimedia device based on the Internet of Things according to an embodiment of the present invention is exemplarily shown;

[0031] Figure 2 A block diagram of an intelligent multimedia device control system based on the Internet of Things according to an embodiment of the present invention is exemplarily shown. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0034] Figure 1 A flow chart of a method for controlling an intelligent multimedia device based on the Internet of Things according to an embodiment of the present invention is exemplarily shown, and the method includes:

[0035] Step S101, when a multimedia device in any partition in a preset area is activated by a user and plays a multimedia file, the activated multimedia device transmits first identification information of the played multimedia file to a server, wherein each partition includes at least one multimedia device, and the user carries a mobile terminal;

[0036] Step S102, establishing a coordinate system in a preset area, and determining a partition range of each partition in the coordinate system, and a first position coordinate of an exit of each partition in the coordinate system;

[0037] Step S103, determining the second position coordinates of the mobile terminal in the coordinate system at multiple moments when the multimedia file is played;

[0038] Step S104, determining whether it is necessary to switch a multimedia device for playing the multimedia file according to the partition range, the first position coordinates and the second position coordinates;

[0039] Step S105, if it is necessary to switch the multimedia device for playing the multimedia file, determine the multimedia device after switching according to the partition range;

[0040] Step S106, determining a switching time of switching a multimedia device for playing the multimedia file according to the first position coordinates and the second position coordinates;

[0041] Step S107, determining a switching timestamp of the multimedia file according to the switching moment;

[0042] Step S108: The server controls the multimedia device after switching to play the multimedia file according to the switching timestamp and the first identification information, and closes the multimedia device before switching according to the partition range, the first location information and the second location coordinates.

[0043] According to the IoT-based intelligent multimedia device control method of an embodiment of the present invention, it is possible to determine whether the user has a tendency to move across partitions based on the second position coordinates of the mobile terminal carried by the user, thereby determining whether it is necessary to switch the multimedia device that plays the multimedia file, and the switching time can be determined based on the time when the user arrives at the partition exit, thereby controlling the multimedia device to switch, so that when the user moves across partitions, a consistent playback experience can still be obtained, thereby improving the playback effect and user experience.

[0044] According to one embodiment of the present invention, in step S101, the preset partition may be a house including a plurality of rooms, each room may be a partition, each partition is provided with at least one multimedia device which can be used to play multimedia files, and the multimedia device may be controlled by a server. If a multimedia device in any partition is started by a user and plays a multimedia file (e.g., an audio file or a video file), the multimedia device may send the first identification information of the played multimedia file (e.g., an identification code of the multimedia file) to the server, so that when the user comes to other partitions, the multimedia devices in other partitions search for the multimedia file based on the first identification information and continue to play it, so that the playback is coherent, and the user can also continuously listen to or watch multimedia files when moving across regions, and obtain a coherent playback experience.

[0045] According to an embodiment of the present invention, in step S102, a coordinate system may be established in a preset area, and the partition range of each partition and the first position information of the exit of the partition in the coordinate system may be determined.

[0046] According to an embodiment of the present invention, in step S103, at multiple moments of playing the multimedia file, the second position coordinates of the mobile terminal in the coordinate system are determined. For example, positioning technologies such as Bluetooth and UWB can be used to determine the second position information of the mobile terminal (e.g., a mobile phone) in the coordinate system, and the present invention does not limit the positioning technology used for positioning.

[0047] According to one embodiment of the present invention, in step S104, it can be determined whether the user carrying the mobile terminal has a tendency to move across regions based on the second position coordinates at multiple times, thereby judging whether it is necessary to switch the multimedia device that plays the multimedia file, that is, switch to the multimedia device in the partition that the user is about to arrive at to continue playing the multimedia file.

[0048] According to one embodiment of the present invention, determining whether it is necessary to switch the multimedia device that plays the multimedia file based on the partition range, the first position coordinates, and the second position coordinates includes: determining multiple switching conditions based on the partition range, the first position coordinates, and the second position coordinates; and determining that it is necessary to switch the multimedia device that plays the multimedia file when all of the multiple switching conditions are met.

[0049] According to an embodiment of the present invention, determining a switching condition according to the partition range, the first position coordinates and the second position coordinates includes: determining a switching condition C1, a switching condition C2 and a switching condition C3 according to formula (1);

[0050]

[0051] Among them, P 1,i is the first position coordinate of the exit of the ith partition, P 2,i,t is the second position coordinate of the mobile terminal in the i-th partition at the t-th time, L p is the preset distance, and is the logical "and" operator, P 2,i,t-1 is the second position coordinate of the mobile terminal in the i-th partition at the t-1th time, P 2,i,t-2 is the second position coordinate of the mobile terminal in the ith partition at the t-2th time, P C,i The coordinates of the centroid of the partition range of the i-th partition, (P 1,i -P 2,i,t ) T For (P 1,i -P 2,i,t ), (P 1,i -P 2,i,t-1 ) T For (P 1,i -P 2,i,t-1 ) is the transposed vector of .

[0052] According to one embodiment of the present invention, in the switching condition C1, (|P 1,i -P 2,i,t |≤|P 1,i -P 2,i,t-1 |) indicates that the distance between the second position coordinate of the mobile terminal at the tth moment and the first position coordinate of the exit is less than or equal to the distance between the second position coordinate of the mobile terminal at the t-1th moment and the first position coordinate of the exit, that is, the distance at the tth moment is closer than that at the t-1th moment. (|P 1,i -P 2,i,t-1 |≤|P 1,i -P 2,i,t-2 |) indicates that the distance between the second position coordinate of the mobile terminal at the t-1th moment and the first position coordinate of the exit is less than or equal to the distance between the second position coordinate of the mobile terminal at the t-2th moment and the first position coordinate of the exit, that is, the distance at the t-1th moment is closer than that at the t-2th moment. When the above two conditions are met at the same time, the switching condition C1 can be met, that is, the mobile terminal continuously approaches the exit of the partition for three consecutive moments, which indicates that the user carrying the mobile terminal has a tendency to leave the partition. Using three consecutive moments for judgment can improve the accuracy of the judgment and reduce the influence of some body movements of the user on the judgment of the user's movement trend.

[0053] According to one embodiment of the present invention, in the switching condition C2, is the cosine similarity between the vector between the first position coordinate and the second position coordinate at the tth moment and the vector between the coordinate of the centroid and the first position coordinate, is the cosine similarity between the vector between the first position coordinate and the second position coordinate at the t-1th moment and the vector between the coordinate of the centroid and the first position coordinate, This means that the vector between the first position coordinates and the second position coordinates at the t-th moment has a higher cosine similarity with the vector between the coordinates of the centroid and the first position coordinates, that is, the vector between the first position coordinates and the second position coordinates at the t-th moment has a smaller angle with the vector between the coordinates of the centroid and the first position coordinates. In other words, the user's movement direction is closer to the direction of leaving the partition, indicating that the user carrying the mobile terminal has a tendency to leave the partition.

[0054] According to one embodiment of the present invention, in the switching condition C3, |P 1,i -P 2,i,t |≤L p It means that at the tth moment, the user carrying the mobile terminal is relatively close to the exit of the partition, that is, the distance is less than or equal to the preset distance. In this case, the user carrying the mobile terminal is likely to leave the partition.

[0055] According to one embodiment of the present invention, in order to reduce the probability of misjudgment, when switching conditions C1, C2 and C3 are all met, it can be determined that the user carrying the mobile terminal is about to leave the partition and determine the multimedia device that needs to switch to play the multimedia file.

[0056] In this way, the switching conditions can be determined based on the changing trend of the distance between the user carrying the mobile terminal and the partition exit, the proximity of the user's moving direction to the direction of leaving the partition, and the distance between the user and the exit. When all multiple switching conditions are met, the multimedia device that needs to be switched to play the multimedia file can be determined, thereby reducing the probability of misjudgment and improving judgment accuracy.

[0057] According to an embodiment of the present invention, in step S105, if it is necessary to switch the multimedia device for playing the multimedia file, the multimedia device after switching is determined according to the partition range, for example, switching to a multimedia device in another partition adjacent to the i-th partition.

[0058] According to an embodiment of the present invention, in step S106, in order to make the switching process smoother and enable the user to obtain a coherent playback experience, the switching time may be determined.

[0059] According to one embodiment of the present invention, determining the switching moment of a multimedia device for playing multimedia files based on the first position coordinates and the second position coordinates includes: determining a judgment moment of the multimedia device for playing multimedia files that needs to be switched; determining a predicted moment when a user arrives at an exit based on the first position coordinates, the second position coordinates at multiple moments, and the judgment moment; and determining the switching moment of the multimedia device for playing multimedia files based on the startup preparation time of the switched multimedia device and the predicted moment.

[0060] According to an embodiment of the present invention, the judgment moment is the first moment that satisfies the above switching conditions C1, C2 and C3 at the same time. At this moment, the user has not yet reached the partition exit. Therefore, the predicted time when the user reaches the exit can be determined.

[0061] According to an embodiment of the present invention, determining the predicted time when the user arrives at the exit according to the first position coordinates, the second position coordinates at multiple times and the judgment time includes: determining the predicted time t when the user arrives at the exit according to formula (2): p ,

[0062]

[0063] Among them, t d is the judgment moment, P 1,i is the first position coordinate of the exit of the i-th partition, is the number of mobile terminals in the ith partition at the tth d The second position coordinate at the moment, P 2,i,t is the second position coordinate of the mobile terminal in the i-th partition at the t-th time, P 2,i,t-1 is the second position coordinate of the mobile terminal in the ith partition at the t-1th time, n p is the preset time number, α p is the reserved time coefficient, 0<α p <1, where α p As shown in the following formula (3):

[0064]

[0065] Among them, v p is the preset moving speed, and Δt is the time interval between adjacent moments.

[0066] According to one embodiment of the present invention, in formula (2), To determine the average moving distance between multiple moments, It means that if we move according to the average moving distance, it is the number of time required to move from the position at the judgment moment to the position at the exit.

[0067] According to one embodiment of the present invention, in formula (3), α p To reserve the time coefficient, α is introduced into formula (2) p , which can make the calculated predicted time earlier than the theoretical time when the user arrives at the partition exit In other words, this time is a predicted time with a certain time margin, and the average speed of the user The larger the value is, the smaller the reserved time coefficient is, and the more time margin is reserved between the predicted moment and the moment when the user theoretically arrives at the partition exit. That is, the greater the average speed of the user, the more time margin is needed to provide a certain processing time for the server and the switched multimedia device. After using the reserved time coefficient, the switching moment can be before the moment when the user arrives at the partition exit, that is, before the user arrives at the partition exit, the switched multimedia device can start playing the multimedia file, so that the user can hear the playback sound of the switched multimedia device near the partition exit, and the playback sound can be played together with the multimedia device in the partition where the user is currently located, so that the user can adapt to the playback effect of the switched multimedia device in advance, providing a more coherent playback experience, and in the case of a faster moving speed of the user, the purpose of starting the switched multimedia device earlier is achieved through a smaller reserved time coefficient, so that the user with a faster moving speed can have sufficient time to adapt to the playback effect of the switched multimedia device, avoiding the situation that the switched multimedia device is not ready to play when the user quickly leaves the partition due to the user's fast movement, or the user does not hear the sound effect of the switched multimedia device in advance, so that the continuity of the sound effect heard by the user is better.

[0068] According to one embodiment of the present invention, after obtaining the above predicted moment, the startup preparation time of the switched multimedia device can also be subtracted to obtain the switching moment, thereby eliminating the influence of the startup preparation time of the switched multimedia device, so that the user can adapt to the playback effect of the switched multimedia device in advance before leaving the partition, so as to provide a more consistent playback experience.

[0069] In this way, the average speed of the user at multiple moments before the judgment moment can be calculated, and the reserved time coefficient can be used to enable the user to complete the switching of multimedia devices before leaving the partition, so that the user can hear the sound effects of the switched multimedia device in advance, improve the continuity of the playback, and make the continuity of the sound effects heard by the user better.

[0070] According to one embodiment of the present invention, in step S107, the switching timestamp of the multimedia file can be determined, that is, it is determined at which moment the multimedia device after switching starts playing the multimedia file. For example, at the switching moment, the multimedia file has been played for 60 seconds in the i-th partition, then the switching timestamp is 60 seconds, and the multimedia device after switching starts playing the multimedia file from the 60th second, so that the playback is continuous.

[0071] According to one embodiment of the present invention, determining the switching timestamp of the multimedia file based on the switching moment includes: determining a first time difference between the switching moment and the moment when the user starts and plays the multimedia file; and determining the switching timestamp of the multimedia file based on the first time difference.

[0072] According to an embodiment of the present invention, since the switching moment is not the current moment, the timestamp corresponding to the current moment is not obtained, but the timestamp of the switching moment after the current moment is obtained. The first time difference between the switching moment and the moment when the user starts and plays the multimedia file can be determined, and the value of the first time difference is the switching timestamp of the multimedia file. For example, if the first time difference is 60 seconds, the switching timestamp of the multimedia file is 60 seconds.

[0073] According to one embodiment of the present invention, in step S108, the server controls the multimedia device after switching to play multimedia files according to the switching timestamp and the first identification information, and closes the multimedia device before switching according to the partition range, the first location information and the second location coordinates, including: the server sends the first identification information and the switching timestamp to the multimedia device after switching; controls the multimedia device after switching to use the switching timestamp as the start time of playback to play the multimedia file corresponding to the first identification information; determines multiple closing conditions of the multimedia device before switching according to the partition range, the first location information and the second location information; and closes the multimedia device before switching when at least one of the multiple closing conditions is met.

[0074] According to one embodiment of the present invention, the server can control the switched multimedia device to play the multimedia file based on the switching timestamp and the first identification information, that is, control the switched multimedia device to play the multimedia file corresponding to the first identification information starting from the switching timestamp at the switching moment, so that the playback of the multimedia devices before and after the switching is continuous, and the sound effects heard by the user are continuous, thereby improving the playback effect and user experience.

[0075] According to one embodiment of the present invention, it can also be determined whether it is necessary to close the multimedia device before the switch. For example, it can be determined whether the user has a tendency to move away from the original partition. If the user does not move away from the above-mentioned exit after entering the new partition, the user may have only temporarily come to the new partition and may return to the original partition later. In this case, there is no need to close the multimedia device before the switch. On the contrary, if the user continues to move away from the above-mentioned exit, the user has a tendency to move away from the original partition, and the user can no longer continue to watch the video played by the multimedia device before the switch, and the sound emitted by the multimedia device before the switch has little impact on the user in the new partition. In this case, the multimedia device before the switch can be closed.

[0076] According to one embodiment of the present invention, multiple shutdown conditions of the multimedia device before switching are determined based on the partition range, the first position information and the second position information, including: determining whether the second position information is outside the i-th partition; starting from the target moment when the second position information is outside the i-th partition, acquiring the second position information at multiple moments; determining multiple shutdown conditions of the multimedia device before switching based on the first position information and the second position information at multiple moments after the target moment.

[0077] According to one embodiment of the present invention, it is possible to first determine whether the user has left the i-th partition, because the switched multimedia device has already started playing before the user leaves the i-th partition. Therefore, the moment when the switched multimedia device starts playing is not the moment when the user leaves the i-th partition. The user's second location information can be continuously monitored until the user leaves the i-th partition, and then it is determined whether the user has a trend of continuing to move away from the i-th partition.

[0078] According to one embodiment of the present invention, starting from the target moment when the user leaves the i-th partition, the second location information of the user continues to be monitored, and the second location information obtained after the target moment is continued to be judged to determine whether the user has a trend of continuing to move away from the i-th partition.

[0079] According to an embodiment of the present invention, determining multiple shutdown conditions of the multimedia device before switching according to the first position information and the second position information at multiple moments after the target moment includes: determining the shutdown conditions C4, C5 and C6 of the multimedia device before switching according to formula (4),

[0080]

[0081] Among them, P 1,i is the first position coordinate of the exit of the ith partition, P 2,i,k is the second position coordinate of the mobile terminal at the kth moment after the target moment, P 2,k-1 is the second position coordinate of the mobile terminal at the k-1th moment after the target moment, L p is the preset distance, and is the logical "and" operator, P be is the position coordinate of the multimedia device before switching, P af is the location coordinate of the multimedia device after switching.

[0082] According to one embodiment of the present invention, in the closing condition C4, (|P 1,i -P 2,k |≥|P 1,i -P 2,k-1 |)and(|P 1,i-P 2,k-1 |≥|P 1,i -P 2,k-2 |) indicates that the distance between the user's second position coordinate and the above exit is getting farther and farther for three consecutive moments, indicating that the user is constantly moving away from the i-th partition, which can be used to indicate that the user has a tendency to continue to move away from the i-th partition. And using three consecutive moments for judgment reduces the probability of some user's body movements affecting judgment and causing misjudgment.

[0083] According to one embodiment of the present invention, in the closing condition C5, (|P 1,i -P 2,k |≥L p )and(|P 1,i -P 2,k-1 |≥L p ) indicates that the distance between the user and the exit is greater than the preset distance for two consecutive moments, that is, the user has been away from the exit for a certain period of time, which means that the user will not return to the i-th partition for the time being.

[0084] According to one embodiment of the present invention, in the closing condition C6, (|P be -P 2,k |≥|P af -P 2,k |)and(|P be -P 2,k-1 |≥|P af -P 2,k-1 |) can indicate that for two consecutive moments, the distance between the user and the multimedia device after switching is less than or equal to the distance between the user and the multimedia device before switching, that is, the user is closer to the multimedia device after switching for a certain period of time, and it is easier for the user to watch the picture played by the multimedia device after switching, and the sound emitted by the multimedia device after switching has a greater impact on the user than the sound emitted by the multimedia device before switching. In this case, the multimedia device before switching can be turned off. This closing condition can be applicable to the case where there is no obvious obstacle (for example, a wall) between two adjacent partitions. In this case, the above-mentioned exit can be the exit of an artificially set partition, but in fact there is no obvious physical isolation between the two partitions. In this case, this closing condition can be used to determine whether to turn off the multimedia device before switching.

[0085] According to one embodiment of the present invention, the above closing conditions C4, C5 and C6 can all be used as conditions for closing the multimedia device before switching, that is, if any one of the closing conditions is met, the multimedia device before switching can be closed without affecting the user's continued viewing and listening to the multimedia files, thereby improving the continuity of playback and user experience.

[0086] In this way, the closing condition can be set according to the user's movement trend after leaving the original partition, the distance between the user and the exit of the original partition, and the distance to the multimedia devices before and after the switch. Therefore, it can be judged in various situations whether the user needs to continue playing the multimedia device before the switch. If the user continues to move away from the original partition or continues to approach the multimedia device after the switch, it means that the user has a low demand for the multimedia device before the switch, and the multimedia device before the switch can be closed, which can improve the accuracy of the shutdown, improve the continuity of the playback and the user experience.

[0087] According to the control method of intelligent multimedia devices based on the Internet of Things in the embodiment of the present invention, it is possible to determine whether the user has a tendency to move across partitions based on the second position coordinates of the mobile terminal carried by the user, thereby determining whether it is necessary to switch the multimedia device that plays the multimedia file, and the switching time can be determined based on the time when the user arrives at the partition exit, thereby controlling the multimedia device to switch, so that when the user moves across partitions, a coherent playback experience can still be obtained, the playback effect is improved, and the user experience is improved. When determining the switching condition, the switching condition can be determined from the distance change trend between the user carrying the mobile terminal and the partition exit, the degree of proximity between the user's moving direction and the direction of leaving the partition, and the distance between the user and the exit, and the multimedia device that needs to switch to play the multimedia file is determined under the condition that multiple switching conditions are all met, thereby reducing the probability of misjudgment and improving the accuracy of judgment. When determining the switching time, the average speed of the user at multiple moments before the judgment time can be calculated, and the reserved time coefficient can be used to enable the user to complete the switching of the multimedia device before leaving the partition, so that the user can hear the sound effect of the switched multimedia device in advance, improve the coherence of the playback, and make the continuity of the sound effect heard by the user better. When determining the closing conditions, the closing conditions can be set according to the user's movement trend after leaving the original partition, the distance between the user and the exit of the original partition, and the distance to the multimedia devices before and after the switch. In this way, it can be judged in various situations whether the user needs to continue playing the multimedia device before the switch. If the user continues to move away from the original partition or continues to approach the multimedia device after the switch, it means that the user has a low demand for the multimedia device before the switch, and the multimedia device before the switch can be closed, which can improve the accuracy of the shutdown, improve the continuity of the playback and the user experience.

[0088] Figure 2 A block diagram of an intelligent multimedia device control system based on the Internet of Things according to an embodiment of the present invention is exemplarily shown, and the system includes:

[0089] A startup module, configured to transmit first identification information of the played multimedia file to a server when a multimedia device in any partition in a preset area is started by a user and plays a multimedia file, wherein each partition includes at least one multimedia device and the user carries a mobile terminal;

[0090] An establishing module, used to establish a coordinate system in a preset area, and determine the partition range of each partition in the coordinate system, and the first position coordinates of the exit of each partition in the coordinate system;

[0091] A position module, used for determining the second position coordinates of the mobile terminal in the coordinate system at multiple moments of playing the multimedia file;

[0092] a judgment module, used for determining whether it is necessary to switch the multimedia device for playing the multimedia file according to the partition range, the first position coordinates and the second position coordinates;

[0093] A determination module, configured to determine the multimedia device to be switched according to the partition range if the multimedia device for playing the multimedia file needs to be switched;

[0094] a timing module, configured to determine a switching timing of switching a multimedia device for playing a multimedia file according to the first position coordinates and the second position coordinates;

[0095] A time module, used for determining a switching timestamp of the multimedia file according to the switching moment;

[0096] A switching module is used for the server to control the multimedia device after switching to play multimedia files according to the switching timestamp and the first identification information, and to close the multimedia device before switching according to the partition range, the first location information and the second location coordinates.

[0097] It should be understood by those skilled in the art that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The purpose of the present invention has been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments, and the embodiments of the present invention may be deformed or modified in any way without departing from the principles.

[0098] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for controlling intelligent multimedia devices based on the Internet of Things, characterized in that: include: When a multimedia device in any one of the partitions in the preset area is activated by a user and plays a multimedia file, the activated multimedia device transmits first identification information of the played multimedia file to the server, wherein each partition includes at least one multimedia device, and the user carries a mobile terminal; Establishing a coordinate system in a preset area, and determining the partition range of each partition in the coordinate system, and the first position coordinates of the exit of each partition in the coordinate system; At multiple moments of playing the multimedia file, determining a second position coordinate of the mobile terminal in the coordinate system; determining whether it is necessary to switch a multimedia device for playing the multimedia file according to the partition range, the first position coordinates, and the second position coordinates; If it is necessary to switch the multimedia device for playing the multimedia file, determine the multimedia device after switching according to the partition range; Determining a switching time of switching a multimedia device for playing the multimedia file according to the first position coordinates and the second position coordinates; Determining a switching timestamp of the multimedia file according to the switching moment; The server controls the multimedia device after switching to play the multimedia file according to the switching timestamp and the first identification information, and closes the multimedia device before switching according to the partition range, the first location information and the second location coordinates.

2. The method for controlling an intelligent multimedia device based on the Internet of Things according to claim 1, characterized in that: Determining whether it is necessary to switch a multimedia device for playing the multimedia file according to the partition range, the first position coordinates, and the second position coordinates includes: Determining a plurality of switching conditions according to the partition range, the first position coordinates, and the second position coordinates; When all of the multiple switching conditions are met, it is determined that the multimedia device that plays the multimedia file needs to be switched.

3. The method for controlling an intelligent multimedia device based on the Internet of Things according to claim 2, characterized in that: Determining a switching condition according to the partition range, the first position coordinates, and the second position coordinates includes: According to the formula Determine the switching conditions C1, C2 and C3, where P 1,i is the first position coordinate of the exit of the ith partition, P 2,i,t is the second position coordinate of the mobile terminal in the i-th partition at the t-th time, L p is the preset distance, and is the logical "and" operator, P 2,i,t-1 is the second position coordinate of the mobile terminal in the i-th partition at the t-1th time, P 2,i,t-2 is the second position coordinate of the mobile terminal in the ith partition at the t-2th time, P C,i The coordinates of the centroid of the partition range of the i-th partition, (P 1,i -P 2,i,t ) T For (P 1,i -P 2,i,t ), (P 1,i -P 2,i,t-1 ) T For (P 1,i -P 2,i,t-1 ) is the transposed vector of .

4. The method for controlling an intelligent multimedia device based on the Internet of Things according to claim 1, characterized in that: Determining a switching time of switching a multimedia device for playing a multimedia file according to the first position coordinates and the second position coordinates includes: Determine the judgment time when the multimedia device for playing the multimedia file needs to be switched; Determine a predicted time when the user arrives at an exit based on the first position coordinates, the second position coordinates at multiple times, and the judgment time; The switching time of the multimedia device for playing the multimedia file is determined according to the startup preparation time of the switched multimedia device and the predicted time.

5. The method for controlling an intelligent multimedia device based on the Internet of Things according to claim 4, characterized in that: Determining the predicted time when the user arrives at the exit according to the first position coordinates, the second position coordinates at multiple times, and the judgment time, includes: According to the formula Determine the predicted time t when the user arrives at the exit p , where t d is the judgment moment, P 1,i is the first position coordinate of the exit of the i-th partition, is the number of mobile terminals in the ith partition at the tth d The second position coordinate at the moment, P 2,i,t is the second position coordinate of the mobile terminal in the i-th partition at the t-th time, P 2,i,t-1 is the second position coordinate of the mobile terminal in the ith partition at the t-1th time, n p is the preset time number, α p is the reserved time coefficient, 0<α p <1, Among them, v p is the preset moving speed, and Δt is the time interval between adjacent moments.

6. The method for controlling an intelligent multimedia device based on the Internet of Things according to claim 1, characterized in that: Determining a switching timestamp of the multimedia file according to the switching moment includes: Determining a first time difference between the switching moment and the moment when the user starts and plays the multimedia file; A switching timestamp of the multimedia file is determined according to the first time difference.

7. The method for controlling an intelligent multimedia device based on the Internet of Things according to claim 1, characterized in that: The server controls the multimedia device after switching to play the multimedia file according to the switching timestamp and the first identification information, and closes the multimedia device before switching according to the partition range, the first location information and the second location coordinates, including: The server sends the first identification information and the switching timestamp to the switched multimedia device; Controlling the switched multimedia device to use the switching timestamp as a playback start time to play the multimedia file corresponding to the first identification information; determining, according to the partition range, the first location information, and the second location information, a plurality of shutdown conditions of the multimedia device before switching; When at least one of the plurality of shut-down conditions is satisfied, the multimedia device before the switching is shut down.

8. The method for controlling an intelligent multimedia device based on the Internet of Things according to claim 7, characterized in that: Determining multiple shutdown conditions of the multimedia device before switching according to the partition range, the first location information, and the second location information, including: Determining whether the second location information is outside the i-th partition; Starting from a target time when the second position information is outside the i-th partition, acquiring second position information at multiple time points; A plurality of closing conditions of the multimedia device before switching are determined according to the first position information and second position information at a plurality of time points after the target time point.

9. The method for controlling an intelligent multimedia device based on the Internet of Things according to claim 8, characterized in that: Determining multiple shutdown conditions of the multimedia device before switching according to the first location information and second location information at multiple time points after the target time point, including: According to the formula Determine the closing conditions C4, C5 and C6 of the multimedia device before switching, wherein P 1,i is the first position coordinate of the exit of the ith partition, P 2,i,k is the second position coordinate of the mobile terminal at the kth moment after the target moment, P 2,k-1 is the second position coordinate of the mobile terminal at the k-1th moment after the target moment, L p is the preset distance, and is the logical "and" operator, P be is the position coordinate of the multimedia device before switching, P af is the location coordinate of the multimedia device after switching.

10. An intelligent multimedia device control system based on the Internet of Things, characterized in that: include: A startup module, configured to transmit first identification information of the played multimedia file to a server when a multimedia device in any partition in a preset area is started by a user and plays a multimedia file, wherein each partition includes at least one multimedia device and the user carries a mobile terminal; An establishing module, used to establish a coordinate system in a preset area, and determine the partition range of each partition in the coordinate system, and the first position coordinates of the exit of each partition in the coordinate system; A position module, used for determining the second position coordinates of the mobile terminal in the coordinate system at multiple moments of playing the multimedia file; a judgment module, used for determining whether it is necessary to switch the multimedia device for playing the multimedia file according to the partition range, the first position coordinates and the second position coordinates; A determination module, configured to determine the multimedia device to be switched according to the partition range if the multimedia device for playing the multimedia file needs to be switched; a timing module, configured to determine a switching timing of switching a multimedia device for playing a multimedia file according to the first position coordinates and the second position coordinates; A time module, used for determining a switching timestamp of the multimedia file according to the switching moment; A switching module is used for the server to control the multimedia device after switching to play multimedia files according to the switching timestamp and the first identification information, and to close the multimedia device before switching according to the partition range, the first location information and the second location coordinates.

Citation Information

Patent Citations

  • A smart classroom multimedia management platform using the Internet of Things for centralized control

    CN117826692B

  • Internet of Things intelligent integrated multimedia control method and system

    CN117930686A