CN102263673A - Remote service system and method based on gateway - Google Patents
Remote service system and method based on gateway Download PDFInfo
- Publication number
- CN102263673A CN102263673A CN2010101900860A CN201010190086A CN102263673A CN 102263673 A CN102263673 A CN 102263673A CN 2010101900860 A CN2010101900860 A CN 2010101900860A CN 201010190086 A CN201010190086 A CN 201010190086A CN 102263673 A CN102263673 A CN 102263673A
- Authority
- CN
- China
- Prior art keywords
- module
- data
- command
- upload
- gateway
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000012545 processing Methods 0.000 claims abstract description 70
- 238000010977 unit operation Methods 0.000 claims abstract description 46
- 238000001514 detection method Methods 0.000 claims description 49
- 238000004891 communication Methods 0.000 claims description 46
- 230000002159 abnormal effect Effects 0.000 claims description 29
- 230000005540 biological transmission Effects 0.000 claims description 21
- 238000005516 engineering process Methods 0.000 description 18
- 238000012544 monitoring process Methods 0.000 description 18
- 238000007689 inspection Methods 0.000 description 5
- 238000009434 installation Methods 0.000 description 4
- 238000004378 air conditioning Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a remote service system based on a gateway, which is characterized in that the gateway adopts a data uploading control module to realize the control of data uploading, and when data abnormity is detected or a user needs to debug or monitor a unit routinely, unit operation data is uploaded to an application server, and the application server processes the data, so that the control of the application server on data processing is realized; the invention also discloses a gateway-based remote service method, because the step of judging the current condition is added between the collected data and the processed data, the data is processed when the current condition meets the data processing condition, and is not processed when the current condition does not meet the data processing condition, thereby realizing the control of data processing.
Description
Technical field
The present invention relates to the remote service technical field, particularly a kind of long distance service system and method based on gateway.
Background technology
As shown in Figure 1, present long distance service system is made up of application server, the Internet, wireless communication networks terminal, gateway and unit, each several part links to each other successively, wherein the wireless communication networks terminal has a variety of, this sentences the GPRS terminal is example, unit can be home appliances such as air-conditioning, refrigerator, also can be other non-home appliances.Need be formed a mininet by the unit of remote monitoring, this mininet can be based on the communication network of RS485, also can be based on the network of other communication modes, this sentences RS485 is example, the agreement of unit operation is Modbus agreement or other agreements, and the content of carrying is the service data of unit.Gateway is the RS232 network to what adopt between the GPRS terminal, the agreement of operation is the self-defining communications protocol consistent with application server, and gateway is with the unit communication network and the GPRS communication network is kept apart and the service data of unit is uploaded to application server by the GPRS terminal via the Internet.
Above-mentioned gateway carries out foolproof uploading to data unit operation, promptly collect and just be uploaded to application server, application server then carries out data processing, whole process is uncontrollable, because the data upload process need utilizes the Internet, the data upload that continues increases network traffics, and the data processing that continues increases the low operating cost of system effectiveness.
Summary of the invention
The invention provides a kind of long distance service system and method and have data upload and the uncontrollable problem of processing in the long distance service system now to solve based on gateway.
Long distance service system based on gateway of the present invention, comprise the wireless communication networks terminal that links to each other successively, gateway and unit, and the application server that carries out communication by the Internet with described wireless communication networks terminal, described gateway comprises continuous data acquisition module and data upload control module, described application server comprises data processing module, described data upload control module is judged when whether precondition satisfies to be uploaded the condition of data and when satisfying the data unit operation of described data collecting module collected is uploaded to described data processing module by described wireless communication networks terminal via the Internet, the data that described data processing module processing receives.
Preferably, described data upload control module comprises continuous condition judgment module and data upload module, described condition judgment module links to each other with described data processing module with described data acquisition module respectively, be used to judge when whether precondition satisfies to upload the condition of data and send and upload data command that the service data of uploading behind the data command the unit of described data collecting module collected that described data upload module is received described condition judgment module is uploaded to described data processing module by described wireless communication networks terminal via the Internet to described data upload module when satisfying.
Preferably, described condition judgment module comprises the debug command receiver module, and described debug command receiver module is used for sending after the debug command that receives the user uploads data command to described data upload module;
And/or
Described condition judgment module comprises the abnormal data detection module, and described abnormal data detection module is used for occurring sending when unusual at the data unit operation that detects described data collecting module collected uploading data command and uploading data to described data upload module;
And/or
Described condition judgment module comprises the General Routine Order receiver module, described application server also comprises the General Routine Order sending module, the order that described General Routine Order sending module is used to accept the user sends daily monitor command by described the Internet and wireless communication networks terminal to described General Routine Order receiver module, and described General Routine Order receiver module receives to send behind the described daily monitor command uploads data command to described data upload module.
A kind of remote service method based on gateway of the present invention may further comprise the steps:
The timing acquiring data unit operation judges that whether work as precondition satisfies the data processing condition, handles the data unit operation of gathering when satisfying.
The invention discloses a kind of long distance service system based on gateway, because gateway adopts the data upload control module, make gateway realize the control that data are uploaded, need debug or data unit operation is uploaded to application server during routine monitoring unit detecting data exception or user, by application server data are handled, therefore also realized the control that application server is handled data; The invention also discloses a kind of remote service method based on gateway, owing between image data and deal with data, increased the step of judging when precondition, when satisfying the data processing condition, data are handled when precondition, do not handle when not satisfying, realized the control that data are handled.
Description of drawings
Fig. 1 is a prior art long distance service system structural representation;
Fig. 2 is the structural representation that the present invention is based on the long distance service system embodiment one of gateway;
Fig. 3 is the structural representation that the present invention is based on the long distance service system embodiment 13 of gateway;
Fig. 4 is the schematic flow sheet that the present invention is based on the remote service method embodiment one of gateway;
Fig. 5 is the schematic flow sheet that the present invention is based on the remote service method embodiment two of gateway;
Fig. 6 is the schematic flow sheet that the present invention is based on the remote service method embodiment seven of gateway.
Embodiment
Long distance service system based on gateway of the present invention is on the basis of existing long distance service system, gateway and application server are carried out the function expansion, realized the control of gateway data upload and application server data processing is explained the present invention in detail below in conjunction with specific embodiments and the drawings.
Embodiment one:
Long distance service system based on gateway of the present invention, comprise the wireless communication networks terminal that links to each other successively, gateway and unit, and the application server that carries out communication by the Internet with the wireless communication networks terminal, as shown in Figure 2, gateway comprises continuous data acquisition module and data upload control module, application server comprises data processing module, data acquisition module one end links to each other with unit, the service data of timing acquiring unit, one end links to each other with the data upload control module, the data upload control module links to each other with data processing module via the Internet by wireless communication networks terminal (following by the replacement of GPRS terminal), be used to judge when whether precondition satisfies and upload the condition of data and when satisfying, the data unit operation of data collecting module collected is uploaded to data processing module that data processing module is handled the data that receive.
Compare with the gateway in the existing long distance service system, gateway in the present embodiment has increased the data upload control module, define the condition of data upload, when satisfying the data upload condition, again data unit operation is uploaded to application server, rather than just uploads after collecting data blindly when precondition.
Embodiment two:
The difference of present embodiment and embodiment one is, data upload control module among the embodiment one is come specific implementation by the condition judgment module and the data upload module that link to each other in the present embodiment, the condition judgment module links to each other with data acquisition module, be used to judge when whether precondition satisfies to upload the condition of data and send and upload data command that the service data of uploading behind the data command the unit of data collecting module collected that the data upload module is received the condition judgment module is uploaded to described data processing module by described GPRS terminal via the Internet to the data upload module when satisfying.
The other technologies feature of present embodiment is identical with embodiment one, does not repeat them here.
Embodiment three:
The difference of present embodiment and embodiment two is, condition judgment module in the present embodiment comprises the debug command receiver module, the debug command receiver module links to each other with the data upload module, the outside Installation and Debugging button of gateway, when the engineering staff need debug unit, send the debugging monitor command by the debugging button to gateway, after the debug command receiver module receives the debugging monitor command, the long distance service system that the present invention is based on gateway enters the debugging monitoring mode, and the debug command receiver module sends and uploads data command to the data upload module.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment four:
The difference of present embodiment and embodiment two is, condition judgment module in the present embodiment comprises the abnormal data detection module, abnormal data detection module one end links to each other with data acquisition module, one end links to each other with the data upload module, data unit operation to data collecting module collected detects, occur sending when unusual and upload data command to the data upload module when detecting service data, at this moment, the long distance service system that the present invention is based on gateway is operated in unusual active upload monitoring mode.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment five:
The difference of present embodiment and embodiment two is, condition judgment module in the present embodiment comprises the General Routine Order receiver module, application server also comprises the General Routine Order sending module, General Routine Order receiver module one end links to each other with the data upload module, one end links to each other with the General Routine Order sending module via the Internet by the GPRS terminal, when the user of application server end need carry out routine inspection to unit, send daily monitor command to the General Routine Order sending module, the General Routine Order sending module sends to the General Routine Order receiver module with daily monitor command, transmission was uploaded data command to the data upload module after the General Routine Order receiver module received order, at this moment, the long distance service system that the present invention is based on gateway is operated in normal monitoring mode.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment six:
The difference of present embodiment and embodiment two is that the condition judgment module in the present embodiment comprises debug command receiver module and abnormal data detection module.
The debug command receiver module links to each other with the data upload module, the outside Installation and Debugging button of gateway, when the engineering staff need debug unit, send the debugging monitor command by the debugging button to gateway, after the debug command receiver module receives the debugging monitor command, the long distance service system that the present invention is based on gateway enters the debugging monitoring mode, and the debug command receiver module sends and uploads data command to the data upload module.
Abnormal data detection module one end links to each other with data acquisition module, one end links to each other with the data upload module, data unit operation to data collecting module collected detects, occur sending when unusual and upload data command when detecting service data to the data upload module, at this moment, the long distance service system that the present invention is based on gateway is operated in unusual active upload monitoring mode.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment seven:
The difference of present embodiment and embodiment two is that the condition judgment module in the present embodiment comprises debug command receiver module and General Routine Order receiver module, and application server comprises the General Routine Order sending module.
The debug command receiver module links to each other with the data upload module, the outside Installation and Debugging button of gateway, when the engineering staff need debug unit, send the debugging monitor command by the debugging button to gateway, after the debug command receiver module receives the debugging monitor command, the long distance service system that the present invention is based on gateway enters the debugging monitoring mode, and the debug command receiver module sends and uploads data command to the data upload module.
General Routine Order receiver module one end links to each other with the data upload module, one end links to each other with the General Routine Order sending module via the Internet by the GPRS terminal, when the user of application server end need carry out routine inspection to unit, send daily monitor command to the General Routine Order sending module, the General Routine Order sending module sends to the General Routine Order receiver module with daily monitor command, transmission was uploaded data command to the data upload module after the General Routine Order receiver module received order, at this moment, the long distance service system that the present invention is based on gateway is operated in normal monitoring mode.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment eight:
The difference of present embodiment and embodiment two is that the condition judgment module in the present embodiment comprises abnormal data detection module and General Routine Order receiver module, and application server also comprises the General Routine Order sending module.
Abnormal data detection module one end links to each other with data acquisition module, one end links to each other with the data upload module, data unit operation to data collecting module collected detects, occur sending when unusual and upload data command when detecting service data to the data upload module, at this moment, the long distance service system that the present invention is based on gateway is operated in unusual active upload monitoring mode.
General Routine Order receiver module one end links to each other with the data upload module, one end links to each other with the General Routine Order sending module via the Internet by the GPRS terminal, when the user of application server end need carry out routine inspection to unit, send daily monitor command to the General Routine Order sending module, the General Routine Order sending module sends to the General Routine Order receiver module with daily monitor command, transmission was uploaded data command to the data upload module after the General Routine Order receiver module received order, at this moment, the long distance service system that the present invention is based on gateway is operated in normal monitoring mode.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment nine:
The difference of present embodiment and embodiment two is that the condition judgment module in the present embodiment comprises debug command receiver module, abnormal data detection module and General Routine Order receiver module, and application server also comprises the General Routine Order sending module.。
The debug command receiver module links to each other with the data upload module, the outside Installation and Debugging button of gateway, when the engineering staff need debug unit, send debug command by the debugging button to gateway, after the debug command receiver module receives debug command, the long distance service system that the present invention is based on gateway enters the debugging monitoring mode, and the debug command receiver module sends and uploads data command to the data upload module.
Abnormal data detection module one end links to each other with data acquisition module, one end links to each other with the data upload module, data unit operation to data collecting module collected detects, occur sending when unusual and upload data command when detecting service data to the data upload module, at this moment, the long distance service system that the present invention is based on gateway is operated in unusual active upload monitoring mode.
General Routine Order receiver module one end links to each other with the data upload module, one end links to each other with the General Routine Order sending module via the Internet by the GPRS terminal, when the user of application server end need carry out routine inspection to unit, send daily monitor command to the General Routine Order sending module, the General Routine Order sending module sends to the General Routine Order receiver module with daily monitor command, transmission was uploaded data command to the data upload module after the General Routine Order receiver module received order, at this moment, the long distance service system that the present invention is based on gateway is operated in normal monitoring mode.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment ten:
The difference of present embodiment and embodiment nine is, application server in the present embodiment also comprises shroud module, shroud module links to each other with the debug command receiver module with the abnormal data detection module of gateway by the GPRS terminal via the Internet, is used to accept user command and sends mask off command to abnormal data detection module and debug command receiver module.
When the user of application server end does not need to understand data under unusual active upload monitoring mode and the debugging monitoring mode, send the mask off command that comprises the shielding time to shroud module, shroud module is sent to abnormal data detection module and debug command receiver module with mask off command, after abnormal data detection module and debug command receiver module are received mask off command, in the shielding time, stop to upload data command to the transmission of data upload module, after the shielding time, resend and upload data command.
The other technologies feature of present embodiment is identical with embodiment nine, does not repeat them here.
Embodiment 11:
The difference of present embodiment and embodiment ten is, application server in this enforcement also comprises the break link module, break link module one end links to each other with the General Routine Order sending module, one end links to each other with the data upload module with the GPRS terminal by the Internet, the General Routine Order sending module by wireless communication networks to the GPRS terminal transmits information.
The GPRS terminal has been set up with application server by the Internet and has been linked, in order to save cost, the user is not when needing to understand data unit operation, send the break link instruction to application server, the break link module of application server is received after the instruction the disconnection that links between GPRS terminal and the application server, and linking between the terminal disconnects among notice General Routine Order sending module application server and the GPRS, before disconnection, in order to reduce the unnecessary workload of gateway, the break link module stops the data upload order by the Internet and GPRS terminal to the data upload module transmission of gateway earlier, and the data upload module of gateway is received and stopped to stop to upload data to application server after the data upload order.
After the link of gateway and application server disconnects, after the data upload module is received and is uploaded data command, notice GPRS final link scoops out and uses server earlier, data processing module and the break link module of GPRS terminal by the Internet and application server set up and link and link successfully afterwards on the notification data transmission module and upload data setting up, the data upload module receive the service data uploaded behind the data notification unit by the GPRS terminal via the Internet reported data processing module, linking among break link module notice General Routine Order sending module application server and the GPRS between the terminal is normal.
After if the General Routine Order sending module receives that link disconnects notice, need send daily monitor command to gateway by the GPRS terminal, then at first in the database of application server inquiry obtain unit to be monitored by GPRS terminal that gateway connected, the General Routine Order sending module sends daily monitor command by wireless communication networks to this GPRS terminal, and this GPRS terminal is to the daily monitor command of connected gateway forwards; If the General Routine Order sending module need send daily monitor command to gateway by the GPRS terminal after receiving the normal notice of link, then daily monitor command is sent to the GPRS terminal by the Internet, the GPRS terminal is to the daily monitor command of gateway forwards.
From the above, after the internet link between application server and the GPRS terminal disconnects, application server sends order by wireless communication networks to the GPRS terminal, the GPRS terminal will be ordered and be transmitted gateway, gateway is desired when application server is uploaded data earlier notice GPRS final link and is scooped out and use server, uploads data again after linking successfully.
The other technologies feature of present embodiment is identical with embodiment ten, does not repeat them here.
Embodiment 12:
The difference of present embodiment and embodiment 11 is, the data upload module comprises continuous instruction discrimination module and last transmission module in the present embodiment, application server also comprises the identification code parsing module, identification code parsing module one end links to each other with data processing module, one end links to each other with last transmission module with the GPRS terminal by the Internet, the instruction discrimination module respectively with the condition judgment module in the debug command receiver module, the abnormal data detection module links to each other with the General Routine Order receiver module, when the condition judgment module sends when uploading data command to the instruction discrimination module, the instruction discrimination module is differentiated the transmitting terminal of uploading data command, judge that promptly uploading data command is by the debug command receiver module, which module in abnormal data detection module and the General Routine Order receiver module sends, after the instruction discrimination module is learnt transmitting terminal transmitting terminal corresponding identification sign indicating number is sent to transmission module, last transmission module together sends to the identification code parsing module with identification code and data unit operation, the identification code parsing module is resolved identification code and data unit operation is sent to data processing module, and data processing module is handled data unit operation.
Identification code is to upload the transmitting terminal of data command in order to distinguish transmission module, learns the i.e. present mode of system as can be known of transmitting terminal.Identification code can be symbols such as alphanumeric or other, for example, with 001,002 and 003 represents the debug command receiver module respectively, abnormal data detection module and General Routine Order receiver module, the instruction discrimination module receives uploads data command, judge and learn that transmitting terminal is the debug command receiver module, then identification code 001 is sent to transmission module, last transmission module together sends to the identification code parsing module with identification code and data unit operation, the identification code parsing module is resolved identification code 001 and is learnt that it is that debug command receiver module by gateway is initiated that this data unit operation is uploaded, be that monitoring mode is being debugged in system's work at present, thereby.The user of application server end can learn that from the identification code parsing module system's work at present is at the debugging monitoring mode.
The other technologies feature of present embodiment is identical with embodiment 11, does not repeat them here.
Embodiment 13:
The difference of present embodiment and embodiment three is, as shown in Figure 3, gateway in the present embodiment comprises that also Link State detection module and time are provided with module, application server also comprises continuous Link State judge module and Shi Ji calibration module, the Link State detection module links to each other with the Link State judge module via the Internet by the GPRS terminal, be used for periodically sending the heartbeat detection bag to the Link State judge module, the Link State judge module is used for judging according to the heartbeat detection bag that whether receives in the fixed time state of communication link between application server and the gateway, the base calibration module sends to gateway with the time of application server when notifying when receiving the heartbeat detection bag at the appointed time, time base calibration module is provided with module by the GPRS terminal with time of sending to time of application server via the Internet, and the time that the time is provided with the application server that module receives is set to the current time of gateway.
The Link State detection module sends the heartbeat detection bag for every 12 hours the Link State judge module of application server, can set as required blanking time herein, within 24 hours if (time length can be set), the Link State judge module is not received the heartbeat detection bag of gateway, it is unusual to judge that the communication link that draws between application server and the gateway occurs, if the Link State judge module has received the heartbeat detection bag then has judged that the communication link that draws between application server and the gateway is normal in 24 hours, simultaneously, the time that the base calibration module sends to gateway with time of application server during notice is provided with module, the time that time is provided with the module application server is set to the current time of gateway, so that the time synchronized of gateway and application server.
Remote service method based on gateway of the present invention is by judging whether satisfy data processing condition, realized targetedly data being handled, rather than promptly handled after gathering if working as precondition, explain the present invention in detail below in conjunction with embodiment and accompanying drawing.
Embodiment one:
Remote service method based on gateway of the present invention as shown in Figure 4, may further comprise the steps:
Step 101. timing acquiring data unit operation;
Step 102. judges that whether work as precondition satisfies the data processing condition, enters step 103 when satisfying;
Step 103. is handled the data unit operation of gathering.
Present embodiment is provided with the data processing condition, has increased the step of judging when precondition between image data and deal with data, when satisfying the data processing condition when precondition data is handled, and does not handle when not satisfying.
The method of present embodiment is applied among the long distance service system embodiment one based on gateway of the present invention, the job step that then the present invention is based on the long distance service system of gateway is: the service data of the data acquisition module timing acquiring unit of gateway, the data upload control module of gateway judges whether work as precondition satisfies the data upload condition, then service data is uploaded to application server by GPRS terminal and the Internet if satisfy, service data is handled by the data processing module of application server.
Embodiment two:
The difference of present embodiment and embodiment one is, the judgement in embodiment one step 102 specifically comprises when the process whether precondition satisfies the data processing condition:
Step 201. judges whether to receive daily monitor command, satisfies the data processing condition if then be judged to be;
Or
Step 202. judges whether to receive the debugging monitor command, satisfies the data processing condition if then be judged to be;
Or
Whether step 203. detects data unit operation and occurs unusually, if then satisfy the data processing condition;
Or
Step 204. judges whether to receive the debugging monitor command or whether the detection data unit operation occurs unusually, satisfies the data processing condition if then be judged to be;
Or
Step 205. judges whether to receive daily monitor command or debugging monitor command, satisfies the data processing condition if then be judged to be;
Or
Step 206. judges whether to receive daily monitor command or whether the detection data unit operation occurs unusually, satisfies the data processing condition if then be judged to be;
Or
Whether step 207. judges whether to receive daily monitor command or debugging monitor command or detection data unit operation and occurs unusually, satisfies the data processing condition if then be judged to be.
When the user need carry out routine inspection to unit, then send daily monitor command, when the user need debug unit, then send the debugging monitor command, receiving user's daily monitor command or debugging monitor command or detect the data unit operation appearance all needs the service data of unit is handled unusually.
With step 207 is example, and the schematic flow sheet of present embodiment as shown in Figure 5.
The other technologies feature of present embodiment is identical with embodiment one, does not repeat them here.
Embodiment three:
The difference of present embodiment and embodiment two is, present embodiment comprised step before embodiment two step 201-207: judge whether to receive and stop the data upload order, satisfy the data processing condition if then be judged to be, carry out any one among the step 201-207 among the embodiment two if not.
When the user does not need to understand data unit operation, transmission is stopped the data upload order, then do not satisfy the data processing condition if receive user's the data upload order that stops, need not handle service data, not stop the data upload order and then carry out arbitrary step among the 201-207 if receive.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment four:
The difference of present embodiment and embodiment two is, present embodiment comprised step before embodiment two step 202-204: judge whether to receive mask off command, do not satisfy the data processing condition if then be judged to be, carry out the step 202 or 203 or 204 among the embodiment two if not.
When the user does not need unit is debugged or do not needed to understand when unusual data unit operation occurring, send mask off command, mask off command comprises the shielding time, promptly come into force always, the data processing condition occurs unusually still not satisfying even if receive the debugging monitor command or detect data unit operation in shielding time inner shield order.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment five:
The difference of present embodiment and embodiment two is, present embodiment comprised step before embodiment two step 205-207: judge whether to receive mask off command, then carry out the step 205 or 206 or 207 among the embodiment two if not, if then judge whether to receive daily monitor command, satisfy the data processing condition if then be judged to be.
Mask off command is to the debugging monitor command and detect data unit operation and occur effectively unusually, but invalid to daily monitor command, when therefore receiving daily monitor command, even if be in the shielding time, still satisfies the data processing condition.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment six:
The difference of present embodiment and embodiment two is, present embodiment comprised step before embodiment two step 202-204: judge whether to receive and stop data upload order or mask off command, do not satisfy the data processing condition if then be judged to be, carry out the step 202-204 among the embodiment two if not.
Comprise at embodiment two on the basis of step 202 or 203 or 204, at first judge whether to receive and stop the data upload order or shield the life order, stop the data upload order or receive mask off command if receive, represent that then the user need not understand data, do not satisfy the data processing condition this moment, do not stop the data upload order and do not receive mask off command yet if both received, then execution in step 202 or 203 or 204.
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Embodiment seven:
The difference of present embodiment and embodiment two is, present embodiment comprised step before embodiment two step 205-207: judge whether to receive and stop the data upload order, if then do not satisfy the data processing condition, then judge whether to receive mask off command if not, then carry out the step 205-207 among the embodiment two if not, if then judge whether to receive daily monitor command, if then satisfy the data processing condition.
Comprise at embodiment two on the basis of step 205 or 206 or 207, at first judge whether to receive and stop the data upload order, then need not data are handled if receive, do not stop the data upload order and then judge whether to receive mask off command if receive, if do not receive then execution in step 205 or 206 or 207 of mask off command, if receive mask off command, then judge whether to receive daily monitor command, then satisfy the data processing condition if receive daily monitor command, data are handled, if do not receive daily monitor command, even if receiving the debugging monitor command or detecting service data occurs unusual, because the data processing condition is not still satisfied in the existence of mask off command.
Comprise that with embodiment two step 207 is an example, as shown in Figure 6, the detailed step of present embodiment is as follows:
The other technologies feature of present embodiment is identical with embodiment two, does not repeat them here.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.
Claims (17)
1. long distance service system based on gateway, comprise the wireless communication networks terminal that links to each other successively, gateway and unit, and the application server that carries out communication by the Internet with described wireless communication networks terminal, it is characterized in that, described gateway comprises continuous data acquisition module and data upload control module, described application server comprises data processing module, described data upload control module is judged when whether precondition satisfies to be uploaded the condition of data and when satisfying the data unit operation of described data collecting module collected is uploaded to described data processing module by described wireless communication networks terminal via the Internet, the data that described data processing module processing receives.
2. the long distance service system based on gateway according to claim 1, it is characterized in that, described data upload control module comprises continuous condition judgment module and data upload module, described condition judgment module links to each other with described data acquisition module, be used to judge when whether precondition satisfies to upload the condition of data and send and upload data command that the service data of uploading behind the data command the unit of described data collecting module collected that described data upload module is received described condition judgment module is uploaded to described data processing module by described wireless communication networks terminal via the Internet to described data upload module when satisfying.
3. the long distance service system based on gateway according to claim 2, it is characterized in that, described condition judgment module comprises the debug command receiver module, and described debug command receiver module is used for sending after receiving user's debugging monitor command uploads data command to described data upload module.
4. the long distance service system based on gateway according to claim 2, it is characterized in that, described condition judgment module comprises the abnormal data detection module, and whether the data unit operation that described abnormal data detection module detects described data collecting module collected occurs unusual and upload data command to described data upload module detecting to send when unusual.
5. the long distance service system based on gateway according to claim 2, it is characterized in that, described condition judgment module comprises the General Routine Order receiver module, described application server also comprises the General Routine Order sending module, the order that described General Routine Order sending module is used to accept the user sends daily monitor command by described the Internet and wireless communication networks terminal to described General Routine Order receiver module, and described General Routine Order receiver module receives to send behind the described daily monitor command uploads data command to described data upload module.
6. the long distance service system based on gateway according to claim 2, it is characterized in that, described condition judgment module comprises debug command receiver module and abnormal data detection module, described debug command receiver module is used for after receiving user's debugging monitor command sending uploads data command to described data upload module, and described abnormal data detection module is used for occurring sending when unusual at the data unit operation that detects described data collecting module collected uploading data command to described data upload module.
7. the long distance service system based on gateway according to claim 2, it is characterized in that, described condition judgment module comprises debug command receiver module and General Routine Order receiver module, described application server also comprises the General Routine Order sending module, described debug command receiver module is used for sending after receiving user's debugging monitor command uploads data command to described data upload module, the order that described General Routine Order sending module is used to accept the user sends daily monitor command by described the Internet and wireless communication networks terminal to described General Routine Order receiver module, and described General Routine Order receiver module receives to send behind the described daily monitor command and uploads data command and upload data to described data upload module.
8. the long distance service system based on gateway according to claim 2, it is characterized in that, described condition judgment module comprises abnormal data detection module and General Routine Order receiver module, application server also comprises the General Routine Order sending module, described abnormal data detection module is used for occurring sending when unusual at the data unit operation that detects described data collecting module collected uploading data command to described data upload module, the order that described General Routine Order sending module is used to accept the user sends daily monitor command by described the Internet and wireless communication networks terminal to described General Routine Order receiver module, and described General Routine Order receiver module receives to send behind the described daily monitor command and uploads data command and upload data to described data upload module.
9. the long distance service system based on gateway according to claim 2, it is characterized in that, described condition judgment module comprises the debug command receiver module, abnormal data detection module and General Routine Order receiver module, application server also comprises the General Routine Order sending module, described debug command receiver module is used for sending after receiving user's debugging monitor command uploads data command to described data upload module, described abnormal data detection module is used for occurring sending when unusual at the data unit operation that detects described data collecting module collected uploading data command to described data upload module, the order that described General Routine Order sending module is used to accept the user sends daily monitor command to described General Routine Order receiver module, and described General Routine Order receiver module receives to send behind the described daily monitor command uploads data command to described data upload module.
10. the long distance service system based on gateway according to claim 9, it is characterized in that, described application server also comprises shroud module, described shroud module links to each other with the debug command receiver module with the abnormal data detection module of gateway by the wireless communication networks terminal via the Internet, be used to accept user command and send mask off command to abnormal data detection module and debug command receiver module, described abnormal data detection module and debug command receiver module stopped to upload data command to described data upload module transmission in the shielding time of described mask off command.
11. according to any described long distance service system of claim 1-10 based on gateway, it is characterized in that, described gateway comprises that also Link State detection module and time are provided with module, described application server also comprises continuous Link State judge module and Shi Ji calibration module, described Link State detection module links to each other with described Link State judge module via the Internet by the wireless communication networks terminal, periodically send the heartbeat detection bag to described Link State judge module, described Link State judge module is judged the state of communication link between described application server and the described gateway according to the heartbeat detection bag that whether receives in the fixed time, notify described time base calibration module that the time of application server is sent to described gateway when receiving the heartbeat detection bag at the appointed time, the base calibration module sends to described time by described wireless communication networks terminal with time of described application server via the Internet module is set when described, and the time that the described time is provided with the described application server that module receives is set to the current time of gateway.
12. according to claim 9 or 10 described long distance service systems based on gateway, it is characterized in that, described data upload module comprises continuous instruction discrimination module and last transmission module, described application server also comprises the identification code parsing module, described identification code parsing module one end links to each other with described data processing module, one end links to each other with the described transmission module of going up with the wireless communication networks terminal by described the Internet, described instruction discrimination module respectively with described debug command receiver module, the abnormal data detection module links to each other with the General Routine Order receiver module, be used to distinguish the transmitting terminal of uploading data command that receives and will be sent to the described transmission module of going up with transmitting terminal corresponding identification sign indicating number, the described transmission module of going up together sends to described identification code parsing module with identification code and data unit operation, and described identification code parsing module is resolved identification code and data unit operation is sent to described data processing module.
13. according to claim 5 or 7 or 8 or 9 or 10 described long distance service systems based on gateway, it is characterized in that, described application server also comprises the break link module, described break link module is accepted user command and is stopped the data upload order by the Internet and wireless communication networks terminal to described data upload module transmission, after stopping the data upload order and sending successfully linking between described application server and the wireless communication networks terminal disconnected and notify linking between the described application server of described General Routine Order sending module and the wireless communication networks terminal to disconnect, described General Routine Order sending module is sent to described General Routine Order receiver module by wireless communication networks and described wireless communication networks terminal with daily monitor command, described data upload module notifies described wireless communication networks terminal to link described data processing module and described break link module before uploading service data, described wireless communication networks terminal notifies described data upload module to upload data after finishing link, described break link module is notified and is linked normally between the described application server of described General Routine Order sending module and the wireless communication networks terminal, and described General Routine Order sending module is sent to described General Routine Order receiver module by described wireless communication networks terminal with daily monitor command via the Internet.
14., it is characterized in that described wireless communication networks terminal is the GPRS terminal according to any described long distance service system of claim 1-10 based on gateway.
15. the remote service method based on gateway is characterized in that, may further comprise the steps:
The timing acquiring data unit operation judges that whether work as precondition satisfies the data processing condition, handles the data unit operation of gathering when satisfying.
16. the remote service method based on gateway according to claim 15 is characterized in that, described judgement specifically comprises when the process whether precondition satisfies the data processing condition:
Step 201. judges whether to receive daily monitor command, satisfies the data processing condition if then be judged to be;
Or
Step 202. judges whether to receive the debugging monitor command, satisfies the data processing condition if then be judged to be;
Or
Whether step 203. detects data unit operation and occurs unusually, satisfies the data processing condition if then be judged to be;
Or
Step 204. judges whether to receive the debugging monitor command or whether the detection data unit operation occurs unusually, satisfies the data processing condition if then be judged to be;
Or
Step 205. judges whether to receive daily monitor command or debugging monitor command, satisfies the data processing condition if then be judged to be;
Or
Step 206. judges whether to receive daily monitor command or whether the detection data unit operation occurs unusually, satisfies the data processing condition if then be judged to be;
Or
Whether step 207. judges whether to receive daily monitor command or debugging monitor command or detection data unit operation and occurs unusually, satisfies the data processing condition if then be judged to be.
17. the remote service method based on gateway according to claim 16 is characterized in that, comprises step before described step 201-207: judge whether to receive and stop the data upload order, carry out the arbitrary step among the 201-207 if not;
Or
Before described step 202-204, comprise step: judge whether to receive mask off command, carry out the arbitrary step among the 202-204 if not;
Or
Before described step 205-207, comprise step: judge whether to receive mask off command, then carry out the arbitrary step among the 205-207 if not, if then judge whether to receive daily monitor command, if then satisfy the data processing condition;
Or
Before described step 202-204, comprise step: judge whether to receive mask off command or stop the data upload order, carry out the arbitrary step among the 202-204 if not;
Or
Before described step 205-207, comprise step: judge whether to receive and stop the data upload monitor command, then judge whether to receive mask off command if not, then carry out the arbitrary step among the 205-207 if not, if then judge whether to receive daily monitor command, if then satisfy the data processing condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010190086.0A CN102263673B (en) | 2010-05-27 | 2010-05-27 | Remote service system and method based on gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010190086.0A CN102263673B (en) | 2010-05-27 | 2010-05-27 | Remote service system and method based on gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102263673A true CN102263673A (en) | 2011-11-30 |
CN102263673B CN102263673B (en) | 2014-12-31 |
Family
ID=45010142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010190086.0A Active CN102263673B (en) | 2010-05-27 | 2010-05-27 | Remote service system and method based on gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102263673B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104076752A (en) * | 2013-03-28 | 2014-10-01 | 珠海格力电器股份有限公司 | Monitoring method, device and equipment |
CN104678922A (en) * | 2013-12-02 | 2015-06-03 | 广东美的制冷设备有限公司 | Timing control method and system based on Internet of things |
CN105135615A (en) * | 2015-09-01 | 2015-12-09 | 珠海格力电器股份有限公司 | Debugging method and device of air conditioner |
CN106844552A (en) * | 2016-12-30 | 2017-06-13 | 深圳市酷浪云计算有限公司 | Realize the method and system of motion tracking data aggregate |
CN107040548A (en) * | 2017-06-08 | 2017-08-11 | 环球智达科技(北京)有限公司 | The monitoring method of terminal traffic state |
CN107181619A (en) * | 2017-06-08 | 2017-09-19 | 环球智达科技(北京)有限公司 | The monitoring system of service condition |
CN109257251A (en) * | 2018-09-06 | 2019-01-22 | 京信通信系统(中国)有限公司 | More board multimode heartbeat detecting methods, apparatus and system |
WO2019019283A1 (en) * | 2017-07-24 | 2019-01-31 | 深圳市盛路物联通讯技术有限公司 | Abnormality processing method and device for internet of things wireless access point |
CN110737515A (en) * | 2018-07-19 | 2020-01-31 | 阿里巴巴集团控股有限公司 | data task instruction processing method, computer device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1744545A (en) * | 2005-09-30 | 2006-03-08 | 浙江大学 | Domestic controlled network system and system chip for domestic appliance control chip |
CN1852195A (en) * | 2005-10-28 | 2006-10-25 | 华为技术有限公司 | Method for remote control of domestic network apparatus |
CN101075976A (en) * | 2006-05-18 | 2007-11-21 | 华为技术有限公司 | Method and system for providing household network equipment information |
-
2010
- 2010-05-27 CN CN201010190086.0A patent/CN102263673B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1744545A (en) * | 2005-09-30 | 2006-03-08 | 浙江大学 | Domestic controlled network system and system chip for domestic appliance control chip |
CN1852195A (en) * | 2005-10-28 | 2006-10-25 | 华为技术有限公司 | Method for remote control of domestic network apparatus |
CN101075976A (en) * | 2006-05-18 | 2007-11-21 | 华为技术有限公司 | Method and system for providing household network equipment information |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104076752A (en) * | 2013-03-28 | 2014-10-01 | 珠海格力电器股份有限公司 | Monitoring method, device and equipment |
CN104678922A (en) * | 2013-12-02 | 2015-06-03 | 广东美的制冷设备有限公司 | Timing control method and system based on Internet of things |
CN104678922B (en) * | 2013-12-02 | 2017-09-29 | 广东美的制冷设备有限公司 | Time control method and system based on Internet of Things |
CN105135615A (en) * | 2015-09-01 | 2015-12-09 | 珠海格力电器股份有限公司 | Debugging method and device of air conditioner |
CN105135615B (en) * | 2015-09-01 | 2019-02-05 | 珠海格力电器股份有限公司 | debugging method and device of air conditioner |
CN106844552A (en) * | 2016-12-30 | 2017-06-13 | 深圳市酷浪云计算有限公司 | Realize the method and system of motion tracking data aggregate |
CN107040548A (en) * | 2017-06-08 | 2017-08-11 | 环球智达科技(北京)有限公司 | The monitoring method of terminal traffic state |
CN107181619A (en) * | 2017-06-08 | 2017-09-19 | 环球智达科技(北京)有限公司 | The monitoring system of service condition |
WO2019019283A1 (en) * | 2017-07-24 | 2019-01-31 | 深圳市盛路物联通讯技术有限公司 | Abnormality processing method and device for internet of things wireless access point |
CN110737515A (en) * | 2018-07-19 | 2020-01-31 | 阿里巴巴集团控股有限公司 | data task instruction processing method, computer device and storage medium |
CN110737515B (en) * | 2018-07-19 | 2024-04-09 | 阿里巴巴集团控股有限公司 | Processing method of data task instruction, computer equipment and storage medium |
CN109257251A (en) * | 2018-09-06 | 2019-01-22 | 京信通信系统(中国)有限公司 | More board multimode heartbeat detecting methods, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN102263673B (en) | 2014-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102263673B (en) | Remote service system and method based on gateway | |
CN101369932A (en) | Data collection apparatus adopting double standby links and use method thereof | |
CN202817896U (en) | Feeder line automation system | |
CN102736601B (en) | Device data acquisition, treating apparatus and method and apparatus system for managing state | |
CN103728911A (en) | Early warning method and device for data monitoring | |
US20090003226A1 (en) | Network intermediary device with connection test packets | |
CN106375152A (en) | Method for processing communication abnormality of Client/Server (C/S) architecture | |
JP2006352387A (en) | Travel ticket service system, monitor device, and travel ticket service method used therefor | |
CN101938365B (en) | Fault handling method and device for Ethernet | |
CN102904758B (en) | Method for detecting communication failure of mine leakage communication network | |
CN101242574A (en) | GPRS wireless terminal system | |
CN101252470B (en) | Method for link self-loop test on IMA interface | |
CN112954641A (en) | Novel dual-channel wireless communication system, control method and control system | |
CN101841885A (en) | Method for constructing wireless sensor network for periodical data transmission | |
CN115086381B (en) | Label data acquisition method and device, acquisition equipment and label data acquisition system | |
CN113885420B (en) | Data acquisition control method for disconnecting link state monitoring device | |
CN102970174A (en) | Computer network based hazardous condition monitoring system and server | |
CN106713286A (en) | Electric power data transmission system based on multilevel authentication and suspected attack isolation | |
WO2015000229A1 (en) | Heartbeat model-based method for detecting communication state of large rectifying apparatus | |
CN201374821Y (en) | Monitoring system of base station transmission equipment | |
CN108234154A (en) | A kind of airborne exchange network equipment fault monitoring method | |
CN211127301U (en) | Intelligent substation secondary equipment operation and maintenance management and control system | |
CN101179440A (en) | Method and system of implementing distant early warning of communication system | |
CN102523157B (en) | Communication equipment, system and communication means | |
CN201270521Y (en) | Data collection apparatus using dual backup links |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |