CN108616429A - A kind of reconnection method and equipment of Push Service - Google Patents

A kind of reconnection method and equipment of Push Service Download PDF

Info

Publication number
CN108616429A
CN108616429A CN201810456987.6A CN201810456987A CN108616429A CN 108616429 A CN108616429 A CN 108616429A CN 201810456987 A CN201810456987 A CN 201810456987A CN 108616429 A CN108616429 A CN 108616429A
Authority
CN
China
Prior art keywords
reconnection
abnormal
push service
communication link
abnormal index
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810456987.6A
Other languages
Chinese (zh)
Other versions
CN108616429B (en
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810456987.6A priority Critical patent/CN108616429B/en
Priority to PCT/CN2018/097553 priority patent/WO2019218480A1/en
Publication of CN108616429A publication Critical patent/CN108616429A/en
Application granted granted Critical
Publication of CN108616429B publication Critical patent/CN108616429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0681Configuration of triggering conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The present invention is suitable for Internet technical field, provides a kind of reconnection method and equipment of Push Service, including:If receiving Push Service enabled instruction, abnormal reconnection monitor is activated;Communication link is added to eavesdropping target's list of application environment collecting thread, and obtains the operating parameter of communication link by application environment collecting thread;It calls the abnormal reconnection monitor to extract operating parameter from the output signal of application environment collecting thread, and determines the abnormal index of operating parameter;If abnormal index is more than outlier threshold, reconnection operation is executed based on reconnection response parameter, and obtain the abnormal index after reconnection, the abnormal index after reconnection is less than or equal to outlier threshold.The embodiment of the present invention is not required to the cycle task under dependence main thread to be detected to the exception of communication link, a large amount of resources for being originally used for maintaining cycle task is released, to improve the efficiency of reconnection operation.

Description

A kind of reconnection method and equipment of Push Service
Technical field
The invention belongs to the reconnection methods and equipment of Internet technical field more particularly to a kind of Push Service.
Background technology
It is mutually passed since the user between different server can not directly carry out message, it can be by one of them Server then pushes away the message to another server for having subscribed Push Service to Push Service Database Publishing message The mode sent realizes that message mutually passes, therefore whether the communication link between server and Push Service database is reliable, then directly Influence the communication efficiency between user.
The reconnection method of existing Push Service, mainly by under the main thread of server create a cycle task come The case where communication link is with the presence or absence of interrupting is detected, however cycle task can bring larger computational burden for server, go out When existing communication link exception, server not only needs to distribute resource to execute reconnection operation, it is also necessary to additional operation be spent to provide Source maintains the cycle task, to reducing reconnection efficiency.
Invention content
In view of this, an embodiment of the present invention provides a kind of reconnection method of Push Service and equipment, to solve existing push away The reconnection method of business is taken, is not only needed to distribute resource to execute reconnection operation, it is also necessary to additional calculation resources be spent to tie up Hold the abnormal cycle task of monitoring connection, the less efficient problem of reconnection.
The first aspect of the embodiment of the present invention provides a kind of reconnection method of Push Service, including:
If receiving Push Service enabled instruction, abnormal reconnection monitor is activated;The exception reconnection monitor is used for Whether the communication link between monitoring and Push Service database is abnormal;The exception reconnection monitor configured with outlier threshold with And reconnection response parameter;
The communication link is added to eavesdropping target's list of application environment collecting thread, and passes through the application environment Collecting thread obtains the operating parameter of the communication link;
The abnormal reconnection monitor is called to extract the operation from the output signal of the application environment collecting thread Parameter, and determine the abnormal index of the operating parameter;
If the abnormal index is more than the outlier threshold, reconnection operation is executed based on the reconnection response parameter, and The abnormal index after reconnection is obtained, the abnormal index after the reconnection is less than or equal to the outlier threshold.
The second aspect of the embodiment of the present invention provides a kind of reconnection equipment of Push Service, including memory, processor And it is stored in the computer program that can be run in the memory and on the processor, the processor executes the meter Each step of first aspect is realized when calculation machine program.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and each step of first aspect is realized when the computer program is executed by processor.
Implementing a kind of reconnection method of Push Service provided in an embodiment of the present invention and terminal device has below beneficial to effect Fruit:
The embodiment of the present invention is by the way that when detecting that user initiates Push Service enabled instruction, then activation is for monitoring and pushing away The abnormal reconnection monitor of the communication link abnormal conditions between service database is sent, and above-mentioned communication link is added to monitoring In list object, to obtain the operating parameter of the communication link in real time;Due to abnormal reconnection monitor configured with outlier threshold with And reconnection response parameter, can automatic identification communication link with the presence or absence of abnormal, without being carried out by the main thread of server Abnormal monitoring reduces abnormality monitoring and operates occupied resource.When abnormal reconnection monitor is recognized based on operating parameter meter When the abnormal index of calculation is more than preset pre-stored threshold values, then it can be based on reconnection response parameter and execute reconnection operation, safeguard and push Communication link between service database improves the reliability of data transmission.With the reconnection method phase of existing Push Service Than that since monitor has independence, sub-line journey can be transferred to be managed, therefore the present invention is not required to rely on following under main thread Ring task is detected the exception of communication link, a large amount of resources for being originally used for maintaining cycle task is released, to carrying The high efficiency of reconnection operation.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation flow chart of the reconnection method for Push Service that first embodiment of the invention provides;
Fig. 2 is a kind of reconnection method S104 specific implementation flow charts for Push Service that second embodiment of the invention provides;
Fig. 3 is a kind of reconnection method S103 specific implementation flow charts for Push Service that third embodiment of the invention provides;
Fig. 4 is a kind of reconnection method specific implementation flow chart for Push Service that fourth embodiment of the invention provides;
Fig. 5 is a kind of specific implementation flow chart of the reconnection method for Push Service that fifth embodiment of the invention provides;
Fig. 6 is a kind of structure diagram of the reconnection equipment for Push Service that one embodiment of the invention provides;
Fig. 7 is a kind of schematic diagram of the reconnection equipment for Push Service that another embodiment of the present invention provides.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
The embodiment of the present invention is by the way that when detecting that user initiates Push Service enabled instruction, then activation is for monitoring and pushing away The abnormal reconnection monitor of the communication link abnormal conditions between service database is sent, and above-mentioned communication link is added to monitoring In list object, to obtain the operating parameter of the communication link in real time;Due to abnormal reconnection monitor configured with outlier threshold with And reconnection response parameter, can automatic identification communication link with the presence or absence of abnormal, without being carried out by the main thread of server Abnormal monitoring reduces abnormality monitoring and operates occupied resource.When abnormal reconnection monitor is recognized based on operating parameter meter When the abnormal index of calculation is more than preset pre-stored threshold values, then it can be based on reconnection response parameter and execute reconnection operation, safeguard and push Communication link between service database improves the reliability of data transmission, solves the reconnection method of existing Push Service, It not only needs to distribute resource to execute reconnection operation, it is also necessary to spend additional calculation resources to maintain monitoring connection is abnormal to follow Ring task, the less efficient problem of reconnection.
In embodiments of the present invention, the executive agent of flow is the reconnection equipment of Push Service.The reconnection of the Push Service Equipment includes but not limited to:Laptop, computer, server, tablet computer and smart mobile phone etc. have Push Service Reconnection function equipment.Particularly, the reconnection equipment of the Push Service is specially to have subscribed setting for Redis database servers It is standby, the communication connection during subscription between persistence maintenance and Redis database servers.Fig. 1 shows that the present invention first is real The implementation flow chart of the reconnection method of the Push Service of example offer is applied, details are as follows:
In S101, if receiving Push Service enabled instruction, abnormal reconnection monitor is activated;The exception reconnection prison Listen device whether abnormal for monitoring the communication link between Push Service database;The exception reconnection monitor is configured with different Normal threshold value and reconnection response parameter.
In the present embodiment, the reconnection equipment of Push Service can receive the letter of push server push by way of subscription Breath, in this case, if push server receives the message sent from other equipment, it will to having subscribed the Push Service The message that each equipment of device transmits and receives, to realize that the information between cross-server is transmitted.Certainly, reconnection equipment in addition to Can receive push server push message outside, can also release news to push server, and by push server to its He pushes equipment into row information.
In the present embodiment, it when reconnection equipment receives the Push Service enabled instruction of user's transmission, then can activate different Chang Chonglian monitors, and the communication link between reconnection equipment and Push Service database is monitored by the exception reconnection monitor With the presence or absence of exception.It optionally, then can be automatically logical with Push Service Database when the reconnection equipment of Push Service starts Letter connection, generates corresponding communication link, and in this case, i.e. reconnection equipment can generate a push clothes after startup Pushing service function is opened in business device enabled instruction, and abnormal reconnection is accordingly activated to answer device.
Optionally, further include before S101:Operation layer is with Spring Open Frameworks in the reconnection equipment of Push Service It is built.Reconnection equipment can create a monitor, and configure the establishment based on outlier threshold and reconnection response parameter Monitor is associated with the event of the monitor and required monitoring, i.e., a monitor pair is configured under the Open Framework of spring The listener classes and the corresponding Event classes of monitoring event answered, and in the configuration file of spring Open Frameworks in statement State two classes.Since Push Service is to be run in operation layer, and the operation layer of reconnection equipment is to be based on spring Open Frameworks Build, if therefore abnormal reconnection monitor can be activated automatically when starting Push Service, need to increase income frame in spring Corresponding listener classes and Event classes are configured under frame.
In the present embodiment, abnormal reconnection monitor is configured with outlier threshold, and current communication is identified based on outlier threshold Whether link is in abnormality, is the criterion of an anomalous identification;The exception reconnection monitor is additionally provided with reconnection sound Answer parameter, reconnection equipment that can be based on the reconnection response parameter and execute corresponding reconnection operation.It should be noted that above-mentioned two Class parameter can be configured by the user of reconnection equipment, can also uniformly be sent to each have subscribed by Push Service database The equipment of its Push Service.In this case, when Push Service database detection has been sent to Push Service to any appliance Above-mentioned two parameter can be packaged in this and succeeded in registration in information, to subscribe to by registration request when information is succeeded in registration in return Each equipment of the Push Service database is based on above-mentioned two classes parameter configuration exception reconnection monitor.
In S102, the communication link is added to eavesdropping target's list of application environment collecting thread, and passes through institute State the operating parameter that application environment collecting thread obtains the communication link.
In the present embodiment, reconnection equipment, can be right by abnormal reconnection monitor institute after having activated abnormal reconnection monitor Communication link between the eavesdropping target answered, i.e. reconnection equipment and Push Service database is added to application environment collecting thread In eavesdropping target's list, and the operating parameter of the communication link is obtained by application environment collecting thread, based on what is collected Operating parameter, identifies whether the communication link is in abnormality.Since communication link is abnormal, it can generally be reflected in it Above operating parameter, i.e., the relevant parameter in transmission process, such as transmission rate, time delay, signal-to-noise ratio, the bit error rate, signal strength Deng.
In the present embodiment, application environment collecting thread be mainly used for obtain all kinds monitor correspond to eavesdropping target's Operating parameter.Specifically, application environment collecting thread establishes operating parameter acquisition protocols with all of the port in reconnection equipment, Based on the acquisition protocols, the operating parameter of each port can be reported to application environment collecting thread automatically, then different monitors The operating parameter of corresponding eavesdropping target, to determine whether monitoring event triggers.
In the present embodiment, reconnection equipment and Push Service Database subscribing relationship, and connect by communication link When receiving the information of Push Service database push, application environment collecting thread can continue to obtain the operating parameter of communication link, The operating parameter is stored in corresponding buffer zone based on the order for obtaining the time, which is the team of a regular length Row, abnormal reconnection monitor can obtain required operating parameter from corresponding queue, and execute the relevant operation of S103.
In S103, the abnormal reconnection monitor is called to be extracted from the output signal of the application environment collecting thread The operating parameter, and determine the abnormal index of the operating parameter.
In the present embodiment, after provided with abnormal reconnection monitor, which can be based on reconnection equipment Preset frequency acquisition obtains the operating parameter of communication link from application environment collecting thread.Wherein, which can be with The clock frequency for attached device of attaching most importance to, in such a case it is possible to which be identified as the exception reconnection monitor monitors communication link in real time Operating parameter;The frequency acquisition can also be based on for being configured, i.e. a listening period, in this case, monitor is with pre- If listening period interval obtain operating parameter from application environment collecting thread.It should be noted that application environment gathering line The size that journey stores the buffer zone of the operating parameter can be determined that i.e. monitoring frequency is higher, is distributed based on frequency is monitored Buffer zone it is fewer;If conversely, monitor frequency it is lower, the buffer zone distributed is bigger, be stored in listening intervals it Between acquired obtained operating parameter.
Optionally, in the present embodiment, can be that the monitor configures corresponding monitoring thing when abnormal reconnection monitor is set Part, the monitoring event for abnormal reconnection monitor are specially the operating parameter of communication link, therefore can be that the monitoring event is matched Set corresponding Event classes.And when communication link to be added to eavesdropping target's list of application environment collecting thread, it is also desirable to An onApplicationEvent class is created in eavesdropping target's list.Reconnection equipment can be corresponding by abnormal reconnection monitor Event classes are configured to identical class name with the onApplicationEvent classes in eavesdropping target's list, to improve exception Reconnection monitor quickly extracts the operating parameter of communication link from application environment collecting thread.
In the present embodiment, reconnection equipment can pass through preset abnormal system after obtaining the operating parameter of communication link Number transfer algorithm, calculates the corresponding abnormal index of the operating parameter.Optionally, reconnection equipment can be each ginseng in operating parameter One corresponding threshold range of several configurations calculates in operating parameter the number for the parameter item for being more than threshold range, is based on the ginseng Several numbers determine the abnormal index of current time communication link.Certainly, which may be a Hash Operating parameter is imported into the hash function by function, the also corresponding cryptographic Hash of operating parameter is determined, using the cryptographic Hash as fortune The corresponding abnormal index of row parameter.
In the present embodiment, if abnormal index is less than or equal to the outlier threshold of abnormal reconnection monitor configuration, then it represents that when Communication link normal operation between preceding reconnection equipment and Push Service database can wait for next without reconnecting The arrival of listening period returns to the operation of S102;If conversely, the abnormal index is more than outlier threshold, then it represents that current communication Link exists abnormal or has interrupted, and needs the relevant operation for executing S104.
In S104, if the abnormal index is more than the outlier threshold, weight is executed based on the reconnection response parameter It even operates, and obtains the abnormal index after reconnection, the abnormal index after the reconnection is less than or equal to the outlier threshold.
In the present embodiment, if being more than outlier threshold based on the abnormal index that operating parameter determines, reconnection equipment can be from Preconfigured reconnection response parameter is extracted in abnormal reconnection monitor, and reconnection operation is executed based on the reconnection response parameter, To re-establish the communication linkage between reconnection equipment and Push Service database, after reconnection operation is finished, reconnection is set It is standby to call abnormal reconnection monitor extraction operating parameter again and calculate corresponding abnormal index after reconnection, if the exception is held Row then executes the relevant operation of S104 again still above outlier threshold, when abnormal index is less than or equal to outlier threshold, Indicate that the communication link of reconnection equipment and Push Service database restores normal.
Optionally, reconnection response parameter includes the reconnection period, and reconnection equipment can be based on the reconnection period and database Server establishes communication link.The reconnection response parameter can also include the mailing address of standby database, and reconnection equipment can be with It establishes and communicates to connect with standby database, and receive the message of other equipment publication by standby database.
Above as can be seen that a kind of reconnection method of Push Service provided in an embodiment of the present invention is by detecting user When initiating Push Service enabled instruction, then activation is for monitoring the communication link abnormal conditions between Push Service database Abnormal reconnection monitor, and above-mentioned communication link is added in eavesdropping target's list, to obtain the fortune of the communication link in real time Row parameter;It, being capable of automatic identification communication link since abnormal reconnection monitor is configured with outlier threshold and reconnection response parameter It is occupied to reduce abnormality monitoring operation without carrying out abnormal monitoring by the main thread of server with the presence or absence of exception Resource.When abnormal reconnection monitor, which recognizes the abnormal index calculated based on operating parameter, is more than preset pre-stored threshold values, then It can be based on reconnection response parameter and execute reconnection operation, safeguard the communication link between Push Service database, improve data The reliability of transmission.Compared with the reconnection method of existing Push Service, since monitor has independence, sub-line can be transferred to Journey is managed, therefore the present invention is not required to the cycle task under dependence main thread to be detected to the exception of communication link, releases A large amount of resources for being originally used for maintaining cycle task are put, to improve the efficiency of reconnection operation.
Fig. 2 shows the specific implementation streams of the reconnection method S104 of Push Service of second embodiment of the invention offer a kind of Cheng Tu.It is shown in Figure 2, state embodiment relative to Fig. 1, S104 in a kind of reconnection method of Push Service provided in this embodiment Including:S1041~S1044, specific details are as follows:
Further, the reconnection response parameter includes:Reconnection period, adjusting step and reconnection frequency threshold value;It is described Reconnection operation is executed based on the reconnection response parameter, including:
In S1041, according to the reconnection period distances and the Push Service Database communication link, and adjust The count value of reconnection counter.
In the present embodiment, abnormal index is being detected for the first time comprising reconnection period, reconnection equipment in reconnection response parameter When more than preset outlier threshold, a reconnection counter can be created, to count the secondary reconnection equipment and Push Service database Between communication link is abnormal and the number of reconnection operation that executes.It should be noted that the initial value of the reconnection counter is 0, A reconnection operation is often executed, reconnection equipment can then be carried out to the reconnection counter plus 1 operation, to by reading the reconnection meter The counter of number device, then can determine the number that reconnection operation is executed based on the current reconnection period.
In the present embodiment, reconnection equipment can first disconnect the communication link between push server database, and to pushing away Service database is sent to send a connection request, to re-establish communication link.If there is no in the preset time for reconnection equipment The connection confirmation message that the return of Push Service database is received in threshold value, then increase the count value of reconnection counter, and again The arrival for waiting for next reconnection period, sends connection request, repeats above-mentioned steps again;If in preset time threshold The connection confirmation message for inside receiving the return of Push Service database, then obtain the communication link by application environment collecting thread Operating parameter, and execute the relevant operation of S1042.
In S1042, the operating parameter of the communication link after reconnection is obtained, and calls the abnormal reconnection monitor Calculate the abnormal index of the operating parameter after reconnection.
In the present embodiment, as described in S102 and S103, since the communication link has added to application environment acquisition In eavesdropping target's list of thread, therefore after communication link reconnect, it again may be by application environment collecting thread and obtain The operating parameter of the communication link is taken, then reconnection abnormality monitoring device can be carried from the output signal of application environment collecting thread It takes the operating parameter and calculates its corresponding abnormal index.It should be noted that the computational methods of the abnormal index are referred to Computational methods described in S103, details are not described herein.
It in the present embodiment, can be the abnormal index after the abnormal index after reconnection is determined corresponding to communication link It is compared again with outlier threshold, whether abnormality is in the current communication link of determination.If the abnormal index is small In or equal to outlier threshold, no matter then whether the count value of reconnection counter is more than reconnection frequency threshold value, identification reconnection is successful, Continue through the message that the communication link receives the push of push server;If conversely, after reconnection, which is still more than Outlier threshold, then it represents that reconnection fails, the size of the count value based on reconnection counter, and selection executes the behaviour of S1043 or S1044 Make.
In S1043, if the count value of the reconnection counter is less than or equal to the reconnection frequency threshold value, and after reconnection The abnormal index be more than the outlier threshold, then return execution according to the reconnection period distances and the Push Service number The operation of communication link is established according to library.
In the present embodiment, when the abnormal coefficient after reconnection is still greater than outlier threshold, indicate that current communications link is still located It in abnormality, needs to execute reconnection operation again, in this case, if the count value of reconnection counter is less than or equal to reconnection Frequency threshold value, then it represents that be based on the current reconnection period, performed reconnection operation number still without departing from preset value, can continue base In the reconnection period distances and Push Service Database communication link, therefore execution can be returned to according to during the reconnection week Every the operation with the Push Service Database communication link.
In S1044, if the count value of the reconnection counter is more than the reconnection frequency threshold value, and it is described after reconnection Abnormal index is more than the outlier threshold, then is based on the adjusting step and updates the reconnection period, initialize the reconnection meter The count value of number device, and return and execute according to the reconnection period distances and the Push Service Database communication link Operation.
In the present embodiment, if the count value of reconnection counter is more than reconnection frequency threshold value, then it represents that be based on current reconnection Reconnection operation number performed by period has exceeded preset value, needs to be adjusted the reconnection period, to optimize reconnection equipment Reconnection operation.Specifically, reconnection equipment can be based on the adjusting step update reconnection period, and update operation can be to be walked based on adjustment The long duration for increasing the reconnection period can reduce the duration in reconnection period based on adjusting step.
For the first situation, i.e., increase the duration in reconnection period, in this case, the reconnection period based on adjusting step Initial value is smaller, when just detecting communication link exception, to be communicated to connect with the fast quick-recovery of upper frequency.But due to High-frequency reconnection can consume the more resource of reconnection equipment, therefore when the number for executing reconnection operation based on the reconnection period is more than After reconnection frequency threshold value, do not restore communication connection yet, then the frequency for reducing reconnection is needed, to reduce the money that reconnection operation is consumed Source number.Certainly, a maximum reconnection period can be arranged in reconnection equipment, be more than the maximum reconnection period when the updated reconnection period When, reconnection operation can be executed with the maximum reconnection period.
For the second situation, i.e., the duration in reconnection period, in this case, the reconnection period are reduced based on adjusting step Initial value is larger, and in the case of being abnormal, general circuit reparation needs certain processing time, if high in this case take place frequently Connection request is sent, will increase the load of circuit instead, to reduce the speed of reparation.In order to avoid the above situation, reconnection is set The initial value in standby setting reconnection period is larger, and gradually reduces the duration in reconnection period, over time, repair also by It gradually completes, therefore increasing reconnection frequency can fast quick-recovery communication.
In embodiments of the present invention, reconnection period, adjusting step and maximum these three parameters of reconnection frequency threshold value are based on, Dynamic adjusts the trigger timing of reconnection operation, while to reduce device resource that reconnection operation is consumed, additionally it is possible to improve weight Even efficiency.
Fig. 3 shows the specific implementation stream of the reconnection method S103 for Push Service that third embodiment of the invention provides a kind of Cheng Tu.It is shown in Figure 3, relative to embodiment described in Fig. 1, in a kind of reconnection method of Push Service provided in this embodiment S103 includes S1031~S1033, and specific details are as follows:
Further, the operating parameter includes:Transmission rate, the bit error rate and signal-to-noise ratio;The determination operation The abnormal index of parameter, including:
In S1031, the historical speed of the transmission rate and the communication link is imported into the first Outlier factor Computation model calculates the first Outlier factor;The Outlier factor computation model is specially:
Wherein, ErrorFactor1For first Outlier factor;HstyRateiFor i-th of historical speed; CurrentRate is the transmission rate;For the mean value of historical speed;N is the number of the historical speed.
In the present embodiment, operating parameter includes transmission rate, the bit error rate and signal-to-noise ratio, and reconnection equipment is based respectively on It states three classes parameter and determines three Outlier factors, and the abnormal index corresponding to operating parameter is calculated based on Outlier factor, to Obtained abnormal index can accurately determine whether current communication link is in abnormality.
In the present embodiment, the historical speed that the reconnection equipment of Push Service can be had based on record, calculates historical speed Mean value, and calculate the standard deviation of historical speed, determines the offset of standard, then by the transmission rate that currently acquires with The mean value of historical speed determines current offset, calculates the ratio between current offset and the offset of standard, by this Ratio is as the first Outlier factor.When ratio is bigger, then it represents that current offset has exception, and rate is more than normal rate Range, to which when calculating abnormal index, contribution amount is also larger;If conversely, the ratio is smaller, then it represents that current offset In normal range, this parameter of transmission rate is simultaneously not present abnormal.
In S1032, based on the product between the transmission rate and the bit error rate, determine second it is abnormal because Son.
In the present embodiment, reconnection equipment is after the transmission rate and the bit error rate that present transmission link is determined, can be with The product between transmission rate and the bit error rate is calculated, determines the number of error character in the unit interval, is based on the error character Number as the second Outlier factor.Since the character of mistake is bigger, then it represents that the communication quality of current communications link is poorer, from And the numerical value of the second Outlier factor is also bigger.
In S1033, first Outlier factor, the second Outlier factor and institute's signal-to-noise ratio are imported into abnormal index and calculated Model calculates the abnormal index of the operating parameter;The abnormal index computation model is specially:
ErrorLevel=10lg (Weight1*ErrorFactor1+Weight2*ErrorFactor2)
+Weight3*SNR
Wherein, ErrorLevel is the abnormal index, ErrorFactor2For second Outlier factor;SNR is institute State signal-to-noise ratio, Weight1、Weight2、Weight3For predetermined coefficient.
In the present embodiment, since the unit of signal-to-noise ratio is decibel (dB), in order to ensure that dimension unification, reconnection equipment exist After calculating the first Outlier factor and the second Outlier factor, above-mentioned two Outlier factor is converted to the parameter as unit of dB Value, then between calculating and signal-to-noise ratio and, the abnormal index as operating parameter.
In the present embodiment, the first Outlier factor, the second Outlier factor and signal-to-noise ratio are each equipped with a weighted value, i.e., Above-mentioned Weight1、Weight2、Weight3, user can be based on the message calls for transmitting message, adjustment above three The numerical value of weight.For example, the data volume of the message if desired exported is larger, then transmission rate is important to notice that, to Weight1Numerical value can be more than other two predetermined coefficient value;If desired the data volume for the message transmitted is smaller, then needs The accuracy rate for ensureing the message received every time avoids repeating to send, therefore Weight2、Weight3Numerical value can be more than Weight1Value.
In embodiments of the present invention, it is based respectively on the parameter item for including in operating parameter, determines corresponding Outlier factor, so It is based on each Outlier factor afterwards and calculates abnormal index, to improve the standard that abnormal index characterizes communication link abnormal conditions True rate then improves the accuracy rate of anomalous identification.
Fig. 4 shows a kind of specific implementation flow of the reconnection method for Push Service that fourth embodiment of the invention provides Figure.It is shown in Figure 4, relative to embodiment described in Fig. 1~Fig. 3, a kind of reconnection method of Push Service provided in this embodiment If Push Service enabled instruction is received described in, before activating abnormal reconnection monitor, further includes:S401~S402, It is specific that details are as follows:
In S401, push authorization requests are sent to the Push Service database, and obtain the Push Service data The mark in library.
In the present embodiment, the reconnection equipment of Push Service can be connect with multiple Push Service databases simultaneously, to The message of multiple Push Service database push is received, i.e. reconnection equipment needs while safeguarding multiple communication links.In order to distinguish Different communication link simultaneously configures multiple monitors, reconnection equipment when sending push authorization requests to Push Service database, When i.e. with Push Service Database subscribing relationship, then the mark of the Push Service database is obtained, to pass through the tag slot Divide different Push Service databases.
Specifically, reconnection equipment sends push authorization requests to Push Service database, and the database is to the push mandate Request carries out authentication operations, identifies whether the equipment subscribes to the message of database push with permission, if it authenticates successfully, such as The device numbering of reconnection equipment then returns to one and authorizes successful information to Push Service in the white list of Push Service database Data, and the corresponding mark of the database is packaged in and is authorized in successful information, reconnection equipment is extracted from the mandate successful information The mark.
In S402, according to the mark and the outlier threshold input by user and the reconnection response parameter, wound Build the corresponding abnormal reconnection monitor of the Push Service database.
In the present embodiment, reconnection equipment is in the mark for obtaining Push Service database, and receives user setting After outlier threshold and reconnection response parameter, the abnormal reconnection monitor of the Push Service database can be created, in rear continued access When receiving the message of Push Service database transmission, the communication link established with it is monitored by the exception reconnection monitor.
It should be noted that reconnection equipment is when executing the operation of S101, which also contains mesh The mark for marking Push Service database, to which reconnection equipment then starts and the abnormal reconnection monitor corresponding to the mark.
In embodiments of the present invention, when creating abnormal reconnection monitor corresponding Push Service database is configured for it Mark, with realize simultaneously receive disparate databases push message, improve reconnection equipment acquisition information efficiency, and due to Monitor does not depend on host process maintenance, can be executed by asynchronous process, a plurality of so as to be safeguarded simultaneously by multiple monitors Communication link.
Fig. 5 shows a kind of specific implementation flow of the reconnection method for Push Service that fifth embodiment of the invention provides Figure.Shown in Figure 5, relative to embodiment described in Fig. 1-Fig. 3, a kind of reconnection method of Push Service provided in this embodiment exists After the abnormal index of the determination operating parameter, further include:S501 and S502, specific details are as follows:
In S501, if the abnormal index is less than or equal to the outlier threshold, to the Push Service database Send a test data bag.
In the present embodiment, if abnormal index be less than or equal to outlier threshold, then it represents that the reconnection equipment of Push Service with Communication link between Push Service database and there is no abnormal, but need to receive PUSH message other than link is without exception, The port for also needing to database server is normal, therefore, a test data bag can be sent to Push Service database, with detection Whether the port being connect with Push Service database can carry out response to request.
In the present embodiment, if the port is without exception, reply data packet is returned to reconnection equipment within the preset time, If reconnection equipment receives the reply data packet in preset time, identify that the communication link and the port are without exception, then Current connection state is kept, the message that Push Service database is sent is received;Conversely, dragging this is not received within the preset time Reply data packet then executes the relevant operation of S502.
In S502, returned based on the test data bag if not receiving the Push Service database in preset time The reply data packet returned then executes described based on reconnection response parameter execution reconnection operation operation.
In the present embodiment, if reconnection equipment does not receive Push Service database in preset time and is based on test data Wrap the reply data packet returned, then it represents that although the operating parameter of the communication link and without exception, Push Service database without The request that method response reconnection equipment is initiated, it is possible to which port connected to it has exception, needs to re-establish company with database It connects, to replace or activate the port, so that port being capable of normal transceiving data.
In embodiments of the present invention, by sending test data bag to Push Service database, to ensure the port of connection Can normal transceiving data, be not concerned only with the operating parameter of communication link whether in default range, moreover it is possible to detect port property Energy state, improves the accuracy rate of maintenance.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Fig. 6 shows a kind of structure diagram of the reconnection equipment for Push Service that one embodiment of the invention provides, the push The each unit that the reconnection equipment of service includes is used to execute each step in the corresponding embodiments of Fig. 1.Referring specifically to Fig. 1 and figure The associated description in embodiment corresponding to 1.For convenience of description, only the parts related to this embodiment are shown.
Referring to Fig. 6, the reconnection equipment of the Push Service includes:
If monitor activation unit 61 activates abnormal reconnection monitor for receiving Push Service enabled instruction;Institute It is whether abnormal for monitoring the communication link between Push Service database to state abnormal reconnection monitor;The exception reconnection prison Device is listened to be configured with outlier threshold and reconnection response parameter;
Operating parameter acquiring unit 62, the eavesdropping target for the communication link to be added to application environment collecting thread List, and obtain by the application environment collecting thread operating parameter of the communication link;
Operating parameter extraction unit 63, for calling the abnormal reconnection monitor from the application environment collecting thread The operating parameter is extracted in output signal, and determines the abnormal index of the operating parameter;
Reconnection execution unit 64 is responded if being more than the outlier threshold for the abnormal index based on the reconnection Parameter executes reconnection operation, and obtains the abnormal index after reconnection, and the abnormal index after the reconnection is less than or equal to institute State outlier threshold.
Optionally, the reconnection response parameter includes:Reconnection period, adjusting step and reconnection frequency threshold value;It is described heavy Even execution unit 64 includes:
Reconnection counting unit, for according to the reconnection period distances and the Push Service Database communication chain Road, and adjust the count value of reconnection counter;
Abnormal index weight acquiring unit, the operating parameter for obtaining the communication link after reconnection, and described in calling Abnormal reconnection monitor calculates the abnormal index of the operating parameter after reconnection;
First reconnection unit, if the count value for the reconnection counter is less than or equal to the reconnection frequency threshold value, And the abnormal index after reconnection is more than the outlier threshold, then returns to execution and pushed away with described according to the reconnection period distances Take the operation of business Database communication link;
Second reconnection unit, if the count value for the reconnection counter is more than the reconnection frequency threshold value, and reconnection The abnormal index afterwards is more than the outlier threshold, then is based on the adjusting step and updates the reconnection period, initialize institute The count value of reconnection counter is stated, and it is logical according to the reconnection period distances and the Push Service Database to return to execution Believe the operation of link.
Optionally, the operating parameter includes:Transmission rate, the bit error rate and signal-to-noise ratio;The operating parameter extraction is single First 63 include:
First Outlier factor computing unit, for importing the transmission rate and the historical speed of the communication link To the first Outlier factor computation model, the first Outlier factor is calculated;The Outlier factor computation model is specially:
Wherein, ErrorFactor1For first Outlier factor;HstyRateiFor i-th of historical speed; CurrentRate is the transmission rate;For the mean value of historical speed;N is the number of the historical speed;
Second Outlier factor computing unit is used for based on the product between the transmission rate and the bit error rate, Determine the second Outlier factor;
Abnormal index computing unit, for importing first Outlier factor, the second Outlier factor and institute's signal-to-noise ratio Abnormal index computation model calculates the abnormal index of the operating parameter;The abnormal index computation model is specially:
ErrorLevel=10lg (Weight1*ErrorFactor1+Weight2*ErrorFactor2)
+Weight3*SNR
Wherein, ErrorLevel is the abnormal index, ErrorFactor2For second Outlier factor;SNR is institute State signal-to-noise ratio, Weight1、Weight2、Weight3For predetermined coefficient.
Optionally, the reconnection equipment of the Push Service further includes:
Database Identification acquiring unit for sending push authorization requests to the Push Service database, and obtains institute State the mark of Push Service database;
Monitor creating unit, for being rung according to the mark and the outlier threshold input by user and the reconnection Parameter is answered, the corresponding abnormal reconnection monitor of the Push Service database is created.
Optionally, the reconnection equipment of the Push Service further includes:
Test data bag transmission unit, if being less than or equal to the outlier threshold for the abnormal index, to described Push Service database sends a test data bag;
Third reconnection unit, if being based on the test for not receiving the Push Service database in preset time The reply data packet that data packet returns then executes described based on reconnection response parameter execution reconnection operation operation.
Therefore, the reconnection equipment of Push Service provided in an embodiment of the present invention can equally be not required to rely on following under main thread Ring task is detected the exception of communication link, a large amount of resources for being originally used for maintaining cycle task is released, to carrying The high efficiency of reconnection operation.
Fig. 7 is a kind of schematic diagram of the reconnection equipment for Push Service that another embodiment of the present invention provides.As shown in fig. 7, The reconnection equipment 7 of the Push Service of the embodiment includes:It processor 70, memory 71 and is stored in the memory 71 simultaneously The computer program 72 that can be run on the processor 70, for example, Push Service reconnection program.The processor 70 executes The step in the reconnection method embodiment of above-mentioned each Push Service is realized when the computer program 72, such as shown in FIG. 1 S101 to S104.Alternatively, the processor 70 realizes each list in above-mentioned each device embodiment when executing the computer program 72 The function of member, such as the function of module 61 to 64 shown in Fig. 6.
Illustratively, the computer program 72 can be divided into one or more units, one or more of Unit is stored in the memory 71, and is executed by the processor 70, to complete the present invention.One or more of lists Member can complete the series of computation machine program instruction section of specific function, and the instruction segment is for describing the computer journey Implementation procedure of the sequence 72 in the reconnection equipment 7 of the Push Service.For example, the computer program 72 can be divided into prison Listen device activation unit, operating parameter acquiring unit, operating parameter extraction unit and reconnection execution unit, each unit concrete function As described above.
The reconnection equipment 7 of the Push Service can be desktop PC, notebook, palm PC and cloud server Equal computing devices.The reconnection equipment of the Push Service may include, but be not limited only to, processor 70, memory 71.This field skill Art personnel are appreciated that Fig. 7 is only the example of the reconnection equipment 7 of Push Service, do not constitute and are set to the reconnection of Push Service Standby 7 restriction may include components more more or fewer than diagram, either combine certain components or different components, such as The reconnection equipment of the Push Service can also include input-output equipment, network access equipment, bus etc..
Alleged processor 70 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 71 can be the internal storage unit of the reconnection equipment 7 of the Push Service, such as Push Service Reconnection equipment 7 hard disk or memory.The memory 71 can also be the external storage of the reconnection equipment 7 of the Push Service The plug-in type hard disk being equipped in equipment, such as the reconnection equipment 7 of the Push Service, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, described to deposit Reservoir 71 can also both include the Push Service reconnection equipment 7 internal storage unit and also including External memory equipment.Institute Memory 71 is stated for storing other program sum numbers needed for the reconnection equipment of the computer program and the Push Service According to.The memory 71 can be also used for temporarily storing the data that has exported or will export.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of reconnection method of Push Service, which is characterized in that including:
If receiving Push Service enabled instruction, abnormal reconnection monitor is activated;The exception reconnection monitor is for monitoring Whether the communication link between Push Service database is abnormal;The exception reconnection monitor is configured with outlier threshold and again Even response parameter;
The communication link is added to eavesdropping target's list of application environment collecting thread, and is acquired by the application environment Thread obtains the operating parameter of the communication link;
The abnormal reconnection monitor is called to extract the operating parameter from the output signal of the application environment collecting thread, And determine the abnormal index of the operating parameter;
If the abnormal index is more than the outlier threshold, reconnection operation is executed based on the reconnection response parameter, and obtain Abnormal index after reconnection, the abnormal index after the reconnection are less than or equal to the outlier threshold.
2. reconnection method according to claim 1, which is characterized in that the reconnection response parameter includes:The reconnection period adjusts Synchronizing length and reconnection frequency threshold value;It is described that reconnection operation is executed based on the reconnection response parameter, including:
According to the reconnection period distances and the Push Service Database communication link, and adjust the meter of reconnection counter Numerical value;
The operating parameter of the communication link after reconnection is obtained, and the abnormal reconnection monitor is called to calculate the institute after reconnection State the abnormal index of operating parameter;
If the count value of the reconnection counter is less than or equal to the reconnection frequency threshold value, and the abnormal index after reconnection More than the outlier threshold, then execution is returned according to the reconnection period distances and the Push Service Database communication chain The operation on road;
If the count value of the reconnection counter is more than the reconnection frequency threshold value, and the abnormal index after reconnection is more than institute Outlier threshold is stated, then is based on the adjusting step and updates the reconnection period, initialize the count value of the reconnection counter, and Return to the operation executed according to the reconnection period distances and the Push Service Database communication link.
3. reconnection method according to claim 1, which is characterized in that the operating parameter includes:Transmission rate, the bit error rate And signal-to-noise ratio;The abnormal index of the determination operating parameter, including:
The historical speed of the transmission rate and the communication link is imported into the first Outlier factor computation model, calculates the One Outlier factor;The Outlier factor computation model is specially:
Wherein, ErrorFactor1For first Outlier factor;HstyRateiFor i-th of historical speed; CurrentRate is the transmission rate;For the mean value of historical speed;N is the number of the historical speed;
Based on the product between the transmission rate and the bit error rate, the second Outlier factor is determined;
First Outlier factor, the second Outlier factor and institute signal-to-noise ratio are imported into abnormal index computation model, described in calculating The abnormal index of operating parameter;The abnormal index computation model is specially:
ErrorLevel=10lg (Weight1*ErrorFactor1+Weight2*ErrorFactor2)+Weight3*SNR
Wherein, ErrorLevel is the abnormal index, ErrorFactor2For second Outlier factor;SNR is the noise Than Weight1、Weight2、Weight3For predetermined coefficient.
4. according to claim 1-3 any one of them reconnection methods, which is characterized in that if being opened in the Push Service that receives It is dynamic to instruct, then before activating abnormal reconnection monitor, further include:
Push authorization requests are sent to the Push Service database, and obtain the mark of the Push Service database;
According to the mark and the outlier threshold input by user and the reconnection response parameter, the Push Service is created The corresponding abnormal reconnection monitor of database.
5. according to claim 1-3 any one of them reconnection methods, which is characterized in that in the determination operating parameter After abnormal index, further include:
If the abnormal index is less than or equal to the outlier threshold, a test number is sent to the Push Service database According to packet;
If not receiving the reply data that the Push Service database is returned based on the test data bag in preset time Packet then executes described based on reconnection response parameter execution reconnection operation operation.
6. a kind of reconnection equipment of Push Service, which is characterized in that the reconnection equipment of the Push Service includes memory, processing Device and it is stored in the computer program that can be run in the memory and on the processor, described in the processor executes Following steps are realized when computer program:
If receiving Push Service enabled instruction, abnormal reconnection monitor is activated;The exception reconnection monitor is for monitoring Whether the communication link between Push Service database is abnormal;The exception reconnection monitor is configured with outlier threshold and again Even response parameter;
The communication link is added to eavesdropping target's list of application environment collecting thread, and is acquired by the application environment Thread obtains the operating parameter of the communication link;
The abnormal reconnection monitor is called to extract the operating parameter from the output signal of the application environment collecting thread, And determine the abnormal index of the operating parameter;
If the abnormal index is more than the outlier threshold, reconnection operation is executed based on the reconnection response parameter, and obtain Abnormal index after reconnection, the abnormal index after the reconnection are less than or equal to the outlier threshold.
7. reconnection equipment according to claim 6, which is characterized in that the reconnection response parameter includes:The reconnection period adjusts Synchronizing length and reconnection frequency threshold value;It is described that reconnection operation is executed based on the reconnection response parameter, including:
According to the reconnection period distances and the Push Service Database communication link, and adjust the meter of reconnection counter Numerical value;
The operating parameter of the communication link after reconnection is obtained, and the abnormal reconnection monitor is called to calculate the institute after reconnection State the abnormal index of operating parameter;
If the count value of the reconnection counter is less than or equal to the reconnection frequency threshold value, and the abnormal index after reconnection More than the outlier threshold, then execution is returned according to the reconnection period distances and the Push Service Database communication chain The operation on road;
If the count value of the reconnection counter is more than the reconnection frequency threshold value, and the abnormal index after reconnection is more than institute Outlier threshold is stated, then is based on the adjusting step and updates the reconnection period, initialize the count value of the reconnection counter, and Return to the operation executed according to the reconnection period distances and the Push Service Database communication link.
8. reconnection equipment according to claim 6, which is characterized in that the operating parameter includes:Transmission rate, the bit error rate And signal-to-noise ratio;The abnormal index of the determination operating parameter, including:
The historical speed of the transmission rate and the communication link is imported into the first Outlier factor computation model, calculates the One Outlier factor;The Outlier factor computation model is specially:
Wherein, ErrorFactor1For first Outlier factor;HstyRateiFor i-th of historical speed; CurrentRate is the transmission rate;For the mean value of historical speed;N is the number of the historical speed;
Based on the product between the transmission rate and the bit error rate, the second Outlier factor is determined;
First Outlier factor, the second Outlier factor and institute signal-to-noise ratio are imported into abnormal index computation model, described in calculating The abnormal index of operating parameter;The abnormal index computation model is specially:
ErrorLevel=10lg (Weight1*ErrorFactor1+Weight2*ErrorFactor2)+Weight3*SNR
Wherein, ErrorLevel is the abnormal index, ErrorFactor2For second Outlier factor;SNR is the noise Than Weight1、Weight2、Weight3For predetermined coefficient.
9. according to claim 6-8 any one of them reconnection equipment, which is characterized in that if being opened in the Push Service that receives Dynamic instruction, then before activating abnormal reconnection monitor, the processor also realizes following steps when executing the computer program:
Push authorization requests are sent to the Push Service database, and obtain the mark of the Push Service database;
According to the mark and the outlier threshold input by user and the reconnection response parameter, the Push Service is created The corresponding abnormal reconnection monitor of database.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201810456987.6A 2018-05-14 2018-05-14 reconnection method and device for push service Active CN108616429B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810456987.6A CN108616429B (en) 2018-05-14 2018-05-14 reconnection method and device for push service
PCT/CN2018/097553 WO2019218480A1 (en) 2018-05-14 2018-07-27 Method and device for reconnecting push service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810456987.6A CN108616429B (en) 2018-05-14 2018-05-14 reconnection method and device for push service

Publications (2)

Publication Number Publication Date
CN108616429A true CN108616429A (en) 2018-10-02
CN108616429B CN108616429B (en) 2019-12-13

Family

ID=63663327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810456987.6A Active CN108616429B (en) 2018-05-14 2018-05-14 reconnection method and device for push service

Country Status (2)

Country Link
CN (1) CN108616429B (en)
WO (1) WO2019218480A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965066A (en) * 2018-10-17 2018-12-07 网宿科技股份有限公司 The method and apparatus that a kind of pair of transmission path is detected
CN109413612A (en) * 2018-10-22 2019-03-01 深圳市元征科技股份有限公司 A kind of communication connection method for building up and equipment
CN109462646A (en) * 2018-11-12 2019-03-12 平安科技(深圳)有限公司 A kind of method and apparatus of exception response
CN112351094A (en) * 2020-11-02 2021-02-09 深圳市安软科技股份有限公司 Webpage pushing method and device, electronic equipment and storage medium
CN113055246A (en) * 2021-03-11 2021-06-29 中国工商银行股份有限公司 Abnormal service node identification method, device, equipment and storage medium
CN114175698A (en) * 2019-08-07 2022-03-11 三星电子株式会社 Apparatus and method for fast communication between a master device and a slave device
WO2022068564A1 (en) * 2020-09-30 2022-04-07 华为技术有限公司 Device abnormality monitoring method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277723A (en) * 2022-07-19 2022-11-01 国能信控互联技术有限公司 Buffer event-based breakpoint continuous transmission method and system for edge acquisition history module

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220309A (en) * 2012-01-19 2013-07-24 北京智慧风云科技有限公司 Cloud computing system pushing service information automatically and implementation method thereof
CN105808650A (en) * 2016-02-26 2016-07-27 中国地质大学(武汉) Skin care product pushing method and pushing server
CN106060846A (en) * 2016-05-24 2016-10-26 北京雾联科技有限公司 Method of collecting and displaying wireless network performance parameters measured based on mobile terminal
US20170324823A1 (en) * 2011-04-06 2017-11-09 Samsung Electronics Co., Ltd. Server cluster and method for push notification service
CN107645517A (en) * 2016-07-20 2018-01-30 腾讯科技(深圳)有限公司 Data push method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139818A (en) * 2011-12-02 2013-06-05 中兴通讯股份有限公司 Method, system, area of effect (AOE), always on line (AOG) and terminal of maintaining long connection in acquisition of signal (AOS)
US9197575B2 (en) * 2014-02-17 2015-11-24 Cellco Partnership Handling of snapshot messages as a result of delivery failure in a two-way push connection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170324823A1 (en) * 2011-04-06 2017-11-09 Samsung Electronics Co., Ltd. Server cluster and method for push notification service
CN103220309A (en) * 2012-01-19 2013-07-24 北京智慧风云科技有限公司 Cloud computing system pushing service information automatically and implementation method thereof
CN105808650A (en) * 2016-02-26 2016-07-27 中国地质大学(武汉) Skin care product pushing method and pushing server
CN106060846A (en) * 2016-05-24 2016-10-26 北京雾联科技有限公司 Method of collecting and displaying wireless network performance parameters measured based on mobile terminal
CN107645517A (en) * 2016-07-20 2018-01-30 腾讯科技(深圳)有限公司 Data push method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965066A (en) * 2018-10-17 2018-12-07 网宿科技股份有限公司 The method and apparatus that a kind of pair of transmission path is detected
CN109413612A (en) * 2018-10-22 2019-03-01 深圳市元征科技股份有限公司 A kind of communication connection method for building up and equipment
CN109462646A (en) * 2018-11-12 2019-03-12 平安科技(深圳)有限公司 A kind of method and apparatus of exception response
CN114175698A (en) * 2019-08-07 2022-03-11 三星电子株式会社 Apparatus and method for fast communication between a master device and a slave device
WO2022068564A1 (en) * 2020-09-30 2022-04-07 华为技术有限公司 Device abnormality monitoring method and device
CN114363220A (en) * 2020-09-30 2022-04-15 华为技术有限公司 Equipment anomaly monitoring method and equipment
CN112351094A (en) * 2020-11-02 2021-02-09 深圳市安软科技股份有限公司 Webpage pushing method and device, electronic equipment and storage medium
CN112351094B (en) * 2020-11-02 2023-10-03 深圳市安软科技股份有限公司 Webpage pushing method and device, electronic equipment and storage medium
CN113055246A (en) * 2021-03-11 2021-06-29 中国工商银行股份有限公司 Abnormal service node identification method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2019218480A1 (en) 2019-11-21
CN108616429B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN108616429A (en) A kind of reconnection method and equipment of Push Service
CN110276182B (en) API distributed current limiting realization method
CN106548402B (en) Resource transfer monitoring method and device
CN108712464A (en) A kind of implementation method towards cluster micro services High Availabitity
CN106502769A (en) Distributed transaction processing method, apparatus and system
CN106878064A (en) Data monitoring method and device
CN108897854B (en) Monitoring method and device for overtime task
EP2987281A1 (en) Gateway device for machine-to-machine communication with dual cellular interfaces
EP3883181A1 (en) Methods and apparatuses for service layer charging correlation with underlying networks
CN111726303A (en) Flow control method and device and computing equipment
CN114189525B (en) Service request method and device and electronic equipment
CN107797859A (en) A kind of dispatching method of timed task and a kind of dispatch server
CN103248670A (en) Connection management in a computer networking environment
CN110661717A (en) Current limiting method and device and electronic equipment
CN111258627A (en) Interface document generation method and device
JP2023520057A (en) METHOD, APPARATUS, ELECTRONIC DEVICE, SYSTEM AND STORAGE MEDIUM FOR MICROSERVICE COMPOSITION
WO2014152076A1 (en) Retry and snapshot enabled cross-platform synchronized communication queue
CN106326736A (en) Data processing method and system
CN109117609A (en) A kind of request hold-up interception method and device
EP1274011B1 (en) A method and system for routing and logging a request
US20130152196A1 (en) Throttling of rogue entities to push notification servers
JP6889784B2 (en) Methods, devices, and systems for monitoring data traffic
CN103490964B (en) A kind of method and device for realizing that flexible configuration terminal accesses quantity
CN105468684B (en) Filtering sensitive words system and its communication means
CN104754029B (en) Determine the methods, devices and systems of master management server

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
GR01 Patent grant
GR01 Patent grant