ITMI20091438A1 - PROCEDURE AND MANAGEMENT AND CONTROL SYSTEM OF INDIVIDUAL VEHICLES, IN PARTICULAR OF SINGLE MOTOR VEHICLES, TRUCKS AND BUSES OF FLEETS OF MOTOR VEHICLES, TRUCKS AND BUSES RESPECTIVELY. - Google Patents

PROCEDURE AND MANAGEMENT AND CONTROL SYSTEM OF INDIVIDUAL VEHICLES, IN PARTICULAR OF SINGLE MOTOR VEHICLES, TRUCKS AND BUSES OF FLEETS OF MOTOR VEHICLES, TRUCKS AND BUSES RESPECTIVELY. Download PDF

Info

Publication number
ITMI20091438A1
ITMI20091438A1 IT001438A ITMI20091438A ITMI20091438A1 IT MI20091438 A1 ITMI20091438 A1 IT MI20091438A1 IT 001438 A IT001438 A IT 001438A IT MI20091438 A ITMI20091438 A IT MI20091438A IT MI20091438 A1 ITMI20091438 A1 IT MI20091438A1
Authority
IT
Italy
Prior art keywords
user
vehicle
string
management
vehicles
Prior art date
Application number
IT001438A
Other languages
Italian (it)
Inventor
Vittorio Passaquindici
Guido Vicario
Original Assignee
Twist S R L
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Twist S R L filed Critical Twist S R L
Priority to ITMI2009A001438A priority Critical patent/IT1395145B1/en
Publication of ITMI20091438A1 publication Critical patent/ITMI20091438A1/en
Application granted granted Critical
Publication of IT1395145B1 publication Critical patent/IT1395145B1/en

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0967Systems involving transmission of highway information, e.g. weather, speed limits
    • G08G1/096708Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control
    • G08G1/096716Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control where the received information does not generate an automatic action on the vehicle control
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/20Means to switch the anti-theft system on or off
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0967Systems involving transmission of highway information, e.g. weather, speed limits
    • G08G1/096708Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control
    • G08G1/096725Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control where the received information generates an automatic action on the vehicle control
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0967Systems involving transmission of highway information, e.g. weather, speed limits
    • G08G1/096766Systems involving transmission of highway information, e.g. weather, speed limits where the system is characterised by the origin of the information transmission
    • G08G1/096775Systems involving transmission of highway information, e.g. weather, speed limits where the system is characterised by the origin of the information transmission where the origin of the information is a central station
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • G08G1/096805Systems involving transmission of navigation instructions to the vehicle where the transmitted instructions are used to compute a route
    • G08G1/096827Systems involving transmission of navigation instructions to the vehicle where the transmitted instructions are used to compute a route where the route is computed onboard
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • G08G1/096833Systems involving transmission of navigation instructions to the vehicle where different aspects are considered when computing the route
    • G08G1/096838Systems involving transmission of navigation instructions to the vehicle where different aspects are considered when computing the route where the user preferences are taken into account or the user selects one route out of a plurality
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • G08G1/096833Systems involving transmission of navigation instructions to the vehicle where different aspects are considered when computing the route
    • G08G1/096844Systems involving transmission of navigation instructions to the vehicle where different aspects are considered when computing the route where the complete route is dynamically recomputed based on new data
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
    • G08G1/127Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams to a central station ; Indicators in a central station
    • G08G1/13Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams to a central station ; Indicators in a central station the indicator being in the form of a map
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles
    • G08G1/205Indicating the location of the monitored vehicles as destination, e.g. accidents, stolen, rental

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Strategic Management (AREA)
  • Atmospheric Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Mathematical Physics (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Human Resources & Organizations (AREA)
  • Data Mining & Analysis (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Traffic Control Systems (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Description

DESCRIZIONE DELL’INVENZIONE INDUSTRIALE AVENTE PER TITOLO: DESCRIPTION OF THE INDUSTRIAL INVENTION WITH THE TITLE:

«PROCEDIMENTO E SISTEMA DI GESTIONE E CONTROLLO DI SINGOLI VEICOLI, IN PARTICOLARE DI SINGOLI AUTOVEICOLI, AUTOCARRI ED AUTOBUS DI FLOTTE DI AUTOVEICOLI, AUTOCARRI ED AUTOBUS RISPETTIVAMENTE» "PROCEDURE AND MANAGEMENT AND CONTROL SYSTEM OF INDIVIDUAL VEHICLES, IN PARTICULAR OF INDIVIDUAL MOTOR VEHICLES, TRUCKS AND BUSES OF FLEETS OF MOTOR VEHICLES, TRUCKS AND BUSES RESPECTIVELY"

DESCRIZIONE DESCRIPTION

La presente invenzione riguarda un procedimento ed un sistema o dispositivo di gestione e controllo di singoli veicoli, in particolare di singoli autoveicoli, autocarri ed autobus di corrispondenti flotte. The present invention relates to a method and a system or device for the management and control of individual vehicles, in particular of individual motor vehicles, lorries and buses of corresponding fleets.

Più specificatamente, in una sua prima forma di rea-lizzazione, la presente invenzione riguarda un procedi-mento ed un sistema per la gestione ed il controllo di auto in car sharing, appartenenti a flotte di società private o della pubblica amministrazione, principalmente auto elettriche, ma anche di veicoli convenzionali, con un innovativo modello di accesso, localizzazione, indirizzamento, tracciatura, registrazione, nonché economico-commerciale . More specifically, in one of its first embodiments, the present invention relates to a procedure and a system for the management and control of car sharing cars, belonging to fleets of private companies or of the public administration, mainly electric cars. , but also of conventional vehicles, with an innovative model of access, localization, addressing, tracking, registration, as well as economic-commercial.

Come à ̈ noto da uno studio di mercato condotto a livello internazionale, risulta che quasi tutte le società di car sharing, con poche eccezioni , sono in perdita. As is known from a market study conducted internationally, it appears that almost all car sharing companies, with a few exceptions, are at a loss.

in Italia, tutte le società di car sharing sono a partecipazione pubblica, e stanno in piedi solamente per i contributi statali o comunali che ripianano le perdite alla fine dell ’anno. in Italy, all the car sharing companies are publicly owned, and stand only for state or municipal contributions that make up for the losses at the end of the year.

inoltre, il car sharing non ha ancora “sfondato†ed il numero degli abbonamenti e delle corse giornaliere à ̈ assolutamente modesto e, di fatto, questo servizio non à ̈ in grado di risolvere i problemi di mobilità urbana delle grandi città. moreover, car sharing has not yet “broken through” and the number of season tickets and daily trips is absolutely modest and, in fact, this service is not able to solve the urban mobility problems of large cities.

I limiti del sistema attuale sono dovuti alla macchinosità del modello operativo ed alla mancanza di una flessibilità tale da consenti re di soddisfare appieno il bisogno di mobilità erratica dei cittadini . The limitations of the current system are due to the cumbersome operating model and the lack of flexibility that would allow citizens to fully satisfy the need for erratic mobility.

L’attuale sistema à ̈ pensato per spostamenti medio lunghi , anche fuori città. The current system is designed for medium-long journeys, even outside the city.

Non à ̈ un sistema concepito per il circuito urbano, per favori re brevi spostamenti , anche inferiori all ’ora, in modo da massimizzare il numero di corse giornaliere e quindi gli utenti serviti , per ogni singola auto. Attualmente, le auto sono parcheggiate presso garage coperti o parcheggi convenzionati . L’utente effettua la prenotazione con chiamata telefonica alla centrale operativa, che provvede ad inviare la prenotazione all ’auto, che sarà quindi prelevabile solo da quel dato utente. It is not a system conceived for the urban circuit, to favor short trips, even shorter than an hour, in order to maximize the number of daily trips and therefore the users served, for each individual car. Currently, cars are parked in covered garages or affiliated car parks. The user makes the reservation with a telephone call to the operations center, which sends the reservation to the car, which can then be taken only by that user.

in alternativa, l ’utente può effettuare la prenotazione collegandosi al sito web. alternatively, the user can make a reservation by connecting to the website.

In altre parole, à ̈ necessaria una prenotazione per consenti re l ’uso dell ’auto da parte dell ’utente. In other words, a reservation is required to allow the use of the car by the user.

Ciò rappresenta un limite del sistema poiché impedisce la diffusione delle auto sulle pubbliche piazze, dove l ’utente possa prelevare l ’auto in modo autonomo, quando vuole e per il tempo che vuole. This represents a limitation of the system as it prevents the diffusion of cars on public squares, where the user can pick up the car independently, when he wants and for the time he wants.

inoltre, tale metodo di fatto fa sì che venga effettuata di solito una sola prenotazione al giorno. Statisticamente, le medie Italiane dicono che un'auto non circola per più di 5 ore, ma vi sono anche centinaia di corse mensili di 1 o 2 ore o al giorno, e quindi che fatturano molto poco, rappresentando così una perdita secca per la società di gestione, poiché, quando l 'auto à ̈ prenotata, difficilmente viene prenotata da una seconda persona nell 'arco della stessa giornata. moreover, this method actually means that usually only one reservation is made per day. Statistically, the Italian averages say that a car does not circulate for more than 5 hours, but there are also hundreds of monthly trips of 1 or 2 hours or a day, and therefore that they invoice very little, thus representing a deadweight loss for the management company, since, when the car is booked, it is difficult to book by a second person within the same day.

Un secondo grosso limite à ̈ rappresentato dalle modalità di abbonamento che non agevolano la diffusione del servizio. L'utente deve recarsi di persona alla sede della società di car sharing per sottoscrivere il contratto, o fare tutto per telefono ed aspettare i tempi postali di inoltro della carta. Con tale modalità à ̈ inoltre impossibile abbonare i turisti , che si recano in una città anche solo per uno o pochi giorni . A second major limitation is represented by the subscription modalities that do not facilitate the diffusion of the service. The user must go in person to the headquarters of the car sharing company to sign the contract, or do everything by phone and wait for the postal delivery times for the card. With this method it is also impossible to subscribe tourists, who go to a city even for one or a few days.

In definitiva, la menzionata situazione della tecnica nota non rende di fatto interessante investi re una flotta di car sharing. Ultimately, the aforementioned state of the art situation does not in fact make it interesting to invest a car sharing fleet.

L'invenzione riguarda pure, in una sua seconda forma di realizzazione, come precedentemente accennato, un procedimento ed un sistema per la gestione ed il controllo dei viaggi di camion ed autobus, preferibilmente inclusi in piccole o grandi flotte, come prescritto dalle normative Italiane ed Europee. The invention also relates, in a second embodiment thereof, as previously mentioned, to a process and a system for the management and control of the journeys of trucks and buses, preferably included in small or large fleets, as prescribed by the Italian regulations and European.

Da tale aspetto, à ̈ pure noto che la legge prescrive l 'obbligo, posto a carico dei trasportatori e degli operatori di tali flotte, di fornire ed archiviare dati relativi ai conducenti , agli orari di partenza e d'arrivo, ai tempi di guida e riposo, alle velocità mantenute durante la marcia, e così via. From this aspect, it is also known that the law prescribes the obligation, imposed on the transporters and operators of these fleets, to provide and archive data relating to drivers, departure and arrival times, driving times. and rest, at the speeds maintained during the march, and so on.

Tale obbligo viene attualmente assolto da tachigrafi digitali di ultima generazione che consentono di copri re l 'intero processo della registrazione dei dati , relativi ai camion, al loro carico e scarico, e alla loro archiviazione, sino alla valutazione e dalla pianificazione dei viaggi successivi , in funzione delle ore già lavorate. Così le registrazioni dei dati di viaggio possono essere lette dalla polizia in caso di fermo del camion per i normali controlli di routine. This obligation is currently fulfilled by the latest generation of digital tachographs which make it possible to cover the entire process of recording data relating to trucks, their loading and unloading, and their storage, up to the evaluation and planning of subsequent journeys. according to the hours already worked. Thus the trip data records can be read by the police in case the truck is stopped for normal routine checks.

Gli stessi dati devono inoltre essere scaricati ogni 21/28 giorni dal tachigrafo tramite chiavetta USB e da chiavetta al computer dell 'azienda di trasporti . The same data must also be downloaded every 21/28 days from the tachograph via a USB key and from a key to the transport company's computer.

Tale processo ha ovviamente l ’inconveniente del fermo del camion e della indispensabile presenza di un impiegato dell 'azienda, dotato della tessera aziendale e del-1 'autista. This process obviously has the drawback of the truck being stopped and the indispensable presence of a company employee, equipped with a company card and a driver.

Pertanto tale processo risulta macchinoso e costoso nei termini delle ore lavorative. Therefore this process is cumbersome and expensive in terms of working hours.

Si deve inoltre tener presente che, in definitiva, lo scopo dell 'archiviazione à ̈ quello di consentire alle autorità competenti di effettuare controlli non solo al momento di rettamente sulla strada, ma anche a posteriori , i quali controlli sono evidentemente a campione e quindi consentono di scoprire, con alti costi di accertamento, solamente un numero relativamente basso di infrazioni . It must also be borne in mind that, ultimately, the purpose of archiving is to allow the competent authorities to carry out checks not only directly on the road, but also a posteriori, which checks are obviously random and therefore allow to discover, with high investigation costs, only a relatively low number of infringements.

La Richiedente si à ̈ resa conto del fatto che, per migliorare la sicurezza stradale e la prevenzione di possibili incidenti dovuti a velocità eccessiva o a stanchezza del guidatore per non rispetto dei tempi di riposo, il sistema di gestione e controllo noto di autocarri ed autobus à ̈ suscettibile di essere sostanzialmente perfezionato. The Applicant has realized that, in order to improve road safety and the prevention of possible accidents due to excessive speed or fatigue of the driver for not respecting rest times, the known management and control system of trucks and buses à ̈ likely to be substantially improved.

Alla luce dei menzionati inconvenienti relativi alla gestione ed al controllo di autoveicoli in car sharing e di camion ed autobus preferibilmente appartenenti a ri spettive flotte, il compito della presente invenzione à ̈ quello di realizzare un procedimento ed un sistema di gestione e controllo di singoli veicoli , in particolare di singoli autoveicoli , camion, ed autobus appartenenti a flotte di autoveicoli , camion ed autobus rispettivamente i quali possano essere indifferentemente applicati , come concepiti , o con modifiche solamente minime, sia per la gestione ed il controllo di autoveicoli in car sharing che per la corrispondente gestione ed il controllo di camion ed autobus di rispettive flotte. In light of the aforementioned drawbacks relating to the management and control of cars in car sharing and of trucks and buses preferably belonging to respective fleets, the task of the present invention is to provide a method and a management and control system for individual vehicles , in particular of single cars, trucks, and buses belonging to fleets of cars, trucks and buses respectively which can be applied indifferently, as conceived, or with only minimal changes, both for the management and control of cars in car sharing and for the corresponding management and control of trucks and buses of respective fleets.

Nell 'ambito del compito qui sopra menzionato, uno scopo principale della presente invenzione à ̈ quello di realizzare un procedimento ed un sistema del tipo indicato, consententi all 'utente di prelevare un'auto in piena autonomia, quando desiderato, per il tempo desiderato, e in modalità self-service. Within the scope of the aforementioned task, a main purpose of the present invention is to provide a process and a system of the type indicated, allowing the user to pick up a car in full autonomy, when desired, for the desired time, and in self-service mode.

Un ulteriore scopo della presente invenzione à ̈ quello di realizzare un procedimento ed un sistema consententi di identificare esattamente e sostanzialmente istantaneamente, con mezzi hardware e software estremamente semplici e facilmente adattabili , aree specifiche, quali ad esempio aree cittadine o strade provinciali , statali od autostradali , e di associare ad esse limiti di velocità effettivamente imposti su ogni singolo tratto del percorso previsto. A further object of the present invention is to provide a process and a system that allow to identify exactly and substantially instantaneously, with extremely simple and easily adaptable hardware and software means, specific areas, such as for example city areas or provincial, state or motorway roads. , and to associate them with speed limits actually imposed on each single stretch of the planned route.

Un altro scopo della presente invenzione à ̈ quello di realizzare un simile procedimento e sistema atto a rilevare immediatamente qualsiasi infrazione ed inviare in tempo reale alle competenti autorità la segnalazione dell 'infrazione, con il nome del conducente e tutti i dati registrati durante il viaggio. Another object of the present invention is that of realizing a similar procedure and system able to immediately detect any infringement and send in real time to the competent authorities the notification of the infringement, with the name of the driver and all the data recorded during the journey.

Un ulteriore scopo della presente invenzione à ̈ quello di fornire un simile procedimento e sistema suscettibili di agevoli ulteriori perfezionamenti , prevedenti di integrare un numero minimo di addizionale componenti hardware in grado di contribuire ulteriormente a salvare vite umane, in particolare rilevando la presenza di alcool o di sostanze stupefacenti nell 'alito del guidatore. A further object of the present invention is to provide a similar process and system susceptible of easy further improvements, providing for the integration of a minimum number of additional hardware components capable of further contributing to saving lives, in particular by detecting the presence of alcohol or of drugs in the driver's breath.

Un ulteriore scopo della presente invenzione à ̈ quello di realizzare un procedimento ed un sistema atti , ove desiderato, a limitare la velocità o anche arrestare il veicolo, sotto il controllo di apposite norme, magari ancora da stabili re, disciplinanti queste facoltà nelle sue modalità applicative. A further object of the present invention is to provide a process and a system suitable, where desired, to limit the speed or even stop the vehicle, under the control of specific rules, perhaps still to be established, governing these faculties in its modalities. applications.

Non ultimo scopo della presente invenzione à ̈ quello di realizzare un sistema o dispositivo, per l 'attuazione del procedimento inventivo, che possa essere agevolmente montato sull 'auto o sul camion, o altri veicoli commerciali e collegato alla centralina elettronica di tali veicoli il quale includa un numero estremamente ridotto di parti componenti , sia di funzionamento estremamente affidabile, non richieda pressoché manutenzione e possa essere prodotto dall 'industria del ramo ad un costo competitivo. Not least object of the present invention is to provide a system or device, for carrying out the inventive process, which can be easily mounted on a car or truck, or other commercial vehicle and connected to the electronic control unit of such vehicles which it includes an extremely small number of component parts, is extremely reliable in operation, requires almost no maintenance and can be manufactured by the industry at a competitive cost.

Secondo un aspetto della presente invenzione, il compito e gli scopi precedentemente menzionati , nonché ancora altri scopi , che risulteranno più evidenti in seguito, sono raggiunti da un procedimento e da un sistema di gestione e controllo di singoli veicoli , in particolare di singoli autoveicoli , camion ed autobus inclusi in rispettive flotte secondo le rivendicazioni accluse. According to an aspect of the present invention, the aforementioned aim and objects, as well as other objects, which will become more evident hereinafter, are achieved by a method and by a management and control system of single vehicles, in particular of single motor vehicles. , trucks and buses included in respective fleets according to the appended claims.

Ulteriori caratteristiche e vantaggi del procedimento e del sistema o dispositivo inventivi risulteranno più evidenti in seguito dalla seguente descrizione dettagliata di forme di realizzazione dell 'invenzione, illustrate, a titolo indicativo ma non limitativo, negli acclusi disegni in cui : Further characteristics and advantages of the inventive method and system or device will become clearer hereinafter from the following detailed description of embodiments of the invention, illustrated, by way of non-limiting example, in the accompanying drawings in which:

Fig. 1 à ̈ uno schema di massima, in forma a blocchi , di un sistema o dispositivo di gestione e controllo installabile "on-board" sul veicolo, operativamente collegato ad una unità di controllo remota integrata, includente, preferibilmente, operativamente Fig. 1 is a schematic diagram, in block form, of a management and control system or device that can be installed "on-board" on the vehicle, operatively connected to an integrated remote control unit, including, preferably, operatively

accoppiati , un server centrale o base di dati , una centrale operativa ed una centrale amministrativa; coupled, a central server or database, an operations center and an administrative center;

Fig. 2 illustra una vista schematica frontale del dispositivo on-board della presente invenzione, installabile su auto, camion e/o autobus, ed interfacci abile con il guidatore di tali autoveicoli ; Fig. 2 illustrates a schematic front view of the on-board device of the present invention, which can be installed on cars, trucks and / or buses, and can be interfaced with the driver of such motor vehicles;

Fig. 3 Ã ̈ una vista prospettica di Fig. 2, con mostrate le connessioni , ad esempio laterali per il collegamento del dispositivo on-board secondo l 'invenzione alla centralina di detto autoveicolo; Fig. 3 is a perspective view of Fig. 2, showing the connections, for example lateral, for connecting the on-board device according to the invention to the control unit of said motor vehicle;

Fig. 4 Ã ̈ una vista schematica di una smart-card, o carta intelligente d'utente specificatamente prevista per l 'attivazione del dispositivo on-board delle Fig. 2 e 3; Fig. 4 is a schematic view of a smart-card, or user intelligent card specifically provided for the activation of the on-board device of Fig. 2 and 3;

Fig. 5 Ã ̈ uno schema a blocchi di massima della circuiteria interna del dispositivo on-board delle Fig. 2 e 3; Fig. 5 is a schematic block diagram of the internal circuitry of the on-board device of Figs. 2 and 3;

Fig. 6 à ̈ una vista frontale di un dispositivo di interfacciamento, o cosiddetto totem, per l 'interfacciamento con l 'utente per l 'esecuzione di una pluralità di funzioni di utente, come sarà descritto più dettagliatamente in seguito; Fig. 6 is a front view of an interfacing device, or so-called totem, for interfacing with the user for the execution of a plurality of user functions, as will be described in more detail below;

Fig. 8 Ã ̈ una vista prospettica del dispositivo onboard secondo la presente invenzione montato su un'auto, ad esempio elettrica, di una flotta di analoghe auto in car sharing gestita e controllata mediante il procedimento ed il sistema di gestione e controllo secondo la presente invenzione; Fig. 8 is a perspective view of the onboard device according to the present invention mounted on a car, for example electric, of a fleet of similar cars in car sharing managed and controlled by the method and the management and control system according to the present invention;

Fig. 9 Ã ̈ un'ulteriore vista prospettica, analoga a Fig. 8, illustrante schematicamente il dispositivo onboard montato su un camion; Fig. 9 is a further perspective view, similar to Fig. 8, schematically illustrating the onboard device mounted on a truck;

Fig. 10 illustra una prima forma di realizzazione o configurazione di moduli software inclusi nel sistema inventivo, installati su di un'unica macchina che opera quindi come un unico server per la raccolta, registrazione, visualizzazione dei dati , gestione del noleggio di auto in car sharing e di singoli camion e/o autobus; Fig. 10 illustrates a first embodiment or configuration of software modules included in the inventive system, installed on a single machine which therefore operates as a single server for the collection, recording, display of data, management of car rental in car sharing and of single trucks and / or buses;

Fig. 11 illustra una vista analoga a Fig. 10, rappresentante una seconda possibile configurazione dei moduli software, in cui à ̈ possibile prevedere un numero variabile di postazioni di cliente con il modulo Viewer o visore e il modulo renting o di noleggio, in cui , specificatamente, la comunicazione tra il server ed il cliente avviene su connessioni TCP, per cui il server può essere localizzato separatamente dai clienti sia nella struttura del cliente sia in caso di struttura esterna, tale possibilità consentendo l 'attivazione del sistema anche nei casi in cui il cliente non abbia disponibilità di una linea internet adeguata per la ricezione dei dati da tutti i dispositivi UTR; Fig. 11 illustrates a view similar to Fig. 10, representing a second possible configuration of the software modules, in which it is possible to provide a variable number of customer stations with the Viewer module and the renting or rental module, in which , specifically, the communication between the server and the customer takes place over TCP connections, so the server can be located separately from the customers both in the customer's structure and in the case of an external structure, this possibility allowing the activation of the system even in cases where the customer does not have access to an adequate internet line for receiving data from all UTR devices;

Fig. 12 Ã ̈ uno schema a blocchi di massima illustrante i macroblocchi principali del dispositivo o sistema secondo la presente invenzione; Fig. 12 is a schematic block diagram illustrating the main macroblocks of the device or system according to the present invention;

Fig. 13 Ã ̈ un'ulteriore rappresentazione di possibili configurazioni di controllo e regolazione di potenza per il sistema inventivo; Fig. 13 is a further representation of possible power control and regulation configurations for the inventive system;

Fig . 14 rappresenta un ' ulteriore configurazione schematica a blocchi di possibi li di tastiera, alimentazione di potenza, luci di retroilluminazione di pannelli LCD, ospiti di utente, nonché di sistemi di comunicazione; Fig. 14 represents a further schematic block configuration of keyboard possibilities, power supply, backlighting lights of LCD panels, user guests, as well as communication systems;

Fig. 15 Ã ̈ un ulteriore possibile schema di un microcontrollore incluso nel sistema inventivo; Fig. 15 is a further possible scheme of a microcontroller included in the inventive system;

Fig. 16 il lustra ulteriore di foto-ingresso, ingresso analogico e uscita analogica per il sistema inventivo; Fig. 16 the further luster of photo-input, analog input and analog output for the inventive system;

Fig. 17 illustra ulteriori possibili configurazioni ci rcuitali di ingresso digitale, uscita di potenza, e uscita relà ̈ del si stema inventivo; Fig. 17 illustrates further possible circuit configurations of digital input, power output, and relay output of the inventive system;

Fig. 18 illustra una possibile , parzial -mente a componenti discreti e parzialmente a componenti integrati , di un lettore RFID costituente un componente basilare del si stema inventivo; Fig. 18 illustrates a possible, partially with discrete components and partially with integrated components, of an RFID reader constituting a basic component of the inventive system;

Fig. 19 illustra un 'ulteriore , parzialmente a componenti discreti e parzialmente a componenti integrati , del complesso GSM incluso nel sistema inventivo; Fig. 19 illustrates a further, partially with discrete components and partially with integrated components, of the GSM complex included in the inventive system;

Fig. 20 illustra ancora un'altra configurazione cuitale, parzialmente a componenti di screti e parzialmen-te a integrata, di un complesso GPRS incluso nel sistema inventivo; Fig. 20 illustrates yet another cultural configuration, partially screened and partially integrated, of a GPRS complex included in the inventive system;

Fig . 21 illustra un' ulteriore configurazione di cuiteria relativa al montaggio di un unico modulo GPS; e Fig. 21 illustrates a further design configuration relating to the assembly of a single GPS module; And

Fig. 22 illustra ancora ulteriore , parzialmente a componenti integrati e parzialmente a componenti discreti , per il complesso di retroilluminazione dei pannelli LCD del sistema inventivo. Fig. 22 illustrates still further, partially integrated and partially discrete, for the backlight assembly of the LCD panels of the inventive system.

Facendo ora specifico riferimento ai citati disegni , l 'invenzione sarà descritta con riferimento a due forme di realizzazione attualmente preferite di essa, che tuttavia non devono essere considerate in senso limitativo ed, in particolare, entrambe esemplificative del procedimento e del dispositivo o sistema di gestione e controllo di singoli veicoli , in particolare di singoli auto, camion ed autobus di rispettive flotte qualsiasi dimensione, importanza e destinazione. With specific reference now to the aforementioned drawings, the invention will be described with reference to two currently preferred embodiments thereof, which however must not be considered in a limiting sense and, in particular, both exemplifying the method and the management device or system. and control of single vehicles, in particular of single cars, trucks and buses of respective fleets of any size, importance and destination.

Con riferimento a Fig. 1, il dispositivo o sistema inventivo comprende un dispositivo on-board, indicato generalmente dal numero di riferimento 1 operativamente intercollegato, preferibilmente , con un server centrale o base di dati 2, a sua volta operativamente bidirezionalmente intercollegato con una centrale operativa preferibilmente 3 ed anche operativamente intercollegata bidirezionalmente, con una centrale amministrativa. With reference to Fig. 1, the inventive device or system comprises an on-board device, generally indicated by the reference number 1 operatively interconnected, preferably, with a central server or database 2, in turn operatively bi-directionally interconnected with a central operating preferably 3 and also operatively interconnected bidirectionally, with an administrative center.

Naturalmente, i menzionati collegamenti saranno attuati preferibilmente in un modo " ". Of course, the aforementioned links will preferably be implemented in a "" way.

Come si nota, il server centrale o base di dati 2, la centrale operativa 3 e la centrale amministrativa 4 sono inclusi , preferibilmente ma non necessariamente, in una unità di controllo remota integrata. As can be seen, the central server or database 2, the operations center 3 and the administrative center 4 are included, preferably but not necessarily, in an integrated remote control unit.

A tale proposito, tuttavia, à ̈ pure prevista la possibilità di installare la centrale amministrativa in posizione remota rispetto alla centrale operativa ad esempio in edifici amministrativi della società gestente il sistema inventivo. In this regard, however, it is also possible to install the administrative center in a remote position with respect to the operations center, for example in the administrative buildings of the company managing the inventive system.

Naturalmente, il dispositivo on-board 1 sarà anch'esso installato remotamente dalle menzionate unità 2, 3, 4, ossia sul veicolo desiderato, per muoversi con esso. Naturally, the on-board device 1 will also be installed remotely by the aforementioned units 2, 3, 4, ie on the desired vehicle, to move with it.

In Fig. 1, il dispositivo on-board 1 comprende, come in un singolo alloggiamento scatolare 5 un complesso visualizzatore 6, ad esempio di tipo LCD a schermo a tocco, o qualsiasi altro tipo adatto, presentante, sulla sua faccia frontale, cioà ̈ quella rivolta verso il guidatore del veicolo, almeno una fessura 7, un complesso di tasti 8, opzionale, ed un complesso di spie luminose 9, ad esempio a LED. In Fig. 1, the on-board device 1 comprises, as in a single box-like housing 5, a display assembly 6, for example of the LCD type with touch screen, or any other suitable type, having, on its front face, that is the one facing the driver of the vehicle, at least one slot 7, a set of buttons 8, optional, and a set of warning lights 9, for example with LEDs.

Secondo un importante aspetto della presente invenzione, il sistema inventivo include una Smart Card o Carta intelligente che, in Fig. 4 Ã ̈ stata indicata generalmente dal numero di riferimento 8, e che costituisce la carta d'utente, in cui sono memorizzate, preferibilmente in modo permanente, tutti i dati relativi allo specifico utente o guidatore. According to an important aspect of the present invention, the inventive system includes a Smart Card or Intelligent Card which, in Fig. 4 has been generally indicated by the reference number 8, and which constitutes the user card, in which they are stored, preferably permanently, all data relating to the specific user or driver.

La smart card 8 à ̈ in particolare prevista per essere inserita nella fessura 7 del dispositivo on-board 1, per attivare le funzionalità del sistema e del procedimento inventivo. The smart card 8 is in particular foreseen to be inserted in the slot 7 of the on-board device 1, to activate the functions of the system and of the inventive process.

Fig. 5 illustra uno schema a blocchi di massima del dispositivo on-board 1. Fig. 5 illustrates a general block diagram of the on-board device 1.

Tale dispositivo comprende un computer di bordo 10, un complesso di schede elettroniche 11, i nterfacciato con detto computer 10, in modo di per sé noto, le schede essendo specificatamente progettate per GPS, connessione voce/dati , connessione alla centralina elettronica dell 'auto o del camion (non mostrata) , per il controllo della carica delle batterie, per la limitazione della velocità ed altre funzioni . This device comprises an on-board computer 10, a set of electronic cards 11, interfaced with said computer 10, in a per se known way, the cards being specifically designed for GPS, voice / data connection, connection to the electronic control unit of the car or truck (not shown), for battery charge control, speed limitation and other functions.

Il dispositivo 1 comprende inoltre un complesso di antenne GPS e GPRS e/o RFID, 12, un display LCD, anch’esso preferibilmente, di tipo "touch screen" 13, un complesso acustico 14, preferibilmente un altoparlante a vivavoce tra utente e centrale, nonché un complesso di spie luminose 14, preferibilmente includente almeno un LED verde e un LED rosso (per segnalare se l 'auto à ̈ libera, prenotata o con batteria scarica) . The device 1 further comprises a set of GPS and GPRS and / or RFID antennas, 12, an LCD display, also preferably of the "touch screen" type 13, an acoustic unit 14, preferably a hands-free speaker between user and central, as well as a set of warning lights 14, preferably including at least one green LED and one red LED (to indicate whether the car is free, reserved or with a flat battery).

Secondo la presente invenzione, il dispositivo onboard à ̈ stato specificatamente progettato per svolgere le funzioni seguenti: 1) riconoscere l'utente attraverso la lettura della card tramite apposito dispositivo (antenna RFID) o inserimento lettore; 2) ricaricare il credito tramite pos virtuale in cui, per l'operazione di ricari-ca, dopo il riconoscimento dell'utente, sul display 13 appare il credito ancora posseduto dall'utente e la domanda se desidera ricaricarsi. Se la scelta à ̈ si , il com-puter 10 si collega, ad esempio via Internet, all'area riservata del sito web aziendale per essere ri-indirizzato su una pagina protetta della banca e l'utente può effettuare il pagamento fornendo i dati sulla carta di credito; B) abilitare l'auto alla marcia; 4) impostare una destinazione ed effettuare la navigazione; 5) consentire all'utente se parcheggiare l'auto tenendola occupata o lasciarla definitivamente a disposizione di altri uten-ti; 6) gestire la tariffazione della corsa, effettuando il prelievo dell'importo, dalla somma precaricata; 7) mo-nitorare lo stato di carica delle batterie ed avvertire l'utente e la centrale operativa quando à ̈ il momento di recarsi ad un parcheggio per il cambio dell'auto. La centrale operativa 3 potrà a tale proposito pilotare l'uten-te verso il parcheggio più vicino che abbia un'auto disponibile. Anche il navigatore potrà fornire le medesime funzioni; 8) limitare la velocità in determinate aree, individuate dalla centrale di controllo o operativa 3, come ad esempio centri storici , zone pedonali , parchi e giardini , ospedali , cimiteri e fiere, aree private, ma, in particolare, per camion e autobus, anche strade comunali , provinciali , statali ed autostrade; 9) inviare, in particolare per camion e/o autobus, la segnalazione di superamento di alcuni parametri come velocità consentita, tempi di guida o la concentrazione di terminate sostanze al server del sistema; 10) forni re l 'elenco di destinazioni come punti di interesse turistico, commerciale, culturale o sportivo di una città; 11) forni re l 'elenco dei gi ri turistici , gi ri eno-gastronomici o percorsi per lo shopping; e vantaggiosamente 12) presentare banner pubblicitari sul display 6. Sfioratura del banner consente al navigatore di condurre l 'utente presso il negozio di attività che ha inserito la pubblicità, tale possibilità consentendo vantaggiosamente di rendere ancora più remunerativa l 'affitto della macchina; 13) presentare e far scorrere comunicazioni e messaggi inviati dalla centrale operativa 3; 14) presentare e far scorrerei messaggi di info-mobilità, come ad esempio provenienti dalla pubblica amministrazione o da altri enti analoghi ; 15) presentare, in particolare per camion e/o autobus, messaggi per gli autisti di tale camion ed autobus nel caso stiano per commettere un'infrazione relativamente a velocita, guida in stato di ebbrezza, o sotto l 'influsso di stupefacenti ; 16) parlare in vivavoce con la centrale operativa 3 e, inoltre, in modo particolarmente vantaggioso, navigare in internet. According to the present invention, the onboard device has been specifically designed to perform the following functions: 1) recognize the user by reading the card through a special device (RFID antenna) or inserting the reader; 2) top up the credit via virtual pos in which, for the top-up operation, after the user has been recognized, the credit still held by the user appears on the display 13 and the question whether he wishes to top up. If the choice is yes, the computer 10 connects, for example via the Internet, to the reserved area of the company website to be redirected to a protected page of the bank and the user can make the payment by providing the data on the credit card; B) enable the car to drive; 4) set a destination and navigate; 5) allow the user to park the car while keeping it occupied or leave it permanently available to other users; 6) manage the fare pricing, by withdrawing the amount from the preloaded sum; 7) monitor the state of charge of the batteries and warn the user and the operations center when it is time to go to a car park to change the car. For this purpose, the operations center 3 will be able to guide the user to the nearest car park that has a car available. The navigator can also provide the same functions; 8) limit the speed in certain areas, identified by the control or operational center 3, such as historic centers, pedestrian areas, parks and gardens, hospitals, cemeteries and fairs, private areas, but, in particular, for trucks and buses, also municipal, provincial and state roads and highways; 9) send, in particular for trucks and / or buses, the notification of exceeding certain parameters such as permitted speed, driving times or the concentration of finished substances to the system server; 10) to provide a list of destinations as points of tourist, commercial, cultural or sporting interest in a city; 11) provide a list of tourist tours, food and wine tours or shopping routes; and advantageously 12) present advertising banners on the display 6. Touching the banner allows the navigator to lead the user to the business shop that has inserted the advertisement, this possibility advantageously allowing to make the rental of the machine even more profitable; 13) present and scroll through communications and messages sent by the operations center 3; 14) present and scroll the info-mobility messages, such as coming from the public administration or other similar bodies; 15) to present, in particular for trucks and / or buses, messages for the drivers of such trucks and buses in the event they are about to commit an infringement relating to speeding, driving under the influence of alcohol, or under the influence of drugs; 16) speak hands-free with the operations center 3 and, moreover, in a particularly advantageous way, surf the internet.

Vantaggiosamente, i qui sopra menzionati punti da 8) a 15) sono gestibili e modificabili dalla menzionata centrale operativa 3. Advantageously, the aforementioned points 8) to 15) can be managed and modified from the aforementioned operations center 3.

Così , il dispositivo on-board 1 dialoga di rettamente ed à ̈ strettamente connesso con il server centrale 2 del sistema, con la centrale operativa 3 e con la centrale amministrativa 4, che sono in grado di assolvere a diverse funzioni , che possono essere raggruppate, a titolo indicativo ma non limitativo, nelle seguenti aree gestionali : lA) gestione anagrafica e clienti ; 2 A) gestione listini ; 3A) gestione delle flotte e delle singole auto con scheda per le manutenzioni ; 4A) gestione delle prenotazioni ; 5A) gestione dei siti turistici ed istituzionali , 6A) gestione delle aree e dei gi ri turistici ; 7 A) gestione dei banner pubblicitari e dei messaggi ; 8A) gestione degli archivi dei viaggi dei camion ed autobus; 9A) gestione delle infrazioni . Thus, the on-board device 1 communicates directly and is strictly connected with the central server 2 of the system, with the operations center 3 and with the administrative center 4, which are able to perform various functions, which can be grouped, as an indication but not limited to, in the following management areas: lA) data and customer management; 2 A) price lists management; 3A) management of fleets and individual cars with maintenance card; 4A) management of reservations; 5A) management of tourist and institutional sites, 6A) management of tourist areas and tours; 7 A) management of advertising banners and messages; 8A) management of the travel archives of trucks and buses; 9A) management of infringements.

Il server centrale 2 , o base di dati , à ̈, specificatamente, un computer ove risiede software in grado di : 1B) ricevere le connessioni dalle unità telemetriche remote e a moduli software utilizzatori ; 2B) registrare nella base di dati tutti i dati telemetrici ricevuti ; 3B) visualizzare i dati su supporto cartografico ed interagi re con l 'operatore per l 'interrogazione delle informazioni ; 4B) inviare automaticamente prove delle infrazioni alle competenti autorità e alle singole aziende di trasporto per notifica o informazione; e 5B) inviare periodicamente i dati relativi ai viaggi alle aziende di trasporto che possiedono la flotta. The central server 2, or database, is, specifically, a computer containing software capable of: 1B) receiving connections from remote telemetry units and user software modules; 2B) record all the telemetry data received in the database; 3B) view the data on cartographic support and interact with the operator to query the information; 4B) automatically send proof of infringements to the competent authorities and to the individual transport companies for notification or information; and 5B) periodically send the travel data to the transport companies that own the fleet.

Relativamente alla centrale operativa 3, i compiti affidati ad essa saranno vantaggiosamente i seguenti : le) tracciamento veicoli e ri porti stica a flussi ; 2C) controllo della posizione di tutti i veicoli ; 3C) calcolo dei tempi di utilizzo; 4C) registrazione storica di tutti i dati ; 5C) attivazione all 'uso del veicolo; 6C) interconnessione a sistemi di info-mobilità; 7 C) esecuzione di chiamate vocali all 'autista del veicolo; 8C) rilevazione immediata di una segnalazione di emergenza proveniente da un veicolo; 9c) rilevazione immediata di un eventuale segnalazione di impatto; 10C) ricerca di tutti i veicoli presenti entro una certa distanza da un punto indicato sulla mappa, indicandone lo stato di LED verde o rosso; e inoltre, vantaggiosamente, Ile) trasmissione di messaggi (messaggi in info-mobilità, indicazioni stradali , ordine di servizio, avvisi) sia ad un veicolo specifico sia contemporaneamente in tutti i veicoli ; 12C) segnalazione all 'utente del fatto che la carica delle batterie sta esaurendosi , così da pilotare tale utente al parcheggio più vicino per la sostituzione del l ' auto; 1BC) bloccaggio del veicolo in caso di uso improprio dopo aver avvertito l ' utente con connessione vocale; 14C) gestione del parco o flotta veicoli con il controllo dei veicol i di sponibi li , in uso e in ricarica; 15C) prenotazione facoltativa dell 'auto, con inserimento dell 'anagrafica della parte prenotante; cambio LED da verde a rosso; 16C) definizione di aree specifiche con l imitazione di velocità o di accesso ad aree cittadine; 17C) segnalazione automatica in presenza di particolari eventi come ad esempio veicolo usci -to da un perimetro o percorso predefinito e, specificatamente per camion ed autobus, velocità massima superata, tempo di guida superato, guida in stato di ebbrezza o sotto l ' infl usso di stupefacenti e così via. With regard to the operations center 3, the tasks assigned to it will advantageously be the following: i) vehicle tracking and flow recovery; 2C) control of the position of all vehicles; 3C) calculation of usage times; 4C) historical recording of all data; 5C) activation for use of the vehicle; 6C) interconnection to info-mobility systems; 7 C) making voice calls to the driver of the vehicle; 8C) immediate detection of an emergency signal from a vehicle; 9c) immediate detection of any impact report; 10C) search for all the vehicles present within a certain distance from a point indicated on the map, indicating the status of the green or red LED; and also, advantageously, Ile) transmission of messages (info-mobility messages, road directions, service order, warnings) both to a specific vehicle and to all vehicles at the same time; 12C) signaling to the user that the battery charge is running out, so as to drive this user to the nearest parking lot to replace the car; 1BC) locking of the vehicle in case of improper use after having warned the user with voice connection; 14C) management of the vehicle fleet or fleet with control of the vehicles available, in use and recharging; 15C) optional booking of the car, with insertion of the personal details of the booking party; LED change from green to red; 16C) definition of specific areas with imitation of speed or access to city areas; 17C) automatic signaling in the presence of particular events such as for example a vehicle leaving a predefined perimeter or route and, specifically for trucks and buses, maximum speed exceeded, driving time exceeded, driving under the influence of alcohol drugs and so on.

Relativamente alla centrale amministrativa 4, essa à ̈ stata specificatamente progettata per essere preferibilmente installata presso gli uffici della società gestionale, ed essendo in grado di espletare preferibilmente, vantaggiosamente, ma non esclusivamente, le funzioni seguenti : 1D) inserimento delle anagrafiche dei clienti ; 2D) inserimento del pagamento dei clienti ; 3D) lettura del le medesime informazioni disponibili per la centrale operativa 3 ; 4D) gestione di listini ; 5D) gestione ammi nistrati va dei clienti come rendiconto traffico, rendi -conto azione navigazione internet, incassi di ricarica card, fatturazione, reportistica; 6D) fatturazione via mail o posta alla clientela; 7D) registrazione di monu-menti , siti di turistico, commerciale o istituzionale con inserimenti di testi , foto, indi rizzi e altre info; 8D) definizione di turistici , eno-gastronomi -ci , o locali notturni collegando insieme le registrazioni dei siti di interesse caricati , nella quale operazione il navigatore provvederà a condurre l ' utente lungo tutto il percorso scelto; 9D) interconnessione con altri si stemi operativi per garanti re l ' uso del servizio agli abbonati e ad altre società car sharing o di tra-sporto, qual i ferrovie, aziende municipalizzate di trasporto etc. ; 10D) gestione dei banner pubblicitari ; 11D) gestione dei banner per la presentazione di eventi culturali sportivi e sociali organizzati dal comune; e 12D) tocco del banner relativo ad un evento culturale o ad un esercizio reclamizzato attivando la funzione di navigazione per i l percorso guidato a eventi prescelto, il banner essendo vantaggiosamente inviato dalla centrale ope-rativa su ciascun di spositivo on-board attraverso GPRS. With regard to the administrative center 4, it has been specifically designed to be preferably installed in the offices of the management company, and being able to preferably, but not exclusively, perform the following functions: 1D) insertion of customer data; 2D) insertion of customer payments; 3D) reading of the same information available for the operations center 3; 4D) management of price lists; 5D) customer administration management such as traffic report, internet browsing action report, card recharge collections, invoicing, reporting; 6D) invoicing by mail or post to customers; 7D) registration of monuments, tourist, commercial or institutional sites with insertion of texts, photos, addresses and other info; 8D) definition of tourist, food and wine, or night clubs by linking together the records of the sites of interest loaded, in which operation the navigator will lead the user along the entire chosen path; 9D) interconnection with other operational systems to guarantee the use of the service to subscribers and other car sharing or transport companies, such as railways, municipal transport companies, etc. ; 10D) management of advertising banners; 11D) management of banners for the presentation of cultural, sporting and social events organized by the municipality; and 12D) touching the banner relating to a cultural event or a advertised exercise by activating the navigation function for the guided tour to the selected events, the banner being advantageously sent by the operating center to each on-board device via GPRS.

Con riferimento a Fig. 6, sarà ora descritto un di -spositivo, cosiddetto totem, indicato generalmente dalla lettera di riferimento T, il quale à ̈ stato specificatamente progettato, secondo un'ulteriore peculiarità dell'invenzione, per facilitare al massimo l'iscrizione al servizio di car sharing, consentendo al cittadino o altro straniero di abbonarsi, immediatamente e senza la necessità di intervento umano, 24 ore al giorno per 365 giorni all'anno, in una pluralità di posti scelti tra quelli a maggior affluenza di pubblico, aeroporti, stazioni, metropolitane, piazze, cittadine etc. Il totem T à ̈ vantaggiosamente previsto per avere protezione IP 67 per consentire il posizionamento all'aperto ed à ̈ dotato di un schermo o touch screen, indicato generalmente dal numero di riferimento 16, ad alta illuminazione, per essere visibile anche in pieno sole. With reference to Fig. 6, a device, so-called totem, will now be described, generally indicated by the reference letter T, which has been specifically designed, according to a further peculiarity of the invention, to facilitate registration as much as possible. to the car sharing service, allowing the citizen or other foreigner to subscribe, immediately and without the need for human intervention, 24 hours a day, 365 days a year, in a plurality of places chosen from those with the greatest number of visitors, airports , stations, subways, squares, towns etc. The totem T is advantageously designed to have IP 67 protection to allow outdoor positioning and is equipped with a high illumination screen or touch screen, generally indicated by the reference number 16, to be visible even in full sun.

Tale totem rappresenta in pratica un "ufficio virtuale" che emula le funzioni di un ufficio vero e proprio, ed à ̈ quindi in grado di abbonare nuovi utenti in modo automati zzato . This totem basically represents a "virtual office" that emulates the functions of a real office, and is therefore able to subscribe new users in an automated way.

Il totem T Ã ̈ predisposto inoltre per le emissioni di altre smart card, in particolare essendo previsti i cosiddetti biglietti elettronici, ovverosia titoli di viag-gio elettronici validi per le aziende di trasporto pub-blico locale e ferrovie. Totem T is also designed for the issuance of other smart cards, in particular as the so-called electronic tickets are provided, ie electronic travel tickets valid for local public transport companies and railways.

In previsione della diffusione di tali biglietti elettronici, che dovrebbero garantire 1 ' i nteroperatività dei diversi mezzi di trasporto affrancando il viaggiatore alla necessità di disporre di tanti biglietti diversi ma al contrario utilizzare una sola smart card. In anticipation of the diffusion of these electronic tickets, which should guarantee the interoperability of the various means of transport, freeing the traveler from the need to have many different tickets but, on the contrary, use a single smart card.

Così, il totem à ̈ stato pure specificatamente progettato per consentire all'utente di pagare ad un solo ente, e a tal fine il microchip della carta d'utente riconoscerà l'utente ed i viaggi che compie su vari circuiti registrando quindi un database che consente pertanto al sistema informatico le emissioni periodiche del prospetto e rendi contazione contabile per l'accredito dei corrispettivi di competenza alle singole aziende di trasporto. Tuttavia poiché sul microchip della carta utente sono memori zzabi li varie aziende di trasporto, in alternativa à ̈ possibile accreditare l’importo che l’utente ha caricato direttamente su una specifica azienda. Thus, the totem has also been specifically designed to allow the user to pay to a single entity, and for this purpose the microchip of the user card will recognize the user and the trips he makes on various circuits, thus registering a database that therefore, it allows the computer system to periodically issue the prospectus and report on the accounts for the crediting of the fees pertaining to the individual transport companies. However, since various transport companies are stored on the microchip of the user card, as an alternative it is possible to credit the amount that the user has uploaded directly to a specific company.

Questa opzione ha il pregio di evitare le rendi contazioni ed i conguagli di fine mese tra i vari operatori e consente all’utente di avere una sola card per viaggiare su tutte le modalità ferro - gomma, ma ha lo svantaggio che obbliga l’utente ad effettuare tante ricariche quanti sono gli operatori. This option has the advantage of avoiding returns and end-of-month adjustments between the various operators and allows the user to have a single card to travel on all rail - road modes, but has the disadvantage that it requires the user to make as many top-ups as there are operators.

In particolare il totem à ̈ stato pure specificatamente progettato per assolvere le seguenti funzioni 1E) : presentare un informazione di base sulle caratteristiche del servizio sul proprio 16, touch screen a LCD, le stesse presenti sul sito web del servizio; 2E) forni re, in alternativa, connessioni internet per collegarsi al sito della società di car sharing; 3E) consenti re la registrazione immediata di nuovi abbonati attraverso le seguenti funzioni : 3.1E la patente, ad esempio introdotta nella fessura 17 del totem, e registrare il nuovo abbonato nell 'archivio informatico; 3.2E inserire dati anagrafici del nuovo abbonato da tastiera 18 sul display touch screen; 3.3E inserire dati relativi alla carta di credito, da tenere quale garanzia in caso di incidenti ; 3.4E inseri re l ' mail per spedizione, contratto, fattura, comunicazione etc. ; 3.5E accettare le clausole contrattuali mediante conferma da tastiera; 3.6E inserire il pin sulla smart card, e memorizzare il relativo numero nella base di dati ; 3.7E emettere la card di abbonamento al servizio, con stampa del nome dell 'utente; 3.8E assegnare il pin che consente al nuovo abbonato l 'accesso all 'area riservata del sito web; 3.9E trasmissione di tutti questi dati al data base residente sul server; 4E) connettersi al sito per consentire all 'utente di ricaricare il proprio credito, anche se sarebbe preferibile farlo dal bordo dell 'auto per evitare code al totem; 5E) parlare con la centrale operativa 3 per ottenere assistenza all 'iscrizione; 6E) consenti re l 'emissione di altre smart card, cioà ̈ dei cosiddetti biglietti elettronici , ad esempio attraverso un'ulteriore fessura 19 ovverosia di titoli di viaggio elettronici validi per le aziende di trasporto pubblico locale e ferrovie. In particular, the totem was also specifically designed to perform the following functions 1E): to present basic information on the characteristics of the service on its 16, LCD touch screen, the same as those present on the service website; 2E) alternatively, provide internet connections to connect to the car sharing company's website; 3E) allow the immediate registration of new subscribers through the following functions: 3.1E the driving license, for example introduced in slot 17 of the totem, and register the new subscriber in the computer archive; 3.2E enter personal data of the new subscriber from the keyboard 18 on the touch screen display; 3.3E enter data relating to the credit card, to be kept as a guarantee in case of accidents; 3.4 And insert the email for shipment, contract, invoice, communication etc. ; 3.5E accept the contractual clauses by keyboard confirmation; 3.6E insert the pin on the smart card, and store its number in the database; 3.7E issue the service subscription card, with the user's name printed; 3.8E assign the pin that allows the new subscriber to access the reserved area of the website; 3.9E transmission of all these data to the database residing on the server; 4E) connect to the site to allow the user to top up his credit, even if it would be preferable to do so from the edge of the car to avoid queues at the totem pole; 5E) speak with the operations center 3 to obtain assistance with registration; 6E) to allow the issuance of other smart cards, ie so-called electronic tickets, for example through an additional slot 19, ie electronic travel tickets valid for local public transport companies and railways.

Così , da quanto precede risulterà chiaro all 'esperto del ramo che il modello operativo inventivo si discosta nettamente da quello delle altre società di car sharing così da eliminare tutte le cause che hanno finora limitato dal diffusione di tale sistema e inciso negativamente sui risultati di bilancio. Brevemente, e riassumendo, i punti caratterizzanti del procedimento e del sistema inventivo sono modalità di abbonamento anche automatizzato, con totem T di emissione collocati in punti di grande afflusso; nessun canone di abbonamento al servizio; pagamento del noleggio preferibilmente solo in base al tempo di utilizzo e non ai chilometri percorsi ; nessun obbligo di prenotazione, si vede l 'auto libera sulla pubblica via e la si può prendere immediatamente; pagamento tramite pos vi rtuale sul totem o sul computer di bordo auto; libertà di parcheggio; libertà di lasciare l 'auto su un parcheggio diverso da quello di presa; parcheggi posizionati all 'aperto, sulla pubblica via, diffusi capillarmente nei punti di maggior affluenza del pubblico; aeroporti , stazioni ferroviarie, terminali portuali , metropolitane, principali piazze cittadine etc; disponibilità di navigazione di guida turistica, inserimento di gi ri turistici , eno-gastronomici , shopping, punti di interesse istituzionali e culturali georeferenziati ; software che consente di avverti re automaticamente l 'utente della necessità di cambiare auto per esaurimento batterie, con secondo livello di guardia tramite intervento di operatore della centrale operativa; fido concesso all 'utente che gli consente di terminare la corsa anche all 'esaurimento del credito prepagato; uno o due soli modelli di auto per la flotta, così da ottimizzare i formati per le decorazioni pubblicitarie sulla carrozzeria, la pubblicità divenendo così una fonte di ricavo fondamentale, utile per abbattere il costo di noleggio e consentire quindi l 'accesso del servizio ad un più ampio numero di cittadini ; software per l 'inserimento di banner pubblicitari sullo schermo del navigatore; software consentente di trasmettere i messaggi audio o video di info-mobilità sul navigatore; e, non ultimo, software predisposto per il riconoscimento di abbonati ed altri ci rcuiti di car sharing e abilitazione all 'uso dell 'auto, nonché rendi contazione contabile per addebiti o accrediti periodici con gli altri operatori . Thus, from the foregoing it will be clear to the expert in the field that the inventive operating model clearly differs from that of the other car sharing companies so as to eliminate all the causes that have hitherto limited the diffusion of this system and negatively affected the results. budget. Briefly, and summarizing, the characterizing points of the process and of the inventive system are subscription modalities, including automated ones, with emission totems T placed in points of great influx; no subscription fee for the service; payment of the rental preferably only based on the time of use and not on the kilometers traveled; no obligation to book, you can see the car free on the public road and you can take it immediately; payment via pos vi rtual on the totem or on the on-board computer; freedom of parking; freedom to leave the car on a parking lot other than the one where the car was taken; car parks located in the open, on the public road, widespread in the points of greatest affluence of the public; airports, railway stations, port terminals, subways, main city squares etc; availability of tourist guide navigation, inclusion of tourist, food and wine tours, shopping, georeferenced institutional and cultural points of interest; software that automatically warns the user of the need to change cars due to battery exhaustion, with a second level of guard through the intervention of an operator of the operations center; credit granted to the user which allows him to finish the ride even when the prepaid credit is exhausted; only one or two car models for the fleet, so as to optimize the formats for advertising decorations on the bodywork, advertising thus becoming a fundamental source of revenue, useful for reducing the rental cost and thus allowing access to the service to a larger number of citizens; software for inserting advertising banners on the navigator screen; software allowing to transmit audio or video info-mobility messages on the navigator; and, last but not least, software designed for the recognition of subscribers and other car sharing circuits and authorization to use the car, as well as accounting for periodic debits or credits with other operators.

Per la gestione delle flotte di autocarri ed autobus il procedimento e sistema inventivo consente di identificare e mappare esattamente delle aree specifiche, quali ad esempio aree cittadine o strade provinciali , statali od autostradali , ed associare ad esse i limiti di velocità effettivamente imposti su ogni singolo tratto. For the management of the fleets of trucks and buses, the inventive procedure and system allows to identify and map exactly specific areas, such as for example city areas or provincial, state or motorway roads, and associate to them the speed limits actually imposed on each individual. treatment.

Il sistema à ̈ quindi in grado di rilevare immediatamente qualsiasi infrazione ed inviare in tempo reale alle competenti autorità la segnalazione d’infrazione, che riporta il nome del conducente e tutti i dati registrati durante il viaggio. The system is therefore able to immediately detect any infringement and send the infringement report in real time to the competent authorities, showing the name of the driver and all the data recorded during the journey.

A completamento, e come appendice, viene qui di seguito allegata un’ulteriore descrizione dettagliata, supportante gli intensi studi della Richiedente per pervenire al procedimento e al sistema inventivi precedentemente descritti , la quale descrizione dettagliata à ̈ qui specificatamente correlata all 'aspetto software dell 'invenzione. To complete, and as an appendix, a further detailed description is attached hereafter, supporting the intense studies of the Applicant to arrive at the inventive process and system previously described, which detailed description is herein specifically related to the software aspect of the 'invention.

La Richiedente ritiene tuttavia che tale descrizione dettagliata, alla luce degli acclusi schemi ci rcuitali sia più che sufficiente a consenti re al tecnico del ramo di attuare l 'invenzione, anche nell ’aspetto hardware, alla luce degli insegnamenti precedenti e con abituale adattamento di routine. However, the Applicant believes that this detailed description, in the light of the enclosed circuit diagrams, is more than sufficient to allow the person skilled in the art to implement the invention, also in the hardware aspect, in the light of the previous teachings and with habitual adaptation. routine.

APPENDICE APPENDIX

Per lo sviluppo del software sono stati considerati i protocolli di tipo 0 (flotte di auto in car sharing) e di tipo 1 (flotte di autocarri ed autobus) e, corrispondentemente, di dispositivi di tipo 0 e di tipo 1. For the development of the software, the protocols of type 0 (fleets of cars in car sharing) and type 1 (fleets of trucks and buses) and, correspondingly, of type 0 and type 1 devices were considered.

Tra le principali funzionalità del MuxHub vanno menzionate le seguenti : Among the main features of the MuxHub the following should be mentioned:

• gestione del protocollo di comunicazione con i dispositivi e il modulo Viewer e registrazione delle stringhe scambi ate ; â € ¢ management of the communication protocol with the devices and the Viewer module and recording of the exchanged strings;

» registrazione dei percorsi effettuati dai dispositivi , orari di partenza, sosta ed arrivo. »Recording of the routes taken by the devices, times of departure, stop and arrival.

• gestione dell 'autenticazione degli utenti , calcolo e registrazione del credito residuo e trasmissione dello stesso al dispositivo (credito residuo non applicabile nei dispositivi di tipo 1) â € ¢ management of user authentication, calculation and registration of residual credit and transmission of the same to the device (residual credit not applicable in type 1 devices)

• verifica della presenza del dispositivo all 'interno delle aree configurate; â € ¢ verification of the presence of the device inside the configured areas;

• gestione del superamento di alcuni parametri (velocità, tempi di guida, concentrazione di alcune sostanze) ; e registrazione dei log di errore; â € ¢ management of exceeding certain parameters (speed, driving times, concentration of certain substances); and recording of error logs;

• gestione delle estensioni delle corse (solo per dispositivi di ti po 0) ; â € ¢ management of travel extensions (only for type 0 devices);

• gestione delle penali (solo per dispositivi di tipo 0) ; • gestione delle disconnessioni e riconnessioni dei dispositivi . â € ¢ management of penalties (only for type 0 devices); â € ¢ management of device disconnections and reconnections.

Il modulo à ̈ implementato in C# per .NET 2.0. The module is implemented in C # for .NET 2.0.

2. Concetti fondamentali 2. Fundamental concepts

Corse e crediti Racing and credits

Un numero qualsiasi di dispositivi , anche di tipi diversi , può essere collegato, in un dato istante, al MuxHub. Inoltre, diverse istanze del modulo stesso possono essere in esecuzione, in un dato istante, su diversi server, e ogni dispositivo pile) scegliere di collegarsi ad un certo server o ad un altro, in particolare, à ̈ consigliata un'architettura basata sulla presenza di almeno due istanze MuxHub contemporaneamente in esecuzione (si veda oltre, in sezione "Connessioni e disconnessioni") . Any number of devices, even of different types, can be connected to the MuxHub at any given time. Furthermore, several instances of the same module can be running, at a given moment, on different servers, and each device stacks) choose to connect to a certain server or to another, in particular, a presence-based architecture is recommended of at least two MuxHub instances running at the same time (see below, in the "Connections and disconnections" section).

Ogni dispositivo si presenta al MuxHub stabilendo una connessione TCP e inviando una stringa di tipo "AO" (si veda oltre per i dettagli sul protocollo) con la specificazione del tipo e del numero del dispositivo, ogni altra stringa (non di tipo "AO") inviata all 'inizio della sessione viene considerata dal MuxHub errata, e quindi scartata. Each device introduces itself to the MuxHub establishing a TCP connection and sending a string of type "AO" (see below for details on the protocol) with the specification of the type and number of the device, any other string (not of type "AO" ) sent at the beginning of the session is considered wrong by the MuxHub, and therefore discarded.

L'invio della stringa di tipo "AO" viene ottenuto, sui veicoli , gi rando la chiave del cruscotto. The sending of the "AO" type string is obtained, on vehicles, by turning the dashboard key.

Dopo la presentazione del dispositivo, nei protocolli di tipo 0 e 1, può avvenire l 'autenticazione e l 'inizio della corsa, in questi casi , ad ogni utente viene assegnata una card. Nel protocollo di tipo 0 la card à ̈ ri caricabile: si tratta di un tag RFID al quale à ̈ associato un codice, e al codice à ̈ associato un credito prepagato dal quale viene detratto in tempo reale il costo delle corse. E' definito un fido associato al singolo cliente; se questo à ̈ nullo viene considerato invece un fido generico di default. La richiesta di autenticazione da parte di un dispositivo viene segnalata al MuxHub con una stringa di tipo "A15". La stringa di tipo "A15" contiene l 'indicazione del codice RFID acquisito dal lettore a bordo del dispositivo; MuxHub associa tale codice al cliente e al credito residuo, accedendo a informazioni contenute nel database PostgreSQL. il MuxHub risponde quindi alla stringa di tipo "A15" comunicando l 'esito dell 'autenticazione e il credito residuo associato alla card, in questo processo di autenticazione, MuxHub riconosce eventuali situazioni anomale, che determinano il fallimento dell 'autenticazione (e l 'impossibilità da parte del cliente di iniziare la corsa) : After the presentation of the device, in the type 0 and 1 protocols, authentication can take place and the start of the run, in these cases, each user is assigned a card. In the type 0 protocol the card can be loaded again: it is an RFID tag to which a code is associated, and a prepaid credit is associated with the code from which the cost of the trips is deducted in real time. A credit line associated with a single customer is defined; if this is nil, it is instead considered a generic default credit line. The authentication request by a device is signaled to the MuxHub with a string of type "A15". The string of type "A15" contains the indication of the RFID code acquired by the reader on board the device; MuxHub associates this code to the customer and to the remaining credit, accessing information contained in the PostgreSQL database. the MuxHub then responds to the string of type "A15" communicating the outcome of the authentication and the residual credit associated with the card, in this authentication process, MuxHub recognizes any anomalous situations, which determine the authentication failure (and the impossibility of part of the customer to start the ride):

• card bloccata o non abilitata; â € ¢ card blocked or not enabled;

• utente non abilitato; â € ¢ user not enabled;

• credito residuo inferiore a zero (considerando il fido) ; â € ¢ residual credit below zero (considering the overdraft);

• veicolo "esteso" da un'altra card (vedi oltre) . â € ¢ vehicle "extended" by another card (see below).

in caso di autenticazione positiva, il dispositivo consente al cliente l 'inizio effettivo della corsa, che viene segnalato al MuxHub con una stringa di tipo "Al9". in case of positive authentication, the device allows the customer to actually start the run, which is signaled to the MuxHub with a string of type "Al9".

Al momento dell 'inizio della corsa, viene addebitato un costo di attivazione dal credito residuo della card; una card può però essere impostata come "esente" da attivazione, nel qual caso il costo non viene addebitato. At the time of the start of the race, an activation fee is charged from the remaining credit of the card; however, a card can be set as "exempt" from activation, in which case the cost is not charged.

Sempre nei protocolli di tipo 0 e 1, il termine di una corsa viene invece segnalato con una stringa di tipo "Al 7". Again in type 0 and 1 protocols, the end of a run is instead signaled with a string of type "Al 7".

All 'interno della corsa, cioà ̈ nel periodo compreso tra un segnale di tipo "Al9" e un segnale di tipo "A17", viene conteggiato il costo della corsa, che viene scalato a intervalli regolari , secondo un listino registrato sul database, dal credito associato alla card del cliente. Messaggi di stato e di posizione Inside the race, that is, in the period between an "Al9" signal and an "A17" type signal, the cost of the trip is counted, which is deducted at regular intervals, according to a price list registered on the database, by credit associated with the customer's card. Status and position messages

Il dispositivo può inviare, con una periodicità dipendente dalla velocità e dalla variazione della direzione di avanzamento, stringhe di tipo "Al 2", contenenti informazioni sulla posizione corrente; può inoltre inviare periodicamente stringhe di tipo "All", contenenti informazioni sullo stato corrente del veicolo. The device can send "Al 2" type strings containing information on the current position, with a periodicity depending on the speed and the variation of the forward direction; it can also periodically send "All" type strings, containing information on the current state of the vehicle.

Il MuxHub controlla, ad ogni ricezione di una stringa di tipo "Al 2", se il dispositivo si trovi in una delle aree configurate (ad esempio: parcheggi , aree vietate, aree a velocità limitata, aree esterna al perimetro massimo consentito, autostrade, strade statali o comunali) e lo notifica al dispositivo stesso (si veda nella sezione 8) . The MuxHub checks, each time it receives a string of type "Al 2", if the device is in one of the configured areas (for example: parking lots, forbidden areas, limited speed areas, areas outside the maximum allowed perimeter, highways, state or municipal roads) and notifies the device itself (see section 8).

Nei protocolli di tipo 0 e 1, le stringhe di tipo "All" e "Al 2" vengono inviati sia durante le corse (cioà ̈ tra una stringa di tipo "Al9" e una stringa di tipo "Al7") , sia al di fuori delle corse. In protocols of type 0 and 1, the strings of type "All" and "Al 2" are sent both during the runs (ie between a string of type "Al9" and a string of type "Al7"), and beyond out of the races.

Le stringhe di tipo "All" sono invece presenti in generale, in tutti e tre i protocolli . The strings of type "All" are instead present in general, in all three protocols.

Eventi Events

Il sistema gestisce, per i dispositivi di tipo 0 e 1, il verificarsi di "eventi", cioà ̈ situazioni "anomale" o "sospese" , che dovrebbero, in condizioni normali , permanere soltanto per un tempo limitato, cioà ̈ fino ad un istante definito come "scadenza" dell 'evento, un evento che non sia stato "chiuso" prima della sua scadenza viene considerato scaduto, e genera una penale che viene scalata dal credito della card interessata, al momento della successi-va autenticazione della card. Se un evento viene invece "chiuso" prima della sua scadenza, non genera penali . The system manages, for devices of type 0 and 1, the occurrence of "events", that is "anomalous" or "suspended" situations, which should, under normal conditions, persist only for a limited time, i.e. up to a instant defined as the "expiration" of the event, an event that has not been "closed" before its expiry is considered expired, and generates a penalty which is deducted from the credit of the card concerned, at the time of the subsequent authentication of the card. If an event is "closed" before its expiration, it does not generate penalties.

Esempi di eventi sono: per il protocollo di tipo 0, le estensioni delle corse (eventi di tipo 6) , il mancato collegamento del caricabatteria di un veicolo (eventi di tipo 3) , la mancata riconsegna in parcheggio (eventi di tipo 4) ; per il protocollo di tipo 1, la durata di una corsa superiore alla durata massima consentita, tempo di riposo non rispettato, superamento della velocità consentita, superamento dei parametri di concentrazione per alcune sostanze. Examples of events are: for the type 0 protocol, travel extensions (type 6 events), failure to connect a vehicle's battery charger (type 3 events), failure to return to parking (type 4 events); for the type 1 protocol, the duration of a run exceeding the maximum allowed duration, rest time not respected, exceeding the allowed speed, exceeding the concentration parameters for some substances.

Gli eventi vengono registrati sul database. Ogni evento ha una data/ora di creazione e una data/ora di "scadenza" , che viene calcolata aggiungendo alla data/ora di creazione un tempo che dipende solo dal tipo di evento. Events are logged on the database. Each event has a creation date / time and an "expiration" date / time, which is calculated by adding a time to the creation date / time that depends only on the type of event.

Estensioni Extensions

Le estensioni sono eventi particolari definiti soltanto per i dispositivi di tipo 0. Extensions are special events defined only for type 0 devices.

Alla fine di una corsa da parte di un veicolo (cioà ̈ ad una stringa di tipo "Al7") , essa può essere a richiesta "estesa". In questo caso, il cliente "blocca" il veicolo per un numero di ore (confi gurabi le da database), e alla successiva autenticazione soltanto la card che ha effettuato l'estensione verrà autenticata; il periodo intercorso tra l 'estensione e la successiva autenticazione verrà conteggiato ai fini del credito, secondo l 'usuale listino. At the end of a run by a vehicle (ie to a string of type "Al7"), it can be "extended" on request. In this case, the customer "locks" the vehicle for a number of hours (confi gurable from the database), and at the subsequent authentication only the card that carried out the extension will be authenticated; the period elapsed between the extension and the subsequent authentication will be counted for the purposes of the credit, according to the usual price list.

L'estensione (evento di tipo 6) viene "chiusa" quando chi ha esteso l 'uso di un veicolo si autentica nuovamente sul veicolo, prima che l 'evento sia scaduto, in questo caso di autenticazione non viene addebitato il costo di attivazione. The extension (type 6 event) is "closed" when the person who has extended the use of a vehicle authenticates again on the vehicle, before the event has expired, in this case of authentication the activation cost is not charged.

Se un veicolo non viene esteso alla fine della corsa, il MuxHub verifica se à ̈ arrivata dal veicolo, con una stringa di tipo "All" , La notifica dell ' avvenuto collegamento del cavo del caricabatteria, e, con una stringa di tipo "Al2", La notifica della presenza del veicolo in un parcheggio: ogni mancata notifica provoca automaticamente La generazione di un evento, rispettivamente di tipo 3 (cavo del caricabatteria non collegato) e 4 (riconsegna non i n parcheggio) . If a vehicle is not extended at the end of the journey, the MuxHub checks if it has arrived from the vehicle, with an "All" type string, notification of the connection of the charger cable, and, with an "Al2 type string. ", The notification of the presence of the vehicle in a parking lot: each failure to notify automatically causes the generation of an event, respectively of type 3 (charger cable not connected) and 4 (return not in parking).

L'evento di tipo 3 viene chiuso quando il MuxHub riceve una stringa di tipo "Al 1" che notifica l 'avvenuto collegamento del cavo, mentre l 'evento di tipo 4 viene chiuso quando il MuxHub riceve una stringa di tipo "Al 2" che notifica l'entrata del veicolo in parcheggio. The type 3 event is closed when the MuxHub receives a string of type "Al 1" which notifies the successful connection of the cable, while the type 4 event is closed when the MuxHub receives a string of type "Al 2" which notifies the entry of the vehicle into the parking lot.

La risposta del MuxHub ad una stringa di tipo "AO" contiene l 'indicazione se il veicolo sia attualmente esteso o prenotato; in caso di prenotazione, il veicolo automaticamente esegue una richiesta di autenticazione ("A15") , un inizio di corsa ("A19") e subito dopo termina la corsa ("Al7") richiedendo un'estensione. The response of the MuxHub to a string of type "AO" contains the indication whether the vehicle is currently extended or booked; in the event of a reservation, the vehicle automatically performs an authentication request ("A15"), a start of the journey ("A19") and immediately ends the journey ("Al7") requesting an extension.

Connessioni e disconnessioni Connections and disconnections

Durante una corsa, la connessione di un dispositivo al MuxHub rimane sempre attiva, salvo in condizioni anomale (ad esempio, mancanza di copertura del segnale GPRS) . During a ride, the connection of a device to the MuxHub always remains active, except in abnormal conditions (for example, lack of GPRS signal coverage).

Nei di spositivi a bordo di veicoli (tipo 0) , al di fuori del la corsa, il di spositivo si spegne automaticamente dopo un certo numero di minuti di inutilizzo, e successivamente, dopo un certo tempo prestabilito, si riaccende automaticamente, inviando al MuxHub una stringa "AO" e una stringa "Al2" . Quando La connessione cade per mancanza di copertura GPRS, il dispositivo tenta di ristabili re La connessione inviando ripetutamente una stringa "AO" e una stringa "Al 2" , finche non viene ricevuta una risposta dal MuxHub. Sempre in questo caso, parallelamente, il dispositivo gestisce una "autenticazione locale" (accettando soltanto l'ultima card utilizzata sul veicolo) allo scopo di permettere una emergency trip per spostarsi in una zona coperta dal segnale GPRS. Le stringhe eventualmente bufferizzate dal dispositivo durante il periodo di disconnessione ("All", "Al 2" ed eventualmente "Al7") vengono inviati al MuxHub in un unico pacchetto, dopo La riconnessione . Il MuxHub gestisce questi segnati inviati "in differita", ricaricando lo stato della corsa che era stata lasciata aperta e interrotta. In the devices on board vehicles (type 0), outside the run, the device switches off automatically after a certain number of minutes of inactivity, and subsequently, after a certain pre-established time, it switches on again automatically, sending to the MuxHub an "AO" string and an "Al2" string. When the connection drops due to lack of GPRS coverage, the device attempts to reestablish the connection by repeatedly sending an "AO" string and an "Al 2" string, until a response is received from the MuxHub. Again in this case, in parallel, the device manages a "local authentication" (accepting only the last card used on the vehicle) in order to allow an emergency trip to move to an area covered by the GPRS signal. The strings possibly buffered by the device during the disconnection period ("All", "Al 2" and possibly "Al7") are sent to the MuxHub in a single packet, after the reconnection. The MuxHub manages these signals sent "deferred", reloading the status of the run that was left open and interrupted.

Nei dispositivi di tipo 0 e 1, il MuxHub ignora eventuali stringhe di tipo "Al7" che giungano dopo che la corsa à ̈ stata già terminata ed eventuali stringhe di tipo "A15" che giungano dopo che La corsa à ̈ stata già ini-ziata. Sempre in questi tipi di dispositivi, l'invio di stringhe di tipo "Al9", invece, e responsabilità del dispositivo, nel senso che il MuxHub gestisce La ricezione di una stringa di tipo "Al9" indipendentemente dal fatto che sia stata preceduta da una stringa di tipo "Al5" e dalla relativa autenticazione; questo allo scopo di gestire eventuali casi di disconnessione che avvengano tra una stringa "A15" e una stringa "A19". In type 0 and 1 devices, the MuxHub ignores any "Al7" type strings that arrive after the run has already been completed and any "A15" type strings that arrive after the run has already started . Still in these types of devices, the sending of strings of type "Al9", on the other hand, is the responsibility of the device, in the sense that the MuxHub manages the receipt of a string of type "Al9" regardless of whether it was preceded by a string of type "Al5" and relative authentication; this in order to manage any disconnection cases that occur between an "A15" string and an "A19" string.

Se à ̈ stata predisposta un'architettura che prevede La presenza di due i stanze MuxHub contemporaneamente in esecuzione su diversi server, i dispositivi possono essere configurati per tentare, in prima battuta, la connessione al server primario, e, dopo un certo numero di fallimenti , ad un server secondario. Questo accorgimento garantisce la continuità del servizio in caso di crash del modulo MuxHub su uno dei server. Variando opportunamente La logica della scelta del server MuxHub sul lato dispositivo, à ̈ possibile ottenere anche un effetto di bilanciamento del carico sul lato server. If an architecture has been set up that foresees the presence of two MuxHub rooms simultaneously running on different servers, the devices can be configured to attempt, in the first instance, to connect to the primary server, and, after a certain number of failures , to a secondary server. This precaution guarantees the continuity of the service in case of crash of the MuxHub module on one of the servers. By appropriately varying the logic of choosing the MuxHub server on the device side, it is also possible to obtain a load balancing effect on the server side.

3. Breve descrizione del codice 3. Brief description of the code

Viene di seguito riportata una sintetica descrizione di carattere tecnico sull 'architettura del modulo MuxHub e sulla struttura del codice sorgente. Below is a brief description of a technical nature on the architecture of the MuxHub module and on the structure of the source code.

Come già accennato, l 'architettura implementa un meccanismo a plugin caricati dinamicamente, ognuno dei quali contiene 1 ' implementazione di uno specifico protocollo o meccanismo di trasmissione. As already mentioned, the architecture implements a dynamically loaded plugin mechanism, each of which contains the implementation of a specific protocol or transmission mechanism.

Runner (classe principale) Runner (main class)

Il metodo main. cs della classe Program cerca un file MuxHub. xml e, se lo trova, carica da esso alcune impostazioni necessarie per l 'esecuzione del programma; se non lo trova, lo genera utilizzando le impostazioni cablate nel codi ce . The main method. cs of the Program class looks for a MuxHub file. xml and, if it finds it, it loads from it some settings necessary for the execution of the program; if it doesn't find it, it generates it using the hardwired settings in the code.

Successivamente lancia il metodo Main della classe Runner (se il programma à ̈ stato lanciato da riga di comando con l'opzione "service", viene lanciato come servizio, altrimenti non à ̈ un servizio). Il metodo Mairi della classe Runner à ̈ il punto di partenza del modulo MuxHub. It then launches the Main method of the Runner class (if the program was launched from the command line with the "service" option, it is launched as a service, otherwise it is not a service). The Mairi method of the Runner class is the starting point of the MuxHub module.

Esso carica come plugin l’assembly PostgresDB.dii, ottiene i tipi in esso definiti e i relativi costruttori. It loads the PostgresDB.dii assembly as a plugin, gets the types defined in it and their constructors.

Quindi crea due istanze del delegato NewConnectionHandler della classe ConnectionsListener, puntando ai metodi NewVehicleConnection e NewViewerConnection della classe Runner come rispettivi parametri. It then creates two instances of the NewConnectionHandler delegate of the ConnectionsListener class, pointing to the NewVehicleConnection and NewViewerConnection methods of the Runner class as their respective parameters.

Mentre istanzia il delegato, il metodo Main istanzia anche due oggetti (tcpsln e tcpsOut) della stessa classe ConnectionsListener, ai quali passa i numeri delle rispettive porte utilizzate (prese dalle impostazioni) e i riferimenti alle istanze dei delegati appena create. While instantiating the delegate, the Main method also instantiates two objects (tcpsln and tcpsOut) of the same ConnectionsListener class, to which it passes the numbers of the respective ports used (taken from the settings) and the references to the newly created delegate instances.

in questo modo viene invocato il costruttore della classe ConnectionsListener, il quale crea l'evento neh, assegnandovi le istanze dei delegati passate come parametri, inizializza le rispettive porte utilizzate dal metodo StartListen della classe ConnectionsListener e fa partire i thread con lo stesso metodo Stamisten. Questo metodo ascolta su tutti gli indirizzi IP e sulla porta specificata e accetta connessioni dai Client creando il socket corrispondente e sollevando l'evento neh quando viene rilevata una connessione Client. in this way the constructor of the ConnectionsListener class is invoked, which creates the neh event, assigning it the instances of the delegates passed as parameters, initializes the respective ports used by the StartListen method of the ConnectionsListener class and starts the threads with the same Stamisten method. This method listens on all IP addresses and the specified port and accepts connections from Clients by creating the corresponding socket and raising the neh event when a Client connection is detected.

in questo modo i metodi NewVehideConnection e NewViewerConnection, riferiti dal delegato NewConnectionHandler, vengono eseguiti rispettivamente quando l'evento viene sollevato, vale a dire quando un dispositivo o un'istanza Viewer stabiliscono una connessione al MuxHub. in this way the NewVehideConnection and NewViewerConnection methods, referenced by the NewConnectionHandler delegate, are executed respectively when the event is raised, that is, when a device or a Viewer instance establishes a connection to the MuxHub.

Infine, il metodo Mairi fa partire un thread per l'aggiornamento dei subscribers e fa partire il modulo web server. Finally, the Mairi method starts a thread for updating subscribers and starts the web server module.

Connessione conil Viewer Connect with the Viewer

il metodo NewviewerConnection, che viene eseguito quando viene rilevata una nuova connessione da parte di un'istanza Viewer, carica La plugin viewerSTD.dll. the NewviewerConnection method, which is executed when a new connection is detected by a Viewer instance, loads the viewerSTD.dll plugin.

La plugin gestisce una serie di delegati (Disconnected viewerEventHandler, The plugin manages a series of delegates (Disconnected viewerEventHandler,

DataRequestEventHandler, SendToVehicleEventHandler, AuthenticateUserEventHandler, ResetAlarmEventHandler) ai quali vengono sottoscritti i metodi di gestione OnDisconnectviewer, OnDataRequest, OnSendToVehicles, On-AuthenticateUser, OnResetAlarm che effettivamente realizzano la gestione della trasmissione dei messaggi tra modulo MuxHub e modulo Viewer. DataRequestEventHandler, SendToVehicleEventHandler, AuthenticateUserEventHandler, ResetAlarmEventHandler) to which the management methods OnDisconnectviewer, OnDataRequest, OnSendToVehicles, On-AuthenticateUser, OnResetAlarm that actually carry out the management of the module Mux ViewHandler are subscribed.

il thread di aggiornamento dei subscribers (moduli Viewer collegati) verifica continuamente (attraverso il metodo CollectDiff di VehiclesReceiver) se qualcosa à ̈ cambiato negli attributi dei dispositivi rispetto al pre cedente aggiornamento delle istanze Viewer. Per fare ciò, a parti re dai dati presenti nel dizionario dei dispositivi viene costruito un file XML interno (stringa innerXML) contenente soltanto le variazioni occorse dopo l 'ultima trasmissione alle istanze Viewer; questa stringa XML cosi confezionata viene quindi spedita al modulo Viewer attraverso la connessione TCP esistente. the subscribers update thread (connected Viewer modules) continuously checks (through the VehiclesReceiver CollectDiff method) if something has changed in the attributes of the devices compared to the previous update of the Viewer instances. To do this, an internal XML file (string innerXML) is built starting from the data present in the device dictionary, containing only the changes that occurred after the last transmission to the Viewer instances; this XML string thus packaged is then sent to the Viewer module through the existing TCP connection.

Ricezione delle stringhe dai dispositivi Receiving strings from devices

Il metodo NewVehicleConnection , che viene eseguito quando viene rilevata una nuova connessione da parte di un dispositivo, i stanzi a un oggetto della classe vehiclesReceiver, La quale eredita, a cascata, dalle classi AsyncReceiver e QnetStream, che gestiscono La ricezione asincrona delle stringhe. The NewVehicleConnection method, which is executed when a new connection is detected by a device, allocates it to an object of the vehiclesReceiver class, which inherits, in cascade, from the AsyncReceiver and QnetStream classes, which manage the asynchronous reception of strings.

in particolare, il metodo OnReceiveData di AsyncRecei -ver viene eseguito quando viene rilevata una nuova stringa in ricezione; questo metodo chiama il metodo ProcessString di vehiclesReceiver , il quale gestisce a sua volta il parsing della stringa ricevuta. in particular, the OnReceiveData method of AsyncRecei -ver is executed when a new string is detected in reception; this method calls the vehiclesReceiver ProcessString method, which in turn handles the parsing of the received string.

Il metodo ProcessString esegue le seguenti operazioni : 1. suddivide in parti La stringa in base al separatore vi rgola; The ProcessString method performs the following operations: 1. divides the string into parts based on the vi roligator separator;

2. se la stringa à ̈ formata da meno di due parti , segnala errore di ricezione ("invalid packet. . .") ; 2. if the string is made up of less than two parts, it signals a reception error ("invalid packet...");

3. se La stringa non inizia con "AO" e non à ̈ stato ancora istanziato un oggetto di tipo Vehicle, segnala errore di ricezione ("unknown vehicle") ; 3. if the string does not begin with "AO" and an object of type Vehicle has not yet been instantiated, it signals a receipt error ("unknown vehicle");

4. se non c'à ̈ ('oggetto vehicle ma La stringa inizia con "AO", allora consulta il dizionario dei dispositivi presente in memoria utilizzando 1 'ID del veicolo: se il dispositivo à ̈ già presente allora viene i stanziato un nuovo oggetto di tipo Vehicle con gli attributi presi dal dizionario, altrimenti l 'oggetto viene istanziato utilizzando gli attributi presi da un file XML e viene aggiornato dizionario in memoria; in ogni caso viene impostato l 'attributo vr del nuovo oggetto con un riferimento all 'oggetto VehiclesReceiver corrente; 4. if there is no ('vehicle object but the string begins with "AO", then consult the dictionary of the devices present in the memory using the vehicle ID: if the device is already present then a new one is allocated Vehicle type object with the attributes taken from the dictionary, otherwise the object is instantiated using the attributes taken from an XML file and the dictionary is updated in memory; in any case the vr attribute of the new object is set with a reference to the object Current VehiclesReceiver;

5. adesso che esiste un oggetto della classe Vehicle, La stringa viene elaborata dal metodo Process della stessa classe. 5. Now that an object of the Vehicle class exists, the string is processed by the Process method of the same class.

Il metodo Process gestisce l 'elaborazione della stringa inviata dal dispositivo, e restituisce una stringa di risposta. Per fare ciò utilizza una istruzione Swatch che seleziona il tipo di stringa e per ogni tipo invoca il metodo corrispondente che gesti rà il caso specifico generando La stringa di risposta (si veda oltre, nelle sezioni dedicate alle specifiche tipologie di stringhe gestite) . The Process method manages the processing of the string sent by the device, and returns a response string. To do this, it uses a Swatch instruction that selects the type of string and for each type invokes the corresponding method that will handle the specific case by generating the response string (see below, in the sections dedicated to the specific types of managed strings).

4. Interfaccia con il modulo Viewer 4. Interface with the Viewer module

Il modulo MuxHub permette il collegamento di visualizzatori cartografici (Viewer) che si connettono tramite TCP alla porta (confi gurabi le) 4568. The MuxHub module allows the connection of cartographic viewers (Viewers) that connect via TCP to port (confi gurable) 4568.

il protocollo utilizzato à ̈ basato su messaggi XML strutturati contenenti un elenco dei soli veicoli per i quali à ̈ cambiato qualche dato rispetto alla trasmissione precedente, e all 'interno i soli dati che sono cambiati . the protocol used is based on structured XML messages containing a list of only the vehicles for which some data has changed compared to the previous transmission, and only the data that have changed inside.

I visualizzatori si collegano scambiando inizialmente delle stringhe di handshaking, autenticazione e di configurazione. in un file di configurazione sono contenuti l 'elenco delle flotte con relativo identificativo della flotta e l 'elenco degli utenti per ogni flotta con la loro password. Viewers connect by initially exchanging handshaking, authentication, and configuration strings. a configuration file contains the list of fleets with their fleet identifier and the list of users for each fleet with their password.

MuxHub e Viewer sono predisposti per scambiarsi i messaggi XML in forma compressa usando una libreria che specializza la classe Stream. MuxHub and Viewer are designed to exchange XML messages in compressed form using a library that specializes the Stream class.

Attualmente il modulo Viewer può mandare comandi a singoli veicoli o all 'intera flotta tramite stringhe precedute dall 'lD veicolo di destinazione. Currently the Viewer module can send commands to single vehicles or to the entire fleet by means of strings preceded by the target vehicle ID.

II modulo Viewer si occupa della visualizzazione della flotta con indicazione di posizione e stato di ogni veicolo. La visualizzazione à ̈ basata su una cartografia georeferenziata che viene usata come supporto per il tracciamento delle posizioni e dei percorsi dei veicoli . The Viewer module deals with the visualization of the fleet with indication of the position and status of each vehicle. The visualization is based on a georeferenced cartography which is used as a support for tracking the positions and routes of the vehicles.

Le funzionalità di questo modulo sono rivolte alla gestione tecnica e logistica della flotta, non alle funzioni amministrative che sono invece gestite tramite applicativo web specifico. Le uniche funzionalità di questo tipo da implementare sul modulo Viewer sono La visualizzazione del codice dell 'utente che sta utilizzando il veicolo e la lista delle prenotazioni di un veicolo. The functions of this module are aimed at the technical and logistical management of the fleet, not at the administrative functions which are instead managed through a specific web application. The only features of this type to be implemented on the Viewer module are the display of the code of the user who is using the vehicle and the list of reservations for a vehicle.

5. Web server 5. Web server

E' presente una classe che implementa un semplice web server, utilizzato per permettere sia un monitoraggio via HTTP delle attività dei veicoli , sia per elencare e scaricare le registrazioni dei percorsi compiuti da ogni veicolo. There is a class that implements a simple web server, used to allow both an HTTP monitoring of vehicle activities, and to list and download the recordings of the journeys made by each vehicle.

6. Interfaccia con il database 6. Interface with the database

Il modulo MuxHub accede ad un database PostgreSQL con estensione PostGlS, nel quale sono presenti diverse tipologie di dati necessari per La gestione delle flotte. The MuxHub module accesses a PostgreSQL database with PostGlS extension, in which there are different types of data necessary for fleet management.

Esiste un'interfaccia web di amministrazione che permette la consultazione e La modifica dei dati presenti nel database. There is a web administration interface that allows the consultation and modification of the data in the database.

Di seguito à ̈ riportato un elenco completo delle 45 tabelle presenti. Below is a complete list of the 45 tables present.

aree areas

aree veicoli vehicle areas

Γ3 autisti Î “3 drivers

Π card Πcard

: 1 catd_ci editi : 1 catd_ci editi

; j<">j card jdjjid ; j <"> j card jdjjid

t Γ j clienti t Î “j customers

Φ f% clientijrard Φ f% clientsjrard

/ ; dientijatturazìone /; dientijatturazìone

3⁄4 !\3 client i_ragioni_sociali 3⁄4! \ 3 clients i_social_reasons

3⁄4 i ] crediti 3⁄4 i] credits

F<51>crediti_operazioni F <51> credits_operations

t i j eventi t i j events

* Γ 1 flotte * Î “1 fleet

<;>Γ3 flotte_utenti <;> Î “3 user_fleets

: ] geometryjrolumns :] geometryjrolumns

SI Î ̄ ή impianti YES Î ̄ ή implants

ÃŒS Γ3 impianti _posti ÃŒS Î “3 plants _placed

t<*"">Ï‹ itmeraries t <* ""> Ï ‹itmeraries

3⁄4 â–¡ itinsrarìes_sites 3⁄4 â – ¡itinsrarìes_sites

3⁄4! Γ3 listjingue 3⁄4! Î “3 listjingue

iti v:ì listjivello iti v: ì listjivello

i+i Γ9 listJtipo_aree i + i Î “9 listJtype_areas

i+i Fi listjdsualizzazioni i + i Fi listjd views

t Γ3 t Π"3

3⁄4±]<’>l* listini Jido 3⁄4 ±] <â € ™> l * Jido price lists

iti Γ3 lBtinì_km iti Î “3 lBtinì_km

t '<">1 ììstini_status t '<"> 1 ììstini_status

t)<'>i listini Jernpo t) <'> the Jernpo price lists

ti<">i nazioni you <"> the nations

ti<;>3 prenotazioni you <;> 3 reservations

3⁄4 F3 presenze 3⁄4 F3 appearances

® f<†>j ragioni_sociali ® f <â €> j social_reasons

ti FI sitejcategories ti FI sitejcategories

si P†j 3⁄4tes yes Pâ € j 3⁄4tes

ti H spatìal_ref_sys ti H spatìal_ref_sys

« H tag "H tag

3⁄4 P3 tempi 3⁄4 P3 times

3⁄4 i l! utenti 3⁄4 i l! users

<•>1 Γ3 vehiclejnaintenance <â € ¢> 1 Î “3 vehiclejnaintenance

3⁄4 f3 veicoli 3⁄4 f3 vehicles

ti Γ3 veicoli_corse ti Î “3 vehicles_corse

i+i Γ3 veicoli_status i + i Î “3 vehicles_status

S Γ3 vocabolario S Î “3 vocabulary

Le informazioni presenti nelle tabelle riguardano The information in the tables is about

flotte e veicoli , clienti registrati , card e crediti , ra- fleets and vehicles, registered customers, cards and credits,

gioni social e listini , eventi ed estensioni , corse effet- social networks and price lists, events and extensions,

tuate, aree configurate, punti di interesse e itinerari , tuate, configured areas, points of interest and itineraries,

prenotazioni , tempi configurati , lingue definite e vocabola- reservations, configured times, defined languages and vocabulary-

rio dei messaggi in lingua, ecc. rio of messages in language, etc.

Le connessioni al database vengono gestiti dai metodi della classe PostgresDB; questi vengono a loro volta invocati dai metodi della classe Vehicle incaricati di gestire le diverse tipologie di stringhe inviate dal dispositivo. Connections to the database are handled by the methods of the PostgresDB class; these are in turn invoked by the methods of the Vehicle class in charge of managing the different types of strings sent by the device.

Il metodo di gestione della stringa di tipo "AO" (si veda oltre) i stanzi a un oggetto della classe PostgresDB (il costruttore di questa classe crea un oggetto della classe Settings i cui attributi statici sono i parametri di connessione al database) . The string management method of type "AO" (see below) allocates to an object of the PostgresDB class (the constructor of this class creates an object of the Settings class whose static attributes are the database connection parameters).

Di seguito vengono elencate alcune delle tabelle presenti , e il modo in cui i dati in esse presenti vengono modificati dal MuxHub per i diversi protocolli accettati . Below are listed some of the tables present, and the way in which the data present in them are modified by the MuxHub for the different protocols accepted.

Aree Areas

La tabella aree viene popolata con i record corrispondenti alle aree definite sul territorio. Le aree possono essere di varie tipologie ad esempio: perimetro massimo di utilizzo, parcheggio, area vietata, area a velocità limitata, autostrade, tangenziali , superstrade, strade statali , strade comunali . The areas table is populated with the records corresponding to the areas defined on the territory. The areas can be of various types, for example: maximum perimeter of use, parking, prohibited area, restricted speed area, highways, ring roads, expressways, state roads, municipal roads.

La definizione e l 'inserimento delle aree à ̈ possibile attraverso il modulo Viewer, mentre il controllo della presenza di un dispositivo in una delle aree definite viene eseguito dal metodo checkzones della classe PostgresDB del MuxHub, ad ogni ricezione di una stringa di posizione (si veda oltre) . La tabella aree veicoli registra il conteggio dei dispositivi (in corsa e non in corsa) presenti in ognuna delle aree definite. I contatori vengono aggiornati dalla stored procedure updatecount, che viene eseguita periodicamente e che si basa sui dati di posizione (latitudine e longitudine) e di stato (in corsa o non in corsa) presenti , per ogni dispositivo, nella tabella veicoli_status (si veda oltre) . The definition and insertion of the areas is possible through the Viewer module, while the control of the presence of a device in one of the defined areas is performed by the checkzones method of the PostgresDB class of the MuxHub, each time a position string is received (see beyond) . The vehicle areas table records the count of devices (running and not running) present in each of the defined areas. The counters are updated by the updatecount stored procedure, which is run periodically and which is based on the position (latitude and longitude) and status (running or not running) data present, for each device, in the vehicle_status table (see below ).

Clienti, card e crediti Customers, cards and credits

La tabella clienti viene popolata con i dati anagrafici dei clienti definiti nel sistema. All 'inserimento di un nuovo cliente attraverso l 'interfaccia web, possono essere associati al nuovo cliente una card e una ragione sociale. Le anagrafiche di card e ragioni sociali sono contenute rispettivamente nelle tabelle card e ragioni sociali, mentre le tabelle clienti card e clienti ragioni sociali svolgono ruolo le tabelle di interconnessione. The customer table is populated with the customer master data defined in the system. When entering a new customer through the web interface, a card and a company name can be associated with the new customer. The personal data of cards and company names are contained respectively in the card and company name tables, while the customer card and company name tables play a role in the interconnection tables.

Ogni card relativa ai protocolli di tipo 0 viene associata ad un "credito" di riferimento, nel senso che più card possono, in teoria, essere associate allo stesso credito. Le informazioni sui crediti sono presenti nella tabella crediti, mentre l 'interconnessione à ̈ gestita dalla tabella card crediti. Each card relating to type 0 protocols is associated with a reference "credit", in the sense that more than one card can, in theory, be associated with the same credit. The credit information is present in the credit table, while the interconnection is managed by the credit card table.

infine, ad ogni card viene associato un progressivo "breve", sostitutivo del codice completo della card; le associazioni tra card e progressivi brevi sono registrate nel1 a tabel 1 a card id uid. finally, a "short" progressive number is associated with each card, replacing the complete code of the card; the associations between cards and short progressives are recorded in 1 a table 1 a card id uid.

Alcuni metodi della classe PostgresDB eseguono letture sui dati delle tabelle appena menzionate, in particolare: ad ogni operazione su un credito vengono invocati i metodi getRagSoc e getldCredit, che restituiscono, rispettivamente, la ragione sociale dato il cliente e l 'iD del credito data il codice della card; al momento della richiesta di autenticazione presentata da un dispositivo (stringa di tipo "A15" , si veda oltre) , vengono invocati i metodi isEnableUser e isEnableCard, che verificano, rispettivamente, se un utente à ̈ e se una card à ̈ abilitata e non bloccata; all 'inizio di una corsa, viene invocato il metodo I-sFreeCard, che verifica se una card à ̈ esente dal costo dell ’attivazione oppure no; per i protocolli di tipo 0, ad ogni presentazione del dispositivo (stringa di tipo "AO" , si veda oltre) , viene invocato il metodo getLastRun, che verifica se esiste una corsa ancora aperta e associata ad un dispositivo; ad ogni salvataggio del file di tracking (si veda sezione 7) viene eseguito il metodo getcarduid, per recuperare il progressivo breve di una card; infine, il metodo Getllser restituisce l 'utente a parti re dal codice della card, e viene chiamato dal metodo CheckCustomer , a sua volta invocato alla ricezione di una richiesta di autenticazione, all 'inizio di una corsa e, per protocolli di tipo 0, alla presentazione di un dispositivo che si riconnette dopo un periodo di disconnessione (si veda "Connessioni e disconnessioni" in sezione 2) . Some methods of the PostgresDB class perform readings on the data of the tables just mentioned, in particular: at each operation on a credit the getRagSoc and getldCredit methods are invoked, which return, respectively, the company name given the customer and the ID of the credit given the code of the card; at the time of the authentication request presented by a device (string of type "A15", see below), the isEnableUser and isEnableCard methods are invoked, which check, respectively, if a user is and if a card is enabled and not blocked; at the start of a ride, the I-sFreeCard method is invoked, which verifies whether a card is exempt from the cost of activation or not; for type 0 protocols, at each presentation of the device (string of type "AO", see below), the getLastRun method is invoked, which checks if there is a run still open and associated with a device; each time the tracking file is saved (see section 7) the getcarduid method is executed to retrieve the short progressive number of a card; finally, the Getllser method returns the user starting from the card code, and is called by the CheckCustomer method, in turn invoked upon receipt of an authentication request, at the beginning of a run and, for type 0 protocols, the presentation of a device that reconnects after a period of disconnection (see "Connections and disconnections" in section 2).

Operazioni sui crediti Credit transactions

La tabella crediti operazioni conti en e tutte le operazioni eseguite sui crediti presenti nell 'anagrafica dei crediti . The table of credits operations accounts en and all the operations performed on the credits present in the credit registry.

in ogni fase della corsa che prevede una operazione sul credito di una card (attivazione, completamento della corsa, applicazione di una penale, ecc.) , viene inserito un nuovo record nella tabella e viene aggiornato, nella tabella crediti , il record relativo al credito in questione. La prima di queste operazioni viene eseguita dal metodo insertOperation della classe PostgresDB, mentre l 'aggiornamento della tabella crediti viene eseguito dal metodo SaveCredit della stessa classe. in each phase of the journey that involves an operation on the credit of a card (activation, completion of the journey, application of a penalty, etc.), a new record is inserted in the table and the credit record is updated in the credits table in question. The first of these operations is performed by the insertOperation method of the PostgresDB class, while the update of the credit table is performed by the SaveCredit method of the same class.

Il metodo getCardCredit legge il credito attuale di una card, e viene invocato ogni volta che serve conoscere il credito attuale per una eventuale successiva modifica, infine, il metodo getldCredit restituisce l 'iD del credito data la card, e viene invocato ad ogni operazione eseguita su un credito. The getCardCredit method reads the current credit of a card, and is invoked every time it is necessary to know the current credit for a possible subsequent modification, finally, the getldCredit method returns the iD of the credit given the card, and is invoked at each operation performed on a credit.

Eventi Events

La tabella eventi contiene tutti gli eventi generati in corrispondenza di situazioni "anomale" o "sospese", che, normalmente, dovrebbero permanere per un tempo limitato, cioà ̈ fino ad un istante definito come "scadenza" dell 'evento (si veda "Eventi" in sezione 2) . The events table contains all the events generated in correspondence with "anomalous" or "suspended" situations, which, normally, should persist for a limited time, that is up to an instant defined as the "expiration" of the event (see "Events "in section 2).

Diversi metodi della classe PostgresDB eseguono operazioni di lettura o scrittura su questa tabella. In particolare: il metodo getExtVehicle viene invocato, per protocolli di tipo 0, alla presentazione di un dispositivo e alla richiesta di autenticazione, e verifica se il dispositivo à ̈ in fase di estensione; il metodo CreateEvent viene invocato alla chiusura di una corsa in caso di situazioni anomale (estensione, riconsegna non in parcheggio, mancato collegamento del caricabatteria, ecc.) e crea l 'evento corrispondente; il metodo CheckExpiredEvents, invocato alla richiesta di autenticazione di un dispositivo, trova gli eventi già scaduti associati ad una card, li gestisce decurtando il credito cioà ̈ applicando le corrispondenti penali e chiudendoli mediante il metodo CloseExpiredEvent; il metodo CloseNonExpiredEvent viene eseguito in tutti i casi nei quali occorre chiudere un evento non ancora scaduto, perché la condizione anomala à ̈ cessata; infine, il metodo getEventDuration viene invocato alla fine di una corsa e restituisce il tempo trascorso dall 'inizio di un evento, allo scopo di calcolarne il costo associato. Several methods of the PostgresDB class perform read or write operations on this table. In particular: the getExtVehicle method is invoked, for type 0 protocols, at the presentation of a device and at the authentication request, and verifies if the device is in the extension phase; the CreateEvent method is invoked at the end of a run in the event of anomalous situations (extension, return not parked, failure to connect the battery charger, etc.) and creates the corresponding event; the CheckExpiredEvents method, invoked at the authentication request of a device, finds the events that have already expired associated with a card, manages them by deducting the credit, ie by applying the corresponding penalties and closing them using the CloseExpiredEvent method; the CloseNonExpiredEvent method is executed in all cases in which it is necessary to close an event that has not yet expired, because the anomalous condition has ceased; finally, the getEventDuration method is invoked at the end of a run and returns the time elapsed since the start of an event, in order to calculate the associated cost.

7. Gestione dei files 7. File management

Il modulo MuxHub gestisce alcuni files che vengono generati e modificati durante il funzionamento del sistema. Di seguito vengono descritti i file gestiti e i metodi che presiedono alla loro gestione. The MuxHub module manages some files that are generated and modified during system operation. The files managed and the methods for managing them are described below.

File di tracciamento del veicolo Vehicle tracking file

Il dispositivo abilitato a trasmettere la sua posizione invia periodicamente tale informazione attraverso una stringa di tipo "Al 2" , abbinandola al tempo esatto rilevato dal GPS. Queste informazioni vengono registrate per uso storico in un file di localizzazione, che viene gestito dal metodo Save Track della classe vehicle. In particolare il metodo scrive sul file l 'ora corrente e le nuove coordinate, solo se queste sono variate rispetto a quelle precedenti . The device enabled to transmit its position periodically sends this information through a string of type "Al 2", combining it with the exact time detected by the GPS. This information is recorded for historical use in a localization file, which is managed by the Save Track method of the vehicle class. In particular, the method writes the current time and the new coordinates to the file, only if these have changed from the previous ones.

il file à ̈ di tipo .txt e viene salvato in una directory il cui nome dipende dal codice della flotta e dalla data (...<codice fi otta>NYYYMMDD/) . All 'interno del file, le righe vengono salvate nel formato seguente: the file is of type .txt and is saved in a directory whose name depends on the fleet code and the date (... <fi octa code> NYYYMMDD /). Inside the file, the lines are saved in the following format:

<Data/ora server>, <Data/ora del GPS>, Longitudine, Latitudine <Server date / time>, <GPS date / time>, Longitude, Latitude

La data/ora del GPS a quella che viene poi considerata ai fini della visualizzazione sul Viewer. The date / time of the GPS to that which is then considered for the purpose of displaying on the Viewer.

Le informazioni catturate durante la corsa di un veicolo (cioà ̈ tra due stringhe A15 e Al7) vengono salvate in un file di testo il cui nome e <ID veicolo> <ID breve della card> <ID corsa>.txt. The information captured during the ride of a vehicle (ie between two strings A15 and Al7) is saved in a text file whose name and <vehicle ID> <short card ID> <ride ID> .txt.

Eventuali spostamenti del veicolo al di fuori della sessione di utilizzo vengono registrate in un altro file, il cui nome sarà <ID veicolo>. txt. Any movement of the vehicle outside the session of use is recorded in another file, the name of which will be <vehicle ID>. txt.

File storico delle stringhe scambiate Historical file of the strings exchanged

Il metodo SaveHistory dell a classe Vehicle gestisce un file contenente informazioni su tutte le stringhe scambiate tra dispositivo e MuxHub. Per ogni stringa inviata, in un senso o nell 'altro, viene registrata l 'informazione nel file e questo viene salvato. Anche altri tipi di informazioni vengono registrate in questo file (ad esempio, lo stop del timer di aggiornamento del credito) . The SaveHistory method of the Vehicle class manages a file containing information on all the strings exchanged between the device and MuxHub. For each string sent, in one direction or another, the information is recorded in the file and this is saved. Other types of information are also logged in this file (for example, the stop of the credit update timer).

File di tag Tag file

Il metodo SaveTags della classe Vehicle, invocato in caso di segnali Al8, gestisce un file contenente informazioni sul tag (codice chiave) . Questo metodo non viene attualmente mai invocato. The SaveTags method of the Vehicle class, invoked in the case of Al8 signals, manages a file containing information about the tag (key code). This method is currently never invoked.

8. Protocollo di comunicazione dispositivo-MuxHub 8. Device-MuxHub communication protocol

Il modulo MuxHub permette 0 collegamento dei dispositivi tramite connessioni TCP sulla porta (configurabile) 4567 e con protocollo definito per le schede TPS-100 di Eurochip basato su stringhe CRLF- termi nate. The MuxHub module allows 0 connection of devices via TCP connections on port (configurable) 4567 and with protocol defined for Eurochip TPS-100 cards based on CRLF-terminated strings.

Il protocollo di comunicazione tra i dispositivi e il modulo MuxHub à ̈ implementato, sul lato del MuxHub, attraverso i metodi di gestione dei diversi tipi di stringa, appartenenti alla classe Vehicle, che di seguito sono descritti . The communication protocol between the devices and the MuxHub module is implemented, on the MuxHub side, through the management methods of the different types of string, belonging to the Vehicle class, which are described below.

Ogni stringa inviata dal dispositivo al MuxHub inizia con una stringa del tipo "An", dove n e un numero intero che individua 0 tipo di stringa inviata. Le stringhe inviate dal MuxHub ai dispositivi iniziano invece con stringhe del tipo "Cn", dove n e un numero intero che individua il tipo di stringa inviata; l'unica eccezione à ̈ costituita dalle risposte (acknowledgement) che il MuxHub invia ai dispositivi per confermare La sola ricezione delle stringhe di tipo "Ari", e che iniziano anch'esse con una stringa "An" (con lo stesso n inviato dal dispositivo). Each string sent from the device to the MuxHub begins with a string of the type "An", where n is an integer that identifies 0 type of string sent. The strings sent by the MuxHub to the devices instead begin with strings of the type "Cn", where n is an integer that identifies the type of string sent; the only exception is constituted by the acknowledgments that the MuxHub sends to the devices to confirm the reception only of the "Ari" type strings, and which also begin with an "An" string (with the same n sent by device).

Ogni stringa inviata dal dispositivo contiene, tra i suoi campi, un handle generato dal dispositivo stesso attingendo da una sequenza progressiva; ogni stringa inviata dal MuxHub come risposta o come conseguenza di tale stringa conterrà lo stesso handle. Each string sent by the device contains, among its fields, a handle generated by the device itself drawing from a progressive sequence; any string sent by the MuxHub as a response or as a consequence of that string will contain the same handle.

Stringhe inviate dai dispositivi al MuxHub Strings sent from devices to the MuxHub

"AO" (Login di connessione) "AO" (Connection Login)

Sintassi: Syntax:

AO, <handle>, Ctipo dispositivo>, <ID veicolo oppure ID impianto/ID postazione>, <ID noleggiatore>, <codice tag>, <numero tel> CR LF AO, <handle>, Device Type>, <Vehicle ID or Facility ID / Location ID>, <Renter ID>, <tag code>, <tel number> CR LF

Risposta: Reply:

AO, <handle>, 00, <extra string> AO, <handle>, 00, <extra string>

La stringa di tipo "AO" segnala al MuxHub che un dispositivo à ̈ stato attivato, sia connesso al server e sta iniziando a funzionare. The string of type "AO" signals to the MuxHub that a device has been activated, is connected to the server and is starting to work.

<tipodispositive» indica il tipo di dispositivo (e di protocollo), come descritto nell'introduzione CO, 1). <devicetype »indicates the type of device (and protocol), as described in the introduction CO, 1).

<ID veicolo> per i veicoli (tipo 0 e 1), Ã ̈ il codice identificativo del dispositivo a bordo del veicolo; <Vehicle ID> for vehicles (type 0 and 1), it is the identification code of the device on board the vehicle;

<ID noleggiatore> Ã ̈ il codice del noleggiatore o della flotta; <Charterer ID> is the charterer or fleet code;

<codice tag> à ̈ il numero seriale del transponder che ha attivato il dispositivo. La lunghezza massima à ̈ di 24 bytes, codificati in ASCII esadecimale, cioà ̈ alla stringa "AA" corrisponde il numero esadecimale OxAA o 170 decimale. Non à ̈ obbligatorio (tipicamente viene omesso, dato che viene trasmesso con la richiesta di autenticazione) . <tag code> is the serial number of the transponder that activated the device. The maximum length is 24 bytes, encoded in hexadecimal ASCII, ie the string "AA" corresponds to the hexadecimal number OxAA or 170 decimal. It is not mandatory (typically it is omitted, since it is sent with the authentication request).

<numero tel> à ̈ il numero della SIM usata per attivare La connessione GPRS . Tale numero necessario quando si vuote effettuare la chiamata vocale al dispositivo. La lunghezza massima di 15 caratteri , il numero à ̈ inviato esattamente cosi come letto dalla lista parametri , senza riempimento con "0" se il numero totale di caratteri à ̈ minore di 15. <tel number> is the number of the SIM used to activate the GPRS connection. This number is required when emptying the voice call to the device. The maximum length of 15 characters, the number is sent exactly as read from the parameter list, without filling with "0" if the total number of characters is less than 15.

<extra string> Ã ̈ una stringa, inviata nella risposta del MuxHub , composta da coppie chiave-valore, nella forma chiavel=valorel&chiave2=valore2&. . . . La tabella seguente descrive i campi previsti nella stringa <extra string>. <extra string> is a string, sent in the MuxHub response, made up of key-value pairs, in the form chiavel = valorel & key2 = value2 &. . . . The following table describes the fields expected in the <extra string> string.

Nome parametro Tipo Descrizione Parameter name Type Description

TIME date Data e ora in formato YYYYMMddHHmmss TIME date Date and time in YYYYMMddHHmmss format

MODE int Modo relativa alla flotta (1=Fiera di Milano, 2=mappa cittadina) RES string ID della card che ha prenotato il dispositivo MODE int Mode relating to the fleet (1 = Fiera di Milano, 2 = city map) RES string ID of the card that booked the device

EXT string ID della card che ha esteso il dispositivo EXT string ID of the card that extended the device

Il campo TIME comunica al dispositivo la data e ora corrente, ai fini della sincronizzazione tra server e Client. The TIME field communicates the current date and time to the device, for the purpose of synchronization between the server and the Client.

Il campo MODE comunica al dispositivo la modalità che questo deve attivare, in funzione della flotta di appartenenza del dispositivo stesso. The MODE field communicates to the device the mode that it must activate, according to the fleet to which the device itself belongs.

Il campo RES comunica al dispositivo 1 ' identificativo della card che ha eventualmente prenotato dispositivo. il campo EXT comunica al dispositivo l 'identificativo della card che ha eventualmente esteso dispositivo. The RES field communicates to the device the identification of the card that has possibly reserved the device. the EXT field communicates to the device the ID of the card that possibly extended the device.

Il metodo di gestione di questo tipo di stringa istanzia un oggetto della classe PostgresDB il costruttore di questa classe crea un oggetto della classe Settings i cui attributi statici sono i parametri di connessione al database) e riconosce il dispositivo utilizzando il metodo getVehiclelnfo della stessa classe (tale metodo esegue una query sulla tabella veicoli dalla quale preleva informazioni sui dispositivi che vengono restituite al metodo di gestione della stringa "AO") . il metodo di gestione gestisce inoltre il caricamento delle informazioni relative ad una eventuale corsa lasciata aperta; questo permette di gestire il caso di ri connessione dopo un periodo di disconnessione del dispositivo, e consente di proseguire La corsa non terminata, il meccanismo di caricamento della corsa sospesa utilizza il me todo getLastRun della classe PostgresDB: se l ' ultima corsa iniziata dal dispositivo presentato dal la stringa "AO" non à ̈ stata completata, si assume che la stringa indichi la ri presa di tale corsa, il cui stato (i n parti colare ID del la corsa, date/ore di i nizio corsa, credito resi -duo, cliente) viene quindi ricaricato, il metodo di gestione invoca infine il metodo Save Track della classe vehicle. The management method of this type of string instantiates an object of the PostgresDB class the constructor of this class creates an object of the Settings class whose static attributes are the database connection parameters) and recognizes the device using the getVehiclelnfo method of the same class ( this method queries the vehicles table from which it obtains information on the devices that are returned to the string management method "AO"). the management method also manages the loading of information relating to any run left open; this allows to manage the case of re-connection after a period of disconnection of the device, and allows to continue The run not finished, the loading mechanism of the suspended run uses the getLastRun method of the PostgresDB class: if the last run started by the device presented by the string "AO" has not been completed, it is assumed that the string indicates the resumption of such a trip, whose status (the particular ID of the trip, dates / times of the start of the trip, return credit -duo , customer) is then reloaded, the management method finally invokes the Save Track method of the vehicle class.

"A3" (Richiesta di attenzione) "A3" (Attention request)

Sintassi: Syntax:

A3, <handle> CR LF A3, <handle> CR LF

Risposta: Reply:

A3, <handle>, 00 CR LF A3, <handle>, 00 CR LF

La stringa di ti po "A3" invia al MuxHub una ri chie-sta di attenzione da parte della centrale operativa. Il metodo di gestione di questo ti po di stringa mette a true l ' attributo HelpRequested della classe Vehicle (attual-mente non utilizzato) e restituisce la stringa di risposta di tipo "A3" . The type string "A3" sends the MuxHub a request for attention from the operations center. The management method of this type of string sets the HelpRequested attribute of the Vehicle class to true (currently not used) and returns the response string of type "A3".

"Al 1" (Stato) "Al 1" (State)

Sintassi: Syntax:

All, <handle>, <time>, <status string> CR LF Risposta: All, <handle>, <time>, <status string> CR LF Response:

All, <handle>, 00 CR LF All, <handle>, 00 CR LF

La stringa di tipo "All" comunica al MuxHub lo stato attuale del dispositivo. The string of type "All" communicates the current state of the device to the MuxHub.

<time> rappresenta l'ora di invio dello stato (il formato a HHmmss) . <time> represents the time the status was sent (the format to HHmmss).

<status string> Ã ̈ una stringa composta da coppie chiave-valore , nella forma chiavel =valorel &chiave2=valore2&. . . . , con un formato analogo all'encoding dei parametri delle URL. <status string> is a string made up of key-value pairs, in the form chiavel = valorel & key2 = value2 &. . . . , with a format similar to encoding URL parameters.

Nome parametro Tipo Descrizione Parameter name Type Description

VBATT Int Tensione batteria in mV VBATT Int Battery voltage in mV

ABATT Int Corrente batteria in A ABATT Int Battery current in A

DIN1 int Stato input digitale 1 DIN1 int Status of digital input 1

DIN2 int Stato input digitale 2 DIN2 int Status of digital input 2

BCOL int Collegamento cavo caricabatteria BCOL int Battery charger cable connection

Il messaggio viene inviato alla cadenza prevista solo se almeno un valore à ̈ cambiato e vengono trasmessi i soli valori cambiati rispetto alla trasmissione precedente. Per i dati analogici si considera un intervallo di insen-sibilità ai cambiamenti (ad es. 100 mv sulla tensione di batteria). In caso di invio in risposta ad una stringa di tipo "eli" verranno trasmessi tutti i valori compre-si, anche quelli non modificati. The message is sent at the scheduled rate only if at least one value has changed and only the values changed with respect to the previous transmission are transmitted. For analog data, an interval of insensitivity to changes is considered (eg 100 mv on battery voltage). In case of sending in response to a string of type "eli", all the values included will be transmitted, even those not modified.

Questo tipo di stringa sostituisce la stringa "All", thà ̈ viene mantenuta solo per compatibilità con i disposi-tivi Eurochip. This type of string replaces the string "All", which is kept only for compatibility with Eurochip devices.

Il metodo di gestione di questo tipo di stringa imposta alcuni attributi della classe Vehicle con i valori passati con la stringa (VBATT, ABATT, DINl, DIN2, BCOL) . The management method of this type of string sets some attributes of the Vehicle class with the values passed with the string (VBATT, ABATT, DINl, DIN2, BCOL).

Se il valore di BCOL à ̈ 1, cioà ̈ à ̈ stato collegato il cavo del caricabatteria (si veda La sezione 2) , viene impostato l'attributo battOK della classe Vehicle e, se la corsa à ̈ terminata, viene chiuso l 'eventuale evento anomalo relativo al mancato collegamento del cavo caricabatteria. infine il metodo di gestione restituisce la stringa di risposta di tipo "All" If the BCOL value is 1, that is, the battery charger cable has been connected (see Section 2), the battOK attribute of the Vehicle class is set and, if the run is finished, the eventual anomalous event related to failure to connect the battery charger cable. finally, the management method returns the response string of type "All"

"AI2" (Posizione) "AI2" (Position)

Sintassi: Syntax:

A12, <handle>, <time>, <latitude>, <longitude>, <bearing>, <speed>, <altitude>, <extra location string> CR LF A12, <handle>, <time>, <latitude>, <longitude>, <bearing>, <speed>, <altitude>, <extra location string> CR LF

Risposte: Answers:

A12, <handle>, 00 CR LF A12, <handle>, 00 CR LF

se richiesto: C14, <delay>, <beep>, <beep interval>, <message> CR LF se richiesto: C17, <limit enable>, <limit value> CR LF if required: C14, <delay>, <beep>, <beep interval>, <message> CR LF if required: C17, <limit enable>, <limit value> CR LF

La stringa Al2 comunica al MuxHub la posizione attuale del dispositivo. The string Al2 communicates the current position of the device to the MuxHub.

<time> rappresenta l 'ora del rilevamento GPS (il formato e HHmmss). <time> represents the time of the GPS fix (the format and HHmmss).

<latitude> e <longitude> rappresentano i valori di latitudine e longitudine in gradi (nn.nnnnn) ; sono valori float codificati con separatore decimate anglosassone (.) . Per questi valori à ̈ stato modificato il codice in modo da accettare valori in formato standard e non in formato centesimale; inoltre non vengono accettati gli indicatori dei punti cardinali . <latitude> and <longitude> represent the latitude and longitude values in degrees (nn.nnnnn); are float values encoded with Anglo-Saxon decimated separator (.). For these values the code has been modified to accept values in standard format and not in centesimal format; furthermore, the indicators of the cardinal points are not accepted.

<bearing> rappresenta La direzione in gradi (intero da 0 a 360) . <bearing> represents the direction in degrees (integer from 0 to 360).

<speed> rappresenta la velocità in km orari . <speed> represents the speed in kilometers per hour.

<altitude> rappresenta l 'altitudine in metri . <altitude> represents the altitude in meters.

<extra location string> e' una stringa composta da coppie chiave valore, nella forma chiavel=valorel&chiave2= valore2& con un formato analogo all 'encoding dei parametri delle URL. <extra location string> is a string made up of key-value pairs, in the form chiavel = valorel & key2 = value2 & with a format similar to the encoding of URL parameters.

La tabella seguente descrive i campi previsti nella stri nga <extra location string>. The following table describes the fields provided in the <extra location string>.

Nome parametro Tipo Descrizione Parameter name Type Description

NSAT int Numero di satelliti con cui à ̈ stato fatto il fix HDOP int Precisione del fix orizzontale in metri NSAT int Number of satellites with which the HDOP fix was made int Accuracy of the horizontal fix in meters

VDOP int Precisione del fix verticale (quota) in metri VDOP int Accuracy of the vertical fix (altitude) in meters

CN int Numero civico dove si trova il veicolo CN int House number where the vehicle is located

RDN string Nome della via dove si trova il veicolo RDN string Name of the street where the vehicle is located

La stringa di tipo "Al 2" viene inviata in ogni caso alla cadenza prevista (variabile in base a vari parametri , ad esempio la velocità, la variazione del hearing , ecc.) . Questa stringa sostituisce la stringa "A2" , che viene mantenuta solo per compatibilità con i dispositivi Eurochip. The string of type "Al 2" is sent in any case at the expected cadence (variable based on various parameters, for example the speed, the variation of the hearing, etc.). This string replaces the string "A2", which is kept only for compatibility with Eurochip devices.

Il metodo di gestione di questo tipo di stringa imposta alcuni attributi della classe Vehicle con i valori passati con la stringa (ora, latitudine, longitudine, bearing, velocità, altitudine, extralocationstring). The management method of this type of string sets some attributes of the Vehicle class with the values passed with the string (time, latitude, longitude, bearing, speed, altitude, extralocationstring).

Successivamente il metodo invoca un web Service per il reverse geo-coding delle coordinate ricevute con La stringa di tipo "Al2", allo scopo di ricavare l'indirizzo del dispositivo nella variabile GPSLocation. Subsequently, the method invokes a web Service for the reverse geo-coding of the coordinates received with the string of type "Al2", in order to obtain the address of the device in the GPSLocation variable.

Il metodo invoca a questo punto il metodo Save Track della classe Vehicle. The method now invokes the Save Track method of the Vehicle class.

Quindi viene invocato il metodo checkZones del 1 a classe PostgresDB, il quale esegue il controllo della posizione rispetto alle aree configurate, in particolare viene verificato se il dispositivo si trova in un parcheggio, in un'area vietata, in un'area a velocità limitata, al di fuori del perimetro consentito o su strada. Se una di queste condizioni à ̈ vera, viene inviato un messaggio informativo al dispositivo, attraverso una stringa di tipo "014"; in particolare, se il dispositivo à ̈ entrato in un parcheggio, viene impostato l'attributo parkOK del-la classe Vehicle, e se La corsa à ̈ terminata, viene chiuso l'eventuale evento aperto legato alla mancata riconsegna in parcheggio; se invece dispositivo à ̈ in un'area a ve-locità limitata, viene inviata al veicolo una stringa di tipo "017" che forza La limitazione della velocità (attualmente fissata a 50 km orari). Then the checkZones method of the 1st class PostgresDB is invoked, which checks the position with respect to the configured areas, in particular it is checked if the device is in a parking lot, in a forbidden area, in an area with limited speed , outside the permitted perimeter or on the road. If one of these conditions is true, an information message is sent to the device, through a string of type "014"; in particular, if the device has entered a car park, the parkOK attribute of the Vehicle class is set, and if the ride is over, any open event linked to the failure to return to the car park is closed; on the other hand, if the device is in an area with limited speed, a string of type "017" is sent to the vehicle which forces the speed limitation (currently set at 50 km per hour).

Se invece il dispositivo si trova in strada, viene verificata la velocità in rapporto al tipo di strada e, qualora la velocità sia superiore a quella consentita, viene inviata una stringa alla base di dati. If, on the other hand, the device is on the road, the speed is checked in relation to the type of road and, if the speed is higher than the permitted one, a string is sent to the database.

infine il metodo di gestione restituisce La stringa di risposta di tipo "Al 2". finally, the management method returns the response string of type "Al 2".

“A13" (Condizione di allarme interno) â € œA13 "(Internal alarm condition)

Sintassi: Syntax:

A13, <handle>, <time>, <alarm code>, <alarm message> CR LF A13, <handle>, <time>, <alarm code>, <alarm message> CR LF

Risposta: Reply:

A13, <handle>, 00 CR LF A13, <handle>, 00 CR LF

La stringa di tipo "Al3" segnala al MuxHub La presenza di condizioni di allarme rilevate dall 'hardware a bor-do (ad esempio anomalia batteria, surriscaldamento moto-re, ecc.). The "Al3" type string signals to the MuxHub the presence of alarm conditions detected by the hardware on board (for example battery anomaly, motor overheating, etc.).

<time> rappresenta l'ora del rilevamento del problema (il formato à ̈ HHmmss) . <time> represents the time the problem was detected (the format is HHmmss).

<alarm code> à ̈ un codice univoco dell'allarme (in caso di segnalazione di allarme à ̈ un valore intero positivo; l'eventuale segnalazione della fine di una condizione anomala à ̈ comunicata con lo stesso codice dell'avaria con il segno negativo). <alarm code> is a unique alarm code (in the event of an alarm signal it is a positive integer value; any signaling of the end of an anomalous condition is communicated with the same fault code with a negative sign ).

<alarm message> à ̈ una descrizione testuale opzionale dell 'allarme, thà ̈ pile) contenere eventualmente anche delle informazioni aggiuntive per specificare il problema (ad esempio la temperatura del motore). <alarm message> is an optional text description of the alarm, thà ̈ pile) possibly also contain additional information to specify the problem (for example the engine temperature).

Il numero e La tipologia di possibili allarmi non sono ancora definite. The number and type of possible alarms are not yet defined.

Una stringa di tipo "Al3" trasmette un solo allarme: se ci sono più allarmi contemporaneamente vengono mandati più messaggi. A string of type "Al3" transmits only one alarm: if there are more alarms at the same time, more messages are sent.

il metodo di gestione di questo tipo di stringa imposta alcuni attributi della classe vehicle con i valori passati con la stringa ( timeReq , errCode, errMsg). Poi restituisce La stringa di risposta di tipo "A13". the management method of this type of string sets some attributes of the vehicle class with the values passed with the string (timeReq, errCode, errMsg). Then it returns the response string of type "A13".

"Al 5" (Richiesta di autenticazione) "Al 5" (Authentication required)

Sintassi: Syntax:

A15 , <handle>, <time>, <key>, <check> CR LF A15, <handle>, <time>, <key>, <check> CR LF

Risposte: Answers:

A15, <handle>, 00 CR LF A15, <handle>, 00 CR LF

<handle>, <response>, <name>, <language>, <check response>, <extra string> CR LF <handle>, <response>, <name>, <language>, <check response>, <extra string> CR LF

<handle>, <time>, <credit>, <check response> CR LF (sol O in caso di autenticazione con esito positivo) <handle>, <time>, <credit>, <check response> CR LF (only O in case of successful authentication)

La stringa di tipo "Al5" segnala al MuxHub la richiesta di un cliente di usare il dispositivo; attraverso tale stringa il dispositivo trasmette al MuxHub il codice RFID acquisito dal lettore. The string of type "Al5" signals to the MuxHub the request of a customer to use the device; through this string the device transmits the RFID code acquired by the reader to the MuxHub.

<time> rappresenta l'ora della lettura della chiave (il formato a YYYYMMddHHmmss) . <key> rappresenta il numero seriale acquisito dal lettore. <time> represents the time the key was read (the format is YYYYMMddHHmmss). <key> represents the serial number acquired by the reader.

<check> rappresenta il codice di controllo generato casualmente. <check> represents the randomly generated check code.

Nelle specifiche iniziali del protocollo era previsto, nella stringa "015", un ulteriore campo Extra String, che non viene però ora generato. In the initial specifications of the protocol, an additional Extra String field was provided in the string "015", which is not, however, now generated.

il server deve rispondere ad una richiesta di autenticazione con: the server must respond to an authentication request with:

* una stringa di tipo "A15" per confermare la ricezione della richiesta; * a string of type "A15" to confirm receipt of the request;

* una stringa di tipo "C15" per fornire l'esito dell'autenticazione; * a string of type "C15" to provide the authentication result;

« una stringa di tipo "C16" per comunicare il credito residuo (solo nel caso di autenticazione con esito positivo) . «A string of type" C16 "to communicate the residual credit (only in the case of successful authentication).

(Si veda oltre per La sintassi delle risposte di tipo "C15" e "C16") (See below for the syntax of the "C15" and "C16" type responses)

L'autenticazione può fallire per i seguenti motivi: Authentication can fail for the following reasons:

* utente esistente ma disabilitato; * existing user but disabled;

* utente non esistente; * user does not exist;

* utente esistente ma credito non sufficiente (anche considerando l'eventuale fido); * existing user but insufficient credit (also considering any credit line);

* utente non abilitato perche il veicolo risulta attualmente "esteso" da un altro utente (si veda stringa "A17") . * user not enabled because the vehicle is currently "extended" by another user (see string "A17").

Nel caso di credito inferiore a zero ma coperto da fido, l'autenticazione avrà comunque esito positivo. In the case of credit below zero but covered by a credit line, the authentication will still have a positive outcome.

La ricezione della stringa di tipo "A15" non segna l'inizio della corsa, ma soltanto La richiesta di autenticazione; ad essa, solo in caso di autenticazione con esito positivo, può seguire una ulteriore stringa (di tipo "A19") da parte del dispositivo, il quale comunicherà La richiesta da parte del cliente di iniziare effettivamente la corsa. The receipt of the string of type "A15" does not mark the start of the run, but only the authentication request; it can be followed by a further string (of type "A19") by the device, only in the case of successful authentication, which will communicate the request by the customer to actually start the run.

Il metodo di gestione di questo tipo di stringa verifica se La richiesta di autenticazione à ̈ arrivata dopo una riconnessione a seguito di periodo di sconnessione, oppure dopo una semplice connessione del dispositivo. Nel primo caso, si verifica se il codice RFID presentato à ̈ lo stesso che aveva interrotto La corsa in precedenza, oppure un altro: se à ̈ lo stesso, la richiesta di autenticazione à ̈ inutile e viene ignorata, mentre se à ̈ diverso, viene forzato (invocando il metodo di gestione delle stringhe di tipo "Al 7") il termine della corsa corrente (ripresa dopo disconnessione) e viene gestita La nuova autenticazione. The management method of this type of string verifies whether the authentication request has arrived after a reconnection following a disconnection period, or after a simple connection of the device. In the first case, it is verified whether the RFID code presented is the same that had interrupted the run previously, or another: if it is the same, the authentication request is useless and is ignored, while if it is different, the end of the current run (resumed after disconnection) is forced (by invoking the string management method of type "Al 7") and the new authentication is managed.

Successivamente il metodo di gestione riconosce il cliente associato alla card che chiede l'autenticazione, utilizzando il metodo CheckCustomer, il quale istanzia un nuovo oggetto della classe User e invoca il metodo GetUser della classe PostgresDB; questo metodo esegue una query sul database e cattura negli attributi dell 'oggetto User le proprietà del cliente selezionato. Subsequently, the management method recognizes the customer associated with the card requesting authentication, using the CheckCustomer method, which instantiates a new object of the User class and invokes the GetUser method of the PostgresDB class; this method queries the database and captures the properties of the selected customer in the attributes of the User object.

Poi il metodo controlla se il cliente e La card sono abilitati (controllando le informazioni sul database attraverso i metodi isEnableUser e isEnableCard della classe PostgresDB) ; in caso negativo l'autenticazione fallisce. Then the method checks if the client and the card are enabled (checking the information on the database through the isEnableUser and isEnableCard methods of the PostgresDB class); otherwise, authentication fails.

Quindi il metodo controlla se il dispositivo à ̈ stato "esteso" e, se si , da quale codice RFID ; se risulta esteso da un codice diverso da quello che adesso chiede l'autenticazione, questa fallisce. Then the method checks if the device has been "extended" and, if so, by which RFID code; if it is extended by a code other than the one now asking for authentication, it fails.

infine il metodo, in tutti i casi , recupera (attraverso il metodo getCardCredit della classe PostgresDB) / 7 credito residuo associato alla card che chiede l'autenticazione, e calcola (attraverso il metodo CheckExpi redEvents della classe PostgresDB) l'ammontare delle penali associate ad eventuali eventi scaduti, addebitandoli alla card in questione. finally, the method, in all cases, retrieves (through the getCardCredit method of the PostgresDB class) / 7 residual credit associated with the card requesting authentication, and calculates (through the CheckExpi redEvents method of the PostgresDB class) the amount of the associated penalties to any expired events, charging them to the card in question.

infine restituisce le stringhe di risposta di tipo "A15", "C15" e "C16". finally, it returns the response strings of type "A15", "C15" and "C16".

"Al 9" (Inizio della corsa) "At 9" (Start of the race)

Sintassi: Syntax:

A19, <handle>, <time>, <key>, <check> CR LF A19, <handle>, <time>, <key>, <check> CR LF

Risposte: Answers:

Al 9, <handle>, 00 CR LF At 9, <handle>, 00 CR LF

La stringa di tipo "A19" segnala al MuxHub l'inizio effettivo della corsa. The string of type "A19" signals the actual start of the run to the MuxHub.

<time> rappresenta l'ora della lettura della chiave (il formato à ̈ YYYYMMddHHmmss) . <key> rappresenta il numero seriale acquisito dal lettore. <time> represents the time the key was read (the format is YYYYMMddHHmmss). <key> represents the serial number acquired by the reader.

<check> rappresenta il codice di controllo generato casualmente. <check> represents the randomly generated check code.

A partire dalla ricezione di questa stringa, ha inizio il computo del tempo della corsa, ai fini del calcolo del costo della corsa stessa. Inoltre in questo istante viene avviato il timer utilizzato per l'invio spontaneo e periodico del credito residuo del cliente. Starting from the reception of this string, the calculation of the time of the journey begins, for the purpose of calculating the cost of the journey itself. Furthermore, at this moment the timer used for the spontaneous and periodic sending of the customer's remaining credit is started.

Il calcolo del tempo (e del costo della corsa) e il funzionamento del timer di invio spontaneo del credito residuo termineranno con La ricezione della stringa di tipo "Al7"; il timer di invio del credito avrà termine in ogni caso 2 minuti dopo l’ultimo contatto stabilito con il veicolo. The calculation of the time (and the cost of the trip) and the operation of the timer for spontaneous sending of the residual credit will end with the receipt of the string of type "Al7"; the credit sending timer will end in any case 2 minutes after the last contact established with the vehicle.

Il metodo di gestione di questo tipo di stringa verifica se La precedente autenticazione (gestione della stringa di tipo "A15") aveva avuto esito positivo e se non esiste attualmente una corsa aperta; se queste condizioni non sono entrambe vere, non si fa nulla e si passa direttamente alla generazione della risposta di tipo "A19", altrimenti si procede alla gestione della stringa, come descritto di seguito. The method of handling this type of string checks if the previous authentication (management of the string of type "A15") was successful and if there is currently no open run; if these conditions are not both true, nothing is done and we go directly to the generation of the "A19" type response, otherwise we proceed with the management of the string, as described below.

Se il dispositivo à ̈ stato "esteso" (sicuramente dallo stesso codice RFID che sta iniziando La corsa, altrimenti l'autenticazione avrebbe avuto esito negativo), viene calcolato (attraverso il metodo getEventDuration della classe PostgresDB) il costo dell'estensione, secondo l'usuale listino delle corse; inoltre, attraverso il metodo InsertOperation della classe PostgresDB, viene registrata l'operazione di attivazione sulla tabella crediti operazioni e aggiornato il credito sulla tabella crediti attraverso il metodo SaveCredit della classe PostgresDB. If the device has been "extended" (certainly from the same RFID code that is starting the run, otherwise the authentication would have failed), the cost of the extension is calculated (through the getEventDuration method of the PostgresDB class), according to the 'usual price list of races; moreover, through the InsertOperation method of the PostgresDB class, the activation operation is recorded on the operations credits table and the credit on the credits table is updated through the SaveCredit method of the PostgresDB class.

Viceversa, in caso di non estensione, viene addebitato il costo dell'attivazione al credito della card, salvo nel caso di card "esentata" (caso verificato attraverso il metodo IsFreeCard della classe PostgresDB); inoltre, attraverso il metodo InsertOperation della classe PostgresDB) viene registrata l'operazione di attivazione sulla tabella crediti operazioni e aggiornato il credito sulla tabella crediti attraverso il metodo SaveCredit della classe PostgresDB. Conversely, in case of non-extension, the cost of activation is charged to the credit of the card, except in the case of an "exempted" card (case verified through the IsFreeCard method of the PostgresDB class); moreover, through the InsertOperation method of the PostgresDB class) the activation operation is recorded on the operations credits table and the credit on the credits table is updated through the SaveCredit method of the PostgresDB class.

Se la corsa risulta non ancora iniziata, viene invocato il metodo SetCorsa (con parametro true). If the run has not yet started, the SetCorsa method is invoked (with parameter true).

il metodo SetCorsa della classe Vehicle, invocato con parametro true in caso di stringa "Al5", e con parametro false in caso di stringa di tipo "Al 7", imposta alcuni attributi dell 'oggetto drun, relativo alla "corsa" corrente. the SetCorsa method of the Vehicle class, invoked with parameter true in case of string "Al5", and with parameter false in case of string of type "Al 7", sets some attributes of the drun object, relative to the current "ride".

in caso di parametro true il metodo imposta l'iD cliente con l'ID dell'utente associato all 'oggetto Vehicle corrente, l'ID del veicolo con l'ID dell'oggetto Vehicle corrente, l'ora di inizio con l'ora corrente, latitudine, longitudine, tensione batteria e credito utente con i valori presi dagli oggetti Vehicle e User correnti . Inoltre avvia il timer che regola l'invio spontaneo del credito residuo al veicolo. if the parameter is true, the method sets the customer ID with the user ID associated with the current Vehicle object, the vehicle ID with the current Vehicle object ID, the start time with the time current, latitude, longitude, battery voltage and user credit with the values taken from the current Vehicle and User objects. It also starts the timer that regulates the spontaneous sending of the remaining credit to the vehicle.

in caso di parametro false imposta gli stessi attributi , registrandoli come attributi finali. Aggiunge anche il numero di km percorsi; calcola infine e registra nell'oggetto drun il tempo trascorso tra La prima stringa di tipo "Al9" e La prima stringa di tipo "A17" e (utilizzando il metodo getCostTime) La tariffa complessiva, inoltre invoca il metodo UpdateCredit per il calcolo del valore finale del credito a fine corsa. in case of false parameter sets the same attributes, registering them as final attributes. It also adds the number of kilometers traveled; finally calculates and records in the drun object the time elapsed between the first string of type "Al9" and the first string of type "A17" and (using the getCostTime method) the total rate, it also invokes the UpdateCredit method to calculate the value credit at the end of the run.

L'oggetto drun viene utilizzato dai metodi endCorsaVehicle e startCorsaVehicle di Postgres DB (erede di IpluginAuth), alto scopo di inserire e aggiornare il record relativo alla corsa sulla tabella di database veicoli corse (rispettivamente all 'inizio e alla fine della corsa). The drun object is used by the endCorsaVehicle and startCorsaVehicle methods of Postgres DB (heir of IpluginAuth), with the aim of inserting and updating the record relating to the race on the database table of race vehicles (respectively at the beginning and at the end of the race).

Infine il metodo di gestione chiude eventuali eventi non ancora scaduti e genera La stringa di risposta di tipo "Al9" . Finally, the management method closes any events that have not yet expired and generates the response string of type "Al9".

"A16" (Richiesta del credito residuo) "A16" (Request for residual credit)

Sintassi: Syntax:

A16, <handle>, <time>, <check> CR LF A16, <handle>, <time>, <check> CR LF

Risposte: Answers:

Al 6, <handle>, 00 At 6, <handle>, 00

<handle>, <response>, <name>, <language>, <check response>, <extra string> CR LF <handle>, <response>, <name>, <language>, <check response>, <extra string> CR LF

<handle>, <tirae>, <credit>, <check response> CR LF <handle>, <tirae>, <credit>, <check response> CR LF

La stringa di tipo "Al6" segnala al MuxHub la richiesta di ricevere il valore aggiornato del credito residuo. The string of type "Al6" signals to the MuxHub the request to receive the updated value of the residual credit.

<time> rappresenta l'ora della lettura della chiave (il formato e HHmmss) <time> represents the time the key was read (the format and HHmmss)

<key> rappresenta il numero seriale della card. <key> represents the serial number of the card.

<check> rappresenta il codice di controllo generato casual mente. <check> represents the randomly generated check code.

il server deve rispondere con una stringa "Al6" per confermare la ricezione della richiesta e con una stringa di tipo "C15" per fornire il consenso. La stringa "C16" conterrà anche un campo di controllo risultante da una formula di hashing calcolata su ti me, idkey e check. the server must reply with an "Al6" string to confirm receipt of the request and with a "C15" string to provide consent. The string "C16" will also contain a control field resulting from a hashing formula calculated on ti me, idkey and check.

Il metodo di gestione di questo tipo di stringa invoca il metodo updateCredit della classe Vehicle, Π quale calcola il credito aggiornato della card. Questo metodo calcola il tempo trascorso dall'inizio della corsa, e il corrispondente costo, calcolato grazie al metodo getcostrime della classe PostgresDB . Quindi imposta l'attributo del costo nell'oggetto della corsa (drun) ; poi calcola e imposta l 'attributo del credito residuo nell'oggetto correntemente istanziato della classe U-ser. Infine salva sul database il credito aggiornato re-lativo alla card. The management method of this type of string invokes the updateCredit method of the Vehicle class, which calculates the updated credit of the card. This method calculates the time elapsed from the start of the run, and the corresponding cost, calculated thanks to the getcostrime method of the PostgresDB class. Then set the cost attribute in the run object (drun); then it calculates and sets the residual credit attribute in the currently instantiated object of the U-ser class. Finally, it saves the updated credit relating to the card in the database.

La risposta che il metodo di gestione della stringa A16 invia à ̈ formata da tre stringhe, di tipo "Al6", "C15", e "C16". The response that the A16 string handling method sends is made up of three strings, of type "Al6", "C15", and "C16".

"A17" (Termine di utilizzo del veicolo) "A17" (Term of use of the vehicle)

Sintassi: Syntax:

A17, <handle>, <time>, <key>, <reservation>, <check>, <extra string> CR LF A17, <handle>, <time>, <key>, <reservation>, <check>, <extra string> CR LF

Risposta: Reply:

A17, <handle>, 00 A17, <handle>, 00

La stringa di tipo "A17" segnala al MuxHub l'arresto del veicolo e il termine della corsa. The string of type "A17" signals to the MuxHub the stop of the vehicle and the end of the run.

<time> rappresenta l'ora della lettura della chiave (f o rmato YYYYMMddHHmmss) . <time> represents the time the key was read (signed YYYYMMddHHmmss).

<key> rappresenta il numero seriale acquisito dal lettore. <key> represents the serial number acquired by the reader.

<reservation> rappresenta il numero di minuti di prenotazione del veicolo (0: rilascio immediato, -1 prenotazione illimitata). <reservation> represents the number of minutes the vehicle has been booked (0: immediate release, -1 unlimited reservation).

<check> rappresenta il codice di controllo thà ̈ viene calcolato come segue: <check> represents the check code thà ̈ is calculated as follows:

ID XOR (time MOD 65536) ID XOR (time MOD 65536)

in cui ID Ã ̈ il valore numerico calcolato come somma dei valori ASCII dei caratteri componenti la stringa key. where ID is the numeric value calculated as the sum of the ASCII values of the characters making up the key string.

La tabella seguente descrive i campi previsti nella stringa <extra string>. The following table describes the fields expected in the <extra string> string.

Nome parametro Tipo Descrizione Parameter name Type Description

TIME date Data e ora in formato YYYYMMddHHmmss TIME date Date and time in YYYYMMddHHmmss format

La ricezione della stringa "Al 7" segna La fine del computo del tempo della corsa, ai fini del calcolo del costo della corsa stessa, inoltre in questo istante viene arrestato il timer utilizzato per l'invio spontaneo e pe-riodico del credito residuo del cliente. The receipt of the string "Al 7" marks the end of the calculation of the time of the trip, for the purpose of calculating the cost of the trip itself, moreover at this moment the timer used for the spontaneous and periodic sending of the residual credit of the trip is stopped. customer.

All'arresto del veicolo all'utente sarà presentata la scelta se abbandonare il veicolo o estendere la corsa per un numero prefissato di ore. La durata dell'eventuale estensione della corsa à ̈ di un numero di ore prefissato nella tabella tempi del database. When the vehicle is stopped, the user will be presented with the choice whether to abandon the vehicle or extend the ride for a predetermined number of hours. The duration of the eventual extension of the run is of a number of hours fixed in the times table of the database.

il metodo di gestione di questo tipo di stringa cat-tura il codice chiave e il campo "reservation" . the management method of this type of string captures the key code and the "reservation" field.

Se l'oggetto istanziato relativo alla corsa corrente non à ̈ nullo, cioà ̈ non era stata già ricevuta una stringa di tipo "A17", viene gestita l 'eventuale estensione della corsa (cioà ̈ nel caso di <reservation> invoca il metodo Reserve Vehicle della classe PostgresDB, il quale inserisce nella tabella estensioni del database un record corrispondente all'estensione effettuata, con le colonne valorizzate sono relative al veicolo, alla card e alla da-ta/ora corrente); viene poi invocato il metodo Setcorsa con il parametro false, e quindi viene inviata una stringa "C16" con l'aggiornamento del credito finale. infine viene inviata la stringa di risposta di tipo "Al 7" . If the instantiated object relating to the current run is not null, that is, a string of type "A17" had not already been received, the eventual extension of the run is managed (that is, in the case of <reservation>, it invokes the Reserve method Vehicle of the PostgresDB class, which inserts in the database extensions table a record corresponding to the extension carried out, with the columns valued relating to the vehicle, the card and the current date / time); the Setcorsa method is then invoked with the parameter false, and then a string "C16" is sent with the updating of the final credit. finally, the response string of type "Al 7" is sent.

Stringhe obsolete Obsolete strings

Le seguenti stringhe sono obsolete e non utilizzate: • stringa "Al" (stato) The following strings are obsolete and not used: â € ¢ string "Al" (status)

« stringa "A2" (posizione) «String" A2 "(position)

» stringa "AIO" (accensione della chiave cruscotto) • stringa "Al8" (lettura tag) »" AIO "string (ignition of the dashboard key) â € ¢" Al8 "string (tag reading)

Stringhe inviate dal MuxHub ai dispositivi Strings sent from the MuxHub to devices

"C15" (Risposta ad una richiesta di autenticazione) "C15" (Response to an authentication request)

Sintassi: Syntax:

C15, <handle>, <response>, <name>, <language>, Ccheck response>, <extra string> CR LF C15, <handle>, <response>, <name>, <language>, Ccheck response>, <extra string> CR LF

invia la risposta ad una richiesta di autenticazione ("Al5") o ad una richiesta del credito ("A16") . response> rappresenta il valore numerico indicante l'esito della autenticazione: sends the response to an authentication request ("Al5") or to a credit request ("A16"). response> represents the numerical value indicating the outcome of the authentication:

0 OK, autenticazione corretta (macchine) 0 OK, authentication successful (machines)

1 utente esistente ma disabilitato (macchine) 2 Utente non esistente (macchine) 1 existing but disabled user (machines) 2 Non-existent user (machines)

3 Credito esaurito (macchine) 3 Out of credit (machines)

5 Veicolo esteso da altro cliente (macchine) <name> rappresenta il nome completo dell'utente, utilizzato per essere visualizzato sul display. <language> Ã ̈ una stringa da due caratteri (ISO national code) indicante la lingua dell'utente: 5 Vehicle extended by other customer (machines) <name> represents the user's full name, used to be shown on the display. <language> is a two-character string (ISO national code) indicating the user's language:

IT italiano IT Italian

UK inglese UK English

DE tedesco DE German

FR francese FR French

<check response> Ã ̈ un valore di controllo calcolato <check response> is a calculated check value

sui dati del messaggio Al 5 secondo La seguente regola: on the data of the message Al 5 second The following rule:

<id> XOR (<check> (<time> MOD 10) ) <id> XOR (<check> (<time> MOD 10))

dove <check> Ã ̈ il valore del campo passato con la stringa where <check> is the value of the field passed with the string

Al5 o Al6, e <id> Ã ̈ il valore numerico calcolato come Al5 or Al6, and <id> is the numerical value calculated as

somma dei valori ASCII dei caratteri componenti la stringa della chiave. Il valore di <id> viene calcolato at-traverso il metodo LoginSum della classe vehicle, mentre il metodo LoginCheckCalc della stessa classe calcola l'intero valore di <check response>. sum of the ASCII values of the characters making up the key string. The value of <id> is calculated through the LoginSum method of the vehicle class, while the LoginCheckCalc method of the same class calculates the entire value of <check response>.

<extra string> Ã ̈ una stringa composta da <extra string> is a string consisting of

coppie chiave valore, nella forma chiavel=valorel&chiave2=valore2&. . . . con un formato analogo all 'encoding dei parametri delle URL. key-value pairs, in the form chiavel = valueel & key2 = value2 &. . . . with a format similar to encoding URL parameters.

La tabella seguente descrive i campi previsti nella The following table describes the fields provided in the

stringa <extra string>. string <extra string>.

Nome parametro Tipo Descrizione Parameter name Type Description

PICKUP int Solo per protocolli di tipo 1 ; vale 1 se la richiesta di autenticazione à ̈ relativa ad un prelievo, e 0 se à ̈ relativa ad una restituzione PICKUP int Only for type 1 protocols; it is 1 if the authentication request is related to a withdrawal, and 0 if it is related to a return

"C16" (Trasmissione del credito residuo) "C16" (Transmission of residual credit)

Sintassi: Syntax:

C16, <handle>, <time>, <credit>, <check response> CR LF Trasmette il credito residuo al dispositivo, viene trasmesso spontaneamente ad intervalli regolari (30 secondi), oppure in risposta ad una stringa di tipo "A15", oppure in risposta ad una stringa di tipo "A16". C16, <handle>, <time>, <credit>, <check response> CR LF Transmits the remaining credit to the device, it is transmitted spontaneously at regular intervals (30 seconds), or in response to a string of type "A15", or in response to a string of type "A16".

<time> rappresenta l'ora della trasmissione in formato HHmmss. <time> represents the time of transmission in HHmmss format.

<credit> rappresenta il valore residuo sul conto dell'utente, in centesimi di euro. <credit> represents the residual value on the user's account, in euro cents.

check response> rappresenta il valore di controllo che, nel caso di invio spontaneo, viene calcolato come <id> XOR (<credito> *(<time> MOD 10) ) check response> represents the control value which, in the case of spontaneous sending, is calculated as <id> XOR (<credit> * (<time> MOD 10))

mentre in caso di invio richiesto dal veicolo (attraverso la stringa A16) viene calcolato come while in case of sending requested by the vehicle (through the A16 string) it is calculated as

<id> XOR (<credito> * (<time> MOD 10) <check>) dove <check> Ã ̈ il valore del campo passato con la stringa Al6, e <id> Ã ̈ il valore numerico calcolato come somma dei valori ASCII dei caratteri componenti la stringa della chiave, il valore di <id> viene calcolato attraverso il metodo LoginSum della classe Vehicle, mentre il metodo LoginCheckCalc della stessa classe calcola l'intero valore di <check>. <id> XOR (<credit> * (<time> MOD 10) <check>) where <check> is the value of the field passed with the string Al6, and <id> is the numeric value calculated as the sum of the values ASCII of the characters making up the key string, the value of <id> is calculated through the LoginSum method of the Vehicle class, while the LoginCheckCalc method of the same class calculates the entire value of <check>.

Altre stringhe inviate dal MuxHub ai dispositivi Other strings sent from the MuxHub to devices

in aggiunta alle stringhe inviate ai dispositivi come risposta alle stringhe ricevute, il modulo MuxHub à ̈ in grado di inviare stringhe indipendentemente da quanto ricevuto dai dispositivi. in addition to the strings sent to the devices as a response to the received strings, the MuxHub module is able to send strings regardless of what is received by the devices.

Al momento il modulo MuxHub prevede metodi che gestiscono questo invio, ma tali metodi non vengono mai invocati da altre parti del codice. Currently the MuxHub module has methods that handle this submission, but those methods are never invoked from other parts of the code.

in particolare, le stringhe inviate sono: in particular, the strings sent are:

ciò <delay> CRLF: forza un reset della scheda con ricaricamento del software this <delay> CRLF: forces a reset of the board with software reload

cu CRLF: forza La ritrasmissione della stringa completa dei dati dello stato del dispositivo cu CRLF: Forces retransmission of the complete string of device status data

ci2 CRLF: forza La ritrasmissione della stringa completa dei dati di posizione del dispositivo ci2 CRLF: forces retransmission of the complete string of device position data

ci3 CRLF: segnala al dispositivo la disponibilità di aggiornamenti ci3 CRLF: signals to the device the availability of updates

C14 <delay, beep, beep interval, text> CRLF: invia un messaggio al dispositivo C14 <delay, beep, beep interval, text> CRLF: send a message to the device

C17<limitEnable,limitValue>CRLF: abilita O disabilita la limitazione di velocità sul motore C17 <limitEnable, limitValue> CRLF: enable OR disable the speed limitation on the motor

C18 <blockEnable , delay> CRLF: forza lo spegnimento del motore del veicolo (delay minimo 30 secondi) C18 <blockEnable, delay> CRLF: forces the vehicle engine to stop (minimum delay 30 seconds)

ci9 CRLF: forza la ritrasmissione del codice utente (A15) ci9 CRLF: forces the retransmission of the user code (A15)

CONCLUSIONI ED APPLICABILITA’ INDUSTRIALE CONCLUSIONS AND INDUSTRIAL APPLICABILITY

Da quanto precede si noterà che il procedimento ed il sistema inventivi raggiungono pienamente il compito e gli scopi proposti . From the foregoing it will be noted that the inventive process and system fully achieve the intended aim and objects.

Benché l'invenzione sia stata descritta con riferimento a forme di realizzazione specifiche di esse, in particolare per la gestione di flotte di automobili in car sharing e di autocarri, il tecnico del ramo comprenderà che i concetti inventivi possono pure essere applicati alla gestione di altri veicoli, come ad esempio le biciclette che vanno attualmente sempre più diffondenti si nelle principali città Europee, o flotte di barche elettriche. Although the invention has been described with reference to specific embodiments thereof, in particular for the management of car-sharing car and truck fleets, the person skilled in the art will understand that the inventive concepts can also be applied to the management of other vehicles, such as bicycles which are currently becoming more and more widespread in the main European cities, or fleets of electric boats.

Naturalmente, le forme di realizzazione descritte sono suscettibili di numerose modifiche e varianti tutte rientranti nell'ambito del concetto inventivo. Of course, the embodiments described are susceptible of numerous modifications and variations, all of which are within the scope of the inventive concept.

In particolare, l'aspetto hardware nonché quello software potrà essere suscettibile di ulteriori perfezionamenti, modifiche e varianti, senza per questo uscire dall'ambito inventivo come definito nelle rivendicazioni qui accluse. In particular, the hardware aspect as well as the software aspect may be susceptible of further improvements, modifications and variations, without thereby departing from the inventive scope as defined in the attached claims.

Claims (17)

RIVENDICAZIONI 1. Procedimento di gestione e controllo delle comunicazioni di utenti dì veicoli terrestri, in particolare autoveicoli, autocarri ed autobus di corrispondenti flotte, mediante comunicazioni bidirezionali di dati e di comandi, con mezzi a centrale di gestione e controllo remoti, caratterizzato dal fatto che detto procedimento comprende almeno la fase di attivare e disattivare automaticamente dette comunicazioni, all'inizio ed al termine di un viaggio di un detto veicolo, mediante mezzi a carta d'utente a circuiteria integrata e ad importo precaricato ricaricabile individualmente associati, in modo personalizzato, a ciascun detto utente per consentire ad un qualsiasi detto utente di accedere a e guidare, sotto il controllo di detti mezzi a centrale, uno qualsiasi di detti veicoli di detta flotta, e che detti mezzi a centrale di gestione e controllo remoti comunicano continuamente interattivamente, per tutto detto viaggio, con un dispositivo a computer di bordo di detti veicoli. CLAIMS 1. Procedure for the management and control of communications of users of land vehicles, in particular motor vehicles, trucks and buses of corresponding fleets, by means of bidirectional communications of data and commands, with means to a remote management and control center, characterized by the fact that said method comprises at least the step of automatically activating and deactivating said communications, at the beginning and at the end of a journey of said vehicle, by means of user card means with integrated circuitry and with individually rechargeable pre-loaded amount associated, in a personalized way, to each said user to allow any said user to access and drive, under the control of said central means, any one of said vehicles of said fleet, and that said remote management and control central means communicate continuously interactively, in order to all said trip, with a computer device on board of said vehicles. 2. Procedimento secondo la rivendicazione 1 , ciascun detto veicolo essendo previsto per essere guidato da un utente, caratterizzato dal fatto che detto procedimento comprende le fasi di fornire, a bordo di detto veicolo, detto dispositivo di bordo includente mezzi a computer di bordo, mezzi di interfacciamento per gps, mezzi dì connessione voce/dati, mezzi di connessione ad un'unità a centralina elettronica di detto veicolo per il controllo della carica delie batterie di detto veicolo, mezzi per la limitazione della velocità di detto veicolo, mezzi a display, mezzi ad antenna gps e gprs, mezzi acustici, mezzi lettori di mezzi a carta di identificazione atti a leggere mezzi a carta d'utente introdotti da detto utente in detto dispositivo di bordo, fornire, in posizione remota da detto dispositivo di bordo, mezzi a server centrale, collegati operativamente a mezzi a centrale operativa a loro volta collegati operativamente a mezzi a centrale amministrativa, riconoscere, quando il veicolo à ̈ un'auto di detta flotta di autoveicoli, detto utente attraverso la lettura di detta carta; ricaricare il credito di detto utente tramite Pos virtuale; abilitare detta auto alla marcia; impostare una destinazione ed effettuare la navigazione; consentire all'utente o di parcheggiare l'auto tenendola occupata o lasciarla definitivamente a disposizione di altri utenti; gestire la tariffazione della corsa effettuando il prelievo dell'importo della somma precaricata; monitorare lo stato di carica delle batterie di detta auto ed avvertire l'utente e la centrale operativa quando à ̈ il momento di recarsi ad un parcheggio per il cambio dell'auto; limitare la velocità in determinate aree individuate dalla centrale di controllo come ad esempio centri storici, zone pedonali, parchi e giardini, ospedali, cimiteri e fiere, aree private; fornire l'elenco di destinazioni, punti di interesse turistico, commerciale, culturale o sportivo di una città; fornire l'elenco dei giri turistici, giri enogastronomìci o percorsi per lo shopping e limitare, quando detto veicolo à ̈ un camion, un autobus o simili, la velocità di detto camion o autobus in particolare su strade comunali, provinciali, statali ed autostrade; inviare la segnalazione del superamento di alcuni parametri, come velocità consentita, tempi di guida, concentrazione di determinate sostanze, a detto server del sistema e presentare messaggi per gli utenti di detti camion ed autobus nel caso stiano per commettere un'infrazione relativamente a velocità, tempi di guida, guida in stato di ebbrezza o sotto l'influsso di stupefacenti. 2. Method according to claim 1, each said vehicle being provided to be driven by a user, characterized in that said method comprises the steps of providing, on board said vehicle, said on-board device including on-board computer means, means interfacing for gps, means for voice / data connection, means for connecting to an electronic control unit unit of said vehicle for controlling the charge of the batteries of said vehicle, means for limiting the speed of said vehicle, display means , gps and gprs antenna means, acoustic means, identification card means reader means adapted to read user card means introduced by said user into said on-board device, to provide, in a remote position from said on-board device, means to central servers, operationally connected to means of an operational center which are in turn operationally connected to means of an administrative center, recognize, when the vehicle olo is a car of said fleet of vehicles, said user by reading said card; recharge the credit of said user via virtual Pos; enabling said car to drive; set a destination and navigate; allow the user to either park the car and keep it occupied or leave it permanently available to other users; manage the fare pricing by withdrawing the amount of the preloaded sum; monitor the state of charge of the batteries of said car and warn the user and the operations center when it is time to go to a car park to change the car; limit speed in certain areas identified by the control center such as historic centers, pedestrian areas, parks and gardens, hospitals, cemeteries and fairs, private areas; provide a list of destinations, tourist, commercial, cultural or sporting points of interest in a city; provide the list of sightseeing tours, food and wine tours or shopping routes and limit, when said vehicle is a truck, bus or similar, the speed of said truck or bus in particular on municipal, provincial, state and highways; send the report of the exceeding of certain parameters, such as permitted speed, driving times, concentration of certain substances, to said system server and present messages for users of said trucks and buses in case they are about to commit an infringement relating to speed, driving times, driving while intoxicated or under the influence of drugs. 3. Procedimento secondo la rivendicazione 2, caratterizzato dal fatto che detto procedimento comprende inoltre, dopo detta fase di fornire detto elenco dei giri turistici, giri eno-gastronomici o percorsi di shopping, le ulteriori fasi di presentare banner pubblicitari su detto display, per cui uno sfioramento dì detto banner consentirà al navigatore di bordo di condurre l'utente presso il negozio o l'attività che ha inserito la pubblicità; presentare e far scorrere comunicazioni e messaggi inviati da detta centrale operativa, e presentare e far scorrere messaggi di info-mobilità provenienti dalla pubblica amministrazione o altri enti analoghi. 3. Process according to claim 2, characterized in that said process further comprises, after said step of providing said list of sightseeing tours, food and wine tours or shopping routes, the further steps of presenting advertising banners on said display, whereby a touch of said banner will allow the navigator on board to lead the user to the shop or the activity that inserted the advertisement; present and scroll through communications and messages sent by said operations center, and present and scroll through information-mobility messages from the public administration or other similar bodies. 4. Procedimento secondo la rivendicazione 2, caratterizzato dal fatto che detto procedimento comprende le ulteriori fasi di parlare in vivavoce con detta centrale operativa, e navigare in Internet. 4. Method according to claim 2, characterized in that said method comprises the further steps of speaking hands-free with said operating center, and surfing the Internet. 5. Procedimento secondo la rivendicazione 2, caratterizzato dal fatto che dette fasi di limitare la velocità in determinate aree sotto il controllo di detti messaggi sono atte ad essere gestite e modificate da detti mezzi a centrale operativa. 5. Process according to claim 2, characterized in that said steps of limiting the speed in certain areas under the control of said messages are capable of being managed and modified by said operating center means. 6. Procedimento secondo la rivendicazione 2, caratterizzato dal fatto che detto dispositivo di bordo à ̈ atto a dialogare con ed à ̈ strettamente connesso con detti mezzi a server centrale, con detti mezzi a centrale operativa e con detti mezzi a centrale amministrativa, così da assolvere ad una pluralità di funzioni raggruppate in una pluralità di aree gestionali, detta pluralità di aree gestionali includendo almeno un’area gestionale anagrafica di utente, un'area gestionale di listini, un'area gestionale di flotte e di singoli veicoli, con scheda per manutenzioni; un'area gestionale di prenotazioni; un'area gestionale dei siti turistici ed istituzionali, di giri turistici, ed un'area gestionale di detti banner pubblicitari e di detti messaggi. 6. Process according to claim 2, characterized in that said on-board device is able to communicate with and is strictly connected with said central server means, with said operations center means and with said administrative center means, thus to perform a plurality of functions grouped in a plurality of management areas, called plurality of management areas including at least one user database management area, a management area of price lists, a management area of fleets and individual vehicles, with maintenance card; a management area for reservations; a management area for tourist and institutional sites, for sightseeing tours, and a management area for said advertising banners and messages. 7. Procedimento secondo la rivendicazione 2, caratterizzato dai fatto che detta pluralità di aree gestionali includono inoltre almeno un'area gestionale di archivi dei viaggi di detti camion ed autobus, ed un'area gestionale di infrazioni. 7. Process according to claim 2, characterized in that said plurality of management areas further include at least a management area for the travel archives of said trucks and buses, and an infringement management area. 8. Procedimento secondo la rivendicazione 2, ca ratte rizzato dai fatto che detti mezzi a server centrali sono atti a ricevere connessioni da unità telemetriche remote ed a distribuire dette connessioni a moduli software utilizzatori; registrare in base di dati tutti i dati telemetrici ricevuti; visualizzare i dati su supporto cartografico ed interagire con un operatore per l'interrogazione delle informazioni; inviare automaticamente documenti di prova di infrazioni a competenti autorità ed a singole aziende di trasporto per notifica o informazione; e inviare periodicamente dati relativi ai viaggi di detti camion alle aziende di trasporto. 8. Process according to claim 2, characterized in that said central server means are adapted to receive connections from remote telemetry units and to distribute said connections to user software modules; record all telemetry data received in the database; view the data on cartographic support and interact with an operator to query the information; automatically send documents of proof of infringements to competent authorities and to individual transport companies for notification or information; and periodically send data relating to the journeys of said trucks to transport companies. 9. Procedimento secondo la rivendicazione 2, caratterizzato dal fatto che detti mezzi a centrale operativa sono atti a tracciare detti veicoli, a riportare i loro flussi, controllare la posizione di tutti detti veicoli, calcolare tempi di utilizzazione di essi; registrare la storia di tutti detti dati; attivare l'uso di detti veicoli; attuare interconnessione a sistemi di info-mobilità, eseguire chiamate vocali all'utente o autista di detto veicolo, rilevare immediatamente una segnalazione di emergenza proveniente da un detto veicolo; rilevare immediatamente un'eventuale segnalazione di impatto; ricercare tutti i veicoli presenti entro una certa distanza da un punto indicato sulla mappa, indicandone lo stato su LED verde o su LED rosso; trasmettere messaggi, in particolare messaggi di info-mobilità, indicazioni stradali, ordini di servizi, avvisi sia ad un veicolo specifico sia contemporaneamente a tutti detti veicoli; segnalare a detto utente che la carica della batteria di detto veicolo si sta esaurendo, e pilotare quindi detto utente al parcheggio più vicino per la sostituzione di detto veicolo, bloccare detto veicolo nel caso di un uso non appropriato, dopo aver avvertito detto utente con connessione vocale; gestire detta flotta di veicoli con controllo dei veicoli disponibili in uso ed in ricarica, prenotare facoltativamente un detto veicolo con inserimento delt'anagrafica della parte prenotante; e conseguente cambiamento di LED da verde a rosso, definire aree specifiche, con limitazione di velocità o di accesso ad aree cittadine; segnalare automaticamente, in presenza di particolari eventi, come un veicolo uscito da un perimetro o da un percorso predefinito. 9. Process according to claim 2, characterized in that said operating center means are adapted to trace said vehicles, to report their flows, to check the position of all said vehicles, to calculate their use times; record the history of all said data; activate the use of said vehicles; implementing interconnection to info-mobility systems, making voice calls to the user or driver of said vehicle, immediately detecting an emergency signal from said vehicle; immediately detect any impact report; search for all the vehicles present within a certain distance from a point indicated on the map, indicating their status on the green or red LED; transmit messages, in particular information-mobility messages, road directions, service orders, warnings both to a specific vehicle and to all said vehicles at the same time; notify said user that the battery charge of said vehicle is running out, and then drive said user to the nearest parking lot to replace said vehicle, block said vehicle in case of inappropriate use, after having warned said user with connection vowel; managing said fleet of vehicles with control of the vehicles available in use and being recharged, optionally booking a said vehicle by entering the registry of the booking party; and consequent change of LEDs from green to red, define specific areas, with limitation of speed or access to city areas; automatically report, in the presence of particular events, such as a vehicle leaving a perimeter or a predefined route. 10. Procedimento secondo la rivendicazione 2, caratterizzato dal fatto che detti mezzi a centrale operativa sono inoltre atti a segnalare il superamento di velocità massima, il superamento di tempo di guida, e guida in stato di ebbrezza o sotto l'influsso di stupefacenti. 10. Process according to claim 2, characterized in that said operating center means are also suitable for signaling exceeding of maximum speed, exceeding of driving time, and driving in a state of intoxication or under the influence of drugs. 11. Procedimento secondo la rivendicazione 2, caratterizzato dal fatto che detti mezzi a centrale amministrativa sono atti ad eseguire le fasi di inserire anagrafiche di utenti, inserire dati di pagamento di detti utenti; leggere le medesime informazioni disponibili per detta centrale operativa; gestire listini; gestire amministrativamente detti utenti con rendicontazione di traffico, rendicontazione di navigazione Internet, e incassi e ricarica di dette card, fatturazione, reportistica. 11. Process according to claim 2, characterized in that said administrative central means are suitable for carrying out the steps of inserting user data, inserting payment data of said users; read the same information available for said operations center; manage price lists; administratively manage said users with traffic reporting, Internet browsing reporting, and collection and recharging of said cards, billing, reporting. 12. Procedimento secondo la rivendicazione 2, caratterizzato dal fatto che detti mezzi a centrale amministrativa sono inoltre atti a eseguire le fasi di registrare monumenti, siti di interesse turistico, commerciale od istituzionale con l'inserimento di testi, foto, indirizzi ed altre informazioni, definire giri turistici, eno-gastronomici, di shopping o di locali notturni, collegando assieme le registrazioni dei siti di interesse caricati, per consentire al navigatore di condurre l'utente lungo il percorso scelto; attuare interconnessione con altri sistemi operativi per garantire l'uso dei servizio agli abbonati ad altre società di car sharing o di trasporto quali ferrovie, aziende municipalizzate di trasporto etc.; gestire detti banner pubblicitari; gestire detti banner per la presentazione di eventi culturali, sportivi e sociali organizzati da istituzioni comunali; e toccare il banner relativo ad un evento culturale o ad un esercizio reclamizzato attivando la funzione di navigazione per il percorso guidato all'evento prescelto, detto banner essendo inviato a detti mezzi a centrale operativa su ciascun detto dispositivo on-board attraverso GPRS, 12. Process according to claim 2, characterized by the fact that said administrative central means are also suitable for carrying out the steps of registering monuments, sites of tourist, commercial or institutional interest with the insertion of texts, photos, addresses and other information, define sightseeing, food and wine tours, shopping or nightlife tours, linking together the records of the sites of interest loaded, to allow the navigator to lead the user along the chosen path; implement interconnection with other operating systems to guarantee the use of the service to subscribers to other car sharing or transport companies such as railways, municipal transport companies, etc .; manage these advertising banners; manage these banners for the presentation of cultural, sporting and social events organized by municipal institutions; and touching the banner relating to a cultural event or a advertised exercise by activating the navigation function for the guided path to the selected event, said banner being sent to said means to the operations center on each said on-board device via GPRS, 13. Sistema o dispositivo per attuare il procedimento secondo la rivendicazione 1, caratterizzato dal fatto che detto sistema de un'unità modulare installabile su ciascun detto veicolo ed operativamente interfacciabile con l'impianto elettrico ed elettronico di bordo di ciascun detto veicolo, detto sistema includendo circuiteria per comunicazioni bidirezionali continue di dati e comandi d'utente con mezzi a centrali di gestione dei controlli remoti, detta circuiteria essendo attivabile e disattivabile da un qualsiasi utente di un qualsiasi detto veicolo, all'inizio ed al termine di un viaggio di detto veicolo, mediante mezzi a carta di credito ricaricabile d'utente a circuiteria integrata associati, in modo personalizzato, a ciascun detto utente, per consentire a qualsiasi detto utente di accedere e guidare, sotto il controllo di detti mezzi a centrale, qualsiasi detto veicolo. 13. System or device for carrying out the process according to claim 1, characterized in that said system of a modular unit that can be installed on each said vehicle and operably interfaced with the electrical and electronic system on board of each said vehicle, said system including circuitry for continuous bidirectional communications of data and user commands with remote control management means, said circuitry being activated and deactivated by any user of any said vehicle, at the beginning and at the end of a journey of said vehicle , by means of rechargeable user credit card means with integrated circuitry associated, in a personalized way, to each said user, to allow any said user to access and drive, under the control of said central means, any said vehicle. 14. Sistema secondo la rivendicazione 13, detto sistema includendo, a bordo di detto veicolo, detto dispositivo di bordo, detto dispositivo di bordo comprendendo mezzi a computer, mezzi a schede elettroniche interfacciate con detti mezzi a computer per gps, mezzi di connessione voce e/o dati, mezzi di connessione a detta centralina elettronica di detto veicolo, per il controllo della carica delle batterie di esso, per la limitazione della velocità e per altre funzioni; mezzi a display LCD a schermo a tocco, mezzi ad antenna gps e gprs, mezzi ad antenna RFID o mezzi lettori di carta, mezzi acustici, in particolare un altoparlante a vivavoce tra detto utente e detti mezzi a centrale, e mezzi di segnalazione luminosa, in particolare un LED verde o un LED rosso per segnalare se detta auto à ̈ libera, prenotata o con batteria scarica. 14. System according to claim 13, said system including, on board of said vehicle, said on board device, said on board device including computer means, electronic card means interfaced with said computer means for gps, voice connection means and / or data, means for connecting to said electronic control unit of said vehicle, for controlling the charge of its batteries, for limiting the speed and for other functions; touch screen LCD display means, gps and gprs antenna means, RFID antenna means or card reader means, acoustic means, in particular a hands-free loudspeaker between said user and said control unit means, and light signaling means, in particular a green LED or a red LED to indicate if the car is free, booked or with a low battery. 15. Sistema secondo la rivendicazione 13, caratterizzato dal fatto che detto sistema include, operativamente funzionalmente bidirezionalmente connessi a detto dispositivo di bordo, mezzi a server centrali, mezzi a centrale operativa e mezzi a centrale amministrativa. 15. System according to claim 13, characterized in that said system includes, operatively functionally bidirectionally connected to said on-board device, central server means, operating center means and administrative center means. 16. Sistema secondo la rivendicazione 15, caratterizzato dal fatto che detti mezzi a centrale amministrativa sono atti inoltre a riconoscere l'utente, viaggi compiuti da detto utente su vari circuiti, registrando quindi una base di dati consentente di emettere periodicamente un prospetto di rendicontazione contabile per l’accredito dei corrispettivi di competenza a singole aziende di trasporto. 16. System according to claim 15, characterized by the fact that said administrative central means are also able to recognize the user, trips made by said user on various circuits, thus registering a database allowing to periodically issue an accounting report for the crediting of the relevant fees to individual transport companies. 17. Sistema secondo la rivendicazione 13, caratterizzato dal fatto che detto sistema comprende inoltre una pluralità di unità gestionali e di controllo modulari indipendenti, installabili in una pluralità di luoghi pubblici atti ad emettere a richiesta dette carte, biglietti elettronici o titoli di viaggio elettronici validi per aziende di trasporto pubblico locale e ferrovie, dette unità modulari emulando ciascuna un ufficio virtuale atto a presentare informazione di base sulle caratteristiche di servizio su un dedicato display, dette informazioni essendo le medesime presenti su un sito web di servizio, detto ufficio virtuale fornendo inoltre una connessione Internet per il collegamento al sito della società di car sharing, ed essendo addizionalmente atta a consentire di registrare immediatamente un nuovo abbonato attraverso funzioni di scansione della patente o registrazione di detto nuovo abbonato in un archivio informatico, inserire dati anagrafici del nuovo abbonato da tastiera su display a tocco, inserire dati relativi alla carta di credito di detto nuovo abbonato, inserire un indirizzo mail di esso, accettare clausole contrattuali mediante conferma da detta tastiera, inserire dati segreti su detta carta e memorizzare un numero della base di dati, emettere una carta di abbonamento al servizio con stampa del nome dell'utente, assegnare detti dati segreti consententi al nuovo abbonato di accedere ad un'area riservata di detto sito web, trasmettere tutti i menzionati dati ad una base di dati residente su detto server; attuare connessione al sito per consentire all'utente di ricaricare il proprio credito, parlare con detti mezzi a centrale operativa per ottenere assistenza all'iscrizione, e consentire l'emissione di altre carte, o biglietti elettronici, o titoli di viaggio elettronici validi per aziende di trasporto pubblico locale e ferroviario.17. System according to claim 13, characterized by the fact that said system further comprises a plurality of independent modular management and control units, which can be installed in a plurality of public places suitable for issuing said cards, electronic tickets or valid electronic travel tickets on request. for local public transport companies and railways, said modular units, each emulating a virtual office capable of presenting basic information on the service characteristics on a dedicated display, said information being the same present on a service website, said virtual office also providing an Internet connection for connecting to the car sharing company's website, and being additionally suitable for immediately registering a new subscriber by scanning the license or registering said new subscriber in a computer archive, enter personal data of the new subscriber from keyboards on the touch display, enter data relating to the credit card of said new subscriber, enter an e-mail address of the same, accept contractual clauses by confirming from said keyboard, enter secret data on said card and memorize a number of the database, issue a subscription card for the service with printing of the user's name, assigning said secret data allowing the new subscriber to access a reserved area of said website, transmitting all the aforementioned data to a database residing on said server; establish a connection to the site to allow the user to top up his credit, speak with said means to the operations center to obtain assistance with registration, and allow the issuance of other cards, or electronic tickets, or electronic travel documents valid for companies of local public transport and rail.
ITMI2009A001438A 2009-08-07 2009-08-07 PROCEDURE AND MANAGEMENT AND CONTROL SYSTEM OF INDIVIDUAL VEHICLES, IN PARTICULAR OF SINGLE MOTOR VEHICLES, TRUCKS AND BUSES OF FLEETS OF MOTOR VEHICLES, TRUCKS AND BUSES RESPECTIVELY. IT1395145B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
ITMI2009A001438A IT1395145B1 (en) 2009-08-07 2009-08-07 PROCEDURE AND MANAGEMENT AND CONTROL SYSTEM OF INDIVIDUAL VEHICLES, IN PARTICULAR OF SINGLE MOTOR VEHICLES, TRUCKS AND BUSES OF FLEETS OF MOTOR VEHICLES, TRUCKS AND BUSES RESPECTIVELY.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
ITMI2009A001438A IT1395145B1 (en) 2009-08-07 2009-08-07 PROCEDURE AND MANAGEMENT AND CONTROL SYSTEM OF INDIVIDUAL VEHICLES, IN PARTICULAR OF SINGLE MOTOR VEHICLES, TRUCKS AND BUSES OF FLEETS OF MOTOR VEHICLES, TRUCKS AND BUSES RESPECTIVELY.

Publications (2)

Publication Number Publication Date
ITMI20091438A1 true ITMI20091438A1 (en) 2011-02-08
IT1395145B1 IT1395145B1 (en) 2012-09-05

Family

ID=42035987

Family Applications (1)

Application Number Title Priority Date Filing Date
ITMI2009A001438A IT1395145B1 (en) 2009-08-07 2009-08-07 PROCEDURE AND MANAGEMENT AND CONTROL SYSTEM OF INDIVIDUAL VEHICLES, IN PARTICULAR OF SINGLE MOTOR VEHICLES, TRUCKS AND BUSES OF FLEETS OF MOTOR VEHICLES, TRUCKS AND BUSES RESPECTIVELY.

Country Status (1)

Country Link
IT (1) IT1395145B1 (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1067498A1 (en) * 1999-07-07 2001-01-10 Honda Giken Kogyo Kabushiki Kaisha Shared vehicle system and method involving reserving vehicles with highest states of electrical charge
US6240365B1 (en) * 1997-01-21 2001-05-29 Frank E. Bunn Automated vehicle tracking and service provision system
WO2002001508A1 (en) * 2000-06-23 2002-01-03 Automated Car Rental, L.L.C. System and method for the automated release of vehicles from a moter pool
EP1176571A1 (en) * 2000-06-28 2002-01-30 Honda Giken Kogyo Kabushiki Kaisha Vehicle monitoring in vehicle sharing system
US20020101363A1 (en) * 2001-01-31 2002-08-01 Honda Giken Kogyo Kabushiki Kaisha Vehicle managing system and vehicle managing method
WO2002101666A1 (en) * 2001-06-13 2002-12-19 Loop S.P.A. Apparatus and method for evaluating a charge for the use of a vehicle
US6556905B1 (en) * 2000-08-31 2003-04-29 Lisa M. Mittelsteadt Vehicle supervision and monitoring
US20030191581A1 (en) * 1999-08-31 2003-10-09 Hitachi, Ltd. Method and apparatus for gathering vehicle information
US20040176969A1 (en) * 2001-04-03 2004-09-09 Michio Fujinuma Vehicle sharing system
US20050012589A1 (en) * 2001-07-27 2005-01-20 Mamoru Kokubu System for commonly utilizing vehicle
US20050080752A1 (en) * 2001-03-21 2005-04-14 Takashi Uehara Communal vehicle system
US6988034B1 (en) * 2002-09-04 2006-01-17 Harman International Industries, Incorporated Navigation radio for fleet car usage
WO2006015425A1 (en) * 2004-08-12 2006-02-16 Stephen Petrik Gps monitoring, biometric smartcard, intelligent speed management
WO2008145833A2 (en) * 2007-04-30 2008-12-04 Vu Log Method and system making it possible to place an individual public vehicle at the disposal of a user

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240365B1 (en) * 1997-01-21 2001-05-29 Frank E. Bunn Automated vehicle tracking and service provision system
EP1067498A1 (en) * 1999-07-07 2001-01-10 Honda Giken Kogyo Kabushiki Kaisha Shared vehicle system and method involving reserving vehicles with highest states of electrical charge
US20030191581A1 (en) * 1999-08-31 2003-10-09 Hitachi, Ltd. Method and apparatus for gathering vehicle information
WO2002001508A1 (en) * 2000-06-23 2002-01-03 Automated Car Rental, L.L.C. System and method for the automated release of vehicles from a moter pool
EP1176571A1 (en) * 2000-06-28 2002-01-30 Honda Giken Kogyo Kabushiki Kaisha Vehicle monitoring in vehicle sharing system
US6556905B1 (en) * 2000-08-31 2003-04-29 Lisa M. Mittelsteadt Vehicle supervision and monitoring
US20020101363A1 (en) * 2001-01-31 2002-08-01 Honda Giken Kogyo Kabushiki Kaisha Vehicle managing system and vehicle managing method
US20050080752A1 (en) * 2001-03-21 2005-04-14 Takashi Uehara Communal vehicle system
US20040176969A1 (en) * 2001-04-03 2004-09-09 Michio Fujinuma Vehicle sharing system
WO2002101666A1 (en) * 2001-06-13 2002-12-19 Loop S.P.A. Apparatus and method for evaluating a charge for the use of a vehicle
US20050012589A1 (en) * 2001-07-27 2005-01-20 Mamoru Kokubu System for commonly utilizing vehicle
US6988034B1 (en) * 2002-09-04 2006-01-17 Harman International Industries, Incorporated Navigation radio for fleet car usage
WO2006015425A1 (en) * 2004-08-12 2006-02-16 Stephen Petrik Gps monitoring, biometric smartcard, intelligent speed management
WO2008145833A2 (en) * 2007-04-30 2008-12-04 Vu Log Method and system making it possible to place an individual public vehicle at the disposal of a user

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KOMANECKY M R ET AL: "IVHS APPLICATIONS OF SMART CARDS", PROCEEDINGS OF THE VEHICLE NAVIGATION AND INFORMATION SYSTEMS CONFERENCE. DEARBORN, OCT. 20 - 23, 1991; [PROCEEDINGS OF THE VEHICLE NAVIGATION AND INFORMATION SYSTEMS CONFERENCE], NEW YORK, IEEE, US, vol. -, 1 October 1991 (1991-10-01), pages 977 - 987, XP000357202, ISBN: 978-0-7803-0488-8 *

Also Published As

Publication number Publication date
IT1395145B1 (en) 2012-09-05

Similar Documents

Publication Publication Date Title
KR101980155B1 (en) Rental and Share System for Electric Motion Kick Board
CN110494331B (en) Power and communication modes for digital license plates
JP6539092B2 (en) Recommendation information management server and computer program
DK2301000T3 (en) Parkeringslokatorsystem, comprising the identifiers of the vehicle and user.
US6559776B2 (en) Parking status control system and method
US20180091930A1 (en) Systems and methods for vehicle access and management
EP3668755B1 (en) Parking enforcement monitoring system for a digital license plate
US20120078686A1 (en) Parking status system
US20150294431A1 (en) Apparatus and methods for providing city services
CN108446919A (en) The system and method that message is provided in Vehicular charging
CN100533504C (en) Device and method for high intelligent real time traffic managemant
US20150170518A1 (en) Electronic system for authorization and search for parking spaces
US20120196631A1 (en) Bicycle Rental System
US20130073349A1 (en) Method for the Computer Aided Management of Vehicles
CN107813775A (en) Vehicle condition verification method when a kind of shared pilotless automobile is rented
CN104755349B (en) Auxiliary component of vehicle
WO2000022579A1 (en) Charging device
WO2011100005A1 (en) Integrated system and method for car pooling using smart cards, gps, gprs, active poster and near field communication devices
JP2004524614A (en) Road toll collection system
EP2390861A1 (en) Method and system for traffic control and traffic emission control
CN110379025A (en) Electronic toll method, system and car networking service platform based on intelligent network connection automobile
CN109606521A (en) A kind of intelligent sharing balance car management system and method
WO2017033174A1 (en) A citywide parking reservation system and method
US20210082078A1 (en) The system and method of operating the self-steering electric taxi and smart underground parking lots
TWI240898B (en) Device and method for intelligent real time traffic control