CN113420001A - Data sharing method and edge computing device - Google Patents

Data sharing method and edge computing device Download PDF

Info

Publication number
CN113420001A
CN113420001A CN202110623513.8A CN202110623513A CN113420001A CN 113420001 A CN113420001 A CN 113420001A CN 202110623513 A CN202110623513 A CN 202110623513A CN 113420001 A CN113420001 A CN 113420001A
Authority
CN
China
Prior art keywords
file data
terminal
file
state
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110623513.8A
Other languages
Chinese (zh)
Other versions
CN113420001B (en
Inventor
陈蛟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110623513.8A priority Critical patent/CN113420001B/en
Publication of CN113420001A publication Critical patent/CN113420001A/en
Application granted granted Critical
Publication of CN113420001B publication Critical patent/CN113420001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a data sharing method and an edge computing device, the method including: receiving a user file sent by a first terminal, wherein the user file comprises first file data and a first number; and under the condition that the first number belongs to the registered user, storing the first file data, and setting the state of the first file data to determine the operation authority of the terminal corresponding to the binding number which has the binding relation with the first number on the first file data. The terminal corresponding to the binding number having the binding relationship with the first number may perform a corresponding operation on the first file data according to the operation authority of the first file data. The method and the system can uniformly manage mass data of the home users, have high transmission speed, save broadband resources and improve user experience.

Description

Data sharing method and edge computing device
Technical Field
The disclosure belongs to the technical field of data processing, and particularly relates to a data sharing method and edge computing equipment.
Background
Currently, there are two main ways for home users to share data: bluetooth mode and APP (Application) mode. In the bluetooth mode, a user transmits a video file, a photo file, or a document to another user through bluetooth technology. In the APP mode, a user transmits own files to another user installed with the same APP through a chat tool (such as WeChat and qq) or a network disk tool.
The two methods have problems of different degrees at present, and the user experience is serious, specifically as follows:
in the bluetooth mode, the connection process is complex, the user must open the bluetooth connection, search for pairing devices, input pairing keys and other processes, and the use process is complex and needs guidance for common users in the family. Moreover, the transmission speed is slow, and the waiting time is long. Because bluetooth uses 2.4G public frequency band to interfere seriously and the protocol is not optimized for large files, the transmission rate is generally only 1-2Mb/S, and the transmission waiting time of 720/1080P video files (the 1-minute duration file can reach more than 300 Mb) shot by current high-pixel mobile phones can reach more than 20 minutes. Moreover, only one-to-one transmission is available, and multiple persons can share the data, so that the data can be repeatedly transmitted for multiple times.
In the APP mode, data obstacles exist between APPs, the same APP needs to be installed between family users, and universal file transmission between the APPs cannot be achieved. In addition, in file transmission between the APPs, user files are transmitted to the APP Internet server through the Internet firstly and then are sent to a user receiving the files by the Internet server, so that data return is wasted on Internet bandwidth, and the transmission convenience of the user in the same access network is not fully utilized. With the development of 4G/5G network and Internet services, data types of different users of the same family are increasingly rich (such as photos, audio, videos, web pages and the like), and data volume is also increasing (such as high-definition photos, high-definition videos and the like). Because these data are managed by different APPs on the cell-phone, cause the user can't manage its whole data resource (can only go to look over, browse data through the APP), experience through internet transmission between the APP is poor, and the data sharing between the family member is also more and more difficult.
Disclosure of Invention
In view of the above-mentioned shortcomings in the prior art, the present disclosure provides a data sharing method and an edge computing device.
As a first aspect of the present disclosure, there is provided a data sharing method including:
receiving a user file sent by a first terminal, wherein the user file comprises first file data and a first number;
and under the condition that the first number belongs to the registered user, storing the file data, and setting the state of the first file data to determine the operation authority of the terminal corresponding to the binding number which has the binding relation with the first number on the first file data.
Preferably, the state of the first file data includes a shared state and an unshared state.
Preferably, before receiving the user file sent by the first terminal, the method further includes:
receiving a registration request sent by a first terminal, and acquiring a user number list in the registration request;
sending an information query request to an operator network element, wherein the information query request carries the user number list;
and in response to receiving a binding confirmation message returned by the operator network element, registering all numbers in the user number list, wherein the binding confirmation message comprises information that all numbers in the user number list have binding relations.
As a second aspect of the present disclosure, there is provided a data sharing method including:
receiving an operation request sent by a second terminal, wherein the operation request comprises a second number corresponding to the second terminal;
under the condition that the second number is determined to belong to the registered user, acquiring a binding number which has a binding relationship with the second number;
acquiring the state of first file data uploaded in advance by the second terminal and the terminal corresponding to the binding number;
determining the operation authority of the second terminal on the first file data according to the state of the first file data;
and determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data.
Preferably, the operation request includes a viewing request, the plurality of first file data form a file data set, states of the first file data in the file data set are all non-shared states, and determining an operation authority of the second terminal on the first file data according to the state of the first file data includes:
determining that the operation authority of the second terminal on the first file data is a viewing authority under the condition that the state of the first file data is a non-sharing state;
the determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data includes:
and under the condition that the operation authority of the second terminal on the first file data is the viewing authority, acquiring and returning information of all the first file data in the file data set to the second terminal.
Preferably, the operation request includes a sharing request, the plurality of first file data form a file data set, the states of the first file data in the file data set are all sharing states, or the states of the first file data in the file data set include a sharing state and a non-sharing state, and the determining, according to the state of the first file data, the operation authority of the second terminal on the first file data includes:
determining second file data in the file data set, wherein the second file data is first file data of which the state of the first file data in the file data set is a sharing state;
determining that the operation authority of the second terminal on the second file data is a sharing authority;
the determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data includes:
under the condition that the operation authority of the second terminal on the second file data is a sharing authority, acquiring and returning information of all the second file data in the file data set to the second terminal;
receiving a file identifier sent by the second terminal;
and acquiring and returning second file data corresponding to the file identifier to the second terminal.
As a third aspect of the present disclosure, there is provided an edge computing device including:
the receiving module is used for receiving a user file sent by a first terminal, wherein the user file comprises first file data and a first number;
the storage module is used for storing the first file data under the condition that the first number is determined to belong to a registered user;
and the setting module is used for setting the state of the first file data so as to determine the operation authority of the terminal corresponding to the binding number which has the binding relationship with the first number on the first file data.
Preferably, the state of the first file data includes a shared state and an unshared state.
Preferably, the receiving module is further configured to receive a registration request sent by the first terminal;
the edge computing device further comprises:
the acquisition module is used for acquiring a user number list in the registration request;
a sending module, configured to send an information query request to an operator network element, where the information query request carries the user number list;
and the registration module is used for registering all numbers in the user number list in response to receiving a binding confirmation message returned by the operator network element, wherein the binding confirmation message comprises information that all numbers in the user number list have binding relations.
As a fourth aspect of the present disclosure, there is provided an edge computing device including:
the receiving module is used for receiving an operation request sent by a second terminal, wherein the operation request comprises a second number corresponding to the second terminal;
the first acquisition module is used for acquiring a binding number which has a binding relationship with the second number under the condition that the second number is determined to belong to a registered user;
the second acquisition module is used for acquiring the second terminal and the state of the first file data which is uploaded in advance by the terminal corresponding to the binding number;
the first determining module is used for determining the operation authority of the second terminal on the first file data according to the state of the first file data;
and the second determining module is used for determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data.
Preferably, the operation request includes a viewing request, the plurality of first file data form a file data set, states of the first file data in the file data set are all non-shared states, and the first determining module is specifically configured to:
determining that the operation authority of the second terminal on the first file data is a viewing authority under the condition that the state of the first file data is a non-sharing state;
the second determining module is specifically configured to:
and under the condition that the operation authority of the second terminal on the first file data is the viewing authority, acquiring and returning information of all the first file data in the file data set to the second terminal.
Preferably, the operation request includes a sharing request, the plurality of first file data form a file data set, states of the first file data in the file data set are all shared states, or states of the first file data in the file data set include a shared state and a non-shared state, and the first determining module is specifically configured to:
determining second file data in the file data set, wherein the second file data is first file data of which the state of the first file data in the file data set is a sharing state;
determining that the operation authority of the second terminal on the second file data is a sharing authority;
the second determining module is specifically configured to:
under the condition that the operation authority of the second terminal on the second file data is a sharing authority, acquiring and returning information of all the second file data in the file data set to the second terminal;
receiving a file identifier sent by the second terminal;
and acquiring and returning second file data corresponding to the file identifier to the second terminal.
In the embodiment of the disclosure, the edge computing device receives a user file sent by a first terminal, where the user file includes first file data and a first number, and stores the first file data and sets a state of the first file data when it is determined that the first number belongs to a user registered in the edge computing device, so as to later determine an operation permission of a terminal corresponding to a binding number having a binding relationship with the first number on the stored first file data. The terminal corresponding to the binding number having the binding relationship with the first number may perform a corresponding operation on the first file data according to the operation authority of the first file data. The method and the system can uniformly manage mass data of the home users, have high transmission speed, save broadband resources and improve user experience.
Drawings
Fig. 1 is a flowchart of a file storage process in a data sharing method according to an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating another file storage process in a data sharing method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a file sharing process in a data sharing method according to an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of an edge computing device according to an embodiment of the present disclosure;
fig. 5 is another schematic structural diagram of an edge computing device according to an embodiment of the present disclosure.
Detailed Description
For a better understanding of the technical aspects of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
The problems that in a current data sharing mode of a home user, a Bluetooth mode is complex in flow, low in transmission speed and long in waiting time, the same APP needs to be installed before the home user in the APP mode, internet broadband is wasted, mass data of the home user are difficult to manage, and user experience is poor are solved. The disclosure provides a data sharing method and device. The following detailed description is made with reference to the accompanying drawings which respectively illustrate embodiments provided by the present disclosure.
Fig. 1 shows a flowchart of a file storage process in a data sharing method provided by an embodiment of the present disclosure.
Referring to fig. 1, a data sharing method provided by the embodiment of the present disclosure is applied to an edge computing device. The data sharing method provided by the embodiment of the disclosure comprises the following steps.
Step S101, receiving a user file sent by a first terminal.
And step S102, storing the first file data under the condition that the first number is determined to belong to the registered user.
Step S103, setting the state of the first file data to determine the operation authority of the terminal corresponding to the binding number having the binding relationship with the first number on the first file data.
Edge Computing equipment (MEC) runs at the Edge of the network, logically independent of the rest of the network, which is important for security-critical applications. In addition, MECs typically have high computational power and are therefore particularly well suited to analyzing large volumes of data. Meanwhile, as the MEC is very close to the user or the information source geographically, the time delay of the network for responding to the user request is greatly reduced, and the possibility of network congestion generated by the transmission network and the core network is also reduced. Finally, the MEC at the edge of the network can acquire network data such as base station ID, available bandwidth, etc. and information related to the user location in real time, so as to perform link-aware adaptation, and provide the possibility of deployment for location-based applications, which can greatly improve the user's experience of quality of service.
The first terminal is equipment with data acquisition and reporting functions, and reports the user files to the MEC at regular time according to a preset period.
Also included between the first terminal and the MEC are access points, i.e. Wireless access points or wired access points, typically wifi (Wireless-Fidelity), 2G/3G/4G/5G (2/3/4/5-Generation Wireless telephone technology, second/third/fourth/fifth Generation cellular communication technology) base stations.
In the embodiment of the present disclosure, all numbers having a binding relationship (i.e., numbers of members of a family user) are registered in the MEC. The MEC receives a user file (the first terminal can send the user file through the APP) sent by the first terminal, the user file comprises first file data and a first number, the first file data are stored under the condition that the first number is determined to belong to a registered user in the edge computing device, and the state of the first file data is set, so that the operation permission of a terminal corresponding to a binding number which has a binding relation with the first number to the stored first file data is determined later. The terminal corresponding to the binding number having the binding relationship with the first number may perform a corresponding operation on the first file data according to the operation authority of the first file data. The method and the system can uniformly manage mass data of the home users, have high transmission speed, save broadband resources and improve user experience. The first file data may be a picture or video or a document/music type file or the like.
It should be noted that the first file data in the embodiment of the present disclosure may also be saved in a home subscriber data server virtualized by the MEC. The family user data server is used for storing, inquiring and updating the first file data. If the first file data is a picture or a video file, generating a thumbnail corresponding to the first file data (the picture thumbnail is a low-pixel picture of the picture, the video thumbnail is a low-pixel picture of a certain frame randomly extracted from a video within one minute, and the thumbnail of the file of the document/music type is empty).
In a preferred embodiment, a home subscriber data relationship table, such as table 1 below, is created when the numbers of members of the home subscriber are registered with the MEC. The data relation table of the home Subscriber includes all numbers (MSISDN _ LIST, MSISDN (Mobile Subscriber International ISDN Number)) registered in the MEC and having a binding relation, that is, the numbers of all members of the home Subscriber. In step S102, it is determined that the first number belongs to a registered subscriber, that is, it is determined whether the first number is in the data relation table of the home subscriber, that is, in MSISDN _ LIST in table 1.
It should be noted that the user file sent by the first terminal may also carry an IMEI (International Mobile Equipment Identity), an APP ID or a URL (Uniform Resource Locator), a FAMILY _ ID, or the like of the first terminal, so as to determine which FAMILY user data relationship table is. And inquiring whether the first number is in the determined family user data relation table.
Figure BDA0003101056670000081
TABLE 1
In a preferred embodiment, after storing the first file data, the MEC also builds a first file data table, such as table 2 below. The first file data includes a file name corresponding to the first file data, a file type of the first file data, a thumbnail of the first file data, a physical address of the first file data, and a state of the first file data are generated, and the following table 2 is generated according to the file name of the first file data, the file type of the first file data, the thumbnail of the first file data, the physical address of the first file data, the state of the first file data, and an upload time of the first file data.
Figure BDA0003101056670000091
TABLE 2
In some embodiments, the state of the first file data includes a shared state and an unshared state. When the state of the first file data is shared data, the number registered in the MEC may view and download the first file data stored in the MEC. When the state of the first file data is the non-shared state, the number registered in the MEC can only view the first file data stored in the MEC. The state of the first file data may be a system default setting or may be a user manual setting. The specific way to set the state of the first file data is not limited in this case.
Fig. 2 shows a flowchart of another file storage process in a data sharing method provided by an embodiment of the present disclosure.
In some embodiments, referring to fig. 2, before receiving the user file sent by the first terminal (i.e., step S101), the following steps are further included.
Step S201, receiving a registration request sent by a first terminal.
Step S202, a user number list in the registration request is acquired.
In step S201-step S202, the registration request includes a subscriber number LIST, i.e. MSISDN _ LIST. The registration request is a request for the first terminal to apply for joining the home sharing service, and may be sent through a short message or a webpage or an APP.
Step S203, sending an information query request to an operator network element.
Step S204, in response to receiving the binding confirmation message returned by the operator network element, registering all the numbers in the user number list.
An operator network element, namely, a Home Subscriber Server (HSS)/User Plane Function (UPF), stores User information, and personal information (such as name and identification number) of a User, service subscription information (such as package and Home service), and the like are stored in the network element.
Wherein, the information inquiry request carries a user number list. And the binding confirmation message comprises information that all numbers in the user number list have binding relation.
In step S203-step S204, it is queried in the operator network element whether all the numbers in the user number list have a binding relationship, and if so, the operator network element returns a binding confirmation message to the MEC. And the MEC receives the binding relationship confirmation returned by the operator network element and registers all the numbers in the user number list.
In a preferred embodiment, all the numbers in the subscriber number list are registered, i.e. a home subscriber data relation table is established, as in table 1 above. The registration request may also carry an IMEI, an APP ID, etc. of the first terminal, the MEC configures a FAMILY _ ID (home service sharing number), a virtual service address of the home subscriber data server, and sets a home subscriber data relationship table according to the IMEI, the FAMILY _ ID of the first terminal, all numbers in the subscriber number list, the first number, the virtual service address of the home subscriber data server, and the transaction time.
Fig. 3 shows a flowchart of a file sharing process in a data sharing method provided by an embodiment of the present disclosure.
In some embodiments, referring to fig. 3, a data sharing method provided by the embodiments of the present disclosure includes the following steps.
Step S301, receiving an operation request sent by the second terminal.
Step S302, under the condition that the second number is determined to belong to the registered user, acquiring a binding number which has a binding relation with the second number.
Step S303, acquiring the state of the first file data uploaded in advance by the second terminal and the terminal corresponding to the binding number.
Step S304, determining the operation authority of the second terminal on the first file data according to the state of the first file data.
Step S305, determining whether to share the first file data to the second terminal according to the operation authority of the second terminal to the first file data.
And the operation request comprises a second number corresponding to the second terminal.
In steps S301 to S305, the MEC receives an operation request sent by the second terminal, acquires a binding number having a binding relationship with the second number when it is determined that the second number is registered in the MEC, and acquires the state of the first file data uploaded in advance by the second terminal and the terminal corresponding to the binding number. And determining the operation authority of the second terminal on the first file data according to the state of the first file data, and determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data. The method and the system can uniformly manage mass data of the home users, have high transmission speed, save broadband resources and improve user experience.
It should be noted that, if the MEC receives the operation request sent by the second terminal, and the binding number having a binding relationship with the second number is not found when it is determined that the second number is registered in the MEC, the process of the present disclosure is terminated.
In some embodiments, the operation request includes a view request, the plurality of first file data constitute a file data set, and the states of the first file data in the file data set are all non-shared states. Determining the operation authority of the second terminal on the first file data according to the state of the first file data (i.e. step S304), including: and under the condition that the state of the first file data is the non-sharing state, determining that the operation authority of the second terminal on the first file data is the viewing authority.
Further, determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data (i.e. step S305), includes: and under the condition that the operation authority of the second terminal on the first file data is the viewing authority, acquiring and returning information of all the first file data in the file data set to the second terminal.
Specifically, when the operation request is a viewing request (which may be sent through a web page, a short message, or an APP), and the states of the first file data in the file data set stored on the MEC are all non-shared states, it is determined that the operation permission of the second terminal on the first file data stored on the MEC is a viewing permission. And the MEC acquires and returns information of all the first file data in the file data set to the second terminal. The information of all the first file data is preferably a list of all the first file data in the file data set.
It should be noted that the viewing request may carry the IMEI of the second terminal, so as to determine the home subscriber data relationship table to which the second number belongs.
It should be noted that, after receiving information of all first file data in the file data set, the second terminal may set a state of at least one of the first file data as a shared state, and the second terminal sends a list of the first file data set as the shared state to the MEC, and the MEC sets the state of the corresponding first file data in the file data set as the shared state according to the list.
In some embodiments, the operation request comprises a sharing request, a plurality of the first file data form a file data set, the states of the first file data in the file data set are all shared states, or the state of the first file data in the file data set comprises a shared state and a non-shared state. Determining the operation authority of the second terminal on the first file data according to the state of the first file data (i.e. step S304), including: determining second file data in the file data set; and determining that the operation authority of the second terminal on the second file data is the sharing authority.
Further, determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data (i.e. step S305), includes: under the condition that the operation authority of the second terminal on the second file data is the sharing authority, acquiring and returning information of all the second file data in the file data set to the second terminal; receiving a file identifier sent by a second terminal; and acquiring and returning second file data corresponding to the file identifier to the second terminal.
Specifically, when the operation request is a sharing request (which may be sent through a web page, a short message, or an APP), and the states of the first file data in the file data set stored on the MEC are both sharing states, or the states of the first file data in the file data set stored on the MEC include both a non-sharing state and a sharing state, the second file data in the file data set is determined, and the operation permission of the second terminal on the second file data is determined to be a sharing permission. The second file data is the first file data in the file data set, and the state of the first file data is the sharing state. And the MEC acquires and returns information of all second file data in the file data set to the second terminal, and acquires and returns second file data corresponding to the file identification to the second terminal when the MEC receives the file identification (or a list of the file identification can be sent) returned by the second terminal. The information of all the second file data is preferably a list of all the second file data in the file data set. The second terminal may display the second file data corresponding to the file identifier through a short message, a browser, an APP, or the like, or prompt the user to store the second file data corresponding to the file identifier.
It should be noted that the IMEI of the second terminal may be carried in the sharing request, so as to determine the data relation table of the home subscriber to which the second number belongs.
In the embodiment of the present disclosure, members of the same family user (i.e., all numbers having a binding relationship) may view and download the first file data that may be shared through the MEC, thereby implementing convenient data storage and sharing among the members of the family user.
Fig. 4 shows a schematic structural diagram of an edge computing device provided in an embodiment of the present disclosure.
Based on the same technical concept as the embodiment corresponding to fig. 1, referring to fig. 4, an edge computing device provided by an embodiment of the present disclosure includes the following modules.
The receiving module 11 is configured to receive a user file sent by a first terminal, where the user file includes first file data and a first number;
the storage module 12 is configured to store the first file data when it is determined that the first number belongs to a registered user;
a setting module 13, configured to set a state of the first file data, so as to determine an operation permission of a terminal corresponding to a binding number having a binding relationship with the first number on the first file data.
In some embodiments, the state of the first file data includes a shared state and an unshared state.
In some embodiments, the receiving module is further configured to receive a registration request sent by the first terminal;
the edge computing device further comprises:
the acquisition module is used for acquiring a user number list in the registration request;
a sending module, configured to send an information query request to an operator network element, where the information query request carries the user number list;
and the registration module is used for registering all numbers in the user number list in response to receiving a binding confirmation message returned by the operator network element, wherein the binding confirmation message comprises information that all numbers in the user number list have binding relations.
Fig. 5 shows a schematic structural diagram of an edge computing device provided in an embodiment of the present disclosure.
Based on the same technical concept as the embodiment corresponding to fig. 3, referring to fig. 5, an edge computing device provided by an embodiment of the present disclosure includes the following modules.
A receiving module 21, configured to receive an operation request sent by a second terminal, where the operation request includes a second number corresponding to the second terminal;
a first obtaining module 22, configured to obtain, when it is determined that the second number belongs to a registered user, a binding number having a binding relationship with the second number;
the second obtaining module 23 is configured to obtain a state of the first file data uploaded in advance by the second terminal and the terminal corresponding to the binding number;
the first determining module 24 is configured to determine, according to the state of the first file data, an operation permission of the second terminal on the first file data;
a second determining module 25, configured to determine whether to share the first file data with the second terminal according to an operation permission of the second terminal on the first file data.
In some embodiments, the operation request includes a viewing request, the plurality of first file data form a file data set, states of the first file data in the file data set are all non-shared states, and the first determining module is specifically configured to:
determining that the operation authority of the second terminal on the first file data is a viewing authority under the condition that the state of the first file data is a non-sharing state;
the second determining module is specifically configured to:
and under the condition that the operation authority of the second terminal on the first file data is the viewing authority, acquiring and returning information of all the first file data in the file data set to the second terminal.
In some embodiments, the operation request includes a sharing request, the plurality of first file data form a file data set, states of the first file data in the file data set are all shared states, or states of the first file data in the file data set include a shared state and a non-shared state, and the first determining module is specifically configured to:
determining second file data in the file data set, wherein the second file data is first file data of which the state of the first file data in the file data set is a sharing state;
determining that the operation authority of the second terminal on the second file data is a sharing authority;
the second determining module is specifically configured to:
under the condition that the operation authority of the second terminal on the second file data is a sharing authority, acquiring and returning information of all the second file data in the file data set to the second terminal;
receiving a file identifier sent by the second terminal;
and acquiring and returning second file data corresponding to the file identifier to the second terminal.
It is to be understood that the above embodiments are merely exemplary embodiments that are employed to illustrate the principles of the present disclosure, and that the present disclosure is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the disclosure, and these are to be considered as the scope of the disclosure.

Claims (12)

1. A method for sharing data, comprising:
receiving a user file sent by a first terminal, wherein the user file comprises first file data and a first number;
and under the condition that the first number belongs to the registered user, storing the first file data, and setting the state of the first file data to determine the operation authority of the terminal corresponding to the binding number which has the binding relation with the first number on the first file data.
2. The data sharing method according to claim 1, wherein the state of the first file data includes a shared state and an unshared state.
3. The data sharing method according to claim 1, wherein before receiving the user file sent by the first terminal, the method further comprises:
receiving a registration request sent by a first terminal, and acquiring a user number list in the registration request;
sending an information query request to an operator network element, wherein the information query request carries the user number list;
and in response to receiving a binding confirmation message returned by the operator network element, registering all numbers in the user number list, wherein the binding confirmation message comprises information that all numbers in the user number list have binding relations.
4. A method for sharing data, comprising:
receiving an operation request sent by a second terminal, wherein the operation request comprises a second number corresponding to the second terminal;
under the condition that the second number is determined to belong to the registered user, acquiring a binding number which has a binding relationship with the second number;
acquiring the state of first file data uploaded in advance by the second terminal and the terminal corresponding to the binding number;
determining the operation authority of the second terminal on the first file data according to the state of the first file data;
and determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data.
5. The data sharing method according to claim 4, wherein the operation request includes a viewing request, the plurality of first file data form a file data set, the states of the first file data in the file data set are all non-sharing states, and the determining, according to the state of the first file data, the operation authority of the second terminal on the first file data includes:
determining that the operation authority of the second terminal on the first file data is a viewing authority under the condition that the state of the first file data is a non-sharing state;
the determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data includes:
and under the condition that the operation authority of the second terminal on the first file data is the viewing authority, acquiring and returning information of all the first file data in the file data set to the second terminal.
6. The data sharing method according to claim 4, wherein the operation request includes a sharing request, the plurality of first file data form a file dataset, the states of the first file data in the file dataset are all shared states, or the state of the first file data in the file dataset includes a shared state and an unshared state, and the determining, according to the state of the first file data, the operation right of the second terminal on the first file data includes:
determining second file data in the file data set, wherein the second file data is first file data of which the state of the first file data in the file data set is a sharing state;
determining that the operation authority of the second terminal on the second file data is a sharing authority;
the determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data includes:
under the condition that the operation authority of the second terminal on the second file data is a sharing authority, acquiring and returning information of all the second file data in the file data set to the second terminal;
receiving a file identifier sent by the second terminal;
and acquiring and returning second file data corresponding to the file identifier to the second terminal.
7. An edge computing device, comprising:
the receiving module is used for receiving a user file sent by a first terminal, wherein the user file comprises first file data and a first number;
the storage module is used for storing the first file data under the condition that the first number is determined to belong to a registered user;
and the setting module is used for setting the state of the first file data so as to determine the operation authority of the terminal corresponding to the binding number which has the binding relationship with the first number on the first file data.
8. The edge computing device of claim 7, wherein the state of the first file data comprises a shared state and an unshared state.
9. The edge computing device of claim 7, wherein the receiving module is further configured to receive a registration request sent by the first terminal;
the edge computing device further comprises:
the acquisition module is used for acquiring a user number list in the registration request;
a sending module, configured to send an information query request to an operator network element, where the information query request carries the user number list;
and the registration module is used for registering all numbers in the user number list in response to receiving a binding confirmation message returned by the operator network element, wherein the binding confirmation message comprises information that all numbers in the user number list have binding relations.
10. An edge computing device, comprising:
the receiving module is used for receiving an operation request sent by a second terminal, wherein the operation request comprises a second number corresponding to the second terminal;
the first acquisition module is used for acquiring a binding number which has a binding relationship with the second number under the condition that the second number is determined to belong to a registered user;
the second acquisition module is used for acquiring the second terminal and the state of the first file data which is uploaded in advance by the terminal corresponding to the binding number;
the first determining module is used for determining the operation authority of the second terminal on the first file data according to the state of the first file data;
and the second determining module is used for determining whether to share the first file data to the second terminal according to the operation authority of the second terminal on the first file data.
11. The edge computing device of claim 10, wherein the operation request comprises a view request, the first file data forms a file data set, the states of the first file data in the file data set are all non-shared states, and the first determining module is specifically configured to:
determining that the operation authority of the second terminal on the first file data is a viewing authority under the condition that the state of the first file data is a non-sharing state;
the second determining module is specifically configured to:
and under the condition that the operation authority of the second terminal on the first file data is the viewing authority, acquiring and returning information of all the first file data in the file data set to the second terminal.
12. The edge computing device of claim 10, wherein the operation request includes a share request, the first file data forms a file dataset, the states of the first file data in the file dataset are all shared states, or the state of the first file data in the file dataset includes a shared state and an unshared state, and the first determining module is specifically configured to:
determining second file data in the file data set, wherein the second file data is first file data of which the state of the first file data in the file data set is a sharing state;
determining that the operation authority of the second terminal on the second file data is a sharing authority;
the second determining module is specifically configured to:
under the condition that the operation authority of the second terminal on the second file data is a sharing authority, acquiring and returning information of all the second file data in the file data set to the second terminal;
receiving a file identifier sent by the second terminal;
and acquiring and returning second file data corresponding to the file identifier to the second terminal.
CN202110623513.8A 2021-06-04 2021-06-04 Data sharing method and edge computing device Active CN113420001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110623513.8A CN113420001B (en) 2021-06-04 2021-06-04 Data sharing method and edge computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110623513.8A CN113420001B (en) 2021-06-04 2021-06-04 Data sharing method and edge computing device

Publications (2)

Publication Number Publication Date
CN113420001A true CN113420001A (en) 2021-09-21
CN113420001B CN113420001B (en) 2024-02-09

Family

ID=77713896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110623513.8A Active CN113420001B (en) 2021-06-04 2021-06-04 Data sharing method and edge computing device

Country Status (1)

Country Link
CN (1) CN113420001B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333076A (en) * 2011-07-21 2012-01-25 上海互联网软件有限公司 File sharing system and method, and network information integration system and method
CN103491172A (en) * 2013-09-25 2014-01-01 深圳Tcl新技术有限公司 Method and system for sharing cloud file
US10455351B1 (en) * 2018-05-04 2019-10-22 Microsoft Technology Licensing, Llc Sharing geo-located information
US20200026290A1 (en) * 2019-08-26 2020-01-23 Lg Electronics Inc. Method and device for data sharing using mec server in autonomous driving system
CN110839166A (en) * 2019-11-19 2020-02-25 中国联合网络通信集团有限公司 Data sharing method and device
CN112087312A (en) * 2019-06-15 2020-12-15 华为技术有限公司 Method, device and equipment for providing edge service
CN112422561A (en) * 2020-11-18 2021-02-26 三星电子(中国)研发中心 Content sharing method and device and method
CN112866222A (en) * 2021-01-11 2021-05-28 华控清交信息科技(北京)有限公司 Data processing method and device and data processing device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333076A (en) * 2011-07-21 2012-01-25 上海互联网软件有限公司 File sharing system and method, and network information integration system and method
CN103491172A (en) * 2013-09-25 2014-01-01 深圳Tcl新技术有限公司 Method and system for sharing cloud file
US10455351B1 (en) * 2018-05-04 2019-10-22 Microsoft Technology Licensing, Llc Sharing geo-located information
CN112087312A (en) * 2019-06-15 2020-12-15 华为技术有限公司 Method, device and equipment for providing edge service
US20200026290A1 (en) * 2019-08-26 2020-01-23 Lg Electronics Inc. Method and device for data sharing using mec server in autonomous driving system
CN110839166A (en) * 2019-11-19 2020-02-25 中国联合网络通信集团有限公司 Data sharing method and device
CN112422561A (en) * 2020-11-18 2021-02-26 三星电子(中国)研发中心 Content sharing method and device and method
CN112866222A (en) * 2021-01-11 2021-05-28 华控清交信息科技(北京)有限公司 Data processing method and device and data processing device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WEIJIE SUN等: "Profit maximization task offloading mechanism with D2D collaboration in mec networks", 《2019 11TH INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS AND SIGNAL PROCESSING》, pages 1 - 2 *
陈丹 等: "运营商MEC边缘云平台架构分析", 《自动化博览》, vol. 37, no. 12, pages 46 - 49 *

Also Published As

Publication number Publication date
CN113420001B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
AU2010307479B2 (en) Apparatus and method for establishing a personal network for providing a CPNS service
JP6093482B2 (en) Method and apparatus for displaying search results on portable terminal
US20130058321A1 (en) Communication device, distribution system, distribution data processing method, and distribution data processing program
EP4007374A1 (en) Information processing method and apparatus, communication device and storage medium
CN106713323B (en) page content preview method, client, server and system
WO2013131472A1 (en) Message processing method, device and system
WO2008104131A1 (en) Method, apparatus and system of searching and downloading mobile telephone file
EP2394222B1 (en) Method for transmitting virtualized data in cloud computing environment
CN105611422B (en) Online live broadcasting method and device based on multimedia list
CN102271165B (en) Device and method for sharing and managing resources searched on Internet
CN102006568A (en) Method, equipment and system for providing portrait service
EP2408174A1 (en) Messaging activity feed
WO2013102326A1 (en) Method and system for realizing service processing in cloud terminal
EP2974159B1 (en) Method, device and system for voice communication
WO2022216315A1 (en) Location reporting for service enabler architecture layer (seal)
WO2021191712A1 (en) Exposure and discovery of distributed network functions serving a user equipment or ppdu session
CN110489474B (en) Data processing method, device, medium and electronic equipment
JP2017107593A (en) Information distribution device, push notification method, and computer program
CN113420001B (en) Data sharing method and edge computing device
RU2596588C2 (en) System and method for activation of mobile device for communication initiating
WO2011157004A1 (en) Method, apparatus, terminal and system for channel encryption
WO2009062396A1 (en) Resource access method and resource access system
US8484182B1 (en) Wireless device content searching
RU2465637C2 (en) System and method for improving operation of media server
CN104980329A (en) Address book management method address book management device and mobile agent server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant