Editeur et procédé d'édition de formules de calcul du prix d'un service et système de valorisation automatique d'un service Editor and method for editing service price calculation formulas and automatic service valuation system
L'invention concerne un éditeur électronique de formule de calcul du prix d'un service propre à établir ladite formule dans un format directement exploitable par un système électronique de valorisation, le système électronique de valorisation étant propre à établir le prix d'un service à partir d'informations sur le service consommé, contenues dans des variables de consommation, et à l'aide de ladite formule, ledit éditeur comportant un calculateur électronique apte à établir la formule de calcul et à l'enregistrer dans des premiers moyens de stockage d'informations.The invention relates to an electronic editor for calculating the price of a service suitable for establishing said formula in a format directly usable by an electronic valuation system, the electronic valuation system being suitable for establishing the price for a service to starting from information on the service consumed, contained in consumption variables, and using said formula, said editor comprising an electronic calculator capable of establishing the calculation formula and of recording it in the first storage means of information.
Il existe aujourd'hui de nombreux services en ligne accessibles par l'intermédiaire de la toile d'araignée mondiale, également connue sous le nom de "World Wide Web". Le paiement de ces services s'effectue également en ligne et, pour cela, il existe des systèmes de valorisation automatique associés par exemple à des systèmes de facturation.There are many online services available today through the global spider web, also known as the "World Wide Web". Payment for these services is also made online and, for this, there are automatic valuation systems associated for example with billing systems.
Les systèmes de valorisation automatique sont chargés d'établir le prix du service consommé ou à consommer qui devra être facturé par le système de facturation. Ce prix est calculé à partir des informations sur le service consommé contenues dans des variables de consommation et de règles de calcul d'un prix préétablies.The automatic valuation systems are responsible for establishing the price of the service consumed or to be consumed which must be billed by the billing system. This price is calculated from information on the service consumed contained in consumption variables and predetermined price calculation rules.
Pour établir ces règles de calcul d'un prix dans un format électronique qui puisse être exploité par les systèmes de valorisation automatique, un éditeur de règles de calcul est nécessaire. Dans ces éditeurs, le calculateur électronique est classiquement un ordinateur sur lequel s'exécute un logiciel d'édition de règles de calcul et les moyens d'enregistrement sont formés à partir du disque dur de cet ordinateur.To establish these price calculation rules in an electronic format that can be used by automatic valuation systems, a calculation rules editor is necessary. In these editors, the electronic calculator is conventionally a computer on which software for editing calculation rules is executed and the recording means are formed from the hard disk of this computer.
Les éditeurs connus permettent à un utilisateur de saisir des règles de calcul associées à des niveaux de priorité. Les règles de calcul sont de la forme:Known editors allow a user to enter calculation rules associated with priority levels. The calculation rules are of the form:
Si Condition 1 Alors Action 1 où :
- Condition 1 est une fonction logique dont le résultat est Vrai ou Faux, etIf Condition 1 Then Action 1 where: - Condition 1 is a logical function whose result is True or False, and
- Action 1 est une fonction mathématique de calcul d'un prix.- Action 1 is a mathematical function for calculating a price.
La fonction mathématique, comme la fonction logique, comporte des variables destinées à être remplacées par la valeur d'une variable de consommation lors du calcul d'un prix à partir de cette règle par les systèmes de valorisation automatique.The mathematical function, like the logic function, includes variables intended to be replaced by the value of a consumption variable when calculating a price from this rule by automatic valuation systems.
Les niveaux de priorité permettent de résoudre d'éventuels conflits ou contradiction entre plusieurs règles en affectant à chacune d'elles un niveau de priorité. Le niveau de priorité permet aux systèmes de valorisation automatique de déterminer parmi les règles susceptibles de s'appliquer laquelle doit être exécutée en premier. Ainsi, les niveaux de priorité déterminent l'ordre d'exécution, par les systèmes de valorisation, des différentes règles.Priority levels are used to resolve any conflicts or contradictions between several rules by assigning a priority level to each of them. The priority level allows automatic valuation systems to determine which of the rules that may apply which should be executed first. Thus, the priority levels determine the order of execution, by the valuation systems, of the different rules.
Toutefois, les résultats obtenus avec les éditeurs connus ne sont pas satisfaisants. En effet, plus il faut créer un nombre important de règles de calcul d'un prix, plus les chances de créer des règles conflictuelles augmentent et plus la gestion de ces conflits à l'aide de niveaux de priorité s'avère difficile. Or des erreurs dans les niveaux de priorité des règles conduisent à un fonctionnement incohérent ou à un dysfonctionnement des systèmes de valorisation automatique qui les exécutent.However, the results obtained with known publishers are not satisfactory. In fact, the more it is necessary to create a large number of rules for calculating a price, the more the chances of creating conflicting rules increase and the more difficult it is to manage these conflicts using priority levels. However, errors in the priority levels of the rules lead to incoherent functioning or to a malfunction of the automatic valuation systems which execute them.
L'invention vise à remédier à cet inconvénient en proposant un éditeur simplifiant l'établissement d'une formule de calcul du prix d'un service dans un format exploitable par un système électronique de valorisation automatique de ce service. L'invention a donc pour objet un éditeur tel que décrit ci-dessus, caractérisé en ce que le calculateur comporte :The invention aims to remedy this drawback by proposing an editor simplifying the establishment of a formula for calculating the price of a service in a format usable by an electronic system for automatically valuing this service. The invention therefore relates to an editor as described above, characterized in that the computer comprises:
- un module d'acquisition de ladite formule sous la forme d'une structure arborescente formée à partir de nœuds, reliés entre eux par des arcs, chaque nœud étant associé à une opération de calcul destinée à être exécutée par le système de valorisation pour établir le prix du service, et les relations par arcs des nœuds entre eux définissant l'ordre par une relation d'ordre dans lequel lesdites opérations doivent être réalisées par le système électronique de valorisation, et
- un module propre à convertir automatiquement la structure arborescente acquise dans un format directement exploitable par le système électronique de valorisation et à enregistrer la structure arborescente convertie dans les premiers moyens de stockage d'informations. A l'aide de l'éditeur ci-dessus, l'utilisateur saisit sa formule pour calculer le prix d'un service sous la forme d'une structure arborescente. Or, cette organisation selon une structure arborescente permet de définir simplement et graphiquement l'ordre dans lequel les opérations de calcul d'un prix doivent être exécutées par le système de valorisation sans pour autant avoir à définir explicitement des niveaux de priorité. Dans l'éditeur ci-dessus, c'est également la position du nœud dans la structure arborescente qui définit le contexte dans lequel une opération de calcul d'un prix doit être exécutée par les systèmes de valorisation automatique. Ainsi, grâce à un tel éditeur, il n'est plus nécessaire d'affecter explicitement des niveaux de priorité comme dans les éditeurs connus.a module for acquiring said formula in the form of a tree structure formed from nodes, interconnected by arcs, each node being associated with a calculation operation intended to be executed by the valuation system to establish the price of the service, and the relationships by arcs of the nodes between them defining the order by an order relationship in which said operations must be carried out by the electronic valuation system, and - a module capable of automatically converting the tree structure acquired in a format directly usable by the electronic valuation system and of saving the tree structure converted in the first means of information storage. Using the editor above, the user enters his formula to calculate the price of a service in the form of a tree structure. However, this organization according to a tree structure makes it possible to define simply and graphically the order in which the operations of calculating a price must be executed by the valuation system without having to explicitly define priority levels. In the above editor, it is also the position of the node in the tree structure that defines the context in which a price calculation operation must be performed by automatic valuation systems. Thus, thanks to such an editor, it is no longer necessary to explicitly assign priority levels as in known editors.
Suivant d'autres caractéristiques de l'éditeur conforme à l'invention :According to other characteristics of the editor in accordance with the invention:
- le calculateur comporte un module d'affichage de la structure arborescente en cours d'acquisition ou acquise ;- the computer includes a display module of the tree structure being acquired or acquired;
- le module d'acquisition est apte à créer sous la commande d'un utilisateur un nœud de premier niveau dans ladite structure arborescente uniquement associé à une opération d'activation des nœuds fils de ce nœud en réponse à la réception d'une nouvelle valeur pour l'une des variables de consommation traitée par une opération de calcul associée à l'un des nœuds fils ; - le module d'acquisition est apte à créer sous la commande d'un utilisateur, un nœud de premier niveau dans ladite structure arborescente, uniquement associé à une opération d'activation de ses nœuds fils et de l'opération de calcul associée à ces derniers, à des intervalles temporels prédéfinis ; - le module d'acquisition est apte à créer, sous la commande d'un utilisateur, un nœud de traitement dans ladite structure arborescente, uniquement associé à une opération de calcul d'une nouvelle valeur à partir des valeurs des variables de consommation et de variables calculées préexistantes
et d'affectation de cette nouvelle valeur à une variable de consommation ou à une variable calculée préexistante ou nouvelle ;the acquisition module is capable of creating under the command of a user a first level node in said tree structure only associated with an operation of activating the son nodes of this node in response to the reception of a new value for one of the consumption variables processed by a calculation operation associated with one of the child nodes; the acquisition module is capable of creating, under the command of a user, a first level node in said tree structure, only associated with an operation of activating its son nodes and the calculation operation associated with these last, at predefined time intervals; the acquisition module is capable of creating, under the command of a user, a processing node in said tree structure, only associated with an operation of calculating a new value from the values of the consumption and preexisting calculated variables and assigning this new value to a consumption variable or to a preexisting or new calculated variable;
- le module d'acquisition est apte à créer, sous la commande d'un utilisateur, un nœud de décision associé uniquement à une opération d'activation conditionnelle de l'ensemble de ses nœuds fils et de l'opération de calcul associée à ces derniers, à partir de la valeur d'une variable de consommation ou d'une variable calculée ;the acquisition module is capable of creating, under the control of a user, a decision node associated only with an operation of conditional activation of all of its child nodes and of the calculation operation associated with these last, from the value of a consumption variable or a calculated variable;
- le module d'acquisition est apte à créer, sous la commande d'un utilisateur, un nœud de partage uniquement associé à une opération d'extraction, à partir de la valeur d'une variable de consommation ou d'une variable calculée, d'une plage de valeurs comprises, soit entre une borne inférieure et une borne supérieure, soit à l'extérieur de ces bornes, les nœuds fils traitant la plage de valeur extraite ;the acquisition module is capable of creating, under the control of a user, a sharing node only associated with an extraction operation, from the value of a consumption variable or of a calculated variable, of a range of values included, either between a lower bound and an upper bound, or outside of these bounds, the child nodes processing the range of extracted value;
- le module d'acquisition est apte à créer, sous la commande d'un utilisateur, un nœud dans la structure arborescente uniquement associé à une opération de conversion d'unité d'une valeur calculée ;the acquisition module is capable of creating, under the command of a user, a node in the tree structure only associated with a unit conversion operation of a calculated value;
- le module d'acquisition est apte à créer, sous la commande d'un utilisateur une terminaison dans la structure arborescente, uniquement associée à une opération de calcul d'un prix et à une opération d'arrêt du parcours de la structure arborescente par le système de valorisation ;the acquisition module is capable of creating, under the command of a user, a termination in the tree structure, only associated with an operation for calculating a price and with an operation for stopping the course of the tree structure by the recovery system;
- il comporte des seconds moyens de stockage d'informations contenant une bibliothèque de nœuds préenregistrés associés respectivement à des opérations paramétrables prédéfinies à l'avance, et le module d'acquisition comporte un sous-module de sélection des nœuds contenus dans la bibliothèque, un sous-module de liaison des nœuds sélectionnés à l'aide du sous-module de sélection à un nœud père, et un sous-module de paramétrage des opérations paramétrables associées aux nœuds de la bibliothèqueit comprises second means for storing information containing a library of prerecorded nodes respectively associated with configurable operations predefined in advance, and the acquisition module comprises a sub-module for selecting the nodes contained in the library, a sub-module for linking the nodes selected using the sub-module for selecting a parent node, and a sub-module for configuring the configurable operations associated with the nodes of the library
L'invention a également pour objet un système électronique de valorisation propre à établir automatiquement le prix d'un service à partir d'informations sur le service consommé, contenues dans des variables de consommation, et à l'aide d'une formule de calcul établie par un éditeur électronique conforme à l'une quelconque des revendications précédentes, le système comportant :
- un récepteur d'informations sur le service consommé apte à enregistrer ces informations dans les variables de consommation,The invention also relates to an electronic valuation system capable of automatically establishing the price of a service from information on the service consumed, contained in consumption variables, and using a calculation formula. established by an electronic editor according to any one of the preceding claims, the system comprising: - a receiver of information on the consumed service capable of recording this information in the consumption variables,
- des moyens de stockage d'informations contenant la formule de calcul du prix du service, caractérisé en ce qu'il comporte une unité électronique de calcul apte à exécuter les opérations associées aux nœuds et aux terminaisons de la formule de calcul, en réponse aux informations reçues par le récepteur de manière à parcourir la structure arborescente de la formule de calcul du nœud racine vers au moins une des terminaisons en exécutant successivement l'opération d'activation conditionnelle des nœuds pères puis uniquement les opérations d'activations conditionnelles associées aux nœuds fils activés jusqu'à activer au moins une terminaison associée à une opération de calcul d'un prix et à exécuter celle-ci pour établir automatiquement le prix du service.means of storing information containing the formula for calculating the price of the service, characterized in that it comprises an electronic calculation unit capable of executing the operations associated with the nodes and the terminations of the calculation formula, in response to the information received by the receiver so as to traverse the tree structure of the formula for calculating the root node to at least one of the terminations by successively executing the conditional activation operation of the parent nodes then only the conditional activation operations associated with the nodes wires activated until activating at least one termination associated with a price calculation operation and executing it to automatically establish the price of the service.
L'invention a également pour objet un procédé d'établissement d'une formule de calcul du prix d'un service dans un format directement exploitable par un système électronique de valorisation, le système électronique de valorisation étant apte à établir le prix d'un service à partir d'informations sur le service consommé contenues dans des variables de consommation, et à l'aide de ladite formule, caractérisé en ce qu'il comporte : - une étape d'acquisition par un calculateur électronique de ladite formule sous la forme d'une structure arborescente formée à partir de nœuds reliés entre eux par des arcs, chaque nœud étant associé à une opération destinée à être exécutée par le système électronique de valorisation pour établir le prix du service, et les relations par arcs des nœuds entre eux, définissant l'ordre par une relation d'ordre dans lesquels lesdites opérations doivent être réalisées par le système électronique de valorisation, etThe invention also relates to a method for establishing a formula for calculating the price of a service in a format directly usable by an electronic valuation system, the electronic valuation system being able to establish the price of a service from information on the service consumed contained in consumption variables, and using said formula, characterized in that it comprises: - a step of acquisition of said formula in the form by an electronic computer of a tree structure formed from nodes linked together by arcs, each node being associated with an operation intended to be executed by the electronic valuation system to establish the price of the service, and the relationships by arcs of the nodes between them , defining the order by an order relation in which said operations must be carried out by the electronic valuation system, and
- une étape de conversion automatique par le calculateur électronique de ladite structure arborescente acquise dans un format directement exploitable par le système électronique de valorisation et d'enregistrement de la structure arborescente convertie dans des moyens de stockage d'informations.a step of automatic conversion by the electronic computer of said tree structure acquired in a format directly usable by the electronic system for valuing and recording the tree structure converted into information storage means.
Suivant d'autres caractéristiques du procédé conforme à l'invention : - l'étape d'acquisition comporte :
- une sous-étape de sélection d'un nœud dans une bibliothèque de nœuds préenregistrés, les nœuds préenregistrés étant associés respectivement à des opérations paramétrables prédéfinies à l'avance,According to other characteristics of the method according to the invention: - the acquisition step comprises: a sub-step for selecting a node from a library of prerecorded nodes, the prerecorded nodes being associated respectively with configurable operations predefined in advance,
- une sous-étape de liaison du nœud sélectionné lors de la sous- étape de sélection à un nœud père,- a sub-step of linking the node selected during the selection sub-step to a parent node,
- une sous-étape de paramétrage de l'opération du nœud lié au nœud père lors de la sous-étape de liaison.- a substep for configuring the operation of the node linked to the parent node during the link substep.
L'invention sera mieux comprise à la lecture de la description qui va suivre, donnée uniquement à titre d'exemple, et faite en se référant aux dessins sur lesquels :The invention will be better understood on reading the description which follows, given solely by way of example, and made with reference to the drawings in which:
- la figure 1 est une vue schématique de l'architecture d'un système de valorisation automatique d'un service de téléphonie associé à un éditeur de formules de calcul du prix de ce service, le système et l'éditeur étant conformes à l'invention ; - la figure 2 est un organigramme d'un procédé d'édition de formules de calcul conforme à l'invention, et- Figure 1 is a schematic view of the architecture of an automatic valuation system of a telephone service associated with an editor of formulas for calculating the price of this service, the system and the editor being in accordance with invention; FIG. 2 is a flow diagram of a method for editing calculation formulas according to the invention, and
- la figure 3 est une vue d'une structure arborescente représentant une formule de calcul établie à l'aide d'un éditeur conforme à l'invention.- Figure 3 is a view of a tree structure representing a calculation formula established using an editor according to the invention.
Dans la suite de cette description, une structure arborescente est définie comme étant une structure formée de nœuds reliés entre eux par des arcs. Dans cette structure, à l'exception d'un nœud racine, chaque nœud est relié du côté gauche à un seul nœud père. Du côté droit, chaque nœud est relié à aucun, à un seul ou à plusieurs nœud fils. Un nœud est dit « nœud terminal », quand il est relié du côté gauche à un seul nœud père et à aucun nœud fils du côté droit. Un nœud terminal forme ainsi la fin d'une branche de la structure arborescente.In the remainder of this description, a tree structure is defined as being a structure formed of nodes linked together by arcs. In this structure, with the exception of a root node, each node is linked on the left side to a single parent node. On the right side, each node is connected to none, to a single or to several child nodes. A node is said to be a “terminal node”, when it is connected on the left side to a single father node and to no son node on the right side. A terminal node thus forms the end of a branch of the tree structure.
L'orientation de la structure arborescente de la gauche vers la droite n'est choisie ici qu'à titre d'illustration et l'enseignement technique décrit ici s'applique également à des structures arborescentes orientées dans d'autres directions.The orientation of the tree structure from left to right is chosen here only by way of illustration and the technical teaching described here also applies to tree structures oriented in other directions.
La figure 1 illustre un système électronique de valorisation automatique 2 et un éditeur électronique 4 de formules de calcul mis en œuvre dans le cadre
du calcul du prix d'appels téléphoniques réalisés à l'aide d'un réseau téléphonique 6.FIG. 1 illustrates an electronic automatic valuation system 2 and an electronic editor 4 of calculation formulas implemented within the framework calculating the price of telephone calls made using a telephone network 6.
L'éditeur 4 de formules de calcul comporte un calculateur électroniqueCalculation formulas editor 4 includes an electronic calculator
10 associé à des premiers moyens 12 de stockage d'informations et à une interface utilisateur 14. Les moyens 12 de stockage d'informations, formés par exemple par une mémoire, comportent une bibliothèque préenregistrée 16 de nœuds.10 associated with first means 12 for storing information and with a user interface 14. The means 12 for storing information, formed for example by a memory, comprise a prerecorded library 16 of nodes.
Les nœuds préenregistrés forment des modèles génériques de nœuds destinés à être copiés et dont les copies sont destinées à être assemblées en une structure arborescente.The prerecorded nodes form generic models of nodes intended to be copied and whose copies are intended to be assembled into a tree structure.
Ces nœuds préenregistrés sont chacun associés à une opération paramétrable prédéfinie à l'avance. Chacune de ces opérations paramétrables, une fois que les paramètres ont été définis, correspond à une opération destinée à être exécutée par le système 2 lorsque le nœud correspondant est activé.These pre-registered nodes are each associated with a configurable operation predefined in advance. Each of these configurable operations, once the parameters have been defined, corresponds to an operation intended to be executed by the system 2 when the corresponding node is activated.
Les opérations paramétrables sont destinées à réagir en fonction d'informations contenues ou reçues par le système 2 ou à traiter ces mêmes informations. Dans le système 2, chaque information est enregistrée dans une variable associée à un nom permettant de l'identifier de façon unique. Ainsi, l'un des principaux paramètres de chaque opération est le ou les noms des variables que l'opération doit traiter et/ou le ou les noms des variables en fonction desquels l'opération doit être activée. L'ensemble de ces variables est enregistré dans ce qui est appelé ici un contexte de valorisation.The configurable operations are intended to react according to information contained or received by the system 2 or to process this same information. In system 2, each piece of information is recorded in a variable associated with a name allowing it to be uniquely identified. Thus, one of the main parameters of each operation is the name or names of the variables that the operation must process and / or the name or names of the variables according to which the operation must be activated. All of these variables are recorded in what is called here a valuation context.
La bibliothèque 16 comporte principalement cinq familles ou types de nœuds. La première famille comporte qu'un seul nœud dit « racine ». La principale, et par exemple l'unique fonction de ce nœud racine, est de former la racine d'une structure arborescente.The library 16 mainly comprises five families or types of nodes. The first family has only one node called "root". The main, and for example the only function of this root node, is to form the root of a tree structure.
La deuxième famille de nœud regroupe des nœuds dits de premier niveau associés à une opération propre à activer les nœuds fils en réponse à un événement. Cet événement est par exemple la réception d'une information sur la consommation d'un service. Dans ce cas, ce nœud de premier niveau sera appelé par la suite « nœud événementiel ». L'événement traité par le nœud événementiel, est soit un événement ordinaire tel que dans l'exemple
décrit ici la réception d'informations sur un appel téléphonique, soit un événement exceptionnel comme par exemple la réception d'une information sur la résiliation d'un contrat.The second family of nodes gathers so-called first level nodes associated with an operation capable of activating the child nodes in response to an event. This event is for example the reception of information on the consumption of a service. In this case, this first level node will be called hereafter “event node”. The event processed by the event node, is either an ordinary event as in the example describes here the reception of information on a telephone call, ie an exceptional event such as the reception of information on the termination of a contract.
Un autre exemple de nœud de premier niveau est un nœud de récurrence qui sera décrit plus loin.Another example of a first level node is a recurrence node which will be described later.
La troisième famille de nœud regroupe des nœuds dits de traitement, associés à des opérations propres à calculer de nouvelles valeurs pour des variables et à les enregistrer dans le contexte de valorisation. Une fois l'opération de traitement exécutée, ces nœuds sont destinés à activer leurs nœuds fils. Un convertisseur et un nœud de traitement sont des exemples de nœuds appartenant à cette famille et sont décrits plus en détail ci-dessous.The third family of nodes brings together so-called processing nodes, associated with operations capable of calculating new values for variables and of recording them in the context of valuation. Once the processing operation has been carried out, these nodes are intended to activate their child nodes. A converter and a processing node are examples of nodes belonging to this family and are described in more detail below.
La quatrième famille est formée par des nœuds de décision ayant en commun d'être associés chacun à une opération d'activation conditionnelle de l'ensemble des nœuds fils. Cette opération d'activation conditionnelle est fonction des valeurs des variables du contexte de valorisation. Ces nœuds ne modifient pas le contexte de valorisation. Deux exemples de cette famille de nœuds, c'est-à-dire un nœud de décision et un nœud de partage, sont décrits ci-dessous.The fourth family is formed by decision nodes having in common that they are each associated with an operation of conditional activation of all the child nodes. This conditional activation operation depends on the values of the variables in the valuation context. These nodes do not modify the valuation context. Two examples of this family of nodes, that is, a decision node and a sharing node, are described below.
Finalement, la dernière famille de nœuds sont des terminaisons. Chaque terminaison est un nœud terminal associé à une opération de calcul d'un prix et/ou d'un montant à partir des valeurs des variables du contexte de valorisation. Ces terminaisons ont en commun d'être destinées à arrêter le parcours par le système de valorisation de la structure arborescente. Un exemple de terminaison de calcul d'un prix est également décrit ci-dessous. La bibliothèque 16 comporte ici, à titre d'exemple, les nœuds suivants : un convertisseur, un nœud de traitement, une terminaison de calcul d'un prix, un nœud de décision, un nœud de partage et un nœud de récurrence.Finally, the last family of nodes are terminations. Each termination is a terminal node associated with an operation for calculating a price and / or an amount from the values of the variables in the valuation context. These endings have in common that they are intended to stop the route by the tree structure enhancement system. An example of the termination of a price calculation is also described below. The library 16 here comprises, by way of example, the following nodes: a converter, a processing node, a termination for calculating a price, a decision node, a sharing node and a recurrence node.
Le convertisseur est un nœud associé à une opération de conversion d'une variable du contexte de valorisation en une variable convertie. L'opération prédéfinie associée au convertisseur accepte comme paramètre le nom de la variable du contexte de valorisation, la fonction mathématique à exécuter pour convertir la variable et le nom de la variable convertie dans laquelle est
enregistré le résultat de l'opération de conversion une fois que celle-ci est exécutée.The converter is a node associated with an operation of converting a variable from the valuation context into a converted variable. The predefined operation associated with the converter accepts as parameter the name of the variable in the valuation context, the mathematical function to be executed to convert the variable and the name of the converted variable in which is recorded the result of the conversion operation once it has been carried out.
Le convertisseur est par exemple destiné à réaliser des mises à l'échelle, des conversions d'unité ou des calculs de l'âge d'un fichier connaissant sa date de création.The converter is for example intended to carry out scalings, unit conversions or calculations of the age of a file knowing its creation date.
Le nœud de traitement est par exemple destiné à calculer, à partir des valeurs successives d'une ou plusieurs variables du contexte de valorisation de calcul, une évolution de cette valeur enregistrée dans une variable d'évolution. Cette opération accepte comme paramètre le ou les noms des variables, une fonction mathématique de calcul faisant intervenir la valeur actuelle des variables de calcul, ainsi que une ou plusieurs de leurs valeurs précédentes, et le nom donné à la variable d'évolution.The processing node is for example intended to calculate, from successive values of one or more variables of the calculation valuation context, an evolution of this value recorded in an evolution variable. This operation accepts as parameter the name or names of the variables, a mathematical calculation function involving the current value of the calculation variables, as well as one or more of their previous values, and the name given to the evolution variable.
Ce nœud de traitement est spécialement destiné à réaliser des opérations de cumul ou des opérations statistiques telles que des moyennes ou autres, à partir d'opérations arithmétiques par exemple.This processing node is specially intended for carrying out cumulative operations or statistical operations such as averages or the like, from arithmetic operations for example.
La terminaison de calcul d'un prix est associée à une opération de calcul d'un prix et d'enregistrement de celui-ci dans une variable de prix à partir des valeurs d'une ou plusieurs variables du contexte de valorisation. De façon similaire aux nœuds précédents, les variables, la fonction mathématique de calcul reliant les variables et le nom de la variable de prix sont paramétrables. Cette terminaison de calcul est destinée à former un nœud terminal de la structure arborescente et forme un point d'arrêt de l'exécution par le système 2 de la structure arborescente.The termination of price calculation is associated with an operation of calculating a price and recording it in a price variable from the values of one or more variables of the valuation context. In a similar way to the previous nodes, the variables, the mathematical function of computation connecting the variables and the name of the price variable are configurable. This computation termination is intended to form a terminal node of the tree structure and forms a stopping point for the execution by the system 2 of the tree structure.
Le nœud de décision est associé à une opération d'activation conditionnelle de l'ensemble des nœuds fils ou terminaisons filles reliés à celui- ci. L'activation des nœuds fils n'est réalisée que si une condition d'activation est satisfaite. Cette condition d'activation est formée d'une ou plusieurs variables du contexte de valorisation liées entre elles par une fonction logique dont le résultat est « Vrai » ou « Faux ». Les paramètres de cette opération d'activation conditionnelle sont donc le ou les noms des variables ainsi que la fonction logique. La fonction logique est typiquement réalisée à l'aide d'opérateurs booléens.
Ce nœud de décision constitue ainsi un interrupteur dans le parcours d'une structure arborescente, c'est-à-dire que le parcours des nœuds fils ou terminaisons filles n'est pas réalisé si la condition d'activation n'est pas satisfaite. Le nœud de partage est un nœud de décision particulier associé à une opération d'extraction à partir de la valeur d'une variable du contexte de valorisation, d'une plage de valeurs comprises soit entre une borne inférieure et une borne supérieure, soit à l'extérieur de ses bornes. Seule la plage de valeurs extraite est traitée par les nœuds fils ou terminaisons filles rattachés à ce nœud. Les paramètres de cette opération sont la valeur de la borne inférieure, la valeur de la borne supérieure et le nom de la variable de calcul. Dans le mode de réalisation décrit ici, la borne inférieure ou la borne supérieure peut être égale à l'infini.The decision node is associated with a conditional activation operation of all the child nodes or daughter terminations linked to it. The activation of the child nodes is only carried out if an activation condition is satisfied. This activation condition is formed by one or more variables of the valuation context linked together by a logical function whose result is "True" or "False". The parameters of this conditional activation operation are therefore the name or names of the variables as well as the logic function. The logic function is typically performed using Boolean operators. This decision node thus constitutes a switch in the path of a tree structure, that is to say that the path of the son nodes or daughter terminations is not achieved if the activation condition is not satisfied. The sharing node is a particular decision node associated with an extraction operation from the value of a variable of the valuation context, from a range of values comprised either between a lower bound and an upper bound, or to outside its boundaries. Only the range of values extracted is processed by the child nodes or daughter terminations attached to this node. The parameters of this operation are the value of the lower bound, the value of the upper bound and the name of the calculation variable. In the embodiment described here, the lower bound or the upper bound can be equal to infinity.
Ces nœuds de partage sont par exemple destinés à la réalisation de règles de calcul de prix dégressifs. Ainsi, ces nœuds de partage permettent de réaliser simplement l'opération de calcul suivantes : les dix premiers produits coûtent 10 € l'unité, tandis que les produits au-delà de ce seuil de 10 coûtent 5 € l'unité. Un exemple plus détaillé de mise en œuvre sera décrit en regard de la figure 2. Le nœud de récurrence est associé à une opération d'activation périodique de l'ensemble des nœuds fils et de réinitialisation de variables du contexte de valorisation tels que les variables d'évolution. Les principaux paramètres à définir pour ce nœud sont la périodicité et le ou les noms des variables à réinitialiser après que les calculs périodiques ont été effectués. Ce nœud est propre à la réalisation de calcul de prix effectué périodiquement. Par exemple, ce nœud de récurrence permet d'activer à chaque fin de mois les opérations de calcul nécessaires à la facturation d'un abonnement téléphonique.These sharing nodes are for example intended for the realization of decreasing price calculation rules. Thus, these sharing nodes allow the following calculation operation to be carried out simply: the first ten products cost € 10 per unit, while products beyond this threshold of 10 cost € 5 per unit. A more detailed example of implementation will be described with reference to FIG. 2. The recurrence node is associated with an operation of periodic activation of all the child nodes and of reinitialization of variables of the valuation context such as the variables devolution. The main parameters to define for this node are the periodicity and the name (s) of the variables to reset after the periodic calculations have been performed. This node is specific to the realization of price calculation carried out periodically. For example, this recurrence node makes it possible to activate, at the end of each month, the calculation operations necessary for billing a telephone subscription.
L'interface utilisateur 14 comporte un écran 18, un clavier 20 et une souris informatique 22. Les composants de l'interface utilisateur 14 sont classiques et raccordés au calculateur 10.
Le calculateur 10 est destiné à établir une formule de calcul d'un prix enregistrée dans un format électronique directement exploitable par le système 2. Pour cela, il est, par exemple, apte à exécuter un logiciel 24 d'édition de formules de calcul. Ce logiciel 24 comporte notamment un module 26 d'acquisition d'une structure arborescente associé à un module 28 d'enregistrement de cette structure arborescente dans des seconds moyens 32 de stockage d'informations. Le logiciel 24 comporte également un module 34 d'affichage sous une forme graphique de la structure arborescente en cours d'acquisition ou déjà acquise sur l'écran 18. Le module d'acquisition 26 comporte un sous-module 40 de sélection et de copie d'un nœud dans la bibliothèque 16, un sous-module 42 de liaison des nœuds et un sous-module 44 de paramétrage des nœuds.The user interface 14 comprises a screen 18, a keyboard 20 and a computer mouse 22. The components of the user interface 14 are conventional and connected to the computer 10. The calculator 10 is intended to establish a formula for calculating a price recorded in an electronic format directly usable by the system 2. For this, it is, for example, able to execute software 24 for editing calculation formulas. This software 24 notably comprises a module 26 for acquiring a tree structure associated with a module 28 for recording this tree structure in second means 32 for storing information. The software 24 also includes a module 34 for displaying in a graphic form the tree structure being acquired or already acquired on the screen 18. The acquisition module 26 comprises a sub-module 40 for selection and copying a node in the library 16, a sub-module 42 for linking the nodes and a sub-module 44 for configuring the nodes.
Le sous-module 40 de sélection est apte à sélectionner sous la commande d'un utilisateur l'un des modèles de nœuds enregistrés dans la bibliothèque 16, et à créer une copie dans un espace de travail affichable par le module 34. Le sous-module 42 de liaison est apte à lier entre eux par des arcs, les nœuds présents dans l'espace de travail sous la commande de l'utilisateur de manière à créer une structure arborescente. Avantageusement, le sous- module 40 de sélection et le sous-module 42 de liaison sont adaptés pour que l'utilisateur puisse construire dans l'espace de travail affichable, une structure arborescente en utilisant uniquement la souris 22. A cet effet, ces modules 40 et 42 mettront en œuvre des technologies similaires à celles de l'interface de « explorateur » de Windows, c'est-à-dire par exemple, les technologies connues sous les termes de « copier-coller » ou de « glisser-poser ». Le sous- module 44 de paramétrage est adapté pour qu'un utilisateur de l'éditeur 4 de formules de calcul puisse définir les paramètres des opérations associées aux nœuds formant la structure arborescente.The selection sub-module 40 is able to select under the command of a user one of the node models registered in the library 16, and to create a copy in a workspace displayable by the module 34. The sub-module 40 link module 42 is able to link together by arcs, the nodes present in the workspace under the control of the user so as to create a tree structure. Advantageously, the selection sub-module 40 and the connection sub-module 42 are adapted so that the user can build in the displayable workspace, a tree structure using only the mouse 22. For this purpose, these modules 40 and 42 will implement technologies similar to that of the Windows “explorer” interface, that is to say, for example, the technologies known as “copy and paste” or “drag and drop”. ". The configuration sub-module 44 is adapted so that a user of the editor 4 of calculation formulas can define the parameters of the operations associated with the nodes forming the tree structure.
Le module 28 d'enregistrement est propre à transformer automatiquement la structure arborescente acquise à l'aide du module 26 en une structure arborescente 48 enregistrée dans les moyens 32 de stockage d'informations dans un format exploitable sans nouvelle intervention humaine par le système 2. Lors de cette étape 88, le module 28 convertit automatiquement la structure arborescente saisie par l'utilisateur dans un
format directement exploitable par le système 2 et enregistre la structure arborescente ainsi convertie dans les moyens 32 de stockage d'informations, par exemple, la structure arborescente acquise est transformée automatiquement en du code JAVA de Sun Microsystem, dans lequel chaque nœud correspond à un objet ayant comme attribut :The recording module 28 is capable of automatically transforming the tree structure acquired using the module 26 into a tree structure 48 recorded in the information storage means 32 in a format usable without any new human intervention by the system 2. During this step 88, the module 28 automatically converts the tree structure entered by the user into a format directly usable by system 2 and saves the tree structure thus converted in the information storage means 32, for example, the acquired tree structure is automatically transformed into JAVA code from Sun Microsystem, in which each node corresponds to an object having as attribute:
- un pointeur vers le nœud père,- a pointer to the parent node,
- un pointeur vers le nœud fils, et- a pointer to the child node, and
- une propriété contenant l'opération paramétrée à exécuter.- a property containing the configured operation to execute.
Ce code Java est directement exécutable par tout calculateur équipé d'une machine virtuelle Java. Pour plus d'informations, le lecteur se référera à "The Java Language Spécification" de Bill Joy, Sun Microsystems, 2nd édition.This Java code is directly executable by any computer equipped with a Java virtual machine. For more information, the reader will refer to "The Java Language Specification" by Bill Joy, Sun Microsystems, 2 nd edition.
Ce module 28 est également apte à être activé par l'intermédiaire de l'interface utilisateur 20.This module 28 is also able to be activated via the user interface 20.
Le réseau téléphonique 6 comporte, par exemple, deux postes téléphoniques 50 et 52 raccordés l'un à l'autre par l'intermédiaire d'un premier réseau de transmission d'informations 54.The telephone network 6 comprises, for example, two telephone sets 50 and 52 connected to each other via a first information transmission network 54.
Le réseau de transmission d'informations 54 est également raccordé à un serveur d'informations 56. Ce serveur d'informations 56 est apte à enregistrer et à transmettre, vers le système 2 de valorisation automatique, des valeurs numériques représentant des informations sur le service consommé. Pour cela, le serveur d'informations 56 est raccordé par l'intermédiaire d'un deuxième réseau de transmission d'informations 60 au système 2 de valorisation automatique. Les informations transmises par le serveur 56, dans le cadre de l'exemple simplifié décrit ici, sont l'instant de début d'appel, l'instant de fin d'appel et le numéro de téléphone appelé pour chaque liaison téléphonique établie à l'aide du réseau 54.The information transmission network 54 is also connected to an information server 56. This information server 56 is capable of recording and transmitting, to the automatic valuation system 2, digital values representing information about the service consumed. For this, the information server 56 is connected via a second information transmission network 60 to the automatic valuation system 2. The information transmitted by the server 56, in the context of the simplified example described here, is the instant of start of call, instant of end of call and the telephone number called for each telephone link established at l help from the network 54.
Le réseau de transmission d'informations 60 est également raccordé à un terminal d'abonnement 62 destiné à enregistrer les nouveaux abonnés du réseau téléphonique 6. Ce terminal d'abonnement 62 est apte à transmettre, par l'intermédiaire du réseau de transmission d'informations 60, une information d'abonnement au système 2. Il est par exemple réalisé à partir d'un ordinateur classique.
Le système 2 de valorisation automatique comporte un récepteur d'informations 70 associé à une unité électronique de calcul 72 elle-même associée aux moyens de stockage d'informations 32.The information transmission network 60 is also connected to a subscription terminal 62 intended to register the new subscribers of the telephone network 6. This subscription terminal 62 is capable of transmitting, via the transmission network of information 60, a subscription information to the system 2. It is for example produced from a conventional computer. The automatic valuation system 2 includes an information receiver 70 associated with an electronic calculation unit 72 itself associated with the information storage means 32.
Le récepteur 70 est apte à recevoir les informations sur le service consommé qui lui sont transmises par le serveur d'informations 56 et le terminal d'abonnement 62. Il est également adapté pour enregistrer automatiquement les valeurs numériques correspondant aux informations reçues sur le service consommé dans des variables de consommation du contexte de valorisation. Le contexte de valorisation est, par exemple, enregistré dans les moyens 32 de stockage d'informations. Le système 2 comporte autant de variables de consommation que d'informations sur le service susceptibles d'être reçues. Ainsi, dans l'exemple décrit ici, le système 2 comporte quatre variables de consommation V1 , V2, V3, V4 correspondant respectivement à l'instant de début d'appel, à l'instant de fin d'appel, le numéro appelé, et à l'information d'abonnement.The receiver 70 is able to receive the information on the consumed service which is transmitted to it by the information server 56 and the subscription terminal 62. It is also suitable for automatically recording the digital values corresponding to the information received on the consumed service in consumption variables of the valuation context. The valuation context is, for example, recorded in the information storage means 32. System 2 includes as many consumption variables as information on the service that can be received. Thus, in the example described here, the system 2 comprises four consumption variables V1, V2, V3, V4 corresponding respectively to the time of call start, to the time of call end, the number called, and subscription information.
L'unité de calcul 72 est par exemple réalisée à partir d'un serveur informatique classique comportant une horloge 74 destinée à indiquer la date et l'heure actuelles et exécutant un logiciel 76 de valorisation automatique d'un service. Le logiciel 76 est propre à exécuter chaque opération associée à un nœud activé. En particulier, puisque dans le cas, par exemple de nœuds de premier niveau et des nœuds de décision, l'opération consiste entre autre à activer un ou plusieurs nœuds fils, le logiciel 76 est donc propre à parcourir la structure arborescente 48 en exécutant de proche en proche, les opérations associées aux nœuds au fur et à mesure que ceux-ci sont activés. De manière à initier le parcours de la structure arborescente 48, le logiciel 76 est apte à activer un nœud de premier niveau en réponse à la réception d'une nouvelle valeur pour une variable de consommation dans le cas de nœuds de premier niveau événementiel ou en coopération avec l'horloge 74 dans le cas des nœuds de récurrence.The calculation unit 72 is for example made from a conventional computer server comprising a clock 74 intended to indicate the current date and time and executing software 76 for automatic valuation of a service. The software 76 is able to execute each operation associated with an activated node. In particular, since in the case, for example of first level nodes and decision nodes, the operation consists inter alia of activating one or more child nodes, the software 76 is therefore suitable for traversing the tree structure 48 by executing step by step, the operations associated with the nodes as they are activated. In order to initiate the course of the tree structure 48, the software 76 is able to activate a first level node in response to the reception of a new value for a consumption variable in the case of event first level nodes or in cooperation with clock 74 in the case of recurrence nodes.
Le logiciel 76 est associé à un module d'enregistrement 78 destiné à enregistrer le prix établi par le logiciel 76 dans une base de données 80 contenue dans les moyens 32 de stockage d'informations. Le module
d'enregistrement 76 enregistre également en même temps que le prix du service consommé dans la base de données 80, un identificateur de la personne à facturer.The software 76 is associated with a recording module 78 intended to record the price established by the software 76 in a database 80 contained in the means 32 for storing information. The module 76 also records, together with the price of the service consumed in the database 80, an identifier of the person to be billed.
Le logiciel 76 est adapté pour résoudre automatiquement un conflit entre plusieurs nœuds de décision reliés à un même nœud père, chacun de ces nœuds de décision étant associé à une opération de traitement de la même variable de calcul. Le logiciel 76 est apte à résoudre un tel conflit, par exemple, en activant uniquement le nœud de décision dont la condition d'activation conditionnelle correspond le mieux à la situation rencontrée. Ainsi, seule une des ramifications ou branches qui s'étend vers la droite de la structure arborescente à partir des nœuds de décision en conflit est parcourue par le logiciel 76. Ainsi, dans l'exemple de réalisation décrit ici, seul les nœuds de partage autorisent le parcours par le logiciel 76 de plusieurs des ramifications qui s'étendent vers la droite de la structure arborescente à partir d'un même nœud père.The software 76 is adapted to automatically resolve a conflict between several decision nodes linked to the same parent node, each of these decision nodes being associated with an operation for processing the same calculation variable. The software 76 is able to resolve such a conflict, for example, by activating only the decision node whose conditional activation condition best corresponds to the situation encountered. Thus, only one of the ramifications or branches which extends to the right of the tree structure from the conflicting decision nodes is traversed by the software 76. Thus, in the embodiment described here, only the sharing nodes allow the traversal by the software 76 of several of the ramifications which extend to the right of the tree structure from the same parent node.
Le logiciel 76 est également adapté pour ordonner automatiquement les différentes opérations de calcul qui seraient simultanément exécutables. Par exemple, dans le cas où une première et une seconde opérations de calcul sont simultanément exécutables et ou la première opération établit une variable de calcul nécessaire à la réalisation de la seconde opération, le logiciel 76 exécute d'abord la première opération et ensuite seulement la seconde opération.The software 76 is also suitable for automatically ordering the various calculation operations which would be simultaneously executable. For example, in the case where a first and a second calculation operation are simultaneously executable and or the first operation establishes a calculation variable necessary for carrying out the second operation, the software 76 first executes the first operation and then only the second operation.
Le fonctionnement de l'éditeur 4 de règles de calcul et du système 2 de valorisation automatique va maintenant être décrit à l'aide de la figure 1 et en regard des figures 2 et 3 dans le cas particulier où les services à valoriser sont ceux du réseau téléphonique 6.The operation of the editor 4 of calculation rules and of the automatic valuation system 2 will now be described with the aid of FIG. 1 and with reference to FIGS. 2 and 3 in the particular case where the services to be valued are those of telephone network 6.
La première étape de mise en service du système 2 de valorisation automatique consiste à créer la formule de calcul à l'aide de l'éditeur 4 et à l'enregistrer dans les moyens 32 de stockage d'informations.The first step in bringing the automatic valuation system 2 into service consists in creating the calculation formula using the editor 4 and saving it in the information storage means 32.
Pour créer la formule de calcul, un utilisateur de l'éditeur 4 commence par une étape 82 de création d'un nœud racine en sélectionnant, à l'aide du sous-module 40 de sélection, un nœud de la famille des nœuds racines. Ce nœud n'est par exemple associé à aucune opération paramétrable puisque sa seule fonction est ici de former la racine de la structure arborescente.
L'étape suivante est une étape 84 de création d'une structure arborescente à partir du nœud racine précédemment créé. Elle consiste à créer la structure arborescente en ajoutant par étapes successives, des nœuds fils. L'ajout d'un nouveau nœud à la structure arborescente débute par une opération 85 de sélection d'un nœud dans la bibliothèque 16 à l'aide du sous- module 40 de sélection. Cette opération se poursuit ensuite par une opération 86 de liaison du nœud ainsi sélectionné à l'un des nœuds de la structure arborescente à l'aide du sous-module 42 de liaison. Une fois que le nouveau nœud est lié à un nœud de la structure arborescente, l'opération associée à celui-ci est paramétrée à l'aide du sous-module 44 de paramétrage, lors d'une opération 87 de paramétrage.To create the calculation formula, a user of the editor 4 begins with a step 82 of creating a root node by selecting, using the selection sub-module 40, a node from the family of root nodes. This node is for example not associated with any configurable operation since its only function here is to form the root of the tree structure. The next step is a step 84 of creating a tree structure from the previously created root node. It consists in creating the tree structure by adding in successive stages, child nodes. The addition of a new node to the tree structure begins with an operation 85 of selecting a node from the library 16 using the selection sub-module 40. This operation then continues with an operation 86 for linking the node thus selected to one of the nodes of the tree structure using the link sub-module 42. Once the new node is linked to a node of the tree structure, the operation associated with the latter is parameterized using the parameterization sub-module 44, during a parameterization operation 87.
Il est également possible d'effectuer les opérations précédentes dans un ordre différent. Par exemple, il est possible de sélectionner un nœud puis de le paramétrer avant de le lier à la structure arborescente. Ensuite, on réitère les opérations 85, 86, 87 précédentes pour ajouter de nouveaux nœuds fils à la structure arborescente en cours de création jusqu'à obtenir la structure arborescente souhaitée correspondant à la formule de calcul que le système 2 doit mettre en oeuvre.It is also possible to carry out the previous operations in a different order. For example, it is possible to select a node and then configure it before linking it to the tree structure. Then, the previous operations 85, 86, 87 are repeated to add new child nodes to the tree structure being created until obtaining the desired tree structure corresponding to the calculation formula that the system 2 must implement.
Une fois que la structure arborescente souhaitée a été créée à l'aide du module d'acquisition 26, celle-ci est enregistrée lors d'une étape 88. Lors de cette étape 88, le module 28 convertit automatiquement la structure arborescente saisie par l'utilisateur dans le format directement exploitable par le système 2 et enregistre la structure arborescente ainsi convertie dans les moyens 32 de stockage d'informations. Dans le cas particulier décrit ici, la structure arborescente créée à l'aide de l'éditeur 4 de règles de calcul est par exemple celle représentée à la figure 3.Once the desired tree structure has been created using the acquisition module 26, this is recorded during a step 88. During this step 88, the module 28 automatically converts the tree structure entered by the user in the format directly usable by the system 2 and saves the tree structure thus converted in the information storage means 32. In the particular case described here, the tree structure created using the editor 4 of calculation rules is for example that shown in FIG. 3.
Cette structure arborescente comporte un nœud racine 99. Ce nœud permet de regrouper dans une même structure arborescente à la fois des opérations destinées à être activées en réponse à la réception de nouvelles valeurs pour les variables de consommation et des opérations destinées à être activées périodiquement.This tree structure includes a root node 99. This node makes it possible to group in a same tree structure both operations intended to be activated in response to the reception of new values for the consumption variables and operations intended to be activated periodically.
Le nœud 90 comporte trois nœuds fils 92, 94 et 96 de premier niveau.
Le nœud 94 est associé à une opération d'activation de sa terminaison fille 98 si la variable de consommation actualisée est V4, c'est-à-dire qu'il s'agit de la création d'un abonnement. La terminaison fille 98 est associée à une opération de calcul d'un prix constant de 20 €, quelle que soit la valeur de la variable de consommation V4. Ceci correspond à un tarif forfaitaire pour la mise en service de la ligne téléphonique.The node 90 comprises three son nodes 92, 94 and 96 of the first level. The node 94 is associated with an operation to activate its daughter termination 98 if the updated consumption variable is V4, that is to say that it is the creation of a subscription. The daughter termination 98 is associated with a calculation operation of a constant price of € 20, regardless of the value of the consumption variable V4. This corresponds to a flat rate for setting up the telephone line.
Le nœud 92 est associé à une opération d'activation de l'ensemble des nœuds fils si les variables de consommation actualisées concernent un appel téléphonique. Il s'agit donc ici de la mise à jour de la valeur des variables V1 , V2 et V3 indiquant respectivement l'instant de début d'appel, l'instant de fin d'appel et le numéro appelé.The node 92 is associated with an activation operation of all the child nodes if the updated consumption variables relate to a telephone call. It is therefore here an update of the value of the variables V1, V2 and V3 respectively indicating the instant of start of call, instant of end of call and the number called.
Ce nœud 92 est relié à sa droite à un convertisseur 100, un nœud de traitement 102 et un nœud de décision 104.This node 92 is connected on its right to a converter 100, a processing node 102 and a decision node 104.
Le convertisseur 100 est paramétré de manière à calculer la durée de l'appel téléphonique à partir des variables de consommation V1 et V2 qui représentent respectivement l'instant de début d'appel et l'instant de fin d'appel. Le résultat de la conversion est enregistré dans une variable convertie V5.The converter 100 is configured so as to calculate the duration of the telephone call from the consumption variables V1 and V2 which respectively represent the instant of start of call and the instant of end of call. The result of the conversion is saved in a converted variable V5.
Le nœud de traitement 102 est associée à une opération de cumul des valeurs successives de la variable V5 précédemment calculée, ce cumul étant enregistré dans une variable V6 d'évolution de la consommation.The processing node 102 is associated with an operation of cumulating the successive values of the variable V5 previously calculated, this cumulation being recorded in a variable V6 of evolution of consumption.
Le nœud de décision 104 est associé à une opération d'activation de l'ensemble de ses nœuds fils si la variable de consommation mise à jour est la variable V3, c'est-à-dire le numéro appelé.The decision node 104 is associated with an operation for activating all of its child nodes if the updated consumption variable is the variable V3, that is to say the number called.
Il est relié à trois nœuds fils de décision 106, 108 et 110. Le nœud 106 est associé à une opération d'activation de sa terminaison fille 112 de calcul d'un prix, si le numéro de téléphone contenu dans la variable V3 commence par « 06 », c'est-à-dire qu'il s'agit d'un appel vers un téléphone portable. La terminaison 112 est associée à une opération de calcul du prix de l'appel téléphonique en multipliant la durée de l'appel V5 par un taux T1. Le nœud de décision 108 est relié à deux nœuds fils 114 et 116.It is connected to three decision child nodes 106, 108 and 110. The node 106 is associated with an operation to activate its daughter termination 112 of calculating a price, if the telephone number contained in the variable V3 begins with "06", that is, it is a call to a cell phone. The termination 112 is associated with an operation for calculating the price of the telephone call by multiplying the duration of the call V5 by a rate T1. The decision node 108 is connected to two child nodes 114 and 116.
L'opération associée à ce nœud 108 est une opération d'activation de l'ensemble des nœuds fils si le numéro de téléphone appelé commence par « 0 ».
Les nœuds fils 114 et 116 sont des nœuds de partage de la variable V5, c'est-à-dire de la durée de l'appel, entre deux intervalles, le premier intervalle définissant les heures pleines tandis que le deuxième intervalle définit les heures creuses. Ainsi, le nœud 114 est associé à une opération d'extraction de la durée de l'appel qui a été effectué dans l'intervalle 8h-20h, tandis que le nœud 116 est associé à une opération d'extraction de la durée de l'appel qui a été réalisé soit avant 8 h, soit après 20 h.The operation associated with this node 108 is an operation for activating all of the child nodes if the telephone number called begins with "0". The child nodes 114 and 116 are nodes for sharing the variable V5, that is to say the duration of the call, between two intervals, the first interval defining the peak hours while the second interval defining the hours hollow. Thus, node 114 is associated with an operation for extracting the duration of the call which was carried out in the interval 8h-20h, while node 116 is associated with an operation for extraction of duration of l call that was made either before 8 a.m. or after 8 p.m.
Deux terminaisons 118, 120 de calcul d'un prix sont respectivement liées aux nœuds 114 et 116. La terminaison 118 est une terminaison de calcul d'un prix associée à une opération de multiplication de la durée de l'appel réalisé pendant les heures pleines par un taux T2. La terminaison 120 est associée à une opération de calcul du prix formé par une multiplication de la durée de l'appel réalisé soit avant 8h soit après 20 h par un taux T3.Two terminations 118, 120 for calculating a price are respectively linked to nodes 114 and 116. Termination 118 is a termination for calculating a price associated with an operation of multiplying the duration of the call made during peak hours by a T2 rate. The termination 120 is associated with an operation for calculating the price formed by multiplying the duration of the call made either before 8 am or after 8 pm by a rate T3.
Le nœud 110 est relié à une terminaison fille 122. Ce nœud 110 est associé à une opération d'activation de la terminaison 122 si le numéro de téléphone appelé débute par 00. La terminaison fille 122 est une terminaison de calcul d'un prix constant, quelle que soit la durée, égal à 0 € .The node 110 is connected to a daughter termination 122. This node 110 is associated with an operation for activating the termination 122 if the telephone number called starts with 00. The daughter termination 122 is a termination for calculating a constant price , whatever the duration, equal to 0 €.
Le nœud 96 est un nœud de récurrence associé à une opération d'activation mensuelle d'un nœud fils de décision 124 et de réinitialisation de la variable V6 une fois que les opérations de calcul mensuelles ont été réalisées.The node 96 is a recurrence node associated with a monthly activation operation of a decision child node 124 and of reinitialization of the variable V6 once the monthly calculation operations have been carried out.
Ce nœud 124 est associé à une opération d'activation inconditionnelle des nœuds fils 126 et 130.This node 124 is associated with an unconditional activation operation of the child nodes 126 and 130.
Le nœud fils 126 est un nœud de décision associé à une opération d'activation d'une terminaison fille 132 si le cumul de la durée V6 est compris entre 0 et 120 mn. L'opération de calcul d'un prix associée à la terminaison 132 est un forfait égal à 20 €.The child node 126 is a decision node associated with an operation for activating a child termination 132 if the cumulative duration V6 is between 0 and 120 min. The price calculation operation associated with termination 132 is a flat rate equal to € 20.
Le nœud 130 est associé à une opération d'activation d'une terminaison fille 134 si le cumul de la durée V6 est supérieur à 120 mn. L'opération de calcul d'un prix associé à la terminaison 134 est un forfait égal à 10 €. Ainsi, la combinaison des nœuds 96, 124, 126, 130 et des terminaisonsThe node 130 is associated with an operation for activating a daughter termination 134 if the cumulative duration V6 is greater than 120 min. The operation to calculate a price associated with termination 134 is a flat rate equal to € 10. Thus, the combination of nodes 96, 124, 126, 130 and endings
132 et 134 est destinée à réaliser l'opération suivante : si le cumul des durées des appels téléphoniques réalisés pendant le dernier mois est inférieur à 120
mn, alors l'abonnement est facturé à 20 €, sinon l'abonnement est facturé à 10 €.132 and 134 is intended to perform the following operation: if the total of the durations of telephone calls made during the last month is less than 120 min, then the subscription is invoiced at 20 €, otherwise the subscription is invoiced at 10 €.
Une fois que la formule de calcul réalisée à l'aide de l'éditeur 4 est enregistrée dans les moyens 32 de stockage d'informations, le système 2 de valorisation automatique est prêt à fonctionner. Ainsi, après chaque appel téléphonique mettant en œuvre le réseau de transmission d'informations 54, les informations suivantes sont transmises par l'intermédiaire du réseau de transmission d'informations 60 au récepteur 70 : l'instant de début d'appel, l'instant de fin d'appel et le numéro appelé. Le récepteur 70 enregistre ces informations reçues dans les variables de consommation V1 , V2 et V3. Ici, à titre d'exemple, l'instant de début d'appel est 7 h 50, l'instant de fin d'appel et 8h 10 et le numéro appelé débute par 01.Once the calculation formula carried out using the editor 4 is recorded in the information storage means 32, the automatic valuation system 2 is ready to operate. Thus, after each telephone call using the information transmission network 54, the following information is transmitted via the information transmission network 60 to the receiver 70: the instant of call start, the instant of end of call and the number called. The receiver 70 stores this information received in the consumption variables V1, V2 and V3. Here, for example, the start time of the call is 7.50 am, the end time of the call and 8.10 am, and the number called starts with 01.
Une fois les variables de consommation mises à jour, le logiciel 76 de valorisation automatique commence à parcourir la structure arborescente de la formule de calcul en partant du nœud 90 vers les terminaisons. Pour cela, il effectue successivement chacune des opérations associées à des nœuds activés. Dans l'exemple décrit ici, le nœud 92 est activé puis les terminaisons 100 et 102 et le nœud fils 104 sont activés puisqu'il s'agit uniquement d'une mise à jour des variables V1 , V2 et V3. L'activation de la terminaison 100 conduit le logiciel 76 à calculer la durée de l'appel à partir des variables V1 et V2, c'est-à-dire ici 20 mn, et à enregistrer cette durée dans la variable V5. Ensuite, le logiciel 76 exécute l'opération associée à la terminaison 102, c'est-à- dire qu'il cumule la durée V5 aux durées précédemment calculées pour le même utilisateur, ce cumul de durées étant enregistré dans la variable V6. L'activation du nœud 104 conduit le logiciel à activer le nœud 108 puisqu'il s'agit d'un appel national dont le numéro de téléphone débute par les chiffres 01. Cette activation du nœud 108 conduit ensuite le logiciel 76 à activer les nœuds de partage 114 et 116 ainsi que leur terminaison respective 118 et 120. Ensuite, le logiciel 76 exécute l'opération de la terminaison 118 et calcule le prix des 10 mn de l'appel téléphonique qui sont comprises entre 8 h 00 et 8 h 10. Il exécute également l'opération associée à la terminaison 120, et calcule le prix des 10 mn qui sont comprises entre 7 h 50 et 8 h 00. Une fois ces deux
terminaisons atteintes, le parcours de la structure arborescente par le système 2 s'arrête.Once the consumption variables have been updated, the automatic valuation software 76 begins to traverse the tree structure of the calculation formula starting from the node 90 towards the endings. To do this, it successively performs each of the operations associated with activated nodes. In the example described here, the node 92 is activated then the terminations 100 and 102 and the child node 104 are activated since it is only an update of the variables V1, V2 and V3. The activation of the termination 100 leads the software 76 to calculate the duration of the call from the variables V1 and V2, that is to say here 20 minutes, and to record this duration in the variable V5. Then, the software 76 performs the operation associated with the termination 102, that is to say that it accumulates the duration V5 with the durations previously calculated for the same user, this cumulative duration being recorded in the variable V6. The activation of node 104 leads the software to activate node 108 since it is a national call whose telephone number begins with the numbers 01. This activation of node 108 then leads software 76 to activate nodes sharing 114 and 116 as well as their respective termination 118 and 120. Then, the software 76 executes the operation of termination 118 and calculates the price for the 10 min of the telephone call which is between 8 h 00 and 8 h 10 It also performs the operation associated with termination 120, and calculates the price for the 10 minutes which are between 7:50 am and 8:00 am. endings reached, the route of the tree structure by system 2 stops.
Ces prix calculés sont ensuite enregistrés à l'aide du module 78 d'enregistrement dans la base de données des prix 80 pour être traités ultérieurement, par exemple, par un système de facturation.These calculated prices are then recorded using the recording module 78 in the price database 80 for further processing, for example, by a billing system.
Lorsque l'horloge 74 de l'unité de calcul 72 indique que la fin du mois est atteinte, le logiciel 76 active le nœud 96, ensuite le nœud 124 et finalement soit le nœud 126 si le cumul de durée des appels réalisés sur le mois précédent est inférieur à 120 mn, soit le nœud 130 dans le cas contraire. En supposant ici que le cumul des durées des appels réalisés pendant un mois est inférieur à 120 mn, alors la terminaison 132 est activée, ce qui conduit le système 2 de valorisation automatique à appliquer le forfait de 20 €.
When the clock 74 of the calculation unit 72 indicates that the end of the month is reached, the software 76 activates the node 96, then the node 124 and finally is the node 126 if the cumulative duration of calls made over the month previous is less than 120 min, or node 130 in the opposite case. Assuming here that the cumulative duration of calls made during a month is less than 120 min, then termination 132 is activated, which leads the automatic valuation system 2 to apply the flat rate of 20 €.