Control method and device of shared device, computer device and storage medium

By acquiring information on the usage and distribution of shared equipment, the number of devices turned on and off can be determined and controlled, thus solving the problems of low utilization rate and energy waste of shared equipment and achieving efficient utilization and energy saving.

CN115330005BActive Publication Date: 2026-05-05GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2022-08-18
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

The problem of low utilization rate and energy waste of shared equipment, especially the power consumption when users concentrate on using the equipment during a certain period of time while the equipment is idle at other times.

Method used

By obtaining the distribution and usage information of the shared devices in the previous usage cycle, it is determined whether the next usage cycle meets the preset time conditions. If it does, all devices are turned on. Otherwise, the number of devices turned on or off is determined by the on/off prediction method based on the usage and distribution information, and the number of devices turned on or off is controlled at the beginning of each time period.

Benefits of technology

It improves the utilization rate of shared equipment, reduces equipment standby time, and saves energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115330005B_ABST
    Figure CN115330005B_ABST
Patent Text Reader

Abstract

The application discloses a kind of control method, device, computer equipment and storage medium of shared equipment, it is related to shared equipment technical field.Therein, method includes: obtaining the distribution information and use information of shared equipment in last use cycle, wherein, use cycle includes multiple time periods;According to the time corresponding to last use cycle, it is judged whether next use cycle satisfies preset time condition;If it satisfies, then in next use cycle, all shared equipment in each shared equipment distribution point is controlled to start;If it does not satisfy, then according to use information and distribution information, the number of information of switch-on and switch-off of shared equipment in next use cycle is determined by switch prediction method, and at the beginning moment of each time period in next use cycle, the number of number of information of switch-on and switch-off of shared equipment in each shared equipment distribution point is controlled according to switch-on and switch-off quantity information.The application can reduce the time when shared equipment is in standby state, and save energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of shared device technology, and in particular to a control method, apparatus, computer device and storage medium for shared devices. Background Technology

[0002] Shared facilities, such as shared washing machines and shared air purifiers, are typically installed in buildings in densely populated areas like schools and factory sites. While providing users with access to shared equipment, they also offer convenience. However, the following problems exist:

[0003] In buildings with shared equipment, the shared equipment is generally always on, waiting for users to use it. However, the users tend to use the shared equipment in concentrated periods of time, resulting in insufficient equipment during certain periods and idle equipment during other periods. This leads to low utilization of the shared equipment. At the same time, since the shared equipment also consumes electricity in standby mode, additional costs are incurred when it is idle, resulting in energy waste. Summary of the Invention

[0004] This invention provides a control method, apparatus, computer device, and storage medium for shared equipment, aiming to solve the problems of low utilization rate and energy waste of existing shared equipment.

[0005] In a first aspect, embodiments of the present invention provide a control method for a shared device, comprising:

[0006] Obtain the distribution and usage information of shared devices in the previous usage period, wherein the usage period includes multiple time periods;

[0007] Based on the time corresponding to the usage cycle described above, determine whether the next usage cycle meets the preset time condition;

[0008] If the next usage cycle meets the preset time condition, then all the shared devices at each shared device distribution point will be powered on during the next usage cycle.

[0009] If the preset time condition is not met in the next usage cycle, the number of shared devices turned on and off in the next usage cycle is determined by the switching prediction method based on the usage information and the distribution information. At the beginning of each time period in the next usage cycle, the number of shared devices turned on and off at each shared device distribution point is controlled based on the number of switching devices.

[0010] Secondly, embodiments of the present invention also provide a control device for a shared device, comprising:

[0011] The acquisition unit is used to acquire the distribution information and usage information of the shared devices in the previous usage period, wherein the usage period includes multiple time periods;

[0012] The judgment unit is used to determine whether the next usage cycle meets the preset time condition based on the time corresponding to the previous usage cycle.

[0013] The first control unit is configured to control all the shared devices at each shared device distribution point to power on during the next usage cycle if the preset time condition is met in the next usage cycle.

[0014] The second control unit is configured to, if the preset time condition is not met in the next usage cycle, determine the number of shared devices turned on and off in the next usage cycle by means of a switch prediction method based on the usage information and the distribution information, and control the number of shared devices turned on and off at each time period in the next usage cycle based on the number of switches turned on and off information.

[0015] Thirdly, embodiments of the present invention also provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-described method.

[0016] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the above-described method.

[0017] This invention provides a control method, apparatus, computer device, and storage medium for shared devices. The method includes: acquiring distribution and usage information of the shared devices in a previous usage cycle, wherein the usage cycle includes multiple time periods; determining whether a preset time condition is met in the next usage cycle based on the time corresponding to the previous usage cycle; if the preset time condition is met in the next usage cycle, controlling all shared devices at each distribution point to power on during the next usage cycle; if the preset time condition is not met in the next usage cycle, determining the number of shared devices powered on / off in the next usage cycle using a power-on / off prediction method based on the usage information and the distribution information, and controlling the number of shared devices powered on / off at each distribution point at the beginning of each time period in the next usage cycle based on the number of power-on / off information. The technical solution of this invention is as follows: when the next usage cycle meets the preset time condition, all shared devices at each shared device distribution point are controlled to turn on; when the next usage cycle does not meet the preset time condition, the number of shared devices to be turned on or off in the next usage cycle is determined by a switch prediction method based on the usage information and distribution information of the previous usage cycle. At the beginning of each time period of the next usage cycle, the number of shared devices to be turned on or off at each shared device distribution point is controlled based on the number of devices to be turned on or off, thereby reducing the time that shared devices are in standby mode and saving energy. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A flowchart illustrating a control method for a shared device provided in an embodiment of the present invention;

[0020] Figure 2 This is a schematic diagram of a sub-process of a control method for a shared device provided in an embodiment of the present invention;

[0021] Figure 3 This is a schematic diagram of a sub-process of a control method for a shared device provided in an embodiment of the present invention;

[0022] Figure 4 This is a schematic diagram of a sub-process of a control method for a shared device provided in an embodiment of the present invention;

[0023] Figure 5 A schematic block diagram of a control device for a shared device provided in an embodiment of the present invention; and

[0024] Figure 6 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. Detailed Implementation

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

[0026] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0027] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0028] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0029] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrases "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0030] Please see Figure 1 , Figure 1 This is a flowchart illustrating the control method for a shared device provided in an embodiment of the present invention. The control method for the shared device will be described in detail below. Figure 1 As shown, the method includes the following steps S100-S130.

[0031] S100. Obtain the distribution information and usage information of the shared devices in the previous usage period, wherein the usage period includes multiple time periods.

[0032] In this embodiment of the invention, the shared service platform includes a server, a client, and multiple shared devices installed within the shared building. In practical applications, the server acquires the distribution and usage information of the shared devices in the previous usage cycle at a preset time each day. The preset time is 12:00 AM on the current day. The usage cycle is one day, i.e., 24 hours. Understandably, the usage cycle includes multiple time periods; for example, it can be set to include six time periods, each of which is four hours. It should be noted that in this embodiment of the invention, the usage information includes the total number of times all the shared devices are used and the number of times the shared devices are used in each time period; the distribution information includes the number of shared devices at each distribution point.

[0033] S110. Determine whether the next usage cycle meets the preset time condition based on the time corresponding to the previous usage cycle.

[0034] In this embodiment of the invention, the next usage cycle is determined based on the time corresponding to the previous usage cycle to determine whether a preset time condition is met, wherein the preset time condition is that the time corresponding to the previous usage cycle is the last day of a rest day. It should be noted that, in this embodiment of the invention, if the shared device is a shared washing machine, then the working days are Saturday and Sunday, the rest days are Monday to Friday, and the last day of the rest day is Friday; if the shared device is a shared fresh air system, then the working days are Monday to Friday, the rest days are Saturday and Sunday, and the last day of the rest day is Sunday; that is, the rest days and working days can be flexibly adjusted for different shared devices. Understandably, the shared device is used more frequently on working days than on rest days.

[0035] S120. If the next usage cycle meets the preset time condition, then control all the shared devices at each shared device distribution point to be powered on during the next usage cycle.

[0036] In this embodiment of the invention, if the time corresponding to the previous usage cycle is the last day of the rest day, it indicates that the time corresponding to the next usage cycle is a working day. If the next usage cycle meets the preset time condition, then all shared devices at each shared device distribution point are powered on during the next usage cycle for user use. In practical applications, at the beginning of the next usage cycle, the server sends a preset power-on command to all the powered-off shared devices, and all the powered-off shared devices receive the preset power-on command and power on.

[0037] S130. If the next usage cycle does not meet the preset time condition, the number of shared devices turned on and off in the next usage cycle is determined by the switch prediction method based on the usage information and the distribution information. At the beginning of each time period in the next usage cycle, the number of shared devices turned on and off at each shared device distribution point is controlled based on the number of switches turned on and off information.

[0038] In this embodiment of the invention, if the time corresponding to the previous usage cycle is not the last day of the rest day, it indicates that the time corresponding to the next usage cycle is not a working day but a rest day. Then, based on the usage information and the distribution information, the number of shared devices turned on and off in the next usage cycle is determined by a switch prediction method. The switch prediction method first determines the pre-start / stop number of shared devices based on the preset number of uses for each time period and the number of uses, and then determines the number of devices turned on and off based on the pre-start / stop number. After the number of devices turned on and off is determined, at the beginning of each time period in the next usage cycle, the number of shared devices turned on and off at each shared device distribution point is controlled according to the number of devices turned on and off based on the number of devices turned on and off.

[0039] It should be noted that, in this embodiment of the invention, when a user clicks the reservation button on the client via an APP, WeChat mini-program, or web page, a device reservation request can be triggered. The server receives the device reservation request and returns the location information, name, and working status of the shared device for each time period to the client based on the reservation request. The client displays the available shared devices to the user based on the location information, name, and working status for each time period. When the user selects an available shared device, the selection information is sent, and the server determines the shared device that the user has reserved based on the selection information.

[0040] In some embodiments, such as this embodiment, as Figure 2 As shown, step S130 may include steps S131-S133.

[0041] S131. Obtain the preset number of times the shared device is used in each of the time periods;

[0042] S132. For each time period in the next usage cycle, determine the pre-switching / turning-off quantity information of the shared device based on the preset number of uses and the number of uses.

[0043] S133. Determine the number of times the shared device is turned on and off based on the distribution information, the pre-start / stop number information, and the total number of uses.

[0044] In this embodiment of the invention, the preset number of times the shared device is used in each time period is obtained. It should be noted that the preset number of times of use is (y*[X / x]) / X, where y is the preset time period length, X is the preset cycle length, x is the preset single use duration of the shared device, [X / x]) is the preset standard number of times of use, and [] represents taking the integer of X / x. For each time period in the next usage cycle, the pre-on / off quantity information of the shared device is determined according to the preset number of times of use and the number of times of use. The pre-on / off quantity information includes the pre-off state and pre-standby state information of the shared device, which is the pre-standby and pre-off quantity information of the shared device. After determining the pre-off quantity information, the on / off quantity information of the shared device is determined according to the number of shared devices at each shared device distribution point, the pre-on / off quantity information, and the total number of times of use. The on / off quantity information includes the off state and standby state information of the shared device, which is the standby and off quantity information of the shared device.

[0045] Furthermore, in some embodiments, such as this embodiment, as Figure 3 As shown, step S132 may include steps S1321-S1323.

[0046] S1321. Determine whether the number of uses is less than half of the preset number of uses. If the number of uses is less than half of the preset number of uses, then execute step S1322; otherwise, execute step S1323.

[0047] S1322. Set the working state of the shared device to a pre-shutdown state;

[0048] S1323. Set the working state of the shared device to a pre-standby state;

[0049] S1324. The pre-shutdown state and the pre-standby state of the working state are used as the pre-shutdown quantity information.

[0050] In this embodiment of the invention, the preset number of uses is (y*[X / x]) / X. Assuming the number of uses is z, it is determined whether z is less than ((y*[X / x]) / X) / 2. If z < ((y*[X / x]) / X) / 2, it indicates that the shared device is used less frequently during the time period, and the working state of the shared device is set to a pre-shutdown state. If z ≥ ((y*[X / x]) / X) / 2, it indicates that the shared device is used more frequently during the time period, and the working state of the shared device is set to a pre-standby state. After setting the pre-shutdown and pre-standby states of the shared devices at each distribution point for each time period, the pre-shutdown and pre-standby states of the working state are used as the pre-shutdown / on / off quantity information.

[0051] Furthermore, in some embodiments, such as this embodiment, as Figure 4 As shown, step S133 may include steps S1331-S1334.

[0052] S1331. Calculate the number of pre-standby devices based on the working status of the shared device;

[0053] S1332. Calculate the target standby number based on the preset cycle duration, preset time period duration, total number of uses, and preset single use duration of the shared device using the standby number formula.

[0054] S1333. If the target standby number is equal to the pre-standby number, then the pre-power-on / off number information is used as the power-on / off number information.

[0055] S1334. If the target standby number is not equal to the pre-standby number, then the power-off state and standby state of the shared device are determined according to the number of uses and the number of shared devices, and the power-off state and standby state of the shared device are used as power-on / off quantity information.

[0056] In this embodiment of the invention, the pre-standby quantity is calculated based on the working state of the shared device. Specifically, if the working state is the pre-standby state, the standby quantity is incremented by 1 until the working states of all the shared devices are traversed to obtain the pre-standby quantity. After obtaining the pre-standby quantity and the pre-shutdown quantity, the power-on / off quantity information of the shared device is determined based on the preset cycle duration, the preset time period duration, the pre-standby quantity, the total number of uses, the number of shared devices, and the preset single use duration of the shared device. Specifically, assuming the pre-standby quantity is x1 and the total number of uses is x2, the target standby quantity x3 is calculated using the standby quantity formula based on the preset cycle duration X, the preset time period duration y, the preset single use duration x, and x2. The standby quantity formula is shown in formula (1). It is determined whether x1 is equal to x3. If x1 = x3, it indicates that the shared device meets the usage requirements, and the pre-power-on / off quantity information is used as the power-on / off quantity information. If x1 ≠ x3, the difference between the target standby quantity and the pre-standby quantity is calculated, and the absolute value of the difference is used as the standby quantity difference. Based on the number of uses and the number of shared devices, the pre-power-off state of the shared device is set to standby state according to the standby quantity difference. In practical applications, the shared devices in the pre-shutdown state are first sorted according to the number of times they are used to determine the priority of setting them to the standby state. Then, the shared devices are selected comprehensively based on the number of shared devices at each distribution point. Specifically, assuming the difference in the number of standby devices is 1, there are a total of 5 shared devices on floor 1 of the shared building, of which 3 are in the pre-standby state and 2 are in the pre-shutdown state; there are a total of 5 shared devices on floor 2 of the shared building, of which 1 is in the pre-standby state and 4 are in the pre-shutdown state. The 2 shared devices on floor 1 have a higher priority, but considering that 3 devices on floor 2 are already in standby state while only 1 device on floor 1 is in standby state, and the distance between floor 1 and floor 2 is not far, the shared device on floor 1 with the higher number of uses can be set to the pre-standby state. Finally, the pre-shutdown state and pre-standby state of the shared device are set to shutdown state and standby state, respectively. The shutdown state and standby state of the shared device are used as the power-on / off quantity information. At the beginning of each time period of the next usage cycle, the power-on / off quantity of the shared devices at each distribution point is controlled according to the shutdown state and standby state of the shared device, thereby reducing the time that the shared devices are in standby state and saving energy.

[0057]

[0058] Figure 5This is a schematic block diagram of a control device 200 for a shared device provided in an embodiment of the present invention. Figure 5 As shown, corresponding to the above-described control method for shared devices, the present invention also provides a control device 200 for shared devices. This control device 200 includes a unit for executing the above-described control method for shared devices, and the device can be configured in a computer device. Specifically, please refer to... Figure 5 The control device 200 of the shared equipment includes an acquisition unit 201, a judgment unit 202, a first control unit 203, and a second control unit 204.

[0059] The acquisition unit 201 is used to acquire the distribution information and usage information of the shared devices in the previous usage cycle, wherein the usage cycle includes multiple time periods; the judgment unit 202 is used to judge whether the next usage cycle meets the preset time condition based on the time corresponding to the previous usage cycle; the first control unit 203 is used to control all the shared devices at each shared device distribution point to turn on in the next usage cycle if the next usage cycle meets the preset time condition; the second control unit 204 is used to determine the number of shared devices turned on and off in the next usage cycle based on the usage information and the distribution information using a switch prediction method, and control the number of shared devices turned on and off at each shared device distribution point at the beginning of each time period in the next usage cycle based on the number of devices turned on and off.

[0060] In some embodiments, such as this one, the second control unit 204 includes an acquisition subunit, a first determination unit, and a second determination unit.

[0061] The acquisition subunit is used to acquire the preset number of times the shared device is used in each of the time periods; the first determination unit is used to determine the pre-on / off quantity information of the shared device for each of the time periods in the next usage cycle, based on the preset number of times of use and the number of times of use; the second determination unit is used to determine the on / off quantity information of the shared device based on the distribution information, the pre-on / off quantity information and the total number of times of use.

[0062] In some embodiments, such as this embodiment, the first determining unit includes a determining subunit, a first setting unit, a second setting unit, and a first setting unit.

[0063] The determination subunit is used to determine whether the number of uses is less than half of the preset number of uses; the first setting unit is used to set the working state of the shared device to a pre-shutdown state if the number of uses is less than half of the preset number of uses; the second setting unit is used to set the working state of the shared device to a pre-standby state if the number of uses is not less than half of the preset number of uses; the first setting unit is used to use the pre-shutdown state and the pre-standby state of the working state as pre-power-on / off quantity information.

[0064] In some embodiments, such as this one, the second determining unit includes a first calculation unit and a third determining unit.

[0065] The first calculation unit is used to calculate the number of pre-standby devices based on the working status of the shared devices; the third determination unit is used to determine the number of power-on / off devices based on a preset cycle duration, a preset time period duration, the number of pre-standby devices, the total number of uses, the number of shared devices, and the preset single-use duration of the shared devices.

[0066] In some embodiments, such as this one, the third determining unit includes a second calculation unit, a second processing unit, and a fourth determining unit.

[0067] The second calculation unit is used to calculate the target standby quantity based on the preset cycle duration, preset time period duration, total number of uses, and preset single use duration of the shared device using a standby quantity formula; the second assignment unit is used to use the pre-power-on / off quantity information as the power-on / off quantity information if the target standby quantity is equal to the pre-standby quantity; the fourth determination unit is used to determine the power-off state and standby state of the shared device based on the number of uses and the number of shared devices if the target standby quantity is not equal to the pre-standby quantity, and to use the power-off state and standby state of the shared device as the power-on / off quantity information.

[0068] In some embodiments, such as this embodiment, the fourth determining unit includes a third setting unit and a fourth setting unit.

[0069] The third setting unit is used to take the absolute value of the difference between the target standby number and the pre-standby number as the standby number difference, and set the pre-shutdown state of the shared device based on the number of uses and the number of shared devices; the fourth setting unit is used to set the pre-shutdown state and the pre-standby state of the shared device to a shutdown state and a standby state.

[0070] In some embodiments, such as this one, the control device 200 of the shared device further includes a first receiving unit and a second receiving unit.

[0071] The first receiving unit is configured to, upon receiving a device reservation request from a client, return the location information, name, and working status of the shared device for each time period to the client based on the device reservation request; the second receiving unit is configured to, upon receiving selection information from the client, determine the shared device to be reserved based on the selection information.

[0072] The control device for the aforementioned shared equipment can be implemented as a computer program, which can, for example... Figure 6 It runs on the computer device shown.

[0073] Please see Figure 6 , Figure 6 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. The computer device 300 is a server.

[0074] See Figure 6 The computer device 300 includes a processor 302, a memory, and a network interface 305 connected via a system bus 301. The memory may include a non-volatile storage medium 303 and internal memory 304.

[0075] The non-volatile storage medium 303 may store an operating system 3031 and a computer program 3032. When the computer program 3032 is executed, it causes the processor 302 to execute a method for controlling a shared device.

[0076] The processor 302 provides computing and control capabilities to support the operation of the entire computer device 300.

[0077] The internal memory 304 provides an environment for the execution of the computer program 3032 in the non-volatile storage medium 303. When the computer program 3032 is executed by the processor 302, the processor 302 can execute a control method for a shared device.

[0078] This network interface 305 is used for network communication with other devices. Those skilled in the art will understand that... Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device 300 to which the present invention is applied. The specific computer device 300 may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0079] The processor 302 is used to run a computer program 3032 stored in a memory to implement any embodiment of the control method for the shared device described above.

[0080] It should be understood that, in this embodiment of the invention, the processor 302 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0081] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0082] Therefore, the present invention also provides a storage medium. This storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When executed by a processor, the computer program causes the processor to perform any embodiment of the control method for the shared device described above.

[0083] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.

[0084] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0085] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0086] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0087] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device to execute all or part of the steps of the methods described in the various embodiments of the present invention.

[0088] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0089] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Since these modifications and variations fall within the scope of the claims and their equivalents, this invention also intends to include these modifications and variations.

[0090] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A control method for a shared device, characterized in that, include: Obtain the distribution and usage information of shared devices in the previous usage period, wherein the usage period includes multiple time periods; Based on the time corresponding to the previous usage cycle, determine whether the next usage cycle meets the preset time condition, wherein the preset time condition is that the time corresponding to the previous usage cycle is the last day of the rest day; If the next usage cycle meets the preset time condition, then all the shared devices at each shared device distribution point will be powered on during the next usage cycle. If the next usage cycle does not meet the preset time condition, the number of shared devices turned on and off in the next usage cycle is determined by the switch prediction method based on the usage information and the distribution information. At the beginning of each time period in the next usage cycle, the number of shared devices turned on and off at each shared device distribution point is controlled based on the number of switch-on and off information. The usage information includes the total number of times all the shared devices are used and the number of times the shared devices are used in each of the time periods. The step of determining the number of times the shared devices are turned on and off in the next usage cycle based on the usage information and the distribution information using a switch prediction method includes: Obtain the preset number of times the shared device is used in each of the specified time periods; For each time period within the next usage cycle, the number of pre-start / stop times for the shared device is determined based on the preset number of uses and the number of uses. The number of times the shared device is turned on and off is determined based on the distribution information, the pre-start / stop number information, and the total number of uses.

2. The method according to claim 1, characterized in that, The step of determining the pre-switching / turning-off quantity information of the shared device based on the preset number of uses and the number of uses includes: Determine whether the number of uses is less than half of the preset number of uses; If the number of uses is less than half of the preset number of uses, the working state of the shared device is set to a pre-shutdown state. If the number of uses is not less than half of the preset number of uses, then the working state of the shared device is set to pre-standby state; The pre-shutdown state and the pre-standby state of the working state are used as the pre-shutdown / on-off quantity information.

3. The method according to claim 2, characterized in that, The distribution information includes the number of shared devices at each shared device distribution point. The step of determining the number of shared devices to be switched on and off based on the distribution information, the pre-switched-on / off quantity information, and the total number of uses includes: The number of devices to be in standby mode is calculated based on the operating status of the shared devices. The number of times a shared device is turned on or off is determined based on the preset cycle duration, preset time period duration, the number of pre-standby devices, the total number of uses, the number of shared devices, and the preset single-use duration of the shared devices.

4. The method according to claim 3, characterized in that, The step of determining the number of times the shared devices are turned on and off based on a preset cycle duration, a preset time period duration, the number of pre-standby devices, the total number of uses, the number of shared devices, and the preset single-use duration of the shared devices includes: The target standby count is calculated using the standby count formula based on the preset cycle duration, preset time period duration, total number of uses, and preset single use duration of the shared device. If the target standby number is equal to the pre-standby number, then the pre-power-on / off number information is used as the power-on / off number information; If the target standby number is not equal to the pre-standby number, the power-off state and standby state of the shared device are determined based on the number of uses and the number of shared devices, and the power-off state and standby state of the shared device are used as power-on / off quantity information.

5. The method according to claim 4, characterized in that, The step of determining the power-off and standby states of the shared devices based on the number of uses and the number of shared devices includes: The absolute value of the difference between the target standby number and the pre-standby number is taken as the standby number difference, and the pre-shutdown state of the shared device is set to standby state according to the number of uses and the number of shared devices. Set the pre-shutdown state and pre-standby state of the shared device to a shutdown state and a standby state, respectively.

6. The method according to claim 1, characterized in that, The method further includes: If a device reservation request is received from a client, the location information, name, and working status of the shared device for each time period are returned to the client according to the device reservation request. If the client sends selection information, the shared device to be reserved is determined based on the selection information.

7. A control device for shared equipment, characterized in that, include: The acquisition unit is used to acquire the distribution information and usage information of the shared devices in the previous usage period, wherein the usage period includes multiple time periods; The judgment unit is used to determine whether the next usage cycle meets the preset time condition based on the time corresponding to the previous usage cycle, wherein the preset time condition is that the time corresponding to the previous usage cycle is the last day of the rest day; The first control unit is configured to control all the shared devices at each shared device distribution point to power on during the next usage cycle if the preset time condition is met in the next usage cycle. The second control unit is configured to determine the number of shared devices turned on and off in the next usage cycle based on the usage information and the distribution information using a switch prediction method if the preset time condition is not met in the next usage cycle, and control the number of shared devices turned on and off at each time period in the next usage cycle based on the number of shared devices turned on and off according to the number of shared devices. The usage information includes the total number of times all the shared devices are used and the number of times the shared devices are used in each of the time periods. The second control unit includes: The acquisition subunit is used to acquire the preset number of times the shared device is used in each of the time periods; The first determining unit is used to determine the number of pre-switching / turning-off times of the shared device for each time period in the next usage cycle, based on the preset number of uses and the number of uses. The second determining unit is used to determine the number of times the shared device is turned on and off based on the distribution information, the pre-start / stop number information, and the total number of uses.

8. A computer device, characterized in that, The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, can implement the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Shared device control method and device and shared service platform

    CN114331622A