Generator scheduling method and device, electronic equipment and storage medium

By obtaining the location information of the equipment and generators, determining the appropriate generator and calculating the arrival time, the problem of poor generator scheduling is solved and the power supply capacity of communication equipment during power outages is improved.

CN119134620APending Publication Date: 2024-12-13CHINA TOWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411176447.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The prior art is difficult to effectively schedule and optimize the operation of generators, which makes it difficult for communication equipment to supply power for a long time when the mains power is temporarily outage.

Method used

By obtaining the location information of the equipment and generator, determining the appropriate generator based on the distance, and obtaining the generator's departure time, calculating the arrival time, and sending a wake-up command to power the generator.

Benefits of technology

It improves the scheduling capability of the generator, ensures that communication equipment can obtain power generation support in a timely manner when the power outage is outage, and extends the power supply time during power outage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119134620A_ABST
    Figure CN119134620A_ABST
Patent Text Reader

Abstract

The invention discloses a generator scheduling method, belongs to the field of communication, and is used for improving the generator scheduling capability. The method comprises the following steps: acquiring a first position of first equipment and second positions of a plurality of first generators, wherein the first generators are dispatchable generators; determining a second generator from the plurality of first generators based on the distance between the first position and each second position, the second generator being a generator scheduled to the first device; obtaining the departure time of a second generator, and determining the arrival time of the second generator reaching the first position based on the departure time, the first position and a second position corresponding to the second generator; and when the arrival time is up, sending a wake-up instruction to the second generator to enable the second generator to generate power for the first device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communications, and specifically relates to a generator scheduling method, device, electronic equipment and storage medium. Background Art

[0002] In recent years, with the rapid development of communication business, communication equipment has spread all over the country. The stability of power grids in different places is not the same, and temporary or unexpected power outages often occur. Some communication equipment cannot be powered off for a long time due to the need to ensure communication. Although most communication equipment is equipped with batteries, it is still difficult to cope with long-term temporary power outages. At present, the power generation needs of equipment during power outages are mainly met by configuring multiple mobile generators in the region, but the mobile generators cannot be well dispatched.

[0003] Therefore, a method is needed to improve the dispatching capability of generators. Summary of the invention

[0004] The embodiment of the present application provides a generator scheduling method, which can improve the scheduling capability of the generator.

[0005] In a first aspect, an embodiment of the present application provides a generator scheduling method, the method comprising: obtaining a first position of a first device and a second position of multiple first generators, the first device being a device that requires generator scheduling, and the first generator being a scheduleable generator; determining a second generator from the multiple first generators based on the distance between the first position and each of the second positions, the second generator being a generator scheduled to the first device; obtaining the departure time of the second generator, and determining the arrival time of the second generator at the first position based on the departure time, the first position and the second position corresponding to the second generator, the departure time being sent by a contact terminal of a transporter of the second generator; and sending a wake-up command to the second generator at the arrival time so that the second generator generates electricity for the first device.

[0006] In a second aspect, an embodiment of the present application provides a generator scheduling device, which includes: a first acquisition module, used to acquire a first position of a first device and a second position of multiple first generators, the first device is a device that requires generator scheduling, and the first generator is a generator that can be scheduled; a first determination module, used to determine a second generator from the multiple first generators based on the distance between the first position and each of the second positions, the second generator being a generator scheduled to the first device; a second acquisition module, used to acquire the departure time of the second generator, and determine the arrival time of the second generator at the first position based on the departure time, the first position and the second position corresponding to the second generator, the departure time being sent by the contact terminal of the transporter of the second generator; a first sending module, used to send a wake-up command to the second generator at the arrival time, so that the second generator generates electricity for the first device.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In an embodiment of the present application, by obtaining the first position of a first device and the second positions of multiple first generators, the first device is a device that requires generator scheduling, and the first generator is a generator that can be scheduled; based on the distance between the first position and each of the second positions, a second generator is determined from the multiple first generators, and the second generator is a generator scheduled to the first device; the departure time of the second generator is obtained, and the arrival time of the second generator at the first position is determined based on the departure time, the first position and the second position corresponding to the second generator, and the departure time is sent by the contact terminal of the transporter of the second generator; at the arrival time, a wake-up command is sent to the second generator to enable the second generator to generate electricity for the first device, which can improve the scheduling capability of the generator. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 It is a flow chart of a generator scheduling method provided in an embodiment of the present application;

[0012] Figure 2 This is a schematic diagram of information interaction of a generator dispatching system provided in an embodiment of the present application;

[0013] Figure 3 is a flow chart of a second generator scheduling method provided in an embodiment of the present application;

[0014] Figure 4 is a flow chart of a third generator scheduling method provided in an embodiment of the present application;

[0015] Figure 5 It is a structural schematic diagram of a generator scheduling device provided in an embodiment of the present application;

[0016] Figure 6 It is a structural schematic diagram of a generator scheduling device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0018] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0019] The generator scheduling method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0020] Figure 1A generator scheduling method provided by an embodiment of the present invention is shown. The method can be executed by an electronic device, and the electronic device may include: a server and / or a terminal device, wherein the terminal device may be, for example, a vehicle-mounted terminal or a mobile phone terminal. In other words, the method can be executed by software or hardware installed in the generator scheduling device, and the method includes the following steps:

[0021] Step 102: Acquire a first position of a first device and a second position of a plurality of first generators;

[0022] The first device is a device that requires generator scheduling, and the first generator is a generator that can be scheduled.

[0023] The generator scheduling system obtains the first position of the first device and the second positions of multiple first generators, wherein the first device is a device that requires generator scheduling, such as a base station, a tower, etc., and the first generator is a generator that can be scheduled to the first device, such as a generator that can be used normally, a generator that is currently in an idle state, etc.

[0024] Specifically, before obtaining the first position of the first device, the generator scheduling system can also receive a generator stop signal, which is used to indicate that the first device is currently in a state where there is no generator supplying power. In other words, the generator scheduling system first receives the generator stop signal, and then determines based on the generator stop signal that the first device currently has no generator supplying power, that is, the first device needs to be scheduled as a generator.

[0025] More specifically, when obtaining the second position of the first generator, the generator scheduling system can directly obtain the second position of each first generator from a preset database, that is, the second position of each first generator is pre-stored in the database, and can also directly determine the current position of each first generator as the second position through the positioning system, that is, obtain the current position of each first generator through the GPS and / or Beidou navigation built into the first generator.

[0026] Step 104: determining a second generator from the plurality of first generators based on the distance between the first position and each of the second positions;

[0027] The second generator is a generator that is dispatched to the first device.

[0028] After determining the first position of the first device and the second positions of the plurality of first generators, the generator dispatching system determines the second generator from the plurality of first generators based on the distance between the first position and each second position, wherein the second generator is a generator determined to be dispatched to the first device, and the number of the second generators may be one or more. In other words, the generator dispatching system can determine the generator to be dispatched to the first device from the plurality of generators that can be dispatched to the first device according to the distance between each first generator and the first device.

[0029] Specifically, when determining the second generator from multiple first generators based on the distance between each first generator and the first device, the generator scheduling system can determine the straight-line distance between each first generator and the first device, and then determine a preset number of first generators with the shortest straight-line distance as the second generator. It can also determine the navigation distance between each first generator and the first device, and then determine a preset number of first generators with the shortest navigation distance as the second generator, wherein the straight-line distance is the straight-line distance between the first generator and the first device on the map, and the navigation distance is the distance required to navigate from the second position of the first generator to the first position of the first device, and the navigation distance can be determined according to the navigation APP.

[0030] More specifically, the generator scheduling system may include a first module installed in the cloud, which can not only obtain the first position of the first device and the second positions of multiple first generators from a preset database, but also determine the second generator from multiple first generators based on the distance between the first position and each second position.

[0031] Step 106: Acquire the departure time of the second generator, and determine the arrival time of the second generator at the first position based on the departure time, the first position, and the second position corresponding to the second generator;

[0032] The departure time is sent by a contact terminal of a transporter of the second generator.

[0033] After determining the second generator, the generator scheduling system obtains the departure time of the second generator, and determines the arrival time of the second generator when it is transported to the first location based on the departure time of the second generator, the second location of the second generator, and the first location of the first device, wherein the departure time of the second generator is sent by the contact terminal of the transporter of the second generator, that is, the first terminal. In other words, the generator scheduling system determines the arrival time of the second generator when it is transported to the location of the first device based on the departure time sent by the contact terminal of the transporter of the second generator, the location of the second generator, and the location of the first device.

[0034] Before the generator dispatching system receives the departure time of the second generator, the generator dispatching system may also send a query instruction to the contact terminal of the transporter of the second generator, and the query instruction is used to instruct the contact terminal to send the departure time of the second generator. After the contact terminal of the transporter of the second generator receives the query instruction, when it is determined that the transporter starts to transport the second generator (that is, the position of the second generator starts to move), the current time (that is, the departure time) can be sent to the generator dispatching system, and the planned departure time input by the transporter can be received, and the planned departure time is determined as the departure time and sent to the generator dispatching system. In other words, the departure time sent by the contact terminal of the transporter of the second generator can be determined by the transporter's input, or it can be determined according to the time when the position of the second generator changes.

[0035] Specifically, the generator scheduling system can determine the navigation time between the two according to the location of the first device and the location of the second generator, that is, determine the time required to transport from the location of the second generator to the location of the first device, and then determine the arrival time according to the transportation time and the departure time. The navigation time can be determined according to the navigation APP.

[0036] More specifically, the generator scheduling system can obtain the contact terminal of the transportation personnel bound to the second generator, that is, the first terminal, from the preset transportation personnel database, wherein the transportation personnel database includes the ID information of multiple generators, the transportation personnel information bound to each generator, and the contact terminal information of the transportation personnel bound to each generator, that is, the first terminal information.

[0037] Step 108: When the arrival time comes, a wake-up instruction is sent to the second generator to enable the second generator to generate electricity for the first device.

[0038] After determining the arrival time, the generator scheduling system can send a wake-up instruction to the second generator when the arrival time arrives, so that the second generator can generate electricity for the first device. That is to say, when the arrival time arrives, it can be determined that the second generator has arrived at the first position where the first device is located. At this time, a wake-up instruction can be sent to the second generator, so that the second generator receives the wake-up instruction and works normally based on the wake-up instruction to supply power to the first device. Furthermore, the generator scheduling system can send a wake-up signal to the controller of the second generator, so that the controller turns on the second generator and generates electricity for the first device.

[0039] Specifically, the generator dispatching system may further include a terminal module installed on the first device, wherein the first device may be an edge gateway of a base station or a tower. After the cloud module of the generator dispatching system determines the arrival time of the second generator, the cloud module sends the arrival time to the terminal module. The terminal module receives the arrival time of the second generator and sends a wake-up instruction to the second generator when the arrival time is reached, thereby causing the second generator to generate electricity for the first device.

[0040] Figure 2 is a schematic diagram of information interaction of a generator dispatching system provided in an embodiment of the present application, such as Figure 2 As shown, the generator scheduling system includes a cloud module and a terminal module. The cloud module can be installed in a cloud server, and the terminal module can be installed in the edge gateway of the tower. The cloud module can obtain the first position of the first device and the second positions of multiple first generators from a preset database, and then determine the second generator from the multiple first generators based on the distance between the first position and each second position. The cloud module can also determine the arrival time of the second generator when it arrives at the first position based on the departure time, the first position and the position of the second generator after receiving the departure time of the second generator sent by the first terminal, and send the arrival time to the terminal module. The terminal module can receive the arrival time sent by the cloud module, and when the arrival time arrives, send a wake-up instruction to the second generator so that the second generator generates electricity for the first device.

[0041] The generator scheduling method provided by the embodiment of the present invention obtains the first position of a first device and the second positions of multiple first generators, the first device is a device that needs to be scheduled, and the first generator is a generator that can be scheduled; based on the distance between the first position and each of the second positions, a second generator is determined from the multiple first generators, and the second generator is a generator scheduled to the first device; the departure time of the second generator is obtained, and the arrival time of the second generator at the first position is determined based on the departure time, the first position and the second position corresponding to the second generator, the departure time is sent by the contact terminal of the transporter of the second generator; at the arrival time, a wake-up command is sent to the second generator to enable the second generator to generate electricity for the first device, which can improve the scheduling capability of the generator.

[0042] In one implementation, the obtaining of the first position of the first device and the second positions of the plurality of first generators (step 102) may include executing steps A1-A3:

[0043] Step A1: Obtain a generator database and a power outage database;

[0044] The generator database includes location information of a plurality of generators, and the power outage database includes location information of at least one region and a power outage plan corresponding to the region.

[0045] The generator dispatching system obtains a generator database and a power outage database, wherein the generator database includes the ID information of multiple generators and the location information of the generators, and the power outage database includes the location information of at least one region and the power outage plan of the region within a period of time, and both the generator database and the power outage database are continuously updated databases.

[0046] Step A2: determining a power outage plan for the region to which each generator belongs based on the generator database and the power outage database;

[0047] After acquiring the generator database and the power outage database, the generator dispatching system determines the power outage plan for the region to which each generator belongs based on the generator database and the power outage database. That is, the generator dispatching system finds the region corresponding to the generator location information from the power outage database and determines the power outage plan for the region based on the location information of the generator included in the generator database.

[0048] Step A3: Determine the generator that will not experience power outages in the region within the first preset time as the first generator.

[0049] After determining the power outage plan for the region to which each generator belongs in the generator database, the generator dispatching system determines the generator that will not have a power outage in the region within a first preset time as the first generator, wherein the first preset time is set according to actual conditions, and it can be 1 day, 2 days, etc. In other words, the generator dispatching system determines the generator that will not have a power outage in the region within a period of time as the first generator.

[0050] In one implementation, the determining of the second generator from the plurality of first generators based on the distance between the first position and each of the second positions (step 106) may include executing steps B1-B2:

[0051] Step B1: determining the navigation time for each of the first generators to be transported to the first location based on the first location and each of the second locations;

[0052] The generator scheduling system determines the navigation time for each first generator to be transported from its position to the first position based on the first position of the first device and the second position corresponding to each first generator, wherein the navigation time can be determined according to the navigation APP. In other words, the generator scheduling system determines the time required for each first generator to be transported to the first device based on the position of the first device and the positions of each first generator.

[0053] Specifically, when determining the navigation time required for the first generator to be transported to the first device, the generator scheduling system can directly input the location information of the first generator and the location information of the first device into the navigation APP so that the navigation APP outputs the required navigation time.

[0054] Step B2: Determine the first generator whose navigation time is less than a second preset time as the second generator.

[0055] After determining the time (i.e., navigation time) required for each first generator to be transported to the first location of the first device, the generator scheduling system determines the first generator whose required time is less than a second preset time as the second generator, wherein the second preset time is a value set according to actual conditions, and the number of first generators whose required time is less than the second preset time can be one or more.

[0056] Specifically, when the first generator whose navigation time is less than the second preset time is determined as the second generator, the generator scheduling system can also determine whether the number of first generators whose navigation time is less than the second preset time is one. If so, the first generator is determined as the second generator. Otherwise, the first generator with the shortest navigation time can be determined as the second generator.

[0057] In one implementation, the determining of the second generator from the plurality of first generators based on the distance between the first position and each of the second positions (step 106) may further include performing steps C1-C3:

[0058] Step C1: sending a first instruction to multiple second terminals;

[0059] The second terminal is a contact terminal of a transporter bound to the first generator, and the first instruction is used to instruct the second terminal to send an estimated departure time for the first generator bound to the second terminal to be transported to the first location.

[0060] The generator dispatching system sends a first instruction to multiple second terminals, wherein the second terminal is a contact terminal of a transporter bound to each first generator, and the first instruction is used to instruct the second terminal to send the estimated departure time of the first generator bound to the second terminal to be transported to the first location where the first device is located. In other words, each first generator has a second terminal and a transporter bound to it, and the generator dispatching system sends a first instruction to each second terminal bound to it, respectively, and the first instruction is used to instruct the transporter to send the estimated departure time of the first generator bound to it to be transported to the first location through the second terminal.

[0061] Specifically, after the second terminal receives the first instruction, the transporter of the first generator can send the estimated departure time of transporting the first generator bound to the first location to the generator dispatching system through the second terminal. The first instruction can be a voice inquiry or a text message inquiry, such as making a phone call or sending a text message to the second terminal, so that the second terminal answers based on the inquiry content. After receiving the reply content of the second terminal, the generator dispatching system determines the estimated departure time according to the reply content, such as a voice message or a text message.

[0062] Step C2: receiving the estimated departure time sent by each second terminal, and determining an estimated arrival time of each first generator at the first location based on each estimated departure time, the first location, and the second location corresponding to each first generator;

[0063] The generator scheduling system receives the estimated departure time sent by each second terminal, and determines the estimated arrival time of each first generator at the first location based on the estimated departure time of each second terminal, the first position of the first device and the second position of each first generator, wherein the estimated arrival time can be determined according to the navigation APP.

[0064] Specifically, the generator scheduling system can first determine the estimated travel time required to transport each first generator to the first position based on the first position of the first device and the second position corresponding to the first generator, and then determine the estimated arrival time corresponding to each first generator based on the estimated travel time corresponding to each first generator and the estimated departure time corresponding to each first generator.

[0065] Step C3: determining the first generator whose estimated arrival time is less than a third preset time as the second generator.

[0066] After determining the estimated arrival time corresponding to each first generator, the generator scheduling system can determine the first generator whose estimated arrival time is less than or earlier than a third preset time as the second generator, wherein the third preset time is determined based on actual conditions, and the number of second generators determined can be one or more.

[0067] Specifically, when there is only one first generator whose estimated arrival time is less than the third preset time, the first generator can be directly determined as the second generator, and when there is more than one first generator whose estimated arrival time is less than the third preset time, not only can the multiple first generators be determined as the second generator, but the generator with the smallest third preset time among the multiple first generators can also be determined as the second generator.

[0068] Figure 3is a flow chart of a second generator scheduling method provided in an embodiment of this specification, such as Figure 3 As shown, the schematic diagram includes:

[0069] Step 302: Acquire a generator database and a power outage database;

[0070] The generator database includes location information of a plurality of generators, and the power outage database includes location information of at least one region and a power outage plan corresponding to the region.

[0071] Step 304: Determine a power outage plan for the region to which each generator belongs based on the generator database and the power outage database;

[0072] Step 306: Determine the generator that will not experience power outages in the region within the first preset time as the first generator;

[0073] Wherein, the first generator is a dispatchable generator.

[0074] Step 308: Acquire a first position of a first device and a second position of a plurality of first generators;

[0075] The first device is a device that requires generator scheduling.

[0076] Step 310: Sending a first instruction to multiple second terminals;

[0077] The second terminal is a contact terminal of a transporter bound to the first generator, and the first instruction is used to instruct the second terminal to send an estimated departure time for the first generator bound to the second terminal to be transported to the first location.

[0078] Step 312: receiving the estimated departure time sent by each second terminal, and determining an estimated arrival time of each first generator at the first location based on each estimated departure time, the first location, and the second location corresponding to each first generator;

[0079] Step 314: Determine the first generator whose estimated arrival time is less than a third preset time as the second generator;

[0080] The second generator is a generator that is dispatched to the first device.

[0081] Step 316: Acquire the departure time of the second generator, and determine the arrival time of the second generator at the first position based on the departure time, the first position, and the second position corresponding to the second generator;

[0082] The departure time is sent by a contact terminal of a transporter of the second generator.

[0083] Step 318: When the arrival time comes, a wake-up instruction is sent to the second generator to enable the second generator to generate electricity for the first device.

[0084] In the embodiments of the specification, the first generator is determined according to the power outage database, and then the estimated arrival time of each first generator at the first location is determined according to the estimated departure time of each first generator, the second location corresponding to each first generator and the first location of the first device, and the first generator whose estimated arrival time is less than the preset time is determined as the second generator, and then the second generator is scheduled. Not only can the available generators be determined from multiple generators for scheduling, but also the generator that can supply power to the first device earliest can be determined from multiple available generators, thereby improving the scheduling capability of the generators.

[0085] In one implementation, when the arrival time is reached, a wake-up instruction is sent to the second generator (step 108), and steps D1-D3 may be executed:

[0086] Step D1: determining a waiting time based on the arrival time;

[0087] The waiting time is the time when the second generator meets the condition of supplying power to the first device.

[0088] After determining the arrival time, the generator scheduling system determines the waiting time based on the arrival time, wherein the waiting time is the time when the second generator meets the conditions for supplying power to the first device, that is, the waiting time is the time when the second generator is ready to generate electricity for the first device.

[0089] Specifically, when the arrival time is reached, it means that the second generator has arrived at the location of the first device. At this time, the second generator may not meet the conditions for generating electricity for the first device, such as the second generator is not connected to the first device, etc. Therefore, the generator scheduling system can determine the waiting time (that is, the time when it is determined that the second generator meets the conditions for supplying power to the first device) based on determining the arrival time (that is, determining that the second generator has arrived at the first location).

[0090] Specifically, the waiting time can be determined based on the arrival time and the preparation time, wherein the preparation time is the preparation time required for the second generator to arrive at the first location and prepare to generate electricity for the first device. The generator scheduling system can determine the waiting time by adding the preparation time to the arrival time.

[0091] Step D2: when the waiting time is reached, obtaining the fourth position of the second generator at the current moment;

[0092] When the waiting time is reached, the generator dispatching system obtains the fourth position of the second generator at the current moment. That is, when the waiting time is reached, the generator dispatching system obtains the position of the second generator at the waiting time.

[0093] Step D3: When the distance between the fourth position and the first position is less than a preset threshold, sending a wake-up instruction to the second generator.

[0094] After determining the fourth position of the second generator during the waiting time, the generator scheduling system can send a wake-up instruction to the second generator when the distance between the fourth position and the first position is less than a preset threshold. That is, after determining that the second generator meets the conditions for generating electricity for the first device according to the waiting time, the generator scheduling system can also verify again whether the second generator can generate electricity for the first device according to the position of the second generator during the waiting time, and further determine that the second generator meets the conditions for generating electricity for the first device when determining that the distance between the fourth position and the first position is less than the preset threshold.

[0095] Specifically, when determining that the second generator has met the condition for generating electricity for the first device, it can be determined not only based on whether the distance between the fourth position and the first position is less than a preset threshold, but also by determining whether the fourth position is a preset position, that is, when the fourth position is a preset position, it is determined that the second generator has met the condition for generating electricity for the first device, wherein the preset position is a position for placing the second generator and is set based on the first position of the first device. In other words, a position specifically for installing the second generator is set at or near the first device, and when the second generator is at this position, it can be determined that the second generator has met the condition for supplying power to the first device.

[0096] In one implementation, after sending the wake-up instruction to the second generator (step 108), steps E1-E2 may also be performed:

[0097] Step E1: monitoring vibration information of the second generator, and determining whether the second generator is in a non-working state based on the vibration information;

[0098] After the generator dispatching system sends a wake-up instruction to the second generator, the generator dispatching system will also monitor the vibration information of the second generator, and determine whether the second generator is in a non-working state based on the vibration information.

[0099] Specifically, when determining whether the second generator is in a non-working state based on the vibration information of the second generator, the generator scheduling system can determine that the second generator is in a non-working state when it is determined based on the vibration information that the second generator is not vibrating, and can also determine that the second generator is in a non-working state when it is determined based on the vibration information that the vibration amplitude of the second generator is less than a preset threshold.

[0100] More specifically, when determining whether the second generator is in a non-working state, the generator dispatching system can obtain the working signal of the second generator and determine whether the second generator is in a non-working state based on the working signal of the second generator. For example, it is determined that the second generator is in a non-working state when no working signal sent by the second generator is received.

[0101] Step E2: If yes, a wake-up instruction is sent to the second generator to enable the second generator to generate electricity.

[0102] After determining that the second generator is in a non-working state, the generator dispatching system sends a wake-up command to the second generator to start the second generator and generate electricity for the second generator. In other words, the generator dispatching system can monitor the working state of the second generator by monitoring the vibration information of the second generator, and then send a wake-up command to the second generator when the second generator is in a non-working state, thereby ensuring that the second generator continues to generate electricity for the first device.

[0103] Specifically, after sending the wake-up command to the second generator for the first time, the generator scheduling system can monitor the working status of the second generator in real time, and send another wake-up command to it when the second generator is in a non-working state, thereby ensuring that the second generator continues to generate electricity for the first device.

[0104] In one implementation, steps F1-F3 may also be performed:

[0105] Step F1: Acquire a first image of the first device;

[0106] The first image is an image acquired by a camera installed on the first device.

[0107] The generator dispatching system obtains a first image of the first device, wherein the first image is an image obtained by a camera (such as a camera) installed on the first device. In other words, the generator dispatching system obtains image information of the vicinity obtained by the camera installed on the first device, that is, multiple cameras are installed on the first device, and the generator dispatching system can obtain image information of the vicinity of the first device through the multiple installed cameras.

[0108] Step F2: Determine whether the second generator exists in the first image;

[0109] After acquiring the first image, the generator scheduling system determines whether the second generator exists in the first image. In other words, the generator scheduling system can determine whether the second generator exists in each of the first images based on the acquired multiple first images.

[0110] Specifically, when determining whether there is a second generator in the first image, the generator scheduling system can directly determine whether there is a second generator in the first image, and can also first determine whether there is a generator in multiple first images, and then determine whether the existing generator is the second generator.

[0111] Step F3: If yes, when it is determined that the second generator is in working state, a working video of the second generator is captured and saved.

[0112] After determining whether the second generator exists in the first image, the generator dispatching system can further determine whether the second generator is in a working state when the second generator exists in the first image, and shoot and save the working video of the second generator when the second generator is in a working state. In other words, the generator dispatching system can shoot and save the working video of the second generator when the second generator is generating electricity for the first device, so as to avoid disputes over the power generation process of the generator after the power generation is completed.

[0113] Figure 4 is a flow chart of a third generator scheduling method provided in an embodiment of this specification, such as Figure 4 As shown, the schematic diagram includes:

[0114] Step 402: Acquire a first position of a first device and a second position of a plurality of first generators;

[0115] The first device is a device that requires generator scheduling, and the first generator is a generator that can be scheduled.

[0116] Step 404: determining a second generator from the plurality of first generators based on the distance between the first position and each of the second positions;

[0117] The second generator is a generator that is dispatched to the first device.

[0118] Step 406: Acquire the departure time of the second generator, and determine the arrival time of the second generator at the first position based on the departure time, the first position, and the second position corresponding to the second generator;

[0119] The departure time is sent by a contact terminal of a transporter of the second generator.

[0120] Step 408: Determine a waiting time based on the arrival time;

[0121] The waiting time is the time when the second generator meets the condition of supplying power to the first device.

[0122] Step 410: when the waiting time is reached, obtaining a fourth position of the second generator at the current moment;

[0123] Step 412: When the distance between the fourth position and the first position is less than a preset threshold, sending a wake-up instruction to the second generator so that the second generator generates electricity for the first device;

[0124] Step 414: monitoring vibration information of the second generator, and determining whether the second generator is in a non-working state based on the vibration information;

[0125] Step 416: If yes, sending a wake-up instruction to the second generator to enable the second generator to generate electricity;

[0126] Step 418: Acquire a first image of the first device;

[0127] The first image is an image acquired by a camera installed on the first device.

[0128] Step 420: Determine whether the second generator exists in the first image;

[0129] Step 422: If yes, when it is determined that the second generator is in working state, a working video of the second generator is captured and saved.

[0130] In the embodiments of the specification, a waiting time is generated based on the arrival time, and when the waiting time is reached and whether the current position of the generator is less than a preset threshold value from the first position, a wake-up command is sent to the second generator, and then the working status of the second generator is detected in real time and a wake-up command is sent to it when the second generator is in a non-working state. Finally, the working second generator can be recorded and saved through a camera device, which not only ensures that the second generator can continue to generate electricity for the first device through multiple guarantees, but also records the working process of the second generator and leaves a trace of the work of the second generator, so as to avoid disputes over the power generation process of the generator after the power generation is completed.

[0131] It should be noted that the generator scheduling method provided in the embodiment of the present application can be executed by a generator scheduling device, or a control module in the generator scheduling device for executing the generator scheduling method. In the embodiment of the present application, the generator scheduling device provided in the embodiment of the present application is described by taking the generator scheduling method executed by the generator scheduling device as an example.

[0132] Figure 5 Schematic diagram of the structure of the generator dispatching device according to an embodiment of the present invention. Figure 5 As shown, the generator scheduling device includes: a first acquisition module 502 , a first determination module 504 , a second acquisition module 506 , and a first sending module 508 .

[0133] A first acquisition module 502 is used to acquire a first position of a first device and a second position of a plurality of first generators, wherein the first device is a device that needs to be scheduled as a generator, and the first generator is a generator that can be scheduled;

[0134] A first determination module 504, configured to determine a second generator from the plurality of first generators based on a distance between the first position and each of the second positions, the second generator being a generator that is scheduled to the first device;

[0135] A second acquisition module 506 is used to acquire the departure time of the second generator, and determine the arrival time of the second generator at the first location based on the departure time, the first location and the second location corresponding to the second generator, wherein the departure time is sent by the contact terminal of the transporter of the second generator;

[0136] The first sending module 508 is used to send a wake-up instruction to the second generator when the arrival time arrives, so that the second generator generates electricity for the first device.

[0137] The generator dispatching device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0138] The generator dispatching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0139] The generator dispatching device provided in the embodiment of the present application can achieve Figures 1 to 4 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0140] Based on the same technical concept, an embodiment of the present application further provides an electronic device, which is used to execute the above-mentioned generator scheduling method. Figure 6 A schematic diagram of the structure of an electronic device for implementing various embodiments of the present application. The electronic device may have relatively large differences due to different configurations or performances, and may include a processor (processor) 602, a communication interface (Communications Interface) 604, a memory (memory) 606, and a communication bus 608, wherein the processor 602, the communication interface 604, and the memory 606 communicate with each other through the communication bus 608. The processor 602 may call a computer program stored in the memory 606 and executable on the processor 602 to perform the following steps:

[0141] Acquire a first position of a first device and a second position of a plurality of first generators, wherein the first device is a device requiring generator scheduling, and the first generator is a generator that can be scheduled;

[0142] determining a second generator from the plurality of first generators based on a distance between the first position and each of the second positions, the second generator being a generator that is dispatched to the first device;

[0143] Obtaining the departure time of the second generator, and determining the arrival time of the second generator at the first location based on the departure time, the first location, and the second location corresponding to the second generator, wherein the departure time is sent by a contact terminal of a transporter of the second generator;

[0144] When the arrival time comes, a wake-up instruction is sent to the second generator, so that the second generator generates electricity for the first device.

[0145] In one implementation, the obtaining of the first position of the first device and the second positions of the plurality of first generators includes:

[0146] Acquire a generator database and a power outage database, wherein the generator database includes location information of a plurality of generators, and the power outage database includes location information of at least one region and a power outage plan corresponding to the region;

[0147] Determine a power outage plan for the region to which each generator belongs based on the generator database and the power outage database;

[0148] A generator that will not experience power outages in the region within a first preset time is determined as the first generator.

[0149] In one implementation, determining the second generator from the plurality of first generators based on the distance between the first position and each of the second positions includes:

[0150] determining a navigation time for each of the first generators to be transported to the first location based on the first location and each of the second locations;

[0151] The first generator whose navigation time is less than a second preset time is determined as the second generator.

[0152] In one implementation, the determining the second generator from the plurality of first generators based on the distance between the first position and each of the second positions further includes:

[0153] Sending a first instruction to a plurality of second terminals, where the second terminals are contact terminals of transport personnel bound to the first generator, and the first instruction is used to instruct the second terminals to send an estimated departure time for the first generator bound to the second terminal to be transported to the first location;

[0154] receiving the estimated departure time sent by each second terminal, and determining an estimated arrival time of each first generator at the first location based on each estimated departure time, the first location, and the second location corresponding to each first generator;

[0155] The first generator whose estimated arrival time is less than a third preset time is determined as the second generator.

[0156] In one implementation, when the arrival time is reached, sending a wake-up instruction to the second generator includes:

[0157] Determine a waiting time based on the arrival time, the waiting time being the time when the second generator meets the condition for supplying power to the first device;

[0158] When the waiting time is reached, obtaining a fourth position of the second generator at the current moment;

[0159] When the distance between the fourth position and the first position is less than a preset threshold, a wake-up instruction is sent to the second generator.

[0160] In one implementation, after sending a wake-up instruction to the second generator, the method further includes:

[0161] monitoring vibration information of the second generator, and determining whether the second generator is in a non-working state based on the vibration information;

[0162] If so, a wake-up instruction is sent to the second generator to enable the second generator to generate electricity.

[0163] In one implementation, the method further includes:

[0164] Acquire a first image of the first device, where the first image is an image acquired by a camera installed on the first device;

[0165] determining whether the second generator exists in the first image;

[0166] If so, when it is determined that the second generator is in working condition, a working video of the second generator is captured and saved.

[0167] The specific execution steps can refer to the various steps of the above-mentioned generator scheduling method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0168] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices except terminals.

[0169] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0170] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).

[0171] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.

[0172] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned generator scheduling method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0173] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0174] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned generator scheduling method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0175] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0176] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0177] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0178] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A generator scheduling method, include: Acquire a first position of a first device and a second position of a plurality of first generators, wherein the first device is a device requiring generator scheduling, and the first generator is a generator that can be scheduled; determining a second generator from the plurality of first generators based on a distance between the first position and each of the second positions, the second generator being a generator that is dispatched to the first device; Obtaining the departure time of the second generator, and determining the arrival time of the second generator at the first location based on the departure time, the first location, and the second location corresponding to the second generator, wherein the departure time is sent by a contact terminal of a transporter of the second generator; When the arrival time comes, a wake-up instruction is sent to the second generator, so that the second generator generates electricity for the first device.

2. The method according to claim 1, wherein obtaining the first position of the first device and the second positions of the plurality of first generators, include: Acquire a generator database and a power outage database, wherein the generator database includes location information of a plurality of generators, and the power outage database includes location information of at least one region and a power outage plan corresponding to the region; Determine a power outage plan for the region to which each generator belongs based on the generator database and the power outage database; A generator that will not experience power outages in the region within a first preset time is determined as the first generator.

3. The method according to claim 1, wherein the second generator is determined from the plurality of first generators based on the distance between the first position and each of the second positions, include: determining a navigation time for each of the first generators to be transported to the first location based on the first location and each of the second locations; The first generator whose navigation time is less than a second preset time is determined as the second generator.

4. The method according to claim 1, wherein the second generator is determined from the plurality of first generators based on the distance between the first position and each of the second positions, and further include: Sending a first instruction to a plurality of second terminals, where the second terminals are contact terminals of transport personnel bound to the first generator, and the first instruction is used to instruct the second terminals to send an estimated departure time for the first generator bound to the second terminal to be transported to the first location; receiving the estimated departure time sent by each second terminal, and determining an estimated arrival time of each first generator at the first location based on each estimated departure time, the first location, and the second location corresponding to each first generator; The first generator whose estimated arrival time is less than a third preset time is determined as the second generator.

5. The method according to claim 1, wherein when the arrival time is reached, a wake-up instruction is sent to the second generator, include: Determine a waiting time based on the arrival time, the waiting time being the time when the second generator meets the condition for supplying power to the first device; When the waiting time is reached, obtaining a fourth position of the second generator at the current moment; When the distance between the fourth position and the first position is less than a preset threshold, a wake-up instruction is sent to the second generator.

6. The method according to claim 1 or 5, after sending the wake-up instruction to the second generator, the method further include: monitoring vibration information of the second generator, and determining whether the second generator is in a non-working state based on the vibration information; If so, a wake-up instruction is sent to the second generator to enable the second generator to generate electricity.

7. The method according to claim 1, further comprising: include: Acquire a first image of the first device, where the first image is an image acquired by a camera installed on the first device; determining whether the second generator exists in the first image; If so, when it is determined that the second generator is in working condition, a working video of the second generator is captured and saved.

8. A generator dispatching device, include: A first acquisition module, used to acquire a first position of a first device and a second position of a plurality of first generators, wherein the first device is a device that needs to be scheduled as a generator, and the first generator is a generator that can be scheduled; A first determining module, configured to determine a second generator from the plurality of first generators based on a distance between the first position and each of the second positions, the second generator being a generator that is scheduled to the first device; a second acquisition module, configured to acquire a departure time of the second generator, and determine an arrival time of the second generator at the first location based on the departure time, the first location, and the second location corresponding to the second generator, wherein the departure time is sent by a contact terminal of a transporter of the second generator; The first sending module is used to send a wake-up instruction to the second generator when the arrival time arrives, so that the second generator generates electricity for the first device.

9. A computer device, It is characterized in that The device comprises: Processor; and A memory arranged to store computer executable instructions, the executable instructions being configured to be executed by the processor, the executable instructions comprising instructions for performing the steps in the method according to any one of claims 1 to 7.

10. A storage medium, It is characterized in that The storage medium is used to store computer-executable instructions, and the executable instructions enable a computer to execute the method according to any one of claims 1 to 7.