CN117201596A - Edge service access method and device, electronic equipment and readable storage medium - Google Patents

Edge service access method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117201596A
CN117201596A CN202311070239.1A CN202311070239A CN117201596A CN 117201596 A CN117201596 A CN 117201596A CN 202311070239 A CN202311070239 A CN 202311070239A CN 117201596 A CN117201596 A CN 117201596A
Authority
CN
China
Prior art keywords
edge service
target
page
request
edge
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
CN202311070239.1A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202311070239.1A priority Critical patent/CN117201596A/en
Publication of CN117201596A publication Critical patent/CN117201596A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides an edge service access method, an edge service access device, electronic equipment and a readable storage medium, and relates to the technical field of computers, in particular to the technical fields of cloud computing, edge computing, cloud edge collaboration, internet of things, large models and the like. The specific implementation scheme is as follows: acquiring an edge service use request for a target edge service generated based on a front-end page, wherein the front-end page is generated based on page static data, the page static data is returned by a target front-end server corresponding to the target edge service, and the target front-end server is deployed in a cloud; sending the edge service use request to a cloud server so that the cloud server sends the edge service use request to a target edge service deployed at an edge end and receives a processing result of the edge service use request; and receiving a processing result returned by the cloud server, and displaying the processing result in a front-end page as page dynamic data. The scheme reduces the data request quantity of the front-end page to the edge end and reduces the data transmission pressure.

Description

Edge service access method and device, electronic equipment and readable storage medium
Technical Field
The disclosure relates to the technical field of computers, in particular to the technical fields of cloud computing, edge computing, cloud edge coordination, internet of things, large models and the like, and specifically relates to an edge service access method, an edge service access device, electronic equipment and a readable storage medium.
Background
With the enhancement of computing power of the edge device, more and more services can be supported by the edge device, which also puts higher demands on the collaboration capability of the cloud and the edge device.
Under the cloud-edge collaborative scene, the requirement of accessing the edge end through the cloud end exists. The access result returned by the edge end is generally displayed through the front end page, which can cause a certain pressure on the data transmission between the cloud end and the edge end. Therefore, how to reduce the data amount requested by the front page and reduce the data transmission pressure between the cloud end and the edge end becomes an important technical problem in the art.
Disclosure of Invention
In order to solve at least one of the defects, the disclosure provides an edge service access method, an edge service access device, an electronic device and a readable storage medium.
According to a first aspect of the present disclosure, there is provided an edge service access method, the method comprising:
acquiring an edge service use request for a target edge service generated based on a front-end page, wherein the front-end page is generated based on page static data, the page static data is returned by a target front-end server corresponding to the target edge service, and the target front-end server is deployed in a cloud;
Sending the edge service use request to a cloud server so that the cloud server sends the edge service use request to a target edge service deployed at an edge end and receives a processing result of the edge service use request;
and receiving a processing result returned by the cloud server, and displaying the processing result in a front-end page as page dynamic data.
According to a second aspect of the present disclosure, there is provided another edge service access method, the method comprising:
responding to an edge service use request of a target edge service, sending the edge service use request to the target edge service deployed at an edge end, and receiving a processing result of the edge service use request, wherein the edge service use request is generated by a client based on a front-end page, the front-end page is generated by the client based on page static data, the page static data is returned to the client by a target front-end server corresponding to the target edge service, and the target front-end server is deployed at a cloud end;
and returning the processing result to the client so that the client displays the processing result as page dynamic data in the front page.
According to a third aspect of the present disclosure, there is provided an edge service access apparatus comprising:
The system comprises an edge service use request acquisition module, a cloud end processing module and a cloud end processing module, wherein the edge service use request acquisition module is used for acquiring an edge service use request of a target edge service generated based on a front-end page, the front-end page is generated based on page static data, the page static data is returned by a target front-end server corresponding to the target edge service, and the target front-end server is deployed in the cloud end;
the edge service use request module is used for sending an edge service use request to the cloud server so that the cloud server can send the edge service use request to a target edge service deployed at an edge end and receive a processing result of the edge service use request;
and the dynamic data display module is used for receiving the processing result returned by the cloud server and displaying the processing result in the front-end page as page dynamic data.
According to a fourth aspect of the present disclosure, there is provided another edge service access apparatus, the apparatus comprising:
the processing result receiving module is used for responding to the received edge service use request of the target edge service, sending the edge service use request to the target edge service deployed at the edge end, and receiving the processing result of the edge service use request, wherein the edge service use request is generated by the client based on a front-end page, the front-end page is generated by the client based on page static data, the page static data is returned to the client by a target front-end server corresponding to the target edge service, and the target front-end server is deployed at the cloud end;
And the processing result returning module is used for returning the processing result to the client so that the client can display the processing result in the front page as page dynamic data.
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the edge service access method.
According to a sixth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the above-described edge service access method.
According to a seventh aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the above-described edge service access method.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a flow chart of an edge service access method according to an embodiment of the disclosure;
FIG. 2 is a flow chart of another method for edge service access provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a remote access framework of an edge model service provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an edge service access device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another edge service access device according to an embodiment of the present disclosure;
fig. 6 is a block diagram of an electronic device for implementing a method of edge service access of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the related art, when the edge terminal is accessed from the cloud, the page data of the front-end page for displaying the access result is generally provided by the edge terminal, that is, the page data needs to be sent to the cloud by the edge terminal and returned to the client by the cloud, which causes a certain pressure on the data transmission between the cloud and the edge terminal. If the data volume requested by the front-end page can be reduced, the data transmission pressure of the cloud end and the edge end can be effectively reduced.
The embodiment of the disclosure provides an edge service access method, an edge service access device, an electronic device and a computer readable storage medium, which aim to solve at least one of the technical problems in the prior art.
Fig. 1 shows a flow chart of an edge service access method provided by an embodiment of the disclosure, and as shown in fig. 1, the method may mainly include:
step S110: acquiring an edge service use request for a target edge service generated based on a front-end page, wherein the front-end page is generated based on page static data, the page static data is returned by a target front-end server corresponding to the target edge service, and the target front-end server is deployed in a cloud;
step S120: sending the edge service use request to a cloud server so that the cloud server sends the edge service use request to a target edge service deployed at an edge end and receives a processing result of the edge service use request;
Step S130: and receiving a processing result returned by the cloud server, and displaying the processing result in a front-end page as page dynamic data.
The target edge service is the edge service which is required to be called currently. The target edge service may be an edge service instance deployed on an edge device of the edge end.
The front-end page is a page displayed at the client and can be used for initiating an edge service use request for the target edge service and displaying the processing result of the edge service use request.
In the embodiment of the disclosure, the target front-end server can be deployed at the cloud end, the target front-end server provides the page static data for the client, and the client can generate and display the front-end page based on the page static data after receiving the page static data.
As one example, the page static data may be page data corresponding to some FixedPage content within the front-end page.
After a user initiates an edge service use request for a target edge service on a front-end page, the client can send the edge service request to a cloud server, the cloud server can send the edge service use request to the target edge service deployed at the edge, the target edge service can process the edge service request, then the processing result is returned to the cloud server, and the cloud server can return the processing result to the client.
After receiving the processing result of the edge service use request, the client can display the processing result as page dynamic data in the front-end page. Page dynamic data, namely data which is required to be dynamically acquired in a front-end page and then displayed. The processing result of the edge service use request is obtained from the target edge service, and the processing result is used as page dynamic data, so that the processing result is effectively displayed.
In the embodiment of the disclosure, since the target front-end server is deployed at the cloud end, the page static data is also present at the cloud end, the client can directly acquire the page static data from the cloud end, and the page dynamic data needs to be requested to the target edge service by taking the cloud server as an agent, and the client acquires the page static data and the page dynamic data respectively, so that compared with the case that all the page data are directly acquired to the edge end, the data request amount of the edge end can be greatly reduced, and the data transmission pressure of the cloud end and the edge end can be reduced.
According to the method provided by the embodiment of the disclosure, the edge service use request of the target edge service generated based on the front-end page is obtained, wherein the front-end page is generated based on page static data, the page static data is returned by the target front-end server corresponding to the target edge service, and the target front-end server is deployed in the cloud; sending the edge service use request to a cloud server so that the cloud server sends the edge service use request to a target edge service deployed at an edge end and receives a processing result of the edge service use request; and receiving a processing result returned by the cloud server, and displaying the processing result in a front-end page as page dynamic data. In the scheme, the client can acquire the face static data from the target front-end server located at the cloud end, and the cloud server is used as an agent to request the page dynamic data from the edge end, so that the data request quantity of the front-end page to the edge end is greatly reduced, and the data transmission pressure of the cloud end and the edge end is effectively reduced.
In the embodiment of the disclosure, the data request amount of the front-end page in the client side to the edge side is greatly reduced, so that the access speed to the front-end page can be greatly increased. In addition, the target edge service of the edge end only needs to provide a processing result for the edge service use request, and page static data matched with different front-end pages is not needed to be provided, so that the deployment cost of the edge service is greatly reduced.
In an optional manner of the disclosure, before obtaining the edge service usage request for the target edge service generated based on the front end page, the method further includes:
responding to the detection of related triggering operation of a user in a front-end page, and determining calling parameters of target edge service based on the related triggering operation;
an edge service usage request for the target edge service is generated based on the invocation parameters.
In the embodiment of the disclosure, the user can set the call parameters of the target edge service through the related trigger operation performed in the front-end page.
As one example, the target edge service serves edge optical character recognition OCR (Optical Character Recognition), and the call parameters may include the address of the image to be recognized, as well as some other parameters, such as the coordinates of the area to be recognized, the recognition accuracy requirements, and so on.
After the user sets the call parameters of the target edge service, an edge service use request for the target edge service can be generated, and then when the target edge service receives the edge service request, a corresponding task can be executed based on the call parameters.
In an optional manner of the disclosure, before obtaining the edge service usage request for the target edge service generated based on the front end page, the method further includes:
generating a page access request for a front-end page, sending the page access request to a cloud server, so that the cloud server determines a target front-end server corresponding to a target edge service based on the corresponding relation between the edge service and the front-end server, and sending the page access request to the target front-end server;
and receiving page static data returned by the target front-end server, and generating a front-end page based on the page static data.
In the embodiment of the disclosure, corresponding front-end servers can be developed for different edge services and used for providing page static data for front-end pages of the edge services.
As one example, the front-end service may employ engine x (nmginx) container packaging.
As an example, the page access request in this embodiment may be obtained by modifying a page access request of a locally deployed edge service in the related art, and specifically, an address of a front-end service of the page access request of the locally deployed service may be modified from a local address to a cloud address.
As an example, the front-end service may use the same domain name as the cloud server, so as to ensure consistency of session (session) users, and ensure consistency and security of data between the cloud end and the edge end.
In the embodiment of the disclosure, when the client needs to access the front-end page of the target edge service, the cloud service may determine the target front-end server corresponding to the target edge service based on the corresponding relationship between the edge service and the front-end server, forward the page access request to the target front-end server, and then the target front-end server may return corresponding page static data, so that the client can generate the front-end page based on the page static data.
In an alternative manner of the present disclosure, generating a page access request to a front-end page includes:
in response to detecting an edge service selection operation of the user, determining a target edge service based on the edge service selection operation;
determining a front page corresponding to the target edge service;
and generating a page access request for the front-end page corresponding to the target edge service.
In the embodiment of the disclosure, the target edge service to be used can be selected by a user.
Specifically, an edge service selection page may be presented to the user, and the user may perform an edge service selection operation within the edge service selection page to select the target edge service.
As one example, an edge service selection page may include a plurality of edge service corresponding controls, and an edge service selection operation may be a clicking operation on the edge service corresponding controls.
As one example, a user may perform a login operation on a cloud server through a client, and after login verification is successful, the user may click to enter an edge service selection page. The page data of the edge service selection page can be provided by the cloud server, and the edge service selection page is a front-end page provided by the cloud server.
In one alternative of the present disclosure, the edge service usage request includes any one of:
a call request to a target edge model;
an upload request for training data of the target edge model.
In the embodiment of the disclosure, the edge service use request may include a call request to the target edge model, that is, the edge model is terminated at the edge, and the inference service of the model is provided.
The edge service use request can also comprise an uploading request of training data of the target edge model, namely, a function of uploading the training data to an edge end is provided for a user at a cloud end.
In an optional manner of the disclosure, a Secure web socket (WSS) communication connection is established between the cloud server and the edge, and the edge service usage request and the processing result are both transferred based on the WSS communication connection.
In the embodiment of the disclosure, in order to ensure the security of the edge, the edge device generally has no fixed access address and does not expose the port to the outside, so the cloud may not be able to directly access the edge. When the cloud end and the edge end need to perform data interaction, a (Transport Layer Security, TLS) security channel of the two-way authentication of the cloud server and the edge equipment can be established, and particularly, the cloud server and the edge equipment can be in communication connection with each other through a WSS, so that two-way data transmission is realized. The bidirectional data transmission includes: the cloud server sends an edge service use request to the target edge service, and the target edge service returns a processing result of the edge service use request to the cloud server.
Fig. 2 is a flow chart illustrating another method for accessing an edge service according to an embodiment of the disclosure, where, as shown in fig. 2, the method may mainly include:
step S210: responding to an edge service use request of a target edge service, sending the edge service use request to the target edge service deployed at an edge end, and receiving a processing result of the edge service use request, wherein the edge service use request is generated by a client based on a front-end page, the front-end page is generated by the client based on page static data, the page static data is returned to the client by a target front-end server corresponding to the target edge service, and the target front-end server is deployed at a cloud end;
Step S220: and returning the processing result to the client so that the client displays the processing result as page dynamic data in the front page.
The target edge service is the edge service which is required to be called currently. The target edge service may be an edge service instance deployed on an edge device of the edge end.
The front-end page is a page displayed at the client and can be used for initiating an edge service use request for the target edge service and displaying the processing result of the edge service use request.
In the embodiment of the disclosure, the target front-end server can be deployed at the cloud end, the target front-end server provides the page static data for the client, and the client can generate and display the front-end page based on the page static data after receiving the page static data.
As one example, the page static data may be page data corresponding to some FixedPage content within the front-end page.
After a user initiates an edge service use request for a target edge service on a front-end page, the client can send the edge service request to a cloud server, the cloud server can send the edge service use request to the target edge service deployed at the edge, the target edge service can process the edge service request, then the processing result is returned to the cloud server, and the cloud server can return the processing result to the client.
After receiving the processing result of the edge service use request, the client can display the processing result as page dynamic data in the front-end page. Page dynamic data, namely data which is required to be dynamically acquired in a front-end page and then displayed. The processing result of the edge service use request is obtained from the target edge service, and the processing result is used as page dynamic data, so that the processing result is effectively displayed.
In the embodiment of the disclosure, since the target front-end server is deployed at the cloud end, the page static data is also present at the cloud end, the client can directly acquire the page static data from the cloud end, and the page dynamic data needs to be requested to the target edge service by taking the cloud server as an agent, and the client acquires the page static data and the page dynamic data respectively, so that compared with the case that all the page data are directly acquired to the edge end, the data request amount of the edge end can be greatly reduced, and the data transmission pressure of the cloud end and the edge end can be reduced.
According to the method provided by the embodiment of the disclosure, the edge service use request is sent to the target edge service deployed at the edge end by responding to the edge service use request of the target edge service, and the processing result of the edge service use request is received, wherein the edge service use request is generated by a client based on a front-end page, the front-end page is generated by the client based on page static data, the page static data is returned to the client by a target front-end server corresponding to the target edge service, and the target front-end server is deployed at the cloud; and returning the processing result to the client so that the client displays the processing result as page dynamic data in the front page. In the scheme, the client can acquire the face static data from the target front-end server located at the cloud end, and the cloud server is used as an agent to request the page dynamic data from the edge end, so that the data request quantity of the front-end page to the edge end is greatly reduced, and the data transmission pressure of the cloud end and the edge end is effectively reduced.
In an optional manner of the disclosure, the method further includes:
and responding to the received page access request of the front-end page sent by the client, determining a target front-end server corresponding to the target edge service based on the corresponding relation between the edge service and the front-end server, and sending the page access request to the target front-end server.
In the embodiment of the disclosure, corresponding front-end servers can be developed for different edge services and used for providing page static data for front-end pages of the edge services.
As one example, the front-end service may employ engine x (nmginx) container packaging.
In the embodiment of the disclosure, when the client needs to access the front-end page of the target edge service, the cloud service may determine the target front-end server corresponding to the target edge service based on the corresponding relationship between the edge service and the front-end server, forward the page access request to the target front-end server, and then the target front-end server may return corresponding page static data, so that the client can generate the front-end page based on the page static data.
In one alternative of the present disclosure, the edge service usage request includes any one of:
A call request to a target edge model;
an upload request for training data of the target edge model.
In the embodiment of the disclosure, the edge service use request may include a call request to the target edge model, that is, the edge model is terminated at the edge, and the inference service of the model is provided.
The edge service use request can also comprise an uploading request of training data of the target edge model, namely, a function of uploading the training data to an edge end is provided for a user at a cloud end.
In an alternative manner of the present disclosure, in response to the edge service usage request including an upload request for training data of the target edge model, the method further includes:
in response to receiving an uploading request, training data corresponding to the uploading request is obtained;
based on whether stored data which is the same as training data exists in a storage barrel of a user corresponding to the uploading request, executing a corresponding acquisition mode to acquire a target downloading address;
and adding the target download address to the uploading request, and sending the uploading request added with the target download address to the target edge service so that the target edge service downloads the training data based on the target download address.
In the embodiment of the disclosure, the user may upload training data through the cloud server. When the cloud server receives the uploading request, training data corresponding to the uploading request can be obtained.
As an example, the upload request may carry an access address of the training data, so that the server side can obtain the training data through the access address.
The training data of the cloud may exist in a file object storage manner. The user may correspond to a bucket (socket), in which training data uploaded by the user may be stored.
In the embodiment of the disclosure, the cloud server may determine whether the stored data in the socket of the user already includes the current training data, so as to select a corresponding acquisition mode to process, thereby acquiring a target download address, where the target download address can be used to download the current training data.
As one example, the target download address may be a download link with a token (token) expiration period such that during the token expiration period, the edge can download training data based on the target download address.
After receiving the uploading request, the target edge service can download the training data based on the target downloading address, so that the training data of the target service can be changed rapidly.
As an example, the object storage service may use the hypertext transfer protocol version 1.1 (Hypertext Transfer Protocol.1, http 1.1) protocol, and based on this protocol, it can support breakpoint resume of a file, and can overcome the poor network condition between the cloud and the edge.
In an optional manner of the present disclosure, based on whether a bucket of a user corresponding to an upload request has stored data identical to training data, a corresponding acquisition manner is performed to acquire a target download address, including:
responding to the stored data which is the same as the training data and exists in a storage barrel of the user corresponding to the uploading request, generating a download address of the stored data, and determining the download address of the stored data as a target download address;
and in response to the fact that stored data which is the same as the training data does not exist in the socket of the user corresponding to the uploading request, storing the training data into a storage barrel, generating a downloading address of the training data, and determining the downloading address of the training data as a target downloading address.
In the embodiment of the disclosure, when the stored data which is the same as the training data exists in the storage barrel of the user, the user is indicated to upload the training data, at this time, the uploading can be not repeated, but a download address of the stored data is generated, and the download address of the stored data is determined as a target download address.
In the embodiment of the disclosure, when the stored data which is the same as the training data does not exist in the storage bucket of the user corresponding to the uploading request, the user is indicated not to upload the training data, at this time, the training data can be stored, a download address of the training data is generated after the storage, and the download address of the training data is determined as the target download address.
As one example, consistency of the training data with the stored data may be determined by calculating a Message-Digest Algorithm fifth version (MD 5) value of the training data and an MD5 value of the stored data within the user's socket based on consistency of the MD5 value.
In the embodiment of the disclosure, the cloud can not repeatedly store the training data, so that the rationality of the utilization of the cloud storage space can be ensured, and meanwhile, the training data of the user can be reused by the edge service after being uploaded once.
In an optional manner of the disclosure, the cloud server includes a first cloud server and a second cloud server, where the first cloud server is configured to determine a target front-end server corresponding to a target edge service based on a correspondence between the edge service and the front-end server, and send a page access request to the target front-end server; the second cloud server is used for sending the edge service use request to the target edge service deployed at the edge end, receiving a processing result of the edge service use request, and returning the processing result to the client; the second cloud server is further configured to, in response to receiving the upload request, obtain training data corresponding to the upload request, generate a download address of the training data based on whether stored data identical to the training data exists in a storage bucket of a user corresponding to the upload request, add the download address to the upload request, and send the upload request added with the download address to the target edge service.
In the embodiment of the disclosure, the cloud server may include a first cloud server and a second cloud server. The first cloud server can be used as a front-end server of the second cloud server and used for providing a front-end service page, and can be used for determining a target front-end server corresponding to the target edge service based on the corresponding relation between the edge service and the front-end server and sending a page access request to the target front-end server. The first cloud server may also be used for authentication of user login, maintenance of Sessin, and communication with the second cloud server.
The second cloud server can be used as a back-end server of the cloud service end and is used for forwarding the edge service use request to the target edge service, receiving a processing result and returning the processing result to the client. The second cloud server may establish a TLS connection with an edge node of the edge, determining consistency of the transmitted data. The second cloud server may also be configured to store training data in the upload request and generate a download connection. The second cloud server may also provide an interface to communicate with the first cloud server.
As an example, fig. 3 shows a schematic structural diagram of a remote access framework of an edge model service according to an embodiment of the present disclosure.
The remote access framework of the edge model service comprises a cloud end and an edge end.
The cloud end comprises the following parts:
intelligent edge (Baidu IntelliEdge, BIE) DashBoard (dashboards) module: the front end control page of the BIE edge computing platform is responsible for the login and the Session maintenance of the user and communicates with the BIE Server, and is equivalent to the first cloud Server.
Intelligent edge service (BIE Server): a public application programming interface (Open Application Programming Interface, openAPI) is provided for BIE Dashboard to call while forwarding requests for edge service usage. And calling an external object storage service, and transferring the model file and training data uploaded by the user to obtain a temporary downloading address. And the device establishes TLS connection with the edge time of the edge, synchronizes the edge service use request submitted by the user to the edge, and ensures consistency of the edge service use request at the edge and the cloud. The intelligent edge service is equivalent to the aforementioned second server.
The model service front-end module is the target front-end server. The model service console is a front-end server used when the edge side calls the edge service, and the model service front-end module can be consistent with the model service console, so that the request address of the model service front-end is changed from a local address (such as 127.0.0.1) to the actual address of the target front-end server in the cloud.
The end-side front-end request address may be local 127.0.0.1, and for the front-end of the cloud deployment, the service address of the request dynamic data needs to be modified and adjusted to be the service address of the BIE Server.
Object storage service module: the user stores model files and training data, provides the functions of uploading and downloading files, and supports breakpoint continuous transmission.
The edge end is composed of the following parts:
intelligent edge services Core module (Baidu IntelliEdge Core, BIE Core) module: the method is used for actively establishing connection with the cloud. And configuring the application issued by the cloud in the edge equipment, and starting the corresponding edge application. Meanwhile, the downloading of the large file is supported, the analysis and forwarding functions of the cloud remote call request are supported, and the call result is returned.
The remote access framework based on the edge model service in the scheme can support the user to remotely access the edge model service and the cloud model service console to click and upload training data.
1. User remote access to edge model services
A preparation stage: (0) The front end of the model service is packaged with an Nginx container (for proxy static resources), and the original local address is modified into the address of the BIE back end service.
Meanwhile, the jump address of the front-end server may be registered in the BIE front-end. The user's edge device has connected the BIE platform and issued an edge model service application.
Step (0), the user can perform login verification based on the front-end server in advance and enter a login state.
Step (1): and displaying the edge equipment and the model service deployed in the edge equipment to a user for selection by the user. The user may select a model service and click on a jump model service.
Step (2): the BIE Dashboard encodes the address, the device name and the user login information of the model service selected by the user into the session together, and jumps to the front end of the model service deployed in the cloud (i.e., the target front end server).
Step (3): the user's browser may obtain a static resource generation page from the model service front end (i.e., the target front end server), where the user may submit some model parameters, such as click files, upload files, and initiate a request for dynamic data acquisition. After receiving the request, the BIE Server analyzes the session of the request, verifies the login information of the user, and analyzes the access address of the target edge service and the edge equipment where the access address is located.
Step (4): the BIE Server forwards the dynamic data request to the BIE Core of the corresponding device through the TLS-based WSS.
Step (5): after receiving the request, the BIE Core assembles a corresponding hypertext transfer protocol (Hypertext Transfer Protocol, HTTP) request according to the above, requests the model service deployed at the edge, returns to the cloud through the WSS, returns to the calling result, and gives the calling result to the client to be displayed in the front-end page.
2. Cloud model service console clicks to upload training data
The process is an overall process of remotely accessing the edge model service by a user, and comprises the following two steps.
Step (3.1): and comparing the received file with the MD5 code of the file by the BIE Server, and uploading the file to the object storage of the corresponding socket of the user if the file does not exist in the socket. At the same time, a corresponding temporary download link (download link with token validity period) is generated and the proxy request is synchronized to the end side. If so, a temporary download link for the file is directly generated and synchronized.
And (4.1) receiving a request for downloading the cloud file at the edge side, and directly downloading the request for downloading the file to the object storage server through a temporary downloading link. The object storage service adopts the http1.1 protocol, so that the breakpoint continuous transmission of the file is supported. After the file is downloaded, a request is initiated to the model service of the edge, and finally the calling result is returned.
Based on the same principle as the method shown in fig. 1, fig. 4 shows a schematic structural diagram of an edge service access device provided by an embodiment of the present disclosure, and as shown in fig. 4, the edge service access device 40 may include:
an edge service usage request obtaining module 410, configured to obtain an edge service usage request for a target edge service generated based on a front-end page, where the front-end page is generated based on page static data, the page static data is returned by a target front-end server corresponding to the target edge service, and the target front-end server is deployed in a cloud;
an edge service usage request module 420, configured to send an edge service usage request to a cloud server, so that the cloud server sends the edge service usage request to a target edge service deployed at an edge end, and receives a processing result of the edge service usage request;
the dynamic data display module 430 is configured to receive a processing result returned by the cloud server, and display the processing result as page dynamic data in a front-end page.
According to the device provided by the embodiment of the disclosure, the edge service use request of the target edge service generated based on the front-end page is obtained, wherein the front-end page is generated based on the page static data, the page static data is returned by the target front-end server corresponding to the target edge service, and the target front-end server is deployed in the cloud; sending the edge service use request to a cloud server so that the cloud server sends the edge service use request to a target edge service deployed at an edge end and receives a processing result of the edge service use request; and receiving a processing result returned by the cloud server, and displaying the processing result in a front-end page as page dynamic data. In the scheme, the client can acquire the face static data from the target front-end server located at the cloud end, and the cloud server is used as an agent to request the page dynamic data from the edge end, so that the data request quantity of the front-end page to the edge end is greatly reduced, and the data transmission pressure of the cloud end and the edge end is effectively reduced.
Optionally, the above apparatus further includes an edge service usage request generation module, where the edge service usage request generation module is configured to:
before acquiring an edge service use request for a target edge service generated based on a front-end page, responding to related trigger operation of a user in the front-end page, and determining calling parameters for the target edge service based on the related trigger operation;
an edge service usage request for the target edge service is generated based on the invocation parameters.
Optionally, the device further includes a front end page generating module, where the front end page generating module is configured to:
before acquiring an edge service use request for a target edge service generated based on a front-end page, generating a page access request for the front-end page, and sending the page access request to a cloud server, so that the cloud server determines a target front-end server corresponding to the target edge service based on a corresponding relation between the edge service and the front-end server, and sends the page access request to the target front-end server;
and receiving page static data returned by the target front-end server, and generating a front-end page based on the page static data.
Optionally, the front-end page generation module is specifically configured to, when generating a page access request to the front-end page:
In response to detecting an edge service selection operation of the user, determining a target edge service based on the edge service selection operation;
determining a front page corresponding to the target edge service;
and generating a page access request for the front-end page corresponding to the target edge service.
Optionally, the edge service usage request includes any one of:
a call request to a target edge model;
an upload request for training data of the target edge model.
Optionally, a WSS communication connection is established between the cloud server and the edge, and the edge service use request and the processing result are both transferred based on the WSS communication connection.
It will be appreciated that the above-described modules of the edge service access apparatus in the embodiments of the present disclosure have functions to implement the corresponding steps of the edge service access method in the embodiment shown in fig. 1. The functions can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above. The modules may be software and/or hardware, and each module may be implemented separately or may be implemented by integrating multiple modules. For the functional description of each module of the above-mentioned edge service access device, reference may be specifically made to the corresponding description of the edge service access method in the embodiment shown in fig. 1, which is not repeated herein.
Based on the same principle as the method shown in fig. 2, fig. 5 shows a schematic structural diagram of another edge service access device provided by an embodiment of the present disclosure, and as shown in fig. 5, the edge service access device 50 may include:
the processing result receiving module 510 is configured to send, in response to receiving an edge service usage request of a target edge service, the edge service usage request to a target edge service deployed at an edge end, and receive a processing result of the edge service usage request, where the edge service usage request is generated by a client based on a front-end page, the front-end page is generated by the client based on page static data, the page static data is returned to the client by a target front-end server corresponding to the target edge service, and the target front-end server is deployed at a cloud end;
and the processing result returning module 520 is configured to return the processing result to the client, so that the client displays the processing result as page dynamic data in the front page.
According to the device provided by the embodiment of the disclosure, the edge service use request is sent to the target edge service deployed at the edge end by responding to the edge service use request received by the target edge service, and the processing result of the edge service use request is received, wherein the edge service use request is generated by a client based on a front-end page, the front-end page is generated by the client based on page static data, the page static data is returned to the client by a target front-end server corresponding to the target edge service, and the target front-end server is deployed at the cloud; and returning the processing result to the client so that the client displays the processing result as page dynamic data in the front page. In the scheme, the client can acquire the face static data from the target front-end server located at the cloud end, and the cloud server is used as an agent to request the page dynamic data from the edge end, so that the data request quantity of the front-end page to the edge end is greatly reduced, and the data transmission pressure of the cloud end and the edge end is effectively reduced.
Optionally, the apparatus further includes:
the page access request forwarding module is used for responding to a received page access request of a front-end page sent by a client, determining a target front-end server corresponding to the target edge service based on the corresponding relation between the edge service and the front-end server, and sending the page access request to the target front-end server.
Optionally, the edge service usage request includes any one of:
a call request to a target edge model;
an upload request for training data of the target edge model.
Optionally, in response to the edge service usage request including an upload request for training data of the target edge model, the apparatus further includes an upload request processing module configured to:
in response to receiving an uploading request, training data corresponding to the uploading request is obtained;
based on whether stored data which is the same as training data exists in a storage barrel of a user corresponding to the uploading request, executing a corresponding acquisition mode to acquire a target downloading address;
and adding the target download address to the uploading request, and sending the uploading request added with the target download address to the target edge service so that the target edge service downloads the training data based on the target download address.
Optionally, when the upload request processing module executes a corresponding acquisition mode to acquire the target download address based on whether the storage bucket of the user corresponding to the upload request has stored data identical to the training data, the upload request processing module is specifically configured to:
responding to the stored data which is the same as the training data and exists in a storage barrel of the user corresponding to the uploading request, generating a download address of the stored data, and determining the download address of the stored data as a target download address;
and in response to the fact that stored data which is the same as the training data does not exist in the storage barrel of the user corresponding to the uploading request, storing the training data into the storage barrel, generating a downloading address of the training data, and determining the downloading address of the training data as a target downloading address.
Optionally, the cloud server includes a first cloud server and a second cloud server, where the first cloud server is configured to determine a target front-end server corresponding to the target edge service based on a correspondence between the edge service and the front-end server, and send a page access request to the target front-end server; the second cloud server is used for sending the edge service use request to the target edge service deployed at the edge end, receiving a processing result of the edge service use request, and returning the processing result to the client; the second cloud server is further configured to, in response to receiving the upload request, obtain training data corresponding to the upload request, generate a download address of the training data based on whether stored data identical to the training data exists in a storage bucket of a user corresponding to the upload request, add the download address to the upload request, and send the upload request added with the download address to the target edge service.
It will be appreciated that the above-described modules of the edge service access apparatus in the embodiments of the present disclosure have functions to implement the corresponding steps of the edge service access method in the embodiment shown in fig. 2. The functions can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above. The modules may be software and/or hardware, and each module may be implemented separately or may be implemented by integrating multiple modules. For the functional description of each module of the above-mentioned edge service access device, reference may be specifically made to the corresponding description of the edge service access method in the embodiment shown in fig. 2, which is not repeated herein.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
The electronic device includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform an edge service access method as provided by embodiments of the present disclosure.
Compared with the prior art, the electronic equipment has the advantages that the edge service using request for the target edge service generated based on the front-end page is obtained, wherein the front-end page is generated based on page static data, the page static data is returned by the target front-end server corresponding to the target edge service, and the target front-end server is deployed in the cloud; sending the edge service use request to a cloud server so that the cloud server sends the edge service use request to a target edge service deployed at an edge end and receives a processing result of the edge service use request; and receiving a processing result returned by the cloud server, and displaying the processing result in a front-end page as page dynamic data. In the scheme, the client can acquire the face static data from the target front-end server located at the cloud end, and the cloud server is used as an agent to request the page dynamic data from the edge end, so that the data request quantity of the front-end page to the edge end is greatly reduced, and the data transmission pressure of the cloud end and the edge end is effectively reduced.
The readable storage medium is a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform an edge service access method as provided by embodiments of the present disclosure.
Compared with the prior art, the readable storage medium is used for acquiring an edge service use request for a target edge service generated based on a front-end page, wherein the front-end page is generated based on page static data, the page static data is returned by a target front-end server corresponding to the target edge service, and the target front-end server is deployed in a cloud; sending the edge service use request to a cloud server so that the cloud server sends the edge service use request to a target edge service deployed at an edge end and receives a processing result of the edge service use request; and receiving a processing result returned by the cloud server, and displaying the processing result in a front-end page as page dynamic data. In the scheme, the client can acquire the face static data from the target front-end server located at the cloud end, and the cloud server is used as an agent to request the page dynamic data from the edge end, so that the data request quantity of the front-end page to the edge end is greatly reduced, and the data transmission pressure of the cloud end and the edge end is effectively reduced.
The computer program product comprises a computer program which, when executed by a processor, implements an edge service access method as provided by embodiments of the present disclosure.
Compared with the prior art, the computer program product is characterized in that an edge service using request for a target edge service generated based on a front-end page is obtained, wherein the front-end page is generated based on page static data, the page static data is returned by a target front-end server corresponding to the target edge service, and the target front-end server is deployed in a cloud; sending the edge service use request to a cloud server so that the cloud server sends the edge service use request to a target edge service deployed at an edge end and receives a processing result of the edge service use request; and receiving a processing result returned by the cloud server, and displaying the processing result in a front-end page as page dynamic data. In the scheme, the client can acquire the face static data from the target front-end server located at the cloud end, and the cloud server is used as an agent to request the page dynamic data from the edge end, so that the data request quantity of the front-end page to the edge end is greatly reduced, and the data transmission pressure of the cloud end and the edge end is effectively reduced.
Fig. 6 shows a schematic block diagram of an example electronic device 60 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the electronic device 60 includes a computing unit 610 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 620 or a computer program loaded from a storage unit 680 into a Random Access Memory (RAM) 630. In RAM 630, various programs and data required for the operation of device 60 may also be stored. The computing unit 610, ROM 620, and RAM 630 are connected to each other by a bus 640. An input/output (I/O) interface 650 is also connected to bus 640.
Various components in device 60 are connected to I/O interface 650, including: an input unit 660 such as a keyboard, a mouse, etc.; an output unit 670 such as various types of displays, speakers, and the like; a storage unit 680 such as a magnetic disk, an optical disk, or the like; and a communication unit 690 such as a network card, modem, wireless communication transceiver, etc. The communication unit 690 allows the device 60 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 610 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 610 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 610 performs the edge service access method provided in the embodiments of the present disclosure. For example, in some embodiments, performing the edge service access methods provided in embodiments of the present disclosure may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 680. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 60 via ROM 620 and/or communication unit 690. One or more steps of the edge service access method provided in the embodiments of the present disclosure may be performed when the computer program is loaded into RAM 630 and executed by computing unit 610. Alternatively, in other embodiments, the computing unit 610 may be configured to perform the edge service access methods provided in embodiments of the present disclosure in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed aspects are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (17)

1. An edge service access method, comprising:
acquiring an edge service use request of a target edge service generated based on a front-end page, wherein the front-end page is generated based on page static data returned by a target front-end server corresponding to the target edge service, and the target front-end server is deployed in a cloud;
sending the edge service use request to a cloud server, so that the cloud server sends the edge service use request to a target edge service deployed at an edge end, and receives a processing result of the edge service use request;
And receiving the processing result returned by the cloud server, and displaying the processing result in the front-end page as page dynamic data.
2. The method of claim 1, wherein prior to the obtaining the edge service usage request for the target edge service generated based on the front-end page, the method further comprises:
responding to the detection of related trigger operation of a user in the front-end page, and determining a call parameter of the target edge service based on the related trigger operation;
an edge service usage request for the target edge service is generated based on the invocation parameters.
3. The method of claim 1 or 2, wherein prior to the obtaining the edge service usage request for the target edge service generated based on the front-end page, the method further comprises:
generating a page access request for a front-end page, sending the page access request to a cloud server, enabling the cloud server to determine a target front-end server corresponding to the target edge service based on the corresponding relation between the edge service and the front-end server, and sending the page access request to the target front-end server;
And receiving page static data returned by the target front-end server, and generating the front-end page based on the page static data.
4. A method according to claim 3, wherein the generating a page access request to the front-end page comprises:
in response to detecting an edge service selection operation of a user, determining a target edge service based on the edge service selection operation;
determining the front-end page corresponding to the target edge service;
and generating a page access request of the front-end page corresponding to the target edge service.
5. The method of any of claims 1-4, wherein the edge service usage request comprises any of:
a call request to a target edge model;
an upload request for training data of the target edge model.
6. The method of any of claims 1-5, wherein a secure web socket WSS communication connection is established between the cloud server and an edge, the edge service use request and the processing result being communicated based on the WSS communication connection.
7. An edge service access method, comprising:
in response to receiving an edge service use request of a target edge service, sending the edge service use request to the target edge service deployed at an edge end, and receiving a processing result of the edge service use request, wherein the edge service use request is generated by a client based on a front-end page, the front-end page is generated by the client based on page static data, the page static data is returned to the client by a target front-end server corresponding to the target edge service, and the target front-end server is deployed at a cloud end;
And returning the processing result to the client so that the client displays the processing result as page dynamic data in the front-end page.
8. The method of claim 7, further comprising:
and responding to the received page access request to the front-end page sent by the client, determining a target front-end server corresponding to the target edge service based on the corresponding relation between the edge service and the front-end server, and sending the page access request to the target front-end server.
9. The method of claim 8, wherein the edge service usage request comprises any one of:
a call request to a target edge model;
an upload request for training data of the target edge model.
10. The method of claim 9, wherein in response to the edge service usage request comprising an upload request for training data of a target edge model, the method further comprises:
in response to receiving the uploading request, training data corresponding to the uploading request is obtained;
based on whether the stored data which is the same as the training data exists in the storage barrel of the user corresponding to the uploading request, executing a corresponding acquisition mode to acquire a target downloading address
And adding the target download address to the uploading request, wherein the uploading request added with the target download address is sent to the target edge service, so that the target edge service downloads the training data based on the target download address.
11. The method of claim 10, wherein the performing a corresponding acquisition mode to acquire the download address for generating the training data based on whether the stored data identical to the training data exists in the bucket of the user corresponding to the upload request comprises:
responding to the stored data which is the same as the training data and exists in a storage barrel of a user corresponding to the uploading request, generating a downloading address of the stored data, and determining the downloading address of the stored data as a target downloading address;
and responding to the fact that stored data which is the same as the training data does not exist in a storage barrel of the user corresponding to the uploading request, storing the training data into the storage barrel, generating a downloading address of the training data, and determining the downloading address of the training data as a target downloading address.
12. The method of claim 10 or 11, wherein the cloud server comprises a first cloud server and a second cloud server, wherein the first cloud server is configured to determine a target front-end server corresponding to the target edge service based on a correspondence between the edge service and the front-end server, and send the page access request to the target front-end server; the second cloud server is used for sending the edge service use request to a target edge service deployed at an edge end, receiving a processing result of the edge service use request, and returning the processing result to the client; the second cloud server is further configured to obtain training data corresponding to the upload request in response to receiving the upload request, generate a download address of the training data based on whether stored data identical to the training data exists in a storage bucket of a user corresponding to the upload request, add the download address to the upload request, and send the upload request added with the download address to the target edge service.
13. An edge service access device, comprising:
the system comprises an edge service use request acquisition module, a cloud end processing module and a cloud end processing module, wherein the edge service use request acquisition module is used for acquiring an edge service use request of a target edge service generated based on a front-end page, the front-end page is generated based on page static data, the page static data is returned by a target front-end server corresponding to the target edge service, and the target front-end server is deployed in the cloud end;
the edge service use request module is used for sending the edge service use request to a cloud server so that the cloud server sends the edge service use request to a target edge service deployed at an edge end and receives a processing result of the edge service use request;
and the dynamic data display module is used for receiving the processing result returned by the cloud server and displaying the processing result in the front-end page as page dynamic data.
14. An edge service access device, comprising:
the processing result receiving module is used for responding to the received edge service use request of the target edge service, sending the edge service use request to the target edge service deployed at the edge end, and receiving the processing result of the edge service use request, wherein the edge service use request is generated by a client based on a front-end page, the front-end page is generated by the client based on page static data, the page static data is returned to the client by a target front-end server corresponding to the target edge service, and the target front-end server is deployed at a cloud end;
And the processing result returning module is used for returning the processing result to the client so that the client can display the processing result in the front-end page as page dynamic data.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-12.
16. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-12.
17. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-12.
CN202311070239.1A 2023-08-23 2023-08-23 Edge service access method and device, electronic equipment and readable storage medium Pending CN117201596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311070239.1A CN117201596A (en) 2023-08-23 2023-08-23 Edge service access method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311070239.1A CN117201596A (en) 2023-08-23 2023-08-23 Edge service access method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117201596A true CN117201596A (en) 2023-12-08

Family

ID=88991558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311070239.1A Pending CN117201596A (en) 2023-08-23 2023-08-23 Edge service access method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117201596A (en)

Similar Documents

Publication Publication Date Title
US11144711B2 (en) Webpage rendering method, device, electronic apparatus and storage medium
CN108574604B (en) Test method and device
US20220171011A1 (en) Positioning method and device, server, storage medium and terminal
EP4209894A1 (en) Cloud code development system, method, and apparatus, device, and storage medium
CN113419865B (en) Cloud resource processing method, related device and computer program product
CN113572833B (en) Cloud mobile phone maintenance method and device, electronic equipment and storage medium
US11227025B2 (en) Device augmentation of real time communications
CN114095758B (en) Cloud image intercepting method and related device
CN114924826B (en) Page fusion method, device and equipment based on different code platforms
CN113641439B (en) Text recognition and display method, device, electronic equipment and medium
CN117201596A (en) Edge service access method and device, electronic equipment and readable storage medium
CN113726881B (en) Communication connection establishment method, related device and computer readable storage medium
CN115865974A (en) Edge device, cloud device, edge computing system and method, and storage medium
CN114157917B (en) Video editing method and device and terminal equipment
CN115840604B (en) Data processing method, device, electronic equipment and computer readable storage medium
US8738049B1 (en) Converged dialog in hybrid mobile applications
CN118250341B (en) Form request processing method, device, equipment and storage medium
CN113741937B (en) Application updating method and device for cloud terminal and computer program product
CN117241235B (en) Method, device and system for realizing nonstandard characteristic of 5G message
CN117373450A (en) Streaming data return method, device, equipment and storage medium
CN113132438A (en) Service communication, service processing method, corresponding device and service communication system
CN117556116A (en) Method and device for processing request information, electronic equipment and storage medium
CN117519753A (en) Remote upgrading method, device and equipment of terminal equipment and storage medium
CN117931322A (en) Interface calling method and device of low-code platform and electronic equipment
CN118796186A (en) Interaction method, device, equipment and storage 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