[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111666514A - Data processing method and device for realizing cross-domain request at webpage end and related equipment - Google Patents

Data processing method and device for realizing cross-domain request at webpage end and related equipment Download PDF

Info

Publication number
CN111666514A
CN111666514A CN202010350615.2A CN202010350615A CN111666514A CN 111666514 A CN111666514 A CN 111666514A CN 202010350615 A CN202010350615 A CN 202010350615A CN 111666514 A CN111666514 A CN 111666514A
Authority
CN
China
Prior art keywords
address
request
service
server
domain
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
Application number
CN202010350615.2A
Other languages
Chinese (zh)
Inventor
李清鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010350615.2A priority Critical patent/CN111666514A/en
Publication of CN111666514A publication Critical patent/CN111666514A/en
Priority to PCT/CN2020/118003 priority patent/WO2021218018A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种网页端实现跨域请求的数据处理方法、装置、计算机设备及存储介质,应用于计算机技术领域,用于提高网页端实现跨域请求的扩展性和安全性。本发明提供的方法包括:通过预先部署的代理服务接收来自客户端通过网页发起的服务请求报文,该代理服务部署在与该网页的域名相同的服务器上,且该服务器上的该代理服务通过预先创建的专属通道接收该服务请求报文;解析该服务请求报文的头部携带的地址变量;获取该地址变量的取值,得到目标请求地址;通过该代理服务将该服务请求报文转发至该目标请求地址所指域名的服务器;接收到该目标请求地址所指的服务器返回的响应报文时,通过该代理服务将该响应报文利用该专属通道发送至该客户端。

Figure 202010350615

The invention discloses a data processing method, device, computer equipment and storage medium for realizing cross-domain request on a webpage, which are applied to the field of computer technology and are used for improving the scalability and security of realizing cross-domain request on the webpage. The method provided by the present invention includes: receiving a service request message initiated by a client through a web page through a pre-deployed proxy service, the proxy service is deployed on a server with the same domain name as the web page, and the proxy service on the server passes through The pre-created dedicated channel receives the service request message; parses the address variable carried in the header of the service request message; obtains the value of the address variable to obtain the target request address; forwards the service request message through the proxy service to the server of the domain name pointed to by the target request address; when receiving a response message returned by the server pointed to by the target request address, the proxy service sends the response message to the client using the dedicated channel.

Figure 202010350615

Description

网页端实现跨域请求的数据处理方法、装置及相关设备Data processing method, device and related equipment for realizing cross-domain request on web page

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种网页端实现跨域请求的数据处理方法、装置、计算机设备及存储介质。The present invention relates to the field of computer technology, and in particular, to a data processing method, device, computer equipment and storage medium for realizing cross-domain request on a web page.

背景技术Background technique

在实现网络数据请求的处理过程中,基于安全考虑,浏览器均设置有同源策略,即不允许非同源的接口请求,当请求方与服务方之间使用的协议、域名、端口号只要有一个不相同即认定请求方与服务方为非同源。例如URL为“http://www.baidu.com”的前端页面去请求“http://weibo.com”提供的某个后端接口,例如:http://weibo.com/getUserInfo查询微博用户信息接口,这种跨域请求是不被浏览器允许的。In the process of implementing network data requests, based on security considerations, browsers are set with a same-origin policy, that is, non-same-origin interface requests are not allowed. When the protocol, domain name, and port number used between the requester and the server are only If there is one difference, the requester and the server are considered to be non-same origin. For example, the front-end page whose URL is "http://www.baidu.com" requests a back-end interface provided by "http://weibo.com", for example: http://weibo.com/getUserInfo to query Weibo User information interface, this kind of cross-domain request is not allowed by the browser.

跨域请求是几乎每一个前端开发者所要面临的现实问题,因为在项目搭建中,多少需要和别的系统之间进行访问,可能在前后端分离的现状下,例如前端项目部署在A服务器上,域名为http://a.com,而后端项目部署在B服务器上,域名为http://b.com,A服务器上的前端页面需要去调用B服务器上的接口,就不被浏览器允许,直接调用浏览器会提示出错。Cross-domain request is a real problem that almost every front-end developer faces, because in the project construction, it is necessary to access to other systems to some extent, which may be under the status quo that the front-end and back-end are separated, for example, the front-end project is deployed on the A server. , the domain name is http://a.com, and the back-end project is deployed on the B server, the domain name is http://b.com, the front-end page on the A server needs to call the interface on the B server, and it will not be accessed by the browser. Allowed, calling the browser directly will prompt an error.

针对浏览器非同源跨域请求的限制,传统方法跨域解决方案有如下几种:In view of the limitation of non-same-origin cross-domain requests in browsers, the traditional cross-domain solutions are as follows:

(1)跨域资源共享策略CORS(Cross-origin resource sharing),即在B服务器上设置允许A服务器访问,属于主动设置友方访问,但容易被黑客伪造A服务器进行访问;(1) CORS (Cross-origin resource sharing), that is, setting on the B server to allow the A server to access, which belongs to the active setting of friendly access, but it is easy for hackers to forge the A server to access;

(2)由于在浏览器中,类似img、script标签是没有跨域限制的,可以在把后端接口改造成返回一个script的脚本格式,内容为返回一个JS的函数,并把真正返回的信息当作函数参数,当A服务器上前端页面使用<script src=”http://b.com.getUserInfo”></script>这个脚本时,当这个脚本加载完成,浏览器就会自动运行它的内容,由于它的内容是一个函数并带有实际参数,就相当于我们拿到了后端返回的真实信息,这种方式虽然可行,但需要后端多写一些无用的代码;(2) Since in the browser, tags like img and script have no cross-domain restrictions, the back-end interface can be transformed into a script format that returns a script, the content is a function that returns a JS, and the real returned information As a function parameter, when the front-end page on the A server uses the script <script src="http://b.com.getUserInfo"></script>, when the script is loaded, the browser will automatically run its content, since its content is a function with actual parameters, it is equivalent to getting the real information returned by the backend. Although this method is feasible, it requires the backend to write more useless code;

(3)通过“node”+“express”的方式搭建用于转发页面请求的服务器,在搭建的服务器上通过“*”设置所有域名的页面发来的跨域请求均允许转发,从而实现网页到服务器的跨域访问请求。但是这种方式创建的页面与代理服务器之间的通信通道是公用的,一方面不能保证请求数据的安全性,另一方面该代理服务器只能用作转发,不利于项目实现的功能扩展。(3) Build a server for forwarding page requests by means of "node" + "express". On the built server, cross-domain requests sent from pages with all domain names set with "*" are allowed to be forwarded, so that the web page can be forwarded to Server cross-domain access request. However, the communication channel between the page created in this way and the proxy server is public. On the one hand, the security of the requested data cannot be guaranteed. On the other hand, the proxy server can only be used for forwarding, which is not conducive to the function expansion of the project implementation.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种网页端实现跨域请求的数据处理方法、装置、计算机设备及存储介质,以解决现有技术无法在确保数据安全性的前提下实现跨域请求的技术问题。Embodiments of the present invention provide a data processing method, device, computer equipment and storage medium for realizing cross-domain request on a web page, so as to solve the technical problem that the existing technology cannot realize cross-domain request under the premise of ensuring data security.

一种网页端实现跨域请求的数据处理方法,该方法包括:A data processing method for realizing a cross-domain request on a web page, the method comprising:

通过预先部署的代理服务接收来自客户端通过网页发起的服务请求报文,该代理服务部署在与该网页的域名相同的服务器上,且该服务器上的该代理服务通过预先创建的专属通道接收该服务请求报文;Receive a service request message initiated by a client through a web page through a pre-deployed proxy service, the proxy service is deployed on the server with the same domain name as the web page, and the proxy service on the server receives the service request message through a pre-created dedicated channel service request message;

解析该服务请求报文的头部携带的地址变量;Parse the address variable carried in the header of the service request message;

获取该地址变量的取值,得到目标请求地址;Get the value of the address variable to get the target request address;

通过该代理服务将该服务请求报文转发至该目标请求地址所指域名的服务器;Forward the service request message to the server of the domain name indicated by the target request address through the proxy service;

接收到该目标请求地址所指的服务器返回的响应报文时,通过该代理服务将该响应报文利用该专属通道发送至该客户端。When receiving a response message returned by the server pointed to by the target request address, the proxy service sends the response message to the client using the dedicated channel.

一种网页端实现跨域请求的数据处理装置,该装置包括:A data processing device for realizing cross-domain request on a web page, the device comprising:

接收模块,用于通过预先部署的代理服务接收来自客户端通过网页发起的服务请求报文,该代理服务部署在与该网页的域名相同的服务器上,且该服务器上的该代理服务通过预先创建的专属通道接收该服务请求报文;The receiving module is used to receive the service request message initiated by the client through the webpage through the pre-deployed proxy service, the proxy service is deployed on the server with the same domain name as the webpage, and the proxy service on the server is pre-created The dedicated channel to receive the service request message;

解析模块,用于解析该服务请求报文的头部携带的地址变量;The parsing module is used to parse the address variable carried in the header of the service request message;

地址获取模块,用于获取该地址变量的取值,得到目标请求地址;The address obtaining module is used to obtain the value of the address variable and obtain the target request address;

转发模块,用于通过该代理服务将该服务请求报文转发至该目标请求地址所指域名的服务器;A forwarding module, used for forwarding the service request message to the server of the domain name indicated by the target request address through the proxy service;

发送模块,用于接收到该目标请求地址所指的服务器返回的响应报文时,通过该代理服务将该响应报文利用该专属通道发送至该客户端。The sending module is configured to send the response message to the client through the proxy service using the dedicated channel when receiving the response message returned by the server pointed to by the target request address.

一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述网页端实现跨域请求的数据处理方法的步骤。A computer device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, when the processor executes the computer program, the above-mentioned web page implements data for cross-domain requests The steps of the processing method.

一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述网页端实现跨域请求的数据处理方法的步骤。A computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the above-mentioned data processing method for realizing a cross-domain request by a web page.

本申请提出的网页端实现跨域请求的数据处理方法、装置、计算机设备及存储介质,通过预先部署的代理服务接收来自客户端通过网页发起的服务请求报文,该代理服务部署在与该网页的域名相同的服务器上,由于该服务器上的该代理服务通过预先创建的专属通道接收该服务请求报文,使得传输的数据具有更高的安全性,然后解析该服务请求报文的头部携带的地址变量,获取该地址变量的取值,得到目标请求地址,并通过该代理服务将该服务请求报文转发至该目标请求地址所指域名的服务器以实现跨域转发,当接收到该目标请求地址所指的服务器返回的响应报文时,通过该代理服务将该响应报文利用该专属通道发送至该客户端,实现网页客户端与目标请求地址所指域名的服务器的之间通讯交互,通讯安全性高。The data processing method, device, computer equipment and storage medium for realizing cross-domain requests on the webpage proposed in this application, receive service request messages from the client through the webpage through a pre-deployed proxy service, and the proxy service is deployed on the webpage. On the server with the same domain name, because the proxy service on the server receives the service request message through the pre-created dedicated channel, the transmitted data has higher security, and then parses the header of the service request message carrying the address variable, obtain the value of the address variable, obtain the target request address, and forward the service request message to the server of the domain name indicated by the target request address through the proxy service to realize cross-domain forwarding. When requesting a response message returned by the server pointed to by the address, the proxy service sends the response message to the client through the dedicated channel, so as to realize the communication interaction between the web client and the server of the domain name pointed to by the target request address. , high communication security.

附图说明Description of drawings

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

图1是本发明一实施例中网页端实现跨域请求的数据处理方法的一应用环境示意图;1 is a schematic diagram of an application environment of a data processing method for implementing a cross-domain request on a web page according to an embodiment of the present invention;

图2是本发明一实施例中网页端实现跨域请求的数据处理方法的一流程图;2 is a flowchart of a data processing method for implementing a cross-domain request on a web page according to an embodiment of the present invention;

图3是本发明另一实施例中网页端实现跨域请求的数据处理方法的一流程图;3 is a flowchart of a data processing method for implementing a cross-domain request on a web page in another embodiment of the present invention;

图4是本发明一实施例中网页端实现跨域请求的数据处理方法中步骤105的流程图;FIG. 4 is a flowchart of step 105 in the data processing method for realizing cross-domain request on the web page according to an embodiment of the present invention;

图5是本发明一实施例中网页端实现跨域请求的数据处理装置的结构示意图;5 is a schematic structural diagram of a data processing apparatus for implementing a cross-domain request on a web page according to an embodiment of the present invention;

图6是本发明一实施例中计算机设备的一示意图。FIG. 6 is a schematic diagram of a computer device in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本申请提供的网页端实现跨域请求的数据处理方法,可应用在如图1的应用环境中,其中,服务器A通过网络与客户端设备和服务器B进行通信。其中,客户端设备包括但不限于各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备等。服务器A和服务器B可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The data processing method for realizing cross-domain request on the webpage provided by the present application can be applied in the application environment as shown in FIG. 1 , wherein the server A communicates with the client device and the server B through the network. The client devices include but are not limited to various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. Server A and Server B can be implemented as independent servers or server clusters composed of multiple servers.

在一实施例中,如图2所示,提供一种网页端实现跨域请求的数据处理方法,以该方法应用在图1中的服务器A为例进行说明,包括如下步骤:In one embodiment, as shown in FIG. 2 , a data processing method for realizing cross-domain requests on a web page is provided, and the method is applied to the server A in FIG. 1 as an example to illustrate, including the following steps:

S101、通过预先部署的代理服务接收来自客户端通过网页发起的服务请求报文,该代理服务部署在与该网页的域名相同的服务器上,且该服务器上的该代理服务通过预先创建的专属通道接收该服务请求报文。S101. Receive a service request message initiated by a client through a webpage through a pre-deployed proxy service, the proxy service is deployed on a server with the same domain name as the webpage, and the proxy service on the server passes through a pre-created dedicated channel Receive the service request message.

在其中一个实施例中,在该服务器上部署该代理服务的步骤包括:In one of the embodiments, the step of deploying the proxy service on the server includes:

配置该服务请求报文包含的包管理工具的名称和中间件的地址,其中,该包管理工具如npm管理工具,该中间件可以理解为用于转发该服务请求报文的服务器,该中间件起到中间转发的作用;Configure the name of the package management tool and the address of the middleware contained in the service request message. The package management tool is such as the npm management tool, and the middleware can be understood as a server for forwarding the service request message. The middleware play the role of intermediate forwarding;

通过所述包管理工具的名称对应的包管理工具对所述服务请求报文的数据部分进行解析,得到所述中间件的地址和目标请求地址;The data part of the service request message is parsed by the package management tool corresponding to the name of the package management tool to obtain the address of the middleware and the target request address;

当所述中间件的地址与本端的地址相同时,将解析该服务请求报文后的处理方式配置为向解析的该目标请求地址所指域名的服务器转发该服务请求报文。When the address of the middleware is the same as the address of the local end, the processing method after parsing the service request message is configured to forward the service request message to the server of the domain name indicated by the resolved target request address.

根据本实施例的一个使用场景例如:新建一个app.js文件,然后在app.js文件中输入该代理服务的编程代码,具体包括引入包管理工具express npm包、引入报文内容解析npm包,服务器端网络请求npm包、使用报文内容中的URL解析中间件,在服务器上,通过nodeapp.js命令来启动该代理服务。监听所有域名为A的网页客户端发送的请求时获取本次请求的报文内容,获取本次请求的实际目标地址用作请求转发,然后在服务器上转发本次请求,向客户端返回转发成功或失败的状态。According to a usage scenario of this embodiment, for example: create a new app.js file, and then enter the programming code of the proxy service in the app.js file, which specifically includes introducing the package management tool express npm package, and introducing the message content parsing npm package, The server-side network requests the npm package, uses the URL in the message content to parse the middleware, and on the server, starts the proxy service through the nodeapp.js command. When monitoring the requests sent by all web clients whose domain name is A, obtain the message content of this request, obtain the actual target address of this request for request forwarding, then forward this request on the server, and return the forwarding success to the client or failed status.

在其中一个实施例中,在该服务器上部署该代理服务的步骤还包括:In one of the embodiments, the step of deploying the proxy service on the server further includes:

配置监听所述服务请求报文的端口号,例如,可配置监听所述服务请求报文的端口号为“3000”。Configure the port number for monitoring the service request message. For example, the port number for monitoring the service request message can be configured as "3000".

S102、解析该服务请求报文的头部携带的地址变量。S102. Parse the address variable carried in the header of the service request message.

在其中一个实施例中,该服务请求报文的头部包括的地址变量可以用destUrl表示。In one embodiment, the address variable included in the header of the service request message may be represented by destUrl.

S103、获取该地址变量的取值,得到目标请求地址。S103: Obtain the value of the address variable to obtain the target request address.

本实施例通过将目标请求地址封装在服务请求报文的头部,而并非在服务请求报文的身体body部分,可以避免开发者提交的请求参数中与该地址变量选用相同的参数,从而避免开发者提交的请求参数的取值覆盖地址变量所包括的目标请求地址。一方面可以避免服务器因为获取不到地址变量实际包括的目标请求地址而导致的响应超时,另一方面可以提高服务器实现跨域请求的处理能力。In this embodiment, by encapsulating the target request address in the header of the service request message, rather than in the body part of the service request message, the request parameters submitted by the developer can be prevented from using the same parameter as the address variable, thereby avoiding The value of the request parameter submitted by the developer overrides the target request address included in the address variable. On the one hand, the response timeout caused by the server not being able to obtain the target request address actually included in the address variable can be avoided, and on the other hand, the processing capability of the server to realize cross-domain requests can be improved.

S104、通过该代理服务将该服务请求报文转发至该目标请求地址所指域名的服务器。S104, forward the service request message to the server of the domain name indicated by the target request address through the proxy service.

该目标请求地址所指域名的服务器如图1中的服务器B。The server of the domain name pointed to by the target request address is server B in FIG. 1 .

在其中一个实施例中,在该服务器上部署该代理服务的步骤还包括:In one of the embodiments, the step of deploying the proxy service on the server further includes:

配置转发所述服务请求报文失败时,向所述客户端反馈的状态码。Configure the status code to be fed back to the client when forwarding the service request packet fails.

其中,配置的所述状态码例如“500”。The configured status code is, for example, "500".

根据本实施例的一个使用场景例如:来自客户端的http://www.baidu.com的前端页面去请求http://weibo.com提供的查询微博用户信息的接口http://weibo.com/getUserInfo,由于浏览器基于安全考虑策略禁止客户端页面直接访问微博的用户信息接口,为解决这一问题可以在与前端页面的域名相同服务器,即百度服务器上预先部署一代理服务,并在代理服务与客户端页面之间搭建一个专属通道,用于接收来自该域名的前端页面的请求访问微博服务器的服务请求报文,从该服务请求报文的头部解析出目标请求地址,并将该服务请求报文转发至所述微博的服务器,至此实现跨域请求消息的转发处理。According to a usage scenario of this embodiment, for example, the front-end page of http://www.baidu.com from the client requests the interface http://weibo.com provided by http://weibo.com for querying microblog user information /getUserInfo, because the browser prohibits the client page from directly accessing the user information interface of Weibo based on the security consideration policy, to solve this problem, a proxy service can be pre-deployed on the same server as the domain name of the front-end page, that is, the Baidu server, and in the An exclusive channel is built between the proxy service and the client page, which is used to receive the service request message from the front-end page of the domain name to access the microblog server, parse the target request address from the header of the service request message, and The service request message is forwarded to the server of the microblog, so far, the forwarding processing of the cross-domain request message is realized.

S105、接收到该目标请求地址所指的服务器返回的响应报文时,通过该代理服务将该响应报文利用该专属通道发送至该客户端。S105. When receiving a response message returned by the server pointed to by the target request address, send the response message to the client through the proxy service using the dedicated channel.

在其中一个实施例中,该网页端实现跨域请求的数据处理方法还包括:In one embodiment, the data processing method for realizing cross-domain request by the webpage further includes:

当将该服务请求报文转发至该目标请求地址所指域名的服务器转发失败时,向该客户端反馈的第一状态码,该第一状态码例如“500”;When forwarding the service request message to the server of the domain name indicated by the target request address fails, the first status code fed back to the client, for example, "500";

当将该响应报文利用该专属通道发送至该客户端发送失败时,向该服务器反馈第二状态码,该第二状态码例如“600”。When sending the response message to the client using the dedicated channel fails, a second status code, such as "600", is fed back to the server.

本实施例提出的网页端实现跨域请求的数据处理方法通过预先部署的代理服务接收来自客户端通过网页发起的服务请求报文,该代理服务部署在与该网页的域名相同的服务器上,由于该服务器上的该代理服务通过预先创建的专属通道接收该服务请求报文,使得传输的数据具有更高的安全性,然后解析该服务请求报文的头部携带的地址变量,获取该地址变量的取值,得到目标请求地址,并通过该代理服务将该服务请求报文转发至该目标请求地址所指域名的服务器以实现跨域转发,当接收到该目标请求地址所指的服务器返回的响应报文时,通过该代理服务将该响应报文利用该专属通道发送至该客户端,实现网页客户端与目标请求地址所指域名的服务器的之间通讯交互,可拓展性高,通讯安全性高。The data processing method for realizing a cross-domain request by a web page proposed in this embodiment receives a service request message initiated by a client through a web page through a pre-deployed proxy service. The proxy service is deployed on the server with the same domain name as the web page. The proxy service on the server receives the service request message through a pre-created dedicated channel, so that the transmitted data has higher security, and then parses the address variable carried in the header of the service request message to obtain the address variable value, get the target request address, and forward the service request message to the server of the domain name indicated by the target request address through the proxy service to realize cross-domain forwarding. When responding to a message, the proxy service sends the response message to the client using the dedicated channel, so as to realize the communication interaction between the web client and the server of the domain name indicated by the target request address, with high scalability and secure communication. Sex is high.

图3是本发明另一实施例中网页端实现跨域请求的数据处理方法的一流程图,下面结合图3详细描述根据本发明另一实施例中网页端实现跨域请求的数据处理方法,如图3所示,该网页端实现跨域请求的数据处理方法在包括上述步骤S101至S104的基础上,该步骤S105进一步包括以下步骤S301至S303。FIG. 3 is a flowchart of a data processing method for implementing a cross-domain request by a web page in another embodiment of the present invention. The following describes in detail a data processing method for implementing a cross-domain request by a web page in another embodiment of the present invention with reference to FIG. 3 , As shown in FIG. 3 , the data processing method for realizing cross-domain request on the webpage includes the above steps S101 to S104 , and the step S105 further includes the following steps S301 to S303 .

S301、接收到该目标请求地址所指的服务器返回的响应报文时,解析该响应报文中包含的业务数据。S301. When receiving the response message returned by the server pointed to by the target request address, parse the service data contained in the response message.

在其中一个实施例中,该业务数据一般存储在该响应报文的body部分,通过解析该响应报文的body部分可以得到该业务数据。In one embodiment, the service data is generally stored in the body part of the response message, and the service data can be obtained by parsing the body part of the response message.

S302、对解析的该业务数据进行加密处理,将加密过的该业务数据封装至该响应报文。S302. Perform encryption processing on the parsed service data, and encapsulate the encrypted service data into the response message.

S303、通过该代理服务将该加密后的响应报文利用该专属通道发送至该客户端。S303. Send the encrypted response message to the client through the proxy service using the dedicated channel.

在其中一个实施例中,通过在请求发起端配置请求命令的格式,并在请求接收方解析该请求命令中包含的请求URL(Uniform Resource Locator,统一资源定位符)来识别该专属通道所允许通信的对象,根据本实施例的一个实现场景例如:In one of the embodiments, the communication allowed by the dedicated channel is identified by configuring the format of the request command at the request initiator, and parsing the request URL (Uniform Resource Locator, Uniform Resource Locator) contained in the request command at the request receiver. object, according to an implementation scenario of this embodiment, for example:

前端页面发出的请求,其格式为:The request sent by the front-end page, its format is:

Request(http://a.com/proxy,header,data),其中http://a.com/proxy为请求URL,该URL指向的专属通道允许的通信对象固定不变(不允许无权限的用户修改),header指定本次请求的目标地址,其内容一般为:Request(http://a.com/proxy,header,data), where http://a.com/proxy is the request URL, and the communication objects allowed by the dedicated channel pointed to by this URL are fixed (unauthorized User modification), the header specifies the target address of this request, and its content is generally:

header:{header:{

“destUrl”:http://b.com/xxxx这里的destUrl字段不能变"destUrl": http://b.com/xxxx The destUrl field here cannot be changed

};};

data参数则为实际请求地址http://b.com/xxxx所需要的报文内容;The data parameter is the message content required by the actual request address http://b.com/xxxx;

该请求被一分为二,先到http://a.com/proxy路径,这是代理服务器上的路由,代理服务器处理这个请求,并通过获取header中的destUrl字段来做实际路由地址的转发和响应。The request is divided into two, first to the http://a.com/proxy path, which is the route on the proxy server, the proxy server processes this request, and forwards the actual routing address by obtaining the destUrl field in the header and response.

本实施例提供的服务器上的该代理服务通过预先创建的专属通道与客户端进行数据交互,使得用户在该服务器上的数据处理权限更大,可以对响应报文中的业务数据进行加密,可以避免用户的业务数据被窃取,提高数据传输的安全性。The proxy service on the server provided in this embodiment exchanges data with the client through a pre-created dedicated channel, so that the user has greater data processing authority on the server, and can encrypt the business data in the response message, and can Avoid the theft of user business data and improve the security of data transmission.

图4是本发明一实施例中网页端实现跨域请求的数据处理方法中步骤105的流程图,如图4所示,该网页端实现跨域请求的数据处理方法在包括上述步骤S101至S104的基础上,该步骤S105进一步包括以下步骤S401至S403。FIG. 4 is a flowchart of step 105 in the data processing method for realizing cross-domain request on the webpage according to an embodiment of the present invention. As shown in FIG. 4 , the data processing method for realizing cross-domain request on the webpage includes the above steps S101 to S104 On the basis of , this step S105 further includes the following steps S401 to S403.

S401、解析该响应报文中包含的请求参数。S401. Parse the request parameters contained in the response message.

在其中一个实施例中,该请求参数可能存在于响应报文的头部,也可能存在于该响应报文的body部分,作为可选地,该步骤进一步包括解析该响应报文中包含的所有请求参数。In one of the embodiments, the request parameter may exist in the header of the response packet, or may exist in the body part of the response packet. Optionally, this step further includes parsing all the request parameters.

S402、判断该请求参数中是否包含有预设的待加签的请求参数,若是,则对对应的请求参数进行加签处理。S402: Determine whether the request parameter includes a preset request parameter to be signed, and if so, perform a signing process on the corresponding request parameter.

在其中一个实施例中,该预设的待加签的请求参数可以人为预设,作为可选地,该网页端实现跨域请求的数据处理方法进一步包括:In one embodiment, the preset request parameters to be signed can be preset by humans, and optionally, the data processing method for realizing cross-domain requests on the webpage further includes:

接收用户输入的待加签的请求参数;Receive the request parameters to be signed entered by the user;

将接收的该请求参数保存在数据库列表中,作为所述预设的待加签的请求参数。The received request parameter is saved in the database list as the preset request parameter to be signed.

S403、将加签处理的该请求参数封装在该响应报文中。S403: Encapsulate the request parameter of the signature processing in the response message.

在http请求交互过程中,请求参数通过URL或者request body等形式传输,由于http请求的开放性,使得请求参数很容易被拦截篡改,本实施例提供的服务器上的该代理服务通过预先创建的专属通道与客户端进行数据交互,使得用户在该服务器上的数据处理权限更大,对敏感的请求参数进行加签,然后再请求接收方对请求参数进行验签,确保两个签名是一样的,验签通过之后才允许可以进行业务逻辑处理,可以避免请求参数被拦截篡改。In the process of HTTP request interaction, request parameters are transmitted in the form of URL or request body. Due to the openness of HTTP requests, request parameters are easy to be intercepted and tampered with. The proxy service on the server provided in this embodiment uses a pre-created exclusive The channel exchanges data with the client, so that the user has greater data processing authority on the server, and signs the sensitive request parameters, and then requests the receiver to verify the request parameters to ensure that the two signatures are the same. Only after the signature verification is passed, business logic processing is allowed, which can prevent the request parameters from being intercepted and tampered with.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

在一实施例中,提供一种网页端实现跨域请求的数据处理装置,该网页端实现跨域请求的数据处理装置与上述实施例中网页端实现跨域请求的数据处理方法一一对应。如图5所示,该网页端实现跨域请求的数据处理装置100包括接收模块11、解析模块12、地址获取模块13、转发模块14和发送模块15。各功能模块详细说明如下:In one embodiment, a data processing apparatus for implementing cross-domain requests on a webpage is provided, and the data processing apparatus for implementing cross-domain requests on the webpage corresponds to the data processing method for implementing cross-domain requests on the webpage in the above embodiment. As shown in FIG. 5 , the data processing apparatus 100 for realizing cross-domain request on the webpage includes a receiving module 11 , a parsing module 12 , an address obtaining module 13 , a forwarding module 14 and a sending module 15 . The detailed description of each functional module is as follows:

接收模块11,用于通过预先部署的代理服务接收来自客户端通过网页发起的服务请求报文,该代理服务部署在与该网页的域名相同的服务器上,且该服务器上的该代理服务通过预先创建的专属通道接收该服务请求报文。The receiving module 11 is configured to receive a service request message initiated by a client through a web page through a pre-deployed proxy service, the proxy service is deployed on the server with the same domain name as the web page, and the proxy service on the server is pre-configured. The created dedicated channel receives the service request message.

解析模块12,用于解析该服务请求报文的头部携带的地址变量。The parsing module 12 is configured to parse the address variable carried in the header of the service request message.

地址获取模块13,用于获取该地址变量的取值,得到目标请求地址。The address obtaining module 13 is configured to obtain the value of the address variable to obtain the target request address.

转发模块14,用于通过该代理服务将该服务请求报文转发至该目标请求地址所指域名的服务器。The forwarding module 14 is configured to forward the service request message to the server of the domain name indicated by the target request address through the proxy service.

发送模块15,用于接收到该目标请求地址所指的服务器返回的响应报文时,通过该代理服务将该响应报文利用该专属通道发送至该客户端。The sending module 15 is configured to, when receiving a response message returned by the server pointed to by the target request address, send the response message to the client through the proxy service using the dedicated channel.

本实施例提出的网页端实现跨域请求的数据处理装置通过预先部署的代理服务接收来自客户端通过网页发起的服务请求报文,该代理服务部署在与该网页的域名相同的服务器上,由于该服务器上的该代理服务通过预先创建的专属通道接收该服务请求报文,使得传输的数据具有更高的安全性,然后解析该服务请求报文的头部携带的地址变量,获取该地址变量的取值,得到目标请求地址,并通过该代理服务将该服务请求报文转发至该目标请求地址所指域名的服务器以实现跨域转发,当接收到该目标请求地址所指的服务器返回的响应报文时,通过该代理服务将该响应报文利用该专属通道发送至该客户端,实现网页客户端与目标请求地址所指域名的服务器的之间通讯交互,通讯安全性高。The data processing device for realizing cross-domain requests on the webpage side proposed in this embodiment receives the service request message initiated by the client through the webpage through the pre-deployed proxy service. The proxy service is deployed on the server with the same domain name as the webpage. The proxy service on the server receives the service request message through a pre-created dedicated channel, so that the transmitted data has higher security, and then parses the address variable carried in the header of the service request message to obtain the address variable value, get the target request address, and forward the service request message to the server of the domain name indicated by the target request address through the proxy service to realize cross-domain forwarding. When responding to the message, the proxy service sends the response message to the client using the dedicated channel, so as to realize the communication interaction between the web client and the server of the domain name indicated by the target request address, and the communication security is high.

在其中一个实施例中,该网页端实现跨域请求的数据处理装置100还包括:In one embodiment, the data processing apparatus 100 for implementing cross-domain requests on the webpage further includes:

第一配置模块,用于配置该服务请求报文包含的包管理工具的名称和中间件的地址;a first configuration module, configured to configure the name of the package management tool and the address of the middleware included in the service request message;

解析单元,用于通过所述包管理工具的名称对应的包管理工具对所述服务请求报文的数据部分进行解析,得到所述中间件的地址;a parsing unit, configured to parse the data part of the service request message through the package management tool corresponding to the name of the package management tool, to obtain the address of the middleware;

第二配置模块,用于当所述中间件的地址与本端的地址相同时,将解析该服务请求报文后的处理方式配置为向解析的该目标请求地址所指域名的服务器转发该服务请求报文。The second configuration module is configured to, when the address of the middleware is the same as the address of the local end, configure the processing method after parsing the service request message to forward the service request to the server of the domain name indicated by the parsed target request address message.

在其中一个实施例中,该网页端实现跨域请求的数据处理装置100还包括加密模块;In one of the embodiments, the data processing apparatus 100 for implementing cross-domain requests on the webpage further includes an encryption module;

该解析模块还用于解析该响应报文中包含的业务数据;The parsing module is also used to parse the business data contained in the response message;

该加密模块用于对解析的该业务数据进行加密处理,将加密过的该业务数据封装至该响应报文;The encryption module is used to encrypt the parsed service data, and encapsulate the encrypted service data into the response message;

该发送模块15具体用于通过该代理服务将该加密后的响应报文利用该专属通道发送至该客户端。The sending module 15 is specifically configured to send the encrypted response message to the client through the dedicated channel through the proxy service.

本实施例通过服务器上的代理服务通过预先创建的专属通道与客户端进行数据交互,使得用户在该服务器上的数据处理权限更大,可以对响应报文中的业务数据进行加密,可以避免用户的业务数据被窃取,提高数据传输的安全性。In this embodiment, the proxy service on the server interacts with the client through a pre-created dedicated channel, so that the user has greater data processing authority on the server, and the business data in the response message can be encrypted, which can prevent the user from The business data is stolen, which improves the security of data transmission.

在其中一个实施例中,该网页端实现跨域请求的数据处理装置100还包括判断模块和加签模块:In one embodiment, the data processing apparatus 100 for implementing cross-domain requests on the webpage further includes a judgment module and a signature module:

该解析模块还用于解析该响应报文中包含的请求参数;The parsing module is also used to parse the request parameters contained in the response message;

判断模块,用于判断该请求参数中是否包含有预设的待加签的请求参数,若是,则对对应的请求参数进行加签处理;a judging module for judging whether the request parameter contains a preset request parameter to be signed, and if so, the corresponding request parameter is signed;

加签模块,用于将加签处理的该请求参数封装在该响应报文中。The signing module is used to encapsulate the request parameter of the signing processing in the response message.

在http请求交互过程中,请求参数通过URL或者request body等形式传输,由于http请求的开放性,使得请求参数很容易被拦截篡改,本实施例提供的服务器上的该代理服务通过预先创建的专属通道与客户端进行数据交互,使得用户在该服务器上的数据处理权限更大,对敏感的请求参数进行加签,然后再请求接收方对请求参数进行验签,确保两个签名是一样的,验签通过之后才允许可以进行业务逻辑处理,可以避免请求参数被拦截篡改。In the process of HTTP request interaction, request parameters are transmitted in the form of URL or request body. Due to the openness of HTTP requests, request parameters are easy to be intercepted and tampered with. The proxy service on the server provided in this embodiment uses a pre-created exclusive The channel exchanges data with the client, so that the user has greater data processing authority on the server, and signs the sensitive request parameters, and then requests the receiver to verify the request parameters to ensure that the two signatures are the same. Only after the signature verification is passed, business logic processing is allowed, which can prevent the request parameters from being intercepted and tampered with.

作为可选地,该网页端实现跨域请求的数据处理装置进一步包括:Optionally, the data processing device for realizing cross-domain request on the webpage further includes:

参数接收模块,用于接收用户输入的待加签的请求参数;The parameter receiving module is used to receive the request parameters to be signed entered by the user;

参数保存模块,用于将接收的该请求参数保存在数据库列表中,作为所述预设的待加签的请求参数。The parameter saving module is configured to save the received request parameter in the database list as the preset request parameter to be signed.

其中上述模块/单元中的“第一”和“第二”的意义仅在于将不同的模块/单元加以区分,并不用于限定哪个模块/单元的优先级更高或者其它的限定意义。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块,本申请中所出现的模块的划分,仅仅是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式。The meanings of "first" and "second" in the above modules/units are only to distinguish different modules/units, and are not used to define which module/unit has a higher priority or other limiting meanings. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or modules is not necessarily limited to those expressly listed Those steps or modules, but may include other steps or modules not explicitly listed or inherent to these processes, methods, products or devices, the division of modules appearing in this application is only a logical division , and there may be other division methods when implementing in practical applications.

关于网页端实现跨域请求的数据处理装置的具体限定可以参见上文中对于网页端实现跨域请求的数据处理方法的限定,在此不再赘述。上述网页端实现跨域请求的数据处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the data processing apparatus for realizing the cross-domain request on the web page, please refer to the limitation on the data processing method for realizing the cross-domain request on the web page above, which will not be repeated here. Each module in the data processing apparatus for realizing cross-domain request on the web page can be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储网页端实现跨域请求的数据处理方法中涉及到的数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种网页端实现跨域请求的数据处理方法。In one embodiment, a computer device is provided, the computer device may be a server, and its internal structure diagram may be as shown in FIG. 6 . The computer device includes a processor, memory, a network interface, and a database connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store the data involved in the data processing method for realizing the cross-domain request on the web page. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data processing method for realizing a cross-domain request on a web page is realized.

在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述实施例中网页端实现跨域请求的数据处理方法的步骤,例如图2所示的步骤101至步骤105及该方法的其它扩展和相关步骤的延伸。或者,处理器执行计算机程序时实现上述实施例中网页端实现跨域请求的数据处理装置的各模块/单元的功能,例如图5所示模块11至模块16的功能。为避免重复,这里不再赘述。In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the web page in the above embodiment realizes cross-domain implementation. Steps of the requested data processing method, such as steps 101 to 105 shown in FIG. 2 and other extensions of the method and extensions of related steps. Alternatively, when the processor executes the computer program, the functions of each module/unit of the data processing apparatus for realizing cross-domain requests on the webpage end in the above-mentioned embodiments, such as the functions of modules 11 to 16 shown in FIG. 5 , are implemented. In order to avoid repetition, details are not repeated here.

所述处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述计算机装置的控制中心,利用各种接口和线路连接整个计算机装置的各个部分。The processor may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf processor Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device.

所述存储器可用于存储所述计算机程序和/或模块,所述处理器通过运行或执行存储在所述存储器内的计算机程序和/或模块,以及调用存储在存储器内的数据,实现所述计算机装置的各种功能。所述存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、视频数据等)等。The memory can be used to store the computer program and/or module, and the processor implements the computer by running or executing the computer program and/or module stored in the memory and calling the data stored in the memory various functions of the device. The memory may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may store Data (such as audio data, video data, etc.) created according to the usage of the mobile phone, etc.

所述存储器可以集成在所述处理器中,也可以与所述处理器分开设置。The memory may be integrated in the processor, or may be provided separately from the processor.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述实施例中网页端实现跨域请求的数据处理方法的步骤,例如图2所示的步骤101至步骤105及该方法的其它扩展和相关步骤的延伸。或者,计算机程序被处理器执行时实现上述实施例中网页端实现跨域请求的数据处理装置的各模块/单元的功能,例如图5所示模块11至模块15的功能。为避免重复,这里不再赘述。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the data processing method for implementing a cross-domain request by a web page in the foregoing embodiment are implemented, for example, as shown in FIG. Steps 101 to 105 shown in 2 and other extensions of the method and extensions of related steps. Alternatively, when the computer program is executed by the processor, the functions of the modules/units of the data processing apparatus for realizing cross-domain requests on the webpage end in the above-mentioned embodiments, such as the functions of modules 11 to 15 shown in FIG. 5 , are implemented. To avoid repetition, details are not repeated here.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。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 non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above.

以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it is still possible to implement the foregoing implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the within the protection scope of the present invention.

Claims (10)

1.一种网页端实现跨域请求的数据处理方法,其特征在于,所述方法包括:1. A data processing method for realizing a cross-domain request on a web page, wherein the method comprises: 通过预先部署的代理服务接收来自客户端通过网页发起的服务请求报文,所述代理服务部署在与所述网页的域名相同的服务器上,且所述服务器上的所述代理服务通过预先创建的专属通道接收所述服务请求报文;Receive a service request message initiated by a client through a webpage through a pre-deployed proxy service, the proxy service is deployed on a server with the same domain name as the webpage, and the proxy service on the server passes through a pre-created proxy service. The dedicated channel receives the service request message; 解析所述服务请求报文的头部携带的地址变量;Parse the address variable carried in the header of the service request message; 获取所述地址变量的取值,得到目标请求地址;Obtain the value of the address variable to obtain the target request address; 通过所述代理服务将所述服务请求报文转发至所述目标请求地址所指域名的服务器;forwarding the service request message to the server of the domain name indicated by the target request address through the proxy service; 接收到所述目标请求地址所指的服务器返回的响应报文时,通过所述代理服务将所述响应报文利用所述专属通道发送至所述客户端。When receiving a response message returned by the server pointed to by the target request address, the proxy service sends the response message to the client through the dedicated channel. 2.根据权利要求1所述的网页端实现跨域请求的数据处理方法,其特征在于,在所述服务器上部署所述代理服务的步骤包括:2. The data processing method for realizing a cross-domain request on a web page according to claim 1, wherein the step of deploying the proxy service on the server comprises: 配置所述服务请求报文包含的包管理工具的名称和中间件的地址;Configure the name of the package management tool and the address of the middleware contained in the service request message; 通过所述包管理工具的名称对应的包管理工具对所述服务请求报文的数据部分进行解析,得到所述中间件的地址;The data part of the service request message is parsed by the package management tool corresponding to the name of the package management tool to obtain the address of the middleware; 当所述中间件的地址与本端的地址相同时,将解析所述服务请求报文后的处理方式配置为向解析的所述目标请求地址所指域名的服务器转发所述服务请求报文。When the address of the middleware is the same as the address of the local end, the processing method after parsing the service request message is configured to forward the service request message to the server of the domain name indicated by the resolved target request address. 3.根据权利要求1所述的网页端实现跨域请求的数据处理方法,其特征在于,接收到所述目标请求地址所指的服务器返回的响应报文时,所述方法还包括:3. The data processing method for realizing a cross-domain request on a web page according to claim 1, wherein, when receiving the response message returned by the server pointed to by the target request address, the method further comprises: 解析所述响应报文中包含的业务数据;Parse the business data contained in the response message; 对解析的所述业务数据进行加密处理,将加密过的所述业务数据封装成所述响应报文。The parsed service data is encrypted, and the encrypted service data is encapsulated into the response message. 4.根据权利要求1所述的网页端实现跨域请求的数据处理方法,其特征在于,接收到所述目标请求地址所指的服务器返回的响应报文时,所述方法还包括:4. The data processing method for realizing a cross-domain request on a web page according to claim 1, wherein, when receiving a response message returned by the server pointed to by the target request address, the method further comprises: 解析所述响应报文中包含的请求参数;Parse the request parameters contained in the response message; 判断所述请求参数中是否包含有预设的待加签的请求参数,若是,则对对应的请求参数进行加签处理;Determine whether the request parameters include preset request parameters to be signed, and if so, perform signing processing on the corresponding request parameters; 将加签处理的所述请求参数封装在所述响应报文中。The request parameter of the signature processing is encapsulated in the response message. 5.根据权利要求1至4任一项所述的网页端实现跨域请求的数据处理方法,其特征在于,所述方法还包括:5. The data processing method for realizing a cross-domain request on a web page according to any one of claims 1 to 4, wherein the method further comprises: 当将所述服务请求报文转发至所述目标请求地址所指域名的服务器转发失败时,向所述客户端反馈的第一状态码;When forwarding the service request message to the server of the domain name indicated by the target request address fails to forward, the first status code fed back to the client; 当将所述响应报文利用所述专属通道发送至所述客户端发送失败时,向所述服务器反馈第二状态码。When sending the response message to the client by using the dedicated channel fails, feeding back a second status code to the server. 6.一种网页端实现跨域请求的数据处理装置,其特征在于,所述装置包括:6. A data processing device for realizing a cross-domain request on a web page, wherein the device comprises: 接收模块,用于通过预先部署的代理服务接收来自客户端通过网页发起的服务请求报文,所述代理服务部署在与所述网页的域名相同的服务器上,且所述服务器上的所述代理服务通过预先创建的专属通道接收所述服务请求报文;A receiving module, configured to receive a service request message initiated by a client through a webpage through a pre-deployed proxy service, the proxy service is deployed on a server with the same domain name as the webpage, and the proxy on the server The service receives the service request message through a pre-created dedicated channel; 解析模块,用于解析所述服务请求报文的头部携带的地址变量;a parsing module for parsing the address variable carried in the header of the service request message; 地址获取模块,用于获取所述地址变量的取值,得到目标请求地址;The address obtaining module is used to obtain the value of the address variable to obtain the target request address; 转发模块,用于通过所述代理服务将所述服务请求报文转发至所述目标请求地址所指域名的服务器;a forwarding module, configured to forward the service request message to the server of the domain name indicated by the target request address through the proxy service; 发送模块,用于接收到所述目标请求地址所指的服务器返回的响应报文时,通过所述代理服务将所述响应报文利用所述专属通道发送至所述客户端。The sending module is configured to send the response message to the client through the proxy service using the dedicated channel when receiving the response message returned by the server pointed to by the target request address. 7.根据权利要求6所述的网页端实现跨域请求的数据处理装置,其特征在于,所述装置还包括:7. The data processing device for realizing cross-domain requests on a webpage according to claim 6, wherein the device further comprises: 第一配置模块,用于配置所述服务请求报文包含的包管理工具的名称和中间件的地址;a first configuration module, configured to configure the name of the package management tool and the address of the middleware included in the service request message; 解析单元,用于通过所述包管理工具的名称对应的包管理工具对所述服务请求报文的数据部分进行解析,得到所述中间件的地址;a parsing unit, configured to parse the data part of the service request message through the package management tool corresponding to the name of the package management tool, to obtain the address of the middleware; 第二配置模块,用于当所述中间件的地址与本端的地址相同时,将解析所述服务请求报文后的处理方式配置为向解析的所述目标请求地址所指域名的服务器转发所述服务请求报文。The second configuration module is configured to, when the address of the middleware is the same as the address of the local end, configure the processing method after parsing the service request message to forward the requested address to the server of the domain name indicated by the parsed target request address. the service request message. 8.根据权利要求6或7所述的网页端实现跨域请求的数据处理装置,其特征在于,所述装置还包括加密模块;8. The data processing device for realizing cross-domain requests on a webpage according to claim 6 or 7, wherein the device further comprises an encryption module; 所述解析模块还用于解析所述响应报文中包含的业务数据;The parsing module is further configured to parse the service data contained in the response message; 所述加密模块用于对解析的所述业务数据进行加密处理,将加密过的所述业务数据封装成所述响应报文。The encryption module is configured to perform encryption processing on the parsed service data, and encapsulate the encrypted service data into the response message. 9.一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至5中任一项所述网页端实现跨域请求的数据处理方法的步骤。9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the computer program as claimed in the claims The steps in any one of 1 to 5 of the data processing method for implementing a cross-domain request on the web page. 10.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述网页端实现跨域请求的数据处理方法的步骤。10. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein, when the computer program is executed by a processor, the webpage terminal according to any one of claims 1 to 5 is implemented Steps to implement data processing methods for cross-domain requests.
CN202010350615.2A 2020-04-28 2020-04-28 Data processing method and device for realizing cross-domain request at webpage end and related equipment Pending CN111666514A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010350615.2A CN111666514A (en) 2020-04-28 2020-04-28 Data processing method and device for realizing cross-domain request at webpage end and related equipment
PCT/CN2020/118003 WO2021218018A1 (en) 2020-04-28 2020-09-27 Data processing method and apparatus for implementing cross-domain request at webpage end, and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010350615.2A CN111666514A (en) 2020-04-28 2020-04-28 Data processing method and device for realizing cross-domain request at webpage end and related equipment

Publications (1)

Publication Number Publication Date
CN111666514A true CN111666514A (en) 2020-09-15

Family

ID=72382885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010350615.2A Pending CN111666514A (en) 2020-04-28 2020-04-28 Data processing method and device for realizing cross-domain request at webpage end and related equipment

Country Status (2)

Country Link
CN (1) CN111666514A (en)
WO (1) WO2021218018A1 (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417355A (en) * 2020-11-27 2021-02-26 深圳市和讯华谷信息技术有限公司 Data interaction method, device and equipment based on long-connection single channel and storage medium
CN112612984A (en) * 2020-12-03 2021-04-06 北京道亨软件股份有限公司 Cross-domain forwarding proxy method and device
CN112653760A (en) * 2020-12-22 2021-04-13 平安银行股份有限公司 Cross-server file transmission method and device, electronic equipment and storage medium
CN113050992A (en) * 2021-03-09 2021-06-29 瀚云科技有限公司 Register address obtaining method, device, terminal and readable storage medium
CN113407383A (en) * 2021-06-30 2021-09-17 迈普通信技术股份有限公司 Main/standby system switching method and device, server and main/standby system
CN113419785A (en) * 2021-06-29 2021-09-21 宝宝巴士股份有限公司 Method and terminal for solving cross-domain security problem when WebView loads local page
WO2021218018A1 (en) * 2020-04-28 2021-11-04 平安科技(深圳)有限公司 Data processing method and apparatus for implementing cross-domain request at webpage end, and related device
CN113783972A (en) * 2021-07-26 2021-12-10 福建野小兽健康科技有限公司 Server domain name switching method and device
CN113839865A (en) * 2021-11-30 2021-12-24 北京鲸鲮信息系统技术有限公司 Management method and system for cross-domain call service
CN113992645A (en) * 2021-12-23 2022-01-28 飞狐信息技术(天津)有限公司 Request processing method and device, electronic equipment and storage medium
CN114172837A (en) * 2021-12-16 2022-03-11 中国建设银行股份有限公司 Information sharing method, device, apparatus, system, storage medium, and program product
CN114285659A (en) * 2021-12-28 2022-04-05 深圳市酷开网络科技股份有限公司 Reverse proxy method, device, equipment and storage medium
CN114363294A (en) * 2020-09-27 2022-04-15 华为云计算技术有限公司 Tenant server management method, device and system
CN114844693A (en) * 2022-04-27 2022-08-02 深圳云创数安科技有限公司 Lightweight communication data encryption method, device, equipment and storage medium
CN115225707A (en) * 2021-04-16 2022-10-21 腾讯科技(深圳)有限公司 Resource access method and device
CN116346934A (en) * 2023-03-29 2023-06-27 昭通亮风台信息科技有限公司 Method and system for cross-domain processing of application services
CN119071283A (en) * 2024-11-05 2024-12-03 杭州海康威视数字技术股份有限公司 Data acquisition method, device, system, browser and storage medium

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114006935B (en) * 2020-07-14 2023-11-21 成都鼎桥通信技术有限公司 Private network terminal network access method, device and equipment
CN114051059B (en) * 2021-11-10 2023-08-18 银联商务股份有限公司 IDC transaction cross-domain decision method of remote double-activity system
CN114422166B (en) * 2021-12-01 2024-08-16 奇安信科技集团股份有限公司 A web page access method, device, electronic device, medium and product
CN114510283B (en) * 2021-12-23 2024-08-06 贝壳找房(北京)科技有限公司 Page loading method and device, electronic equipment and storage medium
CN114422494A (en) * 2022-01-18 2022-04-29 嘉兴优尼信息科技有限公司 Request merging processing method for cross-country weak network environment
CN114513349A (en) * 2022-01-29 2022-05-17 中国人民财产保险股份有限公司 Method and device for determining source of micro-service requester
CN114741212A (en) * 2022-03-03 2022-07-12 中国平安人寿保险股份有限公司 Cross-platform native function calling method based on hybrid technology stack and related equipment
CN114640718B (en) * 2022-03-18 2023-06-23 阿里云计算有限公司 Data processing method and device based on data processing system
CN114692051A (en) * 2022-03-31 2022-07-01 珠海豹趣科技有限公司 Webpage data acquisition method and device, electronic equipment and readable storage medium
CN114721854A (en) * 2022-04-08 2022-07-08 中国银行股份有限公司 A kind of abnormal message processing method and device
CN115086429B (en) * 2022-05-16 2024-02-13 鼎捷软件股份有限公司 Request integration system and request integration method
CN115150377B (en) * 2022-07-06 2024-09-13 上海即科智能技术集团有限公司 Simulation interface calling and processing method and device
CN115225717A (en) * 2022-07-19 2022-10-21 杭州安恒信息技术股份有限公司 Request management method, device, equipment and storage medium
CN115442442A (en) * 2022-09-06 2022-12-06 平安国际融资租赁有限公司 Network request data processing method and device, computer equipment and storage medium
CN116016167B (en) * 2022-12-05 2024-09-03 中国建设银行股份有限公司 Message processing method, device, storage medium and equipment
CN118550884B (en) * 2024-05-30 2024-11-29 广东保伦电子股份有限公司 A method, device and storage medium for online file preview based on intranet

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065688A (en) * 2013-03-22 2014-09-24 深圳市腾讯计算机系统有限公司 Method for calling underlayer services and device thereof
CN104410711A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Cross-domain network resource request method and device for client
CN105634904A (en) * 2016-01-19 2016-06-01 深圳前海达闼云端智能科技有限公司 SSLVPN proxy method, server, client and processing method thereof
CN107948329A (en) * 2018-01-03 2018-04-20 湖南麓山云数据科技服务有限公司 A kind of cross-domain processing method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9503501B2 (en) * 2012-09-17 2016-11-22 Salesforce.Com, Inc. Cross domain in-browser proxy
US9697188B2 (en) * 2013-11-15 2017-07-04 Instart Logic, Inc. Method to enable cross-origin resource sharing from a webpage inside a private network
CN111666514A (en) * 2020-04-28 2020-09-15 平安科技(深圳)有限公司 Data processing method and device for realizing cross-domain request at webpage end and related equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065688A (en) * 2013-03-22 2014-09-24 深圳市腾讯计算机系统有限公司 Method for calling underlayer services and device thereof
CN104410711A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Cross-domain network resource request method and device for client
CN105634904A (en) * 2016-01-19 2016-06-01 深圳前海达闼云端智能科技有限公司 SSLVPN proxy method, server, client and processing method thereof
CN107948329A (en) * 2018-01-03 2018-04-20 湖南麓山云数据科技服务有限公司 A kind of cross-domain processing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
上海市城市建设设计研究总院(集团)有限公司: "道路照明设施监控系统技术标准", 31 October 2019, 同济大学出版社, pages: 169 - 172 *

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021218018A1 (en) * 2020-04-28 2021-11-04 平安科技(深圳)有限公司 Data processing method and apparatus for implementing cross-domain request at webpage end, and related device
CN114363294A (en) * 2020-09-27 2022-04-15 华为云计算技术有限公司 Tenant server management method, device and system
CN114363294B (en) * 2020-09-27 2024-03-15 华为云计算技术有限公司 Management method, device and system of tenant server
CN112417355A (en) * 2020-11-27 2021-02-26 深圳市和讯华谷信息技术有限公司 Data interaction method, device and equipment based on long-connection single channel and storage medium
CN112417355B (en) * 2020-11-27 2023-09-05 深圳市和讯华谷信息技术有限公司 Data interaction method, device, equipment and storage medium based on long connection single channel
CN112612984A (en) * 2020-12-03 2021-04-06 北京道亨软件股份有限公司 Cross-domain forwarding proxy method and device
CN112653760A (en) * 2020-12-22 2021-04-13 平安银行股份有限公司 Cross-server file transmission method and device, electronic equipment and storage medium
CN112653760B (en) * 2020-12-22 2023-03-24 平安银行股份有限公司 Cross-server file transmission method and device, electronic equipment and storage medium
CN113050992A (en) * 2021-03-09 2021-06-29 瀚云科技有限公司 Register address obtaining method, device, terminal and readable storage medium
CN113050992B (en) * 2021-03-09 2024-11-26 瀚云科技有限公司 A register address acquisition method, device, terminal and readable storage medium
CN115225707A (en) * 2021-04-16 2022-10-21 腾讯科技(深圳)有限公司 Resource access method and device
CN113419785B (en) * 2021-06-29 2023-10-13 宝宝巴士股份有限公司 Method and terminal for solving cross-domain security problem when WebView loads local page
CN113419785A (en) * 2021-06-29 2021-09-21 宝宝巴士股份有限公司 Method and terminal for solving cross-domain security problem when WebView loads local page
CN113407383B (en) * 2021-06-30 2024-02-09 迈普通信技术股份有限公司 Main and standby system switching method and device, server and main and standby system
CN113407383A (en) * 2021-06-30 2021-09-17 迈普通信技术股份有限公司 Main/standby system switching method and device, server and main/standby system
CN113783972A (en) * 2021-07-26 2021-12-10 福建野小兽健康科技有限公司 Server domain name switching method and device
CN113839865A (en) * 2021-11-30 2021-12-24 北京鲸鲮信息系统技术有限公司 Management method and system for cross-domain call service
CN113839865B (en) * 2021-11-30 2022-03-01 北京鲸鲮信息系统技术有限公司 Management method and system for cross-domain call service
CN114172837A (en) * 2021-12-16 2022-03-11 中国建设银行股份有限公司 Information sharing method, device, apparatus, system, storage medium, and program product
CN113992645A (en) * 2021-12-23 2022-01-28 飞狐信息技术(天津)有限公司 Request processing method and device, electronic equipment and storage medium
CN113992645B (en) * 2021-12-23 2022-03-01 飞狐信息技术(天津)有限公司 Request processing method and device, electronic equipment and storage medium
CN114285659A (en) * 2021-12-28 2022-04-05 深圳市酷开网络科技股份有限公司 Reverse proxy method, device, equipment and storage medium
CN114285659B (en) * 2021-12-28 2024-05-24 深圳市酷开网络科技股份有限公司 Reverse proxy method, device, equipment and storage medium
CN114844693B (en) * 2022-04-27 2024-03-26 深圳云创数安科技有限公司 Lightweight communication data encryption method, device, equipment and storage medium
CN114844693A (en) * 2022-04-27 2022-08-02 深圳云创数安科技有限公司 Lightweight communication data encryption method, device, equipment and storage medium
CN116346934A (en) * 2023-03-29 2023-06-27 昭通亮风台信息科技有限公司 Method and system for cross-domain processing of application services
CN119071283A (en) * 2024-11-05 2024-12-03 杭州海康威视数字技术股份有限公司 Data acquisition method, device, system, browser and storage medium
CN119071283B (en) * 2024-11-05 2024-12-31 杭州海康威视数字技术股份有限公司 Data acquisition method, device, system, browser and storage medium

Also Published As

Publication number Publication date
WO2021218018A1 (en) 2021-11-04

Similar Documents

Publication Publication Date Title
CN111666514A (en) Data processing method and device for realizing cross-domain request at webpage end and related equipment
CN107743616B (en) Endpoint management system providing application programming interface proxy services
WO2020083189A1 (en) Request processing method and device, api gateway, and readable storage medium
US20200250175A1 (en) Tracking or Storing of Equipment Configuration Data Using Immutable Ledger Functionality of Blockchains
WO2020057163A1 (en) Mec platform deployment method and device
CN109413219B (en) Domain name resolution method and device, server and storage medium
WO2020220938A1 (en) Data acquisition method, apparatus, device, and computer readable storage medium
WO2019214714A1 (en) Method, system, node, and computer storage medium for controlling video playback
US12026218B2 (en) Technologies for cross-device shared web resource cache
CN113992642B (en) Flow auditing method, device and related equipment of gateway proxy server
CN109996219B (en) Internet of things authentication method, network equipment and terminal
CN109889468B (en) Network data transmission method, system, device, equipment and storage medium
CN111917900A (en) Request processing method and device for domain name proxy
US20230019293A1 (en) Intelligently routing a response packet along a same connection as a request packet
CN114124929A (en) Cross-network data processing method and device
WO2020173126A1 (en) Method and device for blockchain-based session data processing, equipment, and medium
WO2023273693A1 (en) Dynamic loading method and apparatus for signature algorithm, and device and storage medium
CN115297098B (en) Edge service acquisition method and device, edge computing system, medium and equipment
CN113315703B (en) Optimization method, device and related equipment for dynamic routing and forwarding strategy
EP4300915A1 (en) Hostname based reverse split tunnel with wildcard support
CN111552551A (en) User management method, device, computer equipment and medium based on master-slave system
WO2025007511A1 (en) Method for allocating network slices, data processing method and system, and electronic device
CN114301872B (en) Domain name based access method and device, electronic equipment and storage medium
US11663058B1 (en) Preemptive filtering of events of an event bus with a deterministic filter
CN115065695A (en) Cloud chain data exchange system and method based on intelligent contract and related equipment

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