[go: up one dir, main page]

CN111381832A - Automatic deployment control method, device, computer equipment and storage medium - Google Patents

Automatic deployment control method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN111381832A
CN111381832A CN201811644119.7A CN201811644119A CN111381832A CN 111381832 A CN111381832 A CN 111381832A CN 201811644119 A CN201811644119 A CN 201811644119A CN 111381832 A CN111381832 A CN 111381832A
Authority
CN
China
Prior art keywords
deployment
address information
client
service process
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811644119.7A
Other languages
Chinese (zh)
Other versions
CN111381832B (en
Inventor
郭家欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bigo Technology Pte Ltd
Original Assignee
Guangzhou Baiguoyuan Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN201811644119.7A priority Critical patent/CN111381832B/en
Publication of CN111381832A publication Critical patent/CN111381832A/en
Application granted granted Critical
Publication of CN111381832B publication Critical patent/CN111381832B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例公开了一种自动化部署控制方法、装置、计算机设备及存储介质,包括下述步骤:获取用户端发送的部署请求,其中,部署请求包括用户端所在区域的区域地址信息;根据区域地址信息与预设的本地地址信息进行比对;当区域地址信息与本地地址信息之间的距离大于预设的距离阈值时,将区域地址信息进行链上广播,以使与区域地址信息相匹配的目标部署服务进程响应部署请求。本发明实施例通过当用户端的区域地址信息与本地地址信息之间的距离大于预设的距离阈值时,将该区域地址信息进行广播,从而匹配目标部署服务进程以响应该部署请求,由于该目标部署服务进程与用户端在同一个区域中,将全球发布转换成地区发布,能有效降低发布延时。

Figure 201811644119

The embodiment of the present invention discloses an automatic deployment control method, device, computer equipment and storage medium, including the following steps: obtaining a deployment request sent by a client, wherein the deployment request includes the area address information of the area where the client is located; The address information is compared with the preset local address information; when the distance between the regional address information and the local address information is greater than the preset distance threshold, the regional address information is broadcast on the chain to match the regional address information The target deployment service process responds to deployment requests. In the embodiment of the present invention, when the distance between the regional address information of the client and the local address information is greater than a preset distance threshold, the regional address information is broadcast, so as to match the target deployment service process to respond to the deployment request, because the target The deployment service process and the client are in the same region, and the global release is converted into a regional release, which can effectively reduce the release delay.

Figure 201811644119

Description

自动化部署控制方法、装置、计算机设备及存储介质Automatic deployment control method, device, computer equipment and storage medium

技术领域technical field

本发明实施例涉及程序开发技术领域,尤其是一种自动化部署控制方法、装置、计算机设备及存储介质。Embodiments of the present invention relate to the technical field of program development, and in particular, to an automated deployment control method, apparatus, computer device, and storage medium.

背景技术Background technique

伴随着互联网技术和业务的发展,全球化发展涉及生活和工作中的方方面面,例如公司开发的应用程序,随着公司的全球化战略,应用程序需要在全球部署,但是,随着越来越多的系统开发分布式进程,导致应用程序的进程数量越来越多,往往一款应用程序的后台进程有几百上千个,这样在全球化部署进程中,对硬件和软件的要求较高,例如受全球网络质量影响,全球各个地区的网络质量优劣不一,全部部署方案也不一样。With the development of Internet technology and business, globalization involves all aspects of life and work, such as applications developed by companies. With the company's globalization strategy, applications need to be deployed globally. However, as more and more The system develops distributed processes, resulting in an increasing number of application processes. Often there are hundreds or thousands of background processes for an application. In this way, in the process of global deployment, the requirements for hardware and software are relatively high. For example, affected by the quality of the global network, the quality of the network in various regions of the world varies, and all deployment solutions are also different.

目前对于全球部署方案,主要存在两种方案,其一为在各地IDC机房之间建立光纤专线,这种方案实现方式简单,但专门建立光纤专线将导致成本高的问题,第二为通过将任务存放到消息队列,由各地的任务执行服务消费,执行发布任务,但是采用此方案需要维护消息中间件,保证任务执行服务和消息中间件的网络连通,依赖消息中间件的功能可靠性,且对网络质量要求较高,失败率高。At present, there are two main solutions for global deployment solutions. One is to establish optical fiber dedicated lines between IDC computer rooms in various places. This solution is simple to implement, but the establishment of dedicated optical fiber dedicated lines will lead to high costs. It is stored in the message queue, and the tasks are executed by local tasks for service consumption and publishing tasks. However, this solution needs to maintain the message middleware, ensure the network connection between the task execution service and the message middleware, and depend on the functional reliability of the message middleware. The network quality requirements are high, and the failure rate is high.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种通过根据地区进行文件部署实现全球高效发布的自动化部署控制方法、装置、计算机设备及存储介质。The embodiments of the present invention provide an automatic deployment control method, device, computer equipment and storage medium for realizing efficient global release by deploying files according to regions.

为解决上述技术问题,本发明创造的实施例采用的一个技术方案是:提供一种自动化部署控制方法,包括下述步骤:In order to solve the above-mentioned technical problems, a technical solution adopted by the embodiment of the present invention is to provide an automatic deployment control method, comprising the following steps:

获取用户端发送的部署请求,其中,所述部署请求包括所述用户端所在区域的区域地址信息;Obtain a deployment request sent by the client, wherein the deployment request includes the area address information of the area where the client is located;

根据所述区域地址信息与预设的本地地址信息进行比对;Compare according to the regional address information and preset local address information;

当所述区域地址信息与所述本地地址信息之间的距离大于预设的距离阈值时,将所述区域地址信息进行链上广播,以使与所述区域地址信息相匹配的目标部署服务进程响应所述部署请求。When the distance between the regional address information and the local address information is greater than a preset distance threshold, the regional address information is broadcast on the chain, so that the target that matches the regional address information can deploy the service process Respond to the deployment request.

可选地,所述获取用户端发送的部署请求的步骤之前,还包括如下述步骤:Optionally, before the step of acquiring the deployment request sent by the client, the following steps are also included:

根据预设的划分规则将全球范围内划分成若干大区生成大区区域分布信息;According to the preset division rules, the world is divided into several large regions to generate regional distribution information;

根据所述大区区域分布信息依次在所述若干大区中部署至少一个部署服务进程。At least one deployment service process is sequentially deployed in the plurality of large regions according to the regional distribution information of the large regions.

可选地,所述根据所述大区区域分布信息依次在所述若干大区中部署至少一个部署服务进程的步骤之后,还包括如下述步骤:Optionally, after the step of sequentially deploying at least one deployment service process in the several large areas according to the large-area area distribution information, the following steps are also included:

获取所述部署服务进程的进程IP地址信息;Obtain the process IP address information of the deployment service process;

根据所述进程IP地址信息在分布式系统中注册所述部署服务进程的服务信息,其中,所述服务信息包括所述部署服务进程的进程IP地址信息、监听端口信息以及区域信息。The service information of the deployment service process is registered in the distributed system according to the process IP address information, wherein the service information includes process IP address information, listening port information and area information of the deployment service process.

可选地,所述根据所述进程IP地址信息在所述分布式系统中注册所述部署服务进程的服务信息的步骤之后,还包括如下述步骤:Optionally, after the step of registering the service information of the deployment service process in the distributed system according to the process IP address information, it further includes the following steps:

通过线程建立将预设的部署数据包同步至所述若干大区的文件缓存代理中的待执行任务;Establishing a task to be executed by synchronizing the preset deployment data package to the file caching agents of the several large areas through threads;

检测所述待执行任务之后的任务队列中是否存在优先级高于所述待执行任务的操作任务;Detecting whether there is an operation task with a higher priority than the task to be executed in the task queue after the task to be executed;

当所述任务队列存在优先级高于所述待执行任务的操作任务时,优先执行所述操作任务至所述操作任务执行完毕后回调执行所述待执行任务。When there is an operation task with a priority higher than the to-be-executed task in the task queue, the operation task is executed preferentially until the operation task is executed and the to-be-executed task is called back to execute the to-be-executed task.

可选地,所述当所述区域地址信息与所述本地地址信息之间的距离大于预设的距离阈值时,将所述区域地址信息进行链上广播,以使与所述区域地址信息相匹配的部署服务进程响应所述部署请求的步骤,包括如下述步骤:Optionally, when the distance between the area address information and the local address information is greater than a preset distance threshold, the area address information is broadcast on the chain, so that the area address information is consistent with the area address information. The step of responding to the deployment request by the matched deployment service process includes the following steps:

根据所述区域地址信息向各个所述部署服务进程发起远程过程调用;Initiating a remote procedure call to each of the deployment service processes according to the area address information;

获取各个所述部署服务进程响应所述远程过程调用而返回的地址信息;Acquiring address information returned by each of the deployment service processes in response to the remote procedure call;

根据所述地址信息在各个所述部署服务进程中选取与所述用户端同一个大区的部署服务进程作为所述目标部署服务进程。According to the address information, a deployment service process in the same large area as the client is selected from each of the deployment service processes as the target deployment service process.

可选地,所述当所述区域地址信息与所述本地地址信息之间的距离大于预设的距离阈值时,将所述区域地址信息进行链上广播,以使与所述区域地址信息相匹配的目标部署服务进程响应所述部署请求的步骤之后,还包括如下述步骤:Optionally, when the distance between the area address information and the local address information is greater than a preset distance threshold, the area address information is broadcast on the chain, so that the area address information is consistent with the area address information. After the matched target deployment service process responds to the deployment request, it further includes the following steps:

获取所述用户端发送的标识符,其中,所述标识符为所述目标部署服务进程接受所述远程过程调用而返回至所述用户端的工作标识符;obtaining an identifier sent by the client, wherein the identifier is a work identifier returned to the client by the target deployment service process accepting the remote procedure call;

将所述标识符发送至所述目标部署服务进程,以使所述目标部署服务进程定时将文件缓存代理中的部署数据包发送至所述用户端的发布实时状态返回至所述用户端。The identifier is sent to the target deployment service process, so that the target deployment service process regularly returns the published real-time status of the deployment data packets in the file caching agent to the client terminal to the client terminal.

可选地,所述将所述标识符发送至所述目标部署服务进程,以使所述目标部署服务进程定时将文件缓存代理中的部署数据包发送至所述用户端的发布实时状态返回至所述用户端的步骤之后,还包括如下述步骤:Optionally, the sending the identifier to the target deployment service process, so that the target deployment service process regularly returns the real-time release status of the deployment data packet in the file cache agent to the client to be returned to the target deployment service process. After the steps of the user terminal, it also includes the following steps:

获取所述用户端运行所述部署数据包后进行设备检查生成的设备检查信息;Obtain device inspection information generated by performing device inspection after the client runs the deployment data package;

根据预设解析规则将所述设备检测信息进行解析,以得到所述用户端的运行状况信息。The device detection information is parsed according to a preset parsing rule to obtain operating status information of the client.

为解决上述技术问题,本发明实施例还提供一种自动化部署控制装置,包括:To solve the above technical problem, an embodiment of the present invention further provides an automatic deployment control device, including:

第一获取模块,用于获取用户端发送的部署请求,其中,所述部署请求包括所述用户端所在区域的区域地址信息;a first obtaining module, configured to obtain a deployment request sent by the client, wherein the deployment request includes the area address information of the area where the client is located;

第一处理模块,用于根据所述区域地址信息与预设的本地地址信息进行比对;a first processing module, configured to compare the regional address information with preset local address information;

第一执行模块,用于当所述区域地址信息与所述本地地址信息之间的距离大于预设的距离阈值时,将所述区域地址信息进行链上广播,以使与所述区域地址信息相匹配的目标部署服务进程响应所述部署请求。a first execution module, configured to broadcast the regional address information on the chain when the distance between the regional address information and the local address information is greater than a preset distance threshold, so as to make the regional address information and the regional address information The matching target deployment service process responds to the deployment request.

为解决上述技术问题,本发明实施例还提供一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行上述自动化部署控制方法的步骤。To solve the above technical problem, an embodiment of the present invention further provides a computer device, including a memory and a processor, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, all The processor executes the steps of the above automatic deployment control method.

为解决上述技术问题,本发明实施例还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述自动化部署控制方法的步骤。In order to solve the above technical problem, an embodiment of the present invention further provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the above-mentioned automation. Steps to deploy the control method.

本发明实施例的有益效果为:通过获取用户端发送的部署请求,包括用户端所在区域的区域地址信息,再根据该区域地址信息与本地地址信息进行比对,当该区域地址信息与本地地址信息之间的距离大于预设的距离阈值时,将该区域地址信息进行广播,从而匹配与该区域地址信息的目标部署服务进程以响应该部署请求,由于该目标部署服务进程与用户端在同一个区域中,将全球发布转换成地区发布,能有效降低目标部署服务进程与用户端之间对网络质量的要求,降低发布延时,且不需要依赖消息中间件的功能可靠性,实用性强。The beneficial effects of the embodiments of the present invention are: by acquiring the deployment request sent by the client, including the regional address information of the region where the client is located, and then comparing the regional address information with the local address information, when the regional address information and the local address When the distance between the information is greater than the preset distance threshold, the area address information is broadcast, so as to match the target deployment service process with the area address information to respond to the deployment request, because the target deployment service process is in the same location as the client. In a region, converting global publishing to regional publishing can effectively reduce the network quality requirements between the target deployment service process and the client, reduce the publishing delay, and do not need to rely on the functional reliability of the message middleware, which is highly practical. .

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.

图1为本发明实施例自动化部署控制方法的基本流程示意图;FIG. 1 is a schematic diagram of a basic flow of an automated deployment control method according to an embodiment of the present invention;

图2为本发明实施例进行区域划分的流程示意图;FIG. 2 is a schematic flowchart of area division according to an embodiment of the present invention;

图3为本发明实施例注册部署服务进程的流程示意图;3 is a schematic flowchart of a registration deployment service process according to an embodiment of the present invention;

图4为本发明实施例异步传输数据包的流程示意图;4 is a schematic flowchart of asynchronously transmitting data packets according to an embodiment of the present invention;

图5为本发明实施例确定目标部署服务进程的流程示意图;5 is a schematic flowchart of determining a target deployment service process according to an embodiment of the present invention;

图6为本发明实施例响应部署请求的流程示意图;6 is a schematic flowchart of responding to a deployment request according to an embodiment of the present invention;

图7为本发明实施例检测用户端运行状况的流程示意图;FIG. 7 is a schematic flowchart of detecting the running status of a user terminal according to an embodiment of the present invention;

图8为本发明实施例自动化部署控制装置基本结构示意图;8 is a schematic diagram of a basic structure of an automatic deployment control device according to an embodiment of the present invention;

图9为本发明实施例计算机设备基本结构框图。FIG. 9 is a block diagram of the basic structure of a computer device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。The following describes in detail the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, but not to be construed as a limitation on the present application.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。It will be understood by those skilled in the art that the singular forms "a", "an", "the" and "the" as used herein can include the plural forms as well, unless expressly stated otherwise. It should be further understood that the word "comprising" used in the specification of this application refers to the presence of stated features, integers, steps, operations, elements and/or components, but does not preclude the presence or addition of one or more other features, Integers, steps, operations, elements, components and/or groups thereof.

本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本申请所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It should also be understood that terms, such as those defined in a general dictionary, should be understood to have meanings consistent with their meanings in the context of the prior art and, unless specifically defined as herein, should not be interpreted in idealistic or overly formal meaning to explain.

本技术领域技术人员可以理解,这里所使用的“终端”既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(Personal Communications Service,个人通信系统),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(Personal Digital Assistant,个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(Global Positioning System,全球定位系统)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“终端”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(Mobile Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。Those skilled in the art can understand that the "terminal" used here includes both a device of a wireless signal receiver, which only has a device of a wireless signal receiver without transmission capability, and a device of receiving and transmitting hardware, which has a device capable of transmitting a wireless signal. On a two-way communication link, a device that performs the receiving and transmitting hardware of the two-way communication. Such equipment may include: cellular or other communication equipment, which has a single-line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which can combine voice, data Processing, fax and/or data communication capabilities; PDA (Personal Digital Assistant), which may include a radio frequency receiver, pager, Internet/Intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System) receiver; conventional laptop and/or palmtop computer or other device having and/or including a conventional laptop and/or palmtop computer or other device with a radio frequency receiver. "Terminal" as used herein may be portable, transportable, mounted in a vehicle (air, marine and/or land), or adapted and/or configured to operate locally, and/or in a distributed fashion, to operate Operates anywhere on Earth and/or space. The "terminal" used here can also be a communication terminal, an Internet terminal, and a music/video playing terminal, such as a PDA, a MID (Mobile Internet Device) and/or a mobile phone with a music/video playing function, It can also be a smart TV, a set-top box and other devices.

实施例1Example 1

具体请参阅图1,图1为本实施例自动化部署控制方法的基本流程示意图。Please refer to FIG. 1 for details. FIG. 1 is a schematic diagram of a basic flow of the automatic deployment control method according to the present embodiment.

如图1所示,一种自动化部署控制方法,包括下述步骤:As shown in Figure 1, an automatic deployment control method includes the following steps:

S1100、获取用户端发送的部署请求,其中,所述部署请求包括所述用户端所在区域的区域地址信息;S1100. Acquire a deployment request sent by the client, wherein the deployment request includes the area address information of the area where the client is located;

在软件的开发过程中经常会涉及到应用程序的升级或者打补丁,而企业的全球化战略将使得应用程序进行全球部署,当接收到用户端发送的部署请求时,系统会根据该部署请求返回应用程序的资源包至该用户端,部署请求是用户端中预设应用程序请求升级或者打补丁等应用程序资源包的网络请求,由于服务点(服务器所在位置)与用户端所在的位置距离较远,例如服务点在亚洲而用户端在欧洲,系统将资源包发送至用户端依赖网络质量,会出现高延迟甚至失败的情况,此时,可以根据用户端发送的部署请求来获取用户端所在区域的区域地址信息,从而确定该用户端所在的位置信息,在实施时,该部署请求中携带有用户端所在区域的区域地址信息,该区域地址信息可以由IP地址确定,系统接收到用户端发送的部署请求后,对该部署请求进行解析获取用户端的IP地址,从而确定用户端所在区域的区域地址信息。In the process of software development, application upgrades or patches are often involved, and the enterprise's globalization strategy will make applications globally deployed. When receiving a deployment request sent by the client, the system will return according to the deployment request. The resource package of the application is sent to the client, and the deployment request is a network request for the application resource package such as the preset application in the client to request upgrade or patching. For example, the service point is in Asia and the client is in Europe. The system sends resource packages to the client depending on the network quality, which may cause high delay or even failure. At this time, you can obtain the location of the client according to the deployment request sent by the client. The area address information of the area, so as to determine the location information of the client. During implementation, the deployment request carries the area address information of the area where the client is located. The area address information can be determined by the IP address. When the system receives the client After the deployment request is sent, the deployment request is parsed to obtain the IP address of the client, so as to determine the area address information of the area where the client is located.

在另一实施例中,还可以通过该部署请求的TCP连接获取该用户端所在区域的区域地址信息,其中,TCP(Transmission Control Protocol,传输控制协议)是一种面向连接的、可靠的、基于字节流的传输层通信协议。以本发明应用于分布式系统中为例,该分布式系统在不同的区域分别设置有对应的部署服务进程(服务点),当其中一个服务点接收到用户端发送的部署请求时,通过HTTP的TCP连接即可知道用户端所在区域的区域地址信息,其中,HTTP(HyperText Transfer Protocol,超文本传输协议)是一种互联网网络协议。In another embodiment, the area address information of the area where the client is located may also be obtained through the TCP connection of the deployment request, where TCP (Transmission Control Protocol, Transmission Control Protocol) is a connection-oriented, reliable, based A transport layer communication protocol for byte streams. Taking the application of the present invention in a distributed system as an example, the distributed system is respectively provided with corresponding deployment service processes (service points) in different areas. The area address information of the area where the client is located can be known by the TCP connection of the client terminal, wherein HTTP (HyperText Transfer Protocol, hypertext transfer protocol) is an Internet network protocol.

S1200、根据所述区域地址信息与预设的本地地址信息进行比对;S1200, comparing the regional address information with preset local address information;

在获取用户端所在区域的区域地址信息之后,系统将该区域地址新与本地地址信息进行比对,从而确定用户端与服务点之间的距离,在实施时,本地地址信息是指分布式系统中一个服务器的位置信息,以该服务器位于欧洲法国为例,当该服务器接收到用户端发送的部署请求时,通过该部署请求或者该用户端所在区域为亚洲中国深圳地区,该服务器将表征亚洲中国深圳地区的区域地址信息与表征欧洲法国的本地地址信息进行比对。After obtaining the regional address information of the region where the client is located, the system compares the regional address with the local address information to determine the distance between the client and the service point. In implementation, the local address information refers to the distributed system The location information of one of the servers, taking the server located in France, Europe as an example, when the server receives the deployment request sent by the client, the server will represent Asia through the deployment request or the region where the client is located is Shenzhen, Asia, China Regional address information in Shenzhen, China, is compared with local address information representing France in Europe.

S1300、当所述区域地址信息与所述本地地址信息之间的距离大于预设的距离阈值时,将所述区域地址信息进行链上广播,以使与所述区域地址信息相匹配的目标部署服务进程响应所述部署请求。S1300. When the distance between the regional address information and the local address information is greater than a preset distance threshold, broadcast the regional address information on the chain, so that the target that matches the regional address information is deployed A service process responds to the deployment request.

当该区域地址信息所表征的区域与该本地地址信息所表征的区域之间的距离大于预设的距离阈值时,其中,距离阈值是系统中预设的一个比较数值,说明接收到该部署请求的服务器与该用户端之间不在同一个区域内,在实施时,区域的范围由系统进行划分,例如通过将全球根据大陆板块划分亚洲区、欧洲区、非洲区、南美洲区以及北美洲区等等,这些不同的区域对应设置有部署服务进程且这些部署服务进程属于同一个分布式系统,当接收到用户端发送的部署请求的服务器与该用户端之间的距离大于预设的距离阈值时,将该区域地址信息进行链上广播,链上广播是指在分布式系统中进行广播,从而使得分布式系统中的所有部署服务进程都能够接受到该用户端所处区域的区域地址信息,从而使得分布式系统中与该区域地址信息对应的目标部署服务进程响应该部署请求,即使得与该用户端在同一个区域内的服务器响应该用户的部署请求。When the distance between the area represented by the area address information and the area represented by the local address information is greater than a preset distance threshold, wherein the distance threshold is a preset comparison value in the system, indicating that the deployment request is received The server and the client are not in the same region. During implementation, the scope of the region is divided by the system. For example, by dividing the world into Asia, Europe, Africa, South America and North America according to continental plates And so on, these different areas are correspondingly set with deployment service processes and these deployment service processes belong to the same distributed system, when the distance between the server that receives the deployment request sent by the client and the client is greater than the preset distance threshold At the time, the regional address information is broadcast on the chain. On-chain broadcasting refers to broadcasting in the distributed system, so that all deployment service processes in the distributed system can receive the regional address information of the region where the client is located. , so that the target deployment service process corresponding to the area address information in the distributed system responds to the deployment request, that is, the server in the same area as the client responds to the user's deployment request.

在一个实施例中,以系统将全球划分为亚欧板块、太平洋板块、美洲板块、非洲板块、印度洋板块和南极洲板块为例,分布式系统在各板块均设置有部署服务进程,例如:部署服务进程向consul注册服务信息,包括IP地址、监听端口以及所在区域信息,consul是HashiCorp公司推出的开源工具,用于实现分布式系统的服务发现与配置,当亚欧板块的用户端发起部署请求时,接收到该部署请求的部署服务进程位于印度洋板块,用户端与该部署服务进程处于不同的两个大区,此时,该部署服务进程将该用户端的区域地址信息进行广播,向consul获取部署服务进程的IP地址、监听端口以及所在区域信息,同时从CMDB(Configuration Management Database,配置管理数据库)中获取用户端所处区域的区域地址信息,然后将同处于亚欧板块的部署服务进程作为目标部署服务进程,并由该目标部署服务进程响应用户端的部署请求,在实施时,部署服务进程设置有文件缓存代理,即在各大区板块的服务器中设置有文件缓存代理,应用程序的资源包会同步到各大区板块的文件缓存代理中,通过该文件缓存代理将资源包发送至该用户端,由于目标部署服务进程与用户端是同一个区域,所以延时比较低,实现全球高效发布。In one embodiment, taking the system dividing the world into an Eurasian plate, a Pacific plate, an American plate, an African plate, an Indian Ocean plate, and an Antarctic plate as an example, the distributed system is provided with a deployment service process in each plate, for example: a deployment service The process registers service information with consul, including IP address, listening port and location information. Consul is an open source tool launched by HashiCorp, which is used to realize service discovery and configuration of distributed systems. When the client of the Asia-Europe plate initiates a deployment request , the deployment service process that receives the deployment request is located in the Indian Ocean plate, and the client and the deployment service process are in two different regions. At this time, the deployment service process broadcasts the regional address information of the client, and obtains the deployment from consul The IP address, listening port and information of the region where the service process is located. At the same time, the region address information of the region where the client is located is obtained from the CMDB (Configuration Management Database), and then the deployment service process in the Asia-Europe plate is the target. The deployment service process is deployed, and the target deployment service process responds to the deployment request of the client. During implementation, the deployment service process is set with a file cache proxy, that is, a file cache proxy is set in the servers of the major regions, and the resource package of the application is set. It will be synchronized to the file cache proxy of each area, and the resource package will be sent to the client through the file cache proxy. Since the target deployment service process and the client are in the same area, the delay is relatively low, and global efficient publishing is achieved. .

本实施例通过获取用户端发送的部署请求,包括用户端所在区域的区域地址信息,再根据该区域地址信息与本地地址信息进行比对,当该区域地址信息与本地地址信息之间的距离大于预设的距离阈值时,将该区域地址信息进行广播,从而匹配与该区域地址信息的目标部署服务进程以响应该部署请求,由于该目标部署服务进程与用户端在同一个区域中,将全球发布转换成地区发布,能有效降低目标部署服务进程与用户端之间对网络质量的要求,降低发布延时,且不需要依赖消息中间件的功能可靠性,实用性强。In this embodiment, the deployment request sent by the client includes the area address information of the area where the client is located, and then compares the area address information with the local address information. When the distance between the area address information and the local address information is greater than When the preset distance threshold is reached, the area address information is broadcast, so as to match the target deployment service process with the area address information to respond to the deployment request. Since the target deployment service process and the client are in the same area, the global Publishing is converted into regional publishing, which can effectively reduce the network quality requirements between the target deployment service process and the client, and reduce the publishing delay. It does not need to rely on the functional reliability of the message middleware, and has strong practicability.

在一个可选实施例中,请参阅图2,图2是本发明一个实施例进行区域划分的流程示意图。In an optional embodiment, please refer to FIG. 2 , which is a schematic flowchart of region division according to an embodiment of the present invention.

如图2所示,步骤S1100之前,还包括如下述步骤:As shown in Figure 2, before step S1100, the following steps are also included:

S1010、根据预设的划分规则将全球范围内划分成若干大区生成大区区域分布信息;S1010. Divide the world into several large regions according to a preset division rule to generate regional distribution information of the large regions;

在给用户端分配部署服务进程之前,还可以对不同的区域进行划分,从而将全球范围划分成多个大区,系统根据预设的划分规则对全球范围进行划分,得到若干(例如:5个、7个或者10个)大区以及对应这些大区的大区区域分布信息,划分规则是预设的用于对全球范围划分成若干大区的工具,在实施时,划分规则可以采用大陆板块划分方式、文化区域划分或者时区大区划分(例如:将全球范围均匀划分为8个时区大区)等等,需要指出的是,划分规则不局限于上述的划分方式,根据不同的应用场景,划分规则还可以设计出其它的划分方式,例如在国家范围内,根据不同的省份或者州郡划分成不同的区域。Before allocating the deployment service process to the client, it is also possible to divide different areas to divide the global area into multiple large areas. The system divides the global area according to the preset division rules, and obtains several , 7 or 10) regions and the regional distribution information of the regions corresponding to these regions. The division rules are preset tools used to divide the world into several large regions. In implementation, the division rules can use continental plates. The division method, cultural area division, or time zone division (for example, dividing the world into 8 time zones evenly), etc. It should be pointed out that the division rules are not limited to the above division methods. According to different application scenarios, The division rules can also design other division methods, for example, within a country, different regions are divided according to different provinces or states.

S1020、根据所述大区区域分布信息依次在所述若干大区中部署至少一个部署服务进程。S1020. Deploy at least one deployment service process in the several large areas in sequence according to the large area distribution information.

在将全球范围划分成若干大区后,根据该大区区域分布信息在这些大区中部署多个(例如:2个、3个或者5个)部署服务进程,当然,每个大区也可以只布置一个部署服务进程,当部署服务进程与用户端处于同一个大区时,例如用户端在亚洲区而接收到用户端发送的部署请求的服务器也处于亚洲区,该服务器与用户端之间的距离小于预设的距离阈值,该服务器即可响应该用户端的部署请求而不需要将该用户端的区域地址信息进行链上广播,在实施时,当一个大区内有多个部署服务进程时,将这些部署服务进程所在的地址与用户端所在的地址进行比对,选取距离该用户端最近的一个部署服务进程来响应该用户端的部署请求。在一个实施例中,分布式系统中的其它部署服务进程与该用户端的距离大于距离阈值时也会进行链上广播,而当有目标部署服务进程响应部署请求时,该目标部署服务进程进行广播,已通知其它的部署服务进程停止广播。After dividing the world into several large areas, deploy multiple (for example: 2, 3 or 5) deployment service processes in these large areas according to the regional distribution information of the large area. Of course, each large area can also be deployed Only one deployment service process is arranged. When the deployment service process and the client are in the same region, for example, the client is in the Asian region and the server that receives the deployment request sent by the client is also in the Asian region, the server and the client are in the same region. If the distance is less than the preset distance threshold, the server can respond to the deployment request of the client without broadcasting the regional address information of the client on the chain. During implementation, when there are multiple deployment service processes in a large area , compare the addresses of these deployment service processes with the addresses of the client, and select a deployment service process closest to the client to respond to the deployment request of the client. In one embodiment, when the distance between other deployment service processes in the distributed system and the client is greater than the distance threshold, on-chain broadcast is also performed, and when a target deployment service process responds to the deployment request, the target deployment service process broadcasts , other deployment service processes have been notified to stop broadcasting.

在另一个可选实施例中,请参阅图3,图3是本发明一个实施例注册部署服务进程的基本流程示意图。In another optional embodiment, please refer to FIG. 3 , which is a schematic flowchart of a basic flow of a registration and deployment service process according to an embodiment of the present invention.

如图3所示,步骤S1020之后,还包括如下述步骤:As shown in Figure 3, after step S1020, the following steps are also included:

S1030、获取所述部署服务进程的进程IP地址信息;S1030, obtaining process IP address information of the deployment service process;

在对各大区部署了部署服务进程(deploy service)之后,还需要注册部署服务进程的服务信息,通过获取部署服务进程的进程IP地址信息,该进程IP地址信息是指部署服务进程的IP地址。After deploying the deployment service process (deploy service) to each region, it is also necessary to register the service information of the deployment service process. By obtaining the process IP address information of the deployment service process, the process IP address information refers to the IP address of the deployment service process. .

S1040、根据所述进程IP地址信息在分布式系统中注册所述部署服务进程的服务信息,其中,所述服务信息包括所述部署服务进程的进程IP地址信息、监听端口信息以及区域信息。S1040. Register the service information of the deployment service process in the distributed system according to the process IP address information, where the service information includes process IP address information, listening port information, and area information of the deployment service process.

在获取部署服务进程的进程IP地址信息后,根据该进程IP地址信息在分布式系统中注册该部署服务进程的服务信息,例如部署服务进程向consul注册服务信息,即不同大区的部署服务进程向consul注册自己的服务信息,包括IP地址、监听端口以及所在区域,方便获取部署服务进程所在区域的位置信息。After obtaining the process IP address information of the deployment service process, register the service information of the deployment service process in the distributed system according to the process IP address information, for example, the deployment service process registers the service information with consul, that is, the deployment service process in different regions Register your own service information with consul, including IP address, listening port, and region, so as to obtain the location information of the region where the deployment service process is located.

在一个可选实施例中,请参阅图4,图4是本发明一个实施例异步传输数据包的基本流程示意图。In an optional embodiment, please refer to FIG. 4 , which is a schematic diagram of a basic flow of asynchronously transmitting data packets according to an embodiment of the present invention.

如图4所示,步骤1040之后,还包括如下述步骤:As shown in Figure 4, after step 1040, the following steps are also included:

S1050、通过线程建立将预设的部署数据包同步至所述若干大区的文件缓存代理中的待执行任务;S1050, establishing a task to be executed by synchronizing the preset deployment data package to the file caching agent of the several large areas through a thread;

线程是应用程序中一个单一的顺序控制流程。进程内有一个相对独立的、可调度的执行单元,是系统独立调度和分派CPU的基本单位指令运行时的程序的调度单位。在单个应用程序中同时运行多个线程完成不同的工作,称为多线程。通过建立将预设的部署数据包同步至所述若干大区的文件缓存代理中的待执行任务,从而将部署数据包同步至文件缓存代理的操作和应用程序的其它操作多线程异步进行。文件缓存代理可以为一些数据包提供暂时的存储。每个部署服务进程均设置有文件缓存代理,当应用程序的资源包(部署数据包)需要进行全球部署时,可以通过将该资源包发送至各大区的文件缓存代理中。A thread is a single sequential flow of control in an application. There is a relatively independent and schedulable execution unit in the process, which is the scheduling unit of the program when the system independently schedules and dispatches the CPU's basic unit instruction to run. Running multiple threads to do different work simultaneously in a single application is called multithreading. By establishing a task to be executed for synchronizing the preset deployment data package to the file caching proxy of the several large areas, the operation of synchronizing the deployment data package to the file caching proxy and other operations of the application program are performed asynchronously with multiple threads. File caching proxies can provide temporary storage for some packets. Each deployment service process is provided with a file cache proxy. When the resource package (deployment data package) of the application needs to be deployed globally, the resource package can be sent to the file cache proxy in each region.

S1060、检测所述待执行任务之后的任务队列中是否存在优先级高于所述待执行任务的操作任务;S1060, detecting whether there is an operation task with a priority higher than the task to be executed in the task queue after the task to be executed;

任务队列是指包括一定数量操作任务的集合,优先级是计算机分时操作系统在处理多个作业程序时,决定各个作业程序接受系统资源的优先等级的参数,其中,优先级高的先做,优先级低的后做。通过检查任务队列中是否存在优先级高于该待执行任务的操作任务,有则先执行该操作任务。A task queue refers to a set including a certain number of operation tasks. The priority is a parameter that determines the priority level of each operating program to accept system resources when the computer time-sharing operating system processes multiple operating programs. Do it after the lower priority. By checking whether there is an operation task with a higher priority than the to-be-executed task in the task queue, execute the operation task first.

S1070、当所述任务队列存在优先级高于所述待执行任务的操作任务时,优先执行所述操作任务至所述操作任务执行完毕后回调执行所述待执行任务。S1070. When there is an operation task with a priority higher than that of the to-be-executed task in the task queue, execute the operation task preferentially until the operation task is executed and then call back to execute the to-be-executed task.

优先执行优先级高于该待执行任务的其它操作任务,通过异步调用,无需等待部署数据包完整发送至部署服务进程的文件缓存代理中,以服务器(部署服务进程)绘制界面的优先级高于该待执行任务的优先级为例,当任务对列中同时存在该待执行任务和多个绘制界面的操作任务时,先执行任务队列中的绘制界面操作任务,从而使得服务器管理工作人员能快速且顺畅的知道该服务器的运行状态,当任务队列中优先级高于该待执行任务的其它操作任务执行完毕后回调执行该待执行任务,使用异步操作方式来分开执行待执行任务和其它操作任务,避免造成卡顿。Execute other operation tasks with higher priority than the task to be executed first. Through asynchronous calls, there is no need to wait for the deployment data package to be completely sent to the file cache proxy of the deployment service process. The priority of the server (deployment service process) to draw the interface is higher than The priority of the to-be-executed task is taken as an example. When the to-be-executed task and multiple interface drawing operation tasks exist in the task pair column, the interface drawing operation task in the task queue is executed first, so that the server management staff can quickly And smoothly know the running status of the server, when other operation tasks in the task queue with a higher priority than the task to be executed are completed, call back to execute the to-be-executed task, and use asynchronous operation to separate the execution of the to-be-executed task and other operation tasks. , to avoid stuttering.

在一个可选实施例中,请参阅图5,图5是本发明一个实施例确定目标部署服务进程的基本流程示意图。In an optional embodiment, please refer to FIG. 5. FIG. 5 is a schematic flowchart of a basic flow of determining a target deployment service process according to an embodiment of the present invention.

如图5所示,步骤S1300包括如下述步骤:As shown in Figure 5, step S1300 includes the following steps:

S1310、根据所述区域地址信息向各个所述部署服务进程发起远程过程调用;S1310, initiate a remote procedure call to each of the deployment service processes according to the area address information;

在实施时,在获取用户端的区域地址信息后,向不同的部署服务进程发起gRPC调用,gRPC是一个高性能、通用的开源RPC(Remote Procedure Call Protocol,远程过程调用协议)框架,即对分布式系统中的不同部署服务进程发起远程过程调用。During implementation, after obtaining the regional address information of the client, it initiates gRPC calls to different deployment service processes. gRPC is a high-performance, general-purpose open-source RPC (Remote Procedure Call Protocol, Remote Procedure Call Protocol) framework. Different deployment service processes in the system initiate remote procedure calls.

S1320、获取各个所述部署服务进程响应所述远程过程调用而返回的地址信息;S1320, acquiring address information returned by each of the deployment service processes in response to the remote procedure call;

每个部署服务进程接收到该远程过程调用均会返回部署服务进程的地址信息。Each deployment service process will return the address information of the deployment service process upon receiving the remote procedure call.

S1330、根据所述地址信息在各个所述部署服务进程中选取与所述用户端同一个大区的部署服务进程作为所述目标部署服务进程。S1330. Select a deployment service process in the same large area as the client from each of the deployment service processes according to the address information as the target deployment service process.

将每个部署服务进程的地址信息与用户端的区域地址信息进行计算,从而在这些部署服务进程中选取与用户端处于同一个大区的部署服务进程作为目标部署服务进程,在实施时,可以根据用户端所在的经纬度以及每个部署服务进程所在的经纬度进行计算,从而计算用户端与部署服务进程之间的距离或者判断用户端与部署服务进程是否处于同一个大区。Calculate the address information of each deployment service process and the regional address information of the client, so as to select the deployment service process in the same large area as the client among these deployment service processes as the target deployment service process. The latitude and longitude where the client is located and the latitude and longitude where each deployment service process is located are calculated to calculate the distance between the client and the deployment service process or determine whether the client and the deployment service process are in the same region.

在一个可选实施例中,请参阅图6,图6是本发明一个实施例响应部署请求的基本流程示意图。In an optional embodiment, please refer to FIG. 6 , which is a schematic schematic diagram of a basic flow of responding to a deployment request according to an embodiment of the present invention.

如图6所示,步骤S1300之后还包括如下述步骤:As shown in Figure 6, after step S1300, the following steps are also included:

S1400、获取所述用户端发送的标识符,其中,所述标识符为所述目标部署服务进程接受所述远程过程调用而返回至所述用户端的工作标识符;S1400. Acquire an identifier sent by the client, where the identifier is a work identifier returned to the client by the target deployment service process accepting the remote procedure call;

部署服务进程在接收到远程过程调用后会建立一个协程,并返回工作标识符至用户端确认接收,用户端通过标识符定时从文件缓存代理中获取部署数据包,并显示进度,系统即可获取用户的发送的标识符,该标识符即task id(task identification,工作标识符)是在某些中小型计算机系统中,在通信控制程序管理下,一种与工作相联系标识字符。The deployment service process will establish a coroutine after receiving the remote procedure call, and return the work identifier to the client to confirm receipt. The client periodically obtains the deployment data package from the file cache agent through the identifier, and displays the progress, and the system can Obtain the identifier sent by the user, which is a task id (task identification, job identifier), which is an identification character associated with a job under the management of a communication control program in some small and medium-sized computer systems.

S1500、将所述标识符发送至所述目标部署服务进程,以使所述目标部署服务进程定时将文件缓存代理中的部署数据包发送至所述用户端的发布实时状态返回至所述用户端的发布实时状态返回至所述用户端。S1500. Send the identifier to the target deployment service process, so that the target deployment service process periodically sends the deployment data package in the file cache agent to the client and returns the real-time publishing status to the client's publishing The real-time status is returned to the client.

将该标识符发送至目标部署服务进程后,使得该目标部署服务进程将文件缓存代理中的部署数据包发送至用户端的发布实时状态定时返回至用户端,从而使得用户端可以根据该发布实时状态展示应用程序的发布进度,方便用户了解发布进度。在实施时,以用户端为智能手机为例,智能手机可以通过该标识符定时从目标部署服务进程的数据库取回发布实时状态,并通过智能手机的显示屏进行显示。After the identifier is sent to the target deployment service process, the target deployment service process will periodically return the published real-time status of the deployment data package in the file caching agent to the client to the client, so that the client can release the real-time status according to the published real-time status. Display the release progress of the application, so that users can understand the release progress. In implementation, taking the client as a smartphone as an example, the smartphone can periodically retrieve and publish the real-time status from the database of the target deployment service process through the identifier, and display it on the display screen of the smartphone.

在一个可选实施例中,请参阅图7,图7是本发明一个实施例检测用户端运行状况的基本流程示意图。In an optional embodiment, please refer to FIG. 7 . FIG. 7 is a schematic schematic diagram of a basic flow of detecting the running status of a user terminal according to an embodiment of the present invention.

如图7所示,步骤S1500之后,还包括如下述步骤:As shown in Figure 7, after step S1500, the following steps are also included:

S1600、获取所述用户端运行所述部署数据包后进行设备检查生成的设备检查信息;S1600. Obtain device inspection information generated by performing device inspection after the client runs the deployment data package;

设备检差信息是用户端在运行部署数据包之后的运行状态信息,当用户端运行部署数据包之后,例如智能手机进行系统升级或者打补丁,需要获取该用户端的运行状况信息,从而判断部署数据包是否出现不合理的运行状况,例如在使用过程中出现系统漏洞bug甚至导致用户端无法正常工作的情况,以用户端为平板电脑为例,平板电脑运行该部署数据包之后进行系统自检,从而进行设备检查生成设备检查信息。Device detection information is the running status information of the client after running the deployment data package. After the client runs the deployment data package, such as a smartphone to upgrade or patch the system, it needs to obtain the running status information of the client to determine the deployment data. Whether the package has an unreasonable operating status, such as a system bug or bug during use, or even the client cannot work normally. Taking the client as a tablet computer as an example, the tablet computer performs a system self-check after running the deployment data package. Thereby, device inspection is performed to generate device inspection information.

S1700、根据预设解析规则将所述设备检测信息进行解析,以得到所述用户端的运行状况信息。S1700. Parse the device detection information according to a preset parsing rule to obtain the operating status information of the client.

在获取设备检查信息后,根据预设的解析规则对该设备检查信息进行解析得到该用户端的运行状况信息,从而判断部署数据包是否存在系统漏洞或者不足之处。方便后期对这些系统漏洞进行应用程序的维护和升级,从而实现应用程序的持续完善功能。After acquiring the device inspection information, the device inspection information is parsed according to a preset parsing rule to obtain the operating status information of the client, so as to determine whether the deployment data package has system loopholes or deficiencies. It is convenient to maintain and upgrade the application program for these system vulnerabilities in the later period, so as to realize the continuous improvement function of the application program.

为解决上述技术问题,本发明实施例还提供一种自动化部署控制装置。To solve the above technical problem, an embodiment of the present invention further provides an automatic deployment control device.

具体请参阅图8,图8为本实施例自动化部署控制装置基本结构示意图。Please refer to FIG. 8 for details. FIG. 8 is a schematic diagram of the basic structure of the automatic deployment control apparatus according to the present embodiment.

如图8所示,一种自动化部署控制装置,包括:第一获取模块2100、第一处理模块2200和第一执行模块2300,其中,第一获取模块2100用于获取用户端发送的部署请求,其中,所述部署请求包括所述用户端所在区域的区域地址信息;第一处理模块2200用于根据所述区域地址信息与预设的本地地址信息进行比对;第一执行模块2300用于当所述区域地址信息与所述本地地址信息之间的距离大于预设的距离阈值时,将所述区域地址信息进行链上广播,以使与所述区域地址信息相匹配的目标部署服务进程响应所述部署请求。As shown in FIG. 8, an automatic deployment control device includes: a first acquisition module 2100, a first processing module 2200 and a first execution module 2300, wherein the first acquisition module 2100 is used to acquire a deployment request sent by a client, The deployment request includes the regional address information of the region where the client is located; the first processing module 2200 is configured to compare the regional address information with the preset local address information; the first execution module 2300 is configured to When the distance between the regional address information and the local address information is greater than a preset distance threshold, the regional address information is broadcast on the chain, so that the target deployment service process matching the regional address information responds the deployment request.

本实施例通过获取用户端发送的部署请求,包括用户端所在区域的区域地址信息,再根据该区域地址信息与本地地址信息进行比对,当该区域地址信息与本地地址信息之间的距离大于预设的距离阈值时,将该区域地址信息进行广播,从而匹配与该区域地址信息的目标部署服务进程以响应该部署请求,由于该目标部署服务进程与用户端在同一个区域中,将全球发布转换成地区发布,能有效降低目标部署服务进程与用户端之间对网络质量的要求,降低发布延时,且不需要依赖消息中间件的功能可靠性,实用性强。In this embodiment, the deployment request sent by the client includes the area address information of the area where the client is located, and then compares the area address information with the local address information. When the distance between the area address information and the local address information is greater than When the preset distance threshold is reached, the area address information is broadcast, so as to match the target deployment service process with the area address information to respond to the deployment request. Since the target deployment service process and the client are in the same area, the global Publishing is converted into regional publishing, which can effectively reduce the network quality requirements between the target deployment service process and the client, and reduce the publishing delay. It does not need to rely on the functional reliability of the message middleware, and has strong practicability.

在一些实施方式中,自动化部署控制装置还包括:第二处理模块和第二执行模块,其中,第二处理模块用于根据预设的划分规则将全球各大区划分成若干大区生成大区区域分布信息;第二执行模块用于根据所述大区区域分布信息依次在所述若干大区中部署至少一个部署服务进程。In some embodiments, the automatic deployment control device further includes: a second processing module and a second execution module, wherein the second processing module is configured to divide the major regions of the world into several major regions according to preset division rules to generate major regions distribution information; the second execution module is configured to sequentially deploy at least one deployment service process in the several large areas according to the large area distribution information.

在一些实施方式中,自动化部署控制装置还包括:第二获取模块和第三执行模块,其中,第二获取模块用于获取所述部署服务进程的进程IP地址信息;第三执行模块用于根据所述进程IP地址信息在分布式系统中注册所述部署服务进程的服务信息,其中,所述服务信息包括所述部署服务进程的进程IP地址信息、监听端口信息以及区域信息。In some embodiments, the automatic deployment control apparatus further includes: a second acquisition module and a third execution module, wherein the second acquisition module is used to acquire the process IP address information of the deployment service process; the third execution module is used to obtain the process IP address information of the deployment service process; The process IP address information registers the service information of the deployment service process in the distributed system, where the service information includes process IP address information, listening port information and area information of the deployment service process.

在一些实施方式中,自动化部署控制装置还包括:线程模块、检查模块和第四执行模块,其中,线程模块用于通过线程建立将预设的部署数据包同步至所述若干大区的文件缓存代理中的待执行任务;检测模块用于检测所述待执行任务之后的任务队列中是否存在优先级高于所述待执行任务的操作任务;第四执行模块用于当所述任务队列存在优先级高于所述待执行任务的操作任务时,优先执行所述操作任务至所述操作任务执行完毕后回调执行所述待执行任务。In some embodiments, the automatic deployment control apparatus further includes: a thread module, a check module, and a fourth execution module, wherein the thread module is configured to establish a file cache for synchronizing preset deployment data packets to the several large areas through threads The task to be executed in the agent; the detection module is used to detect whether there is an operation task with a priority higher than the task to be executed in the task queue after the task to be executed; the fourth execution module is used for when the task queue has a priority When an operation task whose level is higher than the to-be-executed task is executed, the operation task is preferentially executed until the operation task is executed and the to-be-executed task is called back to execute the to-be-executed task.

在一些实施方式中,自动化部署控制装置还包括:第一执行子模块、第一获取子模块和第二执行子模块,其中,第一执行子模块用于根据所述区域地址信息向各个所述部署服务进程发起远程过程调用;第一获取子模块用于获取各个所述部署服务进程响应所述远程过程调用而返回的地址信息;第二执行子模块用于根据所述地址信息在各个所述部署服务进程中选取与所述用户端同一个大区的部署服务进程作为所述目标部署服务进程。In some embodiments, the automatic deployment control apparatus further includes: a first execution sub-module, a first acquisition sub-module and a second execution sub-module, wherein the first execution sub-module is configured to report to each of the said regions according to the area address information The deployment service process initiates a remote procedure call; the first acquisition submodule is used to acquire address information returned by each of the deployment service processes in response to the remote procedure call; In the deployment service process, the deployment service process in the same large area as the client is selected as the target deployment service process.

在一些实施方式中,自动化部署控制装置还包括:第三获取模块和第五执行模块,其中,第三获取模块用于获取所述用户端发送的标识符,其中,所述标识符为所述目标部署服务进程接受所述远程过程调用而返回至所述用户端的工作标识符;第五执行模块用于将所述标识符发送至所述目标部署服务进程,以使所述目标部署服务进程定时将文件缓存代理中的部署数据包发送至所述用户端的发布实时状态返回至所述用户端。In some embodiments, the automatic deployment control apparatus further includes: a third obtaining module and a fifth executing module, wherein the third obtaining module is configured to obtain an identifier sent by the client, wherein the identifier is the The target deployment service process accepts the remote procedure call and returns the job identifier to the client; the fifth execution module is configured to send the identifier to the target deployment service process, so that the target deployment service process is timed The real-time publishing status of the deployment data package in the file caching agent sent to the client is returned to the client.

在一些实施方式中,自动化部署控制装置还包括:第四获取模块和第六执行模块,其中,第四获取模块用于获取所述用户端运行所述部署数据包后进行设备检查生成的设备检查信息;第六执行模块用于根据预设解析规则将所述设备检测信息进行解析,以得到所述用户端的运行状况信息In some embodiments, the automated deployment control apparatus further includes: a fourth acquisition module and a sixth execution module, wherein the fourth acquisition module is configured to acquire a device inspection generated by performing device inspection after the client runs the deployment data package information; the sixth execution module is used to parse the device detection information according to the preset parsing rule, so as to obtain the operating status information of the user terminal

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

为解决上述技术问题,本发明实施例还提供计算机设备。具体请参阅图9,图9为本实施例计算机设备基本结构框图。To solve the above technical problems, the embodiments of the present invention further provide computer equipment. Please refer to FIG. 9 for details. FIG. 9 is a block diagram of the basic structure of a computer device according to this embodiment.

如图9所示,计算机设备的内部结构示意图。如图9所示,该计算机设备包括通过系统总线连接的处理器、非易失性存储介质、存储器和网络接口。其中,该计算机设备的非易失性存储介质存储有操作系统、数据库和计算机可读指令,数据库中可存储有控件信息序列,该计算机可读指令被处理器执行时,可使得处理器实现一种自动化部署控制方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种自动化部署控制方法。该计算机设备的网络接口用于与终端连接通信。本领域技术人员可以理解,图中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。As shown in FIG. 9 , a schematic diagram of the internal structure of the computer equipment. As shown in FIG. 9, the computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected through a system bus. Wherein, the non-volatile storage medium of the computer device stores an operating system, a database and computer-readable instructions, and the database may store a sequence of control information. When the computer-readable instructions are executed by the processor, the processor can realize a An automated deployment control method. The processor of the computer device is used to provide computing and control capabilities and support the operation of the entire computer device. Computer-readable instructions may be stored in the memory of the computer device, and when executed by the processor, the computer-readable instructions may cause the processor to perform an automated deployment control method. The network interface of the computer equipment is used for communication with the terminal connection. Those skilled in the art can understand that the structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. The specific computer equipment may include There are more or fewer components than shown in the figures, or some components are combined, or have a different arrangement of components.

本实施方式中处理器用于执行图8中第一获取模块2100、第一处理模块2200和第一执行模块2300,存储器存储有执行上述模块所需的程序代码和各类数据。网络接口用于向用户终端或服务器之间的数据传输。本实施方式中的存储器存储有自动化部署控制装置中执行所有子模块所需的程序代码及数据,服务器能够调用服务器的程序代码及数据执行所有子模块的功能。In this embodiment, the processor is used to execute the first acquisition module 2100 , the first processing module 2200 and the first execution module 2300 in FIG. 8 , and the memory stores program codes and various types of data required to execute the above modules. The network interface is used for data transmission between user terminals or servers. The memory in this embodiment stores program codes and data required for executing all submodules in the automatic deployment control device, and the server can invoke the program codes and data of the server to execute the functions of all submodules.

计算机通过获取用户端发送的部署请求,包括用户端所在区域的区域地址信息,再根据该区域地址信息与本地地址信息进行比对,当该区域地址信息与本地地址信息之间的距离大于预设的距离阈值时,将该区域地址信息进行广播,从而匹配与该区域地址信息的目标部署服务进程以响应该部署请求,由于该目标部署服务进程与用户端在同一个区域中,将全球发布转换成地区发布,能有效降低目标部署服务进程与用户端之间对网络质量的要求,降低发布延时,且不需要依赖消息中间件的功能可靠性,实用性强。The computer obtains the deployment request sent by the client, including the regional address information of the region where the client is located, and then compares the regional address information with the local address information. When the distance between the regional address information and the local address information is greater than the preset When the distance threshold is reached, the area address information is broadcast, so as to match the target deployment service process with the area address information to respond to the deployment request. Since the target deployment service process and the client are in the same area, the global distribution will be converted Publishing in different regions can effectively reduce the network quality requirements between the target deployment service process and the client, reduce the publishing delay, and do not need to rely on the functional reliability of the message middleware, and has strong practicability.

本发明还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述任一实施例所述自动化部署控制方法的步骤。The present invention also provides a storage medium storing computer-readable instructions, the computer-readable instructions, when executed by one or more processors, cause the one or more processors to execute the automated deployment control described in any of the foregoing embodiments steps of the method.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the program can be executed , may include the flow of the above-mentioned method embodiments. The aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM).

应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of the accompanying drawings are sequentially shown in the order indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order and may be performed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution sequence is also It does not have to be performed sequentially, but may be performed alternately or alternately with other steps or at least a portion of sub-steps or stages of other steps.

以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are only some embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. It should be regarded as the protection scope of the present invention.

Claims (10)

1.一种自动化部署控制方法,其特征在于,包括下述步骤:1. an automatic deployment control method, is characterized in that, comprises the following steps: 获取用户端发送的部署请求,其中,所述部署请求包括所述用户端所在区域的区域地址信息;Obtain a deployment request sent by the client, wherein the deployment request includes the area address information of the area where the client is located; 根据所述区域地址信息与预设的本地地址信息进行比对;Compare according to the regional address information and preset local address information; 当所述区域地址信息与所述本地地址信息之间的距离大于预设的距离阈值时,将所述区域地址信息进行链上广播,以使与所述区域地址信息相匹配的目标部署服务进程响应所述部署请求。When the distance between the regional address information and the local address information is greater than a preset distance threshold, the regional address information is broadcast on the chain, so that the target that matches the regional address information can deploy the service process Respond to the deployment request. 2.根据权利要求1所述的自动化部署控制方法,其特征在于,所述获取用户端发送的部署请求的步骤之前,还包括如下述步骤:2. The automatic deployment control method according to claim 1, characterized in that, before the step of obtaining the deployment request sent by the client, the method further comprises the following steps: 根据预设的划分规则将全球范围内划分成若干大区生成大区区域分布信息;According to the preset division rules, the world is divided into several large regions to generate regional distribution information; 根据所述大区区域分布信息依次在所述若干大区中部署至少一个部署服务进程。At least one deployment service process is sequentially deployed in the plurality of large regions according to the regional distribution information of the large regions. 3.根据权利要求2所述的自动化部署控制方法,其特征在于,所述根据所述大区区域分布信息依次在所述若干大区中部署至少一个部署服务进程的步骤之后,还包括如下述步骤:3. The automatic deployment control method according to claim 2, characterized in that, after the step of sequentially deploying at least one deployment service process in the several large regions according to the regional distribution information of the large regions, the method further comprises the following steps: step: 获取所述部署服务进程的进程IP地址信息;Obtain the process IP address information of the deployment service process; 根据所述进程IP地址信息在分布式系统中注册所述部署服务进程的服务信息,其中,所述服务信息包括所述部署服务进程的进程IP地址信息、监听端口信息以及区域信息。The service information of the deployment service process is registered in the distributed system according to the process IP address information, wherein the service information includes process IP address information, listening port information and area information of the deployment service process. 4.根据权利要求3所述的自动化部署控制方法,其特征在于,所述根据所述进程IP地址信息在所述分布式系统中注册所述部署服务进程的服务信息的步骤之后,还包括如下述步骤:4. The automatic deployment control method according to claim 3, wherein after the step of registering the service information of the deployment service process in the distributed system according to the process IP address information, the method further comprises the following steps: Describe the steps: 通过线程建立将预设的部署数据包同步至所述若干大区的文件缓存代理中的待执行任务;Establishing a task to be executed by synchronizing the preset deployment data package to the file caching agents of the several large areas through threads; 检测所述待执行任务之后的任务队列中是否存在优先级高于所述待执行任务的操作任务;Detecting whether there is an operation task with a higher priority than the task to be executed in the task queue after the task to be executed; 当所述任务队列存在优先级高于所述待执行任务的操作任务时,优先执行所述操作任务至所述操作任务执行完毕后回调执行所述待执行任务。When there is an operation task with a priority higher than the to-be-executed task in the task queue, the operation task is executed preferentially until the operation task is executed and the to-be-executed task is called back to execute the to-be-executed task. 5.根据权利要求2所述的自动化部署控制方法,其特征在于,所述当所述区域地址信息与所述本地地址信息之间的距离大于预设的距离阈值时,将所述区域地址信息进行链上广播,以使与所述区域地址信息相匹配的部署服务进程响应所述部署请求的步骤,包括如下述步骤:5. The automatic deployment control method according to claim 2, wherein when the distance between the regional address information and the local address information is greater than a preset distance threshold, the regional address information The step of performing on-chain broadcast so that the deployment service process matching the area address information responds to the deployment request includes the following steps: 根据所述区域地址信息向各个所述部署服务进程发起远程过程调用;Initiating a remote procedure call to each of the deployment service processes according to the area address information; 获取各个所述部署服务进程响应所述远程过程调用而返回的地址信息;Acquiring address information returned by each of the deployment service processes in response to the remote procedure call; 根据所述地址信息在各个所述部署服务进程中选取与所述用户端同一个大区的部署服务进程作为所述目标部署服务进程。According to the address information, a deployment service process in the same large area as the client is selected from each of the deployment service processes as the target deployment service process. 6.根据权利要求5所述的自动化部署控制方法,其特征在于,所述当所述区域地址信息与所述本地地址信息之间的距离大于预设的距离阈值时,将所述区域地址信息进行链上广播,以使与所述区域地址信息相匹配的目标部署服务进程响应所述部署请求的步骤之后,还包括如下述步骤:6 . The automatic deployment control method according to claim 5 , wherein when the distance between the regional address information and the local address information is greater than a preset distance threshold, the regional address information After the step of performing on-chain broadcast so that the target deployment service process matching the area address information responds to the deployment request, the following steps are also included: 获取所述用户端发送的标识符,其中,所述标识符为所述目标部署服务进程接受所述远程过程调用而返回至所述用户端的工作标识符;obtaining an identifier sent by the client, wherein the identifier is a work identifier returned to the client by the target deployment service process accepting the remote procedure call; 将所述标识符发送至所述目标部署服务进程,以使所述目标部署服务进程定时将文件缓存代理中的部署数据包发送至所述用户端的发布实时状态返回至所述用户端。The identifier is sent to the target deployment service process, so that the target deployment service process regularly returns the published real-time status of the deployment data packets in the file caching agent to the client terminal to the client terminal. 7.根据权利要求6所述的自动化部署控制方法,其特征在于,所述将所述标识符发送至所述目标部署服务进程,以使所述目标部署服务进程定时将文件缓存代理中的部署数据包发送至所述用户端的发布实时状态返回至所述用户端的步骤之后,还包括如下述步骤:7 . The automatic deployment control method according to claim 6 , wherein the identifier is sent to the target deployment service process, so that the target deployment service process regularly updates the deployment in the file cache proxy. 8 . After the step of returning the published real-time state of the data packet to the user terminal and returning to the user terminal, the following steps are also included: 获取所述用户端运行所述部署数据包后进行设备检查生成的设备检查信息;Obtain device inspection information generated by performing device inspection after the client runs the deployment data package; 根据预设解析规则将所述设备检测信息进行解析,以得到所述用户端的运行状况信息。The device detection information is parsed according to a preset parsing rule to obtain operating status information of the client. 8.一种自动化部署控制装置,其特征在于,包括:8. An automatic deployment control device, characterized in that, comprising: 第一获取模块,用于获取用户端发送的部署请求,其中,所述部署请求包括所述用户端所在区域的区域地址信息;a first obtaining module, configured to obtain a deployment request sent by the client, wherein the deployment request includes the area address information of the area where the client is located; 第一处理模块,用于根据所述区域地址信息与预设的本地地址信息进行比对;a first processing module, configured to compare the regional address information with preset local address information; 第一执行模块,用于当所述区域地址信息与所述本地地址信息之间的距离大于预设的距离阈值时,将所述区域地址信息进行链上广播,以使与所述区域地址信息相匹配的目标部署服务进程响应所述部署请求。a first execution module, configured to broadcast the regional address information on the chain when the distance between the regional address information and the local address information is greater than a preset distance threshold, so as to make the regional address information and the regional address information The matching target deployment service process responds to the deployment request. 9.一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行如权利要求1至7中任一项权利要求所述自动化部署控制方法的步骤。9. A computer device comprising a memory and a processor, wherein computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, the processor is caused to perform as claimed in claims 1 to 7 The steps of the automatic deployment control method of any one of claims. 10.一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如权利要求1至7中任一项权利要求所述自动化部署控制方法的步骤。10. A storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform any one of claims 1 to 7 Steps of the automated deployment control method.
CN201811644119.7A 2018-12-29 2018-12-29 Automatic deployment control method, device, computer equipment and storage medium Active CN111381832B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811644119.7A CN111381832B (en) 2018-12-29 2018-12-29 Automatic deployment control method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811644119.7A CN111381832B (en) 2018-12-29 2018-12-29 Automatic deployment control method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111381832A true CN111381832A (en) 2020-07-07
CN111381832B CN111381832B (en) 2023-08-18

Family

ID=71221141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811644119.7A Active CN111381832B (en) 2018-12-29 2018-12-29 Automatic deployment control method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111381832B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448594A (en) * 2021-06-29 2021-09-28 京东科技控股股份有限公司 Service processing method and device, computer equipment and storage medium
CN114844951A (en) * 2022-04-22 2022-08-02 百果园技术(新加坡)有限公司 Request processing method, system, device, storage medium and product
CN116112555A (en) * 2022-12-29 2023-05-12 山石网科通信技术股份有限公司 Service proxy method, device, computer-readable storage medium, and electronic device
CN117407049A (en) * 2023-12-15 2024-01-16 广州嘉为科技有限公司 Application release arrangement method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030876A1 (en) * 2007-08-27 2010-02-04 DNSStuff, INC. Method, system and apparatus for discovering user agent dns settings
CN108011995A (en) * 2017-12-19 2018-05-08 北京星河星云信息技术有限公司 Strange land implementation method more living, strange land service platform more living and storage medium
CN108111527A (en) * 2017-12-29 2018-06-01 深圳市艾特智能科技有限公司 Smart home client access request processing method, system, storage medium and computer equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030876A1 (en) * 2007-08-27 2010-02-04 DNSStuff, INC. Method, system and apparatus for discovering user agent dns settings
CN108011995A (en) * 2017-12-19 2018-05-08 北京星河星云信息技术有限公司 Strange land implementation method more living, strange land service platform more living and storage medium
CN108111527A (en) * 2017-12-29 2018-06-01 深圳市艾特智能科技有限公司 Smart home client access request processing method, system, storage medium and computer equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448594A (en) * 2021-06-29 2021-09-28 京东科技控股股份有限公司 Service processing method and device, computer equipment and storage medium
CN114844951A (en) * 2022-04-22 2022-08-02 百果园技术(新加坡)有限公司 Request processing method, system, device, storage medium and product
CN114844951B (en) * 2022-04-22 2024-03-19 百果园技术(新加坡)有限公司 Request processing method, system, device, storage medium and product
CN116112555A (en) * 2022-12-29 2023-05-12 山石网科通信技术股份有限公司 Service proxy method, device, computer-readable storage medium, and electronic device
CN116112555B (en) * 2022-12-29 2024-11-15 山石网科通信技术股份有限公司 Service agent method, device, computer-readable storage medium and electronic device
CN117407049A (en) * 2023-12-15 2024-01-16 广州嘉为科技有限公司 Application release arrangement method, device, equipment and storage medium
CN117407049B (en) * 2023-12-15 2024-03-26 广州嘉为科技有限公司 Application release arrangement method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111381832B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
US11159411B2 (en) Distributed testing service
CN111694674B (en) Message distribution processing method, device, equipment and storage medium
CN111381832B (en) Automatic deployment control method, device, computer equipment and storage medium
CN106533713B (en) Application deployment method and device
US11422865B2 (en) Dynamic workload migration to edge stations
CN114979286B (en) Access control method, device, equipment and computer storage medium for container service
US20110161961A1 (en) Method and apparatus for optimized information transmission using dedicated threads
US10404568B2 (en) Agent manager for distributed transaction monitoring system
US20250168239A1 (en) Service response method and apparatus, device, and storage medium
CN113923008B (en) Malicious website interception method, device, equipment and storage medium
US20200012545A1 (en) Event to serverless function workflow instance mapping mechanism
CN113434249A (en) Mirror image synchronization method and device, docker host and storage medium
CN110933075B (en) Service calling method and device, electronic equipment and storage medium
CN109788010A (en) A kind of method and apparatus of data localization access
US11048853B2 (en) System and method for resource presentation
CN115378993B (en) Method and system for supporting namespace-aware service registration and discovery
CN113783963B (en) Data transmission method, server node, gateway device, network system
CN109981546B (en) Method and device for obtaining remote calling relationship between application modules
CN110730197A (en) Service discovery method and system
CN113595795A (en) Network communication method, device, system, equipment and medium
CN111416795B (en) Data synchronization method, device, computing equipment and medium
CN116389559B (en) A method, device, equipment and medium for service deployment and inter-service communication
US12120205B2 (en) Communication protocol for a distributed event streaming platform
CN112052091A (en) Processing method and computing device for service invocation request under multi-room deployment
EP3188015A1 (en) Requesting and receiving a media stream within a networked system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20241202

Address after: 31a, 15 / F, building 30, maple mall, bangrang Road, Brazil, Singapore

Patentee after: Baiguoyuan Technology (Singapore) Co.,Ltd.

Country or region after: Singapore

Address before: Building B-1, North District, Wanda Commercial Plaza, Wanbo business district, No. 79, Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU BAIGUOYUAN INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right