Control method and device for shared equipment and shared service platform

Through machine learning, predicting the number of shared devices on the power supply, the problem of low shared devices resulting in high energy consumption is solved, and the equipment utilization rate and energy savings are improved.

CN114331622BActive Publication Date: 2025-08-08GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111649973.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2025-08-08
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

The low usage rate of shared equipment under power-on state leads to high energy consumption, resulting in waste of energy and is not in line with modern environmental protection concepts.

Method used

By obtaining device distribution and usage information, the shared device switch prediction model trained by machine learning predicts the number of power on the next usage cycle, and controls the number of power on the device at the beginning of each time period to reduce the standby time.

Benefits of technology

Effectively reduce the standby time of shared equipment, save energy consumption, improve equipment utilization, and conform to modern environmental protection concepts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114331622B_ABST
    Figure CN114331622B_ABST
Patent Text Reader

Abstract

The present application provides a method, apparatus, and shared service platform for controlling shared devices. The method comprises: obtaining device distribution information and device usage information for the current usage cycle, obtaining the current device distribution information and current device usage information, wherein the device distribution information includes the number of shared devices at each shared device distribution point, and the device usage information includes the usage time and number of times the shared devices are used; inputting the current device distribution information and current device usage information into a shared device on / off prediction model to predict the number of shared devices powered on in the next usage cycle; and, at the start of each time period in the next usage cycle, controlling the number of shared devices powered on at each shared device distribution point based on the powered-on number information. This method solves the problem in the prior art of low device utilization in the powered-on state of shared devices, which leads to high energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of shared devices, and in particular to a control method, apparatus, computer-readable storage medium, processor, and shared service platform for shared devices. Background Art

[0002] Buildings with shared functions, such as shared washing machines and shared fresh air fans, are generally installed in gathering places such as schools and factory bases. They meet the convenience of human life while providing users with equipment. For example, a shared washing machine in a school. However, there are the following problems:

[0003] In buildings with shared devices, these devices are typically always powered on, awaiting user access. However, the aforementioned group-use devices are typically concentrated within specific timeframes, resulting in insufficient equipment during these periods and idle equipment during other periods. This leads to long periods of unused equipment and low utilization of shared devices. It has been observed that devices in standby mode also consume more power, incurring additional costs when idle, resulting in energy waste in the building and not meeting modern environmental standards.

[0004] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country to those skilled in the art. Summary of the Invention

[0005] The main purpose of this application is to provide a control method, device, computer-readable storage medium, processor and sharing service platform for a shared device to solve the problem in the prior art of low device utilization and high energy consumption caused by the on-state shared device.

[0006] According to one aspect of an embodiment of the present invention, a method for controlling a shared device is provided, comprising: obtaining device distribution information of a current usage cycle and device usage information of the current usage cycle to obtain current device distribution information and current device usage information, wherein the device distribution information includes the number of shared devices at each shared device distribution point, and the device usage information includes the usage time and number of times the shared devices are used; inputting the current device distribution information and the current device usage information into a shared device on / off prediction model to predict information about the number of shared devices powered on in the next usage cycle, wherein the usage cycle includes multiple time periods, and the powered-on number information includes the number of shared devices powered on in each time period at each shared device distribution point, wherein the shared device on / off prediction model is obtained by machine learning training using a training data set, wherein each set of training data in the training data set includes: device distribution information of a previous usage cycle of a historical usage cycle, device usage information of the previous usage cycle of the historical usage cycle, and the number of shared devices powered on in each time period within the historical usage cycle; and at the start of each time period of the next usage cycle, controlling the number of shared devices powered on at each shared device distribution point according to the powered-on number information.

[0007] Optionally, at the beginning of each time period of the next usage cycle, after controlling the powered-on number of the shared devices at each shared device distribution point according to the powered-on number information, the method further includes: determining a target shared device, the target shared device being the shared device selected by the user; obtaining the working status of the target shared device, and returning a reservation instruction to the client based on the working status, the reservation instruction including a reservation instruction and a non-reservation instruction; receiving a usage instruction sent by the client, the usage instruction including a first usage instruction and a second usage instruction, the first usage instruction being an instruction for reserving the use of the target shared device, and the second usage instruction being an instruction for turning on the target shared device; returning reservation result information to the client based on the usage instruction, the reservation result information including reservation success information and reservation failure information.

[0008] Optionally, determining the target shared device includes: receiving a device usage reservation request sent by the client; returning the names and location information of all the shared devices in response to the device usage reservation request; receiving selection information and determining the target shared device based on the selection information, the selection information being generated by a selection operation based on the names and location information of all the shared devices, and the target name being the name of the shared device selected by the user.

[0009] Optionally, a reservation instruction is returned to the client according to the working status, including: when the working status of the target shared device is the powered-on and used status, the usage waiting time and the non-reservable instruction are returned; the powered-on and used status is that the target shared device is powered-on and in use, and the usage waiting time is the waiting time required to use the target shared device; when the working status of the target shared device is the powered-on and unused status or the powered-off status, the reservation instruction is returned.

[0010] Optionally, receiving the usage instruction of the client includes: sending startup fee information to the client when the working state of the target shared device is the shutdown state; receiving the second usage instruction, which is an instruction generated by the client based on paying the startup fee.

[0011] Optionally, the reservation result information is returned to the client according to the usage instruction, including: when the first usage instruction or the second usage instruction is received, the reservation success information and service fee are returned to the client, and the service fee is the fee for using the shared device; when the first usage instruction and the second usage instruction are not received within the first scheduled time, the reservation failure information is returned to the client.

[0012] Optionally, after the target shared device is used, the method further includes: within the same time period, if the working state of the target shared device before the reservation is the shutdown state and the target shared device after use is in the powered-on and unused state for a second predetermined time, controlling the target shared device to shut down.

[0013] According to another aspect of an embodiment of the present invention, a control device for a shared device is provided, comprising: an acquisition unit, configured to acquire device distribution information of a current usage cycle and device usage information of the current usage cycle, to obtain current device distribution information and current device usage information, wherein the device distribution information includes the number of shared devices at each shared device distribution point, and the device usage information includes the usage time and number of times the shared devices are used; a prediction unit, configured to input the current device distribution information and the current device usage information into a shared device on / off prediction model, to predict the number of devices powered on in the next usage cycle, wherein the usage cycle includes multiple time periods, the power-on number information includes the number of devices powered on in each time period at each shared device distribution point, and the shared device on / off prediction model is trained by machine learning using a training data set, wherein each set of training data in the training data set includes: device distribution information of a previous usage cycle of a historical usage cycle, device usage information of the previous usage cycle of the historical usage cycle, and the number of devices powered on in each time period within the historical usage cycle; and a first control unit, configured to control the number of shared devices powered on at each shared device distribution point at the start of each time period of the next usage cycle according to the power-on number information.

[0014] According to yet another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the methods described above.

[0015] According to yet another aspect of an embodiment of the present invention, a processor is provided, wherein the processor is configured to run a program, wherein any one of the methods is executed when the program is run.

[0016] According to another aspect of an embodiment of the present invention, a shared service platform is also provided, comprising: a shared device, a server and one or more processors, a memory, a display device and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the methods described.

[0017] In an embodiment of the present invention, in the above-mentioned shared device control method, first, device distribution information of a current usage cycle and device usage information of the current usage cycle are obtained to obtain current device distribution information and current device usage information, wherein the device distribution information includes the number of shared devices at each shared device distribution point, and the device usage information includes the usage time and number of times the shared devices are used; then, the current device distribution information and the current device usage information are input into a shared device on / off prediction model to predict the number of shared devices turned on in the next usage cycle, wherein the usage cycle includes multiple time periods, and the turned-on number information includes the number of shared devices turned on in each time period at each shared device distribution point; the shared device on / off prediction model is obtained by machine learning training using a training data set, wherein each set of training data in the training data set includes: device distribution information of a previous usage cycle of a historical usage cycle, device usage information of the previous usage cycle of the historical usage cycle, and the number of shared devices turned on in each time period within the historical usage cycle; finally, at the start of each time period of the next usage cycle, the number of shared devices turned on at each shared device distribution point is controlled according to the turned-on number information. In this method, the shared device switch prediction model predicts the power-on quantity information of the next above-mentioned usage cycle based on the current device distribution information and the current device usage information, so that at the beginning of each of the above-mentioned time periods of the next above-mentioned usage cycle, the power-on quantity of the above-mentioned shared devices at each shared device distribution point is controlled according to the prediction results, thereby reducing the time that the shared devices are in the standby state, saving energy consumption, and solving the problem of low device utilization rate in the power-on state of shared devices in the prior art leading to high energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings that constitute part of this application are used to provide a further understanding of this application. The illustrative embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation on this application. In the drawings:

[0019] Figure 1 A flow chart showing a method for controlling a shared device according to an embodiment of the present application is shown;

[0020] Figure 2 A schematic diagram showing a communication connection between a shared device and a client according to an embodiment of the present application is shown;

[0021] Figure 3 A schematic diagram showing a control device for a shared device according to an embodiment of the present application is shown;

[0022] Figure 4 A flowchart of shared device reservation according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0023] It should be noted that the following detailed descriptions are illustrative and intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present application belongs.

[0024] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof.

[0025] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element or intervening elements may be present. Moreover, in the specification and claims, when it is described that an element is "connected to" another element, the element may be "directly connected to" the other element or "connected to" the other element through a third element.

[0026] As mentioned in the background technology, in the prior art, the utilization rate of shared devices in the powered-on state is low, resulting in high energy consumption. In order to solve the above problem, a typical embodiment of the present application provides a control method, device, computer-readable storage medium, processor and shared service platform for shared devices.

[0027] According to an embodiment of the present application, a method for controlling a shared device is provided.

[0028] Figure 1 FIG. 1 is a flow chart of a method for controlling a shared device according to an embodiment of the present application. Figure 1 As shown, the method includes the following steps:

[0029] Step S101, obtaining device distribution information of a current usage period and device usage information of the current usage period, to obtain current device distribution information and current device usage information, wherein the device distribution information includes the number of the shared devices at each shared device distribution point, and the device usage information includes the usage time and number of times of the shared devices;

[0030] Step S102: Input the current device distribution information and the current device usage information into a shared device power-on prediction model to predict the number of shared devices powered on in the next usage cycle. The usage cycle includes multiple time periods, and the power-on number information includes the number of devices powered on in each time period at each shared device distribution point. The shared device power-on prediction model is trained by machine learning using a training data set. Each set of training data in the training data set includes: device distribution information for the previous usage cycle of a historical usage cycle, device usage information for the previous usage cycle of the historical usage cycle, and the number of devices powered on in each time period within the historical usage cycle.

[0031] Step S103 , at the start time of each of the time periods of the next usage cycle, controlling the powered-on quantity of the shared devices at each of the shared device distribution points according to the powered-on quantity information.

[0032] In the above-mentioned shared device control method, first, the device distribution information of the current usage cycle and the device usage information of the current usage cycle are obtained to obtain the current device distribution information and the current device usage information, wherein the device distribution information includes the number of the shared devices at each shared device distribution point, and the device usage information includes the usage time and the number of times the shared devices are used; then, the current device distribution information and the current device usage information are input into the shared device switch prediction model to predict the number of the shared devices turned on in the next usage cycle, wherein the usage cycle includes multiple time periods, and the power-on number information includes the power-on number of each shared device distribution point in each time period, and the shared device switch prediction model is obtained by machine learning training using a training data set, and each set of training data in the training data set includes: the device distribution information of the previous usage cycle of the historical usage cycle, the device usage information of the previous usage cycle of the historical usage cycle, and the power-on number in each time period within the historical usage cycle; finally, at the beginning of each time period of the next usage cycle, the power-on number of the shared devices at each shared device distribution point is controlled according to the power-on number information. In this method, the shared device switch prediction model predicts the power-on quantity information of the next above-mentioned usage cycle based on the current device distribution information and the current device usage information, so that at the beginning of each of the above-mentioned time periods of the next above-mentioned usage cycle, the power-on quantity of the above-mentioned shared devices at each shared device distribution point is controlled according to the prediction results, thereby reducing the time that the shared devices are in the standby state, saving energy consumption, and solving the problem of low device utilization rate in the power-on state of shared devices in the prior art leading to high energy consumption.

[0033] It should be noted that if Figure 2As shown, the control method of the above-mentioned shared equipment can be applied to a building that includes a server and has a sharing function, wherein the building is provided with shared equipment points and mobile terminals at different locations on different floors according to the actual distribution of personnel. Among them, the mobile terminal can be a mobile phone APP, a web page, a small program, etc., which is used by users to make reservations for shared equipment and to power on currently shut down equipment. The server interacts with the mobile terminal and the building equipment. When the user issues a command on the mobile terminal, the server can respond in a timely manner and can control various operations of the shared equipment. At the same time, it will also control the power on and off status of all the equipment in the building at different times to ensure the utilization rate of the building equipment and reduce the standby time of the equipment. The utilization rate here refers to the utilization rate of the equipment in the power-on state.

[0034] It should also be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in an order different from that shown here.

[0035] In one embodiment of the present application, at the start of each of the above-mentioned time periods of the next above-mentioned usage cycle, after controlling the number of the above-mentioned shared devices at each of the above-mentioned shared device distribution points to be powered on according to the above-mentioned power-on number information, the above-mentioned method further includes: determining a target shared device, the above-mentioned target shared device being the above-mentioned shared device selected by the user; obtaining the working status of the above-mentioned target shared device, and returning a reservation instruction to the above-mentioned client according to the above-mentioned working status, the above-mentioned reservation instruction including a reservation instruction and a non-reservation instruction; receiving a usage instruction sent by the above-mentioned client, the above-mentioned usage instruction including a first usage instruction and a second usage instruction, the above-mentioned first usage instruction being an instruction for reserving the use of the above-mentioned target shared device, and the above-mentioned second usage instruction being an instruction for turning on the above-mentioned target shared device; returning reservation result information to the above-mentioned client according to the above-mentioned usage instruction, the above-mentioned reservation result information including reservation success information and reservation failure information. Specifically, the server determines whether a reservation can be made based on the working status of the target shared device and generates a reservation instruction for the client to select, and the client generates a usage instruction based on the selection result and sends it to the server, and the server returns the reservation result information to the above-mentioned client to complete the reservation process.

[0036] In one embodiment of the present application, determining a target shared device includes: receiving a device reservation request sent by the client; returning the names and location information of all the shared devices in response to the device reservation request; receiving selection information and determining the target shared device based on the selection information, wherein the selection information is generated based on a selection operation performed on the names and location information of all the shared devices, and the target name is the name of the shared device selected by the user. Specifically, the user selects a device based on the shared device location information and the user's own location, and the target shared device is determined by returning the name of the selected device.

[0037] In one embodiment of the present application, a reservation instruction is returned to the client according to the above working status, including: when the working status of the above target shared device is the powered-on and used status, the usage waiting time and the above non-reservation instruction are returned, the above powered-on and used status means that the above target shared device is powered-on and in use, and the above usage waiting time is the waiting time required to use the above target shared device; when the working status of the above target shared device is powered-on and not in use or powered-off, the above reservation instruction is returned. Specifically, if the above target shared device is powered-on and in use, reservation cannot be made, that is, the usage waiting time and the above non-reservation instruction are returned, and the user can wait for the corresponding time before making a reservation, or change a shared device to make a reservation. If the working status of the above target shared device is powered-on and not in use or powered-off, reservation can be made, and the above reservation instruction is returned.

[0038] In one embodiment of the present application, receiving the usage instruction from the client includes: when the target shared device is in a powered-off state, sending startup fee information to the client; and receiving the second usage instruction, where the second usage instruction is generated by the client based on payment of the startup fee. Specifically, the server returns a message indicating that a startup fee is required for startup, the user confirms that the device is powered on and the payment is successful, and then generates and sends the second usage instruction to the server, thereby guiding the user to use the powered-on shared device through the startup fee, thereby increasing the utilization rate of the powered-on device.

[0039] In one embodiment of the present application, the method of returning the reservation result information to the client according to the above-mentioned usage instruction includes: upon receiving the above-mentioned first usage instruction or the above-mentioned second usage instruction, returning the above-mentioned reservation success information and service fee to the above-mentioned client, wherein the above-mentioned service fee is the fee for using the above-mentioned shared device; and upon not receiving the above-mentioned first usage instruction or the above-mentioned second usage instruction within the first predetermined time, returning the above-mentioned reservation failure information to the above-mentioned client. Specifically, upon receiving the above-mentioned first usage instruction or the above-mentioned second usage instruction, the reservation is successful, the server returns the reservation success information and the service fee that needs to be paid for using the device, and reserves a certain length of time for the user to go to the device point.

[0040] In one embodiment of the present application, after the target shared device is used, the method further includes: controlling the target shared device to shut down if, within the same time period, the target shared device is in a powered-off state before the reservation and remains powered-on and unused for a second predetermined time after use. Specifically, if the process from before the reservation to the second predetermined time after the use of the target shared device is within the same time period, after a user completes a single use of the device, the server reserves a certain amount of time and then shuts down the device, thereby saving energy.

[0041] The present application also provides a control device for a shared device. It should be noted that the control device for a shared device in the present application can be used to execute the control method for a shared device provided in the present application. The following describes the control device for a shared device provided in the present application.

[0042] Figure 3 Schematic diagram of a control device for a shared device according to an embodiment of the present application. Figure 3 As shown, the device includes:

[0043] An acquiring unit 10 is configured to acquire device distribution information of a current usage period and device usage information of the current usage period, to obtain current device distribution information and current device usage information, wherein the device distribution information includes the number of shared devices at each shared device distribution point, and the device usage information includes the usage time and number of times of the shared devices;

[0044] The prediction unit 20 is configured to input the current device distribution information and the current device usage information into a shared device on / off prediction model to predict the number of devices powered on in the next usage cycle, where the usage cycle includes multiple time periods, and the power-on number information includes the number of devices powered on in each time period at each shared device distribution point. The shared device on / off prediction model is trained by machine learning using a training data set, where each set of training data in the training data set includes: device distribution information for a previous usage cycle of a historical usage cycle, device usage information for the previous usage cycle of the historical usage cycle, and the number of devices powered on in each time period within the historical usage cycle.

[0045] The first control unit 30 is configured to control the powered-on quantity of the shared devices at each shared device distribution point according to the powered-on quantity information at the start of each time period of the next usage cycle.

[0046] In the control device of the above-mentioned shared device, the acquisition unit acquires the device distribution information of the current usage cycle and the device usage information of the current usage cycle to obtain the current device distribution information and the current device usage information, wherein the above-mentioned device distribution information includes the number of the above-mentioned shared devices at each shared device distribution point, and the above-mentioned device usage information includes the usage time and the number of times the above-mentioned shared devices are used; the prediction unit inputs the above-mentioned current device distribution information and the above-mentioned current device usage information into the shared device switch prediction model to predict the number of the above-mentioned shared devices turned on in the next usage cycle, wherein the above-mentioned usage cycle includes multiple time periods, and the above-mentioned power-on number information includes the number of the above-mentioned shared devices turned on in each of the above-mentioned time periods at each of the above-mentioned shared device distribution points. The above-mentioned shared device switch prediction model is obtained by machine learning training using a training data set, and each set of training data in the above-mentioned training data set includes: the device distribution information of the previous usage cycle of the historical usage cycle, the device usage information of the previous usage cycle of the above-mentioned historical usage cycle, and the number of the above-mentioned shared devices turned on in each time period within the above-mentioned historical usage cycle; the control unit controls the number of the above-mentioned shared devices turned on at each of the above-mentioned shared device distribution points according to the above-mentioned power-on number information at the start time of each of the above-mentioned time periods in the next usage cycle. In this device, the shared device switch prediction model predicts the power-on quantity information of the next above-mentioned usage cycle based on the current device distribution information and the current device usage information, so that at the beginning of each of the above-mentioned time periods of the next above-mentioned usage cycle, the power-on quantity of the above-mentioned shared devices at each shared device distribution point is controlled according to the prediction results, thereby reducing the time that the shared devices are in the standby state, saving energy consumption, and solving the problem of low device utilization rate of shared devices in the power-on state leading to high energy consumption in the prior art.

[0047] In one embodiment of the present application, the apparatus further comprises a reservation unit, comprising a determination module, an acquisition module, a receiving module, and a sending module. The determination module is configured to, at the start of each time period of the next usage cycle, control the number of shared devices at each shared device distribution point based on the startup number information, and then determine a target shared device, wherein the target shared device is the shared device selected by the user. The acquisition module is configured to obtain the operating status of the target shared device and return a reservation instruction to the client based on the operating status. The reservation instruction includes a reservation-enable instruction and a non-reservable instruction. The receiving module is configured to receive a usage instruction sent by the client. The usage instruction includes a first usage instruction and a second usage instruction. The first usage instruction is an instruction for reserving the use of the target shared device, and the second usage instruction is an instruction for turning on the target shared device. The sending module is configured to return a reservation result message to the client based on the usage instruction. The reservation result message includes a reservation success message and a reservation failure message. Specifically, the server determines whether a reservation can be made based on the operating status of the target shared device and generates a reservation instruction for the client to select. The client generates a usage instruction based on the selection result and sends it to the server. The server returns the reservation result message to the client, completing the reservation process.

[0048] In one embodiment of the present application, the determination module includes a first receiving submodule, a first sending submodule, and a second receiving submodule, wherein the first receiving submodule is used to receive a device reservation request sent by the client; the first sending submodule is used to return the names and location information of all the shared devices in response to the device reservation request; the second receiving submodule is used to receive selection information and determine the target shared device based on the selection information, wherein the selection information is generated based on a selection operation performed on the names and location information of all the shared devices, and the target name is the name of the shared device selected by the user. Specifically, the user selects a device based on the shared device location information and the user's own location, and the target shared device can be determined by returning the name of the selected device.

[0049] In one embodiment of the present application, the acquisition module includes a second sending submodule and a third sending submodule, wherein the second sending submodule is used to return the usage waiting time and the non-reservation instruction when the working status of the target shared device is the powered-on and used status, the powered-on and used status being that the target shared device is powered-on and in use, and the usage waiting time is the waiting time required to use the target shared device; the third sending submodule is used to return the reservation instruction when the working status of the target shared device is the powered-on and unused status or the powered-off status. Specifically, if the target shared device is powered-on and in use, it cannot be reserved, that is, the usage waiting time and the non-reservation instruction are returned, and the user can wait for the corresponding time before making a reservation, or change to another shared device for reservation. If the working status of the target shared device is the powered-on and unused status or the powered-off status, it can be reserved, and the reservation instruction is returned.

[0050] In one embodiment of the present application, the receiving module includes a fourth sending submodule and a third receiving submodule, wherein the fourth sending submodule is used to send the startup fee information to the client when the working state of the target shared device is the shutdown state; the third receiving submodule is used to receive the second usage instruction, which is an instruction generated by the client based on the payment of the startup fee. Specifically, the server returns that the startup fee must be paid for startup, the user confirms that the device is turned on and the payment is successful, and a second usage instruction is generated and sent to the server. The startup fee is used to guide the user to use the shared device that is turned on, thereby improving the utilization rate of the device in the powered-on state.

[0051] In one embodiment of the present application, the sending module includes a fifth sending submodule and a sixth sending submodule, wherein the fifth sending submodule is used to return the reservation success information and the service fee to the client upon receiving the first use instruction or the second use instruction, wherein the service fee is the fee for using the shared device; and the sixth sending submodule is used to return the reservation failure information to the client upon not receiving the first use instruction or the second use instruction within the first predetermined time. Specifically, upon receiving the first use instruction or the second use instruction, the reservation is successful, the server returns the reservation success information and the service fee that needs to be paid for using the device, and reserves a certain time for the user to go to the device point.

[0052] In one embodiment of the present application, the apparatus further includes a second control unit configured to control the target shared device to shut down after the target shared device is used, if, within the same time period, the target shared device was in a shutdown state before the reservation and remains powered on and unused for a second predetermined time after use. Specifically, the process from before the reservation to the second predetermined time after the reservation of the target shared device is within the same time period, and after a user completes a single use of the device, the server reserves a certain amount of time and then shuts down the device, thereby saving energy.

[0053] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the technical solution and technical effects of the present application will be explained below with reference to specific embodiments.

[0054] Example

[0055] like Figure 4 As shown, the reservation process for shared devices includes the following steps:

[0056] Step 1: The user sends a device reservation request using a mobile terminal;

[0057] Step 2: The server returns all devices and their location information;

[0058] Step 3: The user selects a device based on their location;

[0059] Step 4: Determine whether the device is currently powered on. If so, proceed to step 5; otherwise, proceed to step 11.

[0060] Step 5: Determine whether the device is in use. If so, proceed to step 6; otherwise, proceed to step 8.

[0061] Step 6: The server returns the instruction in use and the time required to complete the current device use;

[0062] Step 7: Return to step 3;

[0063] Step 8: The server returns a single charge of f yuan for using the device;

[0064] Step 9: The user confirms whether to make an appointment on the mobile terminal. If yes, proceed to step 10; otherwise, the process ends.

[0065] Step 10: The server reserves y time, and the user goes to the device to use it, and the process ends;

[0066] Step 11: The user sends a command to use the device on the mobile terminal;

[0067] Step 12: The server needs to be restarted and a startup fee of x yuan needs to be paid;

[0068] Step 13: The user confirms to turn on the device. If yes, proceed to step 14; otherwise, return to step 3.

[0069] Step 14: Check if the user's payment is successful. If so, proceed to step 15; otherwise, return to step 3.

[0070] Step 15: If the reservation is successful, the server will notify you that you still need to pay f yuan to use the device. At the same time, a time limit of y is reserved. The user goes to the device location. After the user completes their single use of the device, the server reserves z time and then shuts down the device, ending the process. During the same time period, only for a device that was originally powered off but the user paid x to power it on, the server reserves z time and then shuts down the device, ending the process.

[0071] The control device of the above-mentioned shared device includes a processor and a memory. The above-mentioned acquisition unit, prediction unit and first control unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0072] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and kernel parameters can be adjusted to solve the problem of low device utilization and high energy consumption in the shared device power-on state in the prior art.

[0073] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0074] An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon, which implements the above method when executed by a processor.

[0075] An embodiment of the present invention provides a processor, which is used to run a program, wherein the method is executed when the program is run.

[0076] An embodiment of the present application also provides a shared service platform, comprising: a shared device, a server and one or more processors, a memory, a display device and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the above methods.

[0077] The above-mentioned shared service platform includes shared devices, servers, one or more processors, memory, display devices, and one or more programs, wherein the one or more programs are stored in the above-mentioned memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing any of the above-mentioned methods. In this method, the shared device switch prediction model predicts the number of devices powered on in the next usage cycle based on the current device distribution information and the current device usage information, so that at the beginning of each time period of the next usage cycle, the number of shared devices powered on at each shared device distribution point is controlled according to the prediction results, thereby reducing the time that the shared devices are in the standby state, saving energy consumption, and solving the problem of low device utilization rate in the powered-on state of shared devices in the prior art, resulting in high energy consumption.

[0078] An embodiment of the present invention provides a device, comprising a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least the following steps are performed:

[0079] Step S101, obtaining device distribution information of a current usage period and device usage information of the current usage period, to obtain current device distribution information and current device usage information, wherein the device distribution information includes the number of the shared devices at each shared device distribution point, and the device usage information includes the usage time and number of times of the shared devices;

[0080] Step S102: Input the current device distribution information and the current device usage information into a shared device power-on prediction model to predict the number of shared devices powered on in the next usage cycle. The usage cycle includes multiple time periods, and the power-on number information includes the number of devices powered on in each time period at each shared device distribution point. The shared device power-on prediction model is trained by machine learning using a training data set. Each set of training data in the training data set includes: device distribution information for the previous usage cycle of a historical usage cycle, device usage information for the previous usage cycle of the historical usage cycle, and the number of devices powered on in each time period within the historical usage cycle.

[0081] Step S103 , at the start time of each of the time periods of the next usage cycle, controlling the powered-on quantity of the shared devices at each of the shared device distribution points according to the powered-on quantity information.

[0082] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0083] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program for initializing at least the following method steps:

[0084] Step S101, obtaining device distribution information of a current usage period and device usage information of the current usage period, to obtain current device distribution information and current device usage information, wherein the device distribution information includes the number of the shared devices at each shared device distribution point, and the device usage information includes the usage time and number of times of the shared devices;

[0085] Step S102: Input the current device distribution information and the current device usage information into a shared device power-on prediction model to predict the number of shared devices powered on in the next usage cycle. The usage cycle includes multiple time periods, and the power-on number information includes the number of devices powered on in each time period at each shared device distribution point. The shared device power-on prediction model is trained by machine learning using a training data set. Each set of training data in the training data set includes: device distribution information for the previous usage cycle of a historical usage cycle, device usage information for the previous usage cycle of the historical usage cycle, and the number of devices powered on in each time period within the historical usage cycle.

[0086] Step S103 , at the start time of each of the time periods of the next usage cycle, controlling the powered-on quantity of the shared devices at each of the shared device distribution points according to the powered-on quantity information.

[0087] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0088] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the above-mentioned units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0089] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0090] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0091] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable computer-readable storage medium. Based on this understanding, the technical solution of the present invention, 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, which is stored in a computer-readable storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present invention. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0092] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0093] 1) In the control method of shared devices of the present application, first, the device distribution information of the current usage cycle and the device usage information of the current usage cycle are obtained to obtain the current device distribution information and the current device usage information, wherein the device distribution information includes the number of the shared devices at each shared device distribution point, and the device usage information includes the usage time and the number of times the shared devices are used; then, the current device distribution information and the current device usage information are input into a shared device switch prediction model to predict the number of the shared devices turned on in the next usage cycle, wherein the usage cycle includes multiple time periods, and the power-on number information includes the power-on number of each shared device distribution point in each time period, and the shared device switch prediction model is obtained by machine learning training using a training data set, and each set of training data in the training data set includes: the device distribution information of the previous usage cycle of the historical usage cycle, the device usage information of the previous usage cycle of the historical usage cycle, and the power-on number in each time period within the historical usage cycle; finally, at the beginning of each time period of the next usage cycle, the power-on number of the shared devices at each shared device distribution point is controlled according to the power-on number information. In this method, the shared device switch prediction model predicts the power-on quantity information of the next above-mentioned usage cycle based on the current device distribution information and the current device usage information, so that at the beginning of each of the above-mentioned time periods of the next above-mentioned usage cycle, the power-on quantity of the above-mentioned shared devices at each shared device distribution point is controlled according to the prediction results, thereby reducing the time that the shared devices are in the standby state, saving energy consumption, and solving the problem of low device utilization rate in the power-on state of shared devices in the prior art leading to high energy consumption.

[0094] 2) In the control device of the shared device of the present application, the acquisition unit acquires the device distribution information of the current usage cycle and the device usage information of the current usage cycle to obtain the current device distribution information and the current device usage information, wherein the device distribution information includes the number of the shared devices at each shared device distribution point, and the device usage information includes the usage time and the number of times the shared devices are used; the prediction unit inputs the current device distribution information and the current device usage information into the shared device switch prediction model to predict the number of the shared devices turned on in the next usage cycle, wherein the usage cycle includes multiple time periods, and the power-on number information includes the power-on number in each time period of each shared device distribution point. The shared device switch prediction model is obtained by machine learning training using a training data set, and each set of training data in the training data set includes: the device distribution information of the previous usage cycle of the historical usage cycle, the device usage information of the previous usage cycle of the historical usage cycle, and the power-on number in each time period within the historical usage cycle; the control unit controls the power-on number of the shared devices at each shared device distribution point according to the power-on number information at the start time of each time period of the next usage cycle. In this device, the shared device switch prediction model predicts the power-on quantity information of the next above-mentioned usage cycle based on the current device distribution information and the current device usage information, so that at the beginning of each of the above-mentioned time periods of the next above-mentioned usage cycle, the power-on quantity of the above-mentioned shared devices at each shared device distribution point is controlled according to the prediction results, thereby reducing the time that the shared devices are in the standby state, saving energy consumption, and solving the problem of low device utilization rate of shared devices in the power-on state leading to high energy consumption in the prior art.

[0095] 3) The shared service platform of the present application includes a shared device, a server and one or more processors, a memory, a display device and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any of the above methods. In this method, the shared device switch prediction model predicts the number of devices turned on in the next usage cycle based on the current device distribution information and the current device usage information, so that at the beginning of each time period of the next usage cycle, the number of shared devices turned on at each shared device distribution point is controlled according to the prediction results, thereby reducing the time that the shared device is in the standby state, saving energy consumption, and solving the problem of low device utilization rate in the power-on state of shared devices in the prior art leading to high energy consumption.

[0096] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

Claims

1. A method for controlling a shared device, characterized in that: include: Obtaining device distribution information of a current usage period and device usage information of the current usage period to obtain current device distribution information and current device usage information, wherein the device distribution information includes the number of shared devices at each shared device distribution point, and the device usage information includes the usage time and number of times of the shared devices; Inputting the current device distribution information and the current device usage information into a shared device on / off prediction model to predict the number of shared devices powered on in the next usage cycle, where the usage cycle includes multiple time periods, and the powered-on number information includes the number of devices powered on in each time period at each shared device distribution point. The shared device on / off prediction model is obtained by machine learning training using a training data set, where each set of training data in the training data set includes: device distribution information for a previous usage cycle of a historical usage cycle, device usage information for the previous usage cycle of the historical usage cycle, and the number of devices powered on in each time period within the historical usage cycle. At the start of each time period of the next usage cycle, controlling the powered-on quantity of the shared devices at each shared device distribution point according to the powered-on quantity information; Determine a target shared device, where the target shared device is the shared device selected by the user; Obtaining the working status of the target shared device, and returning a reservation instruction to the client according to the working status, wherein the reservation instruction includes a reservation-enabled instruction and a non-reservation-enabled instruction; receiving a usage instruction sent by the client, the usage instruction including a first usage instruction and a second usage instruction, the first usage instruction being an instruction for reserving the use of the target shared device, and the second usage instruction being an instruction for turning on the target shared device; Returning reservation result information to the client according to the usage instruction, the reservation result information includes reservation success information and reservation failure information; After the target shared device is used, the method further includes: within the same time period, if the working state of the target shared device before the reservation is the shutdown state and the target shared device after use is in the powered-on and unused state for a second predetermined time, controlling the target shared device to shut down.

2. The method according to claim 1, characterized in that Identify target shared devices, including: Receiving a device usage reservation request sent by the client; In response to the device usage reservation request, returning the names and location information of all the shared devices; Receive selection information and determine the target shared device according to the selection information, where the selection information is generated by a selection operation based on the names and location information of all the shared devices.

3. The method according to claim 1, characterized in that Returning a reservation instruction to the client according to the working status includes: When the working state of the target shared device is the powered-on state, the waiting time for use and the non-reservation instruction are returned. The powered-on state means that the target shared device is powered on and in use, and the waiting time for use means the waiting time required for using the target shared device. When the working state of the target shared device is the powered-on but unused state or the powered-off state, the reservation instruction is returned.

4. The method according to claim 1, wherein Receiving a usage instruction from the client includes: When the working state of the target shared device is the shutdown state, sending startup fee information to the client; The second usage instruction is received, where the second usage instruction is an instruction generated by the client based on paying the startup fee.

5. The method according to claim 1, characterized in that Returning the reservation result information to the client according to the usage instruction includes: Upon receiving the first use instruction or the second use instruction, returning the reservation success information and service fee to the client, where the service fee is the fee for using the shared device; If the first usage instruction and the second usage instruction are not received within a first predetermined time, the reservation failure information is returned to the client.

6. A control device for a shared device, characterized in that: include: an acquiring unit, configured to acquire device distribution information of a current usage period and device usage information of the current usage period, to obtain current device distribution information and current device usage information, wherein the device distribution information includes the number of shared devices at each shared device distribution point, and the device usage information includes the usage time and number of times of the shared devices; a prediction unit, configured to input the current device distribution information and the current device usage information into a shared device on / off prediction model, and predict information on the number of devices powered on in the next usage cycle, wherein the usage cycle includes multiple time periods, and the power-on number information includes the number of devices powered on in each time period at each shared device distribution point, wherein the shared device on / off prediction model is trained by machine learning using a training data set, wherein each set of training data in the training data set includes: device distribution information for a previous usage cycle of a historical usage cycle, device usage information for the previous usage cycle of the historical usage cycle, and the number of devices powered on in each time period within the historical usage cycle; a first control unit, configured to control the powered-on quantity of the shared devices at each shared device distribution point according to the powered-on quantity information at the start of each time period of the next usage cycle; The apparatus further includes a reservation unit, comprising a determination module, an acquisition module, a receiving module, and a sending module. The determination module is configured to, at the start of each time period of the next usage cycle, control the number of shared devices at each shared device distribution point that are powered on based on the powered-on number information, and then determine a target shared device, the target shared device being the shared device selected by the user. The acquisition module is configured to acquire the operating status of the target shared device and return a reservation instruction to the client based on the operating status, the reservation instruction including a reservation-enable instruction and a reservation-unable instruction. The receiving module is configured to receive a usage instruction sent by the client, the usage instruction including a first usage instruction and a second usage instruction, the first usage instruction being an instruction for reserving the use of the target shared device and a second usage instruction being an instruction for powering on the target shared device. The sending module is configured to return reservation result information to the client based on the usage instructions, the reservation result information including a reservation success message and a reservation failure message. The apparatus further includes a second control unit configured to, after the target shared device is used, control the target shared device to shut down if, within the same time period, the operating status of the target shared device before the reservation was off and the target shared device after use remains powered on and unused for a second predetermined time.

7. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 5.

8. A processor, characterized in that: The processor is configured to run a program, wherein the program executes the method according to any one of claims 1 to 5 when running.

9. A shared service platform, characterized in that: include: A shared device, a server and one or more processors, a memory, a display device and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 5.

Citation Information

Patent Citations

  • Reservation system and method of shared washing machines

    CN107845207A

  • Data processing method and device, electronic equipment and computer readable storage medium

    CN111832600A

  • Shared washing machine control method and device

    CN113408766A