WO2021174730A1 - 网络地址处理方法、计算机设备及存储介质 - Google Patents

网络地址处理方法、计算机设备及存储介质 Download PDF

Info

Publication number
WO2021174730A1
WO2021174730A1 PCT/CN2020/099298 CN2020099298W WO2021174730A1 WO 2021174730 A1 WO2021174730 A1 WO 2021174730A1 CN 2020099298 W CN2020099298 W CN 2020099298W WO 2021174730 A1 WO2021174730 A1 WO 2021174730A1
Authority
WO
WIPO (PCT)
Prior art keywords
network address
heartbeat packet
agent component
component
heartbeat
Prior art date
Application number
PCT/CN2020/099298
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 平安科技(深圳)有限公司
Publication of WO2021174730A1 publication Critical patent/WO2021174730A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • 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

Definitions

  • This application relates to the technical field of state monitoring, and in particular to a network address processing method, computer equipment and storage medium.
  • each region and different availability zones will build a set of monitoring services according to specific needs, and the monitoring data collected in each regional availability zone will be reported to the monitoring services of their respective availability zones for unified data Storage and data analysis.
  • the reported network address will be saved in the specified configuration file and loaded into the memory when the program is started for use when needed.
  • the inventor realizes that saving the network address in a designated configuration file is not conducive to the expansion and disaster recovery of the monitoring service.
  • the process of collecting data at the lower layer needs to modify the configuration parameters and restart.
  • the updated network address can be obtained only after the startup, and the operation is not convenient and sensitive enough.
  • the first aspect of the present application provides a network address processing method, which is applied to an Agent component, and the network address processing method includes:
  • Heartbeat packet carries a network address and request parameters corresponding to the Agent component, and the network address corresponds to the reporting address of the Agent component monitoring data;
  • the network address corresponding to the Agent component is updated, the network address corresponding to the Agent component is updated to the latest network address.
  • a second aspect of the present application provides a computer device including a processor and a memory, and the processor is configured to execute computer-readable instructions stored in the memory to implement the following steps:
  • Heartbeat packet carries a network address and request parameters corresponding to the Agent component, and the network address corresponds to the reporting address of the Agent component monitoring data;
  • the network address corresponding to the Agent component is updated, the network address corresponding to the Agent component is updated to the latest network address.
  • a third aspect of the present application provides a computer-readable storage medium having at least one computer-readable instruction stored thereon, and the at least one computer-readable instruction is executed by a processor to implement the following steps:
  • Heartbeat packet carries a network address and request parameters corresponding to the Agent component, and the network address corresponds to the reporting address of the Agent component monitoring data;
  • the network address corresponding to the Agent component is updated, the network address corresponding to the Agent component is updated to the latest network address.
  • the fourth aspect of the present application provides a network address processing method, which is applied to an API component, and the network address processing method includes:
  • the latest network address corresponding to the Agent component is used as the response data carried in the heartbeat packet and the response data is returned to the Agent component.
  • a fifth aspect of the present application provides a computer device that includes a processor and a memory, and the processor is configured to execute computer-readable instructions stored in the memory to implement the following steps:
  • the latest network address corresponding to the Agent component is used as the response data carried in the heartbeat packet and the response data is returned to the Agent component.
  • a sixth aspect of the present application provides a computer-readable storage medium having at least one computer-readable instruction stored thereon, and the at least one computer-readable instruction is executed by a processor to implement the following steps:
  • the latest network address corresponding to the Agent component is used as the response data carried in the heartbeat packet and the response data is returned to the Agent component.
  • the network address can be dynamically updated by using this application, and there is no need to re-modify the parameter configuration in the Agent component every time the network address changes or expands to improve the monitoring service efficient.
  • Fig. 1 is a flowchart of a network address processing method provided by the first embodiment of the present application.
  • Fig. 2 is a flowchart of a network address processing method provided by the second embodiment of the present application.
  • Fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
  • Fig. 4 is an exemplary functional block diagram of the computer device shown in Fig. 3.
  • Fig. 1 is a flowchart of the network address processing method according to the first embodiment of the present application.
  • the network address processing method can be applied to a distributed monitoring architecture.
  • the distributed monitoring architecture includes: a client, a server, and multiple Agents. Components.
  • the server side is mainly responsible for interacting with the client and the Agent component, and the server side opens a type of API component, and the API component is used to interact with the Agent component and receive the Agent component.
  • the heartbeat request sent by the component to the server side monitors the status of the Agent component in real time.
  • the implementation process corresponding to the distributed monitoring architecture is as follows:
  • the Agent component is used to collect monitoring data and send the collected monitoring data to the API component; the API component writes the monitoring data to the monitoring database corresponding to the server; the client can A request for acquiring the monitoring data is issued to the API component, and the API component returns the monitoring data to the client according to the request for the client to query and modify.
  • an embodiment of the present application provides a network processing method, which is applied to an Agent component, and the network address processing method may include the following steps:
  • a dynamic periodic heartbeat connection is established between the Agent component and the API component, that is, the time interval for the Agent component to send heartbeat packets to the API component can be dynamically adjusted.
  • the step of establishing a dynamic periodic heartbeat connection between the Agent component and the API component includes: acquiring the sent data of the heartbeat packet sent by the Agent component in the latest detection cycle; acquiring the data in the latest detection cycle Receiving data of the heartbeat packet received by the API component; counting the number of times the heartbeat packet is lost in the most recent detection period according to the sent data and the received data; according to the number of lost times and the The rule that the sending time interval of the heartbeat packet is negatively correlated is used to adjust the next sending time interval of the heartbeat packet.
  • the detection period is preset by the user.
  • the step of adjusting the next sending time interval of the heartbeat packet according to the rule that the number of losses is negatively correlated with the sending time interval of the heartbeat packet includes: determining the loss level corresponding to the number of losses; The loss level obtains a proportional coefficient of the sending time interval of the heartbeat packet; and adjusting the next sending time interval of the heartbeat packet according to the proportional coefficient.
  • the correlation between the number of times and the loss level, and the correlation between the loss level and the proportional coefficient of the heartbeat packet sending time interval are all preset, and can be expressed in a list form.
  • the API component receives If the number of heartbeat packets is 7 times, the number of lost heartbeat packets is 3. Among them, 3 times belong to the interval [1,3], the corresponding loss level is level 1, and the proportion coefficient of the sending time interval of the heartbeat packet corresponding to the loss level is 2/3.
  • the sending time interval is shortened to 2/3 of the sending time interval of the current heartbeat packet (for example, if the sending time interval of the current heartbeat packet is 12 seconds, the shortened heartbeat packet sending time interval is 8 seconds).
  • the corresponding loss level is level two, and the proportion coefficient of the heartbeat packet sending time interval corresponding to level two is 1. /2.
  • a heartbeat packet is sent to the API component through the Agent component, wherein the heartbeat packet carries a network address and request parameters corresponding to the Agent component, and the network address corresponds to The reporting address of the Agent component monitoring data, that is, after the Agent component uploads the collected monitoring data to the API component, the API component writes the monitoring data to the corresponding server side according to the network address Monitor the database.
  • the network address of the Agent component and the available zone information are in a mapping relationship, and the mapping relationship between the network address and the available zone information is stored in a list of a designated database, and the list includes the available zone information and the corresponding agent.
  • the available zone information corresponding to the agent component can be determined by the network address of the agent component.
  • the available zone refers to a physical area in the same area where power and network are independent of each other.
  • the same region can contain different availability zones, and each availability zone can build a set of monitoring services according to its own needs.
  • the monitoring services include an Agent component, a monitoring server, and an API component.
  • the request parameter is used to obtain the latest network address corresponding to the Agent component when it is determined that the network address corresponding to the Agent component meets the update condition.
  • the request parameter is added to the heartbeat packet according to a preset format, and the preset format is preset by the user.
  • the preset format is shared by the Agent component and the API component.
  • the method further includes: the Agent component transmits the preset format of the request parameter to the API component in an offline manner, And set the validity period of the preset format with the API component. Therefore, the API component can determine whether there are request parameters in the heartbeat packet sent by the Agent component by checking whether there is data in the preset format in the heartbeat packet.
  • the method further includes: adding a preset tag to the request parameter, and by viewing the preset tag, it can be intuitively detected whether the request parameter is carried in the heartbeat packet, wherein the preset tag is Pre-set by the user can be a digital label.
  • the above-mentioned latest network address may also be stored in a node of a blockchain.
  • the Agent component after the Agent component sends a heartbeat packet to the API component, there may be cases where the API component does not respond, or there may be no heartbeat packets responded by the API component. Carrying the network address.
  • the method further includes: sending a heartbeat packet again through the Agent component, and carrying the request parameter in the heartbeat packet, requesting to obtain the latest network address, until the relevant network address is successfully obtained. information.
  • the method further includes: detecting whether the heartbeat packet carries the network address; when the detection result is that the heartbeat packet does not carry any When the network address is mentioned, the heartbeat packet is sent again, and the request parameter is carried in the heartbeat packet to request the latest network address until the relevant information is successfully obtained. It is understandable that when the Agent component receives the heartbeat packet returned by the API component, it parses the heartbeat packet to obtain the latest network address. If the heartbeat packet is parsed incorrectly, it will pass the Agent component Send the heartbeat packet again, and carry the request parameters in the heartbeat packet to request the latest network address until the relevant information is successfully obtained.
  • step S14 Determine whether the network address corresponding to the Agent component has been updated according to the latest network address, and when the result of the determination is that the network address corresponding to the Agent component has been updated, go to step S15.
  • judging whether the network address is updated according to the response data, and the step of judging whether the network address corresponding to the agent component is updated according to the latest network address includes: judging the agent component Whether the corresponding network address is consistent with the latest network address carried in the heartbeat packet returned by the API component; when the judgment result is inconsistent, it is determined that the network address corresponding to the Agent component has been updated, and the The network address corresponding to the Agent component is updated; when the judgment result is consistent, it is determined that the network address corresponding to the Agent component has not been updated, and there is no need to update the network address corresponding to the Agent component.
  • the network address corresponding to the Agent component is updated, that is, the network address to which the Agent component needs to report monitoring data
  • the address is updated, specifically, the network address corresponding to the Agent component is updated to the latest network address.
  • the network address needs to be updated only when the server is down due to some unexpected reasons, or the load on the server is too high.
  • the Agent component and the API component it is not necessary to carry a request parameter requesting network address update in each heartbeat packet. Therefore, before sending the heartbeat packet to the API component, it is also necessary to check whether the network address corresponding to the available zone meets the update condition, so that when the network address meets the update condition, the request parameter is carried in the heartbeat packet.
  • the step of detecting whether the network address corresponding to the available zone meets the update condition includes: obtaining the monitoring process corresponding to the available zone, and determining the current load data of the monitoring process; detecting whether the current load data exceeds the preset Set the load threshold; when the detection result is that the current load data exceeds the preset load threshold, determine that the network address corresponding to the available zone meets the update condition, and output a notification that the network address corresponding to the available zone meets the update condition to the corresponding In the Agent component.
  • the preset load threshold is preset by the user.
  • the network address corresponding to the available zone is updated.
  • the updated network address can be stored in the corresponding configuration file.
  • the method of updating the network address can include modifying There are no restrictions on network addresses, migration network addresses, and extended network addresses.
  • an update instruction is output to the API component, and the update instruction is used to notify the API component that the network address of the current available zone has been updated.
  • the update instruction includes the latest network address corresponding to the available zone.
  • the embodiment of the present application provides a network address processing method, which is applied to the Agent component, establishes a dynamic periodic heartbeat connection between the Agent component and the API component; sends a heartbeat packet to the API component, wherein the heartbeat packet carries Have the network address and request parameters corresponding to the Agent component; receive the heartbeat packet returned by the API component and obtain the latest network address in the heartbeat packet; determine whether the network address corresponding to the Agent component is based on the latest network address Update occurs; when the judgment result is that the network address corresponding to the Agent component is updated, the network address corresponding to the Agent component is updated to the latest network address.
  • the network address can be dynamically updated, and there is no need to re-modify the parameter configuration in the Agent component every time the network address changes or expands, thereby improving the efficiency of monitoring services.
  • an embodiment of the present application provides a network address processing method, which is applied to an API component, and the network address processing method includes:
  • a dynamic periodic heartbeat connection is established between the Agent component and the API component, that is, the time interval for the Agent component to send heartbeat packets to the API component can be dynamically adjusted.
  • the step of establishing a dynamic periodic heartbeat connection between the Agent component and the API component includes: acquiring the sending data of the heartbeat packet sent by the Agent component in the latest detection cycle; acquiring the latest one The received data of the heartbeat packet received by the API component in the detection period; according to the sent data and the received data, count the number of times the heartbeat packet is lost in the most recent detection period; according to the number of losses The rule negatively correlated with the sending time interval of the heartbeat packet adjusts the next sending time interval of the heartbeat packet.
  • the detection period is preset by the user.
  • the method further includes: parsing out the identity information of the Agent component in the heartbeat packet; storing the heartbeat packet in a time queue according to the identity information of the Agent component; starting a preset number of thread parallel rounds Inquiring the time queue, and detecting whether there are request parameters in the heartbeat packet according to the time priority order.
  • the time queue is a first-in-first-out data structure with a timestamp as a priority. The smaller the timestamp, the more the data comes out first.
  • a timestamp is a complete, verifiable data that can indicate that a piece of data has existed before a certain time. Usually, a sequence of characters uniquely identifies the time of a certain moment.
  • the Agent component of the same identity information For the heartbeat packets sent by the Agent component of the same identity information, they are stored in a queue of the time queue according to the time stamp sequence (the time sequence in which the API component receives the heartbeat packet), that is, The time queue is composed of a queue composed of heartbeat packets sent by multiple Agent components with different identity information.
  • step S23 Detect whether there is a request parameter in the heartbeat packet, and when the detection result is that there is a request parameter in the heartbeat packet, go to step S24.
  • the step of detecting whether there is a request parameter in the heartbeat packet includes: detecting whether there is data in a preset format in the heartbeat packet, and when the detection result is that the heartbeat packet exists When pre-formatted data, it is determined that there are request parameters in the heartbeat packet; or, it is detected whether there is a preset label in the heartbeat packet, and when the detection result is that there is a preset label in the heartbeat packet, the heartbeat packet is determined There are request parameters in the package.
  • the network address corresponding to the Agent component carried in the heartbeat packet is acquired, and the network address is the Agent component The corresponding original network address.
  • the target available zone information corresponding to the network address of the Agent component is obtained from a designated database.
  • the network address of the Agent component and the available zone information are in a mapping relationship, and the mapping relationship between the network address of the Agent component and the available zone information is stored in a list of a designated database, and the list includes the available zone information And the corresponding network address of the Agent component.
  • the available zone information corresponding to the agent component can be determined by the network address of the agent component.
  • the latest network address of the Agent component corresponding to the target available zone information is obtained through the API component.
  • the latest network address of the Agent component corresponding to it can be determined through the available zone information.
  • the network of the server corresponding to the API component needs to be migrated or expanded.
  • the address will be changed.
  • the latest network address of the server corresponding to the API component is used as the response data carried in the heartbeat packet and the response data is returned to the Agent component.
  • the embodiment of the application provides a network address processing method, which is applied to an API component, establishes a dynamic periodic heartbeat connection between the Agent component and the API component; receives the heartbeat packet sent by the Agent component; and detects whether the heartbeat packet is There are request parameters; when the detection result is that there are request parameters in the heartbeat packet, the network address of the Agent component carried in the heartbeat packet is obtained; according to the mapping relationship between the network address of the Agent component and the available zone, from Obtain the target availability zone information corresponding to the network address of the Agent component in the designated database; acquire the latest network address of the Agent component corresponding to the target availability zone information; use the latest network address corresponding to the Agent component as the heartbeat The response data carried by the packet and the response data is returned to the Agent component.
  • the network address can be dynamically updated, and there is no need to re-modify the parameter configuration in the Agent component every time the network address changes or expands, thereby improving the efficiency of monitoring services.
  • FIG. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
  • the computer device 1 includes a memory 10 in which a network address processing device 100 is stored.
  • the computer device 1 may be a computer, a tablet computer, a personal digital assistant, and other electronic devices with functions such as data processing, analysis, program execution, and display.
  • the network address processing device 100 can establish a dynamic periodic heartbeat connection between the Agent component and the API component; send a heartbeat packet to the API component, where the The heartbeat packet carries the network address and request parameters corresponding to the Agent component; receives the heartbeat packet returned by the API component and obtains the latest network address in the heartbeat packet; judges that the Agent component corresponds to the latest network address Whether the network address of the agent is updated; when the judgment result is that the network address corresponding to the Agent component is updated, the network address corresponding to the Agent component is updated to the latest network address.
  • the network address processing device 100 can establish a dynamic periodic heartbeat connection between the Agent component and the API component; receive the heartbeat packet sent by the Agent component; and detect the Whether there are request parameters in the heartbeat packet; when the detection result is that there are request parameters in the heartbeat packet, obtain the network address of the Agent component carried in the heartbeat packet; according to the network address of the Agent component and the available zone Mapping relationship, obtain the target available zone information corresponding to the network address of the Agent component from a designated database; obtain the latest network address of the Agent component corresponding to the target available zone information; convert the latest network address corresponding to the Agent component As the response data carried in the heartbeat packet and return the response data to the Agent component.
  • the network address can be dynamically updated, and there is no need to re-modify the parameter configuration in the Agent component every time the network address changes or expands, thereby improving the efficiency of monitoring services.
  • the computer device 1 may also include a display screen 20 and a processor 30.
  • the memory 10 and the display screen 20 may be electrically connected to the processor 30 respectively.
  • the memory 10 may be different types of storage devices for storing various types of data.
  • it can be the memory or internal memory of the computer device 1, or it can be a memory card that can be externally connected to the computer device 1, such as flash memory, SM card (Smart Media Card), SD card (Secure Digital Card, secure digital card). Card) etc.
  • the memory 10 may include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card (Flash Card), At least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • the memory 10 is used to store various types of data, for example, various types of applications (Applications) installed in the computer device 1, and data set and obtained by applying the above-mentioned network address processing method.
  • the display screen 20 is installed in the computer device 1 for displaying information.
  • the processor 30 is configured to execute the network address processing method and various software installed in the computer device 1, such as an operating system and application display software.
  • the processor 30 includes, but is not limited to, a processor (Central Processing Unit, CPU), a Micro Controller Unit (Micro Controller Unit, MCU) and other devices for interpreting computer instructions and processing data in computer software.
  • a processor Central Processing Unit, CPU
  • MCU Micro Controller Unit
  • the network address processing apparatus 100 may include one or more modules, and the one or more modules are stored in the memory 10 of the computer device 1 and configured to be operated by one or more processors (this embodiment is A processor 30) executes to complete the embodiment of the present application.
  • the network address processing device 100 may include a heartbeat connection module 101, a heartbeat packet sending module 102, a data acquisition module 103, an update judgment module 104, an address update module 105, a heartbeat packet receiving module 106, and information Obtaining module 107.
  • the module referred to in the embodiment of the present application may be a program segment that completes a specific function, and is more suitable for describing the execution process of software in the processor 30 than a program.
  • the network address processing apparatus 100 may include some or all of the functional modules shown in FIG. 4, and the functions of each module will be described in detail below . It should be noted that the same nouns and related nouns and their specific explanations in the various implementations of the network address processing method above can also be applied to the following introduction to the functions of each module. To save space and avoid repetition, I won’t repeat them here.
  • the heartbeat connection module 101 can be used to establish a dynamic periodic heartbeat connection between the Agent component and the API component.
  • the heartbeat packet sending module 102 may be used to send a heartbeat packet to the API component, where the heartbeat packet carries a network address and request parameters corresponding to the Agent component, and the network address corresponds to the monitoring data of the Agent component. Report address.
  • the address obtaining module 103 may be configured to receive the heartbeat packet returned by the API component and obtain the latest network address in the heartbeat packet.
  • the update judgment module 104 may be used to judge whether the network address corresponding to the Agent component is updated according to the latest network address.
  • the address update module 105 may be configured to update the network address corresponding to the Agent component to the latest network address when the judgment result is that the network address corresponding to the Agent component is updated.
  • the heartbeat connection module 101 can be used to establish a dynamic periodic heartbeat connection between the Agent component and the API component.
  • the heartbeat packet receiving module 106 may be used to receive the heartbeat packet sent by the Agent component.
  • the data acquisition module 103 may also be used to detect whether there are request parameters in the heartbeat packet.
  • the information obtaining module 107 may be configured to obtain the network address of the Agent component carried in the heartbeat packet when the detection result is that the request parameter exists in the heartbeat packet.
  • the information obtaining module 107 may also be used to obtain target available zone information corresponding to the network address of the Agent component from a designated database according to the mapping relationship between the network address of the Agent component and the available zone.
  • the information obtaining module 107 may also be used to obtain the latest network address of the Agent component corresponding to the target available zone information.
  • the heartbeat packet sending module 102 may also be configured to use the latest network address corresponding to the Agent component as the response data carried in the heartbeat packet and return the response data to the Agent component.
  • the embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium may be a non-volatile or volatile storage medium.
  • a computer program is stored thereon, and when the computer program is executed by the processor 30, the steps of the network address processing method in any of the above embodiments are realized.
  • the network address processing apparatus 100/computer equipment1/computer equipment integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • this application implements all or part of the processes in the above-mentioned implementation methods, and can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor 30, the steps of the foregoing method embodiments can be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) )Wait.
  • the so-called processor 30 may be a central processing unit (Central Processing Unit, CPU), other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
  • the processor 30 is the control center of the network address processing apparatus 100/computer equipment 1, and is connected by various interfaces and lines. Each part of the entire network address processing apparatus 100/computer equipment 1.
  • the memory 10 is used to store the computer program and/or module, and the processor 30 runs or executes the computer program and/or module stored in the memory 10 and calls the data stored in the memory 10,
  • the various functions of the network address processing apparatus 100/computer equipment 1 are realized.
  • the memory 10 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may Data (such as audio data, etc.) created in accordance with the use of the computer device 1 and the like are stored.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请涉及状态监控技术,提供一种网络地址处理方法,将所述Agent组件与API组件建立动态周期的心跳连接;发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数;接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址;根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新;当判断结果为所述Agent组件对应的网络地址发生更新时,将所述Agent组件对应的网络地址更新为所述最新网络地址。本申请还提供计算机设备及存储介质。本申请能够动态更新网络地址,且无需每次在网络地址有变动或扩展时,重新修改Agent组件中的参数配置,提升监控服务效率。本申请还涉及区块链,所述最新网络地址可存储于区块链中。

Description

网络地址处理方法、计算机设备及存储介质
本申请要求于2020年03月02日提交中国专利局,申请号为202010137266.6,发明名称为“网络地址处理方法、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及状态监控技术领域,尤其涉及一种网络地址处理方法、计算机设备及存储介质。
背景技术
在分布式监控架构中,每个地域,不同可用区会根据具体需求各自搭建一套监控服务,各个地域可用区采集到的监控数据会上报到各自可用区的监控服务中,以便进行统一的数据存储及数据分析。一般情况下,会将上报网络地址保存在指定配置文件中,在程序启动时加载到内存中以便需要时使用。
然而,发明人意识到将网络地址保存在指定配置文件中,并不利于监控服务的扩展及灾备,一旦发生上层上报网络地址的迁移和扩展,底层负责采集数据的进程需要修改配置参数,重新启动方可获取到更新的网络地址,操作不够便捷及灵敏。
因而,亟待提出一种解决方法,用于进行网络地址处理。
发明内容
鉴于以上内容,有必要提出一种网络地址处理方法、计算机设备以及计算机可读存储介质,其可以动态更新网络地址,且无需每次在网络地址有变动或扩展时,重新修改Agent组件中的参数配置,提升监控服务效率。
本申请的第一方面提供一种网络地址处理方法,应用于Agent组件中,所述网络地址处理方法包括:
将所述Agent组件与API组件建立动态周期的心跳连接;
发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数,所述网络地址对应所述Agent组件监控数据的上报地址;
接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址;
根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新;
当判断结果为所述Agent组件对应的网络地址发生更新时,将所述Agent组件对应的网络地址更新为所述最新网络地址。
本申请的第二方面提供一种计算机设备,所述计算机设备包括处理器和存储器,所述处理器用于执行所述存储器中存储的计算机可读指令以实现以下步骤:
将所述Agent组件与API组件建立动态周期的心跳连接;
发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数,所述网络地址对应所述Agent组件监控数据的上报地址;
接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址;
根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新;
当判断结果为所述Agent组件对应的网络地址发生更新时,将所述Agent组件对应的网 络地址更新为所述最新网络地址。
本申请的第三方面提供一种计算机可读存储介质,所述计算机可读存储介质上存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行以实现以下步骤:
将所述Agent组件与API组件建立动态周期的心跳连接;
发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数,所述网络地址对应所述Agent组件监控数据的上报地址;
接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址;
根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新;
当判断结果为所述Agent组件对应的网络地址发生更新时,将所述Agent组件对应的网络地址更新为所述最新网络地址。
本申请的第四方面提供一种网络地址处理方法,应用于API组件中,所述网络地址处理方法包括:
将Agent组件与所述API组件建立动态周期的心跳连接;
接收所述Agent组件发送的心跳包;
检测所述心跳包中是否存在请求参数;
当检测结果为所述心跳包中存在请求参数时,获取所述心跳包中携带的所述Agent组件的网络地址;
根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述Agent组件的网络地址的目标可用区信息;
获取对应所述目标可用区信息的所述Agent组件的最新网络地址;
将所述Agent组件对应的最新网络地址作为所述心跳包携带的响应数据并将所述响应数据返回至所述Agent组件。
本申请的第五方面提供一种计算机设备,所述计算机设备包括处理器和存储器,所述处理器用于执行所述存储器中存储的计算机可读指令以实现以下步骤:
将Agent组件与所述API组件建立动态周期的心跳连接;
接收所述Agent组件发送的心跳包;
检测所述心跳包中是否存在请求参数;
当检测结果为所述心跳包中存在请求参数时,获取所述心跳包中携带的所述Agent组件的网络地址;
根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述Agent组件的网络地址的目标可用区信息;
获取对应所述目标可用区信息的所述Agent组件的最新网络地址;
将所述Agent组件对应的最新网络地址作为所述心跳包携带的响应数据并将所述响应数据返回至所述Agent组件。
本申请的第六方面提供一种计算机可读存储介质,所述计算机可读存储介质上存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行以实现以下步骤:
将Agent组件与所述API组件建立动态周期的心跳连接;
接收所述Agent组件发送的心跳包;
检测所述心跳包中是否存在请求参数;
当检测结果为所述心跳包中存在请求参数时,获取所述心跳包中携带的所述Agent组件的网络地址;
根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述 Agent组件的网络地址的目标可用区信息;
获取对应所述目标可用区信息的所述Agent组件的最新网络地址;
将所述Agent组件对应的最新网络地址作为所述心跳包携带的响应数据并将所述响应数据返回至所述Agent组件。
由以上技术方案可知,本申请应用区块链技术中,利用本申请,能够动态更新网络地址,且无需每次在网络地址有变动或扩展时,重新修改Agent组件中的参数配置,提升监控服务效率。
附图说明
图1是本申请第一实施方式提供的网络地址处理方法的流程图。
图2是本申请第二实施方式提供的网络地址处理方法的流程图。
图3是本申请一实施方式的计算机设备的结构示意图。
图4是图3所示的计算机设备的示例性的功能模块图。
如下具体实施方式将结合上述附图进一步说明本申请。
具体实施方式
为了能够更清楚地理解本申请的上述目的、特征和优点,下面结合附图和具体实施例对本申请进行详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本申请,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。
图1是本申请第一实施方式的网络地址处理方法的流程图,所述网络地址处理方法可以应用于分布式监控架构中,所述分布式监控架构包括:客户端、服务器端和多个Agent组件。其中,所述服务器端主要负责与所述客户端及所述Agent组件进行交互,所述服务器端开放了一类API组件,所述API组件用于与所述Agent组件进行交互,接收所述Agent组件向服务器端发送的心跳请求,实时监控所述Agent组件的状态。
具体地,所述分布式监控架构对应的实现过程如下所示:
所述Agent组件用于采集监控数据,并向所述API组件发送采集到的所述监控数据;所述API组件将所述监控数据写入到服务器端对应的监控数据库中;所述客户端能够向所述API组件发出获取所述监控数据的请求,所述API组件根据请求将所述监控数据返回给所述客户端,供所述客户端查询修改。
如图1所示,本申请实施例提供一种网络处理方法,应用于Agent组件中,所述网络地址处理方法可以包括如下步骤:
S11、将所述Agent组件与API组件建立动态周期的心跳连接。
在本申请的至少一实施例中,将Agent组件与API组件建立动态周期的心跳连接,也即,所述Agent组件向所述API组件发送心跳包的时间间隔时可以进行动态调整的。具体地,所述Agent组件与API组件建立动态周期的心跳连接的步骤包括:获取最近的一个检测周期内所述Agent组件发出所述心跳包的发出数据;获取在所述最近的一个检测周期内所述API组件接收到的所述心跳包的接收数据;根据所述发出数据与所述接收数据统计所述最近的一个检测周期内所述心跳包的丢失次数;根据所述丢失次数与所述心跳包的发送时间间隔呈负相关的规则调整所述心跳包的下一次发送时间间隔。其中,所述检测周期为用户预先设置的。
优选地,所述根据所述丢失次数与所述心跳包的发送时间间隔呈负相关的规则调整所述心跳包的下一次发送时间间隔的步骤包括:确定所述丢失次数对应的丢失级别;根据所述丢失级别得到所述心跳包发送时间间隔的比例系数;根据所述比例系数调整所述心跳包的下一个发送时间间隔。其中,所述次数与丢失级别的关联关系、所述丢失级别与所述心跳包发送时间间隔的比例系数的关联关系均为预先设置的,可以通过列表形式表示。
示例性地,统计在最近一个检测周期内所述API组件对所述Agent组件发出的心跳包的接收数据,当所述Agent组件发出的心跳包的次数为10次,但所述API组件接收到的心跳包的次数为7次,则所述心跳包的丢失次数为3次。其中,3次属于区间[1,3],对应的丢失级别为一级,丢失级别为一级对应的所述心跳包的发送时间间隔的比例系数为2/3,则缩短所述心跳包的发送时间间隔,且缩短为当前心跳包的发送时间间隔的2/3(例如,当前心跳包的发送时间间隔为12秒,则缩短后的心跳包的发送时间间隔为8秒)。若所述Agent组件发出的心跳包的丢失次数为5次,5次属于区间[4,6],对应的丢失级别为二级,二级对应的所述心跳包发送时间间隔的比例系数为1/2.以此类推,在此不再赘述。
S12、发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数,所述网络地址对应所述Agent组件监控数据的上报地址。
在本申请的至少一实施例中,通过所述Agent组件向所述API组件发送心跳包,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数,所述网络地址对应所述Agent组件监控数据的上报地址,也即所述Agent组件将采集的监控数据上传至所述API组件后,所述API组件根据所述网络地址将所述监控数据写入到服务器端对应的监控数据库中。所述Agent组件的网络地址与可用区信息呈映射关系,且所述网络地址与所述可用区信息的映射关系保存至指定数据库的列表中,所述列表包括可用区信息与对应的所述Agent组件的网络地址。通过所述Agent组件的网络地址可以确定与之对应的可用区信息。其中,所述可用区是指在同一地域内,电力和网络相互独立的物理区域。同一地域内可以包含不同的可用区,且每个可用区可以根据各自需求搭建一套监控服务,所述监控服务包括Agent组件、监控服务器端以及API组件。
所述请求参数用于在判断所述Agent组件对应的网络地址满足更新条件时,获取所述Agent组件对应的最新网络地址。所述请求参数按照预设格式添加在所述心跳包中,所述预设格式为用户预先设置的。所述预设格式为所述Agent组件与所述API组件共有的,具体地,所述方法还包括:所述Agent组件通过离线方式将所述请求参数的预设格式传输给所述API组件,并与所述API组件设定所述预设格式的有效期。因而所述API组件可以通过查看所述心跳包中是否存在所述预设格式的数据即可确定所述Agent组件发送的所述心跳包中是否存在请求参数。优选地,所述方法还包括:对所述请求参数添加预设标签,通过查看所述预设标签,可以直观地检测出所述心跳包中是否携带请求参数,其中,所述预设标签为用户预先设置的,可以为数字标签。
S13、接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址。
需要强调的是,为进一步保证上述最新网络地址的私密和安全性,上述最新网络地址还可以存储于一区块链的节点中。
在本申请的至少一实施例中,在所述Agent组件向所述API组件发送心跳包之后,可能会存在所述API组件无响应的情况,也可能存在所述API组件响应的心跳包中未携带网络地址的情况。当所述API组件无响应时,所述方法还包括:通过所述Agent组件再次发送心跳包,并在所述心跳包中携带所述请求参数,请求获取最新的网络地址,直到成功获取到相关信息。当所述Agent组件接收到所述API组件返回的心跳包时,所述方法还包括:检测所述心跳包中是否携带有所述网络地址;当检测结果为所述心跳包中未携带有所述网络地址时,则再次发送心跳包,并在所述心跳包中携带所述请求参数,请求获取最新的网络地址,直到 成功获取到相关信息。可以理解的是,所述Agent组件在接收到所述API组件返回的心跳包时,解析所述心跳包以获取所述最新网络地址,若所述心跳包解析有误,则通过所述Agent组件再次发送心跳包,并在所述心跳包中携带所述请求参数,请求获取最新的网络地址,直到成功获取到相关信息。
S14、根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新,当判断结果为所述Agent组件对应的网络地址发生更新时,进入步骤S15。
在本申请的至少一实施例中,根据所述响应数据判断网络地址是否更新,所述根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新的步骤包括:判断所述Agent组件对应的网络地址与所述API组件返回的心跳包中携带的所述最新网络地址是否一致;当判断结果为不一致时,则确定所述Agent组件对应的网络地址已发生更新,进而需要对所述Agent组件对应的网络地址进行更新;当判断结果为一致时,则确定所述Agent组件对应的网络地址未发生更新,则无需对所述Agent组件对应的网络地址进行更新。
S15、将所述Agent组件对应的网络地址更新为所述最新网络地址。
在本申请的至少一实施例中,当判断结果为所述Agent组件对应的网络地址发生更新时,则更新所述Agent组件对应的网络地址,也即对所述Agent组件需上报监控数据的网络地址进行更新,具体地,将所述Agent组件对应的网络地址更新为所述最新网络地址。
可以理解的是,当遇到某些突发性原因导致服务器端当机,或由于服务器端承载的压力过大时,所述网络地址才需要进行更新。优选地,为了节省传输流量,在所述Agent组件与所述API组件的心跳连接过程中,并不需要在每次心跳包中都携带有请求网络地址更新的请求参数。因而,在发送心跳包至所述API组件之前,还需检测所述可用区对应的网络地址是否满足更新条件,从而当网络地址满足更新条件时,在所述心跳包中携带所述请求参数。具体地,所述检测所述可用区对应的网络地址是否满足更新条件的步骤包括:获取可用区对应的监控进程,并确定所述监控进程的当前负载数据;检测所述当前负载数据是否超出预设负载阈值;当检测结果为所述当前负载数据超出预设负载阈值,确定所述可用区对应的网络地址满足更新条件,并输出所述可用区对应的网络地址满足更新条件的通知至对应的Agent组件中。其中,所述预设负载阈值为用户预先设置的。
可以理解的是,当所述可用区对应的网络地址满足更新条件时,更新所述可用区对应的网络地址,更新的网络地址可以存储在相应的配置文件中,更新网络地址的方法可以包括修改网络地址、迁移网络地址及扩展网络地址等,在此不作限制。当更新所述网络地址之后,向所述API组件输出更新指令,所述更新指令用于通知所述API组件,当前可用区的网络地址已完成更新。优选地,所述更新指令中包含可用区对应的最新的网络地址。
本申请实施例提供一种网络地址处理方法,应用于Agent组件中,将所述Agent组件与API组件建立动态周期的心跳连接;发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数;接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址;根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新;当判断结果为所述Agent组件对应的网络地址发生更新时,将所述Agent组件对应的网络地址更新为所述最新网络地址。通过本申请实施例,可以动态更新网络地址,且无需每次在网络地址有变动或扩展时,重新修改Agent组件中的参数配置,提升监控服务效率。
如图2所示,本申请实施例提供一种网络地址处理方法,应用于API组件中,所述网络地址处理方法包括:
S21、将Agent组件与所述API组件建立动态周期的心跳连接。
在本申请的至少一实施例中,将Agent组件与API组件建立动态周期的心跳连接,也即,所述Agent组件向所述API组件发送心跳包的时间间隔时可以进行动态调整的。具体地,所述将Agent组件与所述API组件建立动态周期的心跳连接的步骤包括:获取最近的一个检测 周期内所述Agent组件发出所述心跳包的发出数据;获取在所述最近的一个检测周期内所述API组件接收到的所述心跳包的接收数据;根据所述发出数据与所述接收数据统计所述最近的一个检测周期内所述心跳包的丢失次数;根据所述丢失次数与所述心跳包的发送时间间隔呈负相关的规则调整所述心跳包的下一次发送时间间隔。其中,所述检测周期为用户预先设置的。
S22、接收所述Agent组件发送的心跳包。
在本申请的至少一实施例中,当所述API组件同时接收到多个所述Agent组件发送的心跳包,或者当所述API组件接收到一所述Agent组件发送的多个心跳包时,所述方法还包括:解析出所述心跳包中的所述Agent组件的身份信息;根据所述Agent组件的身份信息将所述心跳包存储至时间队列中;开启预设个数的线程并行轮询所述时间队列,并按照时间优先级顺序检测所述心跳包中是否存在请求参数。其中,所述时间队列是一个以时间戳为优先级的先入先出的数据结构,时间戳越小,数据越先出。时间戳,是一个能表示一份数据在某个特定时间之前已经存在的、完整的、可验证的数据,通常一个字符序列,唯一地标识某一刻的时间。
具体地,对于同一个身份信息的Agent组件发送的心跳包,按照时间戳顺序(所述API组件接收所述心跳包的时间顺序)将其存储至所述时间队列的一队列中,也即所述时间队列由多个不同身份信息的Agent组件发送的心跳包组成的队列构成。
S23、检测所述心跳包中是否存在请求参数,当检测结果为所述心跳包中存在请求参数时,进入步骤S24。
在本申请的至少一实施例中,所述检测所述心跳包中是否存在请求参数的步骤包括:检测所述心跳包中是否存在预设格式的数据,当检测结果为所述心跳包中存在预设格式的数据时,确定所述心跳包中存在请求参数;或者,检测所述心跳包中是否存在预设标签,当检测结果为所述心跳包中存在预设标签时,确定所述心跳包中存在请求参数。
S24、获取所述心跳包中携带的所述Agent组件的当前网络地址。
在本申请的至少一实施例中,当检测结果为所述心跳包中存在请求参数时,获取所述心跳包中携带的所述Agent组件对应的网络地址,所述网络地址为所述Agent组件对应的原始网络地址。
S25、根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述Agent组件的网络地址的目标可用区信息。
在本申请的至少一实施例中,,根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述Agent组件的网络地址的目标可用区信息。
具体地,所述Agent组件的网络地址与可用区信息呈映射关系,且所述Agent组件的网络地址与所述可用区信息的映射关系保存至指定数据库的列表中,所述列表包括可用区信息与对应的所述Agent组件的网络地址。通过所述Agent组件的网络地址可以确定与之对应的可用区信息。
S26、获取对应所述目标可用区信息的所述Agent组件的最新网络地址。
在本申请的至少一实施例中,通过所述API组件获取对应所述目标可用区信息的所述Agent组件的最新网络地址。通过所述可用区信息可以确定与之对应的所述Agent组件的最新网络地址。
S27、将所述Agent组件对应的最新网络地址作为所述心跳包携带的响应数据并将所述响应数据返回至所述Agent组件。
在本申请的至少一实施例中,当所述API组件对应的服务器端的上报网络地址(也即所述Agent组件对应的网络地址)需要发生迁移或扩展时,所述API组件对应的服务器端的网络地址会进行变更。将所述API组件对应服务器端的最新网络地址作为所述心跳包携带的响 应数据并将所述响应数据返回至所述Agent组件。
本申请实施例提供一种网络地址处理方法,应用于API组件中,将Agent组件与所述API组件建立动态周期的心跳连接;接收所述Agent组件发送的心跳包;检测所述心跳包中是否存在请求参数;当检测结果为所述心跳包中存在请求参数时,获取所述心跳包中携带的所述Agent组件的网络地址;根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述Agent组件的网络地址的目标可用区信息;获取对应所述目标可用区信息的所述Agent组件的最新网络地址;将所述Agent组件对应的最新网络地址作为所述心跳包携带的响应数据并将所述响应数据返回至所述Agent组件。通过本申请实施例,可以动态更新网络地址,且无需每次在网络地址有变动或扩展时,重新修改Agent组件中的参数配置,提升监控服务效率。
以上是对本申请实施例所提供的方法进行的详细描述。根据不同的需求,所示流程图中方块的执行顺序可以改变,某些方块可以省略。下面对本申请实施例所提供的计算机设备1进行描述。
图3是本申请一实施方式的计算机设备的结构示意图,如图3所示,计算机设备1包括存储器10,存储器10中存储有网络地址处理装置100。所述的计算机设备1可以是计算机、平板电脑、个人数字助理等具有数据处理、分析、程序执行及显示等功能的电子设备。当所述网络地址处理装置100应用于Agent组件时,所述网络地址处理装置100可以将所述Agent组件与API组件建立动态周期的心跳连接;发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数;接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址;根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新;当判断结果为所述Agent组件对应的网络地址发生更新时,将所述Agent组件对应的网络地址更新为所述最新网络地址。
当所述网络地址处理装置100应用于API组件时,所述网络地址处理装置100可以将Agent组件与所述API组件建立动态周期的心跳连接;接收所述Agent组件发送的心跳包;检测所述心跳包中是否存在请求参数;当检测结果为所述心跳包中存在请求参数时,获取所述心跳包中携带的所述Agent组件的网络地址;根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述Agent组件的网络地址的目标可用区信息;获取对应所述目标可用区信息的所述Agent组件的最新网络地址;将所述Agent组件对应的最新网络地址作为所述心跳包携带的响应数据并将所述响应数据返回至所述Agent组件。通过本申请实施例,可以动态更新网络地址,且无需每次在网络地址有变动或扩展时,重新修改Agent组件中的参数配置,提升监控服务效率。
本实施方式中,计算机设备1还可以包括显示屏20及处理器30。存储器10、显示屏20可以分别与处理器30电连接。
所述的存储器10可以是不同类型存储设备,用于存储各类数据。例如,可以是计算机设备1的存储器、内存,还可以是可外接于该计算机设备1的存储卡,如闪存、SM卡(Smart Media Card,智能媒体卡)、SD卡(Secure Digital Card,安全数字卡)等。此外,存储器10可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。存储器10用于存储各类数据,例如,所述计算机设备1中安装的各类应用程序(Applications)、应用上述网络地址处理方法而设置、获取的数据等信息。
显示屏20安装于计算机设备1,用于显示信息。
处理器30用于执行所述网络地址处理方法以及所述计算机设备1内安装的各类软件,例如操作系统及应用显示软件等。处理器30包含但不限于处理器(Central Processing Unit,CPU)、 微控制单元(Micro Controller Unit,MCU)等用于解释计算机指令以及处理计算机软件中的数据的装置。
所述的网络地址处理装置100可以包括一个或多个的模块,所述一个或多个模块被存储在计算机设备1的存储器10中并被配置成由一个或多个处理器(本实施方式为一个处理器30)执行,以完成本申请实施例。例如,参阅图4所示,所述网络地址处理装置100可以包括心跳连接模块101、心跳包发送模块102、数据获取模块103、更新判断模块104、地址更新模块105、心跳包接收模块106以及信息获取模块107。本申请实施例所称的模块可以是完成一特定功能的程序段,比程序更适合于描述软件在处理器30中的执行过程。
可以理解的是,对应上述网络地址处理方法中的各实施方式,所述网络地址处理装置100可以包括图4中所示的各功能模块中的一部分或全部,各模块的功能将在以下具体介绍。需要说明的是,以上网络地址处理方法的各实施方式中相同的名词相关名词及其具体的解释说明也可以适用于以下对各模块的功能介绍。为节省篇幅及避免重复起见,在此就不再赘述。
当所述网络地址处理装置100应用于Agent组件时,所述心跳连接模块101可以用于将所述Agent组件与API组件建立动态周期的心跳连接。
心跳包发送模块102可以用于发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数,所述网络地址对应所述Agent组件监控数据的上报地址。
地址获取模块103可以用于接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址。
更新判断模块104可以用于根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新。
地址更新模块105可以用于当判断结果为所述Agent组件对应的所述网络地址发生更新时,将所述Agent组件对应的网络地址更新为所述最新网络地址。
当所述网络地址处理装置100应用于API组件时,所述心跳连接模块101可以用于将Agent组件与所述API组件建立动态周期的心跳连接。
所述心跳包接收模块106可以用于接收所述Agent组件发送的心跳包。
所述数据获取模块103还可以用于检测所述心跳包中是否存在请求参数。
所述信息获取模块107可以用于当检测结果为所述心跳包中存在请求参数时,获取所述心跳包中携带的所述Agent组件的网络地址。
所述信息获取模块107还可以用于根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述Agent组件的网络地址的目标可用区信息。
所述信息获取模块107还可以用于获取对应所述目标可用区信息的所述Agent组件的最新网络地址。
所述心跳包发送模块102还可以用于将所述Agent组件对应的最新网络地址作为所述心跳包携带的响应数据并将所述响应数据返回至所述Agent组件。
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质可以是非易失性,也可以是易失性的存储介质。其上存储有计算机程序,所述计算机程序被处理器30执行时实现上述任一实施方式中的网络地址处理方法的步骤。
所述网络地址处理装置100/计算机设备1/计算机设备集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施方式方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器30执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或 某些中间形式等。所述计算机可读存储介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)等。
所称处理器30可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器30是所述网络地址处理装置100/计算机设备1的控制中心,利用各种接口和线路连接整个网络地址处理装置100/计算机设备1的各个部分。
所述存储器10用于存储所述计算机程序和/或模块,所述处理器30通过运行或执行存储在所述存储器10内的计算机程序和/或模块,以及调用存储在存储器10内的数据,实现所述网络地址处理装置100/计算机设备1的各种功能。所述存储器10可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据计算机设备1的使用所创建的数据(比如音频数据等)等。
在本申请所提供的几个具体实施方式中,应该理解到,所揭露的计算机设备和方法,可以通过其它的方式实现。例如,以上所描述的系统实施方式仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
对于本领域技术人员而言,显然本申请实施例不限于上述示范性实施例的细节,而且在不背离本申请实施例的精神或基本特征的情况下,能够以其他的具体形式实现本申请实施例。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请实施例的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请实施例内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。系统、装置或计算机设备权利要求中陈述的多个单元、模块或装置也可以由同一个单元、模块或装置通过软件或者硬件来实现。
以上实施方式仅用以说明本申请实施例的技术方案而非限制,尽管参照以上较佳实施方式对本申请实施例进行了详细说明,本领域的普通技术人员应当理解,可以对本申请实施例的技术方案进行修改或等同替换都不应脱离本申请实施例的技术方案的精神和范围。

Claims (20)

  1. 一种网络地址处理方法,应用于Agent组件中,其中,所述网络地址处理方法包括:
    将所述Agent组件与API组件建立动态周期的心跳连接;
    发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数,所述网络地址对应所述Agent组件监控数据的上报地址;
    接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址;
    根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新;
    当判断结果为所述Agent组件对应的网络地址发生更新时,将所述Agent组件对应的网络地址更新为所述最新网络地址。
  2. 根据权利要求1所述的网络地址处理方法,其中,所述将所述Agent组件与API组件建立动态周期的心跳连接的步骤包括:
    获取最近的一个检测周期内所述Agent组件发出所述心跳包的发出数据;
    获取在所述最近的一个检测周期内所述API组件接收到的所述心跳包的接收数据;
    根据所述发出数据与所述接收数据统计所述最近的一个检测周期内所述心跳包的丢失次数;
    根据所述丢失次数与所述心跳包的发送时间间隔呈负相关的规则调整所述心跳包的下一次发送时间间隔。
  3. 根据权利要求2所述的网络地址处理方法,其中,所述根据所述丢失次数与所述心跳包的发送时间间隔呈负相关的规则调整所述心跳包的下一次发送时间间隔的步骤包括:
    确定所述丢失次数对应的丢失级别;
    根据所述丢失级别得到所述心跳包发送时间间隔的比例系数;
    根据所述比例系数调整所述心跳包的下一个发送时间间隔。
  4. 根据权利要求1所述的网络地址处理方法,其中,在所述发送心跳包至所述API组件的步骤之前,所述方法还包括:
    获取可用区对应的监控进程,并确定所述监控进程的当前负载数据;
    检测所述当前负载数据是否超出预设负载阈值;
    当检测结果为所述当前负载数据超出预设负载阈值时,确定所述可用区对应的网络地址满足更新条件,并输出所述可用区对应的网络地址满足更新条件的通知至对应的Agent组件;
    根据所述通知在所述心跳包中携带请求参数,并将所述心跳包发送至所述API组件。
  5. 根据权利要求1所述的网络地址处理方法,其中,所述根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新的步骤包括:
    判断所述Agent组件对应的网络地址与所述API组件返回的心跳包中携带的所述最新网络地址是否一致;
    当判断结果为不一致时,确定所述Agent组件对应的网络地址已发生更新;
    当判断结果为一致时,确定所述Agent组件对应的网络地址未发生更新。
  6. 一种计算机设备,其中,所述计算机设备包括处理器和存储器,所述处理器用于执行存储器中存储的至少一个计算机可读指令以实现以下步骤:
    将所述Agent组件与API组件建立动态周期的心跳连接;
    发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数,所述网络地址对应所述Agent组件监控数据的上报地址;
    接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址;
    根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新;
    当判断结果为所述Agent组件对应的网络地址发生更新时,将所述Agent组件对应的网 络地址更新为所述最新网络地址。
  7. 根据权利要求6所述的计算机设备,其中,在所述将所述Agent组件与API组件建立动态周期的心跳连接的步骤时,所述处理器执行所述至少一个计算机可读指令以实现以下步骤:
    获取最近的一个检测周期内所述Agent组件发出所述心跳包的发出数据;
    获取在所述最近的一个检测周期内所述API组件接收到的所述心跳包的接收数据;
    根据所述发出数据与所述接收数据统计所述最近的一个检测周期内所述心跳包的丢失次数;
    根据所述丢失次数与所述心跳包的发送时间间隔呈负相关的规则调整所述心跳包的下一次发送时间间隔。
  8. 根据权利要求7所述的计算机设备,其中,在所述根据所述丢失次数与所述心跳包的发送时间间隔呈负相关的规则调整所述心跳包的下一次发送时间间隔的步骤时,所述处理器执行所述至少一个计算机可读指令以实现以下步骤:
    确定所述丢失次数对应的丢失级别;
    根据所述丢失级别得到所述心跳包发送时间间隔的比例系数;
    根据所述比例系数调整所述心跳包的下一个发送时间间隔。
  9. 根据权利要求6所述的计算机设备,其中,在所述发送心跳包至所述API组件的步骤之前,所述处理器执行所述至少一个计算机可读指令还用以实现以下步骤:
    获取可用区对应的监控进程,并确定所述监控进程的当前负载数据;
    检测所述当前负载数据是否超出预设负载阈值;
    当检测结果为所述当前负载数据超出预设负载阈值时,确定所述可用区对应的网络地址满足更新条件,并输出所述可用区对应的网络地址满足更新条件的通知至对应的Agent组件;
    根据所述通知在所述心跳包中携带请求参数,并将所述心跳包发送至所述API组件。
  10. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现以下步骤:
    将所述Agent组件与API组件建立动态周期的心跳连接;
    发送心跳包至所述API组件,其中,所述心跳包中携带有所述Agent组件对应的网络地址与请求参数,所述网络地址对应所述Agent组件监控数据的上报地址;
    接收所述API组件返回的心跳包并获取所述心跳包中的最新网络地址;
    根据所述最新网络地址判断所述Agent组件对应的网络地址是否发生更新;
    当判断结果为所述Agent组件对应的网络地址发生更新时,将所述Agent组件对应的网络地址更新为所述最新网络地址。
  11. 根据权利要求10所述的存储介质,其中,在所述将所述Agent组件与API组件建立动态周期的心跳连接的步骤时,所述至少一个计算机可读指令被处理器执行以实现以下步骤:
    获取最近的一个检测周期内所述Agent组件发出所述心跳包的发出数据;
    获取在所述最近的一个检测周期内所述API组件接收到的所述心跳包的接收数据;
    根据所述发出数据与所述接收数据统计所述最近的一个检测周期内所述心跳包的丢失次数;
    根据所述丢失次数与所述心跳包的发送时间间隔呈负相关的规则调整所述心跳包的下一次发送时间间隔。
  12. 根据权利要求11所述的存储介质,其中,在所述根据所述丢失次数与所述心跳包的发送时间间隔呈负相关的规则调整所述心跳包的下一次发送时间间隔的步骤时,所述至少一个计算机可读指令被处理器执行以实现以下步骤:
    确定所述丢失次数对应的丢失级别;
    根据所述丢失级别得到所述心跳包发送时间间隔的比例系数;
    根据所述比例系数调整所述心跳包的下一个发送时间间隔。
  13. 根据权利要求10所述的存储介质,其中,在所述发送心跳包至所述API组件的步骤之前,所述至少一个计算机可读指令被处理器执行还用以实现以下步骤:
    获取可用区对应的监控进程,并确定所述监控进程的当前负载数据;
    检测所述当前负载数据是否超出预设负载阈值;
    当检测结果为所述当前负载数据超出预设负载阈值时,确定所述可用区对应的网络地址满足更新条件,并输出所述可用区对应的网络地址满足更新条件的通知至对应的Agent组件;
    根据所述通知在所述心跳包中携带请求参数,并将所述心跳包发送至所述API组件。
  14. 一种网络地址处理方法,应用于API组件中,其中,所述网络地址处理方法包括:
    将Agent组件与所述API组件建立动态周期的心跳连接;
    接收所述Agent组件发送的心跳包;
    检测所述心跳包中是否存在请求参数;
    当检测结果为所述心跳包中存在请求参数时,获取所述心跳包中携带的所述Agent组件的网络地址;
    根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述Agent组件的网络地址的目标可用区信息;
    获取对应所述目标可用区信息的所述Agent组件的最新网络地址;
    将所述Agent组件对应的最新网络地址作为所述心跳包携带的响应数据并将所述响应数据返回至所述Agent组件。
  15. 根据权利要求14所述的网络地址处理方法,其中,所述方法还包括:
    解析出所述心跳包中的所述Agent组件的身份信息;
    根据所述Agent组件的身份信息将所述心跳包存储至时间队列中;
    开启预设个数的线程并行轮询所述时间队列,并按照时间优先级顺序检测所述心跳包中是否存在请求参数。
  16. 根据权利要求14所述的网络地址处理方法,其中,所述检测所述心跳包中是否存在请求参数的步骤包括:
    检测所述心跳包中是否存在预设格式的数据,当检测结果为所述心跳包中存在预设格式的数据时,确定所述心跳包中存在请求参数;或者
    检测所述心跳包中是否存在预设标签,当检测结果为所述心跳包中存在预设标签时,确定所述心跳包中存在请求参数。
  17. 一种计算机设备,其中,所述计算机设备包括处理器和存储器,所述处理器用于执行存储器中存储的至少一个计算机可读指令以实现以下步骤:
    将Agent组件与所述API组件建立动态周期的心跳连接;
    接收所述Agent组件发送的心跳包;
    检测所述心跳包中是否存在请求参数;
    当检测结果为所述心跳包中存在请求参数时,获取所述心跳包中携带的所述Agent组件的网络地址;
    根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述Agent组件的网络地址的目标可用区信息;
    获取对应所述目标可用区信息的所述Agent组件的最新网络地址;
    将所述Agent组件对应的最新网络地址作为所述心跳包携带的响应数据并将所述响应数据返回至所述Agent组件。
  18. 根据权利要求17所述的计算机设备,其中,所述处理器执行所述至少一个计算机可 读指令以实现以下步骤:
    解析出所述心跳包中的所述Agent组件的身份信息;
    根据所述Agent组件的身份信息将所述心跳包存储至时间队列中;
    开启预设个数的线程并行轮询所述时间队列,并按照时间优先级顺序检测所述心跳包中是否存在请求参数。
  19. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有至少一个计算机可读指令,所述至少一个计算机可读指令被处理器执行时实现以下步骤:
    将Agent组件与所述API组件建立动态周期的心跳连接;
    接收所述Agent组件发送的心跳包;
    检测所述心跳包中是否存在请求参数;
    当检测结果为所述心跳包中存在请求参数时,获取所述心跳包中携带的所述Agent组件的网络地址;
    根据所述Agent组件的网络地址与可用区的映射关系,从指定数据库中获取对应所述Agent组件的网络地址的目标可用区信息;
    获取对应所述目标可用区信息的所述Agent组件的最新网络地址;
    将所述Agent组件对应的最新网络地址作为所述心跳包携带的响应数据并将所述响应数据返回至所述Agent组件。
  20. 根据权利要求19所述的存储介质,其中,所述至少一个计算机可读指令被处理器执行以实现以下步骤:
    解析出所述心跳包中的所述Agent组件的身份信息;
    根据所述Agent组件的身份信息将所述心跳包存储至时间队列中;
    开启预设个数的线程并行轮询所述时间队列,并按照时间优先级顺序检测所述心跳包中是否存在请求参数。
PCT/CN2020/099298 2020-03-02 2020-06-30 网络地址处理方法、计算机设备及存储介质 WO2021174730A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010137266.6A CN111432042B (zh) 2020-03-02 2020-03-02 网络地址处理方法、计算机设备及存储介质
CN202010137266.6 2020-03-02

Publications (1)

Publication Number Publication Date
WO2021174730A1 true WO2021174730A1 (zh) 2021-09-10

Family

ID=71548044

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/099298 WO2021174730A1 (zh) 2020-03-02 2020-06-30 网络地址处理方法、计算机设备及存储介质

Country Status (2)

Country Link
CN (1) CN111432042B (zh)
WO (1) WO2021174730A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143372A (zh) * 2021-12-06 2022-03-04 重庆邮电大学 一种基于融合网络分流器的端网络控制方法及系统

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891873A (zh) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 一种存储日志数据的方法及日志数据存储系统
CN104301240A (zh) * 2013-07-19 2015-01-21 腾讯科技(深圳)有限公司 数据传输方法及系统
CN107948249A (zh) * 2017-11-02 2018-04-20 华南理工大学 基于服务发现和容器技术的大数据平台弹性伸缩方法
WO2019020034A1 (zh) * 2017-07-28 2019-01-31 华为技术有限公司 虚拟机密码重置方法、装置和系统
CN109995641A (zh) * 2019-03-21 2019-07-09 新华三技术有限公司 一种信息处理方法、计算节点和存储介质
US20190288915A1 (en) * 2018-03-19 2019-09-19 Secure-24, Llc Discovery and migration planning techniques optimized by environmental analysis and criticality
CN110730196A (zh) * 2018-07-16 2020-01-24 阿里巴巴集团控股有限公司 一种网络资源访问方法、计算机设备、存储介质
CN110768862A (zh) * 2019-09-23 2020-02-07 烽火通信科技股份有限公司 一种云平台物理链路连通性检测装置、方法及系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453494A (zh) * 2008-12-24 2009-06-10 深圳市同洲电子股份有限公司 一种服务器地址的获取方法、服务器以及数字电视接收终端
CN103338440B (zh) * 2013-07-09 2016-03-02 杭州华三通信技术有限公司 认证系统中的认证方法及设备端
EP3041199B1 (de) * 2014-12-30 2019-07-24 Siemens Aktiengesellschaft Verfahren zur ermittlung von kommunikationsgeräteadressen innerhalb eines kommunikationsnetzes eines industriellen automatisierungssystems und kommunikationsgerät
CN106406925A (zh) * 2015-08-03 2017-02-15 阿里巴巴集团控股有限公司 用于支持在线升级的设备和方法
CN106937277B (zh) * 2015-12-30 2020-11-17 创新先进技术有限公司 地址更新方法和装置
CN108834179B (zh) * 2018-05-31 2021-07-09 深圳市酷达通讯有限公司 调整心跳周期的方法、服务器和客户端

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891873A (zh) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 一种存储日志数据的方法及日志数据存储系统
CN104301240A (zh) * 2013-07-19 2015-01-21 腾讯科技(深圳)有限公司 数据传输方法及系统
WO2019020034A1 (zh) * 2017-07-28 2019-01-31 华为技术有限公司 虚拟机密码重置方法、装置和系统
CN107948249A (zh) * 2017-11-02 2018-04-20 华南理工大学 基于服务发现和容器技术的大数据平台弹性伸缩方法
US20190288915A1 (en) * 2018-03-19 2019-09-19 Secure-24, Llc Discovery and migration planning techniques optimized by environmental analysis and criticality
CN110730196A (zh) * 2018-07-16 2020-01-24 阿里巴巴集团控股有限公司 一种网络资源访问方法、计算机设备、存储介质
CN109995641A (zh) * 2019-03-21 2019-07-09 新华三技术有限公司 一种信息处理方法、计算节点和存储介质
CN110768862A (zh) * 2019-09-23 2020-02-07 烽火通信科技股份有限公司 一种云平台物理链路连通性检测装置、方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143372A (zh) * 2021-12-06 2022-03-04 重庆邮电大学 一种基于融合网络分流器的端网络控制方法及系统
CN114143372B (zh) * 2021-12-06 2023-07-25 重庆邮电大学 一种基于融合网络分流器的端网络控制方法及系统

Also Published As

Publication number Publication date
CN111432042B (zh) 2022-09-16
CN111432042A (zh) 2020-07-17

Similar Documents

Publication Publication Date Title
JP7362650B2 (ja) タスク処理方法、装置及びシステム
US11539579B2 (en) Method and apparatus for detection of network function failure and restart in a network environment
WO2017107018A1 (zh) 应用拓扑关系发现的方法、装置和系统
US20150067146A1 (en) Custom correlation of a distributed business transaction
CN111694674B (zh) 消息分发处理方法、装置、设备及存储介质
WO2014166265A1 (en) Method, terminal, cache server and system for updating webpage data
US9596313B2 (en) Method, terminal, cache server and system for updating webpage data
WO2021184587A1 (zh) 基于Prometheus的私有云监控方法、装置、计算机设备及存储介质
US8874739B2 (en) Selectively monitoring a service endpoint of an information technology system
CN113067875A (zh) 基于微服务网关动态流控的访问方法和装置以及设备
CN113127732A (zh) 业务数据的获取方法、装置、计算机设备和存储介质
WO2021174730A1 (zh) 网络地址处理方法、计算机设备及存储介质
US8775484B2 (en) Data management apparatus and method
WO2017157111A1 (zh) 防止内存数据丢失的的方法、装置和系统
CN116032932A (zh) 针对边缘服务器的集群管理方法、系统、设备及介质
CN110474807B (zh) 一种日志处理方法及装置
WO2020147415A1 (zh) 抓拍服务进程管理方法、装置、电子设备及可读存储介质
WO2017166438A1 (zh) 一种管理应用状态的方法和装置
CN112714035A (zh) 监控方法及系统
WO2017096791A1 (zh) 一种诊断测试消息处理方法及装置
US8423674B2 (en) Method and apparatus for process sync restart
JP5764090B2 (ja) 端末状態検知装置および端末状態検知方法
US20040031033A1 (en) Method and apparatus for inter-process communication management
EP4270183A1 (en) Public cloud tenant service management method and device
CN105119927A (zh) 消息发送、接收方法及终端和消息发送系统

Legal Events

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

Ref document number: 20922928

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20922928

Country of ref document: EP

Kind code of ref document: A1