Display effect synchronization control method and device, electronic equipment and readable storage medium
By determining and synchronizing the control accuracy of multiple functional dimensions, the problem of poor synchronization effects of sound, vibration and light strips in the prior art is solved, and more efficient synchronization control is achieved and user experience is improved.
Patent Information
- Application Number
- CN202311127917.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-01
- Publication Date
- 2025-03-04
AI Technical Summary
The prior art cannot ensure the consistent control accuracy of sound, vibration and light strip, resulting in poor synchronization effect and affecting user experience.
By determining M functional dimensions (such as sound, vibration, lighting effects), obtain the control accuracy of each dimension, and select at least one as the synchronization reference to synchronously control each functional dimension according to the synchronization reference.
It improves the synchronization effect of multiple functional dimensions, ensures consistent synchronization control accuracy of sound, vibration and light strips, and improves user experience.
Smart Images

Figure CN119556870A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of synchronous control technology, and in particular to a display effect synchronous control method, device, electronic device and readable storage medium. Background Art
[0002] In the related art, the solution for synchronizing sound, vibration and light strip is as follows: the audio module starts playing sound by controlling the sound through a unified application programming interface (API), and the vibration is synchronized with the sound and the light strip is synchronized with the sound based on the sound. Currently, since the control accuracy of vibration and light strip cannot be guaranteed to be consistent, there is a problem of poor synchronization of sound, vibration and light strip, which affects the user experience. Summary of the invention
[0003] In order to solve the above technical problems, the present application provides a display effect synchronization control method, device, electronic device and readable storage medium.
[0004] In a first aspect, the present application provides a display effect synchronization control method, the method comprising:
[0005] Determine M functional dimensions, where M is a positive integer greater than or equal to 3; the M functional dimensions are related to the display effect of the lighting effect;
[0006] Acquire the control accuracy of each functional dimension, at least two of the M control accuracies are different, and determine at least one of the M control accuracies as a synchronization reference;
[0007] According to the synchronization benchmark, the M control accuracies perform synchronous control on the M functional dimensions.
[0008] In one embodiment, the synchronous control of the M functional dimensions by the M control accuracies according to the synchronization reference includes:
[0009] According to the synchronization reference and the M control precisions, determine the synchronization amount of other functional dimensions in the M functional dimensions except the reference dimension; take the lowest common multiple of each control precision as the starting synchronization time; perform synchronization control on the M functional dimensions according to the synchronization amount and the starting synchronization time; or,
[0010] Determine the common synchronization accuracy of the other functional dimensions among the M functional dimensions except the reference dimension; when the error between the synchronization reference and the common synchronization accuracy is less than a preset accuracy error threshold, perform synchronization control on the M functional dimensions according to the synchronization reference and the common synchronization accuracy.
[0011] In one embodiment, the M functional dimensions include a sound dimension, a vibration dimension, and a lighting effect dimension, and the M control accuracies synchronously control the M functional dimensions according to the synchronization reference, including:
[0012] Taking the sound control accuracy of the sound dimension as the synchronization reference, controlling the vibration dimension and the light effect dimension to be synchronized with the sound dimension respectively;
[0013] In the case that the vibration dimension is not synchronized with the light effect dimension, the light control accuracy of the light effect dimension is used as a synchronization reference to control the vibration dimension to be synchronized with the light effect dimension.
[0014] In one embodiment, the method further comprises:
[0015] Determining a target functional dimension from the M functional dimensions according to the user's recognition sensitivity to each functional dimension;
[0016] The control accuracy corresponding to the target function dimension is determined as the synchronization benchmark.
[0017] In one embodiment, the synchronous control of the M functional dimensions by the M control accuracies according to the synchronization reference includes:
[0018] Determine, according to the synchronization benchmark, a target start and end time range of the target function dimension corresponding to the synchronization benchmark;
[0019] Determine, according to the control accuracy corresponding to the other target functional dimensions, that the start and end times of the other target functional dimensions are within the target start and end time range; the other target functional dimensions are functional dimensions other than the target functional dimension among the M functional dimensions;
[0020] The synchronization of the M functional dimensions is controlled according to the target start and end time range of the target functional dimension and the start and end time of other target functional dimensions.
[0021] In one embodiment, the synchronous control of the M functional dimensions by the M control accuracies according to the synchronization reference includes:
[0022] Determine, according to the synchronization benchmark, a target start and end time range of the target function dimension corresponding to the synchronization benchmark;
[0023] Determine, according to the control accuracy corresponding to the other target functional dimensions, that the start and end times of the other target functional dimensions are within the target start and end time range; the other target functional dimensions are functional dimensions other than the target functional dimension among the M functional dimensions;
[0024] The synchronization of the M functional dimensions is controlled according to the target start and end time range of the target functional dimension and the start and end time of other target functional dimensions.
[0025] In one embodiment, the method further comprises:
[0026] Respectively obtaining a sound control delay in the sound dimension, a light control delay in the light effect dimension, and a vibration control delay in the vibration dimension;
[0027] In a case where the sound control delay and the vibration control delay are both greater than or equal to a first delay threshold, the sound control accuracy is used as the synchronization reference;
[0028] When the vibration control delay and the light control delay are both greater than or equal to a second delay threshold, the light control accuracy is used as the synchronization reference.
[0029] In one embodiment, the method further comprises:
[0030] The lighting control accuracy or the lighting control delay is determined according to the refresh rate of the display screen.
[0031] In a second aspect, the present application provides a display effect synchronization control device, the display effect synchronization control device comprising:
[0032] A determination module, used to determine M functional dimensions, where M is a positive integer greater than or equal to 3; the M functional dimensions are related to the display effect of the lighting effect;
[0033] An acquisition module is used to acquire the control accuracy of each functional dimension. If any two of the M control accuracies are different, at least one of the M control accuracies is determined as a synchronization reference.
[0034] A control module is used to synchronously control the M functional dimensions according to the synchronization benchmark and the M control precisions.
[0035] In a third aspect, the present application provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and when the computer program is run by the processor, the display effect synchronization control method provided in the first aspect is executed.
[0036] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when running on a processor, executes the display effect synchronization control method provided in the first aspect.
[0037] The display effect synchronization control method, device, electronic device and readable storage medium provided in the present application above determine M functional dimensions, where M is a positive integer greater than or equal to 3; the M functional dimensions are related to the display effect of the lighting effect; the control accuracy of each functional dimension is obtained, at least two of the M control accuracies are different, and at least one of the M control accuracies is determined as a synchronization reference; according to the synchronization reference, the M control accuracies perform synchronous control on the M functional dimensions, which can improve the synchronization effect of multiple functional dimensions. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope of protection of the present application. In each of the drawings, similar components are numbered similarly.
[0039] Figure 1 A schematic diagram showing an application environment of the display effect synchronization control method provided by the present application is shown;
[0040] Figure 2 A schematic diagram of a flow chart of a display effect synchronization control method provided by the present application is shown;
[0041] Figure 3 Another schematic diagram of the flow chart of the display effect synchronization control method provided by the present application is shown;
[0042] Figure 4 Another schematic diagram of the flow chart of the display effect synchronization control method provided by the present application is shown;
[0043] Figure 5 A structural schematic diagram of a display effect synchronization control device provided by the present application is shown.
[0044] Icons: 500 - display effect synchronization control device, 501 - determination module, 502 - acquisition module, 503 - control module. DETAILED DESCRIPTION
[0045] The technical solution in the present application will be clearly and completely described below in conjunction with the drawings in the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0046] The components of the present application generally described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0047] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present application, are intended only to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations of the foregoing items.
[0048] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.
[0049] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.
[0050] The present application provides a display effect synchronization control method, which is used to synchronously control multiple functional dimensions with different control precisions. For example, see Figure 1 , it can realize the synchronous control of lighting-related display effects, as well as the synchronous control of sound, vibration, light strip and screen.
[0051] See also Figure 2 The display effect synchronization control method includes steps S201 to S203, and each step is described below.
[0052] Step S201, determining M functional dimensions.
[0053] In this embodiment, M is a positive integer greater than or equal to 3; the M functional dimensions are related to the display effect of the lighting effect. Functional dimension refers to a function of a device, for example, it can be a sound function, a vibration function, a light strip function and a screen function, and the M functional dimensions include a sound dimension, a vibration dimension and a light strip dimension, or the M functional dimensions include a sound dimension, a vibration dimension, a light strip dimension and a screen dimension. There is no artificial restriction on the types of functional dimensions.
[0054] Step S202, obtaining the control accuracy of each functional dimension, at least two of the M control accuracies are different, and at least one of the M control accuracies is determined as a synchronization reference.
[0055] In this embodiment, any two of the M control accuracies are different. For example, Figure 1 The control accuracy between any two of the sound dimension, vibration dimension, light strip dimension and screen dimension is different. The smaller the control accuracy, the shorter the time delay for turning on or off the function. The greater the control accuracy, the longer the time delay for turning on or off the function.
[0056] In the related art, the synchronization process of the sound dimension, the vibration dimension and the light strip dimension is as follows: the audio module uses a unified API to control the sound to start playing, and synchronizes the vibration dimension with the sound dimension based on the sound dimension: that is, when the sound is recognized to start playing, the vibration parameter file starts playing; the light strip dimension is synchronized with the sound dimension: that is, when the sound is recognized to start playing, the light strip parameter file starts playing. If the contents in the vibration parameter file and the light strip parameter file can be guaranteed to be synchronized with the sound respectively, and the start time point is guaranteed to be consistent, the vibration and sound can be synchronized, and the light and sound can be synchronized. However, the accuracy of the vibration parameter file and the light strip parameter file cannot be guaranteed to be consistent. If the control accuracy of the vibration parameter file is 1ms and the accuracy of the light strip parameter file is 16.666ms, it means that the light strip may be on or off after 16.666ms. But the motor can start vibrating at the 1ms. Therefore, the related art will appear that when the motor is vibrating, the light strip is not on. Or when the light strip is on, the motor does not vibrate. Therefore, it is necessary to perform synchronous control according to the control accuracy of the sound dimension, vibration dimension, and light strip dimension.
[0057] In this embodiment, the corresponding control accuracy can be determined based on each functional dimension, and when the units of each control accuracy are different, the control accuracy units can be unified. For example, the control accuracy of turning on or off the sound dimension, vibration dimension, and light strip dimension is in milliseconds (ms), and the screen refresh rate is 60hz, then the screen refresh rate of 60hz can be converted into a control accuracy in milliseconds (ms).
[0058] Step S203: According to the synchronization benchmark, the M control accuracies perform synchronous control on the M functional dimensions.
[0059] In one embodiment, the M functional dimensions include a sound dimension, a vibration dimension, and a light effect dimension. For example, the sound accuracy of the sound dimension, the vibration accuracy of the vibration dimension, and the light accuracy of the light strip dimension are obtained respectively, and the sound accuracy, the vibration accuracy, and the light accuracy are different, and the sound accuracy is the largest.
[0060] For example, the sound accuracy of the sound dimension is 0.5ms, the vibration accuracy of the vibration dimension is 1ms, and the light accuracy of the light strip dimension is 16.666ms. The control accuracy of various functional dimensions such as the sound accuracy of the sound dimension, the vibration accuracy of the vibration dimension, and the light accuracy of the light strip dimension are related to the corresponding hardware principles. The size relationship between the control accuracy of various functional dimensions can be determined according to actual conditions and is not limited here.
[0061] See also Figure 3 , step S203 includes:
[0062] Step S2031, taking the sound control accuracy of the sound dimension as the synchronization reference, controlling the vibration dimension and the light effect dimension to be synchronized with the sound dimension respectively.
[0063] Step S2032, when the vibration dimension is not synchronized with the light effect dimension, the light control accuracy of the light effect dimension is used as a synchronization reference to control the vibration dimension to be synchronized with the light effect dimension.
[0064] In general, due to the limitation of device principle, the accuracy of vibration parameter file is higher than that of light strip parameter file, and the control accuracy of sound dimension is relatively higher than that of vibration parameter file and light strip parameter file respectively. Based on the sound dimension, the vibration dimension and light strip dimension are synchronously controlled, and the following situations may occur: 1. When playing sound, the vibration parameter file is set to vibration, and the light strip file is set to light effect. 2. When playing sound, the vibration parameter file is set to vibration, because the accuracy of vibration parameter file is higher than that of light strip parameter file, at this time, the light strip file is set to no light effect. 3. When no sound is played, the vibration parameter file is not set to vibration, because the accuracy of vibration parameter file is higher than that of light strip parameter file, at this time, the light strip file is set to light effect. 4. When no sound is played, the vibration parameter file is not set to vibration, because the vibration control accuracy of vibration parameter file is higher than that of light strip parameter file, and the light strip parameter file is set to no light effect. It can be seen from this that in the above-mentioned cases 2 and 3 in the related art, the light strip dimension is not synchronized with the vibration dimension.
[0065] In this embodiment, the sound control accuracy can be used as a synchronization benchmark, and other functional dimensions can be controlled according to the sound control accuracy. First, the other functional dimensions are synchronously controlled with the sound dimension, and then the other functional dimensions are synchronously controlled based on human sensitivity and the control accuracy of other functional dimensions. For example, people are highly sensitive to light, and when debugging the motor vibration parameters, in addition to adapting to the accuracy of the sound dimension, the motor vibration parameters can also be synchronously adapted to the light control accuracy of the light strip parameter file. This can solve the problem of the light strip dimension and the vibration dimension being out of sync in the above-mentioned cases 2 and 3, and ensure that the vibration effect is consistent with the light strip effect.
[0066] That is, when the sound is played or not played, and the light strip parameter file is a lighting effect, the vibration parameter file must be set to vibration. When the sound is played or not played, and the light strip parameter file is a non-lighting effect, the vibration parameter file is not set to vibration.
[0067] In one embodiment, step S203 includes:
[0068] According to the synchronization reference and the M control precisions, determine the synchronization amount of other functional dimensions in the M functional dimensions except the reference dimension; take the lowest common multiple of each control precision as the starting synchronization time; perform synchronization control on the M functional dimensions according to the synchronization amount and the starting synchronization time; or,
[0069] Determine a common synchronization period of the other functional dimensions among the M functional dimensions except the reference dimension; when an error between the synchronization reference and the common synchronization period is less than a preset error threshold, perform synchronization control on the M functional dimensions according to the synchronization reference and the common synchronization period.
[0070] For example, if the control accuracy of the light strip, vibration, and sound is 10ms, 5ms, and 1ms respectively; when there is an instruction to control the light strip, motor, and speaker at the same time, since the light strip has the lowest accuracy, it will respond to light up after 10ms. In order to correspond to the light, the motor will be idle for 2 times corresponding to the vibration control accuracy, and the speaker will be idle for 10 times corresponding to the sound control accuracy to achieve synchronization. It should be noted that the stop time of the M functional dimensions also follows a similar logic to achieve synchronous stop.
[0071] It should be noted that if the control accuracy of the light strip, motor, and speaker are 7ms, 3ms, and 2ms respectively, it is difficult to form an integer multiple relationship between these three control accuracies. If the common multiple is forcibly obtained, it is 42ms. If the synchronization control is performed according to 42ms, the user can clearly perceive the delay, and the experience is relatively poor. Therefore, the sound control accuracy of 7ms can be used as the synchronization benchmark, the vibration control accuracy of the motor is 2ms, and the sound control accuracy of the speaker is 3ms. The common synchronization accuracy of the two is 6ms, which can form a start time of 7ms, 6ms, and 6ms, and the accuracy error can be controlled within 1ms. It should be noted that the stop time of the M functional dimensions also follows a similar logic to control the accuracy error within the smallest possible range.
[0072] Through the above scheme, when the complete start and end synchronization of M functional dimensions can be achieved, the complete start and end synchronization of M functional dimensions can be achieved. If the control time to achieve the complete start and end synchronization of M functional dimensions is too long, synchronization control can be performed within a smaller precision error range to reduce the time consumption of the precision control process and ensure user experience.
[0073] In one embodiment, the method further comprises:
[0074] Respectively obtaining the sound control accuracy of the sound dimension, the light control accuracy of the light effect dimension, and the vibration control accuracy of the vibration dimension;
[0075] When the sound control accuracy and the vibration control accuracy are both greater than or equal to a first accuracy threshold, the sound control accuracy is used as the synchronization reference;
[0076] When the vibration control accuracy and the light control accuracy are both greater than or equal to a second accuracy threshold, the light control accuracy is used as the synchronization reference.
[0077] In this embodiment, the first accuracy threshold and the second accuracy threshold can be set as needed. When the sound control accuracy and the vibration control accuracy are both greater than or equal to the first accuracy threshold, it means that the sound control accuracy and the vibration control accuracy are both relatively large, and the sound control accuracy that is more sensitive to the user can be selected as the synchronization reference. When the vibration control accuracy and the light control accuracy are both greater than or equal to the second accuracy threshold, it means that the vibration control accuracy and the light control accuracy are both relatively large, and the light control accuracy that is more sensitive to the user can be selected as the synchronization reference. This allows the lighting-related effects to be synchronized, which is more in line with the user experience.
[0078] In one embodiment, the method further comprises:
[0079] Respectively obtaining a sound control delay in the sound dimension, a light control delay in the light effect dimension, and a vibration control delay in the vibration dimension;
[0080] In a case where the sound control delay and the vibration control delay are both greater than or equal to a first delay threshold, the sound control accuracy is used as the synchronization reference;
[0081] When the vibration control delay and the light control delay are both greater than or equal to a second delay threshold, the light control accuracy is used as the synchronization reference.
[0082] In this embodiment, the first delay threshold and the second delay threshold can be set as needed. When the sound control delay and the vibration control delay are both greater than or equal to the first delay threshold, it means that the sound control delay and the vibration control delay are both relatively large, and the sound control accuracy that is more sensitive to the user can be selected as the synchronization reference. When the vibration control delay and the light control delay are both greater than or equal to the second delay threshold, it means that the vibration control delay and the light control delay are both relatively large, and the light control accuracy that is more sensitive to the user can be selected as the synchronization reference. This allows the lighting-related effects to be synchronized, which better satisfies the user's sensory experience.
[0083] In one embodiment, the method further comprises:
[0084] The lighting control accuracy or the lighting control delay is determined according to the refresh rate of the display screen.
[0085] For example, if the refresh rate of the display screen is 120 Hz, the screen refresh rate of 120 Hz can be converted into lighting control accuracy or lighting control delay in milliseconds (ms).
[0086] In one embodiment, the method further comprises:
[0087] Determining a target functional dimension from the M functional dimensions according to the user's recognition sensitivity to each functional dimension;
[0088] The control accuracy corresponding to the target function dimension is determined as the synchronization benchmark.
[0089] For example, the M functional dimensions are sound dimension, vibration dimension, and lighting effect dimension. The recognition sensitivity of the sound dimension is 30%, the recognition sensitivity of the vibration dimension is 20%, and the recognition sensitivity of the lighting effect dimension is 10%. Then, the sound dimension can be determined as the target functional dimension, and the sound control accuracy of the sound dimension can be used as the synchronization benchmark.
[0090] See also Figure 4 , step S203 includes:
[0091] Step S2033: determining the target start and end time range of the target function dimension corresponding to the synchronization benchmark according to the synchronization benchmark.
[0092] Step S2034, determining, based on the control accuracy corresponding to the other target function dimensions, whether the start and end times of the other target function dimensions are within the target start and end time range.
[0093] In this embodiment, the other target functional dimensions are functional dimensions other than the target functional dimension among the M functional dimensions.
[0094] Step S2035, controlling the synchronization of M functional dimensions according to the target start and end time range of the target functional dimension and the start and end time of other target functional dimensions.
[0095] For example, the sound control accuracy of the sound dimension is 0.5ms. Taking the sound control accuracy as the synchronization benchmark, the target start and end time range of the sound playback is [t1+0.5, t2+0.5], where t1 is the time when the sound playback command is executed, and t1+0.5 indicates the time when the hardware actually starts playing music after responding to the sound playback command. t2 is the time when the sound stop command is executed, and t2+0.5 indicates the time when the hardware actually starts muting after responding to the sound stop command.
[0096] Other target function dimensions are vibration dimension and light strip dimension. The vibration accuracy of the vibration dimension is 1ms, and the luminous accuracy of the light strip dimension is 16.666ms. The vibration start and end time of the vibration dimension is [t3+1, t4+1], where t3 is the moment when the vibration start command is executed, and t3+1 indicates the moment when the hardware actually starts vibrating after responding to the vibration start command. t4 is the moment when the vibration stop command is executed, and t4+1 indicates the moment when the hardware actually stops vibrating after responding to the vibration stop command. The luminous start and end time of the light strip dimension is [t5+16.666, t6+16.666], where t5 is the moment when the luminous start command is executed, and t5+1 indicates the moment when the hardware actually starts luminous after responding to the luminous start command. T6 is the moment when the luminous stop command is executed, and t6+16.666 indicates the moment when the hardware actually stops luminous after responding to the luminous stop command. By reasonably setting t1, t2, t3, t4, t5, and t6, the start and end times of [t1+0.5, t2+0.5], [t3+1, t4+1], and [t5+16.666, t6+16.666] can be made the same, thereby ensuring that multiple functional dimensions remain synchronized.
[0097] The display effect synchronization control method provided in this embodiment determines M functional dimensions, where M is a positive integer greater than or equal to 3; the M functional dimensions are related to the display effect of the lighting effect; the control accuracy of each functional dimension is obtained, at least two of the M control accuracies are different, and at least one of the M control accuracies is determined as a synchronization reference; according to the synchronization reference, the M control accuracies perform synchronization control on the M functional dimensions, which can improve the synchronization effect of multiple functional dimensions.
[0098] In some embodiments, in addition, the present application provides a display effect synchronization control device.
[0099] like Figure 5 As shown, the display effect synchronization control device 500 includes:
[0100] The determination module 501 is used to determine M functional dimensions, where M is a positive integer greater than or equal to 3; the M functional dimensions are related to the display effect of the lighting effect;
[0101] An acquisition module 502 is used to acquire control accuracy of each functional dimension, at least two of the M control accuracies are different, and at least one of the M control accuracies is determined as a synchronization reference;
[0102] The control module 503 is used to perform synchronous control on the M functional dimensions according to the synchronization reference and the M control precisions.
[0103] In one embodiment, the M functional dimensions include a sound dimension, a vibration dimension, and a light effect dimension; the control module 503 is further configured to use the sound control accuracy of the sound dimension as the synchronization reference to control the vibration dimension and the light effect dimension to be synchronized with the sound dimension respectively;
[0104] In the case that the vibration dimension is not synchronized with the light effect dimension, the light control accuracy of the light effect dimension is used as a synchronization reference to control the vibration dimension to be synchronized with the light effect dimension.
[0105] In one embodiment, the display effect synchronization control device 500 further includes:
[0106] A first processing module, configured to determine a target functional dimension from the M functional dimensions according to the user's recognition sensitivity to each functional dimension;
[0107] The control accuracy corresponding to the target function dimension is determined as the synchronization benchmark.
[0108] In one embodiment, the control module 503 is further configured to determine, according to the synchronization reference, a target start and end time range of a target function dimension corresponding to the synchronization reference;
[0109] Determine, according to the control accuracy corresponding to the other target functional dimensions, that the start and end times of the other target functional dimensions are within the target start and end time range; the other target functional dimensions are functional dimensions other than the target functional dimension among the M functional dimensions;
[0110] The synchronization of the M functional dimensions is controlled according to the target start and end time range of the target functional dimension and the start and end time of other target functional dimensions.
[0111] In one embodiment, the display effect synchronization control device 500 further includes:
[0112] A second processing module, used to respectively obtain the sound control accuracy of the sound dimension, the light control accuracy of the light effect dimension, and the vibration control accuracy of the vibration dimension;
[0113] When the sound control accuracy and the vibration control accuracy are both greater than or equal to a first accuracy threshold, the sound control accuracy is used as the synchronization reference;
[0114] When the vibration control accuracy and the light control accuracy are both greater than or equal to a second accuracy threshold, the light control accuracy is used as the synchronization reference.
[0115] In one embodiment, the display effect synchronization control device 500 further includes:
[0116] A third processing module is used to respectively obtain the sound control delay of the sound dimension, the light control delay of the light effect dimension, and the vibration control delay of the vibration dimension;
[0117] In a case where the sound control delay and the vibration control delay are both greater than or equal to a first delay threshold, the sound control accuracy is used as the synchronization reference;
[0118] When the vibration control delay and the light control delay are both greater than or equal to a second delay threshold, the light control accuracy is used as the synchronization reference.
[0119] In one embodiment, the display effect synchronization control device 500 further includes:
[0120] The fourth processing module is used to determine the lighting control accuracy or the lighting control delay according to the refresh rate of the display screen.
[0121] The display effect synchronization control device 500 provided in this embodiment can implement the display effect synchronization control method provided in Embodiment 1, and will not be described again here to avoid repetition.
[0122] The display effect synchronization control device provided in this embodiment determines M functional dimensions, where M is a positive integer greater than or equal to 3; the M functional dimensions are related to the display effect of the lighting effect; the control accuracy of each functional dimension is obtained, at least two of the M control accuracies are different, and at least one of the M control accuracies is determined as a synchronization reference; according to the synchronization reference, the M control accuracies perform synchronization control on the M functional dimensions, which can improve the synchronization effect of multiple functional dimensions.
[0123] In addition, the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, the display effect synchronization control method provided in Example 1 is executed.
[0124] The electronic device provided in this embodiment can implement the display effect synchronization control method provided in Embodiment 1, and will not be described again here to avoid repetition.
[0125] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the display effect synchronization control method provided in Example 1 is implemented.
[0126] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0127] The computer-readable storage medium provided in this embodiment can implement the display effect synchronization control method provided in Embodiment 1, and will not be described again here to avoid repetition.
[0128] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.
[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0130] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A display effect synchronization control method, characterized in that: The method comprises: Determine M functional dimensions, where M is a positive integer greater than or equal to 3; the M functional dimensions are related to the display effect of the lighting effect; Acquire the control accuracy of each functional dimension, at least two of the M control accuracies are different, and determine at least one of the M control accuracies as a synchronization reference; According to the synchronization benchmark, the M control accuracies perform synchronous control on the M functional dimensions.
2. The method according to claim 1, characterized in that The step of synchronously controlling the M functional dimensions with the M control accuracies according to the synchronization benchmark includes: According to the synchronization reference and the M control precisions, determine the synchronization amount of other functional dimensions in the M functional dimensions except the reference dimension; take the lowest common multiple of each control precision as the starting synchronization time; perform synchronization control on the M functional dimensions according to the synchronization amount and the starting synchronization time; or, Determine the common synchronization accuracy of the other functional dimensions among the M functional dimensions except the reference dimension; when the error between the synchronization reference and the common synchronization accuracy is less than a preset accuracy error threshold, perform synchronization control on the M functional dimensions according to the synchronization reference and the common synchronization accuracy.
3. The method according to claim 1, characterized in that The M functional dimensions include a sound dimension, a vibration dimension, and a light effect dimension, and the M control accuracies synchronously control the M functional dimensions according to the synchronization benchmark, including: Taking the sound control accuracy of the sound dimension as the synchronization reference, controlling the vibration dimension and the light effect dimension to be synchronized with the sound dimension respectively; In the case that the vibration dimension is not synchronized with the light effect dimension, the light control accuracy of the light effect dimension is used as a synchronization reference to control the vibration dimension to be synchronized with the light effect dimension.
4. The method according to claim 1, characterized in that: The method further comprises: Determining a target functional dimension from the M functional dimensions according to the user's recognition sensitivity to each functional dimension; The control accuracy corresponding to the target function dimension is determined as the synchronization benchmark.
5. The method according to claim 1, characterized in that: The step of synchronously controlling the M functional dimensions with the M control accuracies according to the synchronization benchmark includes: Determine, according to the synchronization benchmark, a target start and end time range of the target function dimension corresponding to the synchronization benchmark; Determine, according to the control accuracy corresponding to the other target functional dimensions, that the start and end times of the other target functional dimensions are within the target start and end time range; the other target functional dimensions are functional dimensions other than the target functional dimension among the M functional dimensions; The synchronization of the M functional dimensions is controlled according to the target start and end time range of the target functional dimension and the start and end time of other target functional dimensions.
6. The method according to claim 3, characterized in that: The method further comprises: Respectively obtaining the sound control accuracy of the sound dimension, the light control accuracy of the light effect dimension, and the vibration control accuracy of the vibration dimension; When the sound control accuracy and the vibration control accuracy are both greater than or equal to a first accuracy threshold, the sound control accuracy is used as the synchronization reference; When the vibration control accuracy and the light control accuracy are both greater than or equal to a second accuracy threshold, the light control accuracy is used as the synchronization reference.
7. The method according to claim 3, characterized in that The method further comprises: Respectively obtaining a sound control delay in the sound dimension, a light control delay in the light effect dimension, and a vibration control delay in the vibration dimension; In a case where the sound control delay and the vibration control delay are both greater than or equal to a first delay threshold, the sound control accuracy is used as the synchronization reference; When the vibration control delay and the light control delay are both greater than or equal to a second delay threshold, the light control accuracy is used as the synchronization reference.
8. The method according to claim 6 or 7, characterized in that: The method further comprises: The lighting control accuracy or lighting control delay is determined according to the refresh rate of the display screen.
9. A display effect synchronization control device, characterized in that: The device comprises: A determination module, used to determine M functional dimensions, where M is a positive integer greater than or equal to 3; the M functional dimensions are related to the display effect of the lighting effect; An acquisition module is used to acquire the control accuracy of each functional dimension, and if any two of the M control accuracies are different, at least one of the M control accuracies is determined as a synchronization reference; A control module is used to synchronously control the M functional dimensions according to the synchronization benchmark and the M control precisions.
10. An electronic device, characterized in that: The device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is run by the processor, the display effect synchronization control method according to any one of claims 1 to 8 is executed.
11. A computer-readable storage medium, characterized in that: The device stores a computer program, which executes the display effect synchronization control method according to any one of claims 1 to 8 when running on a processor.