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

Data sharing method and edge computing device Download PDF

Info

Publication number
CN113420001B
CN113420001B CN202110623513.8A CN202110623513A CN113420001B CN 113420001 B CN113420001 B CN 113420001B CN 202110623513 A CN202110623513 A CN 202110623513A CN 113420001 B CN113420001 B CN 113420001B
Authority
CN
China
Prior art keywords
file data
terminal
file
user
data
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.)
Active
Application number
CN202110623513.8A
Other languages
Chinese (zh)
Other versions
CN113420001A (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

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)
  • Information Transfer Between Computers (AREA)
  • Storage Device Security (AREA)

Abstract

The present disclosure provides a data sharing method and an edge computing device, the method 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 is determined to belong to a registered user, storing the first file data, and setting the state of the first file data to determine the operation authority of a terminal corresponding to the binding number with the binding relation with the first number on the first file data. The terminal corresponding to the binding number with the binding relation with the first number can execute 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 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
There are two main ways of sharing data for home users at present: 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 with the same APP installed through own chat tools (such as WeChat and qq) or network disk tools.
These two modes currently have problems of different degrees, and serious user experience is as follows:
in the bluetooth mode, the connection flow is complex, and the user has to open the bluetooth connection, search the pairing device, input the pairing key, etc., and the use flow is complex for the common user in the home, and needs to be guided. And, the transmission speed is slow, and the waiting time is long. Since the 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 (1 minute long file can reach more than 300 MB) shot by the current high-pixel mobile phone can reach more than 20 minutes. And, only can one-to-one transmission, to realize the sharing of multiple people, repeated transmission is needed for many times.
In the APP mode, data barriers exist between the APPs, the same APP needs to be installed between home users, and universal file transmission between the APPs cannot be realized. And moreover, file transmission among the APP is realized, user files are transmitted to an APP Internet server through the Internet, and then the user files are transmitted to a user receiving the files by the Internet server, so that the data backhaul wastes the 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, different users in the same household have increasingly abundant data types (such as photos, audio, video, web pages and the like) and increasingly larger data volumes (high-definition photos, high-definition video and the like). Because these data are managed by different APP on the mobile phone, the user cannot manage all of its data resources (only can go to view, browse data through APP), experience is poor through internet transmission between APP, and data sharing between family members is also becoming increasingly difficult.
Disclosure of Invention
The present disclosure provides a data sharing method and an edge computing device, which address the above-mentioned deficiencies in the prior art.
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 is determined to belong to a registered user, storing the file data, and setting the state of the first file data so as to determine the operation authority of a terminal corresponding to the binding number with the binding relation to 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 inquiry request to an operator network element, wherein the information inquiry 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 relation.
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;
acquiring a binding number which has a binding relation with the second number under the condition that the second number is determined to belong to a registered user;
acquiring the state of first file data uploaded in advance by the second terminal and a 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 with the second terminal according to the operation authority of the second terminal on the first file data.
Preferably, the operation request includes a view request, a plurality of first file data form a file data set, states of the first file data in the file data set are all unshared states, and the determining the operation authority of the second terminal on the first file data according to the states of the first file data includes:
determining that the operation authority of the second terminal on the first file data is the 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 to the first file data comprises the following steps:
and under the condition that the operation authority of the second terminal to the first file data is the viewing authority, acquiring and returning the information of all the first file data in the file data set to the second terminal.
Preferably, the operation request includes a sharing request, a plurality of the first file data form a file data set, states of the first file data in the file data set are all sharing states, or states of the first file data in the file data set include sharing states and non-sharing states, and the determining the operation authority of the second terminal on the first file data according to the states of the first file data includes:
determining second file data in the file data set, wherein the second file data is first file data with the state of first file data in the file data set being a sharing state;
determining that the operation authority of the second terminal to 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 to the first file data comprises the following steps:
acquiring and returning information of all second file data in the file data set to the second terminal under the condition that the operation authority of the second terminal to the second file data is a sharing authority;
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 comprising:
the receiving module is used for receiving a user file sent by the 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;
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 with 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, the receiving module is further configured to receive a registration request sent by the first terminal;
the edge computing device further includes:
the acquisition module is used for acquiring a user number list in the registration request;
the sending module is used for sending an information inquiry request to an operator network element, wherein the information inquiry 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 confirmation binding message returned by the operator network element, wherein the confirmation binding message comprises information that all numbers in the user number list have binding relation.
As a fourth aspect of the present disclosure, there is provided 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 relation 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 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 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 the first file data is shared with the second terminal according to the operation authority of the second terminal on the first file data.
Preferably, the operation request includes a view request, a plurality of first file data form a file data set, states of the first file data in the file data set are all unshared 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 the 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 to the first file data is the viewing authority, acquiring and returning the 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 sharing states, or states of the first file data in the file data set include a sharing 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 with the state of first file data in the file data set being a sharing state;
determining that the operation authority of the second terminal to the second file data is a sharing authority;
the second determining module is specifically configured to:
acquiring and returning information of all second file data in the file data set to the second terminal under the condition that the operation authority of the second terminal to the second file data is a sharing authority;
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, an edge computing device receives a user file sent by a first terminal, where the user file includes first file data and a first number, stores the first file data when it is determined that the first number belongs to a registered user in the edge computing device, and sets a state of the first file data, so as to determine an operation authority of the 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 with the binding relation with the first number can execute 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 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 illustrating a file sharing process in a data sharing method according to an embodiment of the present disclosure;
FIG. 4 is a schematic 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
In order that those skilled in the art will better understand the technical solutions of the present disclosure, the present disclosure will be described in further detail with reference to the accompanying drawings and detailed description.
In order to solve the problems that in the current data sharing mode of home users, the Bluetooth mode is complex in flow, low in transmission speed and long in waiting time, and in the APP mode, the home users are required to install the same APP before, the Internet broadband is wasted, the mass data of the home users are difficult to manage, and the user experience is poor. The disclosure provides a data sharing method and device. The following detailed description is provided with reference to the accompanying drawings of the embodiments provided by the present disclosure, respectively.
Fig. 1 shows a flowchart of a file storage process in a data sharing method according to an embodiment of the present disclosure.
Referring to fig. 1, a data sharing method provided by an 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.
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 with the binding relation with the first number on the first file data.
Edge computing devices (MEC, mobile Edge Computing) run at the edge of the network and are logically independent of other parts of the network, which is important for security-critical applications. In addition, MECs generally have high computational power and are therefore particularly suited for analyzing large amounts of data. Meanwhile, because MEC is very close to the user or the information source in the geography, the time delay of the network responding to the user request is greatly reduced, and the possibility of network congestion of the transmission network and the core network part is reduced. Finally, the MEC at the network edge can acquire network data such as base station ID, available bandwidth, and information related to the user location in real time, so as to perform link-aware adaptation, and provide deployment possibilities for location-based applications, which can greatly improve the quality of service experience of the user.
The first terminal is equipment with data acquisition and reporting functions, and reports user files to the MEC at regular time according to a preset period.
An access point, i.e. a Wireless access point or a wired access point, is also included between the first terminal and the MEC, and is commonly a wifi (Wireless-Fidelity) base station, a 2G/3G/4G/5G (2/3/4/5-Generation Wireless telephone technology, second/third/fourth/fifth generation mobile phone communication specifications).
In the embodiment of the present disclosure, all numbers having a binding relationship (i.e., numbers of members of a home user) are registered in the MEC. The MEC receives a user file sent by a first terminal (the first terminal can send through the APP), wherein the user file comprises first file data and a first number, the first file data is stored under the condition that the first number is determined to belong to a registered user in the edge computing equipment, and the state of the first file data is set so as to be used for determining the operation authority of the terminal corresponding to the binding number with the binding relation with the first number on the stored first file data. The terminal corresponding to the binding number with the binding relation with the first number can execute 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 home users, have high transmission speed, save broadband resources and improve user experience. The first file data may be a picture or a video or a file of a document/music type, etc.
It should be noted that, the first file data in the embodiment of the present disclosure may also be saved to the MEC virtual home subscriber data server. The home subscriber data server is used for storing, inquiring and updating the first file data. If the first file data is a picture or video file, a thumbnail corresponding to the first file data is generated (the picture thumbnail is a low-pixel picture of the picture, the video thumbnail is a low-pixel picture of a certain frame in one minute randomly extracted from the video, and the thumbnail of the file of the document/music type is blank).
In a preferred embodiment, the home subscriber data relationship table is established when the numbers of members of the home subscriber are registered with the MEC, as in table 1 below. The home subscriber data relationship table includes all numbers (msisdn_list, MSISDN (Mobile Subscriber International ISDN Number, mobile subscriber number)) having binding relationships registered to the MEC, i.e., the numbers of the members of all home subscribers. In step S102, it is determined whether the first number belongs to the registered subscriber, i.e. it is determined whether the first number is in the home subscriber data relation table, i.e. 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, international mobile equipment identifier) of the first terminal, an APP ID or URL (Uniform Resource Locator ) or a family_id, etc. for determining which home user data relationship table is. And inquiring whether the first number is in the determined family user data relationship table.
TABLE 1
In a preferred embodiment, after storing the first file data, the MEC also builds a first file data table, as described in 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 status of the first file data are generated, and table 2 below 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 status of the first file data, and an upload time of the first file data.
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 can view and download the first file data stored in the MEC. When the state of the first file data is in a non-sharing 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 default setting of the system or may be manually set by the user. The specific setting of the state of the first file data is not limited at this time.
Fig. 2 is a flowchart illustrating another file storage process in a data sharing method according to an embodiment of the present disclosure.
In some embodiments, referring to fig. 2, before the receiving the user file sent by the first terminal (i.e. step S101), the following steps are further included.
Step S201, a registration request sent by a first terminal is received.
Step S202, a user number list in the registration request is obtained.
In step S201-step S202, the registration request includes a LIST of subscriber numbers, i.e., msisdn_list. The registration request is a request that the first terminal applies to join the family sharing service, and can be sent through a short message, a webpage or an APP.
Step S203, an information query request is sent to the operator network element.
And step S204, in response to receiving the confirmation binding message returned by the operator network element, registering all the numbers in the user number list.
The operator network element, i.e. HSS (Home Subscriber Server )/UPF (User Plane Function, user plane function entity), stores the user information, and the personal information (such as name, id number) of the user, the service subscription information (such as package, home service), etc. are all stored on the network element.
Wherein, the information inquiry request carries a user number list. The binding confirming message includes 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 numbers in the user number list have binding relations, and if so, the operator network element returns a confirmation binding message to the MEC. And the MEC receives the confirmation binding relation returned by the network element of the operator and registers all the numbers in the user number list.
In a preferred embodiment, all numbers in the user number list are registered, i.e. a home user data relationship table is established, as in table 1 above. The registration request may also carry an IMEI, APP ID, etc. of the first terminal, where the MEC configures a family_id (FAMILY service sharing number), a virtual service address of the FAMILY user data server, and sets a FAMILY user data relationship table according to the IMEI, family_id, all numbers in the user number list, the first number, the virtual service address of the FAMILY user data server, and the handling time of the first terminal.
Fig. 3 shows a flowchart of a file sharing process in a data sharing method according to an embodiment of the present disclosure.
In some embodiments, referring to fig. 3, a data sharing method provided by an embodiment of the present disclosure includes the following steps.
Step S301, an operation request sent by the second terminal is received.
Step S302, under the condition that the second number is determined to belong to the registered user, the binding number which has binding relation with the second number is obtained.
Step S303, the state of the first file data uploaded in advance by the second terminal and the terminal corresponding to the binding number is obtained.
Step S304, determining the operation authority of the second terminal to 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.
The operation request comprises a second number corresponding to the second terminal.
In step S301-step S305, the MEC receives an operation request sent by the second terminal, and obtains a binding number having a binding relationship with the second number when determining that the second number is registered in the MEC, and obtains a state of the first file data uploaded in advance by the second terminal and a terminal corresponding to the binding number. And determining the operation authority of the second terminal to the first file data according to the state of the first file data, and determining whether to share the first file data with the second terminal according to the operation authority of the second terminal to the first file data. The method and the system can uniformly manage mass data of 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 if it is determined that the second number is registered in the MEC, a binding number having a binding relationship with the second number is not found, the flow of the present disclosure is terminated.
In some embodiments, the operation request includes a view request, the plurality of first file data comprises 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 a 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 with the second terminal according to the operation authority of the second terminal to the first file data (i.e. step S305) includes: and under the condition that the operation authority of the second terminal to the first file data is the viewing authority, acquiring and returning the 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 or 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-sharing states, determining that the operation authority of the second terminal on the first file data stored on the MEC is the viewing authority. 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 second terminal IMEI may be carried in the view request, so as to determine the home subscriber data relationship table to which the second number belongs.
It should be noted that, after receiving the information of all the first file data in the file data set, the second terminal may set the state of at least one of the first file data as the sharing state, and the second terminal sends the list of the first file data set as the sharing state to the MEC, and the MEC sets the state of the corresponding first file data in the file data set as the sharing state according to the list.
In some embodiments, the operation request includes a sharing request, the plurality of first file data form a file data set, and 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 sharing states and non-sharing states. Determining the operation authority of the second terminal to 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 the operation authority of the second terminal on the second file data as the sharing authority.
Further, determining whether to share the first file data with the second terminal according to the operation authority of the second terminal to the first file data (i.e. step S305) includes: under the condition that the operation authority of the second terminal to 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 identification to the second terminal.
Specifically, when the operation request is a sharing request (which may be sent through a web page or 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 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, determining the second file data in the file data set, and determining that the operation authority of the second terminal to the second file data is the sharing authority. The second file data is first file data in which the state of the first file data in the file data set is a shared state. The MEC acquires and returns the information of all second file data in the file data set to the second terminal, and when the MEC receives the file identification returned by the second terminal (a list of the file identifications can also be sent), acquires and returns the second file data corresponding to the file identification to 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 can display the second file data corresponding to the file identifier through a short message, a browser, an APP or the like, or prompt a user to store the second file data corresponding to the file identifier.
It should be noted that, the sharing request may carry an IMEI of the second terminal, so as to determine the home subscriber data relationship table to which the second number belongs.
In the embodiment of the disclosure, members of the same family user (i.e., all numbers with binding relation) can view and download the sharable first file data through the MEC, so that convenient data storage and sharing among the members of the family user are realized.
Fig. 4 shows a schematic structural diagram of an edge computing device provided by an embodiment of the 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.
A receiving module 11, configured to receive a user file sent by a first terminal, where the user file includes first file data and a first number;
a storage module 12, configured to store the first file data if it is determined that the first number belongs to a registered user;
and the setting module 13 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 with the binding relation 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 includes:
the acquisition module is used for acquiring a user number list in the registration request;
the sending module is used for sending an information inquiry request to an operator network element, wherein the information inquiry 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 confirmation binding message returned by the operator network element, wherein the confirmation binding message comprises information that all numbers in the user number list have binding relation.
Fig. 5 shows a schematic structural diagram of an edge computing device provided by 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 a binding number having a binding relationship with the second number when it is determined that the second number belongs to a registered user;
a second obtaining module 23, configured to obtain a state of the first file data that is uploaded in advance by the second terminal and the terminal corresponding to the binding number;
a first determining module 24, configured to determine an operation authority of the second terminal on the first file data according to the state of the first file data;
and a second determining module 25, configured to determine whether to share the first file data with the second terminal according to the operation authority of the second terminal on the first file data.
In some embodiments, the operation request includes a view request, a plurality of the first file data form a file data set, states of the first file data in the file data set are all non-sharing 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 the 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 to the first file data is the viewing authority, acquiring and returning the 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 sharing states, or states of the first file data in the file data set include a sharing 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 with the state of first file data in the file data set being a sharing state;
determining that the operation authority of the second terminal to the second file data is a sharing authority;
the second determining module is specifically configured to:
acquiring and returning information of all second file data in the file data set to the second terminal under the condition that the operation authority of the second terminal to the second file data is a sharing authority;
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 employed to illustrate the principles of the present disclosure, however, the present disclosure is not limited thereto. Various modifications and improvements may be made by those skilled in the art without departing from the spirit and substance of the disclosure, and are also considered to be within the scope of the disclosure.

Claims (12)

1. A method of data sharing, applied to an edge computing device, comprising:
receiving a user file sent by a first terminal, wherein the user file comprises first file data and a first number; wherein the first number is registered in an edge computing device;
storing the first file data under the condition that the first number is determined to belong to a registered user, setting the state of the first file data, determining the operation authority of a terminal corresponding to a binding number with a binding relation with the first number on the first file data, and executing corresponding operation on the first file data according to the operation authority of the first file data by the terminal corresponding to the binding number with the binding relation with the first number; a binding number with binding relation with the first number is registered and obtained in the edge computing equipment;
the first file data are stored in a home user data server which is virtual by the edge computing equipment; the home user data server is used for storing, inquiring and updating the first file data and uniformly managing the data of the home user.
2. The data sharing method of 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 inquiry request to an operator network element, wherein the information inquiry 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 relation.
4. A method of data sharing, applied to an edge computing device, comprising:
receiving an operation request sent by a second terminal, wherein the operation request comprises a second number corresponding to the second terminal; wherein the second number is registered in an edge computing device;
acquiring a binding number which has a binding relation with the second number under the condition that the second number is determined to belong to a registered user; a binding number with binding relation with the second number is registered and obtained in the edge computing equipment;
acquiring the state of first file data uploaded in advance by the second terminal and a 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;
determining whether to share the first file data with the second terminal according to the operation authority of the second terminal on the first file data, and executing corresponding operation on the first file data by the second terminal according to the operation authority of the first file data;
the first file data are stored in a home user data server which is virtual by the edge computing equipment; the home user data server is used for storing, inquiring and updating the first file data and uniformly managing mass data of home users.
5. The data sharing method according to claim 4, wherein the operation request includes a view request, a plurality of the first file data form a file data set, states of the first file data in the file data set are all unshared states, and the determining the operation authority of the second terminal on the first file data according to the states of the first file data includes:
determining that the operation authority of the second terminal on the first file data is the 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 to the first file data comprises the following steps:
and under the condition that the operation authority of the second terminal to the first file data is the viewing authority, acquiring and returning the 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 data set, states of the first file data in the file data set are all sharing states, or states of the first file data in the file data set include a sharing state and an unshared state, and the determining the operation authority of the second terminal to the first file data according to the states of the first file data includes:
determining second file data in the file data set, wherein the second file data is first file data with the state of first file data in the file data set being a sharing state;
determining that the operation authority of the second terminal to 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 to the first file data comprises the following steps:
acquiring and returning information of all second file data in the file data set to the second terminal under the condition that the operation authority of the second terminal to the second file data is a sharing authority;
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 the first terminal, wherein the user file comprises first file data and a first number; wherein the first number is registered in an edge computing device;
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;
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 with the binding relation with the first number on the first file data; the first file data are stored in a home user data server which is virtual by the edge computing equipment; the home user data server is used for storing, inquiring and updating the first file data and uniformly managing mass data of home users; and registering the binding number which has binding relation with the first number in the edge computing equipment to obtain.
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 includes:
the acquisition module is used for acquiring a user number list in the registration request;
the sending module is used for sending an information inquiry request to an operator network element, wherein the information inquiry 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 confirmation binding message returned by the operator network element, wherein the confirmation binding message comprises information that all numbers in the user number list have binding relation.
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; wherein the second number is registered in an edge computing device;
the first acquisition module is used for acquiring a binding number which has a binding relation with the second number under the condition that the second number is determined to belong to a registered user; a binding number with binding relation with the second number is registered and obtained in the edge computing equipment;
the second acquisition module is used for acquiring the 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 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;
the second determining module is used for determining whether the first file data is shared with the second terminal according to the operation authority of the second terminal on the first file data; the second terminal executes corresponding operation on the first file data according to the operation authority of the first file data; the first file data are stored in a home user data server which is virtual by the edge computing equipment; the home user data server is used for storing, inquiring and updating the first file data and uniformly managing mass data of home users.
11. The edge computing device of claim 10, wherein the operation request comprises a view request, a plurality of the first file data form a file data set, states of the first file data in the file data set are all unshared 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 the 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 to the first file data is the viewing authority, acquiring and returning the 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 comprises 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 comprise sharing states and non-sharing states, 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 with the state of first file data in the file data set being a sharing state;
determining that the operation authority of the second terminal to the second file data is a sharing authority;
the second determining module is specifically configured to:
acquiring and returning information of all second file data in the file data set to the second terminal under the condition that the operation authority of the second terminal to the second file data is a sharing authority;
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 CN113420001A (en) 2021-09-21
CN113420001B true 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 (7)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102241296B1 (en) * 2019-08-26 2021-04-16 엘지전자 주식회사 Method and apparatus for data sharing using mec server in autonomous driving system

Patent Citations (7)

* 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
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
Profit maximization task offloading mechanism with D2D collaboration in mec networks;Weijie Sun等;《2019 11th international conference on wireless communications and signal processing》;第1-2页 *
运营商MEC边缘云平台架构分析;陈丹 等;《自动化博览》;第37卷(第12期);第46-49页 *

Also Published As

Publication number Publication date
CN113420001A (en) 2021-09-21

Similar Documents

Publication Publication Date Title
WO2020147760A1 (en) Local area network communication method, device, and system
AU2010307479B2 (en) Apparatus and method for establishing a personal network for providing a CPNS service
KR100978336B1 (en) Remote access
EP2394222B1 (en) Method for transmitting virtualized data in cloud computing environment
CN106210049B (en) Cluster communication method and system based on message queue
EP2408174A1 (en) Messaging activity feed
WO2012151980A1 (en) Service processing server, system, and method
CN101442475A (en) Distributed business acting method, network system and network appliance
CN101072118A (en) Home network service quality strategy management system and method
JP2024511907A (en) Network function registration method, discovery method, equipment, device and medium
JP2005529550A5 (en)
CN113315689B (en) Information processing method, system, electronic device and readable storage medium
JP3800531B2 (en) State information sharing / processing method and system for communication applications
CN113420001B (en) Data sharing method and edge computing device
CN107295697B (en) Wireless network system with regional communication and communication method thereof
WO2009062396A1 (en) Resource access method and resource access system
CN104780591A (en) Service interoperation implementation method between terminal equipment, device, system and related equipment
CN112202914A (en) Message pushing method and device
RU2465637C2 (en) System and method for improving operation of media server
CN114025349A (en) Network service method, device, system and storage medium
WO2014107956A1 (en) Resource sharing method and device
KR100541756B1 (en) Method for transferring data in wireless communication system
WO2023179709A1 (en) Information processing method and apparatus, communication device, and readable storage medium
JP2011526767A (en) Content conversion system and processing method thereof
KR100893204B1 (en) Method and System for Providing the Contents Automatic Download Service

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