Data processing method, device, equipment and medium
1. A data processing method, comprising:
acquiring first position information of a mobile base station at a first moment and generation position information of each data in an MEC server corresponding to the mobile base station;
and if the relative relationship between the generation position information of the first data in the data and the first position information meets a preset condition, deleting the first data from the MEC server.
2. The method of claim 1, wherein prior to deleting the first data from the MEC server, the method further comprises:
acquiring second position information of the mobile base station at a second moment; wherein the second time is prior to the first time;
calculating the displacement of the mobile base station according to the second position information and the first position information;
correspondingly, if the relative relationship between the generation position information of the first data in each data and the first position information satisfies a preset condition, deleting the first data from the MEC server, including:
and when the displacement is larger than a first preset threshold value, if the relative relation between the generation position information of the first data in the data and the first position information meets a preset condition, deleting the first data from the MEC server.
3. A method according to claim 1 or 2, wherein the relative relationship comprises a distance between a location of generation of the first data and a location of the mobile base station at a first time;
correspondingly, if the relative relationship between the generation position information of the first data in each data and the first position information satisfies a preset condition, deleting the first data from the MEC server, including:
and if the distance between the generation position of the first data and the position of the mobile base station at the first moment is greater than a second preset threshold value, deleting the first data from the MEC server.
4. The method of claim 3, wherein prior to deleting the first data from the MEC server, the method further comprises:
judging whether the distance between the generation position of the first data and the position of the mobile base station at the first moment is larger than a third preset threshold value or not; wherein the third preset threshold is greater than the second preset threshold;
correspondingly, the deleting the first data from the MEC server includes:
and if the distance between the generation position of the first data and the position of the mobile base station at the first moment is greater than the third preset threshold, deleting the first data from the MEC server.
5. The method of claim 4, wherein after determining whether the distance between the location of the first data generation and the location of the mobile base station at the first time is greater than a third predetermined threshold, the method further comprises:
if the distance between the generation position of the first data and the position of the mobile base station at the first moment is smaller than or equal to the third preset threshold, acquiring position information of the mobile base station at a third moment; wherein the third time is after the first time;
correspondingly, the deleting the first data from the MEC server includes:
and if the distance between the generation position of the first data and the position of the mobile base station at the third moment is greater than the second preset threshold, deleting the first data from the MEC server.
6. The method of any one of claims 1-5, wherein the data comprises at least one or more of traffic light data, road condition data, vehicle travel data, and weather data.
7. A data processing apparatus, characterized in that the apparatus comprises:
the mobile base station comprises a data acquisition module, a data processing module and a data processing module, wherein the data acquisition module is used for acquiring first position information of a mobile base station at a first moment and generating position information of each data in an MEC server corresponding to the mobile base station;
and the data processing module is used for deleting the first data from the MEC server if the relative relationship between the generation position information of the first data in the data and the first position information meets a preset condition.
8. The data processing apparatus of claim 7, wherein the apparatus further comprises:
and the communication module is used for connecting with a mobile communication network and providing communication capability for the data processing device.
9. A data processing apparatus, characterized in that the apparatus comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a data processing method as claimed in any one of claims 1-6.
10. A computer-readable storage medium, having stored thereon computer program instructions, which, when executed by a processor, implement a data processing method according to any one of claims 1 to 6.
Background
In recent years, with the development of computer technology and network communication technology, the concept of the internet of things is greatly extended, and the core of the internet of everything is to collect mass data from terminal equipment and meet the business requirements of different industries by using intelligent technologies represented by mass data, machine learning and deep learning. In this context, data generated by terminal devices is increased explosively, and although a cloud data center has strong computing and storage capabilities in a hardware stacking manner, in the context of internet of everything, data generated by terminal devices at the edge of a network already reaches a mass level, which brings a great challenge to central cloud computing.
Edge computing is used as a new computing mode, and an open platform integrating network, computing, storage and application core capabilities is adopted on one side close to a data source, so that data can be timely and effectively processed near the source, and the nearest service is provided nearby. Because the application program is initiated at the edge side, the network service response can be generated more quickly, and the requirements of the industry on network delay and processing efficiency in real-time service are met.
A huge amount of data is cached in a Mobile Edge Computing (MEC) server, however, the memory of the MEC server is limited, part of the data is useless for a user, and the useless data consumes more memory resources of the MEC server, so that the data useful for the user cannot be further stored. Therefore, how to make the MEC server store the data useful for the user to the maximum becomes a technical problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
Embodiments of the present invention provide a data processing method, apparatus, device, and medium, which enable an MEC server to store data useful for a user to the maximum extent.
In a first aspect, an embodiment of the present invention provides a data processing method, where the method includes:
acquiring first position information of the mobile base station at a first moment and generation position information of each data in an MEC server corresponding to the mobile base station;
and if the relative relationship between the generation position information and the first position information of the first data in the data meets a preset condition, deleting the first data from the MEC server.
In a possible implementation manner of the first aspect, before deleting the first data from the MEC server, the method further includes:
acquiring second position information of the mobile base station at a second moment; wherein the second time is before the first time;
calculating the displacement of the mobile base station according to the second position information and the first position information;
correspondingly, if the relative relationship between the generation position information and the first position information of the first data in each data satisfies a preset condition, deleting the first data from the MEC server, including:
and when the displacement is larger than a first preset threshold value, if the relative relation between the generation position information and the first position information of the first data in the data meets a preset condition, deleting the first data from the MEC server.
In a possible implementation manner of the first aspect, the relative relationship includes a distance between a generation position of the first data and a position of the mobile base station at the first time;
correspondingly, if the relative relationship between the generation position information and the first position information of the first data in each data satisfies a preset condition, deleting the first data from the MEC server, including:
and if the distance between the generation position of the first data and the position of the mobile base station at the first moment is greater than a second preset threshold value, deleting the first data from the MEC server.
In a possible implementation manner of the first aspect, before deleting the first data from the MEC server, the method further includes:
judging whether the distance between the generation position of the first data and the position of the mobile base station at the first moment is larger than a third preset threshold value or not; wherein the third preset threshold is greater than the second preset threshold;
correspondingly, deleting the first data from the MEC server, including:
and if the distance between the generation position of the first data and the position of the mobile base station at the first moment is greater than a third preset threshold value, deleting the first data from the MEC server.
In a possible implementation manner of the first aspect, after determining whether a distance between the generation location of the first data and the location of the mobile base station at the first time is greater than a third preset threshold, the method further includes:
if the distance between the generation position of the first data and the position of the mobile base station at the first moment is smaller than or equal to a third preset threshold, acquiring position information of the mobile base station at a third moment; wherein the third time is after the first time;
correspondingly, deleting the first data from the MEC server, including:
and if the distance between the generation position of the first data and the position of the mobile base station at the third moment is greater than a second preset threshold value, deleting the first data from the MEC server.
In one possible embodiment of the first aspect, the data comprises at least one or more of traffic light data, road condition data, vehicle driving data, and weather data.
In a second aspect, an embodiment of the present invention further provides a data processing apparatus, where the apparatus includes:
the mobile base station comprises a data acquisition module, a data processing module and a data processing module, wherein the data acquisition module is used for acquiring first position information of the mobile base station at a first moment and generating position information of each data in an MEC server corresponding to the mobile base station;
and the data processing module is used for deleting the first data from the MEC server if the relative relationship between the generation position information and the first position information of the first data in the data meets a preset condition.
In one possible embodiment of the second aspect, the apparatus further comprises:
and the communication module is used for connecting with a mobile communication network and providing communication capability for the data processing device.
In a third aspect, an embodiment of the present invention provides a data processing apparatus, where the apparatus includes: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a data processing method as described in the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which computer program instructions are stored, and when executed by a processor, the computer program instructions implement the data processing method according to the first aspect.
According to the data processing method, the data processing device, the data processing equipment and the computer storage medium, position information of the mobile base station at the first moment and generated position information of each data in an MEC server corresponding to the mobile base station are obtained; and if the relative relationship between the generated position information of the first data in the data and the position information of the mobile base station at the first moment meets a preset condition, deleting the first data from the MEC server. According to the method and the device, the data with relatively invalid position information can be deleted from the MEC server by combining the generated position information of the data and the current position information of the mobile base station, and the data with more valid position information is selected to be kept in the MEC server, so that the MEC server stores the data which are most useful for users to the maximum extent. Meanwhile, the effectiveness of dynamic storage of the MEC server is realized by means of the mobility of the base station, the time delay and the data reliability when a terminal near the mobile base station is accessed into the MEC server for data transmission and service calculation are also ensured, and the service experience of a user in a mobile operation environment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a data processing method according to another embodiment of the present invention;
FIG. 3 is a flow chart of a data processing method according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a data processing apparatus according to another embodiment of the present invention;
FIG. 6 is a schematic diagram of a data processing apparatus according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a data processing device according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In order to solve the problems in the prior art, embodiments of the present invention provide a data processing method, apparatus, device, and computer-readable storage medium. The following first describes a data processing method provided in an embodiment of the present invention. The embodiment of the invention particularly relates to a cache management method for an MEC server under a mobile base station.
Fig. 1 is a flowchart illustrating a data processing method according to an embodiment of the present invention. As shown in fig. 1, a data processing method provided in an embodiment of the present invention includes the following steps:
step 101, acquiring first position information of a mobile base station at a first moment and generating position information of each data in an MEC server corresponding to the mobile base station;
and 102, deleting the first data from the MEC server if the relative relationship between the generation position information of the first data in the data and the first position information meets a preset condition.
Illustratively, the first time is a current time. The data stored in the cache of the MEC server has a corresponding location attribute, i.e., the location where the data is obtained, such as road conditions in a port, corresponds to its location attribute. It is understood that the generation position information of the data is the position information of the terminal generating the data. In addition, the MEC server is deployed in the mobile base station, i.e. the locations of the MEC server and the mobile base station may be identical.
The applicant finds that data has a great relationship with the position information of the base station, and many data need to be used only in a certain range. If a vehicle passes through a certain position, nearby traffic light information and nearby road condition information are needed with a high probability, and when data stored in an MEC server corresponding to a base station through which the vehicle passes are nearby position data, the vehicle needs the data with a high probability, so that the relevance between the data cached in the MEC server and the position of the base station is high.
According to the embodiment of the invention, the position information of the mobile base station at the first moment and the generated position information of each data in the MEC server corresponding to the mobile base station are obtained; and if the relative relationship between the generated position information of the first data in the data and the position information of the mobile base station at the first moment meets a preset condition, deleting the data from the MEC server. According to the method and the device, the data with relatively invalid position information can be deleted from the MEC server by combining the generated position information of the data and the current position information of the mobile base station, and the data with more valid position information is selected to be kept in the MEC server, so that the MEC server stores the data which are most useful for users to the maximum extent. Meanwhile, the effectiveness of dynamic storage of the MEC server is realized by means of the mobility of the base station, the time delay and the data reliability when a terminal near the mobile base station is accessed into the MEC server for data transmission and service calculation are also ensured, and the service experience of a user in a mobile operation environment is improved.
In some embodiments, prior to step 102, the method may further comprise: acquiring second position information of the mobile base station at a second moment; wherein the second time is before the first time; and calculating the displacement of the mobile base station according to the second position information and the first position information. Correspondingly, step 102 may include: and when the displacement is larger than a first preset threshold value, if the relative relation between the generation position information and the first position information of the first data in the data meets a preset condition, deleting the first data from the MEC server.
The applicant finds that areas such as mining areas and ports have the characteristic of mobile operation, special scenes such as port shore bridges and storage yards have a certain shielding effect on communication signals, and all the areas are difficult to cover by the communication range of the fixed communication base station. At present, sensor devices and MEC servers installed in closed areas such as mining areas and ports are fixedly installed and cannot adapt to the characteristic of mobile operation in a specific environment, so that the mobile vehicle-mounted base station is introduced into the scene to overcome the original defects of the fixed communication base station. However, after the base station has the mobility attribute, the original data caching strategy with the unchanged MEC server position is insufficient for the position matching degree of the data caching.
According to the embodiment of the application, under the condition that the displacement of the mobile base station is larger than the first preset threshold value, the relation between the generated position information of each data of the MEC server and the current position of the mobile base station is judged, and the first data meeting the preset conditions are deleted from the MEC server, so that the matching degree of the data cached by the MEC server and the position of the mobile base station is improved, and the MEC server stores the data which are most useful for users to the maximum extent.
In some embodiments, the relative relationship comprises a distance between a location of generation of the first data and a location of the mobile base station at the first time; correspondingly, step 102 may include: and if the distance between the generation position of the first data and the position of the mobile base station at the first moment is greater than a second preset threshold value, deleting the first data from the MEC server.
The second preset threshold may be an effective distance within a certain range around the mobile base station, that is, data in the position range is stored in a cache of the MEC server corresponding to the mobile base station, where the data is needed by the peripheral access terminal and should be stored in the cache, and the setting of the second preset threshold is usually considered as rational, which may cause overflow of the cache of the MEC server if too large, and may cause too small of the nearby data available to the terminal. The specific value of the second preset threshold may be set according to actual requirements.
According to the embodiment of the present invention, if the distance between the generation location of the first data and the location of the mobile base station at the first time is greater than the second preset threshold, the first data is deleted from the MEC server, the data at the relatively farther location is deleted from the MEC server as the relatively invalid data, and the data at the closer location is selected as the relatively valid data to be retained in the MEC server, so that the MEC server stores the data most useful to the user to the maximum extent.
In some embodiments, prior to step 102, the method may further comprise: judging whether the distance between the generation position of the first data and the position of the mobile base station at the first moment is larger than a third preset threshold value or not; wherein the third preset threshold is greater than the second preset threshold; correspondingly, deleting the first data from the MEC server, including: and if the distance between the generation position of the first data and the position of the mobile base station at the first moment is greater than a third preset threshold value, deleting the first data from the MEC server.
The applicant finds that the movement of the mobile base station may have a back-and-forth motion condition, and if the back-and-forth motion condition occurs, data at the edge of the mobile base station may be repeatedly deleted and added, so that the read-write calculation amount of the MEC server cache is increased.
The third preset threshold is an effective distance around the mobile base station that is greater than the second preset threshold range, that is, an area between the second preset threshold and the third preset threshold range is set as a transition area, so as to prevent repeated deletion and addition operations that may occur to data in the transition area.
The setting of the third preset threshold value usually takes rationality into consideration so that the data within the transition region is located at a position where deletion and addition are frequently performed with a high probability.
According to the embodiment of the application, if the distance between the generation position of the first data and the position of the mobile base station at the first time is greater than the third preset threshold and the first data is not located in the transition area, the first data may be directly deleted from the MEC server to prevent repeated deletion and addition operations that may occur to the data in the transition area.
In some embodiments, after determining whether the distance between the generation location of the first data and the location of the mobile base station at the first time is greater than a third preset threshold, the method may further include: if the distance between the generation position of the first data and the position of the mobile base station at the first moment is smaller than or equal to a third preset threshold, acquiring position information of the mobile base station at a third moment; wherein the third time is after the first time; correspondingly, deleting the first data from the MEC server, including: and if the distance between the generation position of the first data and the position of the mobile base station at the third moment is greater than a second preset threshold value, deleting the first data from the MEC server.
According to the embodiment of the application, a period of time is reserved, and a buffer period can be reserved for data in the transition area, namely, the position of the data returns to the range of the second preset threshold value around the mobile base station due to the fact that the mobile base station moves the position again in the buffer area, so that repeated data deletion and addition are avoided.
In some embodiments, the data includes at least one or more of traffic light data, road condition data, vehicle travel data, and weather data.
For a better understanding of the present invention, please refer to the flow chart of the data processing method shown in fig. 2. The data processing method shown in fig. 2 specifically relates to an MEC cache management method under a mobile base station.
The detailed flow steps of the MEC cache management method under the mobile base station are as follows:
step 110: and monitoring the position of the base station in real time, and calculating the displacement of the base station when the mobile base station generates the displacement.
Step 120: and judging whether the base station displacement exceeds a first preset threshold value, if so, entering a step 130, otherwise, returning to the step 110.
The first preset threshold is a preset threshold of the displacement of the base station, that is, the step of starting the subsequent judgment whether the data should be cached continuously after the base station moves for a certain distance.
Step 130: and calculating the distance between each data position in the MEC server corresponding to the base station and the current position of the base station.
Step 140: and judging whether the distance between the position of the data in the cache of the MEC server and the current position of the base station exceeds a second preset threshold value, if so, entering the step 150, otherwise, returning to the step 110.
Step 150: and deleting the data stored in the MEC server and having the distance between the MEC server and the base station exceeding a second preset threshold value in the cache of the MEC server.
The mobile base station may move back and forth, and if the situation occurs, data at the edge of the base station may be deleted and added repeatedly, so that the read-write calculation amount of the MEC server cache is increased, and therefore a flow diagram of the data processing method shown in fig. 3 is provided, and more efficient cache management is realized. The data processing method shown in fig. 3 specifically relates to an MEC cache management method under a mobile base station.
The detailed flow steps of the MEC cache management under the mobile base station are as follows:
step 210: and monitoring the position of the base station in real time, and calculating the displacement of the base station when the mobile base station generates the displacement.
Step 220: and judging whether the base station displacement exceeds a first preset threshold value, if so, entering a step 230, and if not, returning to the step 210.
The first preset threshold is a preset threshold of the displacement of the base station, that is, the step of starting the subsequent judgment whether the data should be cached continuously after the base station moves for a certain distance.
Step 230: and calculating the distance between each data position in the MEC server corresponding to the base station and the current position of the base station.
Step 240: and judging whether the distance between the position of the data in the cache of the MEC server and the current position of the base station exceeds a second preset threshold value, if so, entering the step 250, otherwise, returning to the step 210.
And storing a plurality of data in the cache of the MEC server, and correspondingly processing the data when the distance between the position of at least one data and the current position of the base station exceeds a second preset threshold value.
Step 250: and judging whether the distance between the position of the data in the cache of the MEC server and the current position of the base station exceeds a third preset threshold value, if so, entering a step 280, and if not, entering a step 260.
Step 260: and starting a timer, and recalculating the distance between the data position in the transition area between the second preset threshold and the third preset threshold range and the current position of the base station after the time set by the timer is overtime.
The timer is used for reserving a period of time, so that a buffer period can be reserved for the data in the transition region, namely, the position of the data is returned to the second preset threshold range around the base station due to the fact that the base station moves the position again in the buffer region, and repeated data deletion and addition are avoided.
Step 270: and judging whether the distance between the data in the transition area between the second preset threshold and the third preset threshold range and the current position of the base station returns to the second preset threshold, if so, returning to the step 210, and if not, entering the step 280.
Step 280: and deleting the data which are stored in the MEC server and reach the set conditions of the distance between the MEC server and the base station in the cache of the MEC server.
The condition for deleting the related data in the MEC server may specifically be: the position of the data exceeds the range of a third preset threshold, the position of the data is in the transition region between the second preset threshold and the range of the third preset threshold, but after the time timed out by the timer, the distance between the current positions of the data does not return to the second preset threshold.
The embodiment of the invention also provides a data processing device. As shown in fig. 4, the data processing apparatus includes the following modules:
a data obtaining module 401, configured to obtain first location information of the mobile base station at a first time and generated location information of each data in an MEC server corresponding to the mobile base station;
the data processing module 402 is configured to delete the first data from the MEC server if a relative relationship between the generation location information of the first data in each data and the first location information satisfies a preset condition.
In some embodiments, the apparatus further comprises:
a communication module 403, configured to connect to a mobile communication network, and provide a communication capability for the data processing apparatus.
In some embodiments, the data acquisition module 401 is further configured to:
acquiring second position information of the mobile base station at a second moment; wherein the second time is before the first time;
calculating the displacement of the mobile base station according to the second position information and the first position information;
correspondingly, the data processing module 402 is specifically configured to:
and when the displacement is larger than a first preset threshold value, if the relative relation between the generation position information and the first position information of the first data in the data meets a preset condition, deleting the first data from the MEC server.
In some embodiments, the relative relationship comprises a distance between a location of generation of the first data and a location of the mobile base station at the first time;
correspondingly, the data processing module 402 is specifically configured to:
and if the distance between the generation position of the first data and the position of the mobile base station at the first moment is greater than a second preset threshold value, deleting the first data from the MEC server.
In some embodiments, the data processing module 402 is specifically configured to:
judging whether the distance between the generation position of the first data and the position of the mobile base station at the first moment is larger than a third preset threshold value or not; wherein the third preset threshold is greater than the second preset threshold;
correspondingly, deleting the first data from the MEC server, including:
and if the distance between the generation position of the first data and the position of the mobile base station at the first moment is greater than a third preset threshold value, deleting the first data from the MEC server.
In some embodiments, the data processing module 402 is specifically configured to:
if the distance between the generation position of the first data and the position of the mobile base station at the first moment is smaller than or equal to a third preset threshold, acquiring position information of the mobile base station at a third moment; wherein the third time is after the first time;
correspondingly, deleting the first data from the MEC server, including:
and if the distance between the generation position of the first data and the position of the mobile base station at the third moment is greater than a second preset threshold value, deleting the first data from the MEC server.
In some embodiments, the data includes at least one or more of traffic light data, road condition data, vehicle travel data, and weather data.
The data processing device of the embodiment of the invention obtains the position information of the mobile base station at the first moment and the generated position information of each data in the MEC server corresponding to the mobile base station; and if the relative relationship between the generated position information of the data and the position information of the mobile base station at the first moment meets a preset condition, deleting the data from the MEC server. According to the method and the device, the data with relatively invalid position information can be deleted from the MEC server by combining the generated position information of the data and the current position information of the mobile base station, and the data with more valid position information is selected to be kept in the MEC server, so that the MEC server stores the data which are most useful for users to the maximum extent. Meanwhile, the effectiveness of dynamic storage of the MEC server is realized by means of the mobility of the base station, the time delay and the data reliability when a terminal near the mobile base station is accessed into the MEC server for data transmission and service calculation are also ensured, and the service experience of a user in a mobile operation environment is improved.
As shown in fig. 5, the data processing apparatus may specifically be a mobile base station, and the mobile base station apparatus may include an information acquisition module, a high-precision positioning module, a distance calculation module, a distance decision module, a microwave communication module, and an MEC server cache management module.
Specifically, the information acquisition module is used for acquiring data information near the mobile base station, the acquired information includes but is not limited to road surface condition information, meteorological condition information and surrounding vehicle running condition information, and the acquisition sensor includes but is not limited to a camera, a millimeter wave radar and a laser radar.
And the high-precision positioning module is used for acquiring the precise positioning of the mobile base station and further monitoring the position of the base station.
And the distance calculation module is used for calculating the displacement of the base station, the distance between the data position and the base station and the like.
And the distance judgment module is used for judging the relationship between the calculated values such as the displacement of the base station, the distance between the data position and the base station and the corresponding thresholds.
And the microwave communication module is used for transmitting the information back to the 5G transmission network access network and providing network communication capability.
And the MEC server cache management module is used for managing the data in the cache according to the relation between the distance and the threshold.
As shown in fig. 6, the data processing device may specifically be a mobile base station, and the mobile base station device may further include a timer in addition to the information acquisition module, the high-precision positioning module, the distance calculation module, the distance determination module, the microwave communication module, and the MEC server cache management module.
The information acquisition module, the high-precision positioning module, the distance calculation module, the distance judgment module, the microwave communication module and the MEC server cache management module have similar functions to those of the modules in the figure 5.
And the timer is used for timing the judgment of the data in the transition area and judging how the data in the transition area should be managed after the timing is over.
Fig. 7 is a schematic diagram illustrating a hardware structure of a data processing apparatus according to an embodiment of the present invention.
The data processing apparatus may comprise a processor 701 and a memory 702 in which computer program instructions are stored.
Specifically, the processor 701 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more integrated circuits implementing an embodiment of the present invention.
Memory 702 may include a mass storage for data or instructions. By way of example, and not limitation, memory 702 may include a Hard Disk Drive (HDD), a floppy disk drive, flash memory, an optical disk, a magneto-optical disk, a tape, or a Universal Serial Bus (USB) drive or a combination of two or more of these. Memory 702 may include removable or non-removable (or fixed) media, where appropriate. The memory 702 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 702 is non-volatile solid-state memory. In a particular embodiment, the memory 702 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.
The processor 701 realizes any of the data processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 702.
In one example, the data processing device may also include a communication interface 703 and a bus 710. As shown in fig. 7, the processor 701, the memory 702, and the communication interface 703 are connected by a bus 710 to complete mutual communication.
The communication interface 703 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiment of the present invention.
Bus 710 comprises hardware, software, or both to couple the components of the data processing device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 710 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
The data processing device may execute the data processing method in the embodiment of the present invention, thereby implementing the data processing method and apparatus described in conjunction with fig. 1 and 4.
In addition, in combination with the data processing method in the foregoing embodiments, the embodiments of the present invention may be implemented by providing a computer-readable storage medium. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement any of the data processing methods in the above embodiments.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.