CN107770756A - A kind of monitoring method, terminal, server, gateway device and system - Google Patents

A kind of monitoring method, terminal, server, gateway device and system Download PDF

Info

Publication number
CN107770756A
CN107770756A CN201711004690.8A CN201711004690A CN107770756A CN 107770756 A CN107770756 A CN 107770756A CN 201711004690 A CN201711004690 A CN 201711004690A CN 107770756 A CN107770756 A CN 107770756A
Authority
CN
China
Prior art keywords
monitoring
monitor task
server
mark
monitor
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.)
Pending
Application number
CN201711004690.8A
Other languages
Chinese (zh)
Inventor
程立新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201711004690.8A priority Critical patent/CN107770756A/en
Publication of CN107770756A publication Critical patent/CN107770756A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application proposes a kind of monitoring method,Terminal,Server,Gateway device and system,Monitoring solicited message is sent to server by M2M terminals,Wherein,The monitoring solicited message carries the information of monitor task,The monitor task comprises at least monitor terminal and monitor event,And monitor task can include the number of monitoring report,Monitor duration,Monitor the time started,Monitor the end time,The operation that the event of monitoring performs after occurring,And it can be identified by user's application or server according to these monitor tasks distribution monitoring,Monitor task is detected by bottom bearer network by gateway device and generates monitoring report,So that the implementation status of these monitor tasks can be understood quickly in manager,So that greatly reduce operation and the complexity of business platform and application,So that the design cycle of application is shorter,So as to greatly reduce construction cycle and maintenance cost.

Description

A kind of monitoring method, terminal, server, gateway device and system
Technical field
The present invention relates to the communications field, and in particular to a kind of monitoring method, terminal, server, gateway device and system.
Background technology
User terminal (the User of machine type communication (Machine Type Communication, MTC) Equipment, UE) (hereinafter referred to as MTC UE), also known as machine to machine (Machine to Machine, M2M) user Terminal, it is the main application form of Internet of Things at this stage.
At present, in M2M networks, numerous M2M terminals are included, being run in M2M terminals there are M2M applications to be connected to network Side business platform so that the manager of M2M applications can be performed to M2M terminal operating shapes by accessing the business platform of network side The monitoring of state, such as:Application manager to wonder some or certain several M2M terminals it is whether online, it is necessary to using or business Platform directly sends poll instruction to M2M terminals, if the feedback of M2M terminals can be normally received, illustrates M2M terminals still Online, if the feedback of M2M terminals can not received within a specified time, illustrate that the M2M terminals have broken.
But above-mentioned traditional M2M user terminals monitoring application scenarios, it is based entirely on the operation of operation layer or application layer Whether come what is realized, it is online to be only capable of providing simple M2M terminals, and whether it recovers the states such as connection, and can not provide more Complicated M2M monitor tasks.
The content of the invention
First aspect present invention provides a kind of monitoring method, applied to machine to machine M2M terminals, including:
Monitoring solicited message is sent to server, wherein, the monitoring solicited message carries the information of monitor task, institute State monitor task and comprise at least monitor terminal and monitor event;
Receive the response message that the server determines according to the monitoring solicited message.
As described above, the monitor task also includes at least one of:The number of monitoring report, monitoring duration, The operation that monitoring time started, monitoring end time, the event of monitoring perform after occurring.
As described above, also including user in the monitoring solicited message applies the monitoring mark distributed by the monitor task Know, and the mark of user's application and/or address.
As described above, the response message carries the instruction that refusal performs monitor task.
As described above, the response message carries monitoring mark of the server for monitor task distribution.
As described above, the response message carries the instruction for being properly received monitor task.
As described above, after the response message that the server determines according to the monitoring solicited message is received, also wrap Include:
The monitoring report that the server is sent is received, the monitoring report is that gateway device is detected by bottom bearer network What the monitor task was generated, wherein, the monitoring is comprised at least in the monitoring report and is identified.
As described above, after the response message that the server determines according to the monitoring solicited message is received, also wrap Include:
Send and stop monitoring solicited message to the server, wherein, the monitoring solicited message that stops includes the prison Control mark.
As described above, after the response message that the server determines according to the monitoring solicited message is received, also wrap Include:
Renewal monitoring solicited message is sent to the server, wherein, the renewal monitoring solicited message includes the prison The parameter for the monitor task that control mark and needs update.
Second aspect of the present invention provides a kind of monitoring method, applied to server, including:
The monitoring solicited message that M2M terminals are sent is received, wherein, the monitoring solicited message carries the letter of monitor task Breath, the monitor task comprise at least monitor terminal and monitor event;
Response message is determined according to the monitoring solicited message, the response message after determination is sent to the M2M terminals.
As described above, the monitor task also includes at least one of:The number of monitoring report, monitoring duration, The operation that monitoring time started, monitoring end time, the event of monitoring perform after occurring.
As described above, also including user in the monitoring solicited message applies the monitoring mark distributed by the monitor task Know, and the mark of user's application and/or address.
As described above, if it is determined that when can not perform monitor task in monitoring solicited message, then will carry refusal and hold The response message of the instruction of row monitor task is sent to the M2M terminals.
As described above, if it is determined that when being able to carry out monitoring monitor task in solicited message, then will carry server is The response message of the monitoring mark of the monitor task distribution is sent to the M2M terminals.
As described above, if it is determined that when being able to carry out monitoring monitor task in solicited message, then will carry and be properly received The response message of the instruction of monitor task is sent to the M2M terminals.
As described above, after the response message after by determination is sent to the M2M terminals, in addition to:
Send monitoring and perform request message to gateway device, wherein, the monitoring, which performs request message, includes the prison Control task and the monitoring mark;
Receive the gateway device and detect the monitoring report that the monitor task is generated, wherein, in the monitoring report Including the monitoring mark;
The monitoring report is sent to the M2M terminals.
As described above, after the response message after by determination is sent to the M2M terminals, in addition to:
The stopping monitoring solicited message that the M2M terminals are sent is received, wherein, the monitoring solicited message that stops includes institute State monitoring mark;
Stop monitoring solicited message transmission monitoring command for stopping to the gateway device according to described, wherein, the monitoring Command for stopping includes monitoring and identified.
As described above, after the response message after by determination is sent to the M2M terminals, in addition to:
The renewal monitoring solicited message that the M2M terminals are sent is received, wherein, the renewal monitoring solicited message includes institute State monitoring mark and need the parameter of monitor task updated;
The parameter of the monitoring mark and the monitor task for needing to update is sent to the gateway device.
Third aspect present invention provides a kind of monitoring method, applied to gateway device, including:
The monitoring that the reception server is sent performs request message, wherein, the monitoring performs request message and carries monitoring The information of task and monitoring mark, the monitor task comprise at least monitor terminal and monitor event;
The monitor task is detected by bottom bearer network and generates monitoring report, wherein, the monitoring report includes The monitoring mark;
The monitoring report is sent to the server.
As described above, the monitor task also includes at least one of:The number of monitoring report, monitoring duration, The operation that monitoring time started, monitoring end time, the event of monitoring perform after occurring.
As described above, also include:
The monitoring command for stopping that the server is sent according to monitoring solicited message is stopped is received, wherein, the monitoring is eventually Only instruction includes monitoring mark;
Monitor task corresponding to being identified with the monitoring received locally whether is preserved by the inspection of bottom bearer network, such as Fruit has, then deletes the monitor task related with monitoring mark;If it is not, sending monitoring terminates refuse information to the service Device.
As described above, also include:
The parameter for receiving monitoring mark and the monitor task for needing to update is sent to gateway device.
Monitor task corresponding to being identified with the monitoring received locally whether is preserved by the inspection of bottom bearer network, such as Fruit has, then the parameter of the monitor task updated as needed updates the parameter of the monitor task locally preserved;If it is not, hair Renewal monitoring refuse information is sent to the server.
As described above, the monitoring mark is distributed by user's application or server according to the monitor task.
Fourth aspect present invention provides a kind of machine to machine M2M terminals, including:Sending module and receiving module;
The sending module, for sending monitoring solicited message to server, wherein, the monitoring solicited message carries The information of monitor task, the monitor task comprise at least monitor terminal and monitor event;
The receiving module, the response message determined for receiving the server according to the monitoring solicited message.
As described above, the monitor task also includes at least one of:The number of monitoring report, monitoring duration, The operation that monitoring time started, monitoring end time, the event of monitoring perform after occurring.
As described above, also include distribute module;The distribute module is applied for user and distributed by the monitor task Monitoring mark;
Also include the monitoring in the monitoring solicited message to identify, and the mark of user's application and/or address.
As described above, the response message carries the instruction that refusal performs monitor task.
As described above, the response message carries monitoring mark of the server for monitor task distribution.
As described above, the response message carries the instruction for being properly received monitor task.
As described above, the receiving module is additionally operable to receive the monitoring report that the server is sent, the monitoring report It is that gateway device is generated when detecting the monitor task by bottom bearer network, wherein, at least wrapped in the monitoring report Include the monitoring mark.
Disappeared as described above, receiving the server in the receiving module according to the response of the monitoring solicited message determination After breath, the sending module, which is additionally operable to send, stops monitoring solicited message to the server, wherein, the stopping monitoring please Ask information to include the monitoring to identify.
Disappeared as described above, receiving the server in the receiving module according to the response of the monitoring solicited message determination After breath, the sending module is additionally operable to send renewal monitoring solicited message to the server, wherein, the renewal monitoring please Ask information to include the monitoring mark and need the parameter of monitor task updated.
Fifth aspect present invention provides a kind of server, including receiving module and sending module;
The receiving module is used for the monitoring solicited message for receiving the transmission of machine to machine M2M terminals, wherein, the monitoring Solicited message carries the information of monitor task, and the monitor task comprises at least monitor terminal and monitor event;
The sending module is used to determine response message according to the monitoring solicited message, and the response message after determination is sent out Give the M2M terminals.
As described above, also include judge module;
The judge module is used to determine whether that the monitor task in monitoring solicited message can be performed;
Wherein, the monitor task also includes at least one of:The number of monitoring report, monitoring duration, monitoring The operation that time started, monitoring end time, the event of monitoring perform after occurring.
As described above, also including user in the monitoring solicited message applies the monitoring mark distributed by the monitor task Know, and the mark of user's application and/or address.
If as described above, the judge module determine can not perform monitoring solicited message in monitor task when, it is described Sending module is additionally operable to the response message for carrying the instruction that refusal performs monitor task being sent to the M2M terminals.
As described above, also include distribute module;
If the judge module is determined to perform monitor task in monitoring solicited message, the distribute module is used for Corresponding monitoring mark is distributed for the monitor task;
The sending module is additionally operable to the response message for carrying the monitoring mark being sent to the M2M terminals.
If as described above, the judge module be determined to perform monitoring solicited message in monitor task when, the hair Module is sent to be additionally operable to the response message for carrying the instruction for being properly received monitor task being sent to the M2M terminals.
As described above, after the response message after determination is sent to the M2M terminals by sending module, in addition to:
The sending module is additionally operable to send monitoring execution request message to gateway device, wherein, the monitoring performs please Message is asked to include the monitor task and the monitoring mark;By the monitoring report that received gateway device is sent to institute State M2M terminals.
The receiving module is additionally operable to receive the monitoring report that the gateway device detection monitor task is generated, its In, the monitoring report includes the monitoring mark.
As described above, after the response message after determination is sent to the M2M terminals by sending module, in addition to:Institute Receiving module is stated to be additionally operable to receive the stopping monitoring solicited message that the M2M terminals are sent, wherein, it is described to stop monitoring request letter Breath includes the monitoring mark;
The sending module is additionally operable to stop monitoring solicited message transmission monitoring command for stopping to the gateway according to described Equipment, wherein, the monitoring command for stopping includes monitoring and identified.
As described above, after the response message after determination is sent to the M2M terminals by sending module, in addition to:Institute Receiving module is stated to be additionally operable to receive the renewal monitoring solicited message that the M2M terminals are sent, wherein, the renewal monitoring request letter Breath includes the parameter for the monitor task that the monitoring identifies and needs update;
The sending module is additionally operable to send the parameter of the monitoring mark and the monitor task for needing to update to the net Close equipment.
Sixth aspect present invention provides a kind of gateway device, including:Receiving module, detection module and sending module;
The receiving module is used for the monitoring that the reception server is sent and performs request message, wherein, the monitoring performs please Message is asked to carry the information of monitor task and monitoring mark, the monitor task comprises at least monitor terminal and monitor event;
The detection module is used to detect the monitor task generation monitoring report by bottom bearer network, wherein, institute Stating monitoring report includes the monitoring mark;
The sending module is used to send the monitoring report to the server.
As described above, also include execution module;
The execution module is used to perform the deletion of the monitor task and/or the renewal of parameter;Wherein,
The monitor task also includes at least one of:When the number of monitoring report, monitoring duration, monitoring start Between, monitoring end time, the event of monitoring occur after the operation that performs.
As described above, the receiving module is additionally operable to receive the prison that the server is sent according to monitoring solicited message is stopped Command for stopping is controlled, wherein, the monitoring command for stopping includes monitoring and identified;
The detection module is additionally operable to locally whether preserve the monitoring mark with being received by the inspection of bottom bearer network Monitor task corresponding to knowledge;
If so, the execution module is used to delete the monitor task related with monitoring mark;
If not provided, the sending module is additionally operable to send monitoring termination refuse information to the server.
As described above, also include:
The receiving module is additionally operable to receive the monitor task that the monitoring mark that the server sends and needing updates Parameter.
The detection module is additionally operable to locally whether preserve the monitoring mark with receiving by the inspection of bottom bearer network Monitor task corresponding to knowledge;
If so, the execution module is additionally operable to the prison that the parameter renewal of the monitor task updated as needed locally preserves The parameter of control task;
If it is not, the sending module is additionally operable to send renewal monitoring refuse information to the server.
As described above, the monitoring mark is distributed by user's application or server according to the monitor task.
Seventh aspect present invention provides a kind of system, and the system includes any of the above-described M2M terminals, service described above Gateway device described in device and any of the above-described.
Compared to the prior art the present invention, has the advantages that:
Technical scheme, monitoring solicited message is sent to server by M2M terminals, wherein, the monitoring please Information is asked to carry the information of monitor task, the monitor task comprises at least monitor terminal and monitor event, and monitors and appoint Business can include the number of monitoring report, monitoring duration, monitoring time started, monitoring end time, the event hair of monitoring The operation performed after life, and can be identified by user's application or server according to these monitor tasks distribution monitoring, Monitor task is detected by bottom bearer network by gateway device and generates monitoring report, so that manager can be understood quickly The implementation status of these monitor tasks so that greatly reduce operation and the complexity of business platform and application so that application Design cycle is shorter, so as to greatly reduce construction cycle and maintenance cost.
Brief description of the drawings
Fig. 1 is the method flow diagram that a kind of monitoring method provided in an embodiment of the present invention is applied to M2M terminals;
Fig. 2 is the method flow diagram that a kind of monitoring method provided in an embodiment of the present invention is applied to server;
Fig. 3 is the method flow diagram that a kind of monitoring method provided in an embodiment of the present invention is applied to gateway device;
Fig. 4 is a kind of structure chart of machine to machine terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of structure chart of server provided in an embodiment of the present invention;
Fig. 6 is a kind of structure chart of gateway device provided in an embodiment of the present invention.
Embodiment
To make the goal of the invention of the present invention, technical scheme and beneficial effect of greater clarity, below in conjunction with the accompanying drawings to this The embodiment of invention is illustrated, it is necessary to illustrate, in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
User terminal (the User of machine type communication (Machine Type Communication, MTC) Equipment, UE) (hereinafter referred to as MTC UE), also known as machine to machine (Machine to Machine, M2M) user Terminal, it is the main application form of Internet of Things at this stage.
In M2M networks, include numerous M2M terminals, being run in M2M terminals has M2M applications or business platform, meeting By bottom bearer network, for example, GSM, WCDMA, Wifi etc., the server of network side traffic platform is connected to, wherein, will M2M application or business platform are referred to as user's application, and the M2M terminals connected by bottom bearer network, bottom bearer network is to connection Terminal to its network more can directly perceive whether it online faster, and whether it recovers to connect.
In the present invention, can be by entering different from the interface protocol inside bearer network between meeting and user's application in server Row interaction, the server carry out protocol conversion to the information received, and the business to needing bearer network to perform is managed, Bottom bearer network is additionally provided with special gateway device and detected come the event monitored to needs simultaneously, such as MME, SGSN Deng, it is contemplated that multiple network element coordinated manipulations may be needed to the execution of monitoring in bearer network, the gateway device may include one Or multiple carrying network elements.
Fig. 1 is the method flow diagram that a kind of monitoring method provided in an embodiment of the present invention is applied to M2M terminals;Such as Fig. 1 institutes To show, the embodiment of the present invention provides a kind of monitoring method, applied to machine to machine M2M terminals, including:
S101, monitoring solicited message is sent to server, wherein, the monitoring solicited message carries the letter of monitor task Breath, the monitor task comprise at least monitor terminal and monitor event;
S102, receive the response message that the server determines according to the monitoring solicited message.
Specifically, the user of M2M terminals applies sends monitoring request message to server by bottom bearer network, its In, the information of monitor task is carried in the monitoring request message, the monitor task includes following parameter:
Monitored terminal, the event that need to be monitored, wherein, for monitor event, the manager that can be applied according to user Demand definition is provided to specific monitor event, generally comprise the title of event, and related parameter.Such as:
Monitor event A:Monitor position
{
Legal position coordinate;
}
Can also be in advance by, by interaction, event being determined between user's application and service device or user's application and gateway device Adopted list is sent to server, or gateway device in advance.
The above-mentioned monitoring that server can be sent according to the user of M2M terminals application is asked, it is determined whether can perform the prison Control task, and the result that the monitoring after determination is asked is sent to M2M terminals by response message.
The response message is probably to carry the successful instruction for being able to carry out the monitor task, it is also possible to carries refusal Perform the refusal instruction of the monitor task, it is also possible to carry and mark is monitored described in monitor task described in server-assignment Response message, specifically, the response message is to judge whether the result that can perform is sent monitor task according to server Response message, but it is not limited to this.
The embodiment of the present invention provides a kind of monitoring method, and applied to M2M terminals, the M2M terminal to server sends monitoring Request message, include in the monitoring request message monitor terminal, monitor event monitor task information, enabling provide Whether more monitoring services, such as M2M terminals move out known scope, the device number of M2M terminals and whether not to enter network interface card Matching etc., it can greatly reduce operation and the complexity of business platform and application so that the design cycle of application is shorter, so as to Construction cycle and maintenance cost can be greatly reduced.
Further, the monitor task also includes at least one of:The number of monitoring report, monitoring duration, The operation that monitoring time started, monitoring end time, the event of monitoring perform after occurring.
Specifically, the user of M2M terminals applies sends monitoring request message to server by bottom bearer network, its In, the monitoring request message includes monitor task, and monitor task can also include following parameter:
1) monitored M2M terminals, the event that need to be monitored, the number of monitoring report;
Or,
2) monitored M2M terminals, the event that need to be monitored, duration is monitored;
Or,
3) monitored M2M terminals, the event that need to be monitored, the time started is monitored, monitors the end time;
Or,
4) monitored M2M terminals, the event that need to be monitored, the time started is monitored, monitors duration;
Or,
5) monitored M2M terminals, the event that need to be monitored, event need the operation performed after occurring.
But above-mentioned monitor task is not limited to, specifically can be according to the demand of manager come the task of default monitoring.
Alternatively, also include user in the monitoring solicited message and apply the monitoring mark distributed by the monitor task Know, and the mark of user's application and/or address.
Specifically, M2M terminals can also include user and apply as the monitoring times when sending monitoring solicited message The distributed monitoring mark of business, and the content such as the mark of user's application and/or address, the monitoring are identified for identifying a prison Control task, the parameter of the monitor task is with reference to described above.
Optionally, the response message carries the instruction that refusal performs monitor task.
Specifically, when server confirms to perform the monitor task in monitoring solicited message, then M2M terminals can receive Refusal performs the instruction of monitor task.
Optionally, the response message carries the instruction for being properly received monitor task.
Specifically, the monitoring by user's application distribution monitor task identifies, when server confirms that the monitoring can be performed During task, then M2M terminals can receive the instruction for being properly received monitor task.
Alternatively, the response message carries monitoring mark of the server for monitor task distribution.
Can be monitor task distribution monitoring specifically, if the server determine that when can perform the monitor task Mark, M2M terminals can receive the response message for carrying monitoring mark.
Further, after the response message that the server determines according to the monitoring solicited message is received, also wrap Include:
The monitoring report that the server is sent is received, the monitoring report is that gateway device is detected by bottom bearer network Generated during the monitor task, wherein, the monitoring is comprised at least in the monitoring report and is identified.
Specifically, when server determines that the monitor task can be performed, the server is received according to institute in M2M terminals After stating the response message that monitoring solicited message determines, the execution monitoring instruction including the monitor task is sent to net by server Equipment is closed, wherein including monitoring mark.
Gateway device preserves monitor task.
After the event that need to be monitored is detected, gateway device sends monitoring report to server, wherein including monitoring mark.
Server is sent to user's application after monitoring report is received, by monitoring report.
Further, M2M terminals the response message for receiving the server and being determined according to the monitoring solicited message it Afterwards, stopping monitoring solicited message can also be sent to the server, wherein, the monitoring solicited message that stops includes the monitoring Mark.
If specifically, M2M terminals need stop monitoring, can by user application send stop monitoring solicited message to Server, wherein, the monitoring solicited message that stops includes the monitoring mark.
After gateway device receives monitoring command for stopping, check that local whether preserve identifies correlation with the monitoring received The monitor task of connection,
If so, then delete the monitor task related with monitoring mark.
If it is not, sending monitoring terminates refuse information to server.
Further, M2M terminals the response message for receiving the server and being determined according to the monitoring solicited message it Afterwards, renewal monitoring solicited message can also be sent to the server, wherein, the renewal monitoring solicited message includes the monitoring The parameter for the monitor task that mark and needs update.
Specifically, if M2M terminals need to stop monitoring, monitoring solicited message can be updated by user's application to described Server, the renewal monitoring solicited message include the monitoring mark and need the parameter of monitor task updated.
Monitoring mark is used to indicate to need to update the parameter of which monitor task, it is necessary to the parameter of the monitor task of renewal It can include following one or more:
1) monitor event (monitor event for updating the corresponding monitor task of monitoring mark);
2) number (number for updating the monitoring report of the corresponding monitor task of monitoring mark) of monitoring report;
3) monitor duration (monitoring for updating the corresponding monitor task of monitoring mark continues);
4) time started (the monitoring time started for updating the corresponding monitor task of monitoring mark) is monitored;
5) end time (the monitoring end time for updating the corresponding monitor task of monitoring mark) is monitored;
6) operation that event needs to perform after occurring (needs to perform after updating the event generation of the corresponding monitor task of monitoring mark Operation);
7) monitored terminal;
After server receives renewal monitoring request message, the parameter for monitoring mark and the monitor task for needing to update is sent out Give gateway device.
After gateway device receives renewal monitoring request message, the local monitoring mark whether preserved with receiving is checked Corresponding monitor task,
If so, the parameter for the monitor task that the parameter renewal of the monitor task then updated as needed locally preserves;
If it is not, renewal monitoring refuse information is sent to server.
The present embodiment M2M terminals send monitoring solicited message to server, wherein, the monitoring solicited message carries prison The information of control task, the monitor task comprises at least monitor terminal and monitor event, and monitor task can include monitoring The operation that the number of report, monitoring duration, monitoring time started, monitoring end time, the event of monitoring perform after occurring, And can be identified by user's application or server according to these monitor tasks distribution monitoring, so that manager can So that the implementation status of these monitor tasks is understood quickly so that greatly reduce operation and the complexity of business platform and application Degree so that the design cycle of application is shorter, so as to greatly reduce construction cycle and maintenance cost.
Fig. 2 is the method flow diagram that a kind of monitoring method provided in an embodiment of the present invention is applied to server, such as Fig. 2 institutes Show, the embodiment of the present invention provides a kind of monitoring method, and applied to server, this method includes:
S201, the monitoring solicited message that M2M terminals are sent is received, wherein, the monitoring solicited message carries monitoring and appointed The information of business, the monitor task comprise at least monitor terminal and monitor event;
S202, according to it is described monitoring solicited message determine response message, the response message after determination is sent to the M2M Terminal.
Specifically, user's application of M2M terminals sends monitoring request message to server, appoint in request message comprising monitoring Business, monitor task include following parameter:Monitored terminal, the event that need to be monitored.
After server receives monitoring request message, the user for sending response message to M2M terminals applies.
If server confirms that the monitor task can be performed, monitoring mark is distributed for the monitor task, and be included in In response message.
Monitoring mark is used to identify a monitor task.
If server confirms that the monitor task can not be performed, instruction refusal performs monitor task in the response message.
Further, the monitor task also includes at least one of:The number of monitoring report, monitoring duration, The operation that monitoring time started, monitoring end time, the event of monitoring perform after occurring.
Specifically, the monitor task can also include following parameter:
1) monitored terminal, the event that need to be monitored;
Or,
2) monitored terminal, the event that need to be monitored, the number of monitoring report;
Or,
3) monitored terminal, the event that need to be monitored, duration is monitored;
Or,
4) monitored terminal, the event that need to be monitored, the time started is monitored, monitors the end time;
Or,
5) monitored terminal, the event that need to be monitored, the time started is monitored, monitors duration;
Or,
6) monitored terminal, the event that need to be monitored, event need the operation performed after occurring;
Optionally, also include also including user to apply in the monitoring solicited message being described in the monitoring solicited message The monitoring mark that monitor task is distributed, and the mark of user's application and/or address.
Specifically, user's application sends monitoring request message to server, should also including user in the monitoring solicited message Identified with the monitoring distributed for the monitor task, and the mark of user's application and/or address, the monitoring are identified for identifying One monitor task, the parameter that the monitor task includes can be as described above.
Further, if it is determined that when can not perform monitor task in monitoring solicited message, then will carry refusal and hold The response message of the instruction of row monitor task is sent to the M2M terminals.
Specifically, if server confirms that the monitor task can not be performed, instruction refusal performs prison in the response message Control task.
Further, if it is determined that when being able to carry out monitoring monitor task in solicited message, then will carry and be properly received The response message of the instruction of monitor task is sent to the M2M terminals.
Specifically, if server confirms that the monitor task can be performed, instruction in the response message is properly received prison Control task.
Alternatively, if it is determined that when being able to carry out monitoring monitor task in solicited message, then server will be carried as institute The response message for stating the monitoring mark of monitor task distribution is sent to the M2M terminals.
Specifically, if server confirms that the monitor task can be performed, monitoring mark is distributed for the monitor task, and Comprising in the response message.
Monitoring mark is used to identify a monitor task.
Further, after the response message after by determination is sent to the M2M terminals, in addition to:
Send monitoring and perform request message to gateway device, wherein, the monitoring, which performs request message, includes the prison Mark is monitored described in control task;
The monitoring report that the gateway device is generated by the bottom bearer network detection monitor task is received, wherein, The monitoring is comprised at least in the monitoring report to identify;
The monitoring report is sent to the M2M terminals.
Specifically, monitor task is sent to gateway device by server, wherein comprising monitoring mark, gateway device preserves prison Control task, after the event that need to be monitored is detected, gateway device sends monitoring report to server, wherein identified comprising monitoring, Server is sent to user's application after monitoring report is received, by monitoring report.
Further, after the response message after by determination is sent to the M2M terminals, server receives the M2M The stopping monitoring solicited message that terminal is sent, wherein, the monitoring solicited message that stops identifies including the monitoring;
Stop monitoring solicited message transmission monitoring command for stopping to the gateway device according to described, wherein, the monitoring Command for stopping includes monitoring and identified.
Specifically, user's application, which can also send monitoring, stops request message to server, monitoring is included in request message Mark;
After server receives monitoring stopping request message, monitoring termination messages are sent to gateway device, wherein including prison Control mark.
After gateway device receives monitoring command for stopping, check that local whether preserve identifies correlation with the monitoring received The monitor task of connection,
If so, then delete the monitor task related with monitoring mark.
If it is not, sending monitoring terminates refuse information to server.
Further, after the response message after by determination is sent to the M2M terminals, server receives the M2M The renewal monitoring solicited message that terminal is sent, wherein, the renewal monitoring solicited message includes the monitoring mark and needed more The parameter of new monitor task;
The parameter of the monitoring mark and the monitor task for needing to update is sent to the gateway device.
Specifically, user's application can also send renewal monitoring request message to server, monitoring is included in request message The parameter for the monitor task that mark and needs update, monitoring mark are used to indicate to need to update the parameter of which monitor task, The parameter for the monitor task for needing to update can include following one or more:
1) monitor event (monitor event for updating the corresponding monitor task of monitoring mark);
2) number (number for updating the monitoring report of the corresponding monitor task of monitoring mark) of monitoring report;
3) monitor duration (monitoring for updating the corresponding monitor task of monitoring mark continues);
4) time started (the monitoring time started for updating the corresponding monitor task of monitoring mark) is monitored;
5) end time (the monitoring end time for updating the corresponding monitor task of monitoring mark) is monitored;
6) operation that event needs to perform after occurring (needs to perform after updating the event generation of the corresponding monitor task of monitoring mark Operation);
7) monitored terminal;
After server receives renewal monitoring request message, the parameter for monitoring mark and the monitor task for needing to update is sent out Give gateway device.
After gateway device receives renewal monitoring request message, the local monitoring mark whether preserved with receiving is checked Corresponding monitor task,
If so, the parameter for the monitor task that the parameter renewal of the monitor task then updated as needed locally preserves;
If it is not, renewal monitoring refuse information is sent to server.
The present embodiment server receives M2M terminals and sends monitoring solicited message to server, wherein, the monitoring request letter Breath carries the information of monitor task, and the monitor task comprises at least monitor terminal and monitor event, and monitor task can After being occurred with the event of the number including monitoring report, monitoring duration, monitoring time started, monitoring end time, monitoring The operation of execution, and can be identified by user's application or server according to these monitor tasks distribution monitoring, so as to Allow manager that the implementation status of these monitor tasks is understood quickly so that greatly to reduce business platform and application Operation and complexity so that the design cycle of application is shorter, so as to greatly reduce construction cycle and maintenance cost.
Fig. 3 is the method flow diagram that a kind of monitoring method provided in an embodiment of the present invention is applied to gateway device;Such as Fig. 3 institutes Show, the embodiment of the present invention provides a kind of monitoring method, and applied to gateway device, this method includes:
The monitoring that S301, the reception server are sent performs request message, wherein, the monitoring performs request message and carried The information of monitor task and monitoring mark, the monitor task comprise at least monitor terminal and monitor event;
S302, the monitor task is detected by bottom bearer network generate monitoring report, wherein, in the monitoring report Including the monitoring mark;
S303, the monitoring report is sent to the server.
Specifically, monitor task is sent to gateway device by server, wherein including monitoring mark.
Gateway device preserves monitor task.
After the event that need to be monitored is detected, gateway device sends monitoring report to server, wherein including monitoring mark.
Server is sent to user's application after monitoring report is received, by monitoring report.
Further, the monitor task also includes at least one of:The number of monitoring report, monitoring duration, The operation that monitoring time started, monitoring end time, the event of monitoring perform after occurring.
Specifically, monitor task includes following parameter:
1) monitored terminal, the event that need to be monitored;
Or,
2) monitored terminal, the event that need to be monitored, the number of monitoring report;
Or,
3) monitored terminal, the event that need to be monitored, duration is monitored;
Or,
4) monitored terminal, the event that need to be monitored, the time started is monitored, monitors the end time;
Or,
5) monitored terminal, the event that need to be monitored, the time started is monitored, monitors duration;
Or,
6) monitored terminal, the event that need to be monitored, event need the operation performed after occurring;
Further, this method also includes:Receive the monitoring end that the server is sent according to monitoring solicited message is stopped Only instruct, wherein, the monitoring command for stopping includes monitoring and identified;
Monitor task corresponding to being identified with the monitoring received locally whether is preserved by the inspection of bottom bearer network, such as Fruit has, then deletes the monitor task related with monitoring mark;If it is not, sending monitoring terminates refuse information to the service Device.
Specifically, user's application, which can also send monitoring, stops request message to server, monitoring is included in request message Mark;
After server receives monitoring stopping request message, monitoring termination messages are sent to gateway device, wherein including prison Control mark.
After gateway device receives monitoring command for stopping, check that local whether preserve identifies correlation with the monitoring received The monitor task of connection,
If so, then delete the monitor task related with monitoring mark.
If it is not, sending monitoring terminates refuse information to server.
Further, this method also includes:The monitoring for receiving the server monitoring mark sent and needing to update is appointed The parameter of business.
Monitor task corresponding to being identified with the monitoring received locally whether is preserved by the inspection of bottom bearer network, such as Fruit has, then the parameter of the monitor task updated as needed updates the parameter of the monitor task locally preserved;If it is not, hair Renewal monitoring refuse information is sent to the server.
Specifically, user's application can also send renewal monitoring request message to server, monitoring is included in request message The parameter for the monitor task that mark and needs update, monitoring mark are used to indicate to need to update the parameter of which monitor task, The parameter for the monitor task for needing to update can include following one or more:
1) monitor event (monitor event for updating the corresponding monitor task of monitoring mark);
2) number (number for updating the monitoring report of the corresponding monitor task of monitoring mark) of monitoring report;
3) monitor duration (monitoring for updating the corresponding monitor task of monitoring mark continues);
4) time started (the monitoring time started for updating the corresponding monitor task of monitoring mark) is monitored;
5) end time (the monitoring end time for updating the corresponding monitor task of monitoring mark) is monitored;
6) operation that event needs to perform after occurring (needs to perform after updating the event generation of the corresponding monitor task of monitoring mark Operation);
7) monitored terminal;
After server receives renewal monitoring request message, the parameter for monitoring mark and the monitor task for needing to update is sent out Give gateway device.
After gateway device receives renewal monitoring request message, the local monitoring mark whether preserved with receiving is checked Corresponding monitor task,
If so, the parameter for the monitor task that the parameter renewal of the monitor task then updated as needed locally preserves;
If it is not, renewal monitoring refuse information is sent to server.
Further, monitoring mark is applied by user described in the monitor task or server is according to the monitor task Distributed.
Specifically, above-mentioned monitoring mark is to be supervised by user's application or server according to corresponding to distributing the monitor task Control mark.
The monitoring that the present embodiment gateway device is sent using bottom bearer network the reception server performs solicited message, its In, wherein, the monitoring solicited message carries the information of monitor task, and the monitor task comprises at least monitor terminal and prison Control event, and the monitor task can also include the number of monitoring report, monitoring duration, monitoring time started, monitoring The operation that end time, the event of monitoring perform after occurring, by user's application or server come according to these monitor tasks point With corresponding monitoring mark, gateway device performs generation monitoring report by monitor task and monitoring mark to carry out detection, from And allow manager that the implementation status of these monitor tasks is understood quickly, it greatly reducing business platform and application Operation and complexity so that the design cycle of application is shorter, so as to greatly reduce construction cycle and maintenance cost.
Fig. 4 is a kind of structure chart of machine to machine terminal provided in an embodiment of the present invention;As shown in figure 4, the present invention is real Apply example and a kind of machine to machine terminal M2M is provided, the terminal includes:Sending module 10 and receiving module 20;
The sending module 10, for sending monitoring solicited message to server, wherein, the monitoring solicited message carries There is the information of monitor task, the monitor task comprises at least monitor terminal and monitor event;
The receiving module 20, the response message determined for receiving the server according to the monitoring solicited message.
Further, the monitor task also includes at least one of:The number of monitoring report, monitoring duration, The operation that monitoring time started, monitoring end time, the event of monitoring perform after occurring.
Further, the M2M terminals also include distribute module 30;It is the prison that the distribute module 30, which is used to user apply, The monitoring mark that control task is distributed;
It is that the monitoring is appointed also to include also including user in the monitoring solicited message to apply in the monitoring solicited message The distributed monitoring mark of business, and the mark of user's application and/or address.
Further, the response message carries the instruction that refusal performs monitor task.
Further, the response message carries monitoring mark of the server for monitor task distribution.
Further, the response message carries the instruction for being properly received monitor task.
Further, the receiving module 20 is used to receive what the server determined according to the monitoring solicited message After response message, it is additionally operable to receive the monitoring report that the server is generated according to the gateway device detection monitor task Accuse, wherein, monitoring mark is comprised at least in the monitoring report.
Further, response of the server according to the monitoring solicited message determination is received in the receiving module 20 After message, the sending module 10, which is additionally operable to send, stops monitoring solicited message to the server, wherein, it is described to stop prison Controlling solicited message includes the monitoring mark.
Further, response of the server according to the monitoring solicited message determination is received in the receiving module 20 After message, the sending module 10 is additionally operable to send renewal monitoring solicited message to the server, wherein, the renewal prison Control solicited message includes the monitoring mark and needs the parameter of monitor task updated.
Fig. 5 is a kind of structure chart of server provided in an embodiment of the present invention;As shown in figure 5, the embodiment of the present invention provides A kind of server, the server include:Receiving module 40 and sending module 50;
The receiving module 40 is used to receive the monitoring solicited message that machine to machine M2M terminals are sent, wherein, institute The information that monitoring solicited message carries monitor task is stated, the monitor task comprises at least monitor terminal and monitor event;
The sending module 50 is used to determine response message according to the monitoring solicited message, by the response message after determination It is sent to the M2M terminals.
Further, the server also includes judge module 60;
The judge module 60 is used to determine whether that the monitor task in monitoring solicited message can be performed;Wherein, it is described Monitor task also includes at least one of:The number of monitoring report, monitoring duration, monitoring time started, monitoring terminate The operation that time, the event of monitoring perform after occurring.
Further, also include in the monitoring solicited message also includes user in the monitoring solicited message applies as institute State the monitoring mark that monitor task is distributed, and the mark of user's application and/or address.
Further, if the judge module 60 determines to perform monitor task in monitoring solicited message, institute Sending module 50 is stated to be additionally operable to the response message for carrying the instruction that refusal performs monitor task being sent to the M2M terminals.
Further, the server also includes distribute module 70;If the judge module 60 is determined to perform monitoring In solicited message during monitor task, the distribute module is used for for monitoring mark corresponding to monitor task distribution;The hair Module 50 is sent to be additionally operable to the response message for carrying the monitoring mark being sent to the M2M terminals.
Further, it is described if the judge module 60 is determined to perform monitor task in monitoring solicited message Sending module 50 is additionally operable to the response message for carrying the instruction for being properly received monitor task being sent to the M2M terminals.
Further, after the response message after by determination is sent to the M2M terminals, in addition to:
The sending module 50 is additionally operable to send monitoring execution request message to gateway device, wherein, the monitoring performs Request message includes the monitor task and the monitoring mark;By the monitoring report that received gateway device is sent to The M2M terminals.
The receiving module 40 is additionally operable to receive the monitoring report that the gateway device detection monitor task is generated, Wherein, the monitoring report includes the monitoring mark.
Further, after the response message after determination is sent to the M2M terminals by sending module 50, in addition to: The receiving module 40 is additionally operable to receive the stopping monitoring solicited message that the M2M terminals are sent, wherein, the stopping monitoring please Ask information to include the monitoring to identify;
The sending module 50 is additionally operable to stop monitoring solicited message transmission monitoring command for stopping to the net according to described Equipment is closed, wherein, the monitoring command for stopping includes monitoring and identified.
Further, after the response message after determination is sent to the M2M terminals by sending module 50, in addition to: The receiving module 40 is additionally operable to receive the renewal monitoring solicited message that the M2M terminals are sent, wherein, the renewal monitoring please Ask information to include the monitoring mark and need the parameter of monitor task updated;
The sending module 50 is additionally operable to send the parameter of the monitoring mark and the monitor task for needing to update to described Gateway device.
Fig. 6 is a kind of structure chart of gateway device provided in an embodiment of the present invention, as shown in fig. 6, the embodiment of the present invention carries For a kind of gateway device, the gateway device includes:Receiving module 80, detection module 90 and sending module 100;
The receiving module 80 is used for the monitoring that the reception server is sent and performs request message, wherein, the monitoring performs Request message carries the information of monitor task and monitoring mark, and the monitor task comprises at least monitor terminal and monitoring thing Part;
The detection module 90 is used to detect the monitor task generation monitoring report by bottom bearer network, wherein, The monitoring report includes the monitoring mark;
The sending module 100 is used to send the monitoring report to the server.
Further, the gateway device also includes execution module 200;The execution module is used to perform the monitor task Deletion and/or parameter renewal;Wherein, the monitor task also includes at least one of:The number of monitoring report, monitoring The operation that duration, monitoring time started, monitoring end time, the event of monitoring perform after occurring.
Further, the receiving module 80 is additionally operable to receive what the server was sent according to stopping monitoring solicited message Command for stopping is monitored, wherein, the monitoring command for stopping includes monitoring and identified;
The detection module 90 is additionally operable to locally whether preserve the monitoring with being received by the inspection of bottom bearer network Monitor task corresponding to mark;
If so, the execution module 200 is used to delete the monitor task related with monitoring mark;
If not provided, the sending module 100 is additionally operable to send monitoring termination refuse information to the server.
Further, the receiving module 80 is additionally operable to receive the monitoring mark of the server transmission and needs what is updated The parameter of monitor task.
The detection module 90 is additionally operable to locally whether preserve the monitoring with receiving by the inspection of bottom bearer network Monitor task corresponding to mark;
If so, the execution module 200 is additionally operable to the local preservation of parameter renewal of the monitor task updated as needed Monitor task parameter;
If not provided, the sending module 100 is additionally operable to send renewal monitoring refuse information to the server.
Further, the monitoring mark is distributed by user's application or server according to the monitor task.
The embodiment of the present invention provides a kind of monitoring system, including:Any of the above-described M2M terminals, any of the above-described server And any of the above-described gateway device.
Embodiment one:
The embodiment of the present invention one provides a kind of machine to machine terminal monitoring system, and the system includes one or more M2M terminals, server and gateway device, it is connected with each other by bottom bearer network, this implementation is using server-assignment monitoring mark The specific monitoring method known is as follows:
Step S10, user's application of M2M terminals sends monitoring request message to server, and monitoring is included in request message The information of task, monitor task include following parameter:
1) monitored terminal, the event that need to be monitored;
Or,
2) monitored terminal, the event that need to be monitored, the number of monitoring report;
Or,
3) monitored terminal, the event that need to be monitored, duration is monitored;
Or,
4) monitored terminal, the event that need to be monitored, the time started is monitored, monitors the end time;
Or,
5) monitored terminal, the event that need to be monitored, the time started is monitored, monitors duration;
Or,
6) monitored terminal, the event that need to be monitored, event need the operation performed after occurring;
Step S20, after server receives monitoring request message, the user for sending response message to M2M terminals applies.
If step S21, server confirms that the monitor task can be performed, monitoring mark is distributed for the monitor task, And comprising in the response message.
Monitoring mark is used to identify a monitor task.
If step S22, server confirms that the monitor task can not be performed, instruction refusal performs prison in the response message Control task.
Step S30, monitor task is sent to gateway device by server, wherein including monitoring mark.
Step S40, gateway device preserves monitor task.
Step S50, after the event that need to be monitored is detected, gateway device sends monitoring report to server, wherein including Monitoring mark.
Step S60, monitoring report is sent to user's application by server after monitoring report is received.
Step S70, user's application can also send monitoring and stop request message to server, and monitoring is included in request message Mark;
Step S80, server is received after monitoring stops request message, sends monitoring termination messages to gateway device, its In comprising monitoring mark.
Step S90, after gateway device receives monitoring command for stopping, the local monitoring whether preserved with being received is checked The associated monitor task of mark,
Step S91, if so, then deleting the monitor task related with monitoring mark.
Step S92, if it is not, sending monitoring terminates refuse information to server.
Step S100, user's application can also send renewal monitoring request message to server, and prison is included in request message The parameter for the monitor task that control mark and needs update, monitoring mark are used to indicate to need to update the ginseng of which monitor task Number is, it is necessary to which the parameter of the monitor task of renewal can include following one or more:
1) monitor event (monitor event for updating the corresponding monitor task of monitoring mark);
2) number (number for updating the monitoring report of the corresponding monitor task of monitoring mark) of monitoring report;
3) monitor duration (monitoring for updating the corresponding monitor task of monitoring mark continues);
4) time started (the monitoring time started for updating the corresponding monitor task of monitoring mark) is monitored;
5) end time (the monitoring end time for updating the corresponding monitor task of monitoring mark) is monitored;
6) operation that event needs to perform after occurring (needs to perform after updating the event generation of the corresponding monitor task of monitoring mark Operation);
7) monitored terminal;
Step S110, after server receives renewal monitoring request message, the monitoring for monitoring mark and needing to update is appointed The parameter of business is sent to gateway device.
Step S120, after gateway device receives renewal monitoring request message, local whether preserve with receiving checked Monitoring mark corresponding to monitor task,
Step S121, if so, the monitor task that the parameter renewal of the monitor task then updated as needed locally preserves Parameter;
Step S122, if it is not, sending renewal monitoring refuse information to server.
Embodiment two:
The embodiment of the present invention two provides a kind of machine to machine terminal monitoring system, and the system includes one or more M2M terminals, server and gateway device, it is connected with each other by bottom bearer network, this implementation is distributed using M2M user's application The specific monitoring method for monitoring mark is as follows:
Step S200, user's application sends monitoring request message to server, also includes user in the monitoring solicited message Identified using the monitoring distributed for the monitor task, and the mark of user's application and/or address, monitoring mark, and monitoring Task, the parameter that monitor task includes is identical with embodiment one, and monitoring mark is used to identify a monitor task.
Step S300, after server receives monitoring request message, send response message and applied to user.
If step S301, server confirms that the monitor task can be performed, instruction in the response message is properly received Monitor task.
If step S302, server confirms that the monitor task can not be performed, instruction refusal performs in the response message Monitor task.
Subsequent step is consistent with the method for step S30- steps S122 in above-described embodiment one.
Application Example:
The embodiment of the present invention two provides a kind of machine to machine terminal monitoring system, in an embodiment of the present invention, user Using being that user in Internet of things system applies, server is interface network element of the bearer network to external network units, for receiving Come from the message of network entity outside bearer network, and be sent to the message of network entity outside bearer network, gateway device is being held The equipment specifically monitored is performed in contained network.
Embodiment three:
S001, user's application send monitoring request message to server, and monitor task, monitor task are included in request message Include following parameter:
1) mark of monitored terminal, the event that need to be monitored;
Or,
2) mark of monitored terminal, the event that need to be monitored, the number of monitoring report;
Or,
3) mark of monitored terminal, the event that need to be monitored, duration is monitored;
Or,
4) mark of monitored terminal, the event that need to be monitored, the time started is monitored, monitors the end time;
Or,
5) mark of monitored terminal, the event that need to be monitored, the time started is monitored, monitors duration;
Or,
6) mark of monitored terminal, the event that need to be monitored, event need the operation performed after occurring;
Here, the event argument that need to be monitored has a variety of implementations,
First:The definition of event is directly given, the title comprising event, and related parameter:
Event A:Monitor position
{
Legal position coordinate;
}
Second:In advance by, by interaction, event being determined between user's application and service device or user's application and gateway device Adopted list is sent to server, or gateway device in advance, and the event argument for thus needing monitoring can be event identifier, such as:
Event-A;
If event defines list and is sent to server in advance, then server is after monitoring request is received, according to row Table inquiry is it is known that Event-A is, for example, monitoring whether offline;If event defines list and is sent to gateway device in advance, So server, can be by inquiring about during gateway device is sent to after monitoring request is received to gateway device Event-A is, for example, monitoring whether offline.
After S002, server receive monitoring request message, send response message and applied to user.
If S021, server confirm that the monitor task can be performed, monitoring mark is distributed for the monitor task, and wrap Containing in the response message.
Monitoring mark is used to identify a monitor task.
If S022, server confirm that the monitor task can not be performed, instruction refusal performs monitoring in the response message Task.
Monitor task is sent to gateway device by S003, server, wherein including monitoring mark.
S004, gateway device preserve monitor task.
S005, after the event that need to be monitored is detected, gateway device send monitoring report to server, wherein comprising monitoring Mark.
S006, server are sent to user's application after monitoring report is received, by monitoring report.
If S007, sometime, user's application is thought no longer to need to continue the terminal that monitoring is specified, user's application hair Send monitoring to stop request message to server, included in request message:
1) monitoring mark:User identifies using the monitoring for the monitor task for needing to stop;
Or,
2) monitoring mark:The monitoring for the monitor task that user stops using needs, and terminal iidentification:Monitored terminal Mark;
Note:Here the different letters that two kinds of options may need when being and inquiring about subscription data to gateway device for next step Breath.Traditional mark that terminal is had to gateway device inquiry subscription data, but the present invention program is also contemplated for the spy of monitoring Different scene, that is, can also inquire required information using monitoring mark.
S008, server receive monitoring and stop request message, after confirming that the request can be performed, send monitoring and terminate Message monitors the monitoring mark that monitoring comprising user's application transmission stops in request message in termination messages to gateway device.
Server sends monitoring termination messages can be by the following manner to gateway device:
1) server sends subscription data request message to gateway device, and terminal iidentification, or/and prison are included in request message Control mark;
Gateway device sends subscription data response message to server, wherein including the mark or ground for the network element for performing monitoring Location;
2) server sends monitoring termination request and arrives gateway device, wherein including monitoring mark;
Performed if monitoring also needs to other bearer network nodes, gateway device sends monitoring and terminates request to other carryings Net node.
After S009, gateway device receive monitoring command for stopping, the local monitoring mark whether preserved with being received is checked The information of the monitor task of sensible association,
S091, if so, then deleting the monitor task information related with monitoring mark.
S092, if it is not, send monitoring terminate refuse information to server.It can indicate that monitoring is appointed in refuse information Business is not present.
If S010, user's application need to change some parameter of monitor task, user's application sends renewal monitoring request Message comprising monitoring mark and needs the parameter of monitor task updated to server, in request message, and monitoring mark is used to refer to Show the parameter for needing to update which monitor task, it is necessary to which the parameter of the monitor task of renewal can be included below one or more Parameter:
1) monitor event (monitor event for updating the corresponding monitor task of monitoring mark);
2) number (number for updating the monitoring report of the corresponding monitor task of monitoring mark) of monitoring report;
3) monitor duration (monitoring for updating the corresponding monitor task of monitoring mark continues);
4) time started (the monitoring time started for updating the corresponding monitor task of monitoring mark) is monitored;
5) end time (the monitoring end time for updating the corresponding monitor task of monitoring mark) is monitored;
6) operation that event needs to perform after occurring (needs to perform after updating the event generation of the corresponding monitor task of monitoring mark Operation);
7) monitored terminal;(with step 7 the reasons why needing terminal iidentification it is identical, for may server to net Close needed for equipment query subscription data)
After S011, server receive renewal monitoring request message, after confirming that the request can be performed, monitoring is identified Gateway device is sent to the parameter for the monitor task for needing to update,
The parameter for monitoring the monitor task for identifying and needing to update is sent to gateway device by server can have with lower section Formula:
1) server sends subscription data request message to gateway device, and terminal iidentification, or/and prison are included in request message Control mark;
Gateway device sends subscription data response message to server, wherein including the mark or ground for the network element for performing monitoring Location;
2) parameter for monitoring the monitor task for identifying and needing to update is sent to gateway device by server;
Performed if monitoring also needs to other bearer network nodes, gateway device will monitor the monitoring for identifying and needing and update The parameter of task is sent to other bearer network nodes.
After S012, gateway device receive the parameter of monitor task that monitoring mark and needing updates, check it is local whether Monitor task information corresponding to being identified with the monitoring received is preserved,
S0121, if so, the ginseng of monitor task that the parameter renewal of the monitor task then updated as needed locally preserves Number;
S0122, if it is not, sending renewal monitoring refuse information to server, can indicate to monitor in refuse information Task is not present.
Although disclosed embodiment is as above, its content is only to facilitate understand the technical side of the present invention Case and the embodiment used, are not intended to limit the present invention.Any those skilled in the art to which this invention pertains, not On the premise of departing from disclosed core technology scheme, any modification can be made in the form and details of implementation and is become Change, but the protection domain that the present invention is limited, the scope that must be still limited by appended claims are defined.

Claims (47)

  1. A kind of 1. monitoring method, applied to machine to machine M2M terminals, it is characterised in that including:
    Monitoring solicited message is sent to server, wherein, the monitoring solicited message carries the information of monitor task, the prison Control task comprises at least monitor terminal and monitor event;
    Receive the response message that the server determines according to the monitoring solicited message.
  2. 2. according to the method for claim 1, it is characterised in that the monitor task also includes at least one of:Monitoring The operation that the number of report, monitoring duration, monitoring time started, monitoring end time, the event of monitoring perform after occurring.
  3. 3. according to the method for claim 2, it is characterised in that also include user in the monitoring solicited message and apply as institute State the monitoring mark that monitor task is distributed, and the mark of user's application and/or address.
  4. 4. according to the method in claim 2 or 3, it is characterised in that the response message carries refusal and performs monitoring times The instruction of business.
  5. 5. according to the method for claim 2, it is characterised in that the response message carries server and appointed for the monitoring The monitoring mark of business distribution.
  6. 6. according to the method for claim 3, it is characterised in that the response message, which carries, is properly received monitor task Instruction.
  7. 7. the method according to claim 5 or 6, it is characterised in that asked receiving the server according to the monitoring After the response message that information determines, in addition to:
    The monitoring report that the server is sent is received, the monitoring report is that gateway device passes through described in the detection of bottom bearer network What monitor task was generated, wherein, the monitoring is comprised at least in the monitoring report and is identified.
  8. 8. the method according to claim 5 or 6, it is characterised in that asked receiving the server according to the monitoring After the response message that information determines, in addition to:
    Send and stop monitoring solicited message to the server, wherein, the stopping monitoring solicited message includes the monitoring and marked Know.
  9. 9. the method according to claim 5 or 6, it is characterised in that asked receiving the server according to the monitoring After the response message that information determines, in addition to:
    Renewal monitoring solicited message is sent to the server, wherein, the renewal monitoring solicited message includes the monitoring and marked Know and need the parameter of the monitor task updated.
  10. A kind of 10. monitoring method, applied to server, it is characterised in that including:
    The monitoring solicited message that machine to machine M2M terminals are sent is received, wherein, the monitoring solicited message carries monitoring and appointed The information of business, the monitor task comprise at least monitor terminal and monitor event;
    Response message is determined according to the monitoring solicited message, the response message after determination is sent to the M2M terminals.
  11. 11. according to the method for claim 10, it is characterised in that the monitor task also includes at least one of:Prison The number of report is controlled, duration, monitoring time started is monitored, monitors the end time, the behaviour that the event of monitoring performs after occurring Make.
  12. 12. according to the method for claim 11, it is characterised in that also include user in the monitoring solicited message using being The monitoring mark that the monitor task is distributed, and the mark of user's application and/or address.
  13. 13. the method according to claim 11 or 12, it is characterised in that if it is determined that monitoring solicited message can not be performed During middle monitor task, then the response message for carrying the instruction that refusal performs monitor task is sent to the M2M terminals.
  14. 14. according to the method for claim 11, it is characterised in that monitored if it is determined that being able to carry out monitoring in solicited message During task, then it will carry server and be sent to the M2M ends for the response message of the monitoring mark of monitor task distribution End.
  15. 15. according to the method for claim 12, it is characterised in that monitored if it is determined that being able to carry out monitoring in solicited message During task, then the response message for carrying the instruction for being properly received monitor task is sent to the M2M terminals.
  16. 16. the method according to claims 14 or 15, it is characterised in that the response message after by determination is sent to described After M2M terminals, in addition to:
    Send monitoring and perform request message to gateway device, wherein, the monitoring execution request message includes the monitoring and appointed Business and the monitoring mark;
    The monitoring report that the gateway device is generated by the bottom bearer network detection monitor task is received, wherein, it is described Monitoring report includes the monitoring mark;
    The monitoring report is sent to the M2M terminals.
  17. 17. the method according to claims 14 or 15, it is characterised in that the response message after by determination is sent to described After M2M terminals, in addition to:
    The stopping monitoring solicited message that the M2M terminals are sent is received, wherein, the monitoring solicited message that stops includes the prison Control mark;
    Stop monitoring solicited message transmission monitoring command for stopping to the gateway device according to described, wherein, the monitoring terminates Instruction includes monitoring mark.
  18. 18. the method according to claims 14 or 15, it is characterised in that the response message after by determination is sent to described After M2M terminals, in addition to:
    The renewal monitoring solicited message that the M2M terminals are sent is received, wherein, the renewal monitoring solicited message includes the prison The parameter for the monitor task that control mark and needs update;
    The parameter of the monitoring mark and the monitor task for needing to update is sent to the gateway device.
  19. A kind of 19. monitoring method, applied to gateway device, it is characterised in that including:
    The monitoring that the reception server is sent performs request message, wherein, the monitoring performs request message and carries monitor task With the information of monitoring mark, the monitor task comprises at least monitor terminal and monitor event;
    The monitor task is detected by bottom bearer network and generates monitoring report, wherein, the monitoring report includes described Monitoring mark;
    The monitoring report is sent to the server.
  20. 20. according to the method for claim 19, it is characterised in that the monitor task also includes at least one of:Prison The number of report is controlled, duration, monitoring time started is monitored, monitors the end time, the behaviour that the event of monitoring performs after occurring Make.
  21. 21. according to the method for claim 20, it is characterised in that also include:
    The monitoring command for stopping that the server is sent according to monitoring solicited message is stopped is received, wherein, the monitoring termination refers to Order includes monitoring mark;
    Monitor task corresponding to being identified with the monitoring received locally whether is preserved by the inspection of bottom bearer network, if Have, then delete the monitor task related with monitoring mark;If it is not, sending monitoring terminates refuse information to the service Device.
  22. 22. according to the method for claim 20, it is characterised in that also include:
    Receive the parameter that the monitoring that the server is sent identified and needed the monitor task updated;
    Monitor task corresponding to being identified with the monitoring received locally whether is preserved by the inspection of bottom bearer network, if Have, then the parameter of the monitor task updated as needed updates the parameter of the monitor task locally preserved;If it is not, send Renewal monitoring refuse information gives the server.
  23. 23. according to the method described in claim 19-22, it is characterised in that the monitoring mark is applied or serviced by user Device is distributed according to the monitor task.
  24. A kind of 24. machine to machine M2M terminals, it is characterised in that including:Sending module and receiving module;
    The sending module, for sending monitoring solicited message to server, wherein, the monitoring solicited message carries monitoring The information of task, the monitor task comprise at least monitor terminal and monitor event;
    The receiving module, the response message determined for receiving the server according to the monitoring solicited message.
  25. 25. M2M terminals according to claim 24, it is characterised in that the monitor task also includes at least one of: The number of monitoring report, monitoring duration, monitoring time started, monitoring end time, the event of monitoring perform after occurring Operation.
  26. 26. M2M terminals according to claim 25, it is characterised in that also including distribute module;The distribute module is used for User applies the monitoring distributed by the monitor task to identify;
    Also include the monitoring in the monitoring solicited message to identify, and the mark of user's application and/or address.
  27. 27. the M2M terminals according to claim 25 or 26, it is characterised in that the response message carries refusal and performed The instruction of monitor task.
  28. 28. M2M terminals according to claim 25, it is characterised in that it is described that the response message, which carries server, The monitoring mark of monitor task distribution.
  29. 29. M2M terminals according to claim 26, it is characterised in that the response message, which carries, is properly received monitoring The instruction of task.
  30. 30. the M2M terminals according to claim 28 or 29, it is characterised in that the receiving module is additionally operable to described in reception The monitoring report that server is sent, the monitoring report are that gateway device detects monitor task when institute by bottom bearer network Generation, wherein, the monitoring is comprised at least in the monitoring report and is identified.
  31. 31. the M2M terminals according to claim 28 or 29, it is characterised in that receive the service in the receiving module After response message of the device according to the monitoring solicited message determination, the sending module, which is additionally operable to transmission stopping monitoring request, to be believed Cease to the server, wherein, the monitoring solicited message that stops includes the monitoring mark.
  32. 32. the M2M terminals according to claim 28 or 29, it is characterised in that receive the service in the receiving module After response message of the device according to the monitoring solicited message determination, the sending module, which is additionally operable to transmission renewal monitoring request, to be believed Cease to the server, wherein, the renewal monitoring solicited message includes the monitoring mark and needs the monitor task updated Parameter.
  33. 33. a kind of server, it is characterised in that including receiving module and sending module;
    The receiving module is used for the monitoring solicited message for receiving the transmission of machine to machine M2M terminals, wherein, the monitoring request Information carries the information of monitor task, and the monitor task comprises at least monitor terminal and monitor event;
    The sending module is used to determine response message according to the monitoring solicited message, and the response message after determination is sent to The M2M terminals.
  34. 34. server according to claim 33, it is characterised in that also including judge module;
    The judge module is used to determine whether that the monitor task in monitoring solicited message can be performed;
    Wherein, the monitor task also includes at least one of:The number of monitoring report, monitoring duration, monitoring start The operation that time, monitoring end time, the event of monitoring perform after occurring.
  35. 35. server according to claim 34, it is characterised in that also include user in the monitoring solicited message and apply The monitoring distributed by the monitor task identifies, and the mark of user's application and/or address.
  36. 36. the server according to claim 34 or 35, it is characterised in that if the judge module determines to hold In row monitoring solicited message during monitor task, the sending module is additionally operable to that the instruction of refusal execution monitor task will be carried Response message is sent to the M2M terminals.
  37. 37. server according to claim 34, it is characterised in that also including distribute module;
    If the judge module is determined to perform monitor task in monitoring solicited message, the distribute module is used for for institute State monitoring mark corresponding to monitor task distribution;
    The sending module is additionally operable to the response message for carrying the monitoring mark being sent to the M2M terminals.
  38. 38. server according to claim 35, it is characterised in that if the judge module is determined to perform monitoring In solicited message during monitor task, the sending module is additionally operable to disappear the response for carrying the instruction for being properly received monitor task Breath is sent to the M2M terminals.
  39. 39. the server according to claim 37 or 38, it is characterised in that in sending module by the response message after determination It is sent to after the M2M terminals, in addition to:
    The sending module is additionally operable to send monitoring execution request message to gateway device, wherein, the monitoring performs request and disappeared Breath includes the monitor task and the monitoring mark;The monitoring report that received gateway device is sent is to described M2M terminals;
    The receiving module is additionally operable to receive what the gateway device was generated by the bottom bearer network detection monitor task Monitoring report, wherein, the monitoring report includes the monitoring mark.
  40. 40. the server according to claim 37 or 38, it is characterised in that in sending module by the response message after determination It is sent to after the M2M terminals, in addition to:The receiving module is additionally operable to receive the stopping monitoring that the M2M terminals are sent Solicited message, wherein, the monitoring solicited message that stops includes the monitoring mark;
    The sending module be additionally operable to according to it is described stop monitoring solicited message send monitoring command for stopping to the gateway device, Wherein, the monitoring command for stopping includes monitoring mark.
  41. 41. the server according to claim 37 or 38, it is characterised in that in sending module by the response message after determination It is sent to after the M2M terminals, in addition to:The receiving module is additionally operable to receive the renewal monitoring that the M2M terminals are sent Solicited message, wherein, the renewal monitoring solicited message includes the monitoring mark and needs the parameter of monitor task updated;
    The sending module is additionally operable to send the monitoring mark and the parameter for the monitor task for needing to update is set to the gateway It is standby.
  42. A kind of 42. gateway device, it is characterised in that including:Receiving module, detection module and sending module;
    The receiving module is used for the monitoring that the reception server is sent and performs request message, wherein, the monitoring performs request and disappeared Breath carries the information of monitor task and monitoring mark, and the monitor task comprises at least monitor terminal and monitor event;
    The detection module is used to detect the monitor task generation monitoring report by bottom bearer network, wherein, the prison Control report includes the monitoring mark;
    The sending module is used to send the monitoring report to the server.
  43. 43. gateway device according to claim 42, it is characterised in that also including execution module;
    The execution module is used to perform the deletion of the monitor task and/or the renewal of parameter;Wherein,
    The monitor task also includes at least one of:The number of monitoring report, monitoring duration, the monitoring time started, The operation that monitoring end time, the event of monitoring perform after occurring.
  44. 44. gateway device according to claim 43, it is characterised in that
    The receiving module is additionally operable to receive the monitoring command for stopping that the server is sent according to monitoring solicited message is stopped, its In, the monitoring command for stopping includes monitoring and identified;
    The detection module is additionally operable to locally whether preserve the monitoring mark pair with being received by the inspection of bottom bearer network The monitor task answered;
    If so, the execution module is used to delete the monitor task related with monitoring mark;
    If not provided, the sending module is additionally operable to send monitoring termination refuse information to the server.
  45. 45. according to the method for claim 43, it is characterised in that also include:
    The receiving module is additionally operable to receive the parameter that the monitoring that the server is sent identified and needed the monitor task updated;
    The detection module is additionally operable to locally whether preserve the monitoring mark pair with receiving by the inspection of bottom bearer network The monitor task answered;
    If so, the monitoring that the parameter renewal that the execution module is additionally operable to the monitor task updated as needed locally preserves is appointed The parameter of business;
    If it is not, the sending module is additionally operable to send renewal monitoring refuse information to the server.
  46. 46. according to the gateway device described in claim 42-45, it is characterised in that it is described monitoring mark by user application or Server is distributed according to the monitor task.
  47. 47. a kind of machine to machine terminal monitoring system, it is characterised in that the system includes the claims 24-32 institutes The server and the claims described in M2M terminals, the claims any one of 33-41 described in any one stated Gateway device described in any one of 42-46.
CN201711004690.8A 2017-10-23 2017-10-23 A kind of monitoring method, terminal, server, gateway device and system Pending CN107770756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711004690.8A CN107770756A (en) 2017-10-23 2017-10-23 A kind of monitoring method, terminal, server, gateway device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711004690.8A CN107770756A (en) 2017-10-23 2017-10-23 A kind of monitoring method, terminal, server, gateway device and system

Publications (1)

Publication Number Publication Date
CN107770756A true CN107770756A (en) 2018-03-06

Family

ID=61271377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711004690.8A Pending CN107770756A (en) 2017-10-23 2017-10-23 A kind of monitoring method, terminal, server, gateway device and system

Country Status (1)

Country Link
CN (1) CN107770756A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381155A (en) * 2019-07-25 2019-10-25 北京达佳互联信息技术有限公司 Task management method, device, storage medium and terminal
WO2020001402A1 (en) * 2018-06-26 2020-01-02 华为技术有限公司 Method and device for managing monitoring event
WO2020124287A1 (en) * 2018-12-16 2020-06-25 吉安市井冈山开发区金庐陵经济发展有限公司 Information monitoring method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327524A (en) * 2012-03-22 2013-09-25 中兴通讯股份有限公司 Method and system for sending terminal monitoring report
CN103716822A (en) * 2012-10-09 2014-04-09 中兴通讯股份有限公司 Monitoring method and apparatus
CN103731870A (en) * 2012-10-12 2014-04-16 中兴通讯股份有限公司 Management method and device for monitoring tasks
US20140129672A1 (en) * 2012-11-02 2014-05-08 Industrial Technology Research Institute System And Method For Operating M2M Devices
CN105991363A (en) * 2015-02-12 2016-10-05 中兴通讯股份有限公司 Method and device for processing surveillance
CN106162715A (en) * 2015-04-28 2016-11-23 中兴通讯股份有限公司 Method for managing and monitoring and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327524A (en) * 2012-03-22 2013-09-25 中兴通讯股份有限公司 Method and system for sending terminal monitoring report
CN103716822A (en) * 2012-10-09 2014-04-09 中兴通讯股份有限公司 Monitoring method and apparatus
CN103731870A (en) * 2012-10-12 2014-04-16 中兴通讯股份有限公司 Management method and device for monitoring tasks
US20140129672A1 (en) * 2012-11-02 2014-05-08 Industrial Technology Research Institute System And Method For Operating M2M Devices
CN105991363A (en) * 2015-02-12 2016-10-05 中兴通讯股份有限公司 Method and device for processing surveillance
CN106162715A (en) * 2015-04-28 2016-11-23 中兴通讯股份有限公司 Method for managing and monitoring and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020001402A1 (en) * 2018-06-26 2020-01-02 华为技术有限公司 Method and device for managing monitoring event
US11558787B2 (en) 2018-06-26 2023-01-17 Huawei Technologies Co., Ltd. Monitoring event management method and apparatus
WO2020124287A1 (en) * 2018-12-16 2020-06-25 吉安市井冈山开发区金庐陵经济发展有限公司 Information monitoring method
CN110381155A (en) * 2019-07-25 2019-10-25 北京达佳互联信息技术有限公司 Task management method, device, storage medium and terminal
CN110381155B (en) * 2019-07-25 2022-03-25 北京达佳互联信息技术有限公司 Task management method, device, storage medium and terminal

Similar Documents

Publication Publication Date Title
KR101163258B1 (en) Method and device for session control in hybrid telecommunication networks
EP4068814B1 (en) Charging methods, apparatuses, system, computer storage medium and computer program
CN108738082B (en) Session processing method, device and system
JP2009500759A (en) Method and system for data management based on simple network management protocol
EP3099097B1 (en) Trigger management method and apparatus for cse, cse and network element of bearer network
CN107770756A (en) A kind of monitoring method, terminal, server, gateway device and system
CN104798351B (en) Methods, devices and systems for being route according to the trigger message of service type
US20130346610A1 (en) Device Management Method and Apparatus
US20170033978A1 (en) Method and device for processing communication path
CN107645394B (en) Switch configuration method in SDN network
CN105991363A (en) Method and device for processing surveillance
CN109246051A (en) Link management method, device, storage medium and computer equipment after gray scale publication
JP6377837B2 (en) Method for establishing OTA session between terminal and OTA server, corresponding OTA server and reverse proxy server
CN108111964A (en) A kind of method and apparatus for performing transmission strategy
CN107087011A (en) A kind of implementation method of remote access, device and system
CN118020282A (en) Network device for connecting a plurality of industrial devices
CN105592022B (en) Equipment service calling method and device between a kind of gateway based on Alljoyn
CN108712458B (en) Software defined network controller supporting content control
CN106878352A (en) A kind of method for realizing remote access, AllJoyn gateway proxies, Cloud Server and mobile device
KR101391833B1 (en) Method, apparatus and system of concurrent control for user device using TR-069 protocol
KR100626664B1 (en) Policy-Based QoS Management Server Apparatus And QoS Management Method
KR102157538B1 (en) System for upgrading / updating software of virtual network apparatus or system, method thereof
EP4040728A1 (en) Filtering information configuration method and system
WO2022001830A1 (en) Configuration method, terminal, service terminal and configuration system
WO2012147248A1 (en) Call-linking system, home data control unit, call-linking method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180306

WD01 Invention patent application deemed withdrawn after publication