Embodiment
As shown in Figure 1, comprising:
(1) makes an inspection tour task management, make an inspection tour condition managing, the PC computer-side control terminal of management of defect management defect standard and GIS geographical information management, i.e. PC side management system;
(2) server end of real-time tranception information, storage data comprises enterprise database and a Socket detectaphone that is used for the wireless data real-time sense, is called for short server end Socket data receiving-transmitting system;
(3) hand-held PDA makes an inspection tour on the spot, and the portable terminal by GPRS feedback tour information is called for short PDA portable terminal inspection tour system.
Described PC side management system comprises:
(1) makes an inspection tour Task Distribution: the tour task is safeguarded, comprise increase, modification, the deletion of tour task, and task type is definite, the setting of mandatory period, make an inspection tour the teams and groups and the personnel's of tour appointment, the concrete selection of making an inspection tour the route and the equipment of tour is determined, can carry out batch duplicating and deletion to the tour task simultaneously;
(2) make an inspection tour status inquiry: the tour situation is carried out historical query, can specifically check each teams and groups, each tour personnel, all tour situations in concrete certain period are added up the situation that puts in place automatically, calculate bit rate, and support report output;
(3) make an inspection tour path query: the tour situation is done demonstration the most intuitively, and utilization GIS geography information figure with the coordinate line of server end record, can make an inspection tour the path with history and show on map, progress and quality that supervision tour work is finished;
(4) defect information: all defectives are managed, and comprising classifies to defective checks, also can carry out deletion action to defective;
(5) defect statistics: to the defect situation in the certain hour section, press defect rank, defect state, device type is carried out query statistic, required time data is printed user friendly defect management, analyzing defect situation with report form;
(6) defective registration: except floor manager's remote logging defect information, PC side interface system also can manually add defect information, makes things convenient for the interpolation of temporary defect record;
(7) defect processing: defect processing is all realized office automation, and all departments are by the Connection Service device, and shared data bank is shared defect information, can check the up-to-date disposition of defective at any time, makes decisions;
(8) making an inspection tour card safeguards: tour is sticked into row safeguard, when making an inspection tour, can make an inspection tour according to the standard of making an inspection tour, check whether the equipment of circuit has unusually, non-conformance description commonly used is provided simultaneously;
(9) safeguard in the drawbacks of the standard storehouse: the defective storehouse is safeguarded, can fill in the defective content according to the defective storehouse in the defective registration;
(10) making an inspection tour teams and groups safeguards: tour teams and groups and tour personnel during to allocating task safeguard, comprise increase, and deletion is revised;
(11) make an inspection tour the path real-time follow-up: current task of making an inspection tour is carried out real-time follow-up, PC side interface system can be according to the data that are stored in the database, parse the gps coordinate point, and successively point is linked to be the line of being with arrow, just formed a tour path of finishing, in GIS geography information figure, shown;
(12) defect situation ground map logo: to the current defect information of not eliminating as yet, the positioning mark in GIS geography information figure.
Described server end comprises:
(1) new data more: by socket real-time sense monitor database dynamically and the tour situation of PDA side, lastest imformation is passed to the PDA side down automatically, point out the floor manager automatic lastest imformation;
(2) upload defective: after PDA side tour personnel find defective, utilize PDA, the reference defect standard, can be described the evaluation defect rank to defective, simultaneously defective is taken pictures, defect information is fed back among the socket, Socket is by xml conversion process that the information that receives is correlated with, defect information is inserted in the database table, finishes defective and upload;
(3) picture: the camera function that utilizes PDA to carry, can take pictures to the defective equipment of finding, photographic intelligence is wirelessly transmitted to Socket by GRRS, Socket finds picture by photographic intelligence, and picture is left in the database file;
(4) record gps coordinate: socket is by the GPS global-positioning technology, real-time tracing is maked an inspection tour the path, and writes down a series of coordinates of making an inspection tour the path, and coordinate information is left in the database, the PC side personnel monitor in real time to the tour situation, and statistics is maked an inspection tour the account of the history and the situation that puts in place;
(5) software version update: if the inspection tour system of PDA side needs to upgrade, need not to connect computer by data line and upgrade, socket directly will pass to the PDA side by the GPRS wireless network under the lastest imformation, prompting tour personnel update software bag version.
Described PDA portable terminal inspection tour system comprises:
(1) map operation: in the Embedded GIS geography information figure of PDA side, similar with the geography information figure of PC side, to move the interior geography information of work area scope all shows, can move, amplify, dwindle basic operation to map, on map, also can show floor manager's current location in addition, automatically point out relevant informations such as tour task line facility, for navigation is done in tour work;
(2) task column: the current task of needing to make an inspection tour is selected, and corresponding circuit just begins to make an inspection tour process on the spot in the selection task then;
(3) defective column: carry out defective registration and the historical defective of the tour of PDA side is managed, comprise that deletion revises the operation of uploading, the defective registration comprises: drawbacks of the standard registration and self-defined defective are registered;
(4) system: the interface that login system is provided and logs off;
(5) GPS: gps signal and GPRS signal in the monitoring tour process, can manually carry out the connection and the disconnection of gps signal simultaneously, carry out signal and refresh.
Utilize GIS to have spatial analysis capacity, space orientation search fast and the complicated query function of uniqueness, powerful figure creation and visual means and spatial decision support, and GPS can provide real-time locating information, simultaneously with the realization wireless telecommunication that mutually combines of PDA and GPRS, for data transmission provides the most accurate passage the most rapidly, all kinds of technology are combined to be applied in the middle of the inspection tour system, make defect location more accurately, display mode is versatile and flexible, can analyze better and make a strategic decision.This system includes:
A. make an inspection tour the task management module, in order to formulate the tour task, management tour task;
B. make an inspection tour the module that puts in place: be used to supervise the tour situation, inquire bit rate, and the real-time monitoring of in GIS figure, making an inspection tour the path;
C. defect management module: be used for the defective that the reports flow process such as scarce of confirming to disappear;
D. data communication module: be used for server end and receive Various types of data in real time and send Various types of data to the floor manager.Polling module on the spot: be used for the tour personnel and patrol and examine on the spot, recording defect and send defective picture etc.
Assigning of task, uploading etc. of defective all is to carry out wireless remote by GPRS to realize.
Server end can be realized the real-time collecting and the transmission of information, mainly is to intercept technology according to socket, utilizes fixed port to realize point-to-point information interchange.
The description of defective is also supported caption except literal, makes an inspection tour software and can pictures taken be sent to server in the lump when the recording defect content.
The scarce task that disappears is assigned in the affirmation of defective, and the processes such as lacking examination that disappears all realizes office automation, and each defective all has unique numbering, and all processing links all are by unique defective numbering each defective to be handled.
The tour path coordinate that utilizes GPS location will make an inspection tour personnel in real time is sent to server, and back-stage management personnel can monitor tour personnel's tour situation in real time in GIS figure, thereby does guidance for the work of patrolling and examining.
The situation that puts in place that each makes an inspection tour task is to judge automatically according to the coordinate of circuit and equipment among the personnel's of tour tour path and the GIS figure, can the real time inspection arrival rate.
The present invention is intended to develop and realizes circuit intelligent inspection system based on GIS and GPS.Because GIS has unique spatial analysis capacity, space orientation search fast and complicated query function, powerful figure is created and visual means and spatial decision support, and GPS can provide real-time locating information, mutually combining of PDA and GPRS can realize wireless telecommunication, for data transmission provides the most accurate passage the most rapidly, so we are by PDA and GPRS, selection combines GIS and GPS technology and applies in the middle of the inspection tour system, make defect location more accurately, display mode is versatile and flexible, can analyze better and make a strategic decision.The following target of main realization:
(1) makes an inspection tour data management such as task management and share, realize office automation;
(2) make an inspection tour working condition real-time follow-up and flicker demonstration on map;
(3) defect management data is shared, and tour information is fed back in real time, and the defect processing cycle reduces greatly, and is real
Existing office automation is optimized defect processing, is improved the scarce ability that disappears;
(4) the supervision intelligent decision that puts in place, arrival rate calculates automatically;
(5) detectaphone in real time, lastingly, effectively carries out information transmit-receive, the accuracy of guarantee information;
(6) picture record is supported in defect record, display defect directly perceived, and it is scarce to be convenient to disappear;
(7) remote auto is assigned the tour task, upgrades the defect standard storehouse automatically, and updating software version automatically is accomplished to upgrade intelligent.
Circuit intelligent inspection system based on GIS and GPS mainly is made up of 3 major parts: (1) makes an inspection tour task management, makes an inspection tour condition managing, the PC(computing machine of management of defect management defect standard and GIS management) side control terminal, i.e. PC side management system; (2) server end of real-time tranception information, storage data comprises enterprise database and a Socket detectaphone that is used for the wireless data real-time sense, is called for short server end Socket data receiving-transmitting system; (3) hand-held PDA makes an inspection tour on the spot, and the portable terminal by GPRS feedback tour information is called for short PDA portable terminal inspection tour system;
The entire system structure please refer to Fig. 1, and general thought is: the PC side reads the server end data, carries out defect management, and defect standard data management and tour condition managing are reflected in defect information and tour situation among the geography information figure; The PDA side is maked an inspection tour on the spot, is reflected among the geography information figure of PDA side making an inspection tour the route facility information, shows that the floor manager makes an inspection tour record and current location, finds after the defective defect information is sent to the server end storage with the form real-time radio of literal and picture; Server end mainly is as information terminal and information management person, receives the information of PDA side and makes relevant treatment, makes an inspection tour task dispatching information for the PDA side provides simultaneously, and each management function for the PC side directly provides data in addition; Three part synchronous workings are coordinated mutually, form a perfect integral body, constitute the circuit intelligent inspection system based on GIS and GPS.
Relate to the data interaction of PC side interface system, server end Socket data transmit-receive, PDA portable terminal three parts based on the circuit intelligent inspection system of GIS and GPS, therefore the functional module of project is according to three parts characteristics separately, three parts all have oneself independently functional module and with the mutual interface of other partial datas.
(1) PC side management system
The PC side is a client as the office terminal, carries out data interaction with server, is again the keeper, and whole inspection tour system is played management role.The design primary structure as shown in Figure 2.The major function that realizes is as follows:
(1) makes an inspection tour Task Distribution: mainly be that the tour task is safeguarded, comprise increase, modification, the deletion of tour task, and task type is definite, the setting of mandatory period, make an inspection tour the teams and groups and the personnel's of tour appointment, the selection of the concrete tour route and the equipment of tour is definite etc., can carry out batch duplicating and deletion to the tour task simultaneously, makes the cycle tour task work efficiency of every month higher;
(2) make an inspection tour status inquiry: mainly be that the tour situation is carried out historical query, can specifically check each teams and groups, each tour personnel, all tour situations in concrete certain period are added up the situation that puts in place automatically, calculate bit rate, and support report output;
(3) make an inspection tour path query: mainly be the tour situation to be done the most intuitively show, utilization GIS geography information figure with the coordinate line of server end record, can make an inspection tour the path with history and show on map, progress and quality that supervision tour work is finished;
(4) defect information: all defectives are managed, and comprising classifies to defective checks, also can carry out deletion action to defective;
(5) defect statistics: to the defect situation in the certain hour section, press defect rank, defect state, device types etc. are carried out query statistic, and required time data is printed with report form, user friendly defect management, analyzing defect situation;
(6) defective registration: except floor manager's remote logging defect information, PC side interface system also can manually add defect information, makes things convenient for the interpolation of temporary defect record;
(7) defect processing: because defect processing relates to many safety issues, tend to confirm after the defective registration through teams and groups, scarce Task Distribution disappears, disappear to lack and handle, department check and accept to wait and the transmitting-receiving file, sign, fill in many interludes such as suggestion, the long elimination that can influence defective of work period, accidents caused, here defect processing is all realized office automation, all departments are by Connection Service device, shared data bank, share defect information, can check the up-to-date disposition of defective at any time, make decisions, provide the quality time for eliminating defective;
(8) making an inspection tour card safeguards: mainly be tour to be sticked into row safeguard, when making an inspection tour, can make an inspection tour according to the standard of making an inspection tour, whether the equipment of checking circuit has unusually, non-conformance description commonly used is provided simultaneously, makes things convenient for the floor manager to select to describe, the feedback defect information;
(9) safeguard in the drawbacks of the standard storehouse: mainly being that the defective storehouse is safeguarded, can filling in the defective content according to the defective storehouse in the defective registration, mainly is to reference of defective registrant;
(10) making an inspection tour teams and groups safeguards: mainly be that tour teams and groups and tour personnel during to allocating task safeguard, mainly contain increase, deletion, modify feature;
(11) make an inspection tour the path real-time follow-up: current task of making an inspection tour is carried out real-time follow-up, the portable terminal of PDA side periodic real time record floor manager's of meeting in the tour process gps coordinate, be sent to server end by GPRS network with the form of XML simultaneously, server end parses the coordinate information that receives, be stored in the database, PC side interface system just can be according to the data that are stored in the database, parse the gps coordinate point, and successively point is linked to be the line of being with arrow, just formed a tour path of finishing, in GIS geography information figure, shown;
(12) defect situation ground map logo: to the current defect information of not eliminating as yet, the positioning mark in GIS geography information figure makes the user of PC side interface system can see location distribution and the quantity that has defective intuitively, and in time sending disappears lacks notice.
(2) server end
Server end mainly plays three effects: the Management System Data storehouse, management picture file and operation Socket intercept program.Primary structure is illustrated in fig. 3 shown below:
Server has the business data base resource, and that present database software uses is the SQL Server 2000 of Microsoft, has stored all data of the required processing of inspection tour system in the database.Also have the file of storage defect picture in the server, receive the defective picture, check picture file for client simultaneously.
Server end also has the program of socket wireless data input and output simultaneously, is used for real-time receiving radio data and changes the exchange of producing over to, and socket transceive data program function is as follows:
(1) new data more: make an inspection tour route equipment, information such as tour defect standard are because need of work, often have renewal, the tour situation that dynamically reaches the PDA side by socket real-time sense monitor database, up-to-date lastest imformation is automatically down passed to the PDA side, point out the floor manager automatic lastest imformation;
(2) upload defective: after PDA side tour personnel find defective, utilize PDA, the reference defect standard, can be described the evaluation defect rank to defective, simultaneously defective is taken pictures, defect information is fed back among the socket, Socket is by xml conversion process that the information that receives is correlated with, defect information is inserted in the database table, finishes defective and upload;
(3) picture: the camera function that utilizes PDA to carry, can take pictures to the defective equipment of finding, photographic intelligence is wirelessly transmitted to Socket by GRRS, Socket finds picture by photographic intelligence, and picture is left in the database file;
(4) record gps coordinate: the floor manager is in the tour process, socket can pass through the GPS global-positioning technology, real-time tracing floor manager's tour path, and write down a series of coordinates of making an inspection tour the path, coordinate information is left in the database, PC side personnel monitor in real time to the tour situation on one side, and statistics is maked an inspection tour the account of the history and the situation that puts in place;
(5) software version update: if the inspection tour system of PDA side needs to upgrade, need not to connect computer by data line and upgrade, socket directly will pass to the PDA side by the GPRS wireless network under the lastest imformation, prompting tour personnel update software bag version.
Therefore, the program of server end mainly realizes is exactly that (two clients are arranged here, and one is the PDA side for exchanges data between server and the client, one is the PC side), simultaneously, keep data in real time to communicate by letter between portable terminal and server end database, ensure enterprise management informatization, robotization.
(3) PDA side shifting terminal
The PDA side also is to belong to client as portable terminal, mainly is to make an inspection tour on the spot, checks equipment deficiency.Primary structure is as shown in Figure 4:
(1) map operation: in the Embedded GIS geography information figure of PDA side, similar with the geography information figure of PC side, to move the interior geography information of work area scope all shows, basic operations such as can moving, amplify, dwindle map, on map, also can show floor manager's current location in addition, automatically point out relevant informations such as tour task line facility, for navigation is done in tour work.In addition, also provide the equipment query function, be used for the equipment location;
(2) task column: in the task column, the current task of needing to make an inspection tour is selected, corresponding circuit just begins to make an inspection tour process on the spot in the selection task then, in the task interface, has some device prompts;
(3) defective column: in the defective column, mainly be to carry out defective registration and the historical defective of the tour of PDA side is managed, comprise that deletion revises the operation of uploading, the defective registration is divided into two kinds: drawbacks of the standard registration and self-defined defective are registered;
(4) system: the interface that mainly provides login system and log off;
(5) GPS: mainly be gps signal and the GPRS signal in the monitoring tour process, can manually carry out the connection and the disconnection of gps signal simultaneously, carry out signal and refresh.
Embodiment
Make an inspection tour task management
Make an inspection tour the task management design and adopt mode of making an inspection tour personnel in the corresponding teams and groups of a task, a newly-built tour task, at this moment, system gives the mission number of a unique identification task of Task Distribution automatically, as the unique identification of this task.Determine the tour teams and groups and the tour personnel of number task, the type that sets the tasks has simultaneously been formulated the time limit that task is finished to task, and the essential informations such as formulation time of this task has been stored in the database table for " the conventional tour " or " the special tour ".If task names, when essential informations such as type or time in time limit have modification, after determining to revise, deposit the system time of this modification in database, tour terminal updating task is moved in convenient like this prompting.
After the formulation task, the keeper will carry out the distribution of circuit and equipment to each task.From database, read the relevant information of power transmission network circuit and equipment thereof, and the form enumeration process to tabulate, for task choosing.Simultaneously, each circuit is also pointed out in the circuit tabulation by the information of which task choosing, automatically the overlapping and prompting leakage route selection pipeline equipment of judgement task avoids each task of the same period that overlapping circuit and equipment are arranged, with the convenient managerial personnel's allocating task of making an inspection tour.If the tour circuit or the equipment of task have change, in the Task Distribution interface, or list all assignment information of this task, unwanted circuit or equipment are removed selection, if will increase line facility, circuit prompting according to having distributed clicks the circuit or the equipment that need adding, and Task Distribution becomes automatically to be upgraded.At this moment, the modification time of this Task Distribution also can deposit in the database, and convenient prompting is moved the task of making an inspection tour terminal and upgraded.The interface of tour task management as shown in Figure 5.
Defect management
The optimization of defect processing flow process mainly is that the situation that all defect is handled is realized office automation and data sharing, all departments can both learn the latest developments of defect processing at any time at any time, and all departments carry out defect confirmation according to the authority of default or the work such as lacking distribution that disappears, make whole defect processing accomplish robotization, intellectuality is increased work efficiency, and avoids the careless omission of defect processing process, win the quality time for eliminating defective, guarantee to disappear scarce quality simultaneously.
The workflow of defect processing also is illustrated in fig. 6 shown below.Carry out for the flow process orderliness that makes defect management is coherent,, the defective man-made division is become six kinds of states, corresponding different respectively processing simultaneously in conjunction with present defective reality of work situation.Mainly as follows: (1) is registered: when the floor manager makes an inspection tour, and the state after the registration defective, defective is waited for next step " teams and groups' affirmation " under this state; (2) to be allocated: teams and groups confirm the defective of " registered ", the defect state after the affirmation, and defective waits for that next step " disappears to lack and distribute " under this state; (3) pending: be assigned to department, lacked the defective of handling but also disappear, this state waits for that down next step " disappears to lack and handle "; (4) wait to check and accept: the state that defective is processed, wait for next step " defective examination "; (5) check and accept: by checking and accepting, defect processing is successful for defective, and flow process finishes, and can carry out deletion action to defective.(6) deletion: deletion herein is a kind of state of defective, is not real deletion defect record, thoroughly deletes defect record selection " thoroughly deletion ", or thoroughly deletes defective in classified inquiry or condition query interface.
Intelligent decision puts in place
Circuit intelligent inspection system design based on GIS and GPS is noted floor manager's tour location coordinates with PDA, and is sent to server end, is stored in the database through handling.When judging the situation that puts in place of certain equipment, with the record coordinate points and the actual coordinate point of equipment do automatic judgement, if 2 in the scope of putting in place, then be judged as this equipment and put in place, otherwise do not put in place, thereby do foundation for next step decision-making that whether also need make an inspection tour.Simultaneously the situation of putting in place in the certain hour is done statistics, calculate bit rate automatically, as put in place the important indicator of work of investigation.Because the judgement that puts in place is basis for estimation with the gps coordinate herein, and the GPS bearing accuracy of PDA equipment can have influence on the precision of gps coordinate, therefore there is error in the judgement meeting that puts in place because of the limitation of hardware facility, therefore in the situation of conditions permit, system should adopt the PDA device of band degree of precision GPS positioning function as far as possible.
Tour situation real-time follow-up
What real-time follow-up was mainly realized is that current task of making an inspection tour is followed the tracks of, and the path that the floor manager is passed by shows in geography information figure in real time.For realizing this function, need the PC side, server end and PDA side three parts organically combine.PDA side real time record Current GPS coordinate information is that 5 fens clockwise server ends send the coordinate information that writes down by GPRS, after detectaphone receives coordinate information, by resolving, coordinate is stored in the database table.And PC side interface system read once up-to-date coordinate information every 1 minute, and coordinate points is linked to be line successively, drew in GIS geography information figure.
The transmitting/receiving program implementation method
Server ip address is used in circuit intelligent inspection system design based on GIS and GPS, specifies a port numbers 6869 simultaneously, is specifically designed to and makes an inspection tour intercepting of data, guarantees the accuracy of interception data.If server-side system does not occur unusually, detectaphone is in the state of intercepting constantly, receives and dispatches all kinds of tour data at any time, and is stored in the database, guarantees the real-time of data.
Server all provides being connected between server and the client computer by a detectaphone.Detectaphone comprises the listen socket of server ip address, port numbers, server name and acquiescence virtual server.Detectaphone must have the combination of unique port numbers and IP address.In the circuit intelligent inspection system based on GIS and GPS, all of the port unification is defined as 6869.
Each detectaphone all has an acquiescence virtual server.When the host component of request visit and any detectaphone associated virtual server did not all match, detectaphone can be routed to all request URL the acquiescence virtual server.In addition, also should specify receiver thread number in the detectaphone.Receiver thread such as is exactly at a thread to be connected.They are used for accepting to connect and being placed on formation (be called and connect formation), so that picked up by worker thread subsequently.Based on the thought of this thread, the Socket transmitting/receiving program flow process of server end exploitation as shown in Figure 7.
Data communication format
Client sends thread request, and server S ocket program judges request, thereby carries out next step proper operation.At the function that server end Socket need realize, the communication mode of request field newAccept is all different, therefore need unify regulation to the communication format that sends request, as shown in Figure 8.Specific as follows:
(1) new data more: mainly be that information such as tour task and equipment deficiency are upgraded.The communication format of update request is " gx/ "+" personnel's numbering "+" update time last time ".After client sent update request, Socket was " gx " by the beginning character of judging request field newAccept, and client requires tour task and equipment deficiency are upgraded as can be known.So decoding to request field, Socket obtains " personnel's numbering " information, thereby in database, search the tour task of this personnel's correspondence and the equipment deficiency situation of tour, find out the task and the task of deletion and the present defect record that need increase, change task lastest imformation and the unification of defective lastest imformation into the XML form by the CreateXML method.The information of XML form sends to PDA end by the SendVarData method, and the PDA termination is decoded to information after receiving information, obtains the information content that needs, after task is upgraded successfully, the PDA side return " ok " from section, represent to upgrade successfully.
(2) upload defective: the tour personnel find defective in the tour process, carry out long distance wireless and upload.Upload the request of defective, unified with "<qx〉" or "<qx1〉" beginning, wherein only upload the defective word content with the request explanation of "<qx〉" beginning, uploading pictures content not illustrate while uploading pictures and word content with "<qx1〉".Wherein the defective Word message is to comprise<qx〉</qx the request of XML form in, by the ParseXMLAndWrite method to asking to carry out automatically the xml formats, obtain defective numbering, disfigurement discovery people, defect rank, defective content, find information such as defective time, and with information stores in database table.
(3) picture: the camera function that utilizes PDA to carry, can take pictures to the defective equipment of finding, photographic intelligence is wirelessly transmitted to socket by GRRS, socket finds picture by photographic intelligence, and picture is left in the database file.If the request of uploading illustrates that with "<qx1〉" beginning this defective has pictorial information.After having uploaded the Word message of defective, PDA is edge-on promptly to send this defective picture number of messages (because the corresponding a plurality of pictures of defective possibility) to the Socket detectaphone, after the Socket detectaphone is received the defective Word message, continue execution thread, receive picture, and leave among the fixing file images.After file placed corresponding file, the Socket program immediately with content stores such as the physical pathway title of this picture and defective numberings in database table xj_img, guarantee that a picture file has only a path.Like this, when client need be checked picture, only need find the path of picture, just addressable picture by the content in the xj_img table.
(4) record gps coordinate: the floor manager is in the tour process, and the PDA side can send real-time coordinate information to Socket by GPS.The request that sends gps coordinate starts with " zb ", concrete form is: " zb/ "+" mission number/"+" record coordinate start time/"+" coordinate points 1/ "+" coordinate points 2/ " ++ " record coordinate concluding time/"+" personnel's numbering/", pass through the GetGPSInfo method in the Socket program, this request field is resolved, coordinate information is inserted among the database table xj_gps goes.
(5) software version update: the request field of the version updating of software and xcopy thereof starts with " app_test ".The PDA side has configuration file config_pda.ini writing down information such as the version of PDA side software and update time.When the PDA side needs version updating, the information in the configuration file is included in is sent to Socket in the request field, field specifically composition mode is: " app_test/ "+" filename 1, version information 1/ "+" filename 2, version information 2/ "+.After Socket receives the version updating request, to carry out information analysis to request field, the file that needs are upgraded carries out version relatively with latest edition, do not upgrade if do not need, to PDA return message " no Update ", if renewal is arranged, from database, read the latest edition content, latest edition is sent to PDA.After the PDA end has upgraded version, with the version information of revising in the configuration file, to be used for next update.
Uploading of defective pictorial information
Mentality of designing as shown in Figure 9, be specially: the PDA side is taken pictures to defective equipment, photo storage is in PDA side storage card, send picture and pictorial information to detectaphone, after detectaphone receives pictorial information, begin to start relative program, require the server end Shared Folders to receive picture, simultaneously relevant informations such as picture name, time, corresponding defective are stored in the database.PC side interface system reads image data information by the LAN (Local Area Network) accessing database, thereby finds the picture address in the shared file, checks picture file, checks defect information intuitively, as faces the scene, does guidance for next step disappears to lack.
Remote auto upgrades
Upgrading based on the remote auto of the circuit intelligent inspection system of GIS and GPS is to deposit lastest imformation in database, and with gxsj(field update time) label, the PDA side by GPRS with after detectaphone maintenance information is connected, lastest imformation in the automatic reading database, be sent to the PDA side by detectaphone, the prompting user upgrades the tour task, makes an inspection tour sign, information such as defect standard storehouse and tour software version accomplish that robotization, intelligent wireless remote upgrade.