Data storage method and device, network equipment, computer storage medium and program product
By dividing areas in the data storage system and setting up master nodes and slave nodes, nearby storage is realized, which solves the problem of low latency and differentiated access in the existing technology, reduces transmission pressure, and improves user experience.
Patent Information
- Application Number
- CN202410178028.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-08
- Publication Date
- 2024-10-18
AI Technical Summary
Existing data storage methods cannot meet the demand for low-latency data access and cannot perform differentiated access. Large amounts of data put great transmission pressure on the transmission network and affect user experience.
By dividing regions and setting up master nodes and slave nodes, the master node receives data storage requests, selects slave nodes that meet the needs based on data information, and allocates storage space to achieve nearby storage, reduce cross-region data migration, and reduce transmission pressure.
It achieves low-latency data access and differentiated storage, reducing pressure on the transmission network and improving user experience.
Smart Images

Figure CN118796103A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the fields of wireless communication and distributed storage technology, and in particular to a data storage method and device, network equipment, computer storage medium, and computer program product. Background Art
[0002] At present, the data storage methods of terminals include local storage and cloud storage. As the mobile wireless network evolves to 6G in the future, it will provide terminals with comprehensive services of communication, computing and storage. Therefore, in the future, base stations, edge clouds, central clouds, etc. will become carriers of data storage, providing users with different data storage services, and making full use of the storage resources of the access network infrastructure. At the same time, some terminals will evolve towards lightweight, with characteristics such as small size, light capacity, and small storage. They will offload computing and storage to other computing nodes such as base stations and edge clouds to achieve complex computing and large amounts of data storage.
[0003] In the prior art, in addition to local data storage, data is generally stored in the central cloud through cloud disk services. Regardless of the time and location of the user, the data is stored in the central cloud. Therefore, the existing data storage methods have problems such as being unable to meet the requirements of low-latency data access, being unable to perform differentiated access, and a large amount of data causing great transmission pressure on the transmission network. Summary of the invention
[0004] To solve the above technical problems, embodiments of the present invention provide a data storage method and apparatus, a network device, a computer-readable storage medium, and a computer program product.
[0005] In a first aspect, a data storage method provided by an embodiment of the present application is applied to a first master node, where the first master node is a master node in a first region, and includes:
[0006] receiving a data storage request, wherein the data storage request carries data information of a user equipment (User Equipment, UE);
[0007] Filtering a first slave node that meets the data storage requirement of the UE within the first area based on the data information of the UE;
[0008] Sending a data storage indication to the first slave node, where the data storage indication is used to instruct the first slave node to allocate a first storage space for the UE;
[0009] Receive a data storage response sent by the first slave node, and send the data storage response, where the data storage response carries path information of the first storage space, and the path information of the first storage space is used by the UE to store data to the first slave node.
[0010] In a second aspect, a data storage method provided in an embodiment of the present application is applied to a second slave node, where the second slave node is a slave node in the first area, including:
[0011] Receiving a data storage request sent by a UE, where the data storage request carries data information of the UE;
[0012] Checking whether the second slave node meets the data storage requirement of the UE based on the data information of the UE;
[0013] If the second slave node does not meet the data storage requirements of the UE, the data storage request is sent to the first master node, and a data storage response is received from the first master node; the data storage response is sent to the UE, where the data storage response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data in the first slave node; wherein the first master node is the master node in the first area.
[0014] In a third aspect, the data storage method provided in an embodiment of the present application is applied to a second master node, where the second master node is a master node in a second region, including:
[0015] receiving a data storage request sent by a UE, and sending the data storage request to a first master node, wherein the data storage request carries data information of the UE, and the data information of the UE is used by the first master node to screen out a first slave node that meets the data storage requirement of the UE within a first area; the first master node is a master node in the first area;
[0016] Receive a data storage response sent by the first master node, and send the data storage response to the UE, wherein the data storage response carries path information of a first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data to the first slave node.
[0017] In a fourth aspect, the data storage method provided in an embodiment of the present application is applied to a second master node, where the second master node is a master node in a second region, including:
[0018] receiving a data storage request sent by a third slave node, and sending the data storage request to the first master node, wherein the data storage request carries data information of the UE, and the data information of the UE is used by the first master node to screen out a first slave node that meets the data storage demand of the UE within a first area; the first master node is a master node in the first area; and the third slave node is a slave node in the second area;
[0019] Receive a data storage response sent by the first master node, where the data storage response carries path information of a first storage space of the first slave node, where the path information of the first storage space is used by the UE to store data in the first slave node.
[0020] In a fifth aspect, the data storage device provided in an embodiment of the present application is applied to a first master node, where the first master node is a master node in a first region, including:
[0021] A first main receiving unit, configured to receive a data storage request, where the data storage request carries data information of a user equipment UE;
[0022] A first main processing unit, configured to screen out a first slave node that meets the data storage requirement of the UE within the first area based on the data information of the UE;
[0023] A first master sending unit, configured to send a data storage indication to the first slave node, where the data storage indication is used to instruct the first slave node to allocate a first storage space for the UE;
[0024] The first master receiving unit is further configured to receive a data storage response sent by the first slave node;
[0025] The first master sending unit is further used to send the data storage response, where the data storage response carries path information of the first storage space, and the path information of the first storage space is used by the UE to store data to the first slave node.
[0026] In a sixth aspect, the data storage device provided in an embodiment of the present application is applied to a second slave node, where the second slave node is a slave node in the first area, including:
[0027] A first slave receiving unit, configured to receive a data storage request sent by a UE, where the data storage request carries data information of the UE;
[0028] A first slave processing unit, configured to check whether the second slave node meets the data storage requirement of the UE based on the data information of the UE;
[0029] A first slave sending unit, configured to send the data storage request to the first master node if the second slave node does not meet the data storage requirement of the UE;
[0030] The first slave receiving unit is further configured to receive a data storage response sent by the first master node;
[0031] The first slave sending unit is also used to send the data storage response to the UE, and the data storage response carries the path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data to the first slave node; wherein the first master node is the master node in the first area.
[0032] In a seventh aspect, the data storage device provided in an embodiment of the present application is applied to a second master node, where the second master node is a master node in a second region, including:
[0033] A second main receiving unit, configured to receive a data storage request sent by a UE;
[0034] A second master sending unit is used to send the data storage request to the first master node, where the data storage request carries the data information of the UE, and the data information of the UE is used by the first master node to screen out a first slave node that meets the data storage requirement of the UE within a first area; the first master node is a master node in the first area;
[0035] The second master receiving unit is further configured to receive a data storage response sent by the first master node;
[0036] The second main sending unit is also used to send the data storage response to the UE, where the data storage response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data in the first slave node.
[0037] In an eighth aspect, the data storage device provided in an embodiment of the present application is applied to a second master node, where the second master node is a master node in a second region, including:
[0038] A second master receiving unit, configured to receive a data storage request sent by a third slave node;
[0039] A second master sending unit is used to send the data storage request to the first master node, where the data storage request carries the data information of the UE, and the data information of the UE is used by the first master node to screen out a first slave node that meets the data storage requirement of the UE within a first area; the first master node is the master node in the first area; and the third slave node is a slave node in the second area;
[0040] The second master receiving unit is also used to receive a data storage response sent by the first master node; the data storage response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data to the first slave node.
[0041] In a ninth aspect, the network device provided in an embodiment of the present application includes: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute any one of the above-mentioned data storage methods.
[0042] In the tenth aspect, the computer-readable storage medium provided in the embodiments of the present application is used to store a computer program, and the computer program enables a computer to execute any one of the above methods.
[0043] In an eleventh aspect, the computer program product provided in an embodiment of the present application includes computer program instructions, which enable a computer to execute any one of the above methods.
[0044] In the technical solution of the embodiment of the present application, by dividing the area, the first master node is set as the master node in the first area, the first master node receives the data storage request, and based on the data information of the UE carried in the data storage request, screens out the first slave node that meets the data storage needs of the UE in the first area, sends a data storage indication to the first slave node to instruct the first slave node to allocate a first storage space for the UE, and receives a data storage response sent by the first slave node carrying the path information of the first storage space, the path information of the first storage space is used for the UE to store data to the first slave node; in this way, the distributed storage nodes are divided into areas, and the storage nodes in the area store the accessed data nearby according to the location of the user, thereby meeting the demand for low-latency access to data, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and improving the user's business experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a schematic diagram of a data storage system according to an embodiment of the present application;
[0046] Figure 2 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 1 ;
[0047] Figure 3 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 2 ;
[0048] Figure 4 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 3 ;
[0049] Figure 5 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 4 ;
[0050] Figure 6 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 5 ;
[0051] Figure 7 This is a schematic diagram of a data reading method according to an embodiment of the present application. Figure 1 ;
[0052] Figure 8 This is a schematic diagram of a data reading method according to an embodiment of the present application. Figure 2 ;
[0053] Fig. 9 This is a schematic diagram of a data reading method according to an embodiment of the present application. Figure 3 ;
[0054] Fig.10 It is a flowchart of a data storage service registration and update method according to an embodiment of the present application;
[0055] Fig.11 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 6 ;
[0056] Fig.12 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 7 ;
[0057] Fig.13 This is a schematic diagram of a data reading method according to an embodiment of the present application. Figure 4 ;
[0058] Fig.14 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 8 ;
[0059] Fig.15 It is a flowchart of a data migration method according to an embodiment of the present application;
[0060] Fig.16 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 9 ;
[0061] Fig.17 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 10 ;
[0062] Fig.18 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 10 one;
[0063] Fig.19 This is a schematic diagram of a data storage method in an embodiment of the present application. Figure 10 two;
[0064] Fig. 20 The structure of the data storage device provided in the embodiment of the present application is shown in FIG. Figure 1 ;
[0065] Fig.21 The structure of the data storage device provided in the embodiment of the present application is shown in FIG. Figure 2 ;
[0066] Fig. 22 The structure of the data storage device provided in the embodiment of the present application is shown in FIG. Figure 3 ;
[0067] Fig.23 It is a schematic structural diagram of a network device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0069] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.
[0070] In the prior art, in addition to local data storage, data is generally stored on the central cloud through cloud disk services. Regardless of the time and location of the user, the data is stored in the central cloud. However, since all user data needs to access the central cloud storage, there is a lack of ability to meet the needs of low-latency data access or data exchange; since the data accessed by users at different times and locations is different, the existing central cloud storage method cannot perform differentiated access; since a large number of users accessing data will bring great transmission pressure to the transmission network, there will be a problem of low speed, which will in turn affect the user's business experience; the concentrated access of a large number of users poses a great challenge to the processing capacity of the central cloud. To this end, the following technical solutions of the embodiments of the present application are proposed.
[0071] To facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application are described in detail below through specific embodiments. The above related technologies can be combined arbitrarily with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application. The embodiments of the present application include at least part of the following contents.
[0072] Figure 1 Schematic diagram of a data storage system of an embodiment of the present application. A distributed data storage system based on the endogenous nature of a mobile network is proposed, in which distributed storage nodes are divided into regions, and the storage nodes in the region store the accessed data nearby according to the location of the user equipment (UE). Figure 1 As shown, the distributed storage device is divided into multiple zones, such as the first zone (ZoneA), the second zone (ZoneB), and the third zone (ZoneC). There are regional storage nodes in each zone, and the regional storage nodes are divided into a master node (Master) and multiple slave nodes (Slave). In some embodiments, the method of regional division can be divided according to administrative regions such as cities and counties. For example, the data storage nodes of a county constitute the same storage area, and the storage areas interact through the master node. The master node is the management node of the regional storage, and also has a storage function. It is responsible for discovering and managing the slave nodes in the area, and allocating appropriate slave nodes to store data for the UE. The slave node is responsible for storing data and accepting the management of the master node. The storage data of the slave node includes: storing specific information of the specific UE, the storage space of the slave node, storage type, read and write speed, remaining available storage space, etc. When the UE is active in a certain area, data migration will not occur; when the UE moves to a different area, cross-zone access will occur; if the real-time requirements of the UE's user service are high, and / or the cross-zone access bandwidth is limited, the data needs to be migrated to the target area to reduce the latency of data storage and reading. In the same area, the first master node selects a slave node nearby based on the location of the data generated or accessed by the UE. For example, the first master node receives data that the UE will generate or need in an office building, such as work-related business data, and then selects a suitable slave node near the office building as the first slave node. For another example, the first master node receives data that the UE will generate or need at home, such as game and entertainment-related data, and then selects a suitable slave node near the user's home as the first slave node. Therefore, in the same storage area, for the same UE, there will be the same and / or different slave nodes to store data for the UE.
[0073] It should be noted that Figure 1It is only to illustrate the system to which the present application is applicable in the form of an example. Of course, the method shown in the embodiment of the present application can also be applied to other systems. In addition, the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. It should also be understood that the "indication" mentioned in the embodiment of the present application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, B can be obtained through C; it can also mean that there is an association relationship between A and B. It should also be understood that the "correspondence" mentioned in the embodiment of the present application can mean that there is a direct or indirect correspondence relationship between the two, or it can mean that there is an association relationship between the two, or it can mean that there is an indication and being indicated, configuration and being configured, etc.
[0074] It should be noted that, for the first master node and the second master node mentioned in the embodiments of the present application, "first" and "second" are only used for distinction. In fact, the first master node and the second master node have the same functions; for the first slave node, the second slave node and the third slave node, "first", "second" and "third" are only used for distinction. In fact, the first slave node, the second slave node and the third slave node all have the same functions.
[0075] Figure 2 This is a schematic diagram of the data storage method provided in the embodiment of the present application. Figure 1 ,like Figure 2 As shown, the data storage method is applied to the first master node, which is the master node in the first area, and the specific steps include:
[0076] Step 201: Receive a data storage request, where the data storage request carries data information of a user equipment UE.
[0077] Here, the first master node is the master node in the first area after being divided by area. The first master node can be a base station, a core network, a near real-time wireless intelligent controller (Near-RT RIC), or a non-real-time wireless intelligent controller (Non-RTRIC). It should be noted that the first master node can also be called a MasterA node, and the first area can also be called a ZoneA area. Of course, the first area can also have other implementation methods, and the first master node can also have other names, which are not limited in this application.
[0078] In some embodiments, the method of area division is consistent with the tracking area (TA), and storage nodes belonging to the same tracking area are divided into the same storage area. At this time, the first master node is the master node in the first area after the tracking area is divided. The first master node is a base station, and different storage areas interact through the master node.
[0079] In some implementations, the method of area division is based on the core network's jurisdictional area, that is, storage nodes connected to the same core network are divided into the same storage area. At this time, the first master node is the master node in the first area after division according to the core network. The first master node is the core network, and different storage areas interact through the core network.
[0080] In some embodiments, the method of area division is based on the Near-RT RIC jurisdiction area division, that is, the storage nodes connected to the same Near-RT RIC are divided into the same storage area. At this time, the first master node is the master node in the first area after the division according to the Near-RT RIC. The first master node is the Near-RT RIC, and different storage areas interact through Near-RTRIC.
[0081] In some embodiments, the method of area division is based on the area division under the jurisdiction of Non-RT RIC, that is, the storage nodes connected to the same Non-RT RIC are divided into the same storage area. At this time, the first master node is the master node in the first area after the division according to Non-RT RIC. The first master node is Non-RT RIC, and different storage areas interact through Non-RT RIC.
[0082] In some embodiments, the first master node receives a data storage request, which carries data information of the UE including: UE identifier, application name and identifier, attached base station identifier, data size, data storage time, required storage type, and terminal location information.
[0083] Step 202: Filter out a first slave node that meets the data storage requirement of the UE within a first area based on the data information of the UE.
[0084] Here, the first slave node is a slave node that the first master node selects in the first area according to the data information of the UE to meet the data storage needs of the UE. The slave node is a base station in the first area. Of course, the slave node can also have other names, which are not limited in this application. Specifically, the first master node selects a slave node that is closer to the UE within a certain range according to the UE location information, and the storage type of the slave node matches the UE data information, and the size of the storage space available from the slave node is greater than the size of the data sent by the UE. After the master node finds a suitable slave node, if the number of suitable slave nodes is two or more, the slave node that already has the UE data is preferentially selected as the first node, and the first slave node is matched by the UE identifier, or the master node preferentially selects a slave node that already has corresponding application data as the first slave node, and matches the first slave node by the application name and identifier.
[0085] Step 203: Send a data storage indication to the first slave node, where the data storage indication is used to instruct the first slave node to allocate a first storage space for the UE.
[0086] Here, after the first master node selects a suitable first slave node, it sends a data storage indication for storing UE data to the first slave node. The first slave node allocates a first storage space for the UE according to the data storage indication, and after allocating the first storage space for the UE, sends a data storage response to the first master node.
[0087] In some implementations, the first slave node allocates a first storage space and an access port for receiving data to the UE, and starts data receiving and storage services, waiting for the UE to send required data.
[0088] In some implementations, the first master node sends a data storage indication to the first slave node, and the data storage indication carries information including: UE identifier, application name and identifier, attached base station identifier, data size, data storage time, and required storage type.
[0089] Step 204: Receive a data storage response sent by the first slave node, and send a data storage response, where the data storage response carries path information of the first storage space, and the path information of the first storage space is used for the UE to store data to the first slave node.
[0090] In some implementations, after receiving the data storage response sent by the first slave node, the method further includes: establishing or updating an association relationship between the data information of the UE and the first slave node.
[0091] Here, after receiving the data storage response sent by the first slave node, if the first slave node is the first slave node storing the UE data, the first master node establishes an association relationship between the UE data information and the first slave node; if the first slave node is a slave node that has stored the UE data or has corresponding application data, the first master node updates the association relationship between the UE data information and the first slave node. The association relationship can be a UE data mapping table, including a UE identifier, an application identifier, a total data size, and a first slave node identifier.
[0092] From the above, it can be seen that a data storage method provided by an embodiment of the present application divides the area and sets the first master node as the master node in the first area. The first master node receives the data storage request and screens out the first slave node that meets the data storage needs of the UE in the first area based on the data information of the UE carried in the data storage request. The first master node sends a data storage indication to the first slave node to instruct the first slave node to allocate a first storage space for the UE, and receives a data storage response sent by the first slave node carrying the path information of the first storage space, and the path information of the first storage space is used by the UE to store data to the first slave node. In this way, the distributed storage nodes are divided into regions, and the storage nodes in the region store the accessed data nearby according to the location of the user, thereby meeting the demand for low-latency access to data, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and improving the user's business experience.
[0093] In some implementations, in step 201, receiving a data storage request includes: receiving a data storage request sent by a UE. In step 204, sending a data storage response includes: sending the data storage response to the UE.
[0094] Here, refer to Figure 3 , Figure 3 This is a schematic diagram of the data storage method provided in the embodiment of the present application. Figure 2 , indicating that the first master node selects a suitable first slave node to store UE data. The specific steps are as follows:
[0095] Step 301: The first master node receives a data storage request sent by a UE, which carries data information of the UE.
[0096] Here, the UE sends a data storage request to the first master node, and the data information of the UE carried in the data storage request is the same as above.
[0097] Step 302: The first master node searches for a suitable first slave node.
[0098] Step 303: The first master node sends a data storage indication to the first slave node.
[0099] Step 304: The first slave node allocates a first storage space.
[0100] Step 305: The first slave node sends a data storage response to the first master node.
[0101] Step 306: The first master node establishes or updates an association relationship between the UE data information and the first slave node.
[0102] Step 307: The first master node sends a data storage response to the UE, carrying path information of the first storage space.
[0103] Step 308: The UE establishes a connection with the assigned first slave node, sends data to be stored to the first slave node, and the first slave node stores the data sent by the UE.
[0104] From the above, it can be seen that an embodiment of the present application provides a data storage method, in which the first master node receives a data storage request sent by the UE, receives a data storage response carrying path information of the first storage space sent by the first slave node and sends it to the UE; in this way, the first master node completes the task of discovering and managing the slave nodes in the area, and assigns suitable slave storage nodes to users to store data; on the other hand, it completes the division of distributed storage nodes by region, and the storage nodes in the region store the accessed data nearby according to the user's location, thereby meeting the demand for low-latency data access, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and thus preventing the transmission network from experiencing great transmission pressure, thereby improving the user's business experience.
[0105] In some implementations, in step 201, receiving a data storage request includes: receiving a data storage request sent by a second slave node, where the second slave node is a slave node in the first region. In step 204, sending a data storage response includes: sending a data storage response to the second slave node, where the data storage response is forwarded by the second slave node to the UE.
[0106] Here, refer to Figure 4 , Figure 4 This is a schematic diagram of the data storage method provided in the embodiment of the present application. Figure 3 , indicating that the second slave node first determines whether it meets the requirement of storing UE data. The second slave node is a slave node in the first area. The specific steps are as follows:
[0107] Step 401: The second slave node receives a data storage request sent by a UE, where the data storage request carries data information of the UE.
[0108] Here, the UE sends a data storage request to the second slave node, and the data information of the UE carried in the data storage request is the same as above.
[0109] Step 402: The second slave node determines whether its own storage condition meets the storage requirement.
[0110] Here, if the second slave node determines that the storage condition is met, steps 403 to 407 are executed; if the storage condition is not met, steps 408 to 416 are executed.
[0111] Step 403: After determining that the storage condition is met, the second slave node allocates a second storage space for the UE.
[0112] Here, the second slave node determines, based on the data information sent by the UE, that the storage type matches the UE, and that the available storage space is greater than the "data size", and that the storage condition is met, and then allocates the second storage space to the UE.
[0113] Step 404: The second slave node sends path information of the second storage space to the UE.
[0114] Step 405: The second slave node sends a data storage response to the first master node.
[0115] Step 406: The first master node establishes or updates the association relationship between the data information of the UE and the second slave node.
[0116] Step 407: The UE sends data to be stored to the second slave node, and the second slave node stores the data sent by the UE.
[0117] Step 408: If the second slave node determines that the storage condition is not met, it sends a data storage request to the first master node.
[0118] Step 409: The first master node searches for a suitable first slave node.
[0119] Step 410: The first master node sends a data storage indication to the first slave node.
[0120] Step 411: The first slave node allocates a first storage space.
[0121] Step 412: The first slave node sends a data storage response to the first master node.
[0122] Step 413: The first master node establishes or updates the association relationship between the UE data information and the first slave node.
[0123] Step 414: The first master node sends a data storage response to the second slave node, carrying path information of the first storage space.
[0124] Step 415: The second slave node sends the path information of the first storage space to the UE.
[0125] Step 416: The UE establishes a connection with the assigned first slave node, sends data to be stored to the first slave node, and the first slave node stores the data sent by the UE.
[0126] From the above, it can be seen that a data storage method provided by an embodiment of the present application receives a data storage request sent by a UE through a second slave node, and the second slave node determines whether it meets the storage requirements. If so, it directly stores the data; if not, it sends a data storage request to the first master node. In this way, on the one hand, the slave node can first determine whether it meets the storage requirements, thereby reducing storage pressure; on the other hand, the distributed storage nodes are divided into regions, and the storage nodes in the region store the accessed data nearby according to the user's location, thereby meeting the demand for low-latency data access, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and thus bringing great transmission pressure to the transmission network, thereby improving the user's business experience.
[0127] In some implementations, in step 201, receiving a data storage request includes: receiving a data storage request sent by a second master node, where the second master node is a master node in the second region. In step 204, sending a data storage response includes: sending a data storage response to the second master node, where the data storage response is forwarded by the second master node to the UE.
[0128] Here, refer to Figure 5 , Figure 5 This is a schematic diagram of the data storage method provided in the embodiment of the present application. Figure 4 , indicating that when the UE moves to another area such as the second area, cross-domain data access will occur. The specific steps are as follows:
[0129] Step 501: The UE sends a data storage request to the second master node, where the data storage request carries the data information of the UE and the information of the first master node.
[0130] Here, the UE sends a data storage request to the master node of the second area where it is currently located (i.e., the second master node). At this time, the data storage request not only carries the UE's data information, but also carries the address of the master node of the first area where it was located before crossing the area (i.e., the first master node), which is used for the second master node to establish a connection with the first master node.
[0131] Step 502: The first master node receives a data storage request sent by the second master node.
[0132] Here, the data storage request carries the data information of the UE. The data information of the UE is used by the first master node to screen out the first slave node that meets the data storage demand of the UE within the first area. The data information of the UE is the same as above.
[0133] Step 503: The first master node searches for a suitable first slave node.
[0134] Step 504: The first master node sends a data storage indication to the corresponding first slave node.
[0135] Step 505: The first slave node searches for and allocates a first storage space.
[0136] Step 506: The first slave node sends a data storage response to the first master node.
[0137] Step 507: The first master node establishes or updates the association relationship between the UE data information and the first slave node.
[0138] Step 508: The first master node sends a data storage response to the second master node, carrying path information of the first storage space.
[0139] Here, the path information of the first storage space is used for the UE to store data in the first slave node.
[0140] Step 509: The second master node sends a data storage response to the UE, carrying the path information of the first storage space.
[0141] Step 510: The UE establishes a connection with the assigned first slave node, sends data to be stored to the first slave node, and the first slave node stores the data sent by the UE.
[0142] From the above, it can be seen that a data storage method provided by an embodiment of the present application receives a data storage request sent by a second master node through a first master node, and sends a data storage response to the second master node, and the data storage response is forwarded by the second master node to the UE; in this way, on the one hand, cross-domain data storage is realized when the UE moves to other areas; on the other hand, the distributed storage nodes are divided into regions, and the storage nodes in the region store the accessed data nearby according to the location of the user, thereby meeting the demand for low-latency access to data, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and thus preventing the transmission network from suffering great transmission pressure, thereby improving the user's business experience.
[0143] In some implementations, in step 201, receiving a data storage request includes: receiving a data storage request sent by a second master node, the second master node being a master node in a second region. In step 204, sending a data storage response includes: sending the data storage response to the UE.
[0144] Here, refer to Figure 6 , Figure 6 This is a schematic diagram of the data storage method provided in the embodiment of the present application. Figure 5, which means that when the UE reads and stores data across domains and detects that data access is too slow, it will perform the data cross-domain migration process. The specific steps are as follows:
[0145] Step 601: UE performs cross-domain data storage.
[0146] Here, it indicates that the UE is performing cross-domain data storage.
[0147] Step 602: The third slave node detects that the storage delay of the UE data at the third slave node side is greater than or equal to a first threshold and / or the transmission bandwidth is less than or equal to a second threshold.
[0148] Here, the third slave node is a slave node in the second area. When the UE performs cross-domain data reading and storage, if it detects that the data access is too slow, it will perform a cross-domain data migration process. Specifically, when the third slave node detects that the data storage delay is large or the transmission bandwidth is limited, it will perform cross-domain data migration, and the cross-domain data migration refers to the UE migrating the stored data information from the area where it is located to a slave node in another area.
[0149] Step 603: The third slave node sends a data temporary storage request to the second master node.
[0150] Step 604: The second master node sends a data temporary storage request to the first master node.
[0151] Step 605: The first master node searches for a suitable first slave node.
[0152] Step 606: The first master node sends a data storage indication to the corresponding first slave node.
[0153] Step 607: The first slave node searches for and allocates a first storage space.
[0154] Step 608: The first slave node sends a data storage response to the first master node.
[0155] Step 609: The first master node sends a data storage response to the UE.
[0156] Here, the data storage response is used to indicate that the UE data storage address is updated.
[0157] Step 610: The UE sends the stored data to the first slave node.
[0158] Step 611: The first master node sends a data temporary storage response to the second master node, carrying path information of the first storage space.
[0159] Step 612: The first slave node transmits data to the third slave node.
[0160] In some embodiments, reference Figure 6 When the UE is reading cross-domain data, if the UE sends the cross-domain data reading too slowly, data migration will be performed. The specific steps are as follows.
[0161] Step 613: The UE sends a data migration request to the first master node because the cross-domain data reading is too slow.
[0162] Here, it means that the UE is preparing for cross-regional data migration. Specifically, when the third slave node detects that the storage delay of the UE's data on the third slave node side is greater than or equal to the first threshold and / or the transmission bandwidth is less than or equal to the second threshold, the UE sends a data migration request to the first master node.
[0163] Step 614: The first master node sends a data migration request to the second master node, carrying data information of the UE.
[0164] Step 615: The second master node searches for the third slave node associated with the data information of the UE.
[0165] Here, the second master node searches for the corresponding third slave node according to the data migration information requested by the UE.
[0166] Step 616: The second master node sends a data migration request to the third slave node.
[0167] Step 617: The third slave node sends a data migration response to the second master node, where the data migration response carries data migration path information.
[0168] Here, the data migration path information is path information for storing UE data in the third slave node.
[0169] Step 618: The second master node sends a data migration response to the first master node, where the data migration response carries data migration path information.
[0170] Step 619: The first master node sends a data migration access path to the first slave node.
[0171] Step 620: The first slave node receives and stores data from the UE of the third slave node.
[0172] Step 621: The first master node sends data migration path information on the first slave node to the UE.
[0173] Step 622: The UE reads data from the first slave node.
[0174] From the above, it can be seen that a data storage method provided by an embodiment of the present application receives a data storage request sent by a second master node through a first master node, and sends the data storage response to the UE; in this way, on the one hand, when the UE performs cross-domain data reading and storage, if it detects that the data access is too slow, it executes cross-domain data migration; on the other hand, it completes the division of distributed storage nodes by region, and the storage nodes in the region store the accessed data nearby according to the user's location, thereby meeting the demand for low-latency data access, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and bringing great transmission pressure to the transmission network, thereby improving the user's business experience.
[0175] Figure 7 This is a schematic diagram of the data reading method provided in the embodiment of the present application. Figure 1 ,like Figure 7 As shown, the data reading method is applied to the first master node, and the specific steps include:
[0176] Step 701: Receive a data read request, where the data read request carries data information of the UE.
[0177] Here, the first master node receives a data reading request, the data reading request carries the data information of the UE, and the data information of the UE is the same as above.
[0178] Step 702: Find the first slave node associated with the data information of the UE.
[0179] Here, the first master node searches for the first slave node corresponding to the UE data according to the established association relationship, that is, the UE data mapping table, where the UE data mapping table includes a UE identifier, an application identifier, a total data size, and a slave node identifier.
[0180] Step 703: Send a data read response, where the data read response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to read data from the first slave node.
[0181] Here, after finding the first slave node storing the UE data, the first master node sends the path information of the first storage space for storing the UE data information, so that the UE can read the data.
[0182] In some implementations, in step 701, receiving a data read request includes: receiving a data read request sent by a UE. In step 703, sending a data read response includes: sending a data read response to the UE.
[0183] Here, refer to Figure 8 , Figure 8 This is a schematic diagram of the data reading method provided in the embodiment of the present application. Figure 2, which indicates the process of UE reading data after storing data in a region. The specific steps are as follows:
[0184] Step 801: The first master node receives a data reading request sent by a UE, where the data reading request carries data information of the UE.
[0185] Step 802: The first master node searches for a first slave node associated with data information of the UE.
[0186] Step 803: The first master node sends a data read response to the UE, where the data read response carries path information of the first storage space of the first slave node.
[0187] Step 804: The UE reads data from the first slave node according to the path information of the first storage space.
[0188] In some implementations, in step 701, receiving a data read request includes: receiving a data read request sent by a second master node, where the second master node is a master node in the second region. In step 703, sending a data read response includes: sending a data read response to the second master node, where the data read response is forwarded by the second master node to the UE.
[0189] Here, refer to Fig. 9 , Fig. 9 This is a schematic diagram of the data reading method provided in the embodiment of the present application. Figure 3 , indicating that the UE performs cross-zone storage, and the process of reading data after the UE stores the data. The specific steps are as follows:
[0190] Step 901: The UE sends a data read request to the second master node, where the data read request carries data information of the UE.
[0191] Step 902: The first master node receives a data read request sent by the second master node.
[0192] Step 903: The first master node searches for a first slave node associated with the data information of the UE.
[0193] Step 904: The first master node sends a data read response to the second master node, where the data read response carries path information of the first storage space of the first slave node.
[0194] Step 905: The second master node sends a data read response to the UE, where the data read response carries path information of the first storage space of the first slave node.
[0195] Step 906: The UE reads data from the first slave node according to the path information of the first storage space.
[0196] From the above, it can be seen that an embodiment of the present application provides a data storage method, in which the first master node receives a data read request, searches for the first slave node that has an association with the data information of the UE, and sends a data read response carrying the path information of the first storage space of the first slave node; in this way, on the one hand, the first master node completes the UE reading data from the first slave node according to the path information of the first storage space; on the other hand, it completes the division of distributed storage nodes by region, and the storage nodes in the region store the accessed data nearby according to the location of the user, thereby meeting the demand for low-latency data access, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and thus bringing great transmission pressure to the transmission network, thereby improving the user's business experience.
[0197] Fig.10 is a flow chart of a data storage service registration and update method provided in an embodiment of the present application, such as Fig.10 As shown, applied to the first master node, the method includes:
[0198] Step 1001: Receive a storage service registration request sent by a slave node in the first area, where the storage service registration request carries storage information of the slave node.
[0199] Here, the storage information of the slave node carried in the storage service registration request includes: the slave node name and identifier, if the slave node is a base station, the base station name and global ID, the access path of the slave node storage space, the slave node storage space type, the available size of the slave node storage space, and the available time of the slave node storage space.
[0200] Step 1002: Create a storage information table based on the storage information of the slave node.
[0201] Here, the first master node establishes a storage information table based on the storage information of the slave node, which is used to find a suitable slave node when storing data and to establish an association relationship between the UE's data information and the slave node.
[0202] Step 1003: Send a storage service registration request response to the slave node.
[0203] Here, after the first master node establishes the storage information table, it sends a storage service registration request response to the slave node to complete the storage service of the slave node.
[0204] In some implementations, when the stored data is updated, the slave node sends an update instruction to the first master node, and the first master node updates the stored information. The specific steps include:
[0205] Step 1004: Receive a storage information update indication sent by a slave node in the first area, where the storage information update indication carries storage information updated by the slave node.
[0206] Step 1005: Update the storage information table based on the storage information updated by the slave node.
[0207] Step 1006: Send a storage information update response to the slave node.
[0208] From the above, it can be seen that an embodiment of the present application provides a data storage method, in which a first master node establishes a storage information table by receiving a storage service registration request sent by a slave node in the first area, and receives a storage information update indication sent by a slave node in the first area to update the storage information table; in this way, on the one hand, the first master node completes the data storage service registration and data update; on the other hand, the distributed storage nodes are divided into regions, and the storage nodes in the region store the accessed data nearby according to the location of the user, thereby meeting the demand for low-latency access to data, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and thus preventing the transmission network from experiencing great transmission pressure, thereby improving the user's business experience.
[0209] Fig.11 This is a schematic diagram of the data storage method provided in the embodiment of the present application. Figure 6 ,like Fig.11 As shown, the data storage method is applied to the second slave node, the second slave node is a slave node in the first area, and the specific steps include:
[0210] Step 1101: Receive a data storage request sent by a UE, where the data storage request carries data information of the UE.
[0211] Here, refer to Figure 4 The second slave node receives a data storage request sent by the UE, and the data storage request carries the UE data information including: UE identifier, application name and identifier, attached base station identifier, data size, data storage time, required storage type, and terminal location information.
[0212] Step 1102: Check whether the second slave node meets the data storage requirement of the UE based on the data information of the UE.
[0213] Here, the second slave node checks whether its own storage conditions meet the UE's data storage requirements based on the UE's data information. Specifically, the second slave node determines whether it matches the UE storage type and whether the available storage space is greater than the "data size" based on the data information sent by the UE.
[0214] Step 1103: If the second slave node does not meet the data storage requirements of the UE, a data storage request is sent to the first master node, and a data storage response is received from the first master node; a data storage response is sent to the UE, the data storage response carries the path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data in the first slave node; wherein the first master node is the master node in the first area.
[0215] Here, if the second slave node determines that the data storage demand of the UE is not met based on the data information sent by the UE, a data storage request is sent to the first master node. The first master node searches for a suitable first slave node and sends a data storage indication to the first slave node. The first slave node allocates a first storage space and sends a data storage response to the first master node. The first master node establishes or updates the association between the UE data information and the first slave node, and sends a data storage response to the second slave node, carrying the path information of the first storage space. The second slave node receives the data storage response sent by the first master node, and sends the path information of the first storage space to the UE. The UE establishes a connection with the allocated first slave node, sends the data to be stored to the first slave node, and the first slave node stores the data sent by the UE.
[0216] In some embodiments, if the second slave node meets the data storage requirements of the UE, a second storage space is allocated to the UE, and a data storage response is sent to the UE. The data storage response carries path information of the second storage space, and the path information of the second storage space is used by the UE to store data to the second slave node.
[0217] Here, if the second slave node determines that the data storage requirements of the UE are met based on the data information sent by the UE, a second storage space is allocated to the UE, and path information of the second storage space is sent to the UE, where the path information of the second storage space is used by the UE to store data to the second slave node. The UE sends the data to be stored to the second slave node, and the second slave node stores the data sent by the UE.
[0218] In some implementations, after allocating the second storage space for the UE, it also includes: sending a data storage response to the first master node, where the data storage response is used by the first master node to establish or update the association relationship between the UE's data information and the second slave node.
[0219] Here, the second slave node sends a data storage response to the first master node, and the first master node establishes or updates the association relationship between the UE's data information and the second slave node. If the second slave node is the first slave node that stores the UE data, the first master node establishes the association relationship between the UE's data information and the second slave node; if the second slave node is a slave node that has stored the UE data or has corresponding application data, the first master node updates the association relationship between the UE's data information and the second slave node. The association relationship can be a UE data mapping table, including a UE identifier, an application identifier, a total data size, and a second slave node identifier.
[0220] From the above, it can be seen that a data storage method provided by an embodiment of the present application receives a data storage request sent by a UE through a second slave node, and the second slave node determines whether it meets the storage requirements. If so, it directly stores the data; if not, it sends a data storage request to the first master node. In this way, on the one hand, the slave node can first determine whether it meets the storage requirements, thereby reducing storage pressure; on the other hand, the distributed storage nodes are divided into regions, and the storage nodes in the region store the accessed data nearby according to the user's location, thereby meeting the demand for low-latency data access, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and thus bringing great transmission pressure to the transmission network, thereby improving the user's business experience.
[0221] Fig.12 This is a schematic diagram of the data storage method provided in the embodiment of the present application. Figure 7 ,like Fig.12 As shown, the data storage method is applied to the second master node, the second master node is the master node in the second area, and the specific steps include:
[0222] Step 1201, receive a data storage request sent by the UE, and send a data storage request to the first master node, the data storage request carries the data information of the UE, the data information of the UE is used by the first master node to screen out a first slave node that meets the data storage needs of the UE within the first area; the first master node is the master node in the first area.
[0223] Here, the second master node is the master node in the second area after being divided by area. The second master node can be a base station, a core network, a Near-RT RIC, or a Non-RT RIC. It should be noted that the second master node can also be called a MasterB node, and the second area can also be called a ZoneB area. Of course, the second area can also have other implementation methods, and the second master node can also have other names, which are not limited in this application.
[0224] In some implementations, the area division method is consistent according to the tracking area, and the storage nodes belonging to the same tracking area are divided into the same storage area. At this time, the second master node is the master node in the second area after the tracking area is divided, and the second master node is a base station.
[0225] In some implementations, the area division method is based on the core network's jurisdiction area, that is, storage nodes connected to the same core network are divided into the same storage area. At this time, the second master node is the master node in the second area after the core network is divided, and the second master node is the core network.
[0226] In some embodiments, the area division method is based on the Near-RT RIC jurisdiction area division, that is, the storage nodes connected to the same Near-RT RIC are divided into the same storage area. At this time, the second master node is the master node in the second area after the Near-RT RIC is divided, and the second master node is the Near-RT RIC.
[0227] In some embodiments, the area division method is based on the Non-RT RIC jurisdiction area division, that is, the storage nodes connected to the same Non-RT RIC are divided into the same storage area. At this time, the second master node is the master node in the second area after the division according to the Non-RT RIC, and the second master node is the Non-RT RIC.
[0228] In some implementations, the second master node receives a data storage request sent by the UE and sends a data storage request to the first master node. The data storage request carries the UE's data information including: UE identification, application name and identification, attached base station identification, data size, data storage time, required storage type, and terminal location information. Here, refer to Figure 5 , the UE sends a data storage request to the master node of the second area where it is currently located (i.e., the second master node). At this time, in addition to carrying the UE's data information, the data storage request also carries the address of the master node of the first area where it was located before crossing the area (i.e., the first master node), which is used for the second master node to establish a connection with the first master node. The first master node receives the data storage request sent by the second master node, searches for a suitable first slave node, and sends a data storage indication to the corresponding first slave node. The first slave node searches for and allocates the first storage space, and sends a data storage response to the first master node. The first master node establishes or updates the association between the UE data information and the first slave node, and sends a data storage response to the second master node, carrying the path information of the first storage space.
[0229] Step 1202: Receive a data storage response sent by the first master node, and send a data storage response to the UE, where the data storage response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data to the first slave node.
[0230] Here, the second master node receives the data storage response sent by the first master node, and sends the data storage response to the UE. The UE establishes a connection with the assigned first slave node, sends the data to be stored to the first slave node, and the first slave node stores the data sent by the UE.
[0231] From the above, it can be seen that a data storage method provided in an embodiment of the present application sends a data storage request to the first master node through the second master node, and the first master node sends the data storage response to the UE; in this way, on the one hand, when the UE performs cross-domain data reading and storage, if it detects that the data access is too slow, it executes cross-domain data migration; on the other hand, it completes the division of distributed storage nodes by region, and the storage nodes in the region store the accessed data nearby according to the user's location, thereby meeting the demand for low-latency data access, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and bringing great transmission pressure to the transmission network, thereby improving the user's business experience.
[0232] In some embodiments, reference Fig.13 , Fig.13 This is a schematic diagram of the data reading method provided in the embodiment of the present application. Figure 4 ,like Fig.13 As shown, the data reading method is applied to the second master node, and the specific steps include:
[0233] Step 1301: Receive a data read request sent by a UE, and send the data read request to a first master node, where the data read request carries data information of the UE, and the data information of the UE is used by the first master node to search for a first slave node associated with the data information of the UE.
[0234] Here, refer to Figure 8 The second master node receives the data read request sent by the UE, and sends a data read request to the first master node, the data read request carries the data information of the UE, and the data information of the UE is the same as above. The first master node receives the data read request sent by the second master node, searches for the first slave node associated with the data information of the UE, and sends a data read response to the second master node, the data read response carries the path information of the first storage space of the first slave node.
[0235] Step 1302: receive a data read response sent by the first master node, and send a data read response to the UE, where the data read response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to read data from the first slave node.
[0236] Here, the second master node receives the data read response sent by the first master node, and sends the data read response carrying the path information of the first storage space of the first slave node to the UE. The UE reads data from the first slave node according to the path information of the first storage space.
[0237] From the above, it can be seen that an embodiment of the present application provides a data storage method, in which the second master node receives a data read request and sends it to the first master node, the first master node searches for a first slave node that has an association with the data information of the UE, and sends a data read response carrying the path information of the first storage space of the first slave node to the second master node; in this way, on the one hand, the second master node completes the UE's cross-regional data reading; on the other hand, it completes the division of distributed storage nodes by region, and the storage nodes within the region store the accessed data nearby according to the user's location, thereby meeting the demand for low-latency data access, realizing differentiated storage data, avoiding the problem of low rate caused by a large number of users accessing data, and bringing great transmission pressure to the transmission network, thereby improving the user's business experience.
[0238] Fig.14 This is a schematic diagram of the data storage method provided in the embodiment of the present application. Figure 8 ,like Fig.14 As shown, the data storage method is applied to the second master node, the second master node is the master node in the second area, and the specific steps include:
[0239] Step 1401, receive a data storage request sent by the third slave node, and send a data storage request to the first master node, the data storage request carries the data information of the UE, the data information of the UE is used by the first master node to screen out the first slave node that meets the data storage needs of the UE within the first area; the first master node is the master node in the first area; the third slave node is the slave node in the second area.
[0240] In some embodiments, the data storage request is sent by the third slave node to the second master node when it detects that the storage delay of the UE data on the third slave node side is greater than or equal to a first threshold and / or the transmission bandwidth is less than or equal to a second threshold.
[0241] Here, refer to Figure 6, the third slave node is a slave node in the second area. When the UE performs cross-domain data reading and storage, it detects that the data access is too slow, and then executes the data cross-domain migration process. Specifically, when the third slave node detects that the data storage delay is large or the transmission bandwidth is limited, it executes data cross-domain migration, and the data cross-domain migration refers to the UE migrating the stored data information from the area where it is located to the slave node of another area. The second master node receives the data storage request sent by the third slave node, and sends a data storage request to the first master node. The first master node searches for a suitable first slave node and sends a data storage indication to the corresponding first slave node. The first slave node searches and allocates a first storage space, and sends a data storage response to the first master node. The first master node sends a data storage response to the UE, and the UE sends the stored data to the first slave node. The first master node sends a data temporary storage response to the second master node, carrying the path information of the first storage space.
[0242] Step 1402: Receive a data storage response sent by the first master node, where the data storage response carries path information of a first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data in the first slave node.
[0243] Here, the second master node receives the data storage response sent by the first master node, and the first slave node transmits the stored data sent by the UE to the first slave node to the third slave node.
[0244] In some embodiments, reference Fig.15 , Fig.15 is a flow chart of a data migration method provided in an embodiment of the present application, such as Fig.15 As shown, the data migration method is applied to the second master node, and the specific steps include:
[0245] Step 1501: Receive a data migration request sent by a first master node, where the data migration request carries data information of a UE.
[0246] Here, refer to Figure 6 When the UE is reading cross-domain data, if the UE sends the cross-domain data reading too slowly, it will perform data migration and send a data migration request to the first master node. The first master node sends the data migration request to the second master node, carrying the data information of the UE.
[0247] Step 1502: Find a third slave node associated with the data information of the UE.
[0248] Here, the second master node searches for the corresponding third slave node according to the data migration information requested by the UE.
[0249] Step 1503: Send a data migration request to the third slave node, and receive a data migration response sent by the third slave node, where the data migration response carries data migration path information, and the data migration path information is path information for storing UE data in the third slave node.
[0250] Here, the second master node searches for the corresponding third slave node according to the data migration information requested by the UE, and sends a data migration request to the third slave node. The third slave node sends a data migration response to the second master node, and the data migration response carries data migration path information, which is the path information of the UE data stored in the third slave node.
[0251] Step 1504: Send data migration path information to the first master node. The data migration path information is sent by the first master node to the first slave node. The data migration path information is used by the first slave node to receive and store data from the UE of the third slave node.
[0252] Here, the second master node receives the data migration response carrying the data migration path information sent by the third slave node, and sends the data migration path information to the first master node. The first master node sends the data migration access path to the first slave node, the first slave node receives and stores the data of the UE from the third slave node, the first master node sends the data migration path information on the first slave node to the UE, and the UE reads the data from the first slave node.
[0253] From the above, it can be seen that a data storage method provided in an embodiment of the present application receives a data storage request sent by a third slave node through a second master node, sends the data temporary storage request to the first master node, receives a data migration request sent by the first master node, and responds to the data migration request; in this way, on the one hand, when the UE performs cross-domain data reading and storage, if it detects that the data access is too slow, then cross-domain data migration is performed; on the other hand, the distributed storage nodes are divided into regions, and the storage nodes in the region store the accessed data nearby according to the user's location, thereby meeting the demand for low-latency data access, realizing differentiated storage of data, avoiding the problem of low rate caused by a large number of users accessing data, and thus bringing great transmission pressure to the transmission network, thereby improving the user's business experience.
[0254] Embodiment 1
[0255] Fig.16 This is the process of the data storage method provided in the embodiment of the present application Figure 9 ,like Fig.16As shown, the method of area division is consistent with the tracking area, and the storage nodes belonging to the same tracking area are divided into the same storage area. At this time, the first master node is the master node in the first area after the tracking area is divided. The first master node and the first slave node are both base stations, and the base stations are connected through a transmission ring. The specific steps of the data storage and reading method include:
[0256] Step 1601: The first master node receives a data storage request sent by a UE, which carries data information of the UE.
[0257] Here, the data storage request is transmitted between the first master node and the UE via Radio Resource Control (RRC).
[0258] Step 1602: The first master node searches for a suitable first slave node.
[0259] Step 1603: The first master node sends a data storage indication to the first slave node.
[0260] Here, the master node and the slave node interact through the XN control plane interface (Xn-C interface) and the user plane function interface (XN-U). The Xn-C interface adds storage node management and control messages, including storage service registration, storage data update, storage address indication and other control management messages, and supports control information interaction between master nodes. The Xn user plane supports data migration between slave nodes.
[0261] Step 1604: The first slave node allocates a first storage space.
[0262] Step 1605: The first slave node sends a data storage response to the first master node.
[0263] Here, the master node and the slave node send data storage responses via the XN-C interface.
[0264] Step 1606: The first master node establishes or updates the association relationship between the UE data information and the first slave node.
[0265] Step 1607: The first master node sends a data storage response to the UE, carrying path information of the first storage space.
[0266] Here, the first master node and the UE transmit the data storage response via RRC.
[0267] Step 1608: The UE establishes a connection with the assigned first slave node, sends data to be stored to the first slave node, and the first slave node stores the data sent by the UE.
[0268] Here, the UE and the first slave node store data according to Internet Protocol (IP) and Packet Data Convergence Protocol (PDCP). The user's data can be directly stored on the base station, and is preferentially stored on the base station serving the user.
[0269] Step 1609: The first master node receives a data reading request sent by the UE, where the data reading request carries data information of the UE.
[0270] Here, the data reading request is transmitted between the first master node and the UE via RRC.
[0271] Step 1610: The first master node searches for a first slave node associated with data information of the UE.
[0272] Step 1611: The first master node sends a data read response to the UE, where the data read response carries path information of the first storage space of the first slave node.
[0273] Here, the first master node and the UE transmit the data reading response via RRC.
[0274] Step 1612: The UE reads data from the first slave node according to the path information of the first storage space.
[0275] Here, the UE and the first slave node read data according to IP and PDCP.
[0276] Embodiment 2
[0277] Fig.17 This is the process of the data storage method provided in the embodiment of the present application Figure 10 ,like Fig.17 As shown, the method of regional division is divided according to the core network jurisdiction area, that is, the storage nodes connected to the same core network are divided into the same storage area, and the storage areas interact through the core network. The interface between the core networks needs to be extended to support the control information interaction between the master nodes; at this time, the first master node is the master node in the first area after the core network is divided, the first master node is the core network, and the base station connected to the first master node is divided into the slave node in the first area, and the base stations are connected through a transmission ring; the specific steps of the data storage and reading method include:
[0278] Step 1701: The first master node receives a data storage request sent by a UE, which carries data information of the UE.
[0279] Here, the data storage request is transmitted between the first master node and the UE via the Non Access Stratum (NAS).
[0280] Step 1702: The first master node searches for a suitable first slave node.
[0281] Step 1703: The first master node sends a data storage indication to the first slave node.
[0282] Here, the master node and the slave node interact through the NG control plane interface (NG-C interface) and the user plane function interface (XN-U). The NG-C interface adds storage node management and control messages, including storage service registration, storage data update, storage address indication and other control management messages, and supports control information interaction between master nodes. The Xn user plane supports data migration between slave nodes.
[0283] Step 1704: The first slave node allocates a first storage space.
[0284] Step 1705: The first slave node sends a data storage response to the first master node.
[0285] Here, the master node and the slave node send data storage responses through the NG-C interface.
[0286] Step 1706: The first master node establishes or updates the association relationship between the UE data information and the first slave node.
[0287] Step 1707: The first master node sends a data storage response to the UE, carrying path information of the first storage space.
[0288] Here, the data storage response is transmitted between the first master node and the UE via NAS.
[0289] Step 1708: The UE establishes a connection with the assigned first slave node, sends data to be stored to the first slave node, and the first slave node stores the data sent by the UE.
[0290] Here, the UE and the first slave node store data according to IP and PDCP. The user's data can be directly stored on the base station, and is preferentially stored on the base station serving the user.
[0291] Step 1709: The first master node receives a data reading request sent by the UE, where the data reading request carries data information of the UE.
[0292] Here, the data reading request is transmitted between the first master node and the UE via NAS.
[0293] Step 1710: The first master node searches for a first slave node associated with data information of the UE.
[0294] Step 1711: The first master node sends a data read response to the UE, where the data read response carries path information of the first storage space of the first slave node.
[0295] Here, the data reading response is transmitted between the first master node and the UE via NAS.
[0296] Step 1712: The UE reads data from the first slave node according to the path information of the first storage space.
[0297] Here, the UE and the first slave node read data according to IP and PDCP.
[0298] Embodiment 3
[0299] Fig.18 This is the process of the data storage method provided in the embodiment of the present application Figure 10 One, such as Fig.18 As shown, the method of area division is divided according to the Near-RT RIC jurisdiction area, that is, the storage nodes connected to the same Near-RT RIC are divided into the same storage area, and the storage areas interact through the Near-RT RIC. The interface between the Near-RT RICs needs to be extended to support the control information interaction between the master nodes; at this time, the first master node is the master node in the first area after the Near-RT RIC is divided, the first master node is the Near-RT RIC, and the base station connected to the first master node is divided into the slave node in the first area, and the base stations are connected through the transmission ring; the specific steps of the data storage and reading method include:
[0300] Step 1801: The first master node receives a data storage request sent by a UE, which carries data information of the UE.
[0301] Here, the first master node and the UE transmit the data storage request via the E2 interface and the RRC.
[0302] Step 1802: The first master node searches for a suitable first slave node.
[0303] Step 1803: The first master node sends a data storage indication to the first slave node.
[0304] Here, the master node and the slave node interact through the E2 interface (E2AP). E2AP adds storage node management and control messages, including storage service registration, storage data update, storage address indication and other control management messages, and supports control information interaction between master nodes. The Xn user plane supports data migration between slave nodes.
[0305] Step 1804: The first slave node allocates a first storage space.
[0306] Step 1805: The first slave node sends a data storage response to the first master node.
[0307] Here, the master node and the slave node send data storage responses via E2AP.
[0308] Step 1806: The first master node establishes or updates the association relationship between the UE data information and the first slave node.
[0309] Step 1807: The first master node sends a data storage response to the UE, carrying path information of the first storage space.
[0310] Here, the first master node and the UE transmit the data storage response via the E2 interface and the RRC.
[0311] Step 1808: The UE establishes a connection with the assigned first slave node, sends data to be stored to the first slave node, and the first slave node stores the data sent by the UE.
[0312] Here, the UE and the first slave node store data according to IP and PDCP. The user's data can be directly stored on the base station, and is preferentially stored on the base station serving the user.
[0313] Step 1809: The first master node receives a data reading request sent by the UE, where the data reading request carries data information of the UE.
[0314] Here, the first master node and the UE transmit a data read request via the E2 interface and RRC.
[0315] Step 1810: The first master node searches for a first slave node associated with data information of the UE.
[0316] Step 1811: The first master node sends a data read response to the UE, where the data read response carries path information of the first storage space of the first slave node.
[0317] Here, the first master node and the UE transmit the data reading response via the E2 interface and the RRC.
[0318] Step 1812: The UE reads data from the first slave node according to the path information of the first storage space.
[0319] Here, the UE and the first slave node read data according to IP and PDCP.
[0320] Embodiment 4
[0321] Fig.19 This is the process of the data storage method provided in the embodiment of the present application Figure 10 Second, such as Fig.19As shown, the method of regional division is divided according to the Non-RT RIC jurisdiction area, that is, the storage nodes connected to the same Non-RT RIC are divided into the same storage area, and the storage areas interact through the Non-RT RIC. The interface between the Non-RT RICs needs to be extended to support the control information interaction between the master nodes; at this time, the first master node is the master node in the first area after the division according to the Non-RT RIC, the first master node is the Non-RT RIC, and the base station connected to the first master node is divided into the slave node in the first area, and the base stations are connected through the transmission ring; the specific steps of the data storage and reading method include:
[0322] Step 1901: The first master node receives a data storage request sent by a UE, which carries data information of the UE.
[0323] Here, the first master node and the UE transmit the data storage request via the O1 interface and RRC.
[0324] Step 1902: The first master node searches for a suitable first slave node.
[0325] Step 1903: The first master node sends a data storage indication to the first slave node.
[0326] Here, the master node and the slave node interact through the O1 interface. O1 adds storage node management and control messages, including storage service registration, storage data update, storage address indication and other control management messages, and supports control information interaction between master nodes. The Xn user plane supports data migration between slave nodes.
[0327] Step 1904: The first slave node allocates a first storage space.
[0328] Step 1905: The first slave node sends a data storage response to the first master node.
[0329] Here, the master node and the slave node send data storage responses via O1.
[0330] Step 1906: The first master node establishes or updates the association relationship between the UE data information and the first slave node.
[0331] Step 1907: The first master node sends a data storage response to the UE, carrying path information of the first storage space.
[0332] Here, the first master node and the UE transmit the data storage response via the O1 interface and the RRC.
[0333] Step 1908: The UE establishes a connection with the assigned first slave node, sends data to be stored to the first slave node, and the first slave node stores the data sent by the UE.
[0334] Here, the UE and the first slave node store data according to IP and PDCP. The user's data can be directly stored on the base station, and is preferentially stored on the base station serving the user.
[0335] Step 1909: The first master node receives a data reading request sent by the UE, where the data reading request carries data information of the UE.
[0336] Here, the first master node and the UE transmit a data read request via the O1 interface and RRC.
[0337] Step 1910: The first master node searches for a first slave node associated with data information of the UE.
[0338] Step 1911: The first master node sends a data read response to the UE, where the data read response carries path information of the first storage space of the first slave node.
[0339] Here, the first master node and the UE transmit the data reading response via the O1 interface and RRC.
[0340] Step 1912: The UE reads data from the first slave node according to the path information of the first storage space.
[0341] Here, the UE and the first slave node read data according to IP and PDCP.
[0342] Fig. 20 The structure of the data storage device provided in the embodiment of the present application is shown in FIG. Figure 1 , applied to the first master node, the first master node is the master node in the first region, such as Fig. 20 As shown, the data storage device 2000 includes:
[0343] The first main receiving unit 2001 is configured to receive a data storage request, where the data storage request carries data information of a user equipment UE.
[0344] The first main processing unit 2002 is used to screen out a first slave node that meets the data storage demand of the UE within the first area based on the data information of the UE.
[0345] The first master sending unit 2003 is used to send a data storage indication to the first slave node, where the data storage indication is used to instruct the first slave node to allocate a first storage space for the UE.
[0346] The first master receiving unit 2001 is further configured to receive a data storage response sent by the first slave node.
[0347] The first main sending unit 2003 is further used to send the data storage response, where the data storage response carries the path information of the first storage space, and the path information of the first storage space is used by the UE to store data to the first slave node.
[0348] In some implementations, the first main receiving unit 2001 is further configured to receive a data storage request sent by a UE. The first main sending unit 2003 is further configured to send the data storage response to the UE.
[0349] In some implementations, the first master receiving unit 2001 is further configured to receive a data storage request sent by the second slave node. The first master sending unit 2003 is further configured to send the data storage response to the second slave node, and the data storage response is forwarded by the second slave node to the UE.
[0350] In some implementations, the first master receiving unit 2001 is further configured to receive a data storage request sent by a second master node, the second master node being a master node in the second region. The first master sending unit 2003 is further configured to send the data storage response to the second master node, the data storage response being forwarded by the second master node to the UE.
[0351] In some implementations, the first master receiving unit 2001 is further configured to receive a data storage request sent by a second master node, where the second master node is a master node in the second region. The first master sending unit 2003 is further configured to send the data storage response to the UE.
[0352] In some implementations, the first main receiving unit 2001 is further configured to receive a data reading request, where the data reading request carries data information of the UE.
[0353] The first main processing unit 2002 is further used to find a first slave node associated with the data information of the UE.
[0354] The first main sending unit 2003 is also used to send a data read response, which carries path information of the first storage space of the first slave node. The path information of the first storage space is used by the UE to read data from the first slave node.
[0355] In some implementations, the first main receiving unit 2001 is further configured to receive a data read request sent by a UE. The first main sending unit 2003 is further configured to send a data read response to the UE.
[0356] In some implementations, the first master receiving unit 2001 is further configured to receive a data read request sent by a second master node, where the second master node is a master node in the second region. The first master sending unit 2003 is further configured to send a data read response to the second master node, where the data read response is forwarded by the second master node to the UE.
[0357] In some implementations, the first main receiving unit 2001 is further used to receive a storage service registration request sent by a slave node in the first area, where the storage service registration request carries storage information of the slave node.
[0358] In some implementations, the first main processing unit 2002 is further configured to establish a storage information table based on the storage information of the slave nodes.
[0359] In some implementations, the first master sending unit 2003 is further configured to send a storage service registration request response to the slave node.
[0360] In some implementations, the first master receiving unit 2001 is further configured to receive a storage information update indication sent by a slave node in the first area, where the storage information update indication carries storage information updated by the slave node.
[0361] In some implementations, the first main processing unit 2002 is further configured to update the storage information table based on the storage information updated by the slave node.
[0362] In some implementations, the first master sending unit 2003 is further configured to send a storage information update response to the slave node.
[0363] Those skilled in the art should understand that Fig. 20 The implementation functions of each unit in the data storage device shown can be understood by referring to the relevant description of the aforementioned method. Fig. 20 The functions of each unit in the data storage device shown may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.
[0364] Fig.21 The structure of the data storage device provided in the embodiment of the present application is shown in FIG. Figure 2 , applied to a second slave node, the second slave node being a slave node in the first region, such as Fig.21 As shown, the data storage device 2100 includes:
[0365] The first slave receiving unit 2101 is configured to receive a data storage request sent by a UE, where the data storage request carries data information of the UE.
[0366] The first slave processing unit 2102 is configured to check whether the second slave node meets the data storage requirement of the UE based on the data information of the UE.
[0367] The first slave sending unit 2103 is configured to send the data storage request to the first master node if the second slave node does not meet the data storage requirement of the UE.
[0368] The first slave receiving unit 2101 is further configured to receive a data storage response sent by the first master node.
[0369] The first slave sending unit 2103 is also used to send the data storage response to the UE if the second slave node does not meet the data storage requirements of the UE. The data storage response carries the path information of the first storage space of the first slave node. The path information of the first storage space is used by the UE to store data to the first slave node; wherein the first master node is the master node in the first area.
[0370] In some embodiments, the first slave processing unit 2102 is further used to allocate a second storage space to the UE if the second slave node meets the data storage requirements of the UE, and the first slave sending unit 2103 is further used to send a data storage response to the UE, the data storage response carries path information of the second storage space, and the path information of the second storage space is used for the UE to store data to the second slave node.
[0371] In some embodiments, after the first slave processing unit 2102 allocates the second storage space for the UE, the first slave sending unit 2103 is further used to send a data storage response to the first master node, and the data storage response is used by the first master node to establish or update the association relationship between the UE's data information and the second slave node.
[0372] Those skilled in the art should understand that Fig.21 The implementation functions of each unit in the data storage device shown can be understood by referring to the relevant description of the aforementioned method. Fig.21 The functions of each unit in the data storage device shown may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.
[0373] Fig. 22 The structure of the data storage device provided in the embodiment of the present application is shown in FIG. Figure 3 , applied to the second master node, the second master node is the master node in the second region, such as Fig. 22 As shown, the data storage device 2200 includes:
[0374] The second main receiving unit 2201 is used to receive a data storage request sent by a UE.
[0375] The second master sending unit 2202 is used to send the data storage request to the first master node, where the data storage request carries the data information of the UE, and the data information of the UE is used by the first master node to screen out the first slave node that meets the data storage requirements of the UE within the first area; the first master node is the master node in the first area.
[0376] The second master receiving unit 2201 is further configured to receive a data storage response sent by the first master node.
[0377] The second main sending unit 2202 is further used to send the data storage response to the UE, where the data storage response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data in the first slave node.
[0378] In some embodiments, the second master receiving unit 2201 is further used to receive a data read request sent by a UE, and the second master sending unit 2202 is further used to send a data read request to the first master node, the data read request carries the data information of the UE, and the data information of the UE is used by the first master node to search for a first slave node that has an associated relationship with the data information of the UE.
[0379] The second main receiving unit 2201 is also used to receive a data read response sent by the first master node, and the second main sending unit 2202 is also used to send a data read response to the UE, and the data read response carries the path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to read data from the first slave node.
[0380] Fig. 22 The structure of the data storage device provided in the embodiment of the present application is shown in FIG. Figure 3 , applied to the second master node, the second master node is the master node in the second region, such as Fig. 22 As shown, the data storage device 2200 includes:
[0381] The second master receiving unit 2201 is configured to receive a data storage request sent by a third slave node.
[0382] In some embodiments, the data storage request is sent by the third slave node to the second master node when it detects that the storage delay of the UE data on the third slave node side is greater than or equal to a first threshold and / or the transmission bandwidth is less than or equal to a second threshold.
[0383] The second master sending unit 2202 is used to send the data storage request to the first master node, where the data storage request carries the data information of the UE, and the data information of the UE is used by the first master node to screen out the first slave node that meets the data storage needs of the UE within the first area; the first master node is the master node in the first area; and the third slave node is the slave node in the second area.
[0384] The second master receiving unit 2201 is also used to receive a data storage response sent by the first master node; the data storage response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data to the first slave node.
[0385] In some implementations, the second main receiving unit 2201 is further used to receive a data migration request sent by the first master node, where the data migration request carries data information of the UE.
[0386] The data storage device 2200 further includes a second main processing unit 2203, which is used to search for a third slave node associated with the data information of the UE.
[0387] The second main sending unit 2202 is used to send a data migration request to the third slave node, and the second main receiving unit 2201 is also used to receive a data migration response sent by the third slave node. The data migration response carries data migration path information, and the data migration path information is the path information of the UE data stored in the third slave node.
[0388] The second main sending unit 2202 is also used to send data migration path information to the first master node. The data migration path information is sent by the first master node to the first slave node. The data migration path information is used by the first slave node to receive and store data from the UE of the third slave node.
[0389] Those skilled in the art should understand that Fig. 22 The implementation functions of each unit in the data storage device shown can be understood by referring to the relevant description of the aforementioned method. Fig. 22 The functions of each unit in the data storage device shown may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.
[0390] Fig.23 It is a schematic structural diagram of a network device 2300 provided in an embodiment of the present application. Fig.23 The network device 2300 shown includes a processor 2310, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.
[0391] Alternatively, if Fig.23 As shown, the network device 2300 may further include a memory 2320. The processor 2310 may call and run a computer program from the memory 2320 to implement the method in the embodiment of the present application.
[0392] The memory 2320 may be a separate device independent of the processor 2310 , or may be integrated into the processor 2310 .
[0393] Alternatively, if Fig.23 As shown, the network device 2300 may further include a transceiver 2330, and the processor 2310 may control the transceiver 2330 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.
[0394] The transceiver 2330 may include a transmitter and a receiver. The transceiver 2330 may further include an antenna, and the number of antennas may be one or more.
[0395] Optionally, the network device 2300 may specifically be the network device of the embodiment of the present application, and the network device 2300 may implement the corresponding processes implemented by the network device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.
[0396] Optionally, the network device 2300 may specifically be a mobile terminal / terminal device of an embodiment of the present application, and the network device 2300 may implement the corresponding processes implemented by the mobile terminal / terminal device in each method of the embodiment of the present application, which will not be described again for the sake of brevity.
[0397] It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0398] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0399] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
[0400] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.
[0401] Optionally, the computer-readable storage medium can be applied to the network device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0402] Optionally, the computer-readable storage medium can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0403] An embodiment of the present application also provides a computer program product, including computer program instructions.
[0404] Optionally, the computer program product can be applied to the network device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0405] Optionally, the computer program product can be applied to the mobile terminal / terminal device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0406] The embodiment of the present application also provides a computer program.
[0407] Optionally, the computer program can be applied to the network device in the embodiments of the present application. When the computer program runs on a computer, the computer executes the corresponding processes implemented by the network device in the various methods in the embodiments of the present application. For the sake of brevity, they are not described here.
[0408] Optionally, the computer program can be applied to the mobile terminal / terminal device in the embodiments of the present application. When the computer program runs on the computer, the computer executes the corresponding processes implemented by the mobile terminal / terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
[0409] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0410] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0411] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0412] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0413] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0414] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0415] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A data storage method, characterized in that: Applied to a first master node, where the first master node is a master node in a first region, the method includes: receiving a data storage request, where the data storage request carries data information of a user equipment UE; Filtering a first slave node that meets the data storage requirement of the UE within the first area based on the data information of the UE; Sending a data storage indication to the first slave node, where the data storage indication is used to instruct the first slave node to allocate a first storage space for the UE; Receive a data storage response sent by the first slave node, and send the data storage response, where the data storage response carries path information of the first storage space, and the path information of the first storage space is used by the UE to store data to the first slave node.
2. The method according to claim 1, characterized in that The receiving a data storage request includes: receiving a data storage request sent by the UE; The sending the data storage response includes: sending the data storage response to the UE.
3. The method according to claim 1, characterized in that The receiving the data storage request includes: receiving the data storage request sent by a second slave node, where the second slave node is a slave node in the first area; The sending the data storage response includes: sending the data storage response to the second slave node, and the data storage response is forwarded by the second slave node to the UE.
4. The method according to claim 1, characterized in that The receiving the data storage request includes: receiving the data storage request sent by the second master node, where the second master node is a master node in the second area; The sending of the data storage response includes: sending the data storage response to the second master node, and the data storage response is forwarded by the second master node to the UE.
5. The method according to claim 1, characterized in that The receiving the data storage request includes: receiving the data storage request sent by the second master node, where the second master node is a master node in the second area; The sending the data storage response includes: sending the data storage response to the UE.
6. The method according to any one of claims 1 to 5, characterized in that After receiving the data storage response sent by the first slave node, the method further includes: Establish or update the association relationship between the data information of the UE and the first slave node.
7. The method according to claim 6, characterized in that The method further comprises: receiving a data reading request, where the data reading request carries data information of the UE; Searching for the first slave node associated with the data information of the UE; A data read response is sent, where the data read response carries path information of a first storage space of the first slave node, where the path information of the first storage space is used by the UE to read data from the first slave node.
8. The method according to claim 7, characterized in that The receiving a data reading request includes: receiving a data reading request sent by the UE; The sending a data read response includes: sending a data read response to the UE.
9. The method according to claim 7, characterized in that: The receiving a data read request includes: receiving a data read request sent by a second master node, where the second master node is a master node in the second region; The sending of the data read response includes: sending a data read response to the second master node, and the data read response is forwarded by the second master node to the UE.
10. The method according to any one of claims 1 to 5, characterized in that The method further comprises: receiving a storage service registration request sent by a slave node in the first area, wherein the storage service registration request carries storage information of the slave node; Establishing a storage information table based on the storage information of the slave node; Send a storage service registration request response to the slave node.
11. The method according to claim 10, characterized in that The method further comprises: receiving a storage information update indication sent by a slave node in the first area, wherein the storage information update indication carries storage information updated by the slave node; Update the storage information table based on the storage information updated by the slave node; A storage information update response is sent to the slave node.
12. A data storage method, characterized in that: Applied to a second slave node, where the second slave node is a slave node in a first region, the method includes: Receiving a data storage request sent by a UE, where the data storage request carries data information of the UE; Checking whether the second slave node meets the data storage requirement of the UE based on the data information of the UE; If the second slave node does not meet the data storage requirements of the UE, the data storage request is sent to the first master node, and a data storage response is received from the first master node; the data storage response is sent to the UE, where the data storage response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data in the first slave node; wherein the first master node is the master node in the first area.
13. The method according to claim 12, characterized in that The method further comprises: If the second slave node meets the data storage requirements of the UE, a second storage space is allocated to the UE, and a data storage response is sent to the UE, where the data storage response carries path information of the second storage space, and the path information of the second storage space is used by the UE to store data in the second slave node.
14. The method according to claim 13, characterized in that After allocating the second storage space for the UE, the method further includes: The data storage response is sent to the first master node, where the data storage response is used by the first master node to establish or update an association relationship between the data information of the UE and the second slave node.
15. A data storage method, characterized in that: Applied to a second master node, where the second master node is a master node in a second region, the method includes: receiving a data storage request sent by a UE, and sending the data storage request to a first master node, wherein the data storage request carries data information of the UE, and the data information of the UE is used by the first master node to screen out a first slave node that meets the data storage requirement of the UE within a first area; the first master node is a master node in the first area; Receive a data storage response sent by the first master node, and send the data storage response to the UE, wherein the data storage response carries path information of a first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data to the first slave node.
16. The method according to claim 15, characterized in that The method further comprises: receiving a data read request sent by the UE, and sending the data read request to the first master node, where the data read request carries data information of the UE, and the data information of the UE is used by the first master node to search for the first slave node associated with the data information of the UE; Receive a data read response sent by the first master node, and send the data read response to the UE, the data read response carrying path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to read data from the first slave node.
17. A data storage method, characterized in that: Applied to a second master node, where the second master node is a master node in a second region, the method includes: receiving a data storage request sent by a third slave node, and sending the data storage request to the first master node, wherein the data storage request carries data information of the UE, and the data information of the UE is used by the first master node to screen out a first slave node that meets the data storage demand of the UE within a first area; the first master node is a master node in the first area; and the third slave node is a slave node in the second area; Receive a data storage response sent by the first master node, where the data storage response carries path information of a first storage space of the first slave node, where the path information of the first storage space is used by the UE to store data in the first slave node.
18. The method according to claim 17, characterized in that The data storage request is sent by the third slave node to the second master node when it is detected that the storage delay of the UE data on the third slave node side is greater than or equal to a first threshold and / or the transmission bandwidth is less than or equal to a second threshold.
19. The method according to claim 18, characterized in that The method further comprises: receiving a data migration request sent by the first master node, where the data migration request carries data information of the UE; Searching for the third slave node associated with the data information of the UE; Sending the data migration request to the third slave node, and receiving a data migration response sent by the third slave node, where the data migration response carries data migration path information, where the data migration path information is path information for storing the data of the UE in the third slave node; The data migration path information is sent to the first master node, and the data migration path information is sent by the first master node to the first slave node, and the data migration path information is used by the first slave node to receive and store the data of the UE from the third slave node.
20. A data storage device, characterized in that: Applied to a first master node, the first master node being a master node in a first region, the device comprises: A first main receiving unit, configured to receive a data storage request, where the data storage request carries data information of a user equipment UE; A first main processing unit, configured to screen out a first slave node that meets the data storage requirement of the UE within the first area based on the data information of the UE; A first master sending unit, configured to send a data storage indication to the first slave node, where the data storage indication is used to instruct the first slave node to allocate a first storage space for the UE; The first master receiving unit is further configured to receive a data storage response sent by the first slave node; The first master sending unit is further used to send the data storage response, where the data storage response carries path information of the first storage space, and the path information of the first storage space is used by the UE to store data to the first slave node.
21. A data storage device, characterized in that: Applied to a second slave node, where the second slave node is a slave node in a first area, the device comprises: A first slave receiving unit, configured to receive a data storage request sent by a UE, where the data storage request carries data information of the UE; A first slave processing unit, configured to check whether the second slave node meets the data storage requirement of the UE based on the data information of the UE; A first slave sending unit, configured to send the data storage request to the first master node if the second slave node does not meet the data storage requirement of the UE; The first slave receiving unit is further configured to receive a data storage response sent by the first master node; The first slave sending unit is also used to send the data storage response to the UE, and the data storage response carries the path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data to the first slave node; wherein the first master node is the master node in the first area.
22. A data storage device, characterized in that: Applied to a second master node, where the second master node is a master node in a second region, the device comprises: A second main receiving unit, configured to receive a data storage request sent by a UE; A second master sending unit is used to send the data storage request to the first master node, where the data storage request carries the data information of the UE, and the data information of the UE is used by the first master node to screen out a first slave node that meets the data storage requirement of the UE within a first area; the first master node is a master node in the first area; The second master receiving unit is further configured to receive a data storage response sent by the first master node; The second main sending unit is also used to send the data storage response to the UE, where the data storage response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data in the first slave node.
23. A data storage device, characterized in that: Applied to a second master node, where the second master node is a master node in a second region, the device comprises: A second master receiving unit, configured to receive a data storage request sent by a third slave node; A second master sending unit is used to send the data storage request to the first master node, where the data storage request carries the data information of the UE, and the data information of the UE is used by the first master node to screen out a first slave node that meets the data storage requirement of the UE within a first area; the first master node is the master node in the first area; and the third slave node is a slave node in the second area; The second master receiving unit is also used to receive a data storage response sent by the first master node; the data storage response carries path information of the first storage space of the first slave node, and the path information of the first storage space is used by the UE to store data to the first slave node.
24. A network device, characterized in that: include: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method as claimed in any one of claims 1 to 19.
25. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 19.
26. A computer program product, characterized in that The method comprises computer program instructions which cause a computer to execute the method as claimed in any one of claims 1 to 19.
