CN115361368A - Data processing method, device, equipment and storage medium - Google Patents
Data processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN115361368A CN115361368A CN202210875476.4A CN202210875476A CN115361368A CN 115361368 A CN115361368 A CN 115361368A CN 202210875476 A CN202210875476 A CN 202210875476A CN 115361368 A CN115361368 A CN 115361368A
- Authority
- CN
- China
- Prior art keywords
- data processing
- request
- server
- processing request
- driver
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
本发明实施例公开了一种数据处理的方法、装置、设备及存储介质。该方法包括:获取终端发送的第一数据处理请求,所述第一数据处理请求包括请求标识;根据预先建立的所述请求标识与请求路径之间的映射关系信息,确定所述第一数据处理请求对应的所述请求路径;根据所述请求路径,确定第一服务器内微服务模块的驱动IP和端口标识,以用于所述服务器中的容器根据所述驱动IP和所述端口标识触发所述微服务模块响应所述第一数据处理请求,处理与所述第一数据处理请求对应的数据。本发明实施例提供的方法能够减少数据处理的过程,提高数据处理的效率,从而提升用户体验。
The embodiment of the invention discloses a data processing method, device, equipment and storage medium. The method includes: acquiring a first data processing request sent by a terminal, the first data processing request including a request identifier; determining the first data processing request according to pre-established mapping relationship information between the request identifier and the request path Requesting the corresponding request path; according to the request path, determine the driver IP and port identifier of the microservice module in the first server, so that the container in the server triggers the server according to the driver IP and the port identifier The microservice module processes data corresponding to the first data processing request in response to the first data processing request. The method provided by the embodiment of the present invention can reduce the process of data processing, improve the efficiency of data processing, thereby improving user experience.
Description
技术领域technical field
本发明属于网络通信技术领域,尤其涉及一种数据处理的方法、装置、设备及存储介质。The invention belongs to the technical field of network communication, and in particular relates to a data processing method, device, equipment and storage medium.
背景技术Background technique
随着互联网的广泛应用,网络化和信息化技术不断的推进,网络系统中的数据每天都在爆炸式的增长,基于这些数据,通常通过应用程序来接收用户的任务,触发大数据任务的执行,并由应用程序向用户反馈结果。With the wide application of the Internet and the continuous advancement of network and information technology, the data in the network system is growing explosively every day. Based on these data, users' tasks are usually received through applications to trigger the execution of big data tasks. , and the application feeds back the results to the user.
现有的应用程序接收用户的任务后,往往要经过一个可被访问的服务器,再由该服务器调用脚本命令,从而触发大数据任务的执行。After an existing application program receives a user's task, it often passes through an accessible server, and then the server invokes a script command, thereby triggering the execution of the big data task.
现有的应用程序触发大数据任务来进行数据处理的过程繁琐,效率低,使用户体验差。Existing applications trigger big data tasks for data processing, which is cumbersome and inefficient, resulting in poor user experience.
发明内容Contents of the invention
本发明实施例提供一种数据处理的方法、装置、设备及存储介质,能够减少数据处理的过程,提高数据处理的效率,从而提升用户体验。Embodiments of the present invention provide a data processing method, device, device, and storage medium, which can reduce data processing processes, improve data processing efficiency, and thereby improve user experience.
第一方面,本发明实施例提供一种数据处理的方法,应用于服务器,该方法包括:获取终端发送的第一数据处理请求,第一数据处理请求包括请求标识;根据预先建立的请求标识与请求路径之间的映射关系信息,确定第一数据处理请求对应的请求路径;根据请求路径,确定第一服务器内微服务模块的驱动网际协议(Internet Protocol,IP)和端口标识,以用于服务器中的容器根据驱动IP和端口标识触发微服务模块响应第一数据处理请求,处理与第一数据处理请求对应的数据。In the first aspect, the embodiment of the present invention provides a data processing method, which is applied to a server, and the method includes: obtaining a first data processing request sent by a terminal, where the first data processing request includes a request identifier; according to the pre-established request identifier and Mapping relationship information between request paths to determine the request path corresponding to the first data processing request; according to the request path, determine the driver Internet Protocol (Internet Protocol, IP) and port identifier of the microservice module in the first server for use in the server The container in triggers the microservice module to respond to the first data processing request according to the driver IP and the port identifier, and processes the data corresponding to the first data processing request.
在一种可能的实现方式中,在根据预先建立的请求标识与请求路径之间的映射关系信息,确定第一数据处理请求对应的请求路径之前,该方法还包括:建立请求路径,以及建立请求标识与请求路径之间的映射关系信息。In a possible implementation manner, before determining the request path corresponding to the first data processing request according to the pre-established mapping relationship information between the request identifier and the request path, the method further includes: establishing the request path, and establishing the request path Information about the mapping relationship between the identifier and the request path.
在一种可能的实现方式中,在根据请求路径,确定第一服务器内微服务模块的驱动IP和端口标识之前,该方法还包括:建立容器,并建立终端与容器之间的依赖关系,以及建立微服务模块与容器的依赖关系。In a possible implementation, before determining the driver IP and port identifier of the microservice module in the first server according to the request path, the method further includes: establishing a container, and establishing a dependency relationship between the terminal and the container, and Establish dependencies between microservice modules and containers.
在一种可能的实现方式中,该方法还包括:向终端发送驱动IP和端口标识,以用于终端根据驱动IP和端口标识生成第二数据处理请求,第二数据处理请求包括驱动IP和端口标识;获取终端发送的第二数据处理请求,以用于服务器中的容器根据驱动IP和端口标识触发微服务模块响应第二数据处理请求,处理与第二数据处理请求对应的数据。In a possible implementation, the method further includes: sending the driver IP and the port identifier to the terminal, so that the terminal generates a second data processing request according to the driver IP and the port identifier, and the second data processing request includes the driver IP and the port identifier. Identification; obtaining the second data processing request sent by the terminal, so that the container in the server can trigger the microservice module to respond to the second data processing request according to the driver IP and port identification, and process the data corresponding to the second data processing request.
在一种可能的实现方式中,第二数据处理请求包括驱动IP和端口标识;其中,驱动IP和端口标识由第一服务器发送给第二服务器,第二服务器用于储存驱动IP和端口标识;终端从第二服务器获取驱动IP和端口标识,并根据驱动IP和端口标识生成第二数据处理请求;该方法还包括:获取终端发送的第二数据处理请求,以用于服务器中的容器根据驱动IP和端口标识触发微服务模块响应第二数据处理请求,处理与第二数据处理请求对应的数据。In a possible implementation, the second data processing request includes a driver IP and a port identifier; wherein, the driver IP and the port identifier are sent by the first server to the second server, and the second server is used to store the driver IP and the port identifier; The terminal obtains the driver IP and port identifier from the second server, and generates a second data processing request according to the driver IP and port identifier; the method also includes: obtaining the second data processing request sent by the terminal, for the container in the server to The IP and the port identifier trigger the microservice module to respond to the second data processing request, and process the data corresponding to the second data processing request.
在一种可能的实现方式中,服务器还包括接口,接口用于获取服务器与容器之间,以及容器与第一服务器之间的通信信息,并根据通信信息生成文档。In a possible implementation manner, the server further includes an interface configured to obtain communication information between the server and the container, and between the container and the first server, and generate a document according to the communication information.
第二方面,本发明实施例提供了一种数据处理装置,该装置包括:获取模块,用于获取终端发送的第一数据处理请求,第一数据处理请求包括请求标识;确定模块,用于根据预先建立的请求标识与请求路径之间的映射关系信息,确定第一数据处理请求对应的请求路径;还用于根据请求路径,确定第一服务器内微服务模块的驱动IP和端口标识,以用于装置中的容器根据驱动IP和端口标识触发微服务模块响应第一数据处理请求,处理与第一数据处理请求对应的数据。In a second aspect, an embodiment of the present invention provides a data processing device, which includes: an acquisition module, configured to acquire a first data processing request sent by a terminal, where the first data processing request includes a request identifier; a determination module, configured to The pre-established mapping relationship information between the request identifier and the request path determines the request path corresponding to the first data processing request; it is also used to determine the driver IP and port identifier of the microservice module in the first server according to the request path, so as to use The container in the device triggers the microservice module to respond to the first data processing request according to the driver IP and the port identifier, and processes the data corresponding to the first data processing request.
在一种可能的实现方式中,第二数据处理请求包括驱动IP和端口标识;In a possible implementation, the second data processing request includes a driver IP and a port identifier;
其中,驱动IP和端口标识由第一服务器发送给第二服务器,第二服务器用于储存驱动IP和端口标识;终端从第二服务器获取驱动IP和端口标识,并根据驱动IP和端口标识生成第二数据处理请求;获取模块,还用于获取终端发送的第二数据处理请求,以用于装置中的容器根据驱动IP和端口标识触发微服务模块响应第二数据处理请求,处理与第二数据处理请求对应的数据。Wherein, the driving IP and the port identification are sent to the second server by the first server, and the second server is used to store the driving IP and the port identification; the terminal obtains the driving IP and the port identification from the second server, and generates the second server according to the driving IP and the port identification. Two data processing requests; the obtaining module is also used to obtain the second data processing request sent by the terminal, so that the container in the device triggers the microservice module to respond to the second data processing request according to the drive IP and port identification, and processes the second data processing request. Process the data corresponding to the request.
第三方面,本发明实施例提供了一种电子设备,该设备包括:处理器以及存储有计算机程序指令的存储器;处理器执行计算机程序指令时,实现如第一方面或者第一方面的任一可能实现方式中的方法。In a third aspect, an embodiment of the present invention provides an electronic device, which includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, any one of the first aspect or the first aspect can be realized. Methods in Possible Implementations.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序指令,计算机程序指令被处理器执行时实现如第一方面或者第一方面的任一可能实现方式中的方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are executed by a processor, the first aspect or any of the first aspects can be implemented. A method in one possible implementation.
本发明的实施例提供的技术方案至少带来以下有益效果:本发明实施例提供的方法应用于服务器,服务器获取的第一数据处理请求中包括请求标识,这样能够根据预先建立的请求标识与请求路径之间的映射关系,为请求标识匹配请求路径,然后根据请求路径确定第一服务器内微服务模块的驱动IP和端口标识,这样服务器内的容器能够根据驱动IP和端口标识触发微服务模块响应第一数据处理请求,处理与第一数据处理请求对应的数据,本发明实施例体用的方法能够减少数据处理的过程,提高数据处理的效率,从而提升用户体验。The technical solution provided by the embodiment of the present invention brings at least the following beneficial effects: the method provided by the embodiment of the present invention is applied to the server, and the first data processing request obtained by the server includes the request identifier, so that the request can be processed according to the pre-established request identifier and request The mapping relationship between paths is to match the request path for the request identifier, and then determine the driver IP and port identifier of the microservice module in the first server according to the request path, so that the container in the server can trigger the response of the microservice module according to the driver IP and port identifier The first data processing request processes the data corresponding to the first data processing request. The method used in the embodiment of the present invention can reduce the data processing process, improve the efficiency of data processing, and thereby improve user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments of the present invention will be briefly introduced below. Additional figures can be derived from these figures.
图1是本发明实施例提供的一种数据处理的方法的流程示意图。FIG. 1 is a schematic flowchart of a data processing method provided by an embodiment of the present invention.
图2是本发明实施例提供的一种数据处理的装置结构示意图。Fig. 2 is a schematic structural diagram of a data processing device provided by an embodiment of the present invention.
图3是本发明实施例提供的一种电子设备的硬件结构示意图。Fig. 3 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将详细描述本发明的各个方面的特征和示例性实施例,为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本发明进行进一步详细描述。应理解,此处所描述的具体实施例仅被配置为解释本发明,并不被配置为限定本发明。对于本领域技术人员来说,本发明可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本发明的示例来提供对本发明更好的理解。The characteristics and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only configured to explain the present invention, not to limit the present invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by showing examples of the present invention.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. any such actual relationship or order exists between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the statement "comprising..." does not exclude the presence of additional identical elements in the process, method, article or device that includes the element.
随着互联网的广泛应用,网络化和信息化技术不断的推进,网络系统中的数据每天都在爆炸式的增长,基于这些数据,通常通过应用程序来接收用户的任务,触发大数据任务的执行,并由应用程序向用户反馈结果。With the wide application of the Internet and the continuous advancement of network and information technology, the data in the network system is growing explosively every day. Based on these data, users' tasks are usually received through applications to trigger the execution of big data tasks. , and the application feeds back the results to the user.
现有的应用程序接收用户的任务后,往往要经过一个可被访问的服务器,再由该服务器调用脚本命令,从而触发大数据任务的执行。After an existing application program receives a user's task, it often passes through an accessible server, and then the server invokes a script command, thereby triggering the execution of the big data task.
现有的应用程序触发大数据任务来进行数据处理的过程繁琐,效率低,使用户体验差。Existing applications trigger big data tasks for data processing, which is cumbersome and inefficient, resulting in poor user experience.
本发明实施例提供一种数据处理的方法、装置、设备及存储介质,能够减少数据处理的过程,提高数据处理的效率,从而提升用户体验。Embodiments of the present invention provide a data processing method, device, device, and storage medium, which can reduce data processing processes, improve data processing efficiency, and thereby improve user experience.
下面将结合图1详细阐述本发明一个实施例提供的一种数据处理的方法。A data processing method provided by an embodiment of the present invention will be described in detail below with reference to FIG. 1 .
本发明实施例提供的方法的执行主体可以应用于服务器等具备数据处理功能的设备。The execution body of the method provided by the embodiment of the present invention can be applied to a server and other devices with data processing functions.
如图1所示,该方法可以包括以下步骤:S110,获取终端发送的第一数据处理请求,第一数据处理请求包括请求标识。As shown in FIG. 1 , the method may include the following steps: S110, acquire a first data processing request sent by a terminal, where the first data processing request includes a request identifier.
终端是可以接收用户的数据处理请求,并将结果展示给用户的设备,可以是服务器、电脑、平板等。A terminal is a device that can receive a user's data processing request and display the result to the user. It can be a server, computer, tablet, etc.
第一数据处理请求是由用户通过终端向服务器发送的数据处理请求。The first data processing request is a data processing request sent by the user to the server through the terminal.
服务器从终端获取用户的第一数据处理器请求,由于第一数据处理请求中包括请求标识,这样便于服务器对第一数据处理请求进行处理。The server acquires the user's first data processing request from the terminal, and since the first data processing request includes the request identifier, it is convenient for the server to process the first data processing request.
在一些实施例中,服务器通过运行服务器内的应用程序进行数据处理。In some embodiments, the server performs data processing by running an application program within the server.
在一个示例中,应用程序为页面展示类的应用程序(WebAPP),这样容易控制开发成本。In one example, the application program is a web application program (WebAPP), which is easy to control development costs.
在一些实施例中,服务器建立容器,以及建立终端与容器的依赖关系,以用于服务器通过容器根据依赖关系与终端通信。In some embodiments, the server establishes the container, and establishes a dependency relationship between the terminal and the container, so that the server communicates with the terminal through the container according to the dependency relationship.
在一个示例中,第一数据处理请求为大数据任务处理请求。容器可以是Jetty容器,Jetty容器是一个开源的服务连接器容器。终端可以是反向代理服务器,代理服务器来接收网络上的数据处理请求,然后将数据处理请求转发给内部网络上的服务器,并将从服务器上得到的结果返回给网络上发送数据处理请求连接的客户端,此时代理服务器对外就表现为一个反向代理服务器。In an example, the first data processing request is a big data task processing request. The container may be a Jetty container, which is an open source service connector container. The terminal can be a reverse proxy server, the proxy server receives the data processing request on the network, then forwards the data processing request to the server on the internal network, and returns the result obtained from the server to the network that sends the data processing request connection Client, at this time the proxy server acts as a reverse proxy server externally.
Jetty容器与反向代理服务器通过支持超文本传输协议(Hyper Text TransferProtocal,HTTP)进行通信,反向代理服务器接收用户的第一数据处理请求并发送给Jetty容器,Jetty容器获取反向代理服务器发送的第一数据处理请求,这样便于服务器根据大数据任务处理请求中的请求标识触发第一服务器响应大数据任务处理请求。The Jetty container communicates with the reverse proxy server by supporting Hyper Text Transfer Protocol (HTTP). The reverse proxy server receives the user's first data processing request and sends it to the Jetty container, and the Jetty container obtains the data sent by the reverse proxy server. The first data processing request is convenient for the server to trigger the first server to respond to the big data task processing request according to the request identifier in the big data task processing request.
S120,根据预先建立的请求标识与请求路径之间的映射关系信息,确定第一数据处理请求对应的请求路径。S120. Determine a request path corresponding to the first data processing request according to the pre-established mapping relationship information between the request identifier and the request path.
请求路径包括资源路径和资源名称。例如资源路径为指向微服务模块的路径,资源名称为微服务模块的驱动IP和端口标识。The request path includes resource path and resource name. For example, the resource path is the path pointing to the microservice module, and the resource name is the driver IP and port identifier of the microservice module.
映射关系信息可以包括多个请求标识和多个请求路径,以及请求标识与请求路径之间的映射关系。The mapping relationship information may include multiple request identifiers and multiple request paths, and the mapping relationship between the request identifiers and the request paths.
在一些实施例中,在根据预先建立的请求标识与请求路径之间的映射关系信息,确定第一数据处理请求对应的请求路径之前,服务器先建立请求路径,以及建立请求标识与请求路径之间的映射关系信息。In some embodiments, before determining the request path corresponding to the first data processing request according to the pre-established mapping relationship information between the request identifier and the request path, the server first establishes the request path, and establishes the relationship between the request identifier and the request path The mapping relationship information.
每个请求路径指引向一个微服务模块。Each request path leads to a microservice module.
服务器建立了请求路径以及请求标识与请求路径之间的映射关系信息,这样便能够为确定第一数据处理请求对应的请求路径提供依据。The server establishes the request path and the mapping relationship information between the request identifier and the request path, so as to provide a basis for determining the request path corresponding to the first data processing request.
服务器根据映射关系信息,确定的请求标识映射的请求路径,这样为根据请求路径确定微服务模块的驱动IP和端口标识提供依据。According to the mapping relationship information, the server determines the request path mapped to the request identifier, which provides a basis for determining the driver IP and port identifier of the microservice module according to the request path.
在一个示例中,第一数据处理请求为大数据任务处理请求,服务器中的WebAPP接收Jetty容器发送的大数据任务处理请求,根据第一数据处理请求中的请求标识与映射关系信息,映射得到请求路径。In an example, the first data processing request is a big data task processing request, and the WebAPP in the server receives the big data task processing request sent by the Jetty container, and maps the request according to the request identifier and mapping relationship information in the first data processing request path.
S130,根据请求路径,确定第一服务器内微服务模块的驱动IP和端口标识,以用于服务器中的容器根据驱动IP和端口标识触发微服务模块响应第一数据处理请求,处理与第一数据处理请求对应的数据。S130, according to the request path, determine the driver IP and port identifier of the microservice module in the first server, so that the container in the server can trigger the microservice module to respond to the first data processing request according to the driver IP and port identifier, and process the first data Process the data corresponding to the request.
第一服务器包括多个微服务模块,每个微服务模块被配置了一定的功能,能够响应数据处理请求,得到结果。The first server includes a plurality of microservice modules, and each microservice module is configured with a certain function, capable of responding to data processing requests and obtaining results.
服务器根据请求路径便得到用于响应第一数据处理请求的微服务模块的驱动IP和端口标识,服务器中的容器根据驱动IP和端口标识触发微服务模块响应第一数据处理请求,处理与第一数据处理请求对应的数据。According to the request path, the server obtains the driver IP and port identifier of the microservice module used to respond to the first data processing request, and the container in the server triggers the microservice module to respond to the first data processing request according to the driver IP and port identifier. The data corresponding to the data processing request.
在一些实施例中,在根据请求路径,确定第一服务器内微服务模块的驱动IP和端口标识之前,建立微服务模块与容器的依赖关系,以便于容器通过该依赖关系与微服务模块通信。In some embodiments, before determining the driver IP and port identifier of the microservice module in the first server according to the request path, a dependency relationship between the microservice module and the container is established, so that the container communicates with the microservice module through the dependency relationship.
在一个示例中,服务器在容器中通过原始模型模式(ProtoType)或单列模式(Singleton)的方式创建SparkContext,SparkContext是spark程序的入口,一种快速、通用、可扩展的大数据分析引擎。创建SparkContext时需要的配置文件面向微服务,使用apollo配置中心,这样能够做到配置热加载,使用更加方便。In one example, the server creates a SparkContext in the container in the original model mode (ProtoType) or single-column mode (Singleton). SparkContext is the entry point of the spark program, a fast, general-purpose, and scalable big data analysis engine. The configuration file required when creating SparkContext is oriented to microservices, and the apollo configuration center is used, so that configuration hot loading can be achieved and it is more convenient to use.
第一服务器包括大数据集群。第一数据处理请求为大数据任务处理请求。The first server includes a big data cluster. The first data processing request is a big data task processing request.
服务器内WebAPP确定请求路径,容器内的SparkContext根据请求路径确定大数据集群内微服务模块的驱动IP和端口标识,以用于中的容器内的SparkContext根据驱动IP和端口标识触发微服务模块响应大数据任务处理请求,处理与大数据任务处理请求对应的数据。The WebAPP in the server determines the request path, and the SparkContext in the container determines the driver IP and port ID of the microservice module in the big data cluster according to the request path, so that the SparkContext in the container triggers the microservice module to respond to the big data according to the driver IP and port ID. The data task processing request processes the data corresponding to the big data task processing request.
服务器通过请求路径便能确定微服务模块的信息,并触发微服务模块响应第一数据处理请求,不必使用脚本,这样减少了数据处理的步骤,提高数据处理效率。The server can determine the information of the microservice module through the request path, and trigger the microservice module to respond to the first data processing request without using scripts, which reduces the steps of data processing and improves the efficiency of data processing.
本发明实施例提供的方法中,服务器获取的第一数据处理请求中包括请求标识,这样能够根据预先建立的请求标识与请求路径之间的映射关系,为请求标识匹配请求路径,然后根据请求路径确定第一服务器内微服务模块的驱动IP和端口标识,这样服务器内的容器能够根据驱动IP和端口标识触发微服务模块响应第一数据处理请求,处理与第一数据处理请求对应的数据,能够减少数据处理的步骤,提高数据处理的效率,从而提升用户体验。In the method provided by the embodiment of the present invention, the first data processing request obtained by the server includes the request identifier, so that the request identifier can be matched with the request path according to the pre-established mapping relationship between the request identifier and the request path, and then according to the request path Determine the driver IP and port identifier of the microservice module in the first server, so that the container in the server can trigger the microservice module to respond to the first data processing request according to the driver IP and port identifier, and process the data corresponding to the first data processing request. Reduce the steps of data processing, improve the efficiency of data processing, thereby improving user experience.
在本发明提供的一个实施例中,在服务器确定第一服务器的微服务模块的驱动IP和端口标识后,数据处理的方法还包括:向终端发送驱动IP和端口标识,以用于终端根据驱动IP和端口标识生成第二数据处理请求,第二数据处理请求包括驱动IP和端口标识。服务器获取终端发送的第二数据处理请求,以用于服务器中的容器根据驱动IP和端口标识触发微服务模块响应第二数据处理请求,处理与第二数据处理请求对应的数据。In an embodiment provided by the present invention, after the server determines the driver IP and port identifier of the microservice module of the first server, the data processing method further includes: sending the driver IP and port identifier to the terminal for the terminal to The IP and the port identifier generate a second data processing request, and the second data processing request includes the driving IP and the port identifier. The server acquires the second data processing request sent by the terminal, so that the container in the server triggers the microservice module to respond to the second data processing request according to the driver IP and port identifier, and processes the data corresponding to the second data processing request.
第一服务器包括多个微服务模块,每个微服务模块被配置了一定的功能,能够响应数据处理请求,得到结果。The first server includes a plurality of microservice modules, and each microservice module is configured with a certain function, capable of responding to data processing requests and obtaining results.
服务器向终端发送驱动IP和端口标识,终端可以生成请求标识与响应第一数据处理请求的微服务模块的驱动IP和端口标识的对应关系,终端再次接收到第一数据处理请求时,可以根据该对应关系匹配第一数据处理请求中的请求标识对应的驱动IP和端口标识,并根据驱动IP和端口标识生成第二数据处理请求,将第二数据处理请求发送给服务器,服务器中的容器根据驱动IP和端口标识触发微服务模块响应第二数据处理请求,处理与第二数据处理请求对应的数据。The server sends the driver IP and port identifier to the terminal, and the terminal can generate a corresponding relationship between the request identifier and the driver IP and port identifier of the microservice module that responds to the first data processing request. When the terminal receives the first data processing request again, it can The corresponding relationship matches the driver IP and port identifier corresponding to the request identifier in the first data processing request, and generates a second data processing request according to the driver IP and port identifier, and sends the second data processing request to the server. The IP and the port identifier trigger the microservice module to respond to the second data processing request, and process the data corresponding to the second data processing request.
在一个示例中,容器为Jetty容器,Jetty容器是一个开源的服务连接器容器。终端为反向代理服务器,代理服务器来接收网络上的数据处理请求,然后将数据处理请求转发给内部网络上的服务器,并将从服务器上得到的结果返回给网络上发送数据处理请求连接的客户端,此时代理服务器对外就表现为一个反向代理服务器。In one example, the container is a Jetty container, which is an open source service connector container. The terminal is a reverse proxy server, the proxy server receives the data processing request on the network, then forwards the data processing request to the server on the internal network, and returns the result obtained from the server to the client who sends the data processing request connection on the network At this time, the proxy server acts as a reverse proxy server externally.
服务器通过Jetty容器向反向代理服务器发送驱动IP和端口标识,反向代理服务器可以生成请求标识与微服务模块的驱动IP和端口标识的对应关系,反向代理服务器再次接收到第一数据处理请求,可以根据该对应关系匹配第一数据处理请求中的请求标识对应的驱动IP和端口标识,并根据驱动IP和端口标识生成第二数据处理请求,将第二数据处理请求发送给服务器,服务器中的容器获取第二数据处理请求,并通过容器根据驱动IP和端口标识触发微服务模块响应第二数据处理请求,处理与第二数据处理请求对应的数据。The server sends the driver IP and port identifier to the reverse proxy server through the Jetty container, and the reverse proxy server can generate the corresponding relationship between the request identifier and the driver IP and port identifier of the microservice module, and the reverse proxy server receives the first data processing request again According to the corresponding relationship, the driver IP and port identifier corresponding to the request identifier in the first data processing request can be matched, and the second data processing request is generated according to the driver IP and port identifier, and the second data processing request is sent to the server. The container obtains the second data processing request, and triggers the microservice module to respond to the second data processing request through the container according to the driver IP and port identifier, and processes the data corresponding to the second data processing request.
本发明实施例提供的方法能够将响应第一数据处理请求的微服务模块的驱动IP和端口标识发送给终端,在终端再次获取到第一数据处理请求时,能够根据用于响应第一数据处理请求的微服务模块的驱动IP和端口标识生成第二数据处理请求,由于第二数据处理请求包括驱动IP和端口标识,服务器获取到第二数据处理请求后,可以根据驱动IP和端口标识直接触发微服务模块响应第二数据处理请求,从而提升数据处理效率。The method provided by the embodiment of the present invention can send the driver IP and port identifier of the microservice module responding to the first data processing request to the terminal, and when the terminal obtains the first data processing request again, it can process the first data according to the The driver IP and port ID of the requested microservice module generate a second data processing request. Since the second data processing request includes the driver IP and port ID, after the server obtains the second data processing request, it can directly trigger the request according to the driver IP and port ID. The microservice module responds to the second data processing request, thereby improving data processing efficiency.
在本发明提供的一个实施例中,在服务器确定第一服务器的微服务模块的驱动IP和端口标识后,驱动IP和端口标识由第一服务器发送给第二服务器,第二服务器用于储存驱动IP和端口标识;终端从第二服务器获取驱动IP和端口标识,并根据驱动IP和端口标识生成第二数据处理请求。In an embodiment provided by the present invention, after the server determines the driver IP and port identifier of the microservice module of the first server, the driver IP and port identifier are sent by the first server to the second server, and the second server is used to store the driver IP and port identification; the terminal obtains the driver IP and port identification from the second server, and generates a second data processing request according to the driver IP and port identification.
第二数据处理请求包括驱动IP和端口标识。The second data processing request includes a driver IP and a port identifier.
数据处理的方法还包括:服务器获取终端发送的第二数据处理请求,以用于服务器中的容器根据驱动IP和端口标识触发微服务模块响应第二数据处理请求,处理与第二数据处理请求对应的数据。The data processing method further includes: the server acquires the second data processing request sent by the terminal, so that the container in the server triggers the microservice module to respond to the second data processing request according to the drive IP and port identifier, and the processing corresponds to the second data processing request The data.
第一服务器包括多个微服务模块,每个微服务模块被配置为具备一定的功能,能够响应数据处理请求,得到结果。The first server includes a plurality of microservice modules, and each microservice module is configured to have a certain function, and can respond to a data processing request and obtain a result.
第二服务器用于储存驱动IP和端口标识,还可以生成请求标识与微服务模块的驱动IP和端口标识的对应关系。The second server is used to store the driver IP and the port identifier, and can also generate a corresponding relationship between the request identifier and the driver IP and port identifier of the microservice module.
在服务器确定第一服务器的微服务模块的驱动IP和端口标识后,第一服务器将驱动IP和端口标识第二服务器,第二服务器储存驱动IP和端口标识,生成并储存请求标识与微服务模块的驱动IP和端口标识的对应关系,在终端再次接收到用户的第一数据处理请求时,由于第一数据处理请求包括请求标识,终端能够从第二服务器中获取与请求标识对应的驱动IP和端口标识,并根据驱动IP和端口标识生成第二数据处理请求,将第二数据处理请求发送给服务器,服务器中的容器获取第二数据处理请求,并通过容器根据驱动IP和端口标识触发微服务模块响应第二数据处理请求,处理与第二数据处理请求对应的数据。After the server determines the driver IP and port identifier of the microservice module of the first server, the first server will drive the IP and port identifier of the second server, the second server stores the driver IP and port identifier, generates and stores the request identifier and the microservice module The corresponding relationship between the driver IP and the port identifier, when the terminal receives the user's first data processing request again, since the first data processing request includes the request identifier, the terminal can obtain the driver IP and port identifier corresponding to the request identifier from the second server. Port identification, and generate a second data processing request according to the driver IP and port identification, send the second data processing request to the server, the container in the server obtains the second data processing request, and trigger the microservice through the container according to the driving IP and port identification The module processes data corresponding to the second data processing request in response to the second data processing request.
在一些实施例中,可以部署多个服务器,这样终端接收到用户的多个第一数据处理器请求时,能够从第二服务器获取每个第一数据处理请求对应的微服务模块的驱动IP和端口标识,生成多个第二数据处理请求,并将多个第二数据处理请求发送而给多个服务器,多个服务器同时为用户提供服务,每个服务器根据第二数据处理请求触发微服务模块响应第二数据处理请求,这样减少了服务器繁忙而不能提供服务的时间,进一步数据处理提高效率。In some embodiments, multiple servers can be deployed, so that when the terminal receives multiple first data processor requests from users, it can obtain from the second server the driver IP address and Port identification, generate multiple second data processing requests, and send multiple second data processing requests to multiple servers, multiple servers provide services for users at the same time, each server triggers the microservice module according to the second data processing request Responding to the second data processing request reduces the time during which the server is busy and cannot provide services, further improving the efficiency of data processing.
在一个示例中,部署多个服务器,每个服务器包括WebAPP和Jetty容器,Jetty容器中包括SparkContext;终端为反向代理服务器,代理服务器来接收网络上的数据处理请求,然后将数据处理请求转发给内部网络上的服务器,并将从服务器上得到的结果返回给网络上发送数据处理请求连接的客户端,此时代理服务器对外就表现为一个反向代理服务器,第一数据处理请求为大数据任务处理请求。In one example, multiple servers are deployed, each server includes a WebAPP and a Jetty container, and the Jetty container includes a SparkContext; the terminal is a reverse proxy server, and the proxy server receives data processing requests on the network, and then forwards the data processing requests to The server on the internal network returns the results obtained from the server to the client that sends the data processing request connection on the network. At this time, the proxy server acts as a reverse proxy server externally, and the first data processing request is a big data task. Process the request.
反向代理服务器接收到用户的多个大数据任务处理请求时,能够从第二服务器获取每个大数据任务处理请求对应的微服务模块的驱动IP和端口标识,生成多个第二数据处理请求,并将多个第二数据处理请求发送多个服务器内的Jetty容器,Jetty容器将第二数据处理请求发送给WebAPP,这样多个WebAPP同时为用户提供服务,每个WebAPP将第二数据处理请求中的驱动IP和端口标识发送给SparkContext,每个SparkContext根据第二数据处理请求触发微服务模块响应第二数据处理请求。When the reverse proxy server receives multiple big data task processing requests from the user, it can obtain the driver IP and port identifier of the microservice module corresponding to each big data task processing request from the second server, and generate multiple second data processing requests , and send multiple second data processing requests to Jetty containers in multiple servers, and the Jetty container sends the second data processing requests to WebAPP, so that multiple WebAPPs provide services for users at the same time, and each WebAPP sends the second data processing request The driver IP and port identifier in are sent to SparkContext, and each SparkContext triggers the microservice module to respond to the second data processing request according to the second data processing request.
本发明实施例提供的方法中,服务器能够使终端从第二服务器获取用于响应第一数据处理请求的微服务模块的驱动IP和端口标识,并根据驱动IP和端口标识生成包括驱动IP和端口标识的第二数据处理请求,将第二数据处理请求发送给服务器,从而服务器能够触发驱动IP和端口标识对应的微服务模块响应第二数据处理请求,通过部署多个服务器便可以使多个服务器同时为用户提供服务,减少了因服务器繁忙而不能提供服务的时间,进一步数据处理提高效率。In the method provided by the embodiment of the present invention, the server can enable the terminal to obtain the driver IP and port identifier of the microservice module used to respond to the first data processing request from the second server, and generate a driver IP and port identifier based on the driver IP and port identifier. Identify the second data processing request, send the second data processing request to the server, so that the server can trigger the microservice module corresponding to the drive IP and port ID to respond to the second data processing request, and multiple servers can be deployed by deploying multiple servers At the same time, it provides services for users, reduces the time when the server cannot provide services due to busy servers, and further improves the efficiency of data processing.
在本发明提供的一个实施例中,服务器可以通过储存在服务器内开源的调度框架被动地获取终端第一数据处理请求,每经过一定的间隔时间后触发第一服务器中微服务模块响应第一数据处理请求,处理与第一数据处理请求对应的数据。In an embodiment provided by the present invention, the server can passively obtain the first data processing request of the terminal through an open-source scheduling framework stored in the server, and trigger the microservice module in the first server to respond to the first data after a certain interval. Processing the request, processing data corresponding to the first data processing request.
在一个示例中,开源的调度框架可以是Quartz框架,终端可以是反向代理服务器,第一服务器可以包括多个微服务模块。In an example, the open source scheduling framework may be a Quartz framework, the terminal may be a reverse proxy server, and the first server may include multiple microservice modules.
Quartz框架获取反向代理服务器发送的第一数据处理请求,并根据第一数据处理请求调用第一服务器中的微服务模块,触发微服务模块响应第一数据处理请求,处理与第一数据处理请求对应的数据。The Quartz framework obtains the first data processing request sent by the reverse proxy server, and calls the microservice module in the first server according to the first data processing request, triggers the microservice module to respond to the first data processing request, and processes the first data processing request corresponding data.
本发明实施例提供的方法中,服务器获取终端的第一数据处理请求,每经过一定的间隔时间后触发第一服务器中微服务模块响应第一数据处理请求,这样便于开发人员根据用户通过终端发送第一数据处理请求的频率,控制服务器触发微服务模块响应第一数据处理请求的间隔时间,满足用户需求。In the method provided by the embodiment of the present invention, the server obtains the first data processing request of the terminal, and triggers the microservice module in the first server to respond to the first data processing request every time after a certain interval, which is convenient for developers to send according to the user's request through the terminal. The frequency of the first data processing request controls the interval time at which the server triggers the microservice module to respond to the first data processing request to meet user needs.
本发明实施例还提供一种数据处理装置,如图2所示。An embodiment of the present invention also provides a data processing device, as shown in FIG. 2 .
数据处理装置200可以包括获取模块210和确定模块220。The data processing apparatus 200 may include an
获取模块210,用于获取终端发送的第一数据处理请求,第一数据处理请求包括请求标识。The obtaining
确定模块220,用于根据预先建立的请求标识与请求路径之间的映射关系信息,确定第一数据处理请求对应的请求路径;还用于根据请求路径,确定第一服务器内微服务模块的驱动IP和端口标识,以用于装置中的容器根据驱动IP和端口标识触发微服务模块响应第一数据处理请求,处理与第一数据处理请求对应的数据。The determining
本发明实施例提供的装置获取的第一数据处理请求中包括请求标识,这样能够根据预先建立的请求标识与请求路径之间的映射关系,为请求标识匹配请求路径,然后根据请求路径确定第一服务器内微服务模块的驱动IP和端口标识,这样本装置内的容器能够根据驱动IP和端口标识触发微服务模块响应第一数据处理请求,处理与第一数据处理请求对应的数据,能够减少数据处理的过程,提高数据处理的效率,从而提升用户体验。The first data processing request obtained by the device provided by the embodiment of the present invention includes the request identifier, so that the request identifier can be matched with the request path according to the pre-established mapping relationship between the request identifier and the request path, and then the first data processing request can be determined according to the request path. The driver IP and port identifier of the microservice module in the server, so that the container in the device can trigger the microservice module to respond to the first data processing request according to the driver IP and port identifier, and process the data corresponding to the first data processing request, which can reduce data The processing process improves the efficiency of data processing, thereby improving user experience.
在本发明提供的一个实施例中,数据处理装置200还可以包括建立模块230。In an embodiment provided by the present invention, the data processing apparatus 200 may further include an
建立模块230,用于建立请求路径,以及建立请求标识与请求路径之间的映射关系信息。The establishing
本发明实施例提供的装置建立请求路径,以及建立请求标识与请求路径之间的映射关系信息,这样能够为确定第一数据处理请求对应的请求路径提供依据。The device provided by the embodiment of the present invention establishes a request path and establishes mapping relationship information between a request identifier and a request path, which can provide a basis for determining the request path corresponding to the first data processing request.
在本发明提供的一个实施例中,建立模块230,还可以建立容器,以及建立微服务模块与容器的依赖关系。In an embodiment provided by the present invention, the
本发明实施例提供的装置建立了容器,以及建立了微服务模块与容器的依赖关系,这样微服务模块与容器能够根据依赖关系进行通信。The device provided by the embodiment of the present invention establishes a container, and establishes a dependency relationship between a microservice module and the container, so that the microservice module and the container can communicate according to the dependency relationship.
在本发明提供的一个实施例中,数据处理装置200还可以包括发送模块240。In an embodiment provided by the present invention, the data processing apparatus 200 may further include a sending
发送模块240,用于向终端发送驱动IP和端口标识,以用于终端根据驱动IP和端口标识生成第二数据处理请求。The sending
第二数据处理请求包括驱动IP和端口标识。The second data processing request includes a driver IP and a port identifier.
获取模块210,还可以用于获取终端发送的第二数据处理请求,以用于装置中的容器根据驱动IP和端口标识触发微服务模块响应第二数据处理请求,处理与第二数据处理请求对应的数据。The obtaining
本发明实施例提供的装置能够将响应第一数据处理请求的微服务模块的驱动IP和端口标识发送给终端,在终端再次获取到第一数据处理请求时能够根据用于响应第一数据处理请求的微服务模块的驱动IP和端口标识生成第二数据处理请求,由于第二数据处理请求包括驱动IP和端口标识,数据处理的装置获取到第二数据处理请求后可以直接触发微服务模块响应,从而提升数据处理效率。The device provided by the embodiment of the present invention can send the driver IP and port identifier of the microservice module that responds to the first data processing request to the terminal, and when the terminal obtains the first data processing request again, it can The driver IP and port identifier of the microservice module generate a second data processing request. Since the second data processing request includes the driver IP and port identifier, the data processing device can directly trigger the microservice module to respond after obtaining the second data processing request. Thereby improving data processing efficiency.
在本发明提供的一个实施例中,第二数据处理请求包括驱动IP和端口标识。In an embodiment provided by the present invention, the second data processing request includes a driver IP and a port identifier.
其中,驱动IP和端口标识由第一服务器发送给第二服务器,第二服务器用于储存驱动IP和端口标识;终端从第二服务器获取驱动IP和端口标识,并根据驱动IP和端口标识生成第二数据处理请求。Wherein, the driving IP and the port identification are sent to the second server by the first server, and the second server is used to store the driving IP and the port identification; the terminal obtains the driving IP and the port identification from the second server, and generates the second server according to the driving IP and the port identification. 2. Data processing requests.
获取模块210,还可以用于获取终端发送的第二数据处理请求,以用于服务器中的容器根据驱动IP和端口标识触发微服务模块响应第二数据处理请求,处理与第二数据处理请求对应的数据。The obtaining
本发明实施例提供的装置能够使终端从第二服务器获取用于响应第一数据处理请求的微服务模块的驱动IP和端口标识,并根据驱动IP和端口标识生成包括驱动IP和端口标识的第二数据处理请求,将第二数据处理请求发送给数据处理的装置,从而数据处理的装置能够触发驱动IP和端口标识对应的微服务模块响应第二数据处理请求,部署多个数据处理的装置便可以使多个服务器同时为用户提供服务,减少了因数据处理的装置繁忙而不能提供服务的时间,进一步数据处理提高效率。The device provided by the embodiment of the present invention enables the terminal to obtain the driver IP and port identifier of the microservice module used to respond to the first data processing request from the second server, and generate the second driver IP and port identifier according to the driver IP and port identifier. Two data processing requests, send the second data processing request to the data processing device, so that the data processing device can trigger the microservice module corresponding to the driver IP and port identifier to respond to the second data processing request, deploying multiple data processing devices is convenient Multiple servers can provide services for users at the same time, which reduces the time when the data processing device is busy and cannot provide services, and further improves the efficiency of data processing.
在本发明提供的一个实施例中,获取模块210,还可以用于获取服务器与容器之间,以及容器与第一服务器之间的通信信息,并根据通信信息生成文档。In an embodiment provided by the present invention, the acquiring
本发明实施例提供的装置能够获取服务器与容器之间,以及容器与第一服务器之间的通信信息汇总,并生成文档,便于根据该文档追踪任务状态和网络服务的维护。The device provided by the embodiment of the present invention can obtain a summary of communication information between the server and the container, and between the container and the first server, and generate a document, so as to track task status and network service maintenance according to the document.
本发明实施例提供的数据处理装置执行图1所示的方法中的各个步骤,并能够达到减少数据处理的过程,提高数据处理的效率,从而提升用户体验的技术效果,为简洁描述,再此不在详细赘述。The data processing device provided by the embodiment of the present invention executes each step in the method shown in FIG. 1, and can reduce the process of data processing, improve the efficiency of data processing, and thereby improve the technical effect of user experience. For a brief description, here I won't go into details.
图3示出了本发明实施例提供的一种电子设备的硬件结构示意图。Fig. 3 shows a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present invention.
在电子设备可以包括处理器301以及存储有计算机程序指令的存储器302。The electronic device may include a
具体地,上述处理器301可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本发明实施例的一个或多个集成电路。Specifically, the
存储器302可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器302可包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个或更多个以上这些的组合。在合适的情况下,存储器302可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器302可在综合网关容灾设备的内部或外部。在特定实施例中,存储器302是非易失性固态存储器。在特定实施例中,存储器302包括只读存储器(ROM)。在合适的情况下,该ROM可以是掩模编程的ROM、可编程ROM(PROM)、可擦除PROM(EPROM)、电可擦除PROM(EEPROM)、电可改写ROM(EAROM)或闪存或者两个或更多个以上这些的组合。
处理器301通过读取并执行存储器302中存储的计算机程序指令,以实现图1所示实施例中的任意一种数据处理方法。The
在一个示例中,电子设备还可包括通信接口303和总线310。其中,如图3所示,处理器301、存储器302、通信接口303通过总线310连接并完成相互间的通信。In one example, the electronic device may further include a
通信接口303,主要用于实现本发明实施例中各模块、装置、单元和/或设备之间的通信。The
总线310包括硬件、软件或两者,将电子设备的部件彼此耦接在一起。举例来说而非限制,总线可包括加速图形端口(AGP)或其他图形总线、增强工业标准架构(EISA)总线、前端总线(FSB)、超传输(HT)互连、工业标准架构(ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、外围组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线310可包括一个或多个总线。尽管本发明实施例描述和示出了特定的总线,但本发明考虑任何合适的总线或互连。
该电子设备可以执行本发明实施例中的数据处理方法,从而实现结合图1描述的数据处理方法。The electronic device can execute the data processing method in the embodiment of the present invention, so as to implement the data processing method described in conjunction with FIG. 1 .
另外,结合上述实施例中的数据处理方法,本发明实施例可提供一种计算机存储介质来实现。该计算机存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种数据处理方法。In addition, in combination with the data processing methods in the foregoing embodiments, embodiments of the present invention may provide a computer storage medium for implementation. Computer program instructions are stored on the computer storage medium; when the computer program instructions are executed by a processor, any one of the data processing methods in the foregoing embodiments is implemented.
需要明确的是,本发明并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本发明的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本发明的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It is to be understood that the invention is not limited to the specific arrangements and processes described above and shown in the drawings. For conciseness, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the sequence of steps after understanding the spirit of the present invention.
以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本发明的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional blocks shown in the structural block diagrams described above may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments employed to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted over transmission media or communication links by data signals carried in carrier waves. "Machine-readable medium" may include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. Code segments may be downloaded via a computer network such as the Internet, an Intranet, or the like.
还需要说明的是,本发明中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本发明不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiment, or may be different from the order in the embodiment, or several steps may be performed simultaneously.
以上所述,仅为本发明的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。The above is only a specific implementation of the present invention, and those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described systems, modules and units can refer to the foregoing method embodiments The corresponding process in , will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present invention, and these modifications or replacements should cover all Within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210875476.4A CN115361368A (en) | 2022-07-25 | 2022-07-25 | Data processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210875476.4A CN115361368A (en) | 2022-07-25 | 2022-07-25 | Data processing method, device, equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115361368A true CN115361368A (en) | 2022-11-18 |
Family
ID=84031191
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210875476.4A Pending CN115361368A (en) | 2022-07-25 | 2022-07-25 | Data processing method, device, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115361368A (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105530312A (en) * | 2015-12-26 | 2016-04-27 | 中国人民解放军信息工程大学 | Network service route selection system and selection method |
| CN107483538A (en) * | 2017-07-06 | 2017-12-15 | 聚好看科技股份有限公司 | A kind of method and apparatus that access request bag is handled on the node of micro services cluster |
| US20180027080A1 (en) * | 2016-07-22 | 2018-01-25 | Cisco Technology, Inc. | Scaling service discovery in a micro-service environment |
| CN108052374A (en) * | 2017-12-29 | 2018-05-18 | 郑州云海信息技术有限公司 | A kind of method and device of deployment container micro services |
| US20190098106A1 (en) * | 2017-09-25 | 2019-03-28 | Splunk Inc. | Proxying hypertext transfer protocol (http) requests for microservices |
| CN109635019A (en) * | 2018-10-23 | 2019-04-16 | 平安科技(深圳)有限公司 | Request processing method, device, equipment and storage medium |
| CN114338133A (en) * | 2021-12-24 | 2022-04-12 | 中国联合网络通信集团有限公司 | Application access system, method, communication device and storage medium |
-
2022
- 2022-07-25 CN CN202210875476.4A patent/CN115361368A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105530312A (en) * | 2015-12-26 | 2016-04-27 | 中国人民解放军信息工程大学 | Network service route selection system and selection method |
| US20180027080A1 (en) * | 2016-07-22 | 2018-01-25 | Cisco Technology, Inc. | Scaling service discovery in a micro-service environment |
| CN107483538A (en) * | 2017-07-06 | 2017-12-15 | 聚好看科技股份有限公司 | A kind of method and apparatus that access request bag is handled on the node of micro services cluster |
| US20190098106A1 (en) * | 2017-09-25 | 2019-03-28 | Splunk Inc. | Proxying hypertext transfer protocol (http) requests for microservices |
| CN108052374A (en) * | 2017-12-29 | 2018-05-18 | 郑州云海信息技术有限公司 | A kind of method and device of deployment container micro services |
| CN109635019A (en) * | 2018-10-23 | 2019-04-16 | 平安科技(深圳)有限公司 | Request processing method, device, equipment and storage medium |
| CN114338133A (en) * | 2021-12-24 | 2022-04-12 | 中国联合网络通信集团有限公司 | Application access system, method, communication device and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112424746B (en) | In-situ triggered functions as a service within a service mesh | |
| CN109150978B (en) | Method and device for debugging micro service | |
| CN106856434B (en) | Method and apparatus for access request conversion | |
| CN108574604B (en) | Test method and apparatus | |
| CN112486435B (en) | Method, system and device for log printing | |
| CN108063714A (en) | A kind of processing method and processing device of network request | |
| CN110602214A (en) | Evidence storing and processing method, device, equipment and medium of judicial chain | |
| CN110191200A (en) | Network Access Method, device, electronic equipment and computer-readable medium | |
| CN112702336A (en) | Security control method and device for government affair service, security gateway and storage medium | |
| CN102984138B (en) | A kind of methods, devices and systems obtaining object | |
| CN111538527A (en) | A verification method, device, electronic device and storage medium for grayscale release | |
| CN109471713B (en) | Method and device for inquiring information | |
| CN109522202B (en) | Method and device for software testing | |
| CN105915613A (en) | Resource supply method and device based on cloud services | |
| CN115361368A (en) | Data processing method, device, equipment and storage medium | |
| CN111698097A (en) | Certificate authentication method and device | |
| CN115098840B (en) | An identity authentication method, device, equipment, medium and product | |
| CN110769065A (en) | Remote management method, system, terminal equipment and server | |
| WO2014094315A1 (en) | Method, apparatus and device for processing service in system upgrade process | |
| JP6412641B2 (en) | Communication link transmission method, apparatus and terminal | |
| US8738049B1 (en) | Converged dialog in hybrid mobile applications | |
| CN106604264A (en) | Application installation method and system, server, and mobile terminal | |
| CN113704080A (en) | Automatic testing method and device | |
| CN118945221B (en) | Service access methods, devices, equipment and computer storage media | |
| CN110224973B (en) | Multi-server parallel implementation method based on programming game, electronic equipment and medium |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221118 |
