Self-recovery processing method for abnormal module terminal file parameter synchronization service

文档序号:195374 发布日期:2021-11-02 浏览:27次 中文

阅读说明:本技术 模组终端档案参数同步业务异常自恢复处理方法 (Self-recovery processing method for abnormal module terminal file parameter synchronization service ) 是由 刘绪胜 丁成立 冯丹荣 于 2021-07-29 设计创作,主要内容包括:本发明涉及一种模组终端档案参数同步业务异常自恢复处理方法,通过模组终端在校验主站下发的档案参数合法后,并在检测到档案参数已经加载完毕后,对其宽带载波虚拟路由的在线状态做出检测,检测到宽带载波虚拟路由处于在线状态,执行匹配同步业务场景的自恢复处理操作,否则,继续等待加载档案参数,再次检测宽带载波虚拟路由在线状态情况;且检测该在线状态的持续检测时间超过后,去主动查询该宽带载波虚拟路由版本,且在查询到该宽带载波虚拟路由版本后,执行匹配同步业务场景的自恢复处理操作,否则,等待第一预设时间后,继续查询宽带载波虚拟路由版本,以在确定宽带载波虚拟路由真实上线后,执行档案参数同步,提高路由同步业务执行效率。(The invention relates to a module terminal file parameter synchronization service abnormity self-recovery processing method, after a file parameter issued by a check master station is legal through a module terminal, and after the file parameter is detected to be loaded, the online state of a broadband carrier virtual route is detected, the broadband carrier virtual route is detected to be in the online state, the self-recovery processing operation matched with a synchronization service scene is executed, otherwise, the file parameter is continuously waited to be loaded, and the online state condition of the broadband carrier virtual route is detected again; and after the continuous detection time of the online state exceeds, actively inquiring the broadband carrier virtual routing version, and after the broadband carrier virtual routing version is inquired, executing self-recovery processing operation matched with a synchronous service scene, otherwise, after waiting for a first preset time, continuously inquiring the broadband carrier virtual routing version, so as to execute file parameter synchronization after the broadband carrier virtual routing is determined to be actually online, and improve the execution efficiency of the routing synchronous service.)

1. The self-recovery processing method for the abnormal parameter synchronization service of the module terminal file is characterized by comprising the following steps of 1-11:

step 1, a module terminal which starts a synchronous service executes parameter validity check processing on file parameters issued by a master station;

step 2, the module terminal processes according to the parameter validity check result:

when the file parameter is verified to be legal, turning to the step 3; otherwise, reloading the file parameters, and turning to the step 1;

step 3, the module terminal detects whether the file parameters are loaded or not:

when the file parameters are loaded, turning to step 4; otherwise, go to step 10;

step 4, the module terminal detects whether the broadband carrier virtual route is in an online state:

when the broadband carrier virtual route is in an online state, turning to step 11; otherwise, turning to step 5;

step 5, the module terminal continuously detects whether the broadband carrier virtual route is in an online state, and the step 6 is carried out;

step 6, the module terminal performs detection processing according to the duration detection time aiming at the broadband carrier virtual route:

when the continuous detection time exceeds the preset detection time, turning to step 7; otherwise, turning to step 5;

step 7, the module terminal inquires the virtual route version of the broadband carrier, and processes according to the inquiry result:

when the broadband carrier virtual routing version is inquired, turning to step 11; otherwise, go to step 8;

step 8, after waiting for the first preset time, the module terminal continues to inquire the broadband carrier virtual routing version, and the step 9 is switched to;

step 9, the module terminal processes according to the inquiry result of the broadband carrier virtual routing version:

when the broadband carrier virtual routing version is inquired, turning to step 11; otherwise, go to step 8;

step 10, the module terminal continues to wait for loading the file parameters and goes to step 3;

and step 11, the module terminal executes self-recovery processing operation of matching the synchronous service scene.

2. The method for self-recovery processing of abnormal service of module terminal profile parameter synchronization according to claim 1, wherein the self-recovery processing operation for executing the matching synchronization service scenario includes the following steps a 1-a 4:

step a1, the module terminal detects whether the routing module is inserted into the corresponding routing card slot;

step a2, the module terminal makes judgment processing according to the detection result:

when the routing module is inserted into the routing card slot, starting file parameter synchronous operation; otherwise, go to step a 3;

step a3, after the module terminal continuously waits for the second preset time, the module terminal inquires the version of the routing module;

step a4, the module terminal processes according to the route module version inquiry result:

when the routing module version is inquired, judging that the routing module is inserted into a routing card slot, and starting file parameter synchronous operation; otherwise, go to step a 3.

3. The method for self-recovery processing of abnormal service of module terminal profile parameter synchronization according to claim 2, wherein the self-recovery processing operation for executing the matching synchronization service scenario includes the following steps b 1-b 3:

step b1, the module terminal detects whether the file parameters are changed:

when detecting that the file parameters are changed, turning to step b 2; otherwise, go to step a 1;

b2, the module terminal executes the waiting time detection of the synchronous file preparation according to the total number of the files corresponding to the file parameters;

step b3, the module terminal makes judgment according to the detection result of the waiting time of the synchronous file preparation:

when the preparation waiting time of the synchronous files exceeds the preset waiting time corresponding to the total number of the files, starting file parameter synchronous operation; otherwise, go to step b 2.

4. The method as claimed in claim 3, wherein in step b3, the predetermined waiting time corresponding to the total number of files is positively correlated with the total number of files.

5. The method for handling exception self-recovery of file parameter synchronization service of module terminal as claimed in claim 4, wherein the change in step b1 is an addition operation or a deletion operation of file parameter.

6. The method for self-recovery processing of abnormal parameters of synchronous services of a module terminal profile according to claim 1, wherein said executing self-recovery processing operation of matching synchronous service scenario comprises the steps of:

the module terminal judges whether the file parameters are synchronized within a preset time period:

when the file parameters are not synchronized within a preset time period, starting file parameter synchronization operation; otherwise, file synchronization is executed according to the protocol specification corresponding to the broadband carrier virtual route.

7. The method for self-recovery processing of abnormal parameter synchronization service of module terminals according to claim 6, wherein the preset time period Tc is set to 10 min.

8. The method for self-recovery processing of abnormal parameters of module terminal file synchronization service according to any of claims 1 to 7, wherein the first predetermined time is 2 min.

9. The method for self-recovery processing of abnormal file parameter synchronization service of a module terminal according to any one of claims 2 to 5, wherein the second preset time is 2min after the module terminal queries the virtual routing version of the broadband carrier.

10. The method for self-recovery processing of file parameter synchronization service exceptions of a module terminal according to any one of claims 1 to 6, wherein the module terminal is a concentrator.

Technical Field

The invention relates to the field of power terminal products, in particular to a self-recovery processing method for abnormal module terminal file parameter synchronization business.

Background

With the successive appearance of a new generation of module terminal products (concentrators), the module terminal products read the ammeter data, and the capacity of synchronizing file parameters is greatly improved.

In the actual reading process, once the module terminal cannot synchronously process the file parameters at the ammeter, the module terminal can stop reading in the reading process of the ammeter, and the normal meter reading service of the module terminal is influenced. Therefore, how to implement self-diagnosis processing when the file parameter synchronization service of the module terminal is abnormal so as to ensure the stability and reliability of the file parameter synchronization process becomes a technical problem to be solved in the field of power terminal products.

Disclosure of Invention

The technical problem to be solved by the present invention is to provide a self-recovery processing method for abnormal module terminal file parameter synchronization service in view of the above prior art.

The technical scheme adopted by the invention for solving the technical problems is as follows: the self-recovery processing method for the abnormal parameter synchronization service of the module terminal file is characterized by comprising the following steps of 1-11:

step 1, a module terminal which starts a synchronous service executes parameter validity check processing on file parameters issued by a master station;

step 2, the module terminal processes according to the parameter validity check result:

when the file parameter is verified to be legal, turning to the step 3; otherwise, reloading the file parameters, and turning to the step 1;

step 3, the module terminal detects whether the file parameters are loaded or not:

when the file parameters are loaded, turning to step 4; otherwise, go to step 10;

step 4, the module terminal detects whether the broadband carrier virtual route is in an online state:

when the broadband carrier virtual route is in an online state, turning to step 11; otherwise, turning to step 5;

step 5, the module terminal continuously detects whether the broadband carrier virtual route is in an online state, and the step 6 is carried out;

step 6, the module terminal performs detection processing according to the duration detection time aiming at the broadband carrier virtual route:

when the continuous detection time exceeds the preset detection time, turning to step 7; otherwise, turning to step 5;

step 7, the module terminal inquires the virtual route version of the broadband carrier, and processes according to the inquiry result:

when the broadband carrier virtual routing version is inquired, turning to step 11; otherwise, go to step 8;

step 8, after waiting for the first preset time, the module terminal continues to inquire the broadband carrier virtual routing version, and the step 9 is switched to;

step 9, the module terminal processes according to the inquiry result of the broadband carrier virtual routing version:

when the broadband carrier virtual routing version is inquired, turning to step 11; otherwise, go to step 8;

step 10, the module terminal continues to wait for loading the file parameters and goes to step 3;

and step 11, the module terminal executes self-recovery processing operation of matching the synchronous service scene.

Further, in the method for self-recovery processing of abnormal profile parameter synchronization service of a module, the self-recovery processing operation for executing the matching synchronization service scenario includes the following steps a 1-a 4:

step a1, the module terminal detects whether the routing module is inserted into the corresponding routing card slot;

step a2, the module terminal makes judgment processing according to the detection result:

when the routing module is inserted into the routing card slot, starting file parameter synchronous operation; otherwise, go to step a 3;

step a3, after the module terminal continuously waits for the second preset time, the module terminal inquires the version of the routing module;

step a4, the module terminal processes according to the route module version inquiry result:

when the routing module version is inquired, judging that the routing module is inserted into a routing card slot, and starting file parameter synchronous operation; otherwise, go to step a 3.

In an embodiment, in the method for self-recovery processing of abnormal profile parameter synchronization service of a module, the self-recovery processing operation for executing matching synchronization service scenario includes the following steps b 1-b 3:

step b1, the module terminal detects whether the file parameters are changed:

when detecting that the file parameters are changed, turning to step b 2; otherwise, go to step a 1;

b2, the module terminal executes the waiting time detection of the synchronous file preparation according to the total number of the files corresponding to the file parameters;

step b3, the module terminal makes judgment according to the detection result of the waiting time of the synchronous file preparation:

when the preparation waiting time of the synchronous files exceeds the preset waiting time corresponding to the total number of the files, starting file parameter synchronous operation; otherwise, go to step b 2.

Further, in the self-recovery processing method for the abnormal parameter synchronization service of the module terminal file, in step b3, the preset waiting time corresponding to the total number of files is positively correlated with the total number of files.

In the method for processing abnormal self-recovery of file parameter synchronization service of the module terminal, the self-recovery processing operation for executing the matched synchronization service scene comprises the following steps:

step c1, the module terminal judges whether the file parameters are synchronized within a preset time period:

when the file parameters are not synchronized within a preset time period, starting file parameter synchronization operation; otherwise, file synchronization is executed according to the protocol specification corresponding to the broadband carrier virtual route.

Further, the module terminal is a concentrator.

Compared with the prior art, the invention has the advantages that:

firstly, when a module terminal detects that the loading of file parameters is finished and continuously detects that a broadband carrier virtual route is in a non-online state, the module terminal actively inquires the version of the broadband carrier virtual route, avoids waiting for online information of the broadband carrier virtual route for a long time, and determines whether the broadband carrier virtual route is actually online or not through active inquiry, so that after the actual online state of the broadband carrier virtual route is determined, the execution efficiency of route synchronization services can be improved, and further other services such as meter reading and the like can be ensured to normally and rapidly run;

secondly, the invention also carries out self-diagnosis error correction processing on whether the routing module in the synchronous service scene is inserted into the routing card slot, the file parameter is changed and the online state of the broadband carrier virtual route so as to avoid the failure of the file parameter synchronization process and the occurrence of the phenomena of meter reading stop and reading caused by various abnormalities;

finally, when the abnormal diagnosis is carried out aiming at the file parameter change condition, the preset waiting time corresponding to the number of the file parameters is used as a delay time period instead of immediately executing file parameter synchronization, so that frequent file parameter change in a short time can be prevented, the file parameter synchronization business process can be better prevented from being interrupted back and forth, the abnormal condition is avoided, and the file parameter synchronization business executed by the module terminal is more efficient and stable.

Drawings

Fig. 1 is a schematic flow chart of a self-recovery processing method for abnormal parameter synchronization service of a module terminal file according to an embodiment of the present invention.

Detailed Description

The invention is described in further detail below with reference to the accompanying examples.

The embodiment provides a self-recovery processing method for file parameter synchronization service exception of a module terminal, wherein the module terminal adopts a concentrator. Specifically, referring to fig. 1, the method for self-recovery processing of abnormal parameter synchronization service of a module terminal file according to the embodiment includes the following steps 1 to 11:

step 1, a module terminal which starts a synchronous service executes parameter validity check processing on file parameters issued by a master station;

step 2, the module terminal processes according to the parameter validity check result:

when the file parameter is verified to be legal, turning to the step 3; otherwise, reloading the file parameters, and turning to the step 1 to check the legality of the file parameters issued by the master station again;

step 3, the module terminal detects whether the file parameters are loaded or not:

when the file parameters are loaded, turning to step 4; otherwise, go to step 10;

step 4, the module terminal detects whether the broadband carrier virtual route is in an online state:

when the broadband carrier virtual route is in an online state, the broadband carrier virtual route is shown to be online, and at the moment, a route module is waited to be online, and the step 11 is carried out; otherwise, turning to step 5;

step 5, the module terminal continuously detects whether the broadband carrier virtual route is in an online state, and the step 6 is carried out;

step 6, the module terminal performs detection processing according to the duration detection time aiming at the broadband carrier virtual route:

when the continuous detection time exceeds the preset detection time, determining whether the broadband carrier virtual route is actually online or not, and turning to step 7; otherwise, turning to step 5;

step 7, the module terminal inquires the virtual route version of the broadband carrier, and processes according to the inquiry result:

when the broadband carrier virtual routing version is inquired, indicating that the operation can be normally executed, namely the judgment processing aiming at the subsequent synchronous service scene is carried out, and then the step 11 is carried out; otherwise, go to step 8;

step 8, after waiting for the first preset time Ta, the module terminal continues to inquire the broadband carrier virtual routing version, and the step 9 is switched to; the first preset time Ta can be set as required, for example, the first preset time Ta is set to 2 min;

step 9, the module terminal processes according to the inquiry result of the broadband carrier virtual routing version:

when the broadband carrier virtual routing version is inquired, indicating that the operation can be normally executed, namely the judgment processing aiming at the subsequent synchronous service scene is carried out, and then the step 11 is carried out; otherwise, go to step 8;

step 10, the module terminal continues to wait for loading the file parameters and goes to step 3;

and step 11, the module terminal executes self-recovery processing operation of matching the synchronous service scene. In this embodiment, the following three synchronization service scenarios are provided:

synchronization service scenario 1: real-time detection for routing module status (i.e. self-diagnostic process)

In this embodiment, the self-recovery processing operation matching the synchronous service scenario 1 includes the following steps a 1-a 4:

step a1, the module terminal detects whether the routing module is inserted into the corresponding routing card slot;

step a2, the module terminal makes judgment processing according to the detection result:

when the routing module is inserted into the routing card slot, the synchronous flow can be executed, the file parameter synchronous operation is started, and the routing module is prevented from being switched in a plug-pull mode back and forth, so that the routing module and the downlink carrier subscriber list can conveniently establish a networking state, and the data of the subscriber list can be effectively collected; otherwise, go to step a 3;

step a3, after the module terminal continues waiting for a second preset time Tb, inquiring the version of the routing module; the second preset time Tb here may be set as needed, for example, the second preset time Tb is set to 2min after the broadband carrier virtual route is determined to be on-line, that is, 2min after the module terminal queries the version of the broadband carrier virtual route;

step a4, the module terminal processes according to the route module version inquiry result:

when the routing module version is inquired, judging that the routing module is inserted into a routing card slot, and starting file parameter synchronous operation; otherwise, it is determined that the routing module is not inserted into the routing card slot, and the step a3 is repeated.

Here, by executing steps a 1-a 4, self-diagnosis of whether the module terminal inserts the routing module into the routing card slot can be realized, and it is ensured that the module terminal corrects the error again in the abnormal state that the routing module is not inserted into the routing card slot (i.e. waits for the second preset time and then queries the version of the routing module), thereby avoiding the failure of the file parameter synchronization process and the occurrence of meter reading stop and copy phenomena caused by the abnormality of the routing module.

Synchronization service scenario 2: real-time detection of archive parameter changes (i.e. self-diagnostic processing)

In this embodiment, the self-recovery processing operation matching the synchronous service scenario 2 includes the following steps b 1-b 3:

step b1, the module terminal detects whether the file parameters are changed:

when detecting that the file parameters are changed, the operation of changing the original file parameters, such as adding or deleting the file parameters, occurs, and the step b2 is proceeded; otherwise, go to step a1, so that the module terminal can detect whether the routing module is inserted into the corresponding routing card slot;

b2, the module terminal executes the waiting time detection of the synchronous file preparation according to the total number of the files corresponding to the file parameters;

step b3, the module terminal makes judgment according to the detection result of the waiting time of the synchronous file preparation:

when the preparation waiting time of the synchronous files exceeds the preset waiting time corresponding to the total number of the files, starting file parameter synchronous operation; otherwise, go to step b 2. The preset waiting time corresponding to the total number of the files is positively correlated with the total number of the files. Assuming that the total number of files is marked as N, N is more than or equal to 1;

setting the total number of files to N1Then, the total number of the files is N1The corresponding preset waiting time is set as T1

Setting the total number of files to N2Then, the total number of the files is N2The corresponding preset waiting time is set as T2

And so on;

setting the total number of files to Nn-1While, the total number of files Nn-1The corresponding preset waiting time is set as Tn-1;n≥1;

Setting the total number of files to NnThen, the total number of the files is NnThe corresponding preset waiting time is set as Tn

Wherein, when the total number of files is Nn>Nn-1Time, preset waiting time Tn>Tn-1

It should be noted that, in this embodiment, by setting a corresponding preset waiting time for the total number of files, a timing judgment is made for the module terminal to synchronize the file preparation time,

in addition, by executing steps b 1-b 3, the module terminal can diagnose the change condition of the file parameters, and ensure that the module terminal uses the preset waiting time corresponding to the number of the file parameters as the delay time period instead of immediately executing the file parameter synchronization when the file parameters are changed, so as to prevent frequent file parameter changes in a short time, further better avoid the interruption of the file parameter synchronization business process, avoid the abnormal condition, and ensure that the file parameter synchronization business executed by the module terminal is more efficient and robust.

Synchronization service scenario 3: real-time detection (i.e. self-diagnostic process) for broadband carrier virtual routing online status

In this embodiment, the self-recovery processing operation matching the synchronous service scenario 3 includes the following steps:

step c1, the module terminal judges whether the file parameters are synchronized within the preset time period Tc:

when the file parameters are not synchronized within the preset time period Tc, starting file parameter synchronization operation; otherwise, file synchronization is executed according to the protocol specification corresponding to the broadband carrier virtual route. Here, the preset time period Tc may also be set as needed, for example, the preset time period Tc is set to 10 min.

Although preferred embodiments of the present invention have been described in detail hereinabove, it should be clearly understood that modifications and variations of the present invention are possible to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种时间同步方法、装置及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!