What if scenario planning — updating a base plan version
Abstract
A system, method, and device for updating a base version of a hypercube are provided. The method includes (i) obtaining a request for a planning session with respect to a hypercube; and (ii) in response to obtaining the request: (a) determining that the planning session uses a base version of the hypercube, (b) receiving a value input to update a particular location in the hypercube, (c) storing the value for the particular location in the base version of the hypercube, and (d) propagating an update to the particular location of the base version of the hypercube to one or more scenario versions having a dependency on the base version.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 0.
Claims (22 — 4 Independent, 18 Dependent)
- Claim 1Independent Claim
A system, comprising: one or more processors configured to: obtain a request for a planning session with respect to a hypercube; and in response to obtaining the request, determine that the planning session uses a base version of the hypercube; receive a value input to update a particular location in the hypercube; store the value for the particular location in the base version of the hypercube; and propagate an update to the particular location of the base version of the hypercube to one or more scenario versions having a dependency on the base version, wherein the dependency of the one or more scenario versions on the base version is determined based at least in part on an override data structure that indicates a set of locations of the hypercube for which the one or more scenario versions have a value that overrides the base version; and a memory coupled to the one or more processors and configured to provide the one or more processors with instructions.
- Claim 2Depends on #1
The system of claim 1, wherein a scenario version has a dependency on the base version if a first location of the scenario version of the hypercube uses a value at a corresponding first location of the base version of the hypercube.
- Claim 3Depends on #1
The system of claim 1, wherein storing the value comprises: updating the base version of the hypercube for the particular location to be set to the value; and setting an indicator indicating that the particular location of the base version has changed.
- Claim 4Depends on #1
The system of claim 1, wherein a first value at a first location of the hypercube is a static or input value.
- Claim 5Depends on #4
The system of claim 4, wherein: propagating the update for the first location of the base version comprises setting an indicator that the first value for the first location of the base version has been updated; and a service providing a first scenario version dependent on the base version determines to retrieve an updated value for the first location in connection with providing the first scenario version.
- Claim 6Depends on #5
The system of claim 5, wherein: the service providing the first scenario version provides the updated value for the first location of the first scenario version in response to determining that the first scenario version does not have a value at the first location that overrides the first value for the base version; and the service determines that the first scenario version does not have the value at the first location that overrides the first value for the base version based on a data structure indicating a set of overrides for the one or more scenario versions.
- Claim 7Depends on #5
The system of claim 5, wherein: in response to determining that the first scenario version comprises a second location having a formula that is dependent on the first value for first location of the base version, the service providing the first scenario version obtains an updated first value for the first location of the base version and recomputes the formula to return a value for the second location.
- Claim 8Depends on #1
The system of claim 1, wherein a first value at a first location for the base version of the hypercube is a formula.
- Claim 9Depends on #8
The system of claim 8, wherein propagating the update for the first location of the base version comprises setting an indicator that the first value for the first location of the base version has been updated.
- Claim 10Depends on #8
The system of claim 8, wherein propagating the update for the first location of the base version comprises providing a scenario version an indication that a dependency on a previous value for the first location of the base version is no longer valid.
- Claim 11Depends on #10
The system of claim 10, wherein a service providing the scenario version determines, based at least in part that the dependency is no longer valid, that a second value for a second location of the scenario version having the dependency on the previous value for the first location of the base version is to be recomputed.
- Claim 12Depends on #10
The system of claim 10, wherein a service providing the scenario version determines that the dependency is no longer valid for reading processes having an associated timestamp that is after a time at which the update is set.
- Claim 13Depends on #1
The system of claim 1, wherein in response to determining that the planning session corresponds to a request to use the base version, a set of values are obtained from the base version.
- Claim 14Depends on #1
The system of claim 1, wherein in response to determining that the planning session corresponds to a request to use the scenario version, a set of values are obtained based at least in part on the base version and a scenario version.
- Claim 15Depends on #7
The system of claim 7, wherein the value input to the particular location of the scenario version is not automatically propagated to the base version.
- Claim 16Depends on #7
The system of claim 7, wherein the value input at the particular location of the scenario version is propagated to one or more other session versions that have a dependency to the scenario version associated with the planning session.
- Claim 17Depends on #1
The system of claim 1, wherein the input value is automatically propagated to a scenario version having a dependency on the base version if the input value is a static value.
- Claim 18Depends on #1
The system of claim 1, wherein in the event that the input value corresponds to a formula, the input value is propagated to a scenario version having a dependency on the base version when the scenario version recomputes the formula at the particular location.
- Claim 19Depends on #1
The system of claim 1, wherein the override data structure indicates whether a value in the hypercube corresponds to a base version value for the base version or a first scenario version value according to a scenario version associated with the request for the planning session.
- Claim 20Independent Claim
A method, comprising: obtaining a request for a planning session with respect to a hypercube; and in response to obtaining the request, determining that the planning session uses a base version of the hypercube; receiving a value input to update a particular location in the hypercube; storing the value for the particular location in the base version of the hypercube; and propagating an update to the particular location of the base version of the hypercube to one or more scenario versions having a dependency on the base version, wherein the dependency of the one or more scenario versions on the base version is determined based at least in part on an override data structure that indicates a set of locations of the hypercube for which the one or more scenario versions have a value that overrides the base version.
- Claim 21Independent Claim
A computer program product embodied in a non-transitory computer readable medium and comprising computer instructions for: obtaining a request for a planning session with respect to a hypercube; and in response to obtaining the request, determining that the planning session uses a base version of the hypercube; receiving a value input to update a particular location in the hypercube; storing the value for the particular location in the base version of the hypercube; and propagating an update to the particular location of the base version of the hypercube to one or more scenario versions having a dependency on the base version, wherein the dependency of the one or more scenario versions on the base version is determined based at least in part on an override data structure that indicates a set of locations of the hypercube for which the one or more scenario versions have a value that overrides the base version.
- Claim 22Independent Claim
A system, comprising: one or more processors configured to: obtain a request for a planning session with respect to a hypercube; and in response to obtaining the request, determine that the planning session uses a base version of the hypercube; receive a value input to update a particular location in the hypercube; store the value for the particular location in the base version of the hypercube; and propagate an update to the particular location of the base version of the hypercube to one or more scenario versions having a dependency on the base version, wherein: propagating the update for the first location of the base version comprises setting an indicator that the first value for the first location of the base version has been updated; a service providing a first scenario version dependent on the base version: determines to retrieve an updated value for the first location in connection with providing the first scenario version; determines that the first scenario version does not have the value at the first location that overrides the first value for the base version based on a data structure indicating a set of overrides for the one or more scenario versions; and provides the updated value for the first location of the first scenario version in response to determining that the first scenario version does not have a value at the first location that overrides the first value for the base version; and a memory coupled to the one or more processors and configured to provide the one or more processors with instructions.
Technical Overview & Description
CROSS REFERENCE TO OTHER APPLICATIONS This application claims priority to U.S. Provisional Patent Application No. 63/539,969 entitled WHAT IF SCENARIO PLANNING filed Sep. 22, 2023 which is incorporated herein by reference for all purposes. BACKGROUND OF THE INVENTION Query evaluation systems, which capture and model future outcomes, are typically built based on multi-dimensional databases, usually called hypercubes to facilitate analysis. Data in a hypercube is associated with a coordinate tuple, having a value in each of a set of defined dimensions. Dimensions used in planning are usually hierarchical in nature. Dimensions can have attributes which are also often hierarchical. Parent elements represent the rollup, or aggregation, of all of the elements “ beneath ” them in the hierarchy. Some of these hierarchies can be quite high and/or wide (a single parent may represent a rollup of thousands or even millions of children). Query evaluation systems have long had challenges dealing with large and complex models, especially when the amount of data in hypercubes is increasing. Systems are generally constrained with respect to storing data obtained in connection with evaluating planning models, such as for analyzing data in the hypercube that changes over time. It requires substantial memory resources to copy an entire hypercube as data changes over time. This is a problem as processes need to have data consistency from the hypercube during the time they are running. BRIEF DESCRIPTION OF THE DRAWINGS Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings. FIG. 1 is a block diagram of a network system according to various embodiments of the present application. FIG. 2 is a block diagram of a system for providing planning session for evaluating data stored in a hypercube according to various embodiments of the present application. FIG. 3 illustrates an example of a data structure storing a snapshot chain for
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.