WO2017167020A1 - 配置信息推送方法及装置 - Google Patents

配置信息推送方法及装置 Download PDF

Info

Publication number
WO2017167020A1
WO2017167020A1 PCT/CN2017/076890 CN2017076890W WO2017167020A1 WO 2017167020 A1 WO2017167020 A1 WO 2017167020A1 CN 2017076890 W CN2017076890 W CN 2017076890W WO 2017167020 A1 WO2017167020 A1 WO 2017167020A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
configuration information
client
configuration item
item
Prior art date
Application number
PCT/CN2017/076890
Other languages
English (en)
French (fr)
Inventor
丁乔毅
张凤婷
Original Assignee
阿里巴巴集团控股有限公司
丁乔毅
张凤婷
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 阿里巴巴集团控股有限公司, 丁乔毅, 张凤婷 filed Critical 阿里巴巴集团控股有限公司
Priority to SG11201808520WA priority Critical patent/SG11201808520WA/en
Priority to EP17773050.4A priority patent/EP3439236B1/en
Publication of WO2017167020A1 publication Critical patent/WO2017167020A1/zh
Priority to US16/144,621 priority patent/US20190028332A1/en

Links

Images

Classifications

    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • 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/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0869Validating the configuration within one network element
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Definitions

  • the present invention belongs to the field of communications, and in particular, to a configuration information pushing method and apparatus.
  • the application system needs to change some frequently-changed configurations into files in order to flexibly respond to changes in requirements.
  • different configurations need to be changed before deployment.
  • the application system can take effect immediately without a restart program when the configuration changes.
  • a database cluster is used in the trading platform to establish a connection with the database using a set of database connection parameters when the program starts.
  • the trading platform uses the peak, it is necessary to switch some database connection parameters.
  • the application of the trading platform can be implemented immediately without restarting, and the execution of the service is not affected as much as possible.
  • Real-time configuration of the push system requires efficient discovery that the server's new configuration values are inconsistent with the client's old configuration values and pushes new configuration values to the client in real time.
  • the client interacts with the server through a HyperText Transfer Protocol (HTTP) short connection method, and the client periodically initiates a short connection polling server.
  • HTTP HyperText Transfer Protocol
  • the current method of polling the server periodically each polling time is short, and the polling waiting time is long, and thus the real-time performance of the configuration push cannot be guaranteed.
  • the present invention provides a configuration information pushing method and device, which are used to solve the problem that the existing client periodically polls the server, because the length of the polling time is short, and the real-time performance of the configuration push cannot be guaranteed.
  • the present invention provides a configuration information pushing method, including:
  • the target is pushed to the client
  • the current configuration information of the configuration item is configured to enable the client to update the configuration of the target configuration item to the current configuration information.
  • the present invention provides a configuration information pushing method, including:
  • the polling request includes configuration information of each configuration item.
  • connection hold request for maintaining a short connection with the server within a preset polling duration; wherein the connection hold request is that the server determines each configuration item in the polling request Sent when the configuration information is consistent with the current configuration information of the local corresponding configuration item;
  • the sending message is sent by the server in the process of maintaining the short connection, and determining that the current configuration information of the at least one target configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request.
  • the target configuration item is a configuration item in the local configuration item;
  • the present invention provides a configuration information pushing device, including:
  • An obtaining module configured to obtain a polling request sent by the client, where the polling request includes: configuration information of each configuration item;
  • a determining module configured to determine whether the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item
  • connection maintaining module configured to maintain a short connection with the client within a preset polling duration if the determination is yes;
  • the present invention provides a configuration information pushing device, including:
  • a sending module configured to send a polling request to the server, so that the server determines whether the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item;
  • the polling request includes configuration information of each configuration item.
  • a first receiving module configured to receive a connection holding request sent by the server to maintain a short connection with the server within a preset polling duration; wherein the connection holding request is that the server determines the Sent when the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item;
  • a second receiving module configured to receive a push message of current configuration information of the target configuration item pushed by the server, where the push message is determined by the server to maintain the short connection, and at least one And sending, when the current configuration information of the target configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request, where the target configuration item is a configuration item in the local configuration item;
  • an update module configured to update a configuration of the target configuration item to the current configuration information.
  • the configuration information pushing method and device obtains the polling request sent by the client, and determines whether the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item, and if they are consistent,
  • the short connection between the client and the client is maintained in the preset polling duration.
  • the current configuration information of the at least one target configuration item in the local configuration item and the configuration information of the corresponding configuration item in the polling request occur.
  • the current configuration information of the target configuration item is pushed to the client, so that the client updates the configuration of the target configuration item to the current configuration information.
  • the short connection needs to be maintained within the preset polling duration, and the polling duration is increased accordingly, so that the configuration information of the configuration item can be sensed in time to ensure that the configuration information is changed.
  • FIG. 1 is a schematic flowchart of a configuration information pushing method according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a configuration information pushing method according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic diagram of application of a configuration information pushing method according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of a configuration information pushing apparatus according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic structural diagram of a configuration information pushing system according to Embodiment 5 of the present invention.
  • FIG. 1 is a schematic flowchart diagram of a configuration information pushing method according to Embodiment 1 of the present invention.
  • the execution entity is a server.
  • the configuration information pushing method includes the following steps:
  • the polling request includes: configuration information of each configuration item.
  • a short connection is established between the client and the server.
  • the server establishes a short connection with the client based on HTTP. Since the HTTP communication protocol is a text protocol, push information of cross-language configuration information can be implemented.
  • the server can continuously receive the polling request sent by the client through the short connection to poll the configuration change status of each configuration item of the server.
  • the polling request includes configuration information of each configuration, and the configuration information is information configured by the last server.
  • the configuration information is the configuration value of the configuration item.
  • the server After receiving the polling request, the server determines the current configuration information of the locally stored configuration item. Whether the configuration information of the corresponding configuration item sent by the client is consistent.
  • the configuration item of the local configuration item is the same as the configuration item of the client. However, the configuration information of the configuration item of the local configuration item may be different from the configuration information of the client configuration item.
  • the configuration items include: configuration item 1, configuration item 2, and configuration item 3.
  • the configuration information data of the configuration item 1 in the polling request, the configuration information of the configuration item 2, and the configuration information of the configuration item 3 are the data 3.
  • step S103 is performed; if the configuration information of the locally stored configuration item 2 is data 4, the current configuration information of the locally stored configuration item is not completely consistent with the configuration information of the corresponding configuration item sent by the client, that is, the determination result If no, step S105 is performed.
  • the server may be in the preset polling duration. Keep a short connection between the client and the client. Specifically, the server sends an asynchronous processing request to the client, the asynchronous processing request instructing the client to maintain a short connection with the server within a preset polling duration. For example, an asynchronous servlet can be used to maintain a short connection to the client.
  • the current configuration information of the at least one target configuration item in the local configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request, the current configuration information of the target configuration item is pushed to the client, so that the current configuration information of the target configuration item is pushed to the client.
  • the client updates the configuration of the target configuration item to the current configuration information.
  • the server may send a polling response of the configuration change to the client, where the polling response includes the current configuration information of the target configuration item.
  • the polling response includes the current configuration information of the target configuration item.
  • the target configuration item is the configuration item 2
  • the polling is corresponding to: the configuration item 2 , data 4.
  • the client needs to update the configuration of the target configuration item to the current configuration information.
  • the current configuration information of the target configuration item and the target configuration item is directly sent to the client, which can save the processing time of the polling result and improve the real-time performance of the configuration information push.
  • the server may first send the target configuration item to the client in a polling response, and after receiving the configuration information request message sent by the client, configure the target configuration item.
  • the value is sent to the client, although the processing time of the polling result is extended, but when the client does not need to update the configuration item, the waste of resources can be reduced.
  • the current configuration information of the configuration item stored by the server team is consistent with the configuration information of the corresponding configuration item in the polling request.
  • a polling response with a configuration unchanged is sent to the client, and the polling response is empty.
  • the short connection with the client can be kept until the preset polling time arrives and then closed.
  • the server itself detects that the current configuration information of the at least one target configuration item in the local configuration item is inconsistent with the configuration information of the corresponding configuration item previously sent to the client, The server can send the current configuration information of the target configuration item to the client, so that the configuration information of the configuration item of the client is consistent with the configuration information of the corresponding configuration item in the server.
  • the user corresponding to the client actively modifies the configuration information of at least one configuration item in the polling request, and then carries the information in the polling request to the server, and the server can also monitor the local configuration item.
  • the configuration information of the modified configuration item in the current configuration information polling request of the at least one target configuration item is different, and the server may deliver the current configuration information of the target configuration item to the client, so that the client sets the target configuration information. Reconfigure the configuration information delivered by the server.
  • the server pushes the Immediately after the current configuration information of the target configuration item, the short connection maintained with the client is closed. After the current configuration information of the target configuration item is generated, it indicates that the configuration of the client is the latest configuration. In order to continue to update the configuration of the client in real time, it is necessary to immediately close the short connection maintained with the client. Open with customers After the short connection between the terminals, the polling request sent by the client can continue to be received after the next preset time interval is reached, so as to continue to update the configuration items of the client in real time.
  • the time interval of polling the server can be shortened, so that when the configuration item of the server is updated with the configuration information, the information of the corresponding configuration item is updated on the client more quickly.
  • At least one configuration item in the local configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request
  • the current configuration information of the at least one configuration item whose configuration information is changed needs to be sent to the client to obtain the configuration information.
  • at least one configuration item that is inconsistent with the configuration information of the corresponding configuration item in the polling request is referred to as a target configuration item.
  • the server pushes the current configuration information of the target configuration item to the client.
  • the server may send a polling response of the configuration change to the client, where the polling response includes the current configuration information of the target configuration item.
  • the client needs to update the configuration of the target configuration item to the current configuration information.
  • close the short connection with the client so as to continue to receive the polling request sent by the client after reaching the next preset time interval, thereby being able to The client's configuration items are updated in real time.
  • the configuration information pushing method provided in this embodiment is to obtain the polling request sent by the client, and determine whether the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item.
  • the short connection between the client and the client is maintained during the polling duration.
  • the current configuration information of the at least one target configuration item in the local configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request.
  • the current configuration information of the target configuration item is pushed to the client, so that the client updates the configuration of the target configuration item to the current configuration information.
  • the short connection needs to be maintained within the preset polling duration, and the polling duration is increased accordingly, so that the configuration information of the configuration item can be sensed in time to ensure that the configuration information is changed.
  • FIG. 2 is a schematic flowchart diagram of a configuration information pushing method according to Embodiment 2 of the present invention.
  • the execution entity is a client.
  • the configuration information pushing method includes the following steps:
  • S201 Send a polling request to the server, so that the server determines whether the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item.
  • the polling request includes configuration information of each configuration item.
  • the client needs to establish a short connection with the server based on HTTP before sending the polling request to the server. Since the HTTP communication protocol is a text protocol, push information of cross-language configuration information can be implemented.
  • the client After the connection is established, the client sends a polling request to the server based on the short connection to poll the configuration change status of each configuration item of the server.
  • the polling request includes configuration information of each configuration, and the configuration information is information configured by the last server.
  • the configuration information is the configuration value of the configuration item.
  • connection holding request sent by the receiving server to maintain a short connection with the server within a preset polling duration, where the connection holding request is configured by the server to determine configuration information of each configuration item in the polling request and a local corresponding configuration item.
  • the current configuration information is sent when they are consistent.
  • the configuration information of the configuration items of the client is not updated.
  • the client will receive a connection hold request sent by the server to maintain a short connection with the server within the preset polling duration. After receiving the connection hold request, the client will continue within the preset polling duration. Maintain a short connection.
  • connection hold request is an asynchronous processing request for indicating a short connection with the server within a preset polling duration.
  • the short connection between the server and the server can be kept uninterrupted for a preset polling duration based on the asynchronous servlet method.
  • S203 Receive a push message of the current configuration information of the target configuration item that is pushed by the server, where the push message is determined by the current configuration information of the at least one target configuration item and the corresponding configuration in the polling request. If the configuration information of the item is inconsistent, the target configuration item is the configuration item in the local configuration item.
  • the client receives the push message sent by the server, where the push message includes the current configuration information of the target configuration item.
  • the client receives a polling response sent by the server to send a configuration change, where the polling response includes a target configuration item, and after receiving the polling response, the client sends a configuration request message to the server to request the server to the client.
  • the current configuration information of the target configuration item is delivered.
  • the client After the short connection with the client reaches the preset polling duration, if the current configuration information of the configuration item stored by the server is consistent with the configuration information of the corresponding configuration item in the polling request, at this time, the client The endpoint will receive a polling response from the server that has not changed, where the polling response is empty and the client will be aware that the server has closed its short connection. Specifically, the client may obtain an indication message for closing the short connection. After receiving the indication message, the client may continue to send a polling request to the server after reaching the next preset time interval, so as to facilitate the configuration item. Perform real-time updates.
  • the client after receiving the current configuration information of the target configuration, the client needs to update the configuration of the target configuration item to the current configuration information.
  • the server closes the short connection with the client immediately after sending the push message.
  • the client can immediately perceive that in order to maintain the real-time update of the client configuration item, the client needs to immediately perform timing according to the preset time interval, after reaching the next time interval. , send a polling request to the server again.
  • the time interval of the polling server can be shortened, so that when the configuration item of the server is updated with the configuration information, the information of the corresponding configuration item is updated on the client, thereby improving the configuration of the client. real-time.
  • the configuration information pushing method provided in this embodiment is configured to send a polling request to the server, so that the server determines whether the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item, and if they are consistent, The short connection between the preset polling duration and the server is maintained.
  • the current configuration information of the at least one target configuration item in the local configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request.
  • the client will receive a push message including the current configuration information of the target configuration item, and the client updates the configuration of the target configuration item to the current configuration information.
  • the short connection needs to be maintained within the preset polling duration, and the polling duration is increased accordingly, so that the configuration information of the configuration item can be sensed in time to ensure that the configuration information is changed.
  • the client interacts with the server over an HTTP short connection, and the client periodically initiates a polling request based on the short connection to poll the server.
  • the client sends a polling request to the server.
  • the client polls the change status of the configuration item configuration information by sending a polling request to the server.
  • the configuration item configuration information is the configuration value of the configuration item.
  • the server After receiving the polling request, the server determines whether the configuration value of the locally stored configuration item is consistent with the configuration value of the corresponding configuration item in the polling request.
  • step S303 is performed.
  • the server maintains a short connection with the client within a preset polling duration based on the asynchronous servlet technology.
  • the polling result is unchanged.
  • the server maintains a short connection with the client for a preset polling duration based on the asynchronous servlet technology.
  • the default polling duration is 5s.
  • the server sends a polling response to the client.
  • the polling response includes null.
  • the preset polling duration is 5s, and the server waits for 5s when the polling time is reached. That is, at 5.0s, in the example, in the 5s time that the short connection is maintained, the configuration information of the configuration item 1 and the configuration item 2 in the server is not changed, the server sends a polling response with no change to the configuration to the client, where Include null in the polling response and close the short connection.
  • the client After the client detects that the short connection with the server is disconnected, when the next preset time interval is reached, the client sends a polling request to the server to poll the configuration change status.
  • the preset time interval. It is 1ms, which is the time of 5.001s.
  • the polling request is sent to the server again, where the configuration item subscribed to in the request and the configuration information of the configuration item are polled.
  • the configuration items subscribed in this instance are: configuration item 1 and configuration item 2.
  • the configuration value of configuration item 1 is still datald1group1
  • the configuration value of configuration item 2 is still datald2group2, because the polling result of configuration item 1 and configuration item 2 is unchanged after the last polling.
  • the server determines whether the configuration value of each configuration item stored in the local device is consistent with the configuration value of the corresponding configuration item in the polling request.
  • step S306 is performed.
  • the server maintains a short connection with the client within a preset polling duration based on the asynchronous servlet technology.
  • the server sends a configuration change polling response to the client when the configuration value of the configuration item 2 is changed, and the configuration item 2 is carried in the polling.
  • the polling response with the configuration unchanged is sent to the client for 1 s.
  • the configuration item 2: datald2group2 is changed, the configuration of the polling response is changed to the client.
  • the polling response includes the configuration item 2, where the configuration item 2 is the target configuration item.
  • the polling response with the configuration change is sent to the client at time 6.03s.
  • the client senses the configuration change at 6.003s, and the time when the configuration change is 6.0s, which is very short. It can be considered that the client senses the configuration change in real time.
  • the client sends a configuration value request to the server.
  • the client after receiving the polling response with the configuration changed at the time of 6.003s, the client sends a configuration value request to the server at 4.004s to request to configure the configuration item 2 as the latest configuration value of the server.
  • the latest configuration value is the current configuration value of configuration item 2.
  • the server sends the latest configuration value of the configuration item 2 to the client.
  • the server After receiving the configuration value request, the server sends the latest configuration value of the configuration item 2 to the client at the time of 6.005s. Accordingly, after receiving the latest configuration value, the client updates the configuration value of the configuration item 2 to the latest. The configuration value and close the short connection.
  • S311 The client updates the configuration value of the configuration item 2 to the latest configuration value.
  • the client after receiving the latest configuration value at the time of 6.005s, the client updates the configuration value of the configuration item 2 to poll the latest current configuration value of the corresponding configuration item 2.
  • the polling response of the configuration change sent by the server to the client simultaneously carries the latest configuration values of the configuration item 2 and the configuration item 2.
  • the latest configuration value of configuration item 2 is datald2%02%group2.
  • the client receives the polling response, it updates the configuration value of configuration item 2 to the latest configuration value.
  • the preset polling duration is 5s
  • the configuration change occurs when the short connection is not reached until the polling time is long, until the client updates the configuration value of the corresponding configuration item to the latest configuration value.
  • the client After the client reaches the preset time interval, the client sends a polling request to the server again.
  • the client After the client detects that the short connection with the server is disconnected, the client sends a polling request to the server again at the next 1 ms, which is 6.006 s, to poll the configuration change status.
  • the polling request includes configuration item 1 and configuration item 2, and The respective configuration values.
  • the configuration value of configuration item 1 is datald1group1; the configuration value of configuration item 2 is datald2%2%group2.
  • the short connection is maintained within the preset polling duration, which is equivalent to increasing the polling duration, and the configuration information of the configuration item can be sensed in time to ensure the configuration.
  • FIG. 4 is a schematic structural diagram of a configuration information pushing apparatus according to Embodiment 3 of the present invention.
  • the configuration information pushing device includes an obtaining module 11, a determining module 12, a connection holding module 13, a pushing module 14, and a closing module 15.
  • the obtaining module 11 is configured to obtain a polling request sent by the client, where the polling request includes: configuration information of each configuration item.
  • the determining module 12 is configured to determine whether the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item.
  • the connection holding module 13 is configured to maintain a short connection with the client within a preset polling duration if the determination is yes.
  • the pushing module 14 is configured to: if the current configuration information of the at least one target configuration item in the local configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request, in the process of maintaining the short connection, The client pushes current configuration information of the target configuration item, so that the client updates the configuration of the target configuration item to current configuration information.
  • the module 15 is closed for closing the short connection with the client.
  • the closing module 15 is configured to: when the current configuration information of the at least one target configuration item in the local configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request, when the short connection is maintained Pushing the current configuration information of the target configuration item to the client, so that after the client updates the configuration of the target configuration item to the current configuration information, the short between the client and the client is closed. connection.
  • the closing module 15 is further configured to close the short connection with the client when the preset polling duration is reached.
  • the pushing module 14 is further configured to: when the determining result of the determining module 12 is negative, obtain the target configuration item from the local configuration item, and push the current configuration information of the target configuration item to the Describe the client, so that the client updates the configuration of the target configuration item to current configuration information.
  • the pushing module 14 is specifically configured to send a polling response to the client, where the polling response includes a target configuration item, receive a configuration information request sent by the client, and The current configuration information of the target configuration item is sent to the client, so that the client updates the configuration of the target configuration item to current configuration information.
  • the obtaining module 11 is further configured to: after the closing module 15 closes the short connection with the client, re-acquire the client to send the polling after reaching a preset time interval request.
  • connection holding module 13 is specifically configured to: when the determination result of the determining module is yes, send an asynchronous processing request to the client, so that the client maintains the preset polling duration Short connection.
  • the configuration information pushing device obtains the polling request sent by the client, and determines whether the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item.
  • the short connection between the client and the client is maintained during the polling duration.
  • the current configuration information of the at least one target configuration item in the local configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request.
  • the current configuration information of the target configuration item is pushed to the client, so that the client updates the configuration of the target configuration item to the current configuration information.
  • the short connection needs to be maintained within the preset polling duration, and the polling duration is increased accordingly, so that the configuration information of the configuration item can be sensed in time to ensure that the configuration information is changed.
  • FIG. 5 is a schematic structural diagram of a configuration information pushing apparatus according to Embodiment 4 of the present invention.
  • the configuration information pushing device includes: a sending module 21, a first receiving module 22, a second receiving module 23, and an updating module 24.
  • the sending module 21 is configured to send a polling request to the server, so that the server determines whether the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item.
  • the polling request includes configuration information of each configuration item.
  • the first receiving module 22 is configured to receive a connection hold request sent by the server to maintain a short connection with the server within a preset polling duration.
  • connection hold request is that the server determines each of the polling requests Sent when the configuration information of the item is consistent with the current configuration information of the local corresponding configuration item.
  • the second receiving module 23 is configured to receive a push message of current configuration information of the target configuration item pushed by the server.
  • the sending message is sent by the server in the process of maintaining the short connection, and determining that the current configuration information of the at least one target configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request.
  • the target configuration item is a configuration item in the local configuration item.
  • the update module 24 is configured to update the configuration of the target configuration item to the current configuration information.
  • the sending module 21 is further configured to: before the second receiving module receives the push message that is used by the server to push the current configuration information of the target configuration item, send a configuration information request to the server, where The configuration information request is used to request the server to deliver current configuration information of the target configuration item.
  • the first receiving module 22 is further configured to receive an indication message that is sent by the server to close the short connection.
  • the indication message is sent by the server when the push message is not sent after reaching a preset polling duration.
  • connection hold request is an asynchronous processing request for indicating that the short connection with the server is maintained within the preset polling duration.
  • the sending module 21 is further configured to: after the updating module 24 updates the configuration of the target configuration item to the current configuration information, resend the round to the server after reaching a preset time interval. Request for a request.
  • the configuration information pushing apparatus sends a polling request to the server, so that the server determines whether the configuration information of each configuration item in the polling request is consistent with the current configuration information of the local corresponding configuration item, and if they are consistent, The short connection between the preset polling duration and the server is maintained.
  • the current configuration information of the at least one target configuration item in the local configuration item is inconsistent with the configuration information of the corresponding configuration item in the polling request.
  • Client The push message including the current configuration information of the target configuration item will be received, and the client updates the configuration of the target configuration item to the current configuration information.
  • the short connection needs to be maintained within the preset polling duration, and the polling duration is increased accordingly, so that the configuration information of the configuration item can be sensed in time to ensure that the configuration information is changed.
  • the short connection needs to be maintained within the preset polling duration, and the polling duration is increased accordingly, so that the configuration information of the configuration item can be sensed in time to ensure that the configuration information is changed.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供了一种配置信息推送方法及装置,通过获取客户端发送的轮询请求,判断轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致,如果均一致,在预设的轮询时长内保持与客户端之间的短连接,在短连接保持的过程中出现本地配置项中有至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致,向客户端推送目标配置项的当前配置信息,以使客户端将目标配置项的配置更新为当前配置信息。本发明中,在配置项的配置信息未更新时,需要在预设的轮询时长内保持短连接,相应地增加了轮询时长,能够及时地感知配置项的配置信息的更改,从而保证配置信息推送的实时性。

Description

配置信息推送方法及装置 技术领域
本发明属于通信领域,尤其涉及一种配置信息推送方法及装置。
背景技术
应用系统在执行程序的过程中,为了灵活应对需求变化要把一些经常变化的配置沉淀为文件,在不同的部署、应用场景,需要更改不同的配置,再进行部署。在配置更改时,基于实时配置推送系统,可以让应用系统在配置更改时不用重启程序立即生效。例如:交易平台中用到一个数据库集群,在程序启动时,使用一组数据库连接参数与数据库建立连接。当交易平台使用高峰来临时,需要切换一些数据库连接参数,此时基于实时配置推送系统可以做到交易平台的应用不需要重启立即生效,尽可能的不影响业务的执行。实时配置推送系统需要高效地发现服务器新的配置值与客户端旧的配置值不一致,并将新的配置值实时地推送给客户端。
现有技术中,客户端通过超文本传输协议(HyperText Transfer Protocol,简称HTTP)短连接方式与服务器进行交互,由客户端定期发起短连接轮询服务器。但是当前的采用定期轮询服务器的方式,每次轮询时长短,而且轮询等待时间长,进而无法保证配置推送的实时性。
发明内容
本发明提供一种配置信息推送方法及装置,用于解决现有客户端定期轮询服务器时,由于轮询时长短,进而无法保证配置推送的实时性的问题。
为了实现上述目的,本发明提供了一种配置信息推送方法,包括:
获取客户端发送的轮询请求,所述轮询请求中包括:各配置项的配置信息;
判断所述轮询请求中各配置项的配置信息与本地对应配置项的当前 配置信息是否均一致;
如果判断为是,在预设的轮询时长内保持与所述客户端之间的短连接;
如果在所述短连接保持的过程中所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新为当前配置信息。
为了实现上述目的,本发明提供了一种配置信息推送方法,包括:
向服务器发送轮询请求,以使所述服务器判断所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致;
其中,所述轮询请求中包括各配置项的配置信息;
接收所述服务器发送的在预设的轮询时长内保持与所述服务器的短连接的连接保持请求;其中,所述连接保持请求是所述服务器在判断出所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息均一致时发送的;
接收所述服务器用于推送目标配置项的当前配置信息的推送消息;
其中,所述推送消息是由所述服务器中保持所述短连接的过程中,判断出至少一个所述目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致时发送的,所述目标配置项为所述本地配置项中的配置项;
将所述目标配置项的配置更新为所述当前配置信息。
为了实现上述目的,本发明提供了一种配置信息推送装置,包括:
获取模块,用于获取客户端发送的轮询请求,所述轮询请求中包括:各配置项的配置信息;
判断模块,用于判断所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致;
连接保持模块,用于如果判断为是,在预设的轮询时长内保持与所述客户端之间的短连接;
推送模块,用于如果在所述短连接保持的过程中所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新为当前配置信息。
为了实现上述目的,本发明提供了一种配置信息推送装置,包括:
发送模块,用于向服务器发送轮询请求,以使所述服务器判断所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致;
其中,所述轮询请求中包括各配置项的配置信息;
第一接收模块,用于接收所述服务器发送的在预设的轮询时长内保持与所述服务器的短连接的连接保持请求;其中,所述连接保持请求是所述服务器在判断出所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息均一致时发送的;
第二接收模块,用于接收所述服务器推送的目标配置项的当前配置信息的推送消息,其中,所述推送消息是由所述服务器中保持所述短连接的过程中,判断出至少一个所述目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致时发送的,其中所述目标配置项为所述本地配置项中的配置项;
更新模块,用于将所述目标配置项的配置更新为所述当前配置信息。
本发明提供的配置信息推送方法及装置,通过获取客户端发送的轮询请求,判断轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致,如果均一致,在预设的轮询时长内保持与客户端之间的短连接,在短连接保持的过程中出现本地配置项中有至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致,向客户端推送目标配置项的当前配置信息,以使客户端将目标配置项的配置更新为当前配置信息。本实施例中,在配置项的配置信息未更新时,需要在预设的轮询时长内保持短连接,相应地增加了轮询时长,能够及时地感知配置项的配置信息的更改,从而保证配置信息推送的实时性。
附图说明
图1为本发明实施例一的配置信息推送方法的流程示意图;
图2为本发明实施例二的配置信息推送方法的流程示意图;
图3为本发明实施例二的配置信息推送方法的应用示意图;
图4为本发明实施例三的配置信息推送装置的结构示意图;
图5为本发明实施例四的配置信息推送装置的结构示意图;
图6为本发明实施例五的配置信息推送系统的结构示意图。
具体实施方式
下面结合附图对本发明实施例提供的配置信息推送方法及装置进行详细描述。
实施例一
如图1所示,其为本发明实施例一的配置信息推送方法的流程示意图。本实施例中执行主体为服务器。该配置信息推送方法包括以下步骤:
S101、获取客户端发送的轮询请求。
其中轮询请求中包括:各配置项的配置信息。
在客户端与服务器之间建立一个短连接,本实施例中,服务器基于HTTP建立与客户端之间的短连接。由于HTTP通信协议为文本协议,进而可以实现跨语言的配置信息的推送。
在建立短连接之后,服务器可以不断地接收到客户端通过该短连接发送的轮询请求,以轮询服务器各配置项的配置变更状态。其中,轮询请求中包括各配置的配置信息,该配置信息为上一次服务器为其配置的信息。其中,配置信息为配置项的配置值。
S102、判断轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致。
服务器端接收到轮询请求后,判断本地存储的配置项的当前配置信息 与客户端发送的对应配置项的配置信息是否均一致。本地存储的配置项与客户端的配置项是完全一样的,但是本地配置项的配置项的配置信息与客户端配置项的配置信息可能存在不同。例如,配置项包括:配置项1、配置项2和配置项3,轮询请求中配置项1的配置信息数据1、配置项2的配置信息为数据2和配置项3的配置信息为数据3,当本地存储的配置项1-配置项3的配置信息分别为数据1-数据3时,则本地存储的配置项的当前配置信息与客户端发送的对应配置项的配置信息均一致,即判断结果为是,执行步骤S103;如果本地存储的配置项2的配置信息为数据4,则本地存储的配置项的当前配置信息与客户端发送的对应配置项的配置信息非完全一致,即判断结果为否,执行步骤S105。
S103、在预设的轮询时长内保持与客户端之间的短连接。
当判断出本地存储的配置项的当前配置信息与客户端发送的对应配置项的配置信息完全一致时,即客户端配置项的配置信息未进行更新,此时服务器可以在预设的轮询时长内保持与客户端之间的短连接。具体地,服务器向客户端发送异步处理请求,该异步处理请求指示客户端在预设的轮询时长内保持与服务器之间的短连接。例如,可以采用异步Servlet方式保持与客户端之间的短连接。
S104、如果在短连接保持的过程中本地配置项中至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致,向客户端推送目标配置项的当前配置信息,以使客户端将目标配置项的配置更新为当前配置信息。
在与客户端保持短连接未到达预设的轮询时长的过程中,当服务器本地存储的配置项中有至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致,即服务器的目标配置项的配置信息发生了更改,服务器此时可以向客户端推送目标配置项的当前配置信息。
例如,服务器可以向客户端发送配置更改的轮询响应,该轮询响应中包括目标配置项的当前配置信息,例如,当目标配置项为配置项2时,该轮询相应为:配置项2,数据4。相应地,客户端在接收到该目标配置的当前配置信息后,就需要对目标配置项的配置更新为当前配置信息。
本实施例中,在获取到目标配置项,直接将目标配置项和目标配置项的当前配置信息发送给客户端,可以节省轮询结果的处理时间,提高配置信息推送的实时性。
可选地,服务器在获取到目标配置项后,可以先将目标配置项携带在轮询响应中发送给客户端,在接收到客户端发送的配置信息请求消息后,再将目标配置项的配置值发送给客户端,虽然延长了轮询结果的处理时间,但是当客户端不需要更新配置项时,可以减少资源的浪费。
进一步地,当在与客户端保持短连接到达预设的轮询时长后,服务器本队存储的配置项的当前配置信息与轮询请求中对应配置项的配置信息均一致,此时,服务器可以向客户端发送配置未更改的轮询响应,轮询响应为空。
本实施例中,可以将与客户端之间的短连接一直保持到预设的轮询时间到达后再关闭。在短连接保持到预设的轮询时间的情况下,如果服务器端自身监测出本地配置项中有至少一个目标配置项的当前配置信息与前次发送给客户端的对应配置项的配置信息不一致时,服务器可以将目标配置项的当前配置信息进行下发给客户端,以使客户端的配置项的配置信息与服务器中对应配置项的配置信息一致。
或者在短连接保持的过程中,当客户端对应的用户主动修改了轮询请求中至少一个配置项的配置信息后,再携带在轮询请求中发送给服务器,服务器也能够监测出本地配置项中有至少一个目标配置项的当前配置信息轮询请求中被修改的配置项的配置信息不同,服务器可以将目标配置项的当前配置信息进行下发给客户端,以使客户端将目标配置信息重新配置成服务器下发的配置信息。
可选地,当在短连接保持的过程中,服务器初次出现本地配置项中有至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致时,向客户端推送所述目标配置项的当前配置信息之后,立刻关闭与客户短之间的保持的短连接。在向发生完目标配置项的当前配置信息后,说明客户端的配置已经为最新的配置了,为了继续对客户端的配置进行实时更新,需要立刻关闭与客户短之间的保持的短连接,当断开与客户 端之间的短连接之后,才能继续在到达下一个预设的时间间隔后,继续接收到客户端发送的轮询请求,以便于继续对客户端的配置项进行实时更新。
为了提高对客户端的配置进行更新的实时性,可以缩短轮询服务器的时间间隔,以便于当服务器的配置项更新了配置信息后,更快地在客户端进行相应配置项的信息更新。
S105、从本地配置项中获取目标配置项。
如果判断中本地配置项中有至少一个配置项与轮询请求中对应配置项的配置信息不一致,说明需要将配置信息发生变更的至少一个配置项的当前配置信息发送给客户端,获取发生配置信息变更的至少一个配置项。本实施例中,将与轮询请求中对应配置项的配置信息不一致的至少一个配置项称为目标配置项。
S106、将目标配置项的当前配置信息推送给客户端,以使客户端将目标配置项的配置更新为当前配置信息。
在获取到目标配置项后,服务器将目标配置项的当前配置信息推送给客户端,例如,服务器可以向客户端发送配置更改的轮询响应,该轮询响应中包括目标配置项的当前配置信息,相应地,客户端在接收到该目标配置的当前配置信息后,就需要对目标配置项的配置更新为当前配置信息。在推送完目标配置项的当前配置信息后,关闭与客户端之间的短连接,以便于继续在到达下一个预设的时间间隔后,继续接收到客户端发送的轮询请求,从而能够对客户端的配置项进行实时更新。
本实施例提供的配置信息推送方法,通过获取客户端发送的轮询请求,判断轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致,如果均一致,在预设的轮询时长内保持与客户端之间的短连接,在短连接保持的过程中出现本地配置项中有至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致,向客户端推送目标配置项的当前配置信息,以使客户端将目标配置项的配置更新为当前配置信息。本实施例中,在配置项的配置信息未更新时,需要在预设的轮询时长内保持短连接,相应地增加了轮询时长,能够及时地感知配置项的配置信息的更改,从而保证配置信息推送的实时性。
实施例二
如图2所示,其为本发明实施例二的配置信息推送方法的流程示意图。本实施例中执行主体为客户端。该配置信息推送方法包括以下步骤:
S201、向服务器发送轮询请求,以使服务器判断轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致。
其中,轮询请求中包括各配置项的配置信息。
本实施例中,客户端在向服务器发送轮询请求之前,需要基于HTTP与服务器之间建立短连接。由于HTTP通信协议为文本协议,进而可以实现跨语言的配置信息的推送。
在连接建立之间后,客户端基于该短连接向服务器发送轮询请求,以轮询服务器各配置项的配置变更状态。其中,轮询请求中包括各配置的配置信息,该配置信息为上一次服务器为其配置的信息。其中,配置信息为配置项的配置值。
相应地,服务器接收到轮询请求后,判断本地存储的配置项的当前配置信息与客户端发送的对应配置项的配置信息是否均一致。本地存储的配置项与客户端的配置项是完全一样的,但是本地配置项的配置项的配置信息与客户端配置项的配置信息可能存在不同。
S202、接收服务器发送的在预设的轮询时长内保持与服务器的短连接的连接保持请求,其中,连接保持请求是服务器在判断出轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息均一致时发送的。
当服务器判断出本地存储的配置项的当前配置信息与客户端发送的对应配置项的配置信息完全一致时,说明客户端各配置项的配置信息未进行更新。客户端此时将接收到服务器发送的在预设的轮询时长内保持与服务器的短连接的连接保持请求,在接收到该连接保持请求后,客户端将在预设的轮询时长内继续维持短连接。
进一步地,连接保持请求为用于指示在预设的轮询时长内保持与服务器之间的短连接的异步处理请求。例如,可以基于异步Servlet方式保持与服务器之间的短连接在预设的轮询时长内不断开。
S203、接收服务器推送的目标配置项的当前配置信息的推送消息,其中,推送消息是由服务器中保持短连接的过程中,判断出至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致时发送的,目标配置项为本地配置项中的配置项。
在与客户端保持短连接未到达预设的轮询时长的过程中,如果服务器本地存储的配置项中有至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致,即服务器的目标配置项的配置信息发生了更改,此时,客户端将接收到服务器发送的推送消息,其中,推送消息中包括目标配置项的当前配置信息。
可选地,客户端接收到服务器发送配置更改的轮询响应,该轮询响应中包括目标配置项,客户端在接收到轮询响应后,向服务器发送配置请求消息,以请求服务器向客户端下发目标配置项的当前配置信息。
进一步地,当在与客户端保持短连接到达预设的轮询时长后,如果服务器本队存储的配置项的当前配置信息与轮询请求中对应配置项的配置信息均一致,此时,客户端将接收到服务器发送的配置未更改的轮询响应,其中轮询响应为空,客户端将感知到服务器关闭了与其的短连接。具体地,客户端可以获取到关闭短连接的指示消息,在接收到该指示消息后,客户端可以在到达下一个预设的时间间隔后,继续向服务器发送轮询请求,以便于对配置项进行实时更新。
S204、将目标配置项的配置更新为当前配置信息。
相应地,客户端在接收到该目标配置的当前配置信息后,就需要对目标配置项的配置更新为当前配置信息。
实际应用中,在服务器在发送了推送消息后,立刻关闭与客户端之间的短连接。相应地,在服务器关闭了短连接后,客户端就可以立刻感知到,为了维持客户端配置项的实时更新,客户端需要立刻进行按照预设的时间间隔进行计时,当到达下一个时间间隔后,再次向服务器发送轮询请求。本实施例中,可以缩短轮询服务器的时间间隔,以便于当服务器的配置项更新了配置信息后,更快地在客户端进行相应配置项的信息更新,从而提高对客户端的配置进行更新的实时性。
本实施例提供的配置信息推送方法,通过向服务器发送轮询请求,以使服务器判断轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致,如果均一致,在预设的轮询时长内保持与服务器之间的短连接,在短连接保持的过程中出现本地配置项中有至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致,客户端将接收到包括目标配置项的当前配置信息的推送消息,客户端将目标配置项的配置更新为当前配置信息。本实施例中,在配置项的配置信息未更新时,需要在预设的轮询时长内保持短连接,相应地增加了轮询时长,能够及时地感知配置项的配置信息的更改,从而保证配置信息推送的实时性。
如图3所示,其为本发明上述实施例具体的应用示例,用于对上述实施例进行解释说明。在该示例中客户端通过HTTP短连接与服务器进行交互,客户端定期基于短连接发起接轮询请求去轮询服务器。
S301、客户端向服务器发送轮询请求。
其中,轮询请求中订阅了2个配置项:配置项1和配置项2,其中,配置项的配置值为datald1group1;配置项2的配置值为datald2group2。
假设0.0s时刻,客户端通过向服务器发送轮询请求,来轮询配置项配置信息的变更状态。一般情况下,配置项的配置信息为配置项的配置值。
S302,服务器接收到轮询请求后,判断本地存储的各配置项的配置值与轮询请求中对应配置项的配置值是否一致。
若均一致,执行步骤S303。
S303、服务器基于异步Servlet技术在预设的轮询时长内保持与客户端内的短连接。
若一致说明服务器对各配置项的配置值未进行更新,即轮询结果为没有变更。服务器基于异步Servlet技术在预设的轮询时长内保持与客户端之间的短连接。在该示例中,预设的轮询时长为5s。
S304、服务器向客户端发送轮询响应。
其中,轮询响应包括null。
在该示例中,预设的轮询时长为5s,则服务器等到达轮询时长5s时 即5.0s时刻,在该示例中在短连接保持的5s时间内,服务器中配置项1和配置项2的配置信息未发生变更,则服务器向客户端发送配置无更改的轮询响应,其中该轮询响应中包括null,并关闭短连接。
S305、客户端在到达预设的时间间隔后,重新向服务器发送轮询请求。
当客户端感知到与服务器端的短连接断开后,在到达下一个预设的时间间隔时,重新向服务器端发送轮询请求,轮询配置变更状态,在该示例中,预设的时间间隔为1ms,即5.001s时刻。重新向服务器端发送轮询请求,其中,轮询请求中订阅的配置项以及配置项的配置信息。在该实例中订阅的配置项为:配置项1和配置项2。由于经过上次轮询后,配置项1和配置项2的轮询结果为未发生变更,则配置项1的配置值仍为datald1group1;配置项2的配置值仍为datald2group2。
S306、服务器端判断本地存储的各配置项的配置值与轮询请求中对应配置项的配置值是否一致。
若一致,执行步骤S306。
S307、服务器基于异步Servlet技术在预设的轮询时长内保持与客户端内的短连接。
S308、在保持短连接未到达轮询时长内,服务器在配置项2的配置值发送变更时向客户端发送配置更改的轮询响应,该轮询相应中携带配置项2。
若一致说明服务器对各配置项的配置值未进行更新,即轮询结果为没有变更,在保持短连接未到达轮询时长的过程中,向客户端发送配置未更改的轮询响应1s后即6.0s时刻,配置项2:datald2group2发生变更,则向客户端发送配置有更改的轮询响应,该轮询响应中包括配置项2,其中,配置项2为目标配置项。假设轮询到该变更的时间为3ms,则6.003s时刻向客户端发送配置有更改的轮询响应。此时即6.003s时刻客户端感知到配置变更,距离配置发生变更的时间即6.0s时刻很短,可认为客户端实时地感知到配置的变更。
S309、客户端向服务器发送配置值请求。
具体地,客户端在6.003s时刻接收到配置有更改的轮询响应后,在4.004s向服务器发送配置值请求,以请求将配置项2配置为服务器的最新的配置值。其中,最新的配置值就是配置项2的当前配置值。
S310、服务器向客户端发送配置项2的最新配置值。
在接收到配置值请求后,服务器在6.005s时刻将配置项2的最新配置值发送给客户端,相应地,客户端在接收到最新的配置值后,将配置项2的配置值更新为最新的配置值,并关闭短连接。
S311、客户端将配置项2的配置值更新为最新配置值。
具体地,客户端在6.005s时刻接收到最新的配置值后,将配置项2的配置值更新为轮询相应中配置项2的最新的当前配置值。
可选地,在步骤S308中服务器向客户端发送的配置更改的轮询响应时同时携带配置项2和配置项2的最新配置值。其中配置项2最新的配置值为datald2%02%group2。当客户端接收到轮询响应后,则将配置项2的配置值更新为最新的配置值。
此处需要说明,虽然预设的轮询时长为5s,但是在保持短连接未到轮询时长时出现配置更改的情况,直到客户端将对应配置项的配置值更新为最新的配置值仅耗时约1s。为了提高客户端实时更新配置项配置的目的,需要在配置完成后立刻断开短连接,以便于客户端尽快发送下一个轮询请求,以便于轮询配置的变更状态,达到实时向客户端推送信息的目的。
S312、客户端在到达预设的时间间隔后,重新向服务器发送轮询请求。
客户端感知到与服务器的短连接断开后,在下1ms即6.006s时刻,重新向服务器端发送轮询请求,轮询配置变更状态,其中,轮询请求中包括配置项1和配置项2以及各自的配置值。在该步骤中,配置项1的配置值为datald1group1;配置项2的配置值为datald2%2%group2。
在该示例中,在配置项的配置信息未更新时,在预设的轮询时长内保持短连接,相当于增加了轮询时长,能够及时地感知配置项的配置信息的更改,从而保证配置信息推送的实时性。
实施例三
如图4所示,其为本发明实施例三的配置信息推送装置的结构示意图。该配置信息推送装置包括:获取模块11、判断模块12、连接保持模块13、推送模块14和关闭模块15。
其中,获取模块11,用于获取客户端发送的轮询请求,所述轮询请求中包括:各配置项的配置信息。
判断模块12,用于判断所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致。
连接保持模块13,用于如果判断为是,在预设的轮询时长内保持与所述客户端之间的短连接。
推送模块14,用于如果在所述短连接保持的过程中所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新为当前配置信息。
关闭模块15,用于关闭与所述客户端之间的所述短连接。
关闭模块15,具体用于当在所述短连接保持的过程中初次出现所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致时,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新为当前配置信息之后,关闭与所述客户端之间的所述短连接。
关闭模块15,还具体用于当到达所述预设的轮询时长时,关闭与所述客户端之间的所述短连接。
进一步地,推送模块14,还用于在所述判断模块12判断结果为否时,从所述本地配置项中获取所述目标配置项,以及将所述目标配置项的当前配置信息推送给所述客户端,以使所述客户端将所述目标配置项的配置更新为当前配置信息。
进一步地,推送模块14,具体用于向所述客户端发送轮询响应,所述轮询响应包括目标配置项,接收所述客户端发送的配置信息请求,以及将 所述目标配置项的当前配置信息发送给所述客户端,以使所述客户端将所述目标配置项的配置更新为当前配置信息。
进一步地,获取模块11,还用于在所述关闭模块15关闭与所述客户端之间的所述短连接之后,在到达预设的时间间隔后重新获取所述客户端发送所述轮询请求。
进一步地,连接保持模块13,具体用于在所述判断模块的判断结果为是,向所述客户端发送异步处理请求,以使所述客户端在所述预设的轮询时长内保持所述短连接。
本实施例提供的配置信息推送装置,通过获取客户端发送的轮询请求,判断轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致,如果均一致,在预设的轮询时长内保持与客户端之间的短连接,在短连接保持的过程中出现本地配置项中有至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致,向客户端推送目标配置项的当前配置信息,以使客户端将目标配置项的配置更新为当前配置信息。本实施例中,在配置项的配置信息未更新时,需要在预设的轮询时长内保持短连接,相应地增加了轮询时长,能够及时地感知配置项的配置信息的更改,从而保证配置信息推送的实时性。
实施例四
如图5所示,其为本发明实施例四的配置信息推送装置的结构示意图。该配置信息推送装置包括:发送模块21、第一接收模块22、第二接收模块23和更新模块24。
其中,发送模块21,用于向服务器发送轮询请求,以使所述服务器判断所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致。
其中,所述轮询请求中包括各配置项的配置信息。
第一接收模块22,用于接收所述服务器发送的在预设的轮询时长内保持与所述服务器的短连接的连接保持请求。
其中,所述连接保持请求是所述服务器在判断出所述轮询请求中各配 置项的配置信息与本地对应配置项的当前配置信息均一致时发送的。
第二接收模块23,用于接收所述服务器推送的目标配置项的当前配置信息的推送消息。
其中,所述推送消息是由所述服务器中保持所述短连接的过程中,判断出至少一个所述目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致时发送的,所述目标配置项为所述本地配置项中的配置项。
更新模块24,用于将所述目标配置项的配置更新为所述当前配置信息。
进一步地,发送模块21,还用于在所述第二接收模块接收所述服务器用于推送所述目标配置项的当前配置信息的所述推送消息之前,向所述服务器发送配置信息请求,所述配置信息请求用于请求所述服务器下发所述目标配置项的当前配置信息。
进一步地,第一接收模块22,还用于接收所述服务器发送的关闭所述短连接的指示消息。
其中,所述指示消息是由所述服务器在到达预设的轮询时长后未发送所述推送消息时发送的。
进一步地,发送模块21,还用于在关闭与所述服务器之间的短连接之后,在到达预设的时间间隔后重新向所述服务器发送所述轮询请求。
进一步地,连接保持请求为用于指示在所述预设的轮询时长内保持与所述服务器之间的所述短连接的异步处理请求。
进一步地,发送模块21,还用于在所述更新模块24将所述目标配置项的配置更新为所述当前配置信息之后,在到达预设的时间间隔后重新向所述服务器发送所述轮询请求。
本实施例提供的配置信息推送装置,通过向服务器发送轮询请求,以使服务器判断轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致,如果均一致,在预设的轮询时长内保持与服务器之间的短连接,在短连接保持的过程中出现本地配置项中有至少一个目标配置项的当前配置信息与轮询请求中对应配置项的配置信息不一致,客户端 将接收到包括目标配置项的当前配置信息的推送消息,客户端将目标配置项的配置更新为当前配置信息。本实施例中,在配置项的配置信息未更新时,需要在预设的轮询时长内保持短连接,相应地增加了轮询时长,能够及时地感知配置项的配置信息的更改,从而保证配置信息推送的实时性。
实施例五
如图6所示,其为本发明实施例五的配置信息推送系统的结构示意图。该配置信息推送系统包括:服务器1和客户端2,其中服务器1结构实现方式以及处理过程,可参见上述实施例三以及说明书附图4中的记载,此次不再赘述。其中客户端2结构实现方式以及处理过程,可参见上述实施例四以及说明书附图5中的记载,此次不再赘述。
本实施例中,在配置项的配置信息未更新时,需要在预设的轮询时长内保持短连接,相应地增加了轮询时长,能够及时地感知配置项的配置信息的更改,从而保证配置信息推送的实时性。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (24)

  1. 一种配置信息推送方法,其特征在于,包括:
    获取客户端发送的轮询请求,所述轮询请求中包括:各配置项的配置信息;
    判断所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致;
    如果判断为是,在预设的轮询时长内保持与所述客户端之间的短连接;
    如果在所述短连接保持的过程中所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新为当前配置信息。
  2. 根据权利要求1所述的方法,其特征在于,还包括:
    如果判断结果为否,从所述本地配置项中获取所述目标配置项;
    将所述目标配置项的当前配置信息推送给所述客户端,以使所述客户端将所述目标配置项的配置更新为当前配置信息;
    关闭与所述客户端之间的所述短连接。
  3. 根据权利要求1所述的方法,其特征在于,所述如果在所述短连接保持的过程中所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新为当前配置信息,包括:
    向所述客户端发送轮询响应,所述轮询响应包括目标配置项;
    接收所述客户端发送的配置信息请求;
    将所述目标配置项的当前配置信息发送给所述客户端,以使所述客户端将所述目标配置项的配置更新为当前配置信息。
  4. 根据权利要求1所述的方法,其特征在于,如果在所述短连接保持的过程中所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新 为当前配置信息,包括:
    当在所述短连接保持的过程中初次出现所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致时,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新为当前配置信息;
    关闭与所述客户端之间的所述短连接。
  5. 根据权利要求3所述的方法,其特征在于,如果在所述短连接保持的过程中所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新为当前配置信息之后,包括:
    当到达所述预设的轮询时长时,关闭与所述客户端之间的所述短连接。
  6. 根据权利要求4或5所述的方法,其特征在于,所述关闭与所述客户端之间的所述短连接之后,包括:
    在到达预设的时间间隔后重新获取所述客户端发送的所述轮询请求。
  7. 根据权利要求1所述的方法,其特征在于,所述如果判断结果为是,在预设的轮询时长内保持与所述客户端之间的短连接,包括:
    向所述客户端发送异步处理请求,以使所述客户端在所述预设的轮询时长内保持所述短连接。
  8. 一种配置信息推送方法,其特征在于,包括:
    向服务器发送轮询请求,以使所述服务器判断所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致;
    其中,所述轮询请求中包括各配置项的配置信息;
    接收所述服务器发送的在预设的轮询时长内保持与所述服务器的短连接的连接保持请求;其中,所述连接保持请求是所述服务器在判断出所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息均一致时发送的;
    接收所述服务器用于推送目标配置项的当前配置信息的推送消息;
    其中,所述推送消息是由所述服务器中保持所述短连接的过程中,判断出至少一个所述目标配置项的当前配置信息与所述轮询请求中对应配 置项的配置信息不一致时发送的,所述目标配置项为所述本地配置项中的配置项;
    将所述目标配置项的配置更新为所述当前配置信息。
  9. 根据权利要求8所述的方法,其特征在于,所述接收所述服务器推送的目标配置项的当前配置信息的推送消息之前,包括:
    向所述服务器发送配置信息请求,所述配置信息请求用于请求所述服务器下发所述目标配置项的当前配置信息。
  10. 根据权利要求8所述的方法,其特征在于,还包括:
    接收所述服务器发送的关闭所述短连接的指示消息;
    其中,所述指示消息是由所述服务器在到达预设的轮询时长后未发送所述推送消息时发送的;
    在到达预设的时间间隔后重新向所述服务器发送所述轮询请求。
  11. 根据权利要求8-10任一项所述的方法,其特征在于,所述连接保持请求为用于指示在所述预设的轮询时长内保持与所述服务器之间的所述短连接的异步处理请求。
  12. 根据权利要求8或9所述的方法,其特征在于,所述将所述目标配置项的配置更新为所述当前配置信息之后,还包括:
    在到达预设的时间间隔后重新向所述服务器发送所述轮询请求。
  13. 一种配置信息推送装置,其特征在于,包括:
    获取模块,用于获取客户端发送的轮询请求,所述轮询请求中包括:各配置项的配置信息;
    判断模块,用于判断所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致;
    连接保持模块,用于如果判断为是,在预设的轮询时长内保持与所述客户端之间的短连接;
    推送模块,用于如果在所述短连接保持的过程中所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新为当前配置信息。
  14. 根据权利要求13所述的装置,其特征在于,所述推送模块,还 用于在所述判断模块判断结果为否时,从所述本地配置项中获取所述目标配置项,以及将所述目标配置项的当前配置信息推送给所述客户端,以使所述客户端将所述目标配置项的配置更新为当前配置信息。
  15. 根据权利要求13所述的装置,其特征在于,所述推送模块,具体用于向所述客户端发送轮询响应,所述轮询响应包括目标配置项,接收所述客户端发送的配置信息请求,以及将所述目标配置项的当前配置信息发送给所述客户端,以使所述客户端将所述目标配置项的配置更新为当前配置信息。
  16. 根据权利要求15所述的装置,其特征在于,还包括:
    关闭模块,用于当在所述短连接保持的过程中初次出现所述本地配置项中有至少一个目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致时,向所述客户端推送所述目标配置项的当前配置信息,以使所述客户端将所述目标配置项的配置更新为当前配置信息之后,关闭与所述客户端之间的所述短连接。
  17. 根据权利要求15所述的方法,其特征在于,所述关闭模块,还用于当到达所述预设的轮询时长时,关闭与所述客户端之间的所述短连接。
  18. 根据权利要求16或17所述的装置,其特征在于,所述获取模块,还用于在所述关闭模块关闭与所述客户端之间的所述短连接之后,在到达预设的时间间隔后重新获取所述客户端发送所述轮询请求。
  19. 根据权利要求13所述的装置,其特征在于,所述连接保持模块,具体用于在所述判断模块的判断结果为是,向所述客户端发送异步处理请求,以使所述客户端在所述预设的轮询时长内保持所述短连接。
  20. 一种配置信息推送装置,其特征在于,包括:
    发送模块,用于向服务器发送轮询请求,以使所述服务器判断所述轮询请求中各配置项的配置信息与本地对应配置项的当前配置信息是否均一致;
    其中,所述轮询请求中包括各配置项的配置信息;
    第一接收模块,用于接收所述服务器发送的在预设的轮询时长内保持与所述服务器的短连接的连接保持请求;其中,所述连接保持请求是所述服务器在判断出所述轮询请求中各配置项的配置信息与本地对应配置项 的当前配置信息均一致时发送的;
    第二接收模块,用于接收所述服务器推送的目标配置项的当前配置信息的推送消息,其中,所述推送消息是由所述服务器中保持所述短连接的过程中,判断出至少一个所述目标配置项的当前配置信息与所述轮询请求中对应配置项的配置信息不一致时发送的,其中所述目标配置项为所述本地配置项中的配置项;
    更新模块,用于将所述目标配置项的配置更新为所述当前配置信息。
  21. 根据权利要求20所述的装置,其特征在于,所述发送模块,还用于在所述第二接收模块接收所述服务器用于推送所述目标配置项的当前配置信息的所述推送消息之前,向所述服务器发送配置信息请求,所述配置信息请求用于请求所述服务器下发所述目标配置项的当前配置信息。
  22. 根据权利要求21所述的装置,其特征在于,所述第一接收模块,还用于接收所述服务器发送的关闭所述短连接的指示消息;
    其中,所述指示消息是由所述服务器在到达预设的轮询时长后未发送所述推送消息时发送的;
    所述发送模块,还用于在关闭与所述服务器之间的短连接之后,在到达预设的时间间隔后重新向所述服务器发送所述轮询请求。
  23. 根据权利要求20-22任一项所述的装置,其特征在于,所述连接保持请求为用于指示在所述预设的轮询时长内保持与所述服务器之间的所述短连接的异步处理请求。
  24. 根据权利要求20或21所述的装置,其特征在于,所述发送模块,还用于在所述更新模块将所述目标配置项的配置更新为所述当前配置信息之后,在到达预设的时间间隔后重新向所述服务器发送所述轮询请求。
PCT/CN2017/076890 2016-03-28 2017-03-16 配置信息推送方法及装置 WO2017167020A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
SG11201808520WA SG11201808520WA (en) 2016-03-28 2017-03-16 Configuration information push method and device
EP17773050.4A EP3439236B1 (en) 2016-03-28 2017-03-16 Configuration information push method and device
US16/144,621 US20190028332A1 (en) 2016-03-28 2018-09-27 Configuration information push method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610183710.1 2016-03-28
CN201610183710.1A CN107241204A (zh) 2016-03-28 2016-03-28 配置信息推送方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/144,621 Continuation US20190028332A1 (en) 2016-03-28 2018-09-27 Configuration information push method and device

Publications (1)

Publication Number Publication Date
WO2017167020A1 true WO2017167020A1 (zh) 2017-10-05

Family

ID=59963459

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/076890 WO2017167020A1 (zh) 2016-03-28 2017-03-16 配置信息推送方法及装置

Country Status (6)

Country Link
US (1) US20190028332A1 (zh)
EP (1) EP3439236B1 (zh)
CN (1) CN107241204A (zh)
SG (1) SG11201808520WA (zh)
TW (1) TW201737114A (zh)
WO (1) WO2017167020A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880851B (zh) * 2017-11-07 2022-02-25 视联动力信息技术股份有限公司 一种配置更新的方法和交互系统
CN111104133A (zh) * 2018-10-25 2020-05-05 深圳市茁壮网络股份有限公司 一种配置参数的更新系统、方法及存储介质
CN109885320A (zh) * 2018-12-29 2019-06-14 深圳云天励飞技术有限公司 一种配置信息的更新方法、装置及电子设备
US11477077B1 (en) * 2019-10-30 2022-10-18 United Services Automobile Association (Usaa) Change management system with monitoring, alerting, and trending for information technology environment
CN111193789B (zh) * 2019-12-25 2023-07-11 微民保险代理有限公司 订阅信息推送方法、装置、计算机设备和可读存储介质
CN112463251A (zh) * 2020-12-03 2021-03-09 中国建设银行股份有限公司 一种uliweb框架配置热发布的方法和装置
CN113703866B (zh) * 2021-08-25 2024-04-26 上海哔哩哔哩科技有限公司 配置中心信息同步方法及系统
US11861376B2 (en) * 2022-01-26 2024-01-02 Red Hat, Inc. Live edit of configuration management execution

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006183A (zh) * 2010-11-12 2011-04-06 百度在线网络技术(北京)有限公司 一种用于基于配置参数配置网络设备的方法与配置设备
CN103095819A (zh) * 2013-01-04 2013-05-08 微梦创科网络科技(中国)有限公司 推送数据信息的方法及数据信息推送系统
CN104519095A (zh) * 2013-09-29 2015-04-15 重庆新媒农信科技有限公司 一种动态消息推送方法及其系统、服务端、客户端
CN104660708A (zh) * 2015-03-13 2015-05-27 黄庆宇 一种基于http的移动应用消息推送方法及系统
CN104778063A (zh) * 2015-04-16 2015-07-15 小米科技有限责任公司 资源更新方法和装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6101541A (en) * 1998-04-21 2000-08-08 International Business Machines Corporation Active polling by network LDAP directory
CN103167017B (zh) * 2013-01-09 2016-06-29 北京奇虎科技有限公司 Web轮询方法、装置及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006183A (zh) * 2010-11-12 2011-04-06 百度在线网络技术(北京)有限公司 一种用于基于配置参数配置网络设备的方法与配置设备
CN103095819A (zh) * 2013-01-04 2013-05-08 微梦创科网络科技(中国)有限公司 推送数据信息的方法及数据信息推送系统
CN104519095A (zh) * 2013-09-29 2015-04-15 重庆新媒农信科技有限公司 一种动态消息推送方法及其系统、服务端、客户端
CN104660708A (zh) * 2015-03-13 2015-05-27 黄庆宇 一种基于http的移动应用消息推送方法及系统
CN104778063A (zh) * 2015-04-16 2015-07-15 小米科技有限责任公司 资源更新方法和装置

Also Published As

Publication number Publication date
EP3439236A1 (en) 2019-02-06
SG11201808520WA (en) 2018-10-30
TW201737114A (zh) 2017-10-16
EP3439236A4 (en) 2019-10-23
CN107241204A (zh) 2017-10-10
EP3439236B1 (en) 2022-05-04
US20190028332A1 (en) 2019-01-24

Similar Documents

Publication Publication Date Title
WO2017167020A1 (zh) 配置信息推送方法及装置
EP3223474B1 (en) Method and device for processing adaptive flow table
US10425318B2 (en) Method for heartbeat packet processing by using proxy, apparatus, and communications system
WO2021237433A1 (zh) 消息推送方法、装置、电子设备及计算机可读介质
US10951572B1 (en) Watermark-based message queue
TWI454917B (zh) Access control method, access control device and access control program
WO2015149471A1 (zh) 一种信息推送方法、系统、设备及计算机存储介质
CN103516588A (zh) 一种客户端进行后台处理的方法和系统
WO2017219519A1 (zh) 设备的控制方法、装置及系统
CN107508916B (zh) 用于智能机器人的服务器链接管理方法
WO2017219815A1 (zh) 消息传输系统、消息发送方法和装置、接收方法和装置
CN103516766A (zh) 一种客户端与应用服务器间进行通信的方法和系统
WO2020094021A1 (zh) 一种微服务架构下的通信方法及系统
WO2017071567A1 (zh) 无线保真WiFi热点的连接控制方法及装置
WO2019085651A1 (zh) 软件定义网络的设置方法、控制器、交换机及存储介质
JP2013236233A (ja) 無線通信プログラム、携帯装置および無線通信システム
TWI693547B (zh) 一種資料更新方法和設備
US20150055551A1 (en) Mobile wireless access point notification delivery for periodically disconnected mobile devices
US8135025B2 (en) Asynchronous communication in an unstable network
WO2016141653A1 (zh) 一种sctp连接重建立方法和装置、存储介质
JPWO2006043411A1 (ja) 通信装置および端末存在確認方法
WO2018010448A1 (zh) 文件传输方法及装置
WO2017206620A1 (zh) 应用程序状态设置的方法和装置
US10356666B2 (en) Communication device and communication control method
US20180351900A1 (en) Archiving messages without message copying

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 11201808520W

Country of ref document: SG

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2017773050

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017773050

Country of ref document: EP

Effective date: 20181029

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17773050

Country of ref document: EP

Kind code of ref document: A1