Summary of the invention
The object of the present invention is to provide a kind of traffic lights fault supervisory systems based on WebGIS, make supervision center on the basis of collecting crossing traffic lamp real time fail information, provide the traffic lights failure message based on WebGIS electronic chart to show, there is the monitoring client of authority to login from any computing machine being connected with communication network, and system can be assigned maintenance task automatically and reasonably according to traffic lights fault and Maintenance Resource situation, thereby realize real-time monitoring and on-call maintenance to traffic lights, increase the time between failures of traffic lights, the safety of guarantee road traffic and unimpeded.
The present invention is achieved through the following technical solutions:
A kind of traffic lights fault supervisory systems based on WebGIS, this system is mainly made up of traffic lights information acquisition terminal, supervision center, supervisory user end, maintenance user side, described supervision center comprises Web Application Server and database server, and Web Application Server comprises again short message transceiving module, Web monitoring service module and maintenance task assignment module; It is characterized in that, described traffic lights information acquisition terminal periodically gathers traffic lights job information and the failure message of appearance is sent to supervision center by mobile communications network, described supervision center provides traffic lights real time fail information with the form of WebGIS map to the supervisory user end of logining by browser, and supervision center is receiving that the appointment optimization that can automatically carry out maintenance task after new failure message calculates and send maintenance task instruction from trend maintenance user side after monitor staff confirms.
The described traffic lights fault supervisory systems based on WebGIS, it is characterized in that described traffic lights information acquisition terminal and maintenance user side are by wireless mode accessing mobile communication network, supervision center and supervisory user end access Internet network by wired mode.
The described traffic lights fault supervisory systems based on WebGIS, it is characterized in that storing a unique identifier in described traffic lights information acquisition terminal, it sends to the information of supervision center to comprise the failure-description of this unique identifier, real-time time and place traffic lights by communication network.
The described traffic lights fault supervisory systems based on WebGIS, the fault type that it is characterized in that described failure-description comprise do not work, do not go out, one or more in dot matrix disappearance, mess code, green conflict, colour mixture conflict.
The described traffic lights fault supervisory systems based on WebGIS, is characterized in that the appointment optimization calculating of described maintenance task comprises the following steps:
(1) for the required standby redundancy collection X of fault, retrieve its warehouse collection K={K1, K2, K1}, and the complete or collected works W of all maintenance crew that execute the task is divided into the collection P={P1 of maintenance crew that carries standby redundancy collection X, P2 ... Pm} and do not carry the maintenance crew collection Q={Q1 of this standby redundancy collection X, Q2 ... Qn};
(2) maintenance task of this fault traffic lights is assigned to the y of maintenance crew that can arrive the earliest, makes
wherein, t
w=d
wG/ V+t
sw,
G is this fault traffic lights position, and V is the average translational speed of maintenance crew, ts
wfor the w of maintenance crew finishes the time of required by task Under Repair.
The described traffic lights fault supervisory systems based on WebGIS, is characterized in that the described supervision center WebGIS page provides following methods and function:
(1) numerical map of traffic lights shows, in basic number word map background, monitored traffic lights information is presented on the corresponding crossing of map with the form of pel and text;
(2) traffic lights basic information management, to be installed on the essential information data of each crossing traffic lamp carry out newly-built, amendment and delete;
(3) traffic lights fault information managing, carries out newly-built, amendment and deletes being installed on the fault information data of each crossing traffic lamp, and any fault information reporting of traffic lights all will trigger the renewal that on the WebGIS page, on corresponding geographic position, numerical map shows;
(4) the inquiry of historical data and analysis, carries out data query, statistics and form to traffic lights essential information, failure message and repair message in certain time segment limit in database;
(5) subscriber information management, manages user basic information and authority, makes user can only monitor the traffic lights in authority region.
(6) Maintenance information management, to traffic lights standby redundancy data, maintenance assign data, maintenance crew's information newly-built, amendment, delete and inquiry.
The described traffic lights fault supervisory systems based on WebGIS, is characterized in that the numerical map demonstration of described traffic lights comprises: the title that shows traffic lights with textual form; Form with pel shows traffic lights malfunction, represent untreated catastrophic failure with the red pel of flicker simultaneously, represent the catastrophic failure of processing with static red pel, with flicker yellow pel represent untreated generic failure, represent the generic failure of processing with static yellow pel, represent normally with green pel; While clicking above-mentioned red pel or yellow pel, the form with form and word is shown to fault text message.
Principle of work of the present invention is:
In a kind of traffic lights fault supervisory systems based on WebGIS of the present invention, the communication channel providing by mobile communications network and Internet network between traffic lights information acquisition terminal, supervision center, supervisory user end and maintenance user side realizes the intercommunication of information.As preferably, traffic lights information acquisition terminal and maintenance user side adopt wireless mode accessing mobile communication network, and supervision center and supervisory user end adopt wired mode access Internet network.Above-mentioned supervision center comprises Web Application Server and database server, between the two, connects by LAN (Local Area Network).
Traffic lights information acquisition terminal is installed in each crossing, road, the identifier that its storage inside is made up of 32 unique bits, before installing, this identifier is written into information acquisition terminal, after installing, on the WebGIS web interface providing at supervision center Web Application Server, newly-increased traffic lights essential information data, it comprises traffic lights information acquisition terminal identifier, traffic lights title, model, longitude and latitude, state, region of living in and description etc.
In the time finding traffic lights fault, traffic lights information acquisition terminal sends to supervision center with short message mode by communication network by the failure message of appearance, the failure message sending comprise the failure-description of unique identifier, fault-time and the place traffic lights of this information acquisition terminal, the fault type of this failure-description comprise do not work, do not go out, one or more in dot matrix disappearance, mess code, green conflict, colour mixture conflict.
By a short message transceiving module that meets mobile operator message gateway interface agreement, in traffic lights fault supervisory systems of the present invention, the Web Application Server of supervision center can carry out the two-way communication of note with traffic lights information acquisition terminal and maintenance user side.Web Application Server provides the traffic lights real time fail information showing with WebGIS ground diagram form to the supervisory user end of logining by browser, on the geographic position of the corresponding each detected traffic lights of electronic chart, show the title of traffic lights with textual form, show traffic lights duty with the form of pel.In the time of detected traffic lights non-fault, green mark for pel.In the time receiving the failure message that traffic lights information acquisition terminal sends, need to analyze fault type; If fault is green conflict, be judged as catastrophic failure, red mark for pel; If fault for not working, do not go out, dot matrix disappearance, mess code, colour mixture conflict, yellow mark for pel.When Web Application Server is when its inner short message transceiving module is received a failure message, instruction of triggering is upgraded above-mentioned demonstration, and a newly-increased failure message automatically, content comprises identifier, fault-time, failure-description, fault level and the service mode etc. of fault numbering, traffic lights information acquisition terminal.
Web Application Server in supervision center has a traffic lights maintenance task assignment module, after supervision center is received new failure message, this module can be carried out the appointment optimization calculating of maintenance task automatically, the maintenance task of this traffic lights fault is assigned to the maintenance crew that can arrive the earliest.There is the monitor staff of authority can check appointment optimization result of calculation and can adjust assign task queue, after monitor staff confirms, this maintenance task assignment module will send maintenance task instruction from each maintenance user side of trend, instruction sends with note form by the short message transceiving module in Web Application Server, and content comprises all traffic lights titles, model, geographic position and the failure-description that this maintenance crew needs repairing.The maintenance task of fault traffic lights is before monitor staff confirms, its above-mentioned pel in WebGIS map shows points out this fault also not processed with flashing mode; When the maintenance task of this fault traffic lights is after monitor staff confirms, corresponding pel no longer glimmers and shows with static mode.After fault traffic lights is keeped in repair, send to supervision center the information of having keeped in repair with note form by this breakdown maintenance team, supervision center is " fixing " by the service mode of automatically revising in fault information data after receiving note, and traffic light status in traffic lights Basic Information Table is revised as to " normally ".
In the time that supervision center traffic lights maintenance task assignment module is carried out the appointment optimization calculating of maintenance task, need to inquire about the standby redundancy situation of traffic lights, therefore, the supervision center WebGIS page also provides newly-built, amendment, deletion and the query function to traffic lights standby redundancy.
Installing after the traffic lights fault supervisory systems based on WebGIS of the present invention, monitor staff can login by the supervisory user end being connected with communication network the WebGIS page of supervision center.For safety with effectively system is managed, supervision center need to manage user, comprises user basic information management and rights management two parts.User basic information management mainly comprises that Customs Assigned Number, title and password etc., Web application service system utilize above-mentioned information to authenticate user's login; User authority management comprises user type and user management region, user type is used for distinguishing domestic consumer's authority and administrator right, user management region, for the scope of lamp that user regulates the traffic is limited, makes the user in certain region can only monitor the traffic lights in corresponding region.
Except above-mentioned data manipulation, for convenience of analysis and the management of system, the WebGIS page that supervision center provides can also carry out the inquiry of historical data and analysis, realize inquiry, statistics and form to data such as the traffic lights essential information in certain time segment limit in database, failure message, repair message, standby redundancy information, failure rate, stability and the maintenance situation of understanding each traffic lights in system for user provide effective foundation.
Advantage of the present invention is:
1, traffic lights fault supervisory systems of the present invention has realized the automatic supervision of traffic lights fault, the fault of each crossing traffic lamp can be fed back to monitor staff with the form of WebGIS map in real time, and maintenance task can be assigned to the maintenance crew that can arrive the earliest.Disposing fault supervisory systems of the present invention can respond and optimization maintenance efficiency to traffic lights fault early.
2, the supervisory user end of traffic lights fault supervisory systems of the present invention, by browser logon server, accesses easy, easy and simple to handle.
3, traffic lights fault supervisory systems of the present invention allows that multiple monitor sessions are concurrent to be carried out, and power system capacity is high.
4, traffic lights fault supervisory systems of the present invention adopts modular construction, easily expansion, and can be integrated with other traffic lights management systems.
Embodiment
Embodiment:
As shown in Figure 1, traffic lights fault supervisory systems of the present invention is mainly made up of traffic lights information acquisition terminal 1, supervision center 2, supervisory user end 3, maintenance user side 4, and wherein, supervision center 2 comprises Web Application Server 21 and database server 22.Between the each ingredient of system, realize the two-way communication of information by the communication network of mobile communications network and Internet network composition.In Fig. 1, maintenance user side 4 can be 2G or the 3G Wireless Telecom Equipment of any GPS of having location and function of receiving and sending short message, and this equipment is carried by maintenance crew, is used for carrying out short message communication with supervision center; Supervisory user end 3 is the computing machines with Internet network accessibility, there is the monitor staff of authority to utilize it to login the WebGIS webpage of supervision center by browser, realize real time fail monitoring to traffic lights in compass of competency and adjustment and the confirmation of maintenance task.Supervision center is the core of traffic lights fault supervisory systems of the present invention, the failure message that the each crossing traffic lamp of its continual collection information acquisition terminal is sent, information is analyzed, processed and stores, provide WebGIS service to supervisory user end, traffic lights failure message is presented to login user with the form of electronic chart, automatically carry out the appointment optimization of traffic lights breakdown maintenance task and calculate and send maintenance task instruction from trend maintenance user side after monitor staff confirms.
As shown in Figure 2, traffic lights information acquisition terminal comprises CPU module 5, signal acquisition module 6, mobile communication module 7, read-write interface module 8 and memory module 9.Wherein, signal acquisition module 6 is used for gathering the work state information of the each traffic lights being attached thereto; Mobile communication module 7 can adopt any standard in GSM, CDMA, WCDMA, CDMA2000, these 2G of TD-SCDMA or 3G wireless communication technology, and is furnished with the indispensable subscriber identification module that carries identity recognition number; Read-write interface module 8 is used for being connected with the external portable computing machine of debugging use, in the time that being installed, traffic lights information acquisition terminal moves the programming program on portable computer, can in memory module 9, write the identifier that 32 bits form by this read-write interface module 8, this identifier is unique in traffic lights fault supervisory systems of the present invention.
As shown in Figure 3, supervision center comprises Web Application Server 21 and database server 22, and wherein, Web Application Server 21 comprises again short message transceiving module 211, Web monitoring service module 212 and maintenance task assignment module 213.For realizing and the communicating by letter of other ingredients in traffic lights fault supervisory systems of the present invention, supervision center has a top-level domain or second level domain, by the IP address resolution of dns server, can be by the client access outside traffic lights of living in administrative authority LAN (Local Area Network), the WebGIS service arrangement of supervision center is in Web monitoring service module 212.For realizing the note two-way communication of website and mobile network's terminal, first will be to short message service number of mobile operator application, and in short message transceiving module 211, realize mobile operator message gateway interface agreement, by this module, Web Application Server 21 can carry out the two-way communication of short message with traffic lights information acquisition terminal and maintenance user side.The short message service number of different operators is different with message gateway interface agreement, and therefore, as preferably, traffic lights fault supervisory systems of the present invention can be applied the radio communication service of some mobile operator.
The data base administration service arrangement of supervision center is on database server 22, in service in traffic lights fault supervisory systems of the present invention, and data base management system (DBMS) adopts MySQL.In database, setting up the persistence that 7 kinds of tables of data realize various data, is respectively that traffic lights Basic Information Table, traffic lights failure message table, user message table, maintenance appointment tables of data, maintenance crew's information table, standby redundancy Basic Information Table and standby redundancy use information table.Traffic lights essential information tables of data comprises traffic lights information acquisition terminal identifier, traffic lights title, model, longitude and latitude, state, region of living in and description etc.Failure message table comprises identifier, fault-time, failure-description, fault level, service mode, expectation maintenance deadline and maintenance crew's numbering of failure message numbering, fault numbering, traffic lights information acquisition terminal.The fault type of this failure-description comprise do not work, do not go out, one or more in dot matrix disappearance, mess code, green conflict, colour mixture conflict.User message table comprises Customs Assigned Number, title, password, type and user management region, and wherein user management region is identical with the region of living in span in traffic lights essential information tables of data, represents to be managed the attributed region of traffic lights.Maintenance assigns tables of data to comprise maintenance task numbering, failure message numbering, maintenance crew's numbering.Maintenance crew's information table comprises maintenance crew's numbering, short message service number, the responsible official of maintenance crew name, longitude and latitude, duty.Standby redundancy Basic Information Table comprises standby redundancy numbering, title, model, manufacturer, storage library name, buys quantity and current quantity.Standby redundancy uses information table to comprise standby redundancy numbering, failure message numbering, maintenance crew's numbering, usage quantity and service time.
Web monitoring service module is carried out login management and rights management to user, only allow validated user login supervisory system, and rights management comprises administration authority and supervision authority.Administration authority is divided into domestic consumer's authority and administrator right, and keeper can carry out additions and deletions to many information and look into and change operation, and domestic consumer can only carry out query manipulation; To the responsible different monitoring region of different user, the demonstration on WebGIS limits supervision authority, for example, Hangzhou can be divided into Shangcheng District, Xiacheng District, Gongshu District, Jianggan District, Xihu District, Binjiang District, Xiaoshan City, several regions, Yuhang District, if the area monitoring authority Xihu District of certain validated user, monitoring service module is only presented to user by the traffic lights working condition within the scope of Xihu District on WebGIS webpage, and the signal information in other region is invisible to this user.The rights management of traffic faults monitoring module can better must improve the independence between security and the user of system, and reduces user's monitoring complicacy.
After traffic signal light fault supervisory systems of the present invention works on power, traffic lights information acquisition terminal periodically gathers traffic lights failure message, and as preferably, this cycle is chosen to be the time span of 1 second.In the time finding traffic lights fault, this information acquisition terminal sends to supervision center with short message mode by communication network by the failure message of appearance.As shown in Figure 4, it comprises unique identifier, real-time time and the failure-description of this information acquisition terminal to failure message form, and failure-description comprises again the description in fault total orientation number and each fault orientation.Using each lamp plate of connected traffic lights as an orientation, the description in each fault orientation comprises orientation numbering, lamp plate model and fault type.In failure message form, 32 bits that terminal recognition number writes while being installation, unique in whole supervisory systems; Real-time time form is " Year/Month/Day/time/point/second "; Fault orientation sum n is the decimal number of 2; Number since 1 till n in orientation; Lamp plate model represents with 4 bits, and different 0 and 1 combinations are used for distinguishing the color of the types such as lamp all over the screen, arrow lamp, countdown lamp and lamp; Fault type represents with 3 bits, and different 0 and 1 combinations are used for distinguishing and do not work, do not go out, dot matrix disappearance, mess code, green conflict, colour mixture conflict etc.In above-mentioned field, in order to distinguish dissimilar binary combination, after its definition rule agreement, acted in accordance with it by traffic lights information acquisition terminal and supervision center.
When after traffic lights information acquisition terminal reporting fault, supervision center will be replied confirmation.Afterwards, during this fault is not repaired, if failure condition does not change, fault report cycle can be increased, as 10 minutes, otherwise will report in time new failure message.When traffic lights information acquisition terminal collects connected traffic light status when all normal, also report a heartbeat data every a time interval to supervision center, working properly to show this traffic lights information acquisition terminal, large interval I is to be chosen to be certain number in 10 minutes to 30 minutes, heartbeat data form can be taking certain special string as feature, as " all are normal! ".
Supervision center is being received after the failure message that traffic lights information acquisition terminal is sent, information is resolved, and in traffic lights failure message table, increase a failure logging newly and the service mode in record is made as to " waiting to assign ", wherein fault level is analyzed and is obtained from failure-description, green conflict is catastrophic failure, and other are generic failure.
As shown in Figure 5, Web monitoring service module is based on MVC structure, and model (Model), view (View) and controller (Control) are responsible for respectively the concrete function of different levels and are realized.Wherein, model encapsulation data source and all operations for these data sources, for mantenance data and data access thereof, it accepts the request msg that view sends, and to view return need result; View is responsible for the display mode of deal with data source model, belongs to the relation of multi-to-multi between itself and view, and model can corresponding multiple views, and view also can corresponding multiple different models; Controller plays bridge beam action between model and view, and by user, the service data on view is transmitted to model to controller, and model also will be transmitted to view and be shown by controller the result of data.In traffic lights fault supervisory systems of the present invention, WebGIS function realizes at View layer, adopts Javascript to embed the mode of JSP.The map API that system adopts Baidu to provide realizes the embedding of WebGIS.The map API of Baidu is the application programming interfaces that a set of JavaScript of having script is write, utilize this API can be in website constructing function is abundant, interactivity is strong map application.Model is responsible for data processing, and view is responsible for, in WebGIS mode, the data of model are shown to monitoring client, and controller obtains the monitoring operation information that sends by browser clients end-view of client and these message are passed to correlation model and upgrades.
Major function and operation that WebGIS offers monitor staff comprise: the position of observing accurately each traffic lights in system on WebGIS; Traffic lights information state in real time inquiry system, comprises title, description, described region etc.; Monitor in real time the running status of each traffic lights, comprise normal operation, generic failure, catastrophic failure etc.; Want the traffic lights of monitoring according to input message inquiry, and can be by the centralized positioning of WebGIS electronic chart to this signal lamp, and electronic chart is amplified, dwindled and to operations such as traffic lights pel marks.
Monitoring adopts Browser/Server form, and monitor staff can check and initiate operation by browser.As shown in Figure 6, Web remote monitoring user login process comprises:
S101: monitor service end exists a series of controls of authority to login user, first supervisory user end needs login monitoring website;
S102: user, by the jsp page, is committed to service end backstage by the log-on message of filling in and manages;
S103: user profile belongs to the Model of a type, the Model of every type is managed by a corresponding service class,
S104: Model corresponding user profile is submitted to DAO (Data Access Object) layer by service class, the effect of this layer is that whether the login of inquiring about this user is legal according to the data operation of comparing in the user profile Model submitting to and database server;
S105:DAO layer judge whether legal after, the former road of a series of judgement information is returned to each administration and supervision authorities, finally return to the front end page, will jump to respective page and be shown to user;
S106: if login successfully, can check and operate pertinent system information after user's login, comprise traffic lights essential information, signal lamp failure information etc.;
The system information of each type corresponding a Model, the flow process of other operating processes and above-mentioned user login is similar.
The coordinate using on WebGIS electronic chart is the geographic coordinate representing with metric longitude and latitude, in the WebGIS electronic chart providing in traffic lights fault supervisory systems of the present invention, by the class methods that provide in Baidu's map, a self-defining figure layer superposes on map, form with pel shows traffic lights malfunction, comprise with flicker red pel represent untreated catastrophic failure, represent the catastrophic failure of processing with static red pel, with flicker yellow pel represent untreated generic failure, represent the generic failure of processing with static yellow pel, represent normally with green pel.The messagewindow that the various types of method that application API provides ejects when adding the traffic lights title of textual form and click the red pel of traffic lights or yellow pel on map, this messagewindow shows the text message of traffic lights fault with the form of form and word.Each Web monitoring service module receives from short message transceiving module the failure message that traffic lights information acquisition terminal reports, all by triggering an instruction, the demonstration of the WebGIS page is upgraded the information of pel on the corresponding geographic position of traffic lights in renewal reporting fault information.Fig. 7 is that in fault supervisory systems of the present invention, supervisory user end is logined the schematic diagram of realizing traffic lights fault management after the WebGIS page by browser.
When supervision center is received after new failure message, by the maintenance task assignment module in Web Application Server, maintenance task is assigned and upgraded, its principle is: from failure message table, finding out all service modes is data recording to be assigned, and be that catastrophic failure and generic failure add it respectively in two queues by fault level, each inner queue node is again by fault-time successively sequence; To catastrophic failure and generic failure queue, successively press respectively flow processing as shown in Figure 8:
S201: initialization, the maintenance user side carrying to each maintenance crew sends reporting position information instruction, and collection information is also upgraded longitude and latitude data in maintenance crew's information table;
S202: get first failure message in the queue of this grade fault;
S203: model and the quantity of adding up the required standby redundancy in each orientation in this failure message;
S204: inquiry standby redundancy Basic Information Table, judge whether required whole standby redundancies, if it is directly turn S205, turn S205 otherwise send to lack after standby redundancy alarm, prompting are suddenly purchased information;
S205: for this fault required and standby redundancy collection X that stock has, assign to optimize and calculate, be that this fault is assigned maintenance task;
S206: judge whether that all grade faults have all assigned, if it is turn S207, otherwise get in the queue of this grade fault next failure message and turn S203;
S207: assign and finish.
In above-mentioned flow process, assign to optimize to calculate and carry out as follows:
S301: inquiry standby redundancy Basic Information Table and standby redundancy use information table, for the required standby redundancy collection X of this fault, retrieve its warehouse collection K={K1, K2 ... K1}, and the complete or collected works W of all maintenance crew that execute the task is divided into the collection P={P1 of maintenance crew that carries standby redundancy collection X, P2, ... Pm} and do not carry the maintenance crew collection Q={Q1 of this standby redundancy collection X, Q2 ... Qn};
S302: the maintenance task of this traffic lights fault is assigned to the y of maintenance crew that can arrive the earliest, makes
wherein, t
w=d
wG/ V+ts
w,
G represents this fault traffic lights, d
wGwith and d
ktGbe respectively the w of maintenance crew and the warehouse Kt distance to G, d
wKtfor the w of maintenance crew is to the distance of warehouse Kt, V is the average translational speed of maintenance crew; Ts
wfor the w of maintenance crew finishes the time of required by task Under Repair, being 0 for non-this value of maintenance crew of carrying out maintenance task, is just by the difference of the expectation of this maintenance crew's maintenance failure maintenance deadline and current time in failure message table to carrying out this value of maintenance crew of maintenance task.
After appointment is upgraded to maintenance task in maintenance task assignment module, remind the monitoring client who has authority.Monitoring client can confirm above appointment by operation interface, or adjust rear confirmation.Maintenance task assignment module is assigned queue according to the maintenance through confirming, proceeds as follows: first send maintenance task note toward maintenance crew, messaging format as shown in Figure 9; Next, the service mode of revising dependent failure record after the confirmation note that receives maintenance crew's reply is " assigning "; Finally, assign in tables of data and increase and assign record toward maintenance.
Maintenance crew receives after maintenance task note, send and confirm note to supervision center.Maintenance crew behind fault traffic lights crossing, reports the expectation maintenance deadline of this fault everywhere, and supervision center was also revised as service mode " Under Repair " according to the expectation maintenance deadline of this note amendment dependent failure record; When fault traffic lights is keeped in repair, maintenance crew's reporting information, the service mode that supervision center is revised in dependent failure record data is according to this " fixing ", and this traffic light status in traffic lights Basic Information Table is revised as to " normally ".
Implement traffic lights fault supervisory systems of the present invention, not only can carry out monitoring in real time and on-call maintenance management to traffic lights fault, can also pass through analysis, statistics to traffic lights fault history data, help traffic lights administrative authority to understand stability and the reliability of each traffic lights equipment in system, provide foundation for reasonably carrying out equipment purchase and moving to set.
The foregoing is only preferred embodiment of the present invention.