A method, apparatus, device, and storage medium for determining a reference time.

By generating random baseline times for self-media devices, the problem of inconsistent device startup times leading to poor display effects was solved, and the peak access times to the cloud were reduced, achieving synchronized device operation and resource optimization.

CN116233996BActive Publication Date: 2026-05-26LENOVO (BEIJING) LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
LENOVO (BEIJING) LTD
Filing Date
2023-02-01
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

The inconsistent startup times of self-media devices can lead to unsatisfactory overall display effects. Furthermore, the simultaneous startup of a large number of devices can cause peak access to the cloud, which may be identified as an attack and cause request failures. Therefore, it is necessary to increase server resources to resolve the peak issue.

Method used

By generating a random baseline time for each device, devices associated with the same identification information are ensured to run synchronously, avoiding access peaks and reducing the demand on server resources.

Benefits of technology

It enables the synchronized operation of self-media devices, improves the overall display effect, reduces the demand for server resources, and avoids peak access times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116233996B_ABST
    Figure CN116233996B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, and storage medium for determining a reference time. The method for determining the reference time includes: acquiring identification information; generating a target reference time based on the identification information; the target reference time being any time; and determining the target reference time as the reference time of at least one device associated with the identification information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, device and storage medium for determining a reference time. Background Technology

[0002] Currently, many self-media devices are composed of multiple separate components, such as a photo wall made of multiple smart photo frames. The start-up time and progress of these separate components are often inconsistent during the operation process, which makes it difficult for the overall display effect of the self-media device to meet expectations. A common approach is to allocate a single start-up time for all the separate components.

[0003] However, once manufacturers sell a certain number of self-media devices, a large number of devices will start up simultaneously. Each time a task is executed, a request is made to the cloud, leading to peak access to the cloud. This peak access may be identified as an attack by the cloud and blocked by the firewall, causing the request to fail. Even if the firewall is bypassed through some means, there will still be periodic peak access to the cloud server. During these peak access times, more server resources are needed, and to solve the peak access problem, additional server resources must be added. Summary of the Invention

[0004] This application aims to provide a method, apparatus, device, and storage medium for determining a reference time.

[0005] The technical solution of this application is implemented as follows:

[0006] An embodiment of the first aspect of this application provides a method for determining a reference time, including:

[0007] Obtain identification information;

[0008] A target reference time is generated based on the identification information; the target reference time can be any time.

[0009] The target reference time is determined as the reference time of at least one device associated with the identification information.

[0010] Optionally, generating the target reference time based on the identification information includes:

[0011] Receive at least one pre-allocated time-limited interval;

[0012] Upon obtaining the identification information, a target reference time is generated; the target reference time is any time within the time limit interval.

[0013] Optionally, generating the target reference time based on the identification information includes:

[0014] Receive multiple pre-allocated time-limited intervals;

[0015] Periodically obtain the number of target reference times generated within each time limit interval;

[0016] If the number of target reference times generated within the first time limit interval is greater than the first threshold, then target reference times are generated within the second time limit interval; if the number of target reference times generated within the second time limit interval is less than the first threshold; the first time limit interval and the second time limit interval are any two time limit intervals among multiple time limit intervals.

[0017] Optionally, receiving at least one pre-allocated time-limited interval includes:

[0018] Receive the pre-allocated spare time limit interval;

[0019] If the number of target reference times generated in multiple time-limited intervals exceeds the first threshold, then a target reference time is generated in the backup time-limited interval.

[0020] Optionally, determining the target reference time as the reference time of at least one device associated with the identification information includes:

[0021] Obtain the working duration of the device in a single cycle;

[0022] Based on the target reference time and the working duration, the cycle reference time for each cycle is determined;

[0023] The target reference time and the cyclic reference time are determined as the reference time of at least one device associated with the identification information.

[0024] Optionally, the device includes a multimedia device; determining the target reference time as the reference time of at least one device associated with the identification information includes:

[0025] The target reference time is determined as the reference time at which at least one multimedia device associated with the identification information begins playing the video.

[0026] Optionally, it also includes:

[0027] Based on the target reference time and the playback duration of a single cycle of the multimedia device, multiple playback reference times for loop playback are determined.

[0028] An embodiment of the second aspect of this application provides a reference time determination apparatus, including...

[0029] The acquisition module is used to acquire identification information;

[0030] The generation module is used to generate a target reference time based on the identification information; the target reference time can be any time.

[0031] The determination module is used to determine the target reference time as the reference time of at least one device associated with the identification information.

[0032] A third aspect of this application provides an electronic device including a memory and a processor, the memory storing a computer program, which, when executed by the processor, performs the steps of the method described in the first aspect.

[0033] An embodiment of the fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.

[0034] This application provides a method, apparatus, device, and storage medium for determining a reference time. The method includes: acquiring identification information; generating a target reference time based on the identification information; the target reference time being any time; and determining the target reference time as the reference time of at least one device associated with the identification information. By randomly matching a target reference time to different identification information and determining the target reference time as the reference time of at least one device associated with the same identification information, this approach ensures that multiple devices associated with the same identification information can operate synchronously, improving the overall display effect of the devices. It also avoids access peaks and reduces the demand on server resources. Attached Figure Description

[0035] Figure 1 A flowchart illustrating a method for determining a reference time provided in an embodiment of this application;

[0036] Figure 2 This is a schematic diagram of a reference time determination device provided in an embodiment of this application;

[0037] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0038] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0039] Furthermore, the accompanying drawings are merely illustrative of this application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0040] The flowchart shown in the attached diagram is merely an illustrative example and does not necessarily include all steps. For example, some steps may be broken down, while others may be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0041] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. When used herein, the singular forms “a,” “an,” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising” and / or “including,” when used in this specification, identify the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups. When used herein, the term “and / or” includes any and all combinations of the associated listed items.

[0042] In some embodiments, please refer to Figure 1 , Figure 1 This is a flowchart illustrating a method for determining a reference time according to an embodiment of this application. The method includes:

[0043] Step S110: Obtain identification information.

[0044] This application's embodiments can be applied to self-media devices. In this embodiment, the identification information can be the device's identity information, such as a factory serial number, a registration number assigned after registration on a cloud platform, or a number bound to the user's identity information. Each piece of identification information is unique.

[0045] Step S120: Generate a target reference time based on the identification information; the target reference time can be any time.

[0046] In this embodiment, a target base time can be generated through a trigger mechanism. For example, a target base time can be generated based on identification information when a user creates an account, binds their first device, or uses a specific function for the first time. It should be noted that the target base time can be any time of day, specifically accurate to milliseconds.

[0047] In some embodiments, generating a target reference time based on identification information includes:

[0048] Receive at least one pre-allocated time-limited interval;

[0049] Upon obtaining the identification information, a target reference time is generated; the target reference time can be any moment within the time limit interval.

[0050] In this embodiment, based on the country, region, time zone, or local area network where the device is located, at least one time restriction interval can be pre-assigned to different identification information. The target reference time generated based on the identification information can only be within the time restriction interval. Here, the length of the time restriction interval can be 10 minutes, 20 minutes, or even 1 hour or 2 hours; the specific duration is not limited.

[0051] In one optional embodiment, taking time zones as an example, device 1 corresponding to identification information 1 is located in the East 8 time zone, and device 2 corresponding to identification information 2 is located in the West 8 time zone. A time limit interval can be pre-assigned to device 1 in the East 8 time zone, such as 0:0:0:000 to 0:10:0:0000, and a time limit interval can be pre-assigned to device 2 in the West 8 time zone, such as 8:0:0:000 to 8:10:0:0000. Thus, the target base time corresponding to device 1 and device 2 are located in different time intervals, so when device 1 and device 2 need to make requests to the cloud, access peaks can be avoided, reducing the demand on server resources.

[0052] In one alternative embodiment, receiving at least one pre-allocated time limit interval includes receiving a plurality of pre-allocated time limit intervals.

[0053] In this embodiment, multiple time limit intervals can be pre-assigned to some identification information, and the target reference time generated based on the identification information can be located in any of these multiple time limit intervals.

[0054] Continuing with the time zone example, device 1 (identifier 1) is located in the East 8 time zone, and device 2 (identifier 2) is located in the West 8 time zone. Two different time limit intervals can be pre-assigned to device 1 in the East 8 time zone, such as 0:0:0:000~0:10:0:0000 and 8:0:0:000~8:10:0:0000. One time limit interval can be assigned to device 2 in the West 8 time zone, such as 8:0:0:000~8:10:0:0000. Therefore, when device 2 in the West 8 time zone experiences low access, device 1 in the East 8 time zone can generate the target base time within the two different time limit intervals, avoiding access peaks and reducing the demand on server resources. When device 2 in the West 8 time zone experiences high access, device 1 in the East 8 time zone only generates the target base time within the 0:0:0:000~0:10:0:0000 interval, achieving off-peak access. It should be noted that Device 1 and Device 2 can represent multiple devices respectively. In the example above, they are only used to distinguish devices located in different time zones.

[0055] In some embodiments, generating a target reference time based on identification information includes:

[0056] Receive multiple pre-allocated time-limited intervals;

[0057] Periodically obtain the number of target reference times generated within each time limit interval;

[0058] If the number of target reference times generated within the first time limit interval is greater than the first threshold, then target reference times are generated within the second time limit interval; if the number of target reference times generated within the second time limit interval is less than the first threshold; the first time limit interval and the second time limit interval are any two time limit intervals among multiple time limit intervals.

[0059] In this embodiment, multiple time-limited intervals are pre-assigned to some identification information. Once the target reference time corresponding to the identification information is determined, it will not change for a period of time. By periodically obtaining the number of target reference times generated in each time-limited interval, the probability of access peaks in each time-limited interval can be estimated. Therefore, when the number of target reference times in a time-limited interval is large, target reference times can be generated from other time-limited intervals first.

[0060] For example, taking a first threshold of 500 as an example, when an identifier is assigned to multiple time restriction intervals, if the target reference time generated in the first time restriction interval is 510 and the target reference time generated in the second time restriction interval is 180, then when there are operations such as creating an account, binding the first device, or using a specific function for the first time in the same country, region, or time zone, the target reference time will be generated first from the second time restriction interval.

[0061] In some embodiments, receiving at least one pre-allocated time-limited interval includes:

[0062] Receive the pre-allocated spare time limit interval;

[0063] If the number of target reference times generated in multiple time-limited intervals exceeds the first threshold, then a target reference time is generated in the backup time-limited interval.

[0064] In this embodiment, the regular time-limited interval has a higher priority than the backup time-limited interval. Target base times are generated only within the backup time-limited interval if the number of target base times already generated within the regular time-limited interval exceeds a first threshold. Here, each identifier can correspond to a separate backup time-limited interval, and multiple identifiers can share a single backup time-limited interval. This avoids generating too many target base times within the regular time-limited interval, reducing the probability of access spikes and the demand on server resources.

[0065] Step S130: The target reference time is determined as the reference time of at least one device associated with the identification information.

[0066] In this embodiment, the same identification information can be associated with only one device, or it can be associated with two or more devices simultaneously. Taking the generation of a target base time when a user creates an account as an example, this target base time can be used as the target base time for all devices associated with the created user account. Thus, multiple devices associated with the same identification information can run synchronously, improving the overall display effect of the devices.

[0067] In some embodiments, determining the target reference time as the reference time of at least one device associated with the identification information includes:

[0068] Obtain the working duration of a single cycle of the device;

[0069] Based on the target baseline time and working duration, determine the cycle baseline time for each cycle.

[0070] The target reference time and the cyclic reference time are determined as the reference time of at least one device associated with the identification information.

[0071] Once the target reference time for the equipment is determined, multiple cyclic reference times can be determined based on the operating duration of each cycle. These multiple cyclic reference times allow for the gradual synchronization of at least one device associated with the identification information.

[0072] In some embodiments, the device includes a multimedia device; determining the target reference time as the reference time of at least one device associated with the identification information includes:

[0073] The target reference time is determined as the reference time when at least one multimedia device associated with the identification information begins playing the video.

[0074] Taking the looping playback of a video segment on a multimedia device as an example, once the target reference time for a multimedia device to start playing the video is determined, the reference time for its next video playback can be determined based on the duration required for playback. During this process, when other multimedia devices associated with this multimedia account request to play videos, the determined reference time can be used as their target reference time, thus achieving synchronized operation of multiple devices associated with the same identification information.

[0075] In some embodiments, it also includes:

[0076] Based on the target reference time and the duration of playback video in a single cycle of the multimedia device, multiple playback reference times are determined for loop playback.

[0077] For example, when the target base time of a multimedia device associated with the same multimedia account is determined to be 0:30:0:000, assuming that the duration required for playing the video is 30 minutes, the base times for starting to play the video next can be determined as 1:0:0:000, 1:30:0:000, 2:0:0:000, etc. When another multimedia device associated with this multimedia account initiates a request to play the video at 1:05:0:000, 1:30:0:000 can be used as its base time, thereby achieving synchronous operation of the two multimedia devices.

[0078] This application embodiment randomly matches a target reference time for different identification information and determines the target reference time as the reference time of at least one device associated with the same identification information. This ensures that multiple devices associated with the same identification information can run synchronously, improving the overall display effect of the devices, while also avoiding access peaks and reducing the demand on server resources.

[0079] In some embodiments, please refer to Figure 2 , Figure 2This is a schematic diagram of a reference time determination device provided in an embodiment of this application; this application provides a reference time determination device 200, including...

[0080] The acquisition module 210 is used to acquire identification information.

[0081] The generation module 220 is used to generate a target reference time based on the identification information; the target reference time can be any time.

[0082] The determination module 230 is used to determine the target reference time as the reference time of at least one device associated with the identification information.

[0083] This application's embodiments can be applied to self-media devices. In this embodiment, the identification information can be the device's identity information, such as a factory serial number, a registration number assigned after registration on a cloud platform, or a number bound to the user's identity information. Each piece of identification information is unique.

[0084] In this embodiment, a target base time can be generated through a trigger mechanism. For example, a target base time can be generated based on identification information when a user creates an account, binds their first device, or uses a specific function for the first time. It should be noted that the target base time can be any time of day, specifically accurate to milliseconds.

[0085] The same identification information can be associated with only one device, or with two or more devices simultaneously. Taking the generation of a target base time when a user creates an account as an example, this target base time can be used as the target base time for all devices associated with the created user account. As a result, multiple devices associated with the same identification information can run synchronously, improving the overall display effect of the devices.

[0086] In some embodiments, the generation module 220 is specifically used for:

[0087] Receive at least one pre-allocated time-limited interval;

[0088] Upon obtaining the identification information, a target reference time is generated; the target reference time can be any moment within the time limit interval.

[0089] In this embodiment, based on the country, region, time zone, or local area network where the device is located, at least one time restriction interval can be pre-assigned to different identification information. The target reference time generated based on the identification information can only be within the time restriction interval. Here, the length of the time restriction interval can be 10 minutes, 20 minutes, or even 1 hour or 2 hours; the specific duration is not limited.

[0090] In one optional embodiment, taking time zones as an example, device 1 corresponding to identification information 1 is located in the East 8 time zone, and device 2 corresponding to identification information 2 is located in the West 8 time zone. A time limit interval can be pre-assigned to device 1 in the East 8 time zone, such as 0:0:0:000 to 0:10:0:0000, and a time limit interval can be pre-assigned to device 2 in the West 8 time zone, such as 8:0:0:000 to 8:10:0:0000. Thus, the target base time corresponding to device 1 and device 2 are located in different time intervals, so when device 1 and device 2 need to make requests to the cloud, access peaks can be avoided, reducing the demand on server resources.

[0091] It should be noted that in this embodiment, multiple time limit intervals can be pre-assigned to some identification information, and the target reference time generated based on the identification information can be located in any of these multiple time limit intervals.

[0092] In some embodiments, the generation module 220 is further configured to:

[0093] Receive multiple pre-allocated time-limited intervals

[0094] Periodically obtain the number of target reference times generated within each time limit interval;

[0095] If the number of target reference times generated within the first time limit interval is greater than the first threshold, then target reference times are generated within the second time limit interval; if the number of target reference times generated within the second time limit interval is less than the first threshold, then the first and second time limit intervals are pre-allocated time limit intervals.

[0096] In this embodiment, multiple time-limited intervals are pre-assigned to some identification information. Once the target reference time corresponding to the identification information is determined, it will not change for a period of time. By periodically obtaining the number of target reference times generated in each time-limited interval, the probability of access peaks in each time-limited interval can be estimated. Therefore, when the number of target reference times in a time-limited interval is large, target reference times can be generated from other time-limited intervals first.

[0097] For example, taking a first threshold of 500 as an example, when an identifier is assigned to multiple time restriction intervals, if the target reference time generated in the first time restriction interval is 510 and the target reference time generated in the second time restriction interval is 180, then when there are operations such as creating an account, binding the first device, or using a specific function for the first time in the same country, region, or time zone, the target reference time will be generated first from the second time restriction interval.

[0098] In some embodiments, the generation module 220 is further configured to:

[0099] Receive the pre-allocated spare time limit interval;

[0100] If the number of target reference times generated in multiple time-limited intervals exceeds the first threshold, then a target reference time is generated in the backup time-limited interval.

[0101] In this embodiment, the regular time-limited interval has a higher priority than the backup time-limited interval. Target base times are generated only within the backup time-limited interval if the number of target base times already generated within the regular time-limited interval exceeds a first threshold. Here, each identifier can correspond to a separate backup time-limited interval, and multiple identifiers can share a single backup time-limited interval. This avoids generating too many target base times within the regular time-limited interval, reducing the probability of access spikes and the demand on server resources.

[0102] In some embodiments, the determining module 230 is specifically used for:

[0103] Obtain the working duration of a single cycle of the device;

[0104] Based on the target baseline time and working duration, determine the cycle baseline time for each cycle.

[0105] The target reference time and the cyclic reference time are determined as the reference time of at least one device associated with the identification information.

[0106] Once the target reference time for the equipment is determined, multiple cyclic reference times can be determined based on the operating duration of each cycle. These multiple cyclic reference times allow for the gradual synchronization of at least one device associated with the identification information.

[0107] In some embodiments, the device includes a multimedia device; the determining module 230 is further configured to:

[0108] The target reference time is determined as the reference time when at least one multimedia device associated with the identification information begins playing the video.

[0109] Taking the looping playback of a video segment on a multimedia device as an example, once the target reference time for a multimedia device to start playing the video is determined, the reference time for its next video playback can be determined based on the duration required for playback. During this process, when other multimedia devices associated with this multimedia account request to play videos, the determined reference time can be used as their target reference time, thus achieving synchronized operation of multiple devices associated with the same identification information.

[0110] In some embodiments, the determining module 230 is further configured to:

[0111] Based on the target reference time and the duration of playback video in a single cycle of the multimedia device, multiple playback reference times are determined for loop playback.

[0112] For example, when the target base time of a multimedia device associated with the same multimedia account is determined to be 0:30:0:000, assuming that the duration required for playing the video is 30 minutes, the base times for starting to play the video next can be determined as 1:0:0:000, 1:30:0:000, 2:0:0:000, etc. When another multimedia device associated with this multimedia account initiates a request to play the video at 1:05:0:000, 1:30:0:000 can be used as its base time, thereby achieving synchronous operation of the two multimedia devices.

[0113] This application embodiment randomly matches a target reference time for different identification information and determines the target reference time as the reference time of at least one device associated with the same identification information. This ensures that multiple devices associated with the same identification information can run synchronously, improving the overall display effect of the devices, while also avoiding access peaks and reducing the demand on server resources.

[0114] It should be noted that the description of the above-described reference time determination device embodiments is similar to the description of the above-described reference time determination method embodiments, and has similar beneficial effects. For technical details not disclosed in the reference time determination device embodiments of this application, please refer to the description of the reference time determination method embodiments of this application for understanding, and will not be repeated here.

[0115] In some embodiments of this application, an electronic device is provided; please refer to [link to relevant documentation]. Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor performs the steps of the above-described reference time determination method.

[0116] The electronic device can be a terminal, server, or similar computing device. It can vary significantly in configuration and performance, and may include one or more Central Processing Units (CPUs), including but not limited to microprocessors (MCUs) or programmable logic devices (FPGAs), memory for storing data, and one or more storage media (e.g., one or more mass storage devices) for storing applications or data. The memory and storage media can be temporary or persistent storage. The program stored on the storage media may include one or more modules, each module including a series of instruction operations on the electronic device. Furthermore, the CPU may be configured to communicate with the storage media and execute the series of instruction operations stored on the storage media on the electronic device. The electronic device may also include one or more power supplies, one or more wired or wireless network interfaces, one or more input / output interfaces, and / or one or more operating systems, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. The input / output interfaces can be used to receive or send data via a network. Specific examples of the network mentioned above may include a wireless network provided by the electronic device's communication provider.

[0117] In one example, the input / output interface includes a network interface controller (NIC) that can connect to other network devices via a base station to communicate with the Internet. In an exemplary embodiment, the input / output interface can be a radio frequency (RF) module for wireless communication with the Internet.

[0118] Those skilled in the art will understand that Figure 3 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, the electronic device may also include components that are more... Figure 3 The more or fewer components shown, or having the same Figure 3 The different configurations shown.

[0119] In some embodiments, this application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described reference time determination method.

[0120] It should be noted that the descriptions of the above electronic device and storage medium embodiments are similar to the descriptions of the above reference time determination method embodiments, and have similar beneficial effects. For technical details not disclosed in the electronic device and storage medium embodiments of this application, please refer to the descriptions of the reference time determination method embodiments of this application for understanding, and they will not be repeated here.

[0121] In the several embodiments provided in this application, it should be understood that the disclosed reference time determination methods, apparatus, devices, and storage media can be implemented in other ways. The embodiments of methods, apparatus, electronic devices, and storage media described above are merely illustrative.

[0122] The reference time determination method, apparatus, electronic device, and storage medium described in the embodiments of this application are only examples of the embodiments described in this application, but are not limited thereto. Any reference time determination method, apparatus, electronic device, and storage medium involved are within the protection scope of this application.

[0123] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0124] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0125] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any modifications or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for determining a reference time, comprising: Obtain identification information; A target reference time is generated based on the identification information; The target reference time is any moment within the time limit interval, and the time limit interval is the interval allocated to the identification information; The target reference time is determined as the reference time of at least one device associated with the identification information, and the reference time enables at least one device associated with the same identification to operate synchronously.

2. The reference time determination method according to claim 1, wherein generating the target reference time based on the identification information includes: Receive at least one pre-allocated time-limited interval; Upon obtaining the identification information, a target reference time is generated; The target reference time is any moment within the time limit interval.

3. The reference time determination method according to claim 2, wherein generating the target reference time based on the identification information includes: Receive multiple pre-allocated time-limited intervals; Periodically obtain the number of target reference times generated within each time limit interval; If the number of target reference times generated within the first time limit interval is greater than the first threshold, then target reference times are generated within the second time limit interval. The number of target reference times generated within the second time limit interval is less than the first threshold; the first time limit interval and the second time limit interval are any two time limit intervals among a plurality of time limit intervals.

4. The reference time determination method according to claim 3, comprising receiving at least one pre-allocated time constraint interval, including: Receive the pre-allocated spare time limit interval; If the number of target reference times generated in multiple time-limited intervals is greater than the first threshold, then a target reference time is generated in the backup time-limited interval.

5. The reference time determination method according to claim 1, wherein determining the target reference time as the reference time of at least one device associated with the identification information includes: Obtain the working duration of the device in a single cycle; Based on the target reference time and the working duration, the cycle reference time for each cycle is determined; The target reference time and the cyclic reference time are determined as the reference time of at least one device associated with the identification information.

6. The reference time determination method according to claim 1, wherein the device includes a multimedia device; the step of determining the target reference time as the reference time of at least one device associated with the identification information includes: The target reference time is determined as the reference time at which at least one multimedia device associated with the identification information begins playing the video.

7. The reference time determination method according to claim 6 further includes: Based on the target reference time and the playback duration of a single cycle of the multimedia device, multiple playback reference times for loop playback are determined.

8. A reference time determination device, comprising: The acquisition module is used to acquire identification information; The generation module is used to generate a target reference time based on the identification information; The target reference time is any moment within the time limit interval, and the time limit interval is the interval allocated to the identification information; The determination module is used to determine the target reference time as the reference time of at least one device associated with the identification information, wherein the reference time enables at least one device associated with the same identification to operate synchronously.

9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein when the computer program is executed by the processor, the processor performs the steps of the method as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.