Edge cloud service implementation method, system and terminal

By enabling edge cloud services and hotspot services on the first terminal, building hotspot sharing areas and sharing edge cloud storage resources, the problems of high response time delay, high cloud pressure and insufficient information security in the existing technology are solved, and the low time Delay and fast data sharing and improve information security.

CN114979156BActive Publication Date: 2025-02-14CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110216646.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-26
Publication Date
2025-02-14
Estimated Expiration
2041-02-26

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively implement edge cloud services, resulting in high response delays, high cloud pressure, and insufficient information security.

Method used

The first terminal enables edge cloud services and hotspot services, receives access requests from the second terminal, builds a hotspot sharing area, and provides edge cloud storage shared cloud resources in the second terminal to the second terminal.

Benefits of technology

It realizes low latency and fast data sharing, reduces cloud and network pressure, and enhances information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114979156B_ABST
    Figure CN114979156B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an implementation method, system and terminal of edge cloud service, and relates to the field of communication technology. The method of the present disclosure includes: a first terminal starts edge cloud service and hotspot service; the first terminal receives an access request from a second terminal to access the hotspot service; the first terminal builds a hotspot sharing area with the second terminal when agreeing to the access of the second terminal; the first terminal provides the second terminal with the shared cloud resources stored in the edge cloud of the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a method, system and terminal for implementing edge cloud services. Background Art

[0002] Edge cloud is a cloud platform built on edge infrastructure based on the core of cloud computing and the capabilities of edge computing. By placing network forwarding, storage, computing, intelligent data analysis and other tasks on the edge, it reduces response latency, alleviates cloud pressure, and provides low-latency, self-organizing, definable, highly secure, and standard open distributed cloud services for "Internet of Everything" terminals. Summary of the invention

[0003] A technical problem to be solved by the present disclosure is to propose a method for implementing edge cloud services.

[0004] According to some embodiments of the present disclosure, a method for implementing an edge cloud service is provided, including: a first terminal starts an edge cloud service and a hotspot service; the first terminal receives an access request from a second terminal to access the hotspot service; the first terminal builds a hotspot sharing area with the second terminal if the first terminal agrees to the access of the second terminal; the first terminal provides the second terminal with shared cloud resources stored in the edge cloud within the terminal.

[0005] According to some other embodiments of the present disclosure, a terminal is provided, wherein, when the terminal is a first terminal, the terminal comprises: an activation unit for activating edge cloud service and hotspot service; a receiving unit for receiving an access request from a second terminal to access the hotspot service; a connecting unit for building a hotspot sharing area with the second terminal when agreeing to the access of the second terminal; and an edge cloud unit for providing the second terminal with shared cloud resources stored in the edge cloud of the terminal.

[0006] According to some other embodiments of the present disclosure, a terminal is provided, comprising a processor; and a memory coupled to the processor, for storing instructions, which, when executed by the processor, causes the processor to execute a method for implementing an edge cloud service as described in any of the foregoing embodiments.

[0007] According to some further embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the method for implementing the edge cloud service of any of the aforementioned embodiments.

[0008] According to some other embodiments of the present disclosure, a system for implementing edge cloud services is provided, comprising: a first terminal of any of the aforementioned embodiments; and one or more second terminals; the second terminal is used to send an access request to the first terminal, establish a hotspot sharing area with the first terminal, and share shared cloud resources stored in the edge cloud in the first terminal.

[0009] In the present disclosure, the first terminal can enable edge cloud services and hotspot services, and the second terminal forms a hotspot sharing area with the first terminal by accessing the hotspot service. The first terminal can share the shared cloud resources stored in the edge cloud of the terminal with the second terminal. The terminal in the present disclosure supports enabling edge cloud services and realizing a micro edge cloud. Through the accessible mechanism of the edge cloud, edge access and data acquisition are realized, eliminating the unnecessary process of requesting data from the external network through the bearer network, and can share data more quickly within the hotspot sharing area, reduce response latency, and reduce traditional cloud and network pressures. In addition, through the division of hotspot sharing areas, data sharing within the domain enhances information security.

[0010] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0012] Figure 1 A flowchart illustrating a method for implementing edge cloud services according to some embodiments of the present disclosure is provided.

[0013] Figure 2 A flowchart illustrating a method for implementing edge cloud services according to other embodiments of the present disclosure is shown.

[0014] Figure 3 A flowchart illustrating a method for implementing edge cloud services according to some other embodiments of the present disclosure is provided.

[0015] Figure 4 A schematic diagram showing the structure of the edge cloud of some embodiments of the present disclosure is shown.

[0016] Figure 5 A schematic diagram showing the structure of a terminal according to some embodiments of the present disclosure.

[0017] Figure 6 A schematic diagram showing the structure of an implementation system of edge cloud services according to some embodiments of the present disclosure.

[0018] Figure 7 A schematic diagram showing the structure of a terminal according to some other embodiments of the present disclosure.

[0019] Figure 8 A schematic diagram showing the structure of a terminal according to some further embodiments of the present disclosure. DETAILED DESCRIPTION

[0020] The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0021] The present invention provides a method for implementing edge cloud services. Figure 1 to Figure 4 Give a description.

[0022] Figure 1 Flowchart of some embodiments of the implementation method of the edge cloud service disclosed in the present invention. Figure 1 As shown, the method of this embodiment includes: steps S102 to S108.

[0023] In step S102, the first terminal turns on the edge cloud service and the hotspot service.

[0024] The first terminal can determine the mode of the edge cloud service while starting the edge cloud service. The modes of the edge cloud service include a first mode that allows terminals in the permitted terminal list to obtain resources from the edge cloud in the terminal, a second mode that obtains resources from the edge cloud in the terminals in the edge cloud access list, and a third mode that allows terminals in the permitted terminal list to obtain resources from the edge cloud in the terminal and from the edge cloud in the terminals in the edge cloud access list. As the provider of the hotspot service, the first terminal can select the third mode for the edge cloud service. The first terminal maintains two lists, the edge cloud access list and the permitted terminal list. How to obtain these two lists will be described later.

[0025] In step S104, the first terminal receives an access request from the second terminal to access the hotspot service.

[0026] In step S106, the first terminal establishes a hotspot sharing area with the second terminal when agreeing to the access of the second terminal.

[0027] The second terminal may include one or more terminals, and the first terminal may build a hotspot sharing area with multiple second terminals. Each terminal in the hotspot sharing area is allocated different intranet IP addresses under the same network segment and configured with the same external IP address to reduce the consumption of public network addresses.

[0028] In some embodiments, the first terminal sends an access response to the second terminal when agreeing to the access of the second terminal, wherein the access response includes an identification of agreeing to access, the intranet IP address and MAC address of the first terminal, so that the second terminal can access the corresponding access hotspot service, and the first terminal and the second terminal build a hotspot sharing area. The second terminal obtains the intranet IP address and MAC address of the first terminal and also uses them to access the shared cloud resources stored in the edge cloud of the first terminal, which will be described later.

[0029] In step S108, the first terminal provides the second terminal with the shared cloud resources stored in the edge cloud of the first terminal.

[0030] An edge cloud area is set in the first terminal as an edge cloud to provide shared cloud resources to the second terminal.

[0031] In some embodiments, a first terminal receives a first resource acquisition request sent by a second terminal, wherein the first resource acquisition request includes an identifier of a resource to be acquired, and an intranet IP address and a MAC address of the second terminal; the first terminal determines whether to allow the second terminal to acquire resources from an edge cloud within the first terminal based on a stored list of permitted terminals and the intranet IP address and MAC address of the second terminal, wherein the list of permitted terminals includes intranet IP addresses and MAC addresses of terminals allowed to acquire resources from an edge cloud within the first terminal; when allowing the second terminal to acquire resources from the edge cloud within the first terminal, the first terminal searches for the desired resource in the shared cloud resources stored in the edge cloud within the terminal based on the identifier of the desired resource, and when the desired resource is found, the first terminal returns the desired resource to the second terminal.

[0032] The above embodiment describes that the access response includes the intranet IP address and MAC address of the first terminal, and the second terminal encapsulates the data packet of the first resource acquisition request according to the intranet IP address and MAC address of the first terminal and sends it to the first terminal. The intranet IP address of the first terminal is used as the destination IP address of the data packet, and the MAC address of the first terminal is used as the destination MAC address of the data packet.

[0033] The second terminal can also determine whether to turn on the edge cloud service and the mode of the edge cloud service. If the edge cloud service of the second terminal is turned on and the edge cloud service mode is the second mode or the third mode, when the second terminal has resources to be acquired, it first sends a first resource acquisition request to each terminal in the edge cloud access list of this terminal. Since the first terminal is in the edge cloud access list of each second terminal, the process in the above embodiment is obtained.

[0034] Each second terminal also maintains two lists, an edge cloud access list and a permitted terminal list. When the edge cloud service mode of the second terminal is the first mode, the edge cloud access list can be empty. When the edge cloud service mode of the second terminal is the second mode, the permitted terminal list can be empty. The generation process of the edge cloud access list and the permitted terminal list in the second terminal will be described later. In addition to the first terminal, the edge cloud access list of the second terminal can also include other second terminals in the hotspot sharing area. The second terminal as the requesting end can send a resource acquisition request to other second terminals as the receiving end in the edge cloud access list. The specific implementation method will also be described later.

[0035] In the method of the above embodiment, the first terminal can enable edge cloud service and hotspot service, the second terminal forms a hotspot sharing area with the first terminal by accessing the hotspot service, and the first terminal can share the shared cloud resources stored in the edge cloud of the terminal with the second terminal. In the above embodiment, the terminal supports enabling edge cloud services and realizing a micro edge cloud. Through the accessible mechanism of the edge cloud, edge access and data acquisition are realized, eliminating the unnecessary process of requesting data from the external network through the bearer network, and can share data more quickly within the hotspot sharing area, reduce response latency, and reduce traditional cloud and network pressure. In addition, through the division of hotspot sharing areas, data sharing within the domain enhances information security.

[0036] The following describes how the permitted terminal list and the edge cloud access list in the first terminal are generated.

[0037] In some embodiments, the access request includes the external network IP address of the second terminal, and after step S106, it also includes: the first terminal sends a broadcast message to the second terminal, wherein the broadcast information includes: the external network IP address of the second terminal; the first terminal receives the broadcast response information returned by the second terminal, wherein the broadcast response information includes the internal network IP address and MAC address of the second terminal; the first terminal determines whether to allow the second terminal to obtain resources from the edge cloud within the terminal according to the first preset condition. When the second terminal is allowed to obtain resources from the edge cloud within the terminal, the first terminal stores the internal network IP address and MAC address of the second terminal in the permitted terminal list.

[0038] In the case where there are multiple second terminals, the external IP addresses of the second terminals are the same. The first terminal sends a broadcast message to each second terminal carrying the external IP address. Each second terminal matches the external IP address as its own external IP address, and then returns a broadcast response message to the first terminal. The first terminal can configure a first preset condition to filter terminals that are allowed to obtain resources from the edge cloud within the terminal to join the permitted terminal list. The first preset condition can also be empty and can be set according to actual needs.

[0039] In some other embodiments, the access request also includes an identifier of whether the second terminal has enabled the edge cloud service and the mode of the edge cloud service. When the second terminal has enabled the edge cloud service and the edge cloud service mode is the first mode or the third mode, after obtaining the intranet IP address and MAC address of the second terminal from the broadcast response message, the first terminal stores the intranet IP address and MAC address of the second terminal in the edge cloud access list of the terminal. The edge cloud access list of the first terminal may store the intranet IP addresses and MAC addresses of multiple second terminals.

[0040] The first terminal can obtain resources from the edge cloud of the second terminal according to the edge cloud access list. Figure 2 describe.

[0041] Figure 2 Flowcharts of other embodiments of the implementation method of the edge cloud service disclosed in the present invention. Figure 2 As shown, the method of this embodiment includes: steps S202 to S212.

[0042] In step S202, the first terminal generates a second resource acquisition request according to the edge cloud access list of the terminal and sends the request to the second terminal.

[0043] If the edge cloud access list of the first terminal includes multiple second terminals, a second resource acquisition request is sent to each second terminal, the second resource acquisition request includes an identifier of the resource to be acquired, the destination IP address of the second resource acquisition request is the intranet IP address of the second terminal, and the destination MAC address is the MAC address of the second terminal.

[0044] In step S204, the second terminal searches for the resources that the first terminal wants to obtain from the shared cloud resources stored in the edge cloud within the second terminal.

[0045] Typically, the first terminal is included in the permitted terminal list of the second terminal by default, otherwise it can be set to the second mode or the edge cloud service is not enabled.

[0046] In step S206, when the second terminal finds the resource that the first terminal wants to obtain from the shared cloud resources stored in the edge cloud of the terminal, the first terminal receives the resource that the first terminal wants to obtain returned by the second terminal.

[0047] In step S208, when the first terminal fails to find the resource that the first terminal wants to obtain in any second terminal in the edge cloud access list, the first terminal sends a third resource acquisition request to the external network.

[0048] The external network may be a DN (Data Network). The third resource acquisition request includes an identifier of a resource to be acquired, and the external network IP address of the first terminal is used as a source address.

[0049] In step S210, the first terminal receives the resource that the first terminal wants to obtain, which is returned from the external network.

[0050] In step S212, the first terminal stores the desired resources received from the external network as shared cloud resources in the edge cloud within the terminal.

[0051] In the above embodiment, the first terminal first obtains the desired resources from each second terminal in the edge cloud access list of the terminal. If the desired resources are not obtained, it will then obtain the desired resources from the external network. This saves the unnecessary process of requesting data from the external network via the bearer network, and can share data more quickly within the hotspot sharing area, reduce response latency, and alleviate traditional cloud and network pressures.

[0052] The following describes how the permitted terminal list and edge cloud access list in the second terminal are generated.

[0053] In some embodiments, the first terminal periodically sends the edge cloud access list and permitted terminal list of the terminal to each second terminal that has enabled the edge cloud service, and each second terminal updates the edge cloud access list and permitted terminal list of the terminal according to the edge cloud access list and permitted terminal list of the first terminal. The first terminal may also send an edge cloud access list and / or permitted terminal list to the second terminal according to the edge cloud service mode of the second terminal. For example, when the edge cloud service mode of the second terminal is the first mode, the first terminal sends the permitted terminal list to the second terminal, when the edge cloud service mode of the second terminal is the second mode, the first terminal sends the edge cloud access list to the second terminal, and when the edge cloud service mode of the second terminal is the third mode, the first terminal sends the permitted terminal list and edge cloud access list to the second terminal.

[0054] In other embodiments, in response to the list acquisition request sent by each second terminal, the first terminal sends the edge cloud access list and the permitted terminal list of the terminal to the second terminal that sent the list acquisition request, and each second terminal that sent the list acquisition request updates the edge cloud access list and the permitted terminal list of the terminal according to the edge cloud access list and the permitted terminal list of the first terminal. For example, the second terminal sends a list acquisition request to the first terminal after accessing the hotspot service.

[0055] Further, in some embodiments, when the edge cloud service is turned on by the second terminal and the edge cloud service mode is the first mode or the third mode, the second terminal selects a terminal that is allowed to obtain resources from the edge cloud within the terminal from the permitted terminal list of the first terminal according to the second preset condition, and stores the intranet IP address and MAC address of the selected terminal in the permitted terminal list of the terminal; or, when the edge cloud service is turned on by the second terminal and the edge cloud service mode is the second mode or the third mode, the second terminal determines whether it is in the permitted terminal list of the first terminal, and if it is in the permitted terminal list of the first terminal, stores the intranet IP address and MAC address of the first terminal and the terminals in the edge cloud access list of the first terminal in the edge cloud access list of the terminal.

[0056] In the case where multiple second terminals are connected to the hotspot service of the first terminal, if multiple second terminals all turn on the edge cloud service, they can also obtain resources from each other's edge cloud. Therefore, the second terminal's permitted terminal list and edge cloud access list may include other second terminals. For example, the first terminal is A, and the second terminals include B, C, and D. B and C turn on the edge cloud service and the edge cloud service mode is the third mode, and D turns on the edge cloud service and the edge cloud service mode is the second mode. Therefore, A's edge cloud access list includes the address information of B and C. Assuming that A's permitted terminal list includes B, C, and D, A sends its edge cloud access list and permitted terminal list to B, C, and D. B determines that its edge cloud access list includes A and C based on A's edge cloud access list, and the permitted terminal list includes A, C, and D; C determines that its edge cloud access list includes A and B based on A's edge cloud access list, and the permitted terminal list includes A, B, and D.

[0057] The above embodiment describes that the second terminal can obtain resources from the first terminal. When the second terminal's edge cloud access list includes other second terminals in addition to the first terminal, the second terminal simultaneously initiates a resource acquisition request to the first terminal and other second terminals in the edge cloud access list. Figure 3 The interactive information between the second terminals needs to be forwarded by the first terminal, and the first terminal acts as a relay.

[0058] Figure 3 Flowcharts of some embodiments of the implementation method of the edge cloud service disclosed in the present invention. Figure 3 As shown, the method of this embodiment includes: steps S302 to S314. In this embodiment, each second terminal includes a second terminal as a requesting end and a second terminal as a receiving end, the edge cloud service mode of the requesting end is the second mode or the third mode, the edge cloud service mode of the receiving end is the first mode or the third mode, and the receiving end is in the edge cloud access list of the requesting end.

[0059] In step S302, the receiving end receives a fourth resource acquisition request sent by the requesting end through forwarding of the first terminal.

[0060] The fourth resource acquisition request, for example, includes an identifier of a resource to be acquired, and an intranet IP address and MAC address of the requesting end.

[0061] In step S304, the receiving end determines whether to allow the requesting end to obtain resources from the edge cloud within the receiving end based on the stored permitted terminal list and the intranet IP address and MAC address of the requesting end.

[0062] In step S306, the receiving end searches for the resource to be obtained in the shared cloud resources stored in the edge cloud in the terminal according to the identifier of the resource to be obtained, when allowing the requesting end to obtain resources from the edge cloud in the receiving end.

[0063] In step S308, when the desired resource is found, the receiving end returns the desired resource to the requesting end through the first terminal.

[0064] In step S310, when neither the receiving end nor the first terminal in the edge cloud access list of the terminal finds the resource that the requesting end wants to obtain, the requesting end sends a fifth resource acquisition request to the external network.

[0065] The fifth resource acquisition request includes an identifier of a resource to be acquired, and the external network IP address of the requesting end is used as a source address.

[0066] In step S312, the requesting end receives the resource that the requesting end wants to obtain returned from the external network.

[0067] In step S314, when the requesting terminal turns on the edge cloud service and the edge cloud service mode is the third mode, the requesting end stores the desired resources received from the external network as shared cloud resources in the edge cloud of the terminal.

[0068] In the above embodiment, if each terminal in the edge cloud access list of the requesting end does not find the resource that the requesting end wants to obtain, then the resource that the requesting end wants to obtain is obtained from the external network, thereby eliminating the unnecessary process of requesting data from the external network via the bearer network. This allows faster data sharing within the hotspot sharing area, reduces response latency, and alleviates traditional cloud and network pressures.

[0069] In some embodiments, when the first terminal disconnects from the hotspot service, the first terminal and the second terminal clear the shared cloud resources stored in the edge cloud of the terminal; or, after the second terminal disconnects from the hotspot service, the second terminal clears the shared cloud resources stored in the edge cloud of the terminal.

[0070] In some embodiments, the first terminal or the second terminal selects locally stored resources as shared cloud resources to be stored in the edge cloud of the terminal.

[0071] The first terminal and the second terminal can both enable edge cloud services. Figure 4 A schematic diagram describing the structure of the edge cloud in a terminal with edge cloud service enabled.

[0072] like Figure 4 As shown, the terminal deploys edge cloud including ECC (Edge Cloud Control) module and ECS (Edge Cloud Storage) module, and the ECC module may also include CMC (Control Management Center). The ECC module can store two lists, the edge cloud access list and the permitted terminal list, as well as the status information of the edge cloud of this terminal, such as: whether it is turned on, edge cloud mode, start time, intranet IP address, MAC address and other information. The ECS module is used to store shared cloud resources. When the CMC user triggers the terminal as the first terminal, it periodically sends the edge cloud access list and the permitted terminal list to the second terminal.

[0073] In some embodiments, the edge cloud in the first terminal uses a linked list to store shared cloud resources. When the edge cloud service is turned on in the second terminal and the edge cloud service mode is the first mode or the third mode, the edge cloud in the second terminal uses a linked list to store shared cloud resources. The first terminal or the second terminal stores the newly acquired resources and the resources acquired from this terminal by other terminals in order from the head to the tail of the linked list in time from late to early. If there is no storage space in the linked list, the stored resources are deleted from the tail of the linked list. The later the newly acquired resources in each terminal and the resources acquired from this terminal by other terminals are, the closer they are stored to the head in the linked list.

[0074] The present disclosure also provides a terminal, Figure 5 Give a description.

[0075] Figure 5 FIG. 1 is a structural diagram of some embodiments of the terminal disclosed in the present invention. Figure 5 As shown, in this embodiment, when the terminal 50 is the first terminal, it includes: an opening unit 510, a receiving unit 520, a connecting unit 530, and an edge cloud unit 540.

[0076] The activation unit 510 is used to activate the edge cloud service and the hotspot service.

[0077] The receiving unit 520 is configured to receive an access request from a second terminal to access a hotspot service.

[0078] The connecting unit 530 is used to build a hotspot sharing area with the second terminal when the second terminal is allowed to access.

[0079] In some embodiments, the connection unit 530 is used to send an access response to the second terminal when agreeing to access the second terminal, wherein the access response includes an identification of agreeing to access, the intranet IP address and MAC address of the first terminal, so that the second terminal can access the corresponding hotspot service, and the first terminal and the second terminal build a hotspot sharing area.

[0080] The edge cloud unit 540 is used to provide the second terminal with the shared cloud resources stored in the edge cloud of the terminal.

[0081] In some embodiments, the edge cloud unit 540 is used to receive a first resource acquisition request sent by the second terminal, wherein the first resource acquisition request includes an identifier of the resource to be acquired, an intranet IP address and a MAC address of the second terminal, and different intranet IP addresses are assigned to each terminal in the hotspot sharing area; based on the stored permitted terminal list, the intranet IP address and the MAC address of the second terminal, determine whether the second terminal is allowed to acquire resources from the edge cloud within the first terminal, wherein the permitted terminal list includes the intranet IP address and the MAC address of the terminal allowed to acquire resources from the edge cloud within the first terminal; if the second terminal is allowed to acquire resources from the edge cloud within the first terminal, search for the shared cloud resources stored in the edge cloud within the terminal according to the identifier of the resource to be acquired, and if the resource to be acquired is found, return the resource to be acquired to the second terminal.

[0082] In some embodiments, the destination IP address in the first resource acquisition request is the intranet IP address of the first terminal, and the destination MAC address is the MAC address of the first terminal.

[0083] In some embodiments, the access request includes the external network IP address of the second terminal, and the terminal 50 also includes: a list generation unit 550, used to send broadcast information to the second terminal, wherein the broadcast information includes: the external network IP address of the second terminal; receiving broadcast response information returned by the second terminal, wherein the broadcast response information includes the internal network IP address and MAC address of the second terminal; determining whether to allow the second terminal to obtain resources from the edge cloud within the terminal according to the first preset condition; if the second terminal is allowed to obtain resources from the edge cloud within the terminal, storing the internal network IP address and MAC address of the second terminal in the permitted terminal list.

[0084] In some embodiments, the access request also includes: an identification of whether the second terminal has enabled edge cloud service and a mode of edge cloud service, the mode of edge cloud service including a first mode that allows terminals in a permitted terminal list to obtain resources from an edge cloud within the terminal, or a second mode that allows terminals in a permitted terminal list to obtain resources from an edge cloud within the terminal and from an edge cloud within the terminal in an edge cloud access list, or a third mode that allows terminals in a permitted terminal list to obtain resources from both an edge cloud within the terminal and an edge cloud within the terminal in an edge cloud access list; the list generation unit 550 is also used to store the intranet IP address and MAC address of the second terminal in the edge cloud access list of the terminal when the edge cloud service is enabled on the second terminal and the edge cloud service mode is the first mode or the third mode.

[0085] In some embodiments, the terminal 50 also includes: a resource acquisition unit 560, which is used to generate a second resource acquisition request based on the edge cloud access list of the terminal and send it to the second terminal, wherein the second resource acquisition request includes an identifier of the resource to be acquired; when the second terminal finds the resource to be acquired by the first terminal from the shared cloud resources stored in the edge cloud of the terminal, the resource to be acquired by the first terminal is received by the second terminal.

[0086] In some embodiments, the second terminal includes multiple terminals, and the edge cloud access list of the first terminal includes multiple second terminals. The resource acquisition unit 560 is also used to send a third resource acquisition request to the external network when none of the second terminals in the edge cloud access list finds the resources that the first terminal wants to obtain. The third resource acquisition request includes an identifier of the resource to be obtained, the external network IP address of the first terminal is used as the source address, and the external network IP addresses of each terminal in the hotspot sharing area are the same; and receive the resources that the first terminal wants to obtain returned by the external network.

[0087] In some embodiments, the edge cloud unit 540 is further configured to store the desired resources received from the external network as shared cloud resources in the edge cloud of the terminal.

[0088] In some embodiments, the second terminal includes multiple terminals, and the edge cloud unit 540 is also used to periodically send the edge cloud access list and permitted terminal list of the terminal to each second terminal that has enabled the edge cloud service, or, in response to a list acquisition request sent by each second terminal, send the edge cloud access list and permitted terminal list of the terminal to the second terminal that sends the list acquisition request, so that each second terminal updates the edge cloud access list and permitted terminal list of the terminal according to the edge cloud access list and permitted terminal list of the first terminal.

[0089] In some embodiments, the edge cloud unit 540 is used to use a linked list to store shared cloud resources, and store newly acquired resources and resources acquired from this terminal by other terminals in chronological order from the head to the tail of the linked list. If there is no storage space in the linked list, the stored resources are deleted from the tail of the linked list.

[0090] In some embodiments, the edge cloud unit 540 is used to clear the stored shared cloud resources when the hotspot service is disconnected.

[0091] The edge cloud unit 540 may include the ECC and ECS modules in the aforementioned embodiments. The ECC module may also include a CMC for implementing corresponding functions, which will not be repeated here.

[0092] The present disclosure also provides an edge cloud service implementation system. Figure 6 Give a description.

[0093] Figure 6 The following are structural diagrams of some embodiments of the implementation system of the edge cloud service disclosed in the present invention. Figure 6 As shown, the system 6 of this embodiment includes: the first terminal 50 of the aforementioned embodiment, and one or more second terminals 62.

[0094] The second terminal 62 is used to send an access request to the first terminal 50 , establish a hotspot sharing area with the first terminal 50 , and share the shared cloud resources stored in the edge cloud of the first terminal 50 .

[0095] In some embodiments, the second terminal 62 is used to send a first resource acquisition request to the first terminal 50, wherein the first resource acquisition request includes an identifier of the resource to be acquired, the intranet IP address and MAC address of the second terminal 62, and different intranet IP addresses are assigned to each terminal in the hotspot sharing area; and receives the resource to be acquired by the second terminal 62 returned by the first terminal 50.

[0096] In some embodiments, the second terminal 62 is used to receive broadcast information sent by the first terminal 50, wherein the broadcast information includes: the external network IP address of the second terminal; and send broadcast response information to the first terminal 50, wherein the broadcast response information includes the internal network IP address and MAC address of the second terminal, so that the first terminal 50 stores the internal network IP address and MAC address of the second terminal 62 in the permitted terminal list while allowing the second terminal 62 to obtain resources from the edge cloud within the terminal.

[0097] In some embodiments, the second terminal 62 is used to receive an access response sent by the first terminal 50, wherein the access response includes an identification of consent to access, the intranet IP address and MAC address of the first terminal 50, and builds a hotspot sharing area with the first terminal 50 based on accessing the corresponding access hotspot service.

[0098] In some embodiments, the second terminal 62 is further used to enable the edge cloud service and determine the mode of the edge cloud service.

[0099] In some embodiments, the second terminal 62 is also used to receive a second resource acquisition request sent by the first terminal 50, wherein the second resource acquisition request includes an identifier of the resource to be acquired; and when the resource to be acquired by the first terminal 50 is found in the shared cloud resources stored in the edge cloud within this terminal, the resource to be acquired by the first terminal 50 is returned to the first terminal 50.

[0100] In some embodiments, the second terminal 62 is also used to periodically receive the edge cloud access list and permitted terminal list of the first terminal 50 sent by the first terminal 50 when the edge cloud service is turned on, or to send a list acquisition request to the first terminal 50 after accessing the service hotspot, receive the edge cloud access list and permitted terminal list returned by the first terminal 50, and update the edge cloud access list and permitted terminal list of this terminal according to the edge cloud access list and permitted terminal list of the first terminal.

[0101] In some embodiments, when the second terminal 62 turns on the edge cloud service and the edge cloud service mode is the first mode or the third mode, the second terminal 62 is used to select a terminal that is allowed to obtain resources from the edge cloud within the terminal from the first terminal 50 and the permitted terminal list of the first terminal 50 according to the second preset condition, and store the intranet IP address and MAC address of the selected terminal in the permitted terminal list of the terminal; or, when the second terminal turns on the edge cloud service and the edge cloud service mode is the second mode or the third mode, the second terminal 62 is used to determine whether it is in the permitted terminal list of the first terminal 50, and if it is in the permitted terminal list of the first terminal 50, store the intranet IP address and MAC address of the first terminal 50 and the terminals in the edge cloud access list of the first terminal 50 in the edge cloud access list of the terminal.

[0102] In some embodiments, the second terminal 62 acts as a requesting end, and another second terminal 62 acts as a receiving end. The edge cloud service mode of the requesting end is the second mode or the third mode, the edge cloud service mode of the receiving end is the first mode or the third mode, and the receiving end is in the edge cloud access list of the requesting end. The receiving end is used to receive a fourth resource acquisition request sent by the requesting end through the forwarding of the first terminal, wherein the fourth resource acquisition request includes an identifier of the resource to be obtained, the intranet IP address and the MAC address of the requesting end; according to the stored permitted terminal list, the intranet IP address and the MAC address of the requesting end, determine whether the requesting end is allowed to obtain resources from the edge cloud within the receiving end; if the requesting end is allowed to obtain resources from the edge cloud within the receiving end, search for the resource to be obtained in the shared cloud resources stored in the edge cloud of this terminal according to the identifier of the resource to be obtained, and if the resource to be obtained is found, return the resource to be obtained to the requesting end through the first terminal.

[0103] In some embodiments, the requesting end is used to send a fifth resource acquisition request to the external network when neither the receiving end nor the first terminal in the edge cloud access list of the terminal finds the resource that the requesting end wants to obtain, wherein the fifth resource acquisition request includes an identifier of the resource to be obtained, the external network IP address of the requesting end is used as the source address, and the external network IP addresses of each terminal in the hotspot sharing area are the same; receive the resource that the requesting end wants to obtain returned from the external network; and when the requesting terminal turns on the edge cloud service and the edge cloud service mode is the third mode, store the resource to be obtained received from the external network as a shared cloud resource in the edge cloud of the terminal.

[0104] In some embodiments, when the second terminal 62 turns on the edge cloud service and the edge cloud service mode is the first mode or the third mode, the edge cloud uses a linked list to store shared cloud resources; newly acquired resources and resources acquired from this terminal by other terminals are stored in order from the head to the tail of the linked list in chronological order from late to early; if there is no storage space in the linked list, the stored resources are deleted from the tail of the linked list.

[0105] In some embodiments, the second terminal 62 is used to clear the shared cloud resources stored in the edge cloud of the terminal when the first terminal 50 disconnects from the hotspot service; or, after the second terminal 62 disconnects from the hotspot service, clear the shared cloud resources stored in the edge cloud of the terminal.

[0106] The terminals in the embodiments of the present disclosure may be implemented by various computing devices or computer systems. In the case of a first terminal, the method performed by the first terminal in the aforementioned embodiment is executed. In the case of a second terminal, the method performed by the second terminal in the aforementioned embodiment is executed. Figure 7 as well as Figure 8 Give a description.

[0107] Figure 7 FIG. 1 is a structural diagram of some embodiments of the terminal disclosed in the present invention. Figure 7 As shown, the terminal 70 of this embodiment includes: a memory 710 and a processor 720 coupled to the memory 710, and the processor 720 is configured to execute the implementation method of the edge cloud service in any of some embodiments of the present disclosure based on the instructions stored in the memory 710.

[0108] The memory 710 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, a database, and other programs.

[0109] Figure 8 FIG. 1 is a structural diagram of some other embodiments of the terminal disclosed in the present invention. Figure 8 As shown, the terminal 80 of this embodiment includes: a memory 810 and a processor 820, which are similar to the memory 410 and the processor 420 respectively. It can also include an input and output interface 830, a network interface 840, a storage interface 850, etc. These interfaces 830, 840, 850 and the memory 810 and the processor 820 can be connected, for example, via a bus 860. Among them, the input and output interface 830 provides a connection interface for input and output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 840 provides a connection interface for various networked devices, for example, it can be connected to a database server or a cloud storage server. The storage interface 850 provides a connection interface for external storage devices such as SD cards and USB flash drives.

[0110] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0111] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0112] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0113] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0114] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.

Claims

1. A method for implementing edge cloud services, comprising: The first terminal starts the edge cloud service and hotspot service; The first terminal receives an access request from a second terminal to access the hotspot service; The first terminal establishes a hotspot sharing area with the second terminal when agreeing to access the second terminal; The first terminal provides the second terminal with shared cloud resources stored in the edge cloud of the terminal, including: The first terminal receives a first resource acquisition request sent by the second terminal, wherein the first resource acquisition request includes an identifier of a resource to be acquired, an intranet IP address and a MAC address of the second terminal, and different intranet IP addresses are allocated to each terminal in the hotspot sharing area; The first terminal determines whether to allow the second terminal to obtain resources from the first terminal's internal edge cloud based on the stored permitted terminal list and the intranet IP address and MAC address of the second terminal, wherein the permitted terminal list includes the intranet IP address and MAC address of the terminal that is allowed to obtain resources from the first terminal's internal edge cloud; When allowing the second terminal to obtain resources from the edge cloud within the first terminal, the first terminal searches for the desired resource in the shared cloud resources stored in the edge cloud within the terminal according to the identifier of the desired resource, and returns the desired resource to the second terminal when the desired resource is found.

2. The implementation method according to claim 1, wherein: The access request includes the external network IP address of the second terminal, and the method further includes: The first terminal sends broadcast information to the second terminal, wherein the broadcast information includes: an external network IP address of the second terminal; The first terminal receives the broadcast response information returned by the second terminal, wherein the broadcast response information includes the intranet IP address and MAC address of the second terminal; The first terminal determines whether to allow the second terminal to obtain resources from the edge cloud within the terminal according to the first preset condition; In the case where the second terminal is allowed to obtain resources from the edge cloud within the terminal, the first terminal stores the intranet IP address and MAC address of the second terminal in the permitted terminal list.

3. The implementation method according to claim 1, wherein: When the first terminal agrees to access the second terminal, establishing a hotspot sharing area with the second terminal includes: When the first terminal agrees to the access of the second terminal, the first terminal sends an access response to the second terminal, wherein the access response includes an identification of agreeing to access, the intranet IP address and MAC address of the first terminal, so that the second terminal can access the hotspot service according to the access response, and the first terminal and the second terminal establish a hotspot sharing area.

4. The implementation method according to claim 3, wherein: The destination IP address in the first resource acquisition request is the intranet IP address of the first terminal, and the destination MAC address is the MAC address of the first terminal.

5. The implementation method according to claim 2, wherein: The access request also includes: an identifier of whether the second terminal turns on the edge cloud service and a mode of the edge cloud service, wherein the mode of the edge cloud service includes a first mode of allowing terminals in the permitted terminal list to obtain resources from the edge cloud in the terminal, or a second mode of obtaining resources from the edge cloud in the terminal in the edge cloud access list, or a third mode of allowing terminals in the permitted terminal list to obtain resources from both the edge cloud in the terminal and the edge cloud in the terminal in the edge cloud access list; The method further comprises: When the second terminal starts the edge cloud service and the edge cloud service mode is the first mode or the third mode, the first terminal stores the intranet IP address and MAC address of the second terminal in the edge cloud access list of the first terminal.

6. The implementation method according to claim 5, further comprising: The first terminal generates a second resource acquisition request according to the edge cloud access list of the terminal and sends the second resource acquisition request to the second terminal, wherein the second resource acquisition request includes an identifier of a resource to be acquired; When the second terminal finds the resource that the first terminal wants to obtain from the shared cloud resources stored in the edge cloud within the terminal, the first terminal receives the resource that the first terminal wants to obtain returned by the second terminal.

7. The implementation method according to claim 6, wherein: The second terminal includes a plurality of terminals, and the edge cloud access list of the first terminal includes a plurality of second terminals, and the method further includes: When the first terminal fails to find the resource that the first terminal wants to obtain in the edge cloud access list, the first terminal sends a third resource acquisition request to the external network, wherein the third resource acquisition request includes an identifier of the resource to be obtained, the external network IP address of the first terminal is used as the source address, and the external network IP addresses of the terminals in the hotspot sharing area are the same; The first terminal receives the resource that the first terminal wants to obtain, which is returned by the external network.

8. The implementation method according to claim 7, further comprising: The first terminal stores the desired resources received from the external network as shared cloud resources in the edge cloud within the terminal.

9. The implementation method according to claim 5, wherein: The second terminal includes a plurality of terminals, and the method further includes: The first terminal periodically sends the edge cloud access list and permitted terminal list of the terminal to each second terminal that has enabled the edge cloud service, or, in response to a list acquisition request sent by each second terminal, sends the edge cloud access list and permitted terminal list of the terminal to the second terminal that sent the list acquisition request, so that each second terminal updates the edge cloud access list and permitted terminal list of the terminal according to the edge cloud access list and permitted terminal list of the first terminal.

10. The implementation method according to claim 9, wherein: The updating of the edge cloud access list and the permitted terminal list of each second terminal according to the edge cloud access list and the permitted terminal list of the first terminal includes: When the second terminal starts the edge cloud service and the edge cloud service mode is the first mode or the third mode, the second terminal selects a terminal that is allowed to obtain resources from the edge cloud in the terminal from the first terminal and the permitted terminal list of the first terminal according to the second preset condition, and stores the intranet IP address and MAC address of the selected terminal in the permitted terminal list of the terminal; or When the second terminal turns on the edge cloud service and the edge cloud service mode is the second mode or the third mode, the second terminal determines whether it is in the permitted terminal list of the first terminal. If it is in the permitted terminal list of the first terminal, the intranet IP address and MAC address of the first terminal and the terminals in the edge cloud access list of the first terminal are stored in the edge cloud access list of this terminal.

11. The implementation method according to claim 10, wherein: The second terminals include a second terminal as a requesting end and a second terminal as a receiving end, the edge cloud service mode of the requesting end is the second mode or the third mode, the edge cloud service mode of the receiving end is the first mode or the third mode, and the receiving end is in the edge cloud access list of the requesting end; The method further comprises: The receiving end receives a fourth resource acquisition request sent by the requesting end through forwarding by the first terminal, wherein the fourth resource acquisition request includes an identifier of a resource to be acquired, and an intranet IP address and a MAC address of the requesting end; The receiving end determines whether to allow the requesting end to obtain resources from the edge cloud within the receiving end according to the stored permitted terminal list, the intranet IP address and the MAC address of the requesting end; When allowing the requesting end to obtain resources from the edge cloud within the receiving end, the receiving end searches for the desired resource in the shared cloud resources stored in the edge cloud within the terminal according to the identifier of the desired resource, and when the desired resource is found, returns the desired resource to the requesting end through the first terminal.

12. The implementation method according to claim 11, further comprising: When neither the receiving end nor the first terminal in the edge cloud access list of the terminal finds the resource that the requesting end wants to obtain, the requesting end sends a fifth resource acquisition request to the external network, wherein the fifth resource acquisition request includes an identifier of the resource to be obtained, the external network IP address of the requesting end is used as the source address, and the external network IP addresses of the terminals in the hotspot sharing area are the same; The requesting end receives the resource that the requesting end wants to obtain, which is returned by the external network; When the requesting terminal starts the edge cloud service and the edge cloud service mode is the third mode, the requesting end stores the desired resources received from the external network as shared cloud resources in the edge cloud of the terminal.

13. The implementation method according to claim 5, further comprising: The edge cloud in the first terminal uses a linked list to store shared cloud resources; When the second terminal starts the edge cloud service and the edge cloud service mode is the first mode or the third mode, the edge cloud in the second terminal uses a linked list to store shared cloud resources; The first terminal or the second terminal stores the newly acquired resources and the resources acquired from the terminal by other terminals in order from the head to the tail of the linked list in descending order of time, and deletes the stored resources from the tail of the linked list when there is no storage space in the linked list.

14. The implementation method according to claim 1, further comprising: When the first terminal is disconnected from the hotspot service, the first terminal and the second terminal clear the shared cloud resources stored in the edge cloud of the terminal; or, After the second terminal disconnects from the hotspot service, the second terminal clears the shared cloud resources stored in the edge cloud of the second terminal.

15. A terminal, wherein: When the terminal is a first terminal, the method includes: An enabling unit, used to enable edge cloud services and hotspot services; A receiving unit, configured to receive an access request from a second terminal to access the hotspot service; A connecting unit, configured to establish a hotspot sharing area with the second terminal if access by the second terminal is permitted; The edge cloud unit is used to provide the second terminal with the shared cloud resources stored in the edge cloud of the terminal, including: The first terminal receives a first resource acquisition request sent by the second terminal, wherein the first resource acquisition request includes an identifier of a resource to be acquired, an intranet IP address and a MAC address of the second terminal, and different intranet IP addresses are allocated to each terminal in the hotspot sharing area; The first terminal determines whether to allow the second terminal to obtain resources from the first terminal's internal edge cloud based on the stored permitted terminal list and the intranet IP address and MAC address of the second terminal, wherein the permitted terminal list includes the intranet IP address and MAC address of the terminal that is allowed to obtain resources from the first terminal's internal edge cloud; When allowing the second terminal to obtain resources from the edge cloud within the first terminal, the first terminal searches for the desired resource in the shared cloud resources stored in the edge cloud within the terminal according to the identifier of the desired resource, and returns the desired resource to the second terminal when the desired resource is found.

16. A terminal, comprising: processor; as well as A memory coupled to the processor, for storing instructions, wherein when the instructions are executed by the processor, the processor executes the method for implementing the edge cloud service as described in any one of claims 1-14.

17. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.

18. A system for implementing edge cloud services, comprising: The terminal according to claim 15, as a first terminal; as well as one or more second terminals; The second terminal is used to send an access request to the first terminal, establish a hotspot sharing area with the first terminal, and share the shared cloud resources stored in the edge cloud of the first terminal.

Citation Information

Patent Citations

  • Method, related terminals and system for implementing data sharing

    CN102883449A

  • Data sharing method and apparatus, and terminal device

    CN107466089A