Search

CN-115330005-B - Control method and device of sharing device, computer device and storage medium

CN115330005BCN 115330005 BCN115330005 BCN 115330005BCN-115330005-B

Abstract

The invention discloses a control method and device of sharing equipment, computer equipment and a storage medium, and relates to the technical field of sharing equipment. The method comprises the steps of obtaining distribution information and use information of sharing equipment in a previous use period, judging whether the next use period meets a preset time condition according to time corresponding to the previous use period, controlling all sharing equipment in distribution points of the sharing equipment to be started in the next use period if the preset time condition is met, determining the starting-up quantity information of the sharing equipment in the next use period according to the use information and the distribution information through a switching prediction method if the preset time condition is not met, and controlling the starting-up quantity of the sharing equipment in the distribution points of the sharing equipment according to the starting-up quantity information at the starting moment of each time period of the next use period. The invention can reduce the time of the sharing equipment in the standby state and save energy consumption.

Inventors

  • Han Yiru
  • QIU CHUNHUI
  • YUAN ZHENGBO

Assignees

  • 珠海格力电器股份有限公司

Dates

Publication Date
20260505
Application Date
20220818

Claims (9)

  1. 1. A control method of a sharing device, comprising: Acquiring distribution information and use information of a sharing device in a last use period, wherein the use period comprises a plurality of time periods; Judging whether the next use period meets a preset time condition according to the time corresponding to the last use period, wherein the preset time condition is that the time corresponding to the last use period is the last day of rest days; If the next use period meets the preset time condition, controlling all the sharing devices in the distribution points of the sharing devices to start up in the next use period; If the next use period does not meet the preset time condition, determining the switching-on/off quantity information of the sharing equipment in the next use period through a switching prediction method according to the use information and the distribution information, and controlling the switching-on/off quantity of the sharing equipment at the distribution points of the sharing equipment according to the switching-on/off quantity information at the starting time of each time period of the next use period; wherein the usage information includes a total number of uses of all the sharing devices and a number of uses of the sharing devices for each of the time periods, the step of determining the on-off number information of the sharing device in the next use period according to the use information and the distribution information through a switch prediction method includes: Acquiring preset use times of the sharing equipment in each time period; for each time period in the next use period, determining the pre-startup and shutdown quantity information of the sharing equipment according to the preset use times and the use times; and determining the on-off quantity information of the sharing equipment according to the distribution information, the pre-on-off quantity information and the total use times.
  2. 2. The method according to claim 1, wherein the step of determining the information of the number of pre-startup and shutdown of the shared device according to the preset number of uses and the number of uses includes: judging whether the use times are less than half of the preset use times or not; if the using times are less than half of the preset using times, setting the working state of the sharing equipment to be a pre-shutdown state; If the using times are not less than half of the preset using times, setting the working state of the sharing equipment to be a pre-standby state; and taking the pre-shutdown state and the pre-standby state of the working state as pre-startup and shutdown quantity information.
  3. 3. The method according to claim 2, wherein the distribution information includes the number of the sharing devices of each sharing device distribution point, and the step of determining the on-off number information of the sharing devices according to the distribution information, the pre-on-off number information, and the total number of uses includes: Calculating the number of pre-standby according to the working state of the sharing equipment; and determining the on-off number information of the sharing equipment according to a preset period duration, a preset time period duration, the preset standby number, the total use times, the number of the sharing equipment and a preset single use duration of the sharing equipment.
  4. 4. The method of claim 3, wherein the step of determining the on-off number information of the sharing device according to a preset cycle duration, a preset period duration, the number of pre-standby, the total number of uses, the number of sharing devices, and a preset single use duration of the sharing device comprises: Calculating a target standby number according to a standby number formula according to a preset period duration, a preset time period duration, the total use times and a preset single use duration of the sharing equipment; if the target standby number is equal to the pre-standby number, the pre-startup and shutdown number information is used as startup and shutdown number information; if the target standby number is not equal to the pre-standby number, determining a shutdown state and a standby state of the sharing device according to the use times and the number of the sharing device, and taking the shutdown state and the standby state of the sharing device as startup and shutdown number information.
  5. 5. The method of claim 4, wherein the step of determining the off state and the standby state of the sharing device according to the number of uses and the number of sharing devices comprises: taking the absolute value of the difference between the target standby number and the pre-standby number as a standby number difference, and setting the pre-shutdown state of the sharing equipment of the standby number difference as a standby state according to the use times and the number of the sharing equipment; And setting the pre-shutdown state and the pre-standby state of the sharing equipment to be shutdown state and standby state.
  6. 6. The method according to claim 1, wherein the method further comprises: if a reservation request of using equipment sent by a client is received, returning the position information, the name and the working state of each time period of the sharing equipment to the client according to the reservation request of using equipment; And if the selection information sent by the client is received, determining the reserved sharing equipment according to the selection information.
  7. 7. A control apparatus for a shared device, comprising: An obtaining unit, configured to obtain distribution information and usage information of a last usage period of a sharing device, where the usage period includes a plurality of time periods; The judging unit is used for judging whether the next use period meets a preset time condition according to the time corresponding to the last use period, wherein the preset time condition is that the time corresponding to the last use period is the last day of rest days; The first control unit is used for controlling all the sharing devices in the distribution points of the sharing devices to be started in the next using period if the next using period meets the preset time condition; The second control unit is used for determining the switching-on and switching-off quantity information of the sharing equipment in the next use period through a switching prediction method according to the use information and the distribution information if the next use period does not meet the preset time condition, and controlling the switching-on and switching-off quantity of the sharing equipment at the distribution points of the sharing equipment according to the switching-on and switching-off quantity information at the starting moment of each time period of the next use period; Wherein the usage information includes a total number of uses of all the sharing devices and a number of uses of the sharing devices for each of the time periods, and the second control unit includes: an obtaining subunit, configured to obtain preset usage times of the sharing device in each time period; a first determining unit, configured to determine, for each of the time periods in the next usage period, pre-startup and shutdown number information of the sharing device according to the preset usage number and the usage number; and the second determining unit is used for determining the on-off number information of the sharing equipment according to the distribution information, the pre-on-off number information and the total use times.
  8. 8. A computer device, characterized in that it comprises a memory on which a computer program is stored and a processor which, when executing the computer program, implements the method according to any of claims 1-6.
  9. 9. A computer readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any of claims 1-6.

Description

Control method and device of sharing device, computer device and storage medium Technical Field The embodiment of the invention relates to the technical field of sharing equipment, in particular to a control method and device of sharing equipment, computer equipment and a storage medium. Background The sharing device, such as a sharing washing machine, a sharing fresh air machine and the like, is generally installed in buildings of collectible places such as schools, factory bases and the like, and meets the convenience of human life on the basis of providing users with the sharing device. But has the following problems: In the building provided with the sharing equipment, the sharing equipment is generally always in a starting-up state and waits for users to use, and the users use the sharing equipment and have the characteristic of centralized use in a certain time period, so that the equipment is insufficient in a certain period of time, and the equipment is idle in other time periods, thereby causing the problem that the utilization rate of the sharing equipment is lower, and meanwhile, because the sharing equipment in the standby state consumes power as well, extra cost is generated in the idle state, and energy waste is caused. Disclosure of Invention The embodiment of the invention provides a control method and device of sharing equipment, computer equipment and a storage medium, and aims to solve the problems of low utilization rate and energy waste of the existing sharing equipment. In a first aspect, an embodiment of the present invention provides a method for controlling a sharing device, including: Acquiring distribution information and use information of a sharing device in a last use period, wherein the use period comprises a plurality of time periods; judging whether the next use period meets a preset time condition according to the time corresponding to the last use period; If the next use period meets the preset time condition, controlling all the sharing devices in the distribution points of the sharing devices to start up in the next use period; And if the next use period does not meet the preset time condition, determining the switching-on/off quantity information of the sharing equipment in the next use period by a switching prediction method according to the use information and the distribution information, and controlling the switching-on/off quantity of the sharing equipment at the distribution points of the sharing equipment according to the switching-on/off quantity information at the starting time of each time period of the next use period. In a second aspect, an embodiment of the present invention further provides a control apparatus for a sharing device, including: An obtaining unit, configured to obtain distribution information and usage information of a last usage period of a sharing device, where the usage period includes a plurality of time periods; the judging unit is used for judging whether the next using period meets a preset time condition according to the time corresponding to the last using period; The first control unit is used for controlling all the sharing devices in the distribution points of the sharing devices to be started in the next using period if the next using period meets the preset time condition; and the second control unit is used for determining the switching-on and switching-off quantity information of the sharing equipment in the next use period through a switching prediction method according to the use information and the distribution information if the next use period does not meet the preset time condition, and controlling the switching-on and switching-off quantity of the sharing equipment at the distribution point of each sharing equipment according to the switching-on and switching-off quantity information at the starting moment of each time period of the next use period. In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program. In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the above method. The embodiment of the invention provides a control method and device of sharing equipment, computer equipment and a storage medium. The method comprises the steps of obtaining distribution information and use information of sharing equipment in a last use period, judging whether the next use period meets a preset time condition according to time corresponding to the last use period, controlling all sharing equipment in distribution points of the sharing equipment to be started in the next use period if the next use period meets the preset time condition, determining the on-off quantity information of the sharing equipment in the