WO2015101302A1 - Data sharing method, system, user end and background server - Google Patents

Data sharing method, system, user end and background server Download PDF

Info

Publication number
WO2015101302A1
WO2015101302A1 PCT/CN2014/095704 CN2014095704W WO2015101302A1 WO 2015101302 A1 WO2015101302 A1 WO 2015101302A1 CN 2014095704 W CN2014095704 W CN 2014095704W WO 2015101302 A1 WO2015101302 A1 WO 2015101302A1
Authority
WO
WIPO (PCT)
Prior art keywords
network segment
content sharing
background server
data
user
Prior art date
Application number
PCT/CN2014/095704
Other languages
French (fr)
Chinese (zh)
Inventor
林晓丹
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2015101302A1 publication Critical patent/WO2015101302A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a data sharing method, system, client, and background server.
  • the usual method is to open the data to be shared (such as a web page) in the terminal, click the sharing option to enter the interface of a network platform, and then the user inputs the account and password in the network platform to perform the account. After logging in, after the user logs in to the account, he can enter the corresponding contact page, and select the friends who share data in the page to share data.
  • the embodiment of the invention provides a data sharing method, system, user end and back-end server, which aims to simplify various data sharing processes of the browser, improve the flexibility of data sharing, and promote the circulation of data content.
  • the embodiment of the invention provides a data sharing method, including:
  • the first user end receives the sharing instruction of the target data, and carries the access related information of the target data in the sharing request and sends the information to the background server;
  • the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the established network segment where the first user terminal is located. Data content sharing pool.
  • the embodiment of the invention further provides a data sharing method, including:
  • the first user end receives the sharing instruction of the target data, and carries the access related information of the target data in the sharing request and sends the information to the background server, so that the background server determines the data content of the network segment where the first user terminal is located.
  • the shared pool is set up, and the access related information of the target data to be shared is put into the data content sharing pool of the established network segment where the first user is located.
  • the embodiment of the invention further provides a data sharing method, including:
  • the background server receives the sharing request sent by the first user end and carries the access related information of the target data
  • the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the established network segment where the first user terminal is located. Data content sharing pool.
  • the embodiment of the present invention further provides a first user end, the first user end includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or more
  • the processor executes instructions included in the one or more programs for performing the following methods:
  • Embodiments of the present invention also provide a background server, the background server including a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors An instruction contained in one or more programs for performing the following methods:
  • the access related information of the target data to be shared is placed in the data content sharing pool of the network segment where the first user terminal is located.
  • the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
  • FIG. 1 is a schematic flow chart of a first embodiment of a data sharing method according to the present invention.
  • FIG. 2 is a schematic flow chart of a second embodiment of a data sharing method according to the present invention.
  • FIG. 3 is a schematic flow chart of a third embodiment of a data sharing method according to the present invention.
  • FIG. 4 is a schematic flow chart of a fourth embodiment of a data sharing method according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a fifth embodiment of a data sharing method according to the present invention.
  • FIG. 6 is a schematic flow chart of a sixth embodiment of a data sharing method according to the present invention.
  • FIG. 7 is a schematic flow chart of a seventh embodiment of a data sharing method according to the present invention.
  • FIG. 8 is a schematic flow chart of an eighth embodiment of a data sharing method according to the present invention.
  • FIG. 9 is a schematic flow chart of a ninth embodiment of a data sharing method according to the present invention.
  • FIG. 10 is a flowchart of a data sharing method according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a preferred embodiment of a data sharing system of the present invention.
  • FIG. 12 is a schematic diagram of functional modules of a first embodiment of a data sharing browser of the present invention.
  • FIG. 13 is a schematic diagram of functional modules of a second embodiment of a data sharing browser of the present invention.
  • FIG. 14 is a schematic diagram of functional modules of a preferred embodiment of the data sharing server of the present invention.
  • FIG. 15 is a schematic structural diagram of a first user end according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of a background server according to an embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of a first user end according to an embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of a background server according to an embodiment of the present invention.
  • a first embodiment of the present invention provides a data sharing method from a system side, including:
  • Step S101 The browser receives the file sharing instruction sent by the first user end, and carries the access related information of the file in the sharing instruction and sends the file to the background server.
  • This embodiment can implement data sharing between multiple terminals in the same local area network segment based on the browser.
  • the network segment refers to the part of a computer network that uses the same physical layer device (transmission medium, repeater, hub, etc.) to communicate directly. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment.
  • Each network segment has a network identifier. The same network segment is distinguished by the network identifier. If the network identifier is the same, it indicates that it is on the same network segment.
  • the local area network segment refers to logically dividing the local area network device into a network segment, such as a WiFi (Wireless Fidelity) or a WLAN (Wireless Local Area Network) network segment or other wireless local area network.
  • a network segment such as a WiFi (Wireless Fidelity) or a WLAN (Wireless Local Area Network) network segment or other wireless local area network.
  • WiFi Wireless Fidelity
  • WLAN Wireless Local Area Network
  • WiFi is a technology that can connect terminals such as personal computers and handheld devices (such as PDAs and mobile phones) to each other wirelessly.
  • the background server establishes a file public content sharing pool under the same WiFi network segment, and browser users of all terminals under the WiFi network segment can share files that they find interesting in the public content sharing pool without registering the account. And password, you can achieve seamless circulation of file content.
  • the files that the end users of the browser can share may be web pages, pictures, audio and video files, etc., and the web pages may also have pictures.
  • the browser referred to in this embodiment may be a mobile phone browser, a PC browser or an iPad browser, etc., provided that the user can access the local area network such as WiFi or WLAN.
  • the browser terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
  • the browser After receiving the file sharing instruction sent by the user who initiated the file sharing (that is, the first user end referred to in this embodiment), the browser carries the access related information of the file in the sharing instruction and sends the file to the background server.
  • the access related information of the file includes the access address of the file and the file name.
  • the webpage access information may be the URL and the web address name of the webpage.
  • Step S102 the background server determines, according to the access related information, that the file content sharing pool of the network segment where the first user end is located is set, and inserts the address of the file to be shared into the first The file content sharing pool of the network segment where the client is located.
  • the background server After receiving the file sharing command sent by the browser, the background server first determines whether the file content sharing pool of the network segment where the first user end is located has been established according to the access related information carried by the file sharing instruction.
  • the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public content sharing pool, that is, these files. It is transparent to users in this network segment.
  • the background server needs to identify the same WiFi or WLAN network segment in the area, and use this local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, and provide a file transmission and storage mechanism.
  • the file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
  • the background server determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located, so as to be followed.
  • Other browser end users under the same network segment can share web pages, pictures or audio and video files in the file content sharing pool.
  • the browser after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information.
  • the file content sharing pool of the network segment When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool.
  • Browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in this public file content sharing pool, and the file content can be seamlessly circulated without login account and password, thereby simplifying browsing.
  • the file sharing process, and the flexibility of file sharing is improved, and the efficiency of file content circulation is promoted.
  • the second embodiment of the present invention provides a data sharing method from the system side.
  • the method further includes:
  • Step S103 the browser receives a second user end that is in the same network segment as the first user end. Sending a shared file query instruction; forwarding the shared file query instruction to the background server;
  • Step S104 The background server obtains file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction, and feeds the corresponding file content to the browser.
  • Step S105 The browser receives the file content sent by the background server, and provides the content to the second user end.
  • the second embodiment of the second user end that is in the same network segment as the first user end queries the file in the file content sharing pool of the network segment.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address from the file content sharing pool of the corresponding network segment according to the shared file query instruction. Information, and the corresponding file content is fed back to the browser.
  • the background server sets a corresponding file content sharing portal for the browsers of different terminals, and the browser obtains the shared file content from the background server through the set file content sharing portal.
  • the browser provides the content of the file obtained from the background server query to the second client.
  • the browser after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information.
  • the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction.
  • the corresponding file content is fed back to the second client through the browser.
  • a third embodiment of the present invention provides a data sharing method from the system side.
  • the browser carries the file related information in the sharing. After sending the command to the backend server, it also includes:
  • Step S106 the browser initiates the establishment of the network where the first user terminal is located to the background server.
  • Step S107 the background server determines, according to the access related information, whether a file content sharing pool of the network segment where the first user end is located has been established; if it is determined that the file content sharing pool of the network segment where the first user end is located has been If yes, go to step S108; otherwise, go to step S109;
  • step S108 the instruction that cannot be repeatedly established is returned to the browser, and the address of the file to be shared in step S102 is placed in the file content sharing pool of the network segment where the first user end is located.
  • step S109 the background server establishes a file content sharing pool of the network segment according to the request, and performs the file content sharing of the network segment where the first user terminal is located in the step S102. Pool.
  • the embodiment further includes: after the browser sends a file sharing instruction to the background server, the browser initiates a request for establishing a file content sharing pool of the network segment where the first user is located after the file sharing instruction is sent to the background server. Program.
  • the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public file content sharing pool.
  • the browser side may further request the background server to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
  • the browser After the browser sends the file sharing instruction of the first user to the background server, the browser initiates a request to establish a file content sharing pool of the network segment where the first user is located on the background server; the background server is carried according to the file sharing instruction of the first user end.
  • Accessing the related information determining whether the file content sharing pool of the network segment where the first user is located has been established, and if it is determined that the file content sharing pool of the network segment where the first user is located has been established, returning an instruction that cannot be repeatedly established to the browser And the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user is located; if it is determined that the file content sharing pool of the network segment where the first user is located has not been established, the background is The server establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the file content sharing pool of the network segment where the first user terminal is located.
  • the background server may also set a password access right for the file content sharing pool of the network segment to restrict access to the shared file in the file content sharing pool, and satisfy each user in the local area network.
  • the confidentiality requirements of the terminal may also be set.
  • the background server performs the access authority verification on the shared file query command of the second client. If the verification succeeds, the background server obtains the file address information from the file content sharing pool of the corresponding network segment, and feeds the corresponding file content to the second user through the browser. end.
  • the browser after receiving the file sharing instruction sent by the user end, the browser carries the information related to the access of the file in the sharing instruction and sends the information to the background server, and initiates the establishment of the first user to the background server.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction.
  • the corresponding file content is fed back to the second client through the browser.
  • the file content can be seamlessly circulated, which simplifies the browser file sharing process, and improves the flexibility of file sharing and promotes the efficiency of file content circulation.
  • the background server may also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and satisfy users in the local area network. The confidentiality requirements of the terminal.
  • a fourth embodiment of the present invention provides a data sharing method from a browser side, including:
  • Step S201 the browser receives a file sharing instruction sent by the first user end
  • step S202 the access related information of the file is carried in the sharing instruction and sent to the background server; and the background server determines, according to the access related information, the file content sharing pool of the network segment where the first user end is located.
  • the address of the file to be shared is placed in the file content sharing pool of the established network segment where the first user is located.
  • This embodiment can implement data sharing between multiple terminals in the same local area network segment based on the browser.
  • the network segment refers to the same physical layer device (transmission medium, repeater, Hub, etc.)
  • the part of direct communication That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment.
  • Each network segment has a network identifier.
  • the same network segment is distinguished by the network identifier. If the network identifier is the same, it indicates that it is on the same network segment.
  • the local area network segment in this embodiment refers to the logical division of the local area network device into a network segment, such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein.
  • a network segment such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein.
  • This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
  • Wi-Fi is a technology that can connect terminals such as personal computers and handheld devices (such as PDAs and mobile phones) to each other wirelessly.
  • the background server establishes a file public content sharing pool under the same WiFi network segment, and browser users of all terminals under the WiFi network segment can share files that they find interesting in the public content sharing pool without registering the account. And password, you can achieve seamless circulation of file content.
  • the files that the end users of the browser can share may be web pages, pictures, audio and video files, etc., and the web pages may also have pictures.
  • the browser referred to in this embodiment may be a mobile phone browser, a PC browser or an iPad browser, etc., provided that the user can access the local area network such as WiFi or WLAN.
  • the browser terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
  • the browser After receiving the file sharing instruction sent by the user who initiated the file sharing (that is, the first user end referred to in this embodiment), the browser carries the access related information of the file in the sharing instruction and sends the file to the background server.
  • the access related information of the file includes the access address of the file and the file name.
  • the webpage access information may be the URL and the web address name of the webpage.
  • the background server After receiving the file sharing command sent by the browser, the background server first determines whether the file content sharing pool of the network segment where the first user end is located has been established according to the access related information carried by the file sharing instruction.
  • the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public content sharing pool, that is, these files. It is transparent to users in this network segment.
  • the background server needs to identify the same WiFi or WLAN network segment in the area, and use this local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, providing file transmission. And storage mechanism.
  • the file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
  • the background server determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located, so as to be followed.
  • Other browser end users under the same network segment can share web pages, pictures or audio and video files in the file content sharing pool.
  • the browser after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information.
  • the file content sharing pool of the network segment When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool.
  • Browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in this public file content sharing pool, and the file content can be seamlessly circulated without login account and password, thereby simplifying browsing.
  • the file sharing process, and the flexibility of file sharing is improved, and the efficiency of file content circulation is promoted.
  • the fifth embodiment of the present invention provides a data sharing method from the browser side.
  • the method may further include:
  • Step S203 the browser receives a shared file query instruction sent by the second user end that is in the same network segment as the first user end;
  • Step S204 forwarding the shared file query instruction to the background server
  • Step S205 obtaining, by the background server, the file content of the query from the file content sharing pool of the corresponding network segment;
  • Step S206 providing the file content to the second user end.
  • the difference between this embodiment and the foregoing fourth embodiment is that the second embodiment of the second network that is in the same network segment as the first user end queries the file in the file content sharing pool of the network segment.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address from the file content sharing pool of the corresponding network segment according to the shared file query instruction. Information, and the corresponding file content is fed back to the browser.
  • the background server sets a corresponding file content sharing portal for the browsers of different terminals, and the browser obtains the shared file content from the background server through the set file content sharing portal.
  • the browser provides the content of the file obtained from the background server query to the second client.
  • the browser after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information.
  • the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction.
  • the corresponding file content is fed back to the second client through the browser.
  • the sixth embodiment of the present invention proposes a data sharing method from the browser side.
  • the browser carries the access related information of the file in the After the sending instruction is sent to the background server, the method further includes:
  • Step S207 the browser initiates a request for establishing a file content sharing pool of the network segment where the first user is located to the background server;
  • Step S208 when the background server determines that the file content sharing pool of the network segment where the first user terminal is located has been established, receiving an instruction that the background server returns that cannot be repeatedly established, and the office to be shared by the background server
  • the address of the file is placed in the file content sharing pool of the network segment where the first user terminal is located; otherwise, the background server establishes a file content sharing pool of the network segment according to the request, and the shared content is to be shared.
  • the address of the file is placed in the created file content sharing pool; and the process proceeds to step S203.
  • the embodiment further includes: after the browser sends a file sharing instruction to the background server, the browser initiates a request for establishing a file content sharing pool of the network segment where the first user is located after the file sharing instruction is sent to the background server. Program.
  • the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can use the public file content sharing pool. Share files in .
  • the browser side may further request the background server to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
  • the browser After the browser sends the file sharing instruction of the first user to the background server, the browser initiates a request to establish a file content sharing pool of the network segment where the first user is located on the background server; the background server is carried according to the file sharing instruction of the first user end.
  • Accessing the related information determining whether the file content sharing pool of the network segment where the first user is located has been established, and if it is determined that the file content sharing pool of the network segment where the first user is located has been established, returning an instruction that cannot be repeatedly established to the browser And the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user is located; if it is determined that the file content sharing pool of the network segment where the first user is located has not been established, the background is The server establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the file content sharing pool of the network segment where the first user terminal is located.
  • the background server may also set a password access right for the file content sharing pool of the network segment to restrict access to the shared file in the file content sharing pool, and satisfy each user in the local area network.
  • the confidentiality requirements of the terminal may also be set.
  • the background server After the browser forwards the shared file query instruction of the second user to the background server, the background server cooperates with the background server to perform access authority verification on the shared file query instruction; if the verification is passed, the background server shares the file content from the corresponding network segment.
  • the pool obtains the file address information, and feeds the corresponding file content to the second user through the browser.
  • the browser after receiving the file sharing instruction sent by the user end, the browser carries the information related to the access of the file in the sharing instruction and sends the information to the background server, and initiates the establishment of the first user to the background server.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction. , the corresponding text The content is fed back to the second client through the browser.
  • the background server may also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and satisfy users in the local area network.
  • the confidentiality requirements of the terminal are described below.
  • a seventh embodiment of the present invention provides a data sharing method from a background server side, including:
  • Step S301 The background server receives a file sharing instruction forwarded by the browser from the first user end, where the file sharing instruction carries the access related information of the file.
  • Step S302 determining, according to the access related information, that the file content sharing pool of the network segment where the first user end is located is set, and the address of the file to be shared is placed in the established network where the first user terminal is located.
  • the file content sharing pool for the segment is set, and the address of the file to be shared is placed in the established network where the first user terminal is located.
  • This embodiment can implement data sharing between multiple terminals in the same local area network segment based on the browser.
  • the network segment refers to the part of a computer network that uses the same physical layer device (transmission medium, repeater, hub, etc.) to communicate directly. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment.
  • Each network segment has a network identifier. The same network segment is distinguished by the network identifier. If the network identifier is the same, it indicates that it is on the same network segment.
  • the local area network segment in this embodiment refers to the logical division of the local area network device into a network segment, such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein.
  • a network segment such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein.
  • This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
  • the background server establishes a file common content sharing pool under the same WiFi network segment, and browser users of all terminals under the WiFi network segment can share in the public content sharing pool.
  • the files that you find interesting, without the need to log in to your account and password, can achieve seamless distribution of file content.
  • the files that the end users of the browser can share may be web pages, pictures, audio and video files, etc., and the web pages may also have pictures.
  • the browser referred to in this embodiment may be a mobile phone browser, a PC browser or an iPad browser, etc.
  • the premise is that you can connect to a LAN such as WiFi or WLAN to access users.
  • the browser terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
  • the browser After receiving the file sharing instruction sent by the user who initiated the file sharing (that is, the first user end referred to in this embodiment), the browser carries the access related information of the file in the sharing instruction and sends the file to the background server.
  • the access related information of the file includes the access address of the file and the file name.
  • the webpage access information may be the URL and the web address name of the webpage.
  • the background server After receiving the file sharing command sent by the browser, the background server first determines whether the file content sharing pool of the network segment where the first user end is located has been established according to the access related information carried by the file sharing instruction.
  • the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public content sharing pool, that is, these files. It is transparent to users in this network segment.
  • the background server needs to identify the same WiFi or WLAN network segment in the area, and use this local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, and provide a file transmission and storage mechanism.
  • the file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
  • the background server determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located, so as to be followed.
  • Other browser end users under the same network segment can share web pages, pictures or audio and video files in the file content sharing pool.
  • the browser after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information.
  • the file content sharing pool of the network segment When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool.
  • Browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in this public file content sharing pool, and the file content can be seamlessly circulated without login account and password, thereby simplifying browsing.
  • the file sharing process, and the flexibility of file sharing is improved, and the efficiency of file content circulation is promoted.
  • the eighth embodiment of the present invention provides a data sharing method from the background server side. Based on the foregoing seventh embodiment, after the step S302, the method may further include:
  • Step S303 the background server receives a shared file query instruction forwarded by the browser from a second user end that is in the same network segment as the first user end;
  • step S304 the file address information is obtained from the file content sharing pool of the corresponding network segment according to the shared file query instruction, and the corresponding file content is fed back to the browser, and the browser provides the second user terminal.
  • the difference between this embodiment and the foregoing seventh embodiment is that the second embodiment of the second network that is in the same network segment as the first user end queries the file in the file content sharing pool of the network segment.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address from the file content sharing pool of the corresponding network segment according to the shared file query instruction. Information, and the corresponding file content is fed back to the browser.
  • the background server sets a corresponding file content sharing portal for the browsers of different terminals, and the browser obtains the shared file content from the background server through the set file content sharing portal.
  • the browser provides the content of the file obtained from the background server query to the second client.
  • the browser after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information.
  • the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction.
  • the corresponding file content is fed back to the second client through the browser.
  • a ninth embodiment of the present invention proposes a data sharing method from a background server side.
  • the background server may further include:
  • Step S305 receiving a request initiated by the browser to establish a file content sharing pool of the network segment where the first user terminal is located;
  • Step S306 Determine, according to the access related information, whether a file content sharing pool of the network segment where the first user end is located has been established; if it is determined that the file content sharing pool of the network segment where the first user end is located has been established, enter Step S307; otherwise, proceed to step S308;
  • Step S307 returning an instruction that cannot be repeatedly established to the browser, and executing step 302; otherwise
  • Step S308 the file content sharing pool of the network segment is established according to the request, and step 302 is performed.
  • the embodiment further includes: after the browser sends a file sharing instruction to the background server, the browser initiates a request for establishing a file content sharing pool of the network segment where the first user terminal is located. Program.
  • the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public file content sharing pool.
  • the browser side may further request the background server to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
  • the browser After the browser sends the file sharing instruction of the first user to the background server, the browser initiates a request to establish a file content sharing pool of the network segment where the first user is located on the background server; the background server is carried according to the file sharing instruction of the first user end.
  • Accessing the related information determining whether the file content sharing pool of the network segment where the first user is located has been established, and if it is determined that the file content sharing pool of the network segment where the first user is located has been established, returning an instruction that cannot be repeatedly established to the browser And placing the address of the file to be shared into the file content sharing pool of the network segment where the first user end is located; if the file content sharing pool of the network segment where the first user end is located has not been established, the background is
  • the server establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the file content sharing pool of the network segment where the first user terminal is located.
  • the background server may also set a password access right for the file content sharing pool of the network segment to restrict access to the shared file in the file content sharing pool, and satisfy each user in the local area network.
  • the confidentiality requirements of the terminal may also be set.
  • the background server After the browser forwards the shared file query instruction of the second user to the background server, the background server cooperates with the background server to perform access authority verification on the shared file query instruction; if the verification is passed, the background server shares the file content from the corresponding network segment.
  • the pool obtains the file address information, and feeds the corresponding file content to the second user through the browser.
  • the browser after receiving the file sharing instruction sent by the user end, the browser carries the information related to the access of the file in the sharing instruction and sends the information to the background server, and initiates the establishment of the first user to the background server.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction.
  • the corresponding file content is fed back to the second client through the browser.
  • the background server may also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and satisfy users in the local area network.
  • the confidentiality requirements of the terminal are described below.
  • the embodiment of the invention provides a data sharing method, and the execution body of the method is a first user end and a background server.
  • the first user terminal is a terminal installed with an application for browsing a webpage
  • the background server is a background server for browsing an application of the webpage
  • the application for browsing the webpage may be a browser.
  • a person skilled in the art can understand that the processing of the browser installed at the first user end can be regarded as the processing of the first user end, and the processing of the browser installed at the second user end can be regarded as the processing of the second user end.
  • Step 1001 The first user end receives the sharing instruction of the target data, and carries the access related information of the target data in the sharing request and sends the information to the background server.
  • the target data may be data such as a webpage, a picture, an audio, or a video.
  • the user can install an application for browsing a webpage, such as a browser, on the terminal, and then can browse the webpage through the browser.
  • the browser can be set with the option of data sharing. If the user wants to share a webpage (ie, target data) during the browsing process, the user can click the option of data sharing, and the terminal used by the user (ie, the first user end) The user will receive the sharing instruction of the target data, and then obtain the access related information of the webpage in the browser, such as the webpage URL, and then add the webpage URL to the sharing request, and send the sharing request to the webpage.
  • the background server of the browser in addition, the sharing request may also carry the identifier of the network segment where the terminal is located.
  • the first server may also request the background server to establish a data content sharing pool, and the corresponding processing may be as follows: the first user sends the data content sharing of the network segment where the first user is located to the background server. Pool establishment request.
  • the terminal may also send a request for establishing a data content sharing pool to the background server of the browser, where the setting request may carry the identifier of the network segment where the terminal is located.
  • the conditions for triggering the terminal to send the data content sharing pool establishment request may be various.
  • the browser may pre-set the data content sharing pool establishment option, and the user clicks the data content sharing pool establishment option, and the terminal receives the data content sharing pool.
  • the establishing instruction further sends a request for establishing a data content sharing pool to the background server, and the terminal may also automatically send a request for establishing the data content sharing pool to the background server after sending the sharing request of the target data.
  • Step 1002 If the background server determines that the data content sharing pool of the network segment where the first user terminal is located, the information related to the target data to be shared is placed in the data content sharing pool of the network segment where the first user terminal is located.
  • the background server may parse the sharing request, obtain the identifier of the network segment where the terminal is located, and the information about the access information of the webpage, and determine whether the network segment where the terminal is located has been established.
  • the data content sharing pool corresponding to the identifier is stored in the data content sharing pool if the local data source shared pool corresponding to the identifier of the network segment where the terminal is located is stored in the data content sharing pool. For other users to access.
  • the process of the background server may be as follows: if the background server determines that the data content sharing pool of the network segment where the first user terminal is located, the backend server returns an instruction that cannot be repeatedly established, and executes the target data to be shared. The access-related information is placed in the data content sharing pool of the network segment where the first user terminal is located. If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the network segment is established according to the establishment request. The data content sharing pool puts the access related information of the target data to be shared into the established data content sharing pool.
  • each local area network has its own network segment, and each network segment has its own identifier.
  • the background server can establish a data content sharing pool corresponding to different network segments. After receiving the request for establishing the data content sharing pool sent by the first user, the background server may parse the establishment request, obtain the identifier of the network segment where the terminal is located, and then perform the local data content sharing pool. The data content sharing pool corresponding to the identifier of the network segment where the terminal is located is established. If the data content sharing pool corresponding to the identifier of the network segment where the terminal is located is established, the terminal can return an instruction that cannot be repeatedly established and execute the command.
  • the access-related information of the target data to be shared is placed in the data content sharing pool of the network segment where the first user terminal is located. If the background server determines that the data content sharing pool corresponding to the identifier of the network segment where the terminal is located is not found, the data content sharing pool may be established corresponding to the network segment where the terminal is located, and the target data in the previously received sharing request may be obtained. The access related information is stored in the data content sharing pool.
  • the corresponding processing process can be as follows: the second user end that is in the same network segment as the first user end sends the shared data query instruction of the corresponding target data to the background.
  • the server obtains the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, obtains the target data according to the access related information, and feeds the target data to the second user end.
  • the browser may preset an option to view the shared data in the data content sharing pool.
  • the option may be clicked, and the terminal (ie, the second user) displays the shared data page.
  • the user can select the shared data (ie, target data) to be viewed in the shared data page, such as a certain webpage, the user can click the icon corresponding to the webpage, and the terminal receives the shared data query instruction corresponding to the target data.
  • the terminal may send the shared data query instruction to the background server, where the query instruction may carry the identifier of the network segment where the second user end is located and the identifier of the target data.
  • the background server may obtain the identifier of the network segment where the second user is located and the identifier of the target data, and then determine the data content sharing pool corresponding to the identifier of the network segment where the second user is located, and then Can query the target data in the data content sharing pool
  • the identifier corresponding to the access related information, and then the target data can be obtained according to the access related information of the target data, and the target data is sent to the second user.
  • the user clicks on the icon corresponding to a certain webpage in the data content sharing pool, and the second user sends a shared data query instruction corresponding to the webpage to the background server, where the shared data query instruction may carry the network where the second user is located.
  • the background server receives the shared data query instruction, and further queries the URL corresponding to the identifier of the webpage in the data content sharing pool corresponding to the identifier of the network segment where the second user is located, and then
  • the content of the webpage is obtained through the website, and the content of the webpage can be sent to the second client.
  • the background server may automatically establish a data content sharing pool after receiving the sharing request sent by the first user, and the corresponding processing may be as follows: if the background server determines the data content sharing pool of the network segment where the first user is located If not established, the data content sharing pool of the network segment is established, and the access related information of the target data to be shared is put into the established data content sharing pool.
  • the background server may parse the sharing request, obtain the identifier of the network segment where the first user is located, and determine whether the first user has been established locally. If the data content sharing pool corresponding to the identifier of the network segment where the first user is located is not established, the data content sharing pool may be established corresponding to the network segment where the first user end is located. And then put the access related information of the target data to be shared into the established data content sharing pool.
  • the user can set a password of the shared data page, and the corresponding processing process can be as follows: the background server sends a password setting request to the first user end; the first user terminal displays a password setting prompt; when receiving the password setting instruction, the first A user sends a password to be set by the user to the background server; the background server stores the password to be set as the access password of the data content sharing pool of the network segment where the first user is located.
  • the background server determines that the data content sharing pool corresponding to the identifier of the network segment where the first user terminal is located is not established
  • the data content sharing pool may be established corresponding to the network segment where the first user terminal is located, and then the first user terminal may be Sending a password setting request
  • the first user terminal receives the password setting request, and then displays a password setting prompt
  • the user of the first user terminal can input the password to be set in the input box of the password setting prompt, and then click the OK button, the terminal
  • the password setting instruction is received, and then the password to be set by the user is sent to the background server.
  • the background server can store the password to be set as the data content sharing pool of the network segment where the first user is located. Access password. After the user sets a password for the shared data page, the user can be notified of the password so that it can His users access the shared data page.
  • the process of querying the target data by the user may be as follows: the second user end of the same network segment with the first user end queries the shared data of the corresponding target data.
  • the instruction is sent to the background server, and the shared data query instruction carries the first password; according to the access password and the first password, the shared data query instruction is used to verify the access authority, and if the verification is passed, the background server queries the corresponding network according to the shared data query instruction.
  • the data content sharing pool of the segment obtains the access related information of the target data, and obtains the target data according to the access related information and feeds back to the second user.
  • the user needs to input a password (ie, the first password) when querying the target data, and the terminal sends a shared data query instruction corresponding to the target data to the background server, and the shared data query
  • the instruction may carry the first password
  • the background server may obtain the first password therein, and compare the first password with the pre-stored access password. If the first password is the same as the access password, After the verification is passed, the background server may obtain the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, and then acquire the target data according to the access related information, and send the target data to the second user end.
  • the terminal ie, the second user terminal
  • the terminal enters a password input box, and the user can input a password in the input box, and click the OK button, and the terminal is
  • the password input by the user is sent to the background server, and the background server can verify the password input by the user. If the verification passes, the terminal sends a notification of the verification, and after receiving the notification, the terminal displays the shared data page. You can select the target data you want to query in the shared data page.
  • the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
  • a preferred embodiment of the present invention provides a data sharing system, including: a browser 401 and a background server 402 communicatively coupled to the browser 401, wherein:
  • the browser 401 is configured to receive a file sharing instruction sent by the first user end, and the access related information of the file is carried in the sharing instruction and sent to the background server 402;
  • the background server 402 is configured to determine, according to the access related information, that the file content sharing pool of the network segment where the first user end is located is set, and insert the address of the file to be shared into the established A file content sharing pool on the network segment where the client is located.
  • This embodiment can implement data sharing between multiple terminals in the same local area network segment, especially a short distance such as a WiFi or WLAN network segment, based on the browser 401.
  • the network segment refers to the part of a computer network that uses the same physical layer device (transmission medium, repeater, hub, etc.) to communicate directly. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment.
  • Each network segment has a network identifier. The same network segment is distinguished by the network identifier. If the network identifier is the same, it indicates that it is on the same network segment.
  • the local area network segment in this embodiment refers to the logical division of the local area network device into a network segment, such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein.
  • a network segment such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein.
  • This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
  • the background server 402 establishes a file common content sharing pool under the same WiFi network segment, and the browser 401 users of all terminals under the WiFi network segment can be in the public content sharing pool. Share files that you find interesting, without having to log in to your account and password, to seamlessly distribute file content.
  • the file that each end user of the browser 401 can share may be a webpage, a picture, an audio and video file, or the like, and the webpage may also have a picture.
  • the browser 401 in this embodiment may be a mobile phone browser 401, a PC browser 401, or an iPad browser 401, etc., provided that the user can access the local area network such as WiFi or WLAN.
  • the browser 401 terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
  • the browser 401 After receiving the file sharing instruction sent by the user who initiated the file sharing (that is, the first user end referred to in this embodiment), the browser 401 carries the access related information of the file in the sharing instruction and sends it to the background server 402.
  • the access related information of the file includes the access address of the file and the file name.
  • the webpage access information may be the URL and the web address name of the webpage.
  • the background server 402 establishes a common file content sharing pool under the same network segment, and the browser 401 users of all terminals under the network segment can share files in the public content sharing pool, that is, These files are transparent to users within the network segment.
  • the background server 402 needs to identify the same WiFi or WLAN network segment in the area, and use the local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, and provide a file transmission and storage mechanism.
  • the file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
  • the background server 402 determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user terminal is located, so that Subsequently, other browsers 401 end users under the same network segment can share web pages, pictures, audio and video files, and the like in the file content sharing pool.
  • the browser 401 is further configured to receive a shared file query instruction sent by the second user end that is in the same network segment as the first user end, and forward the shared file query instruction to the background server 402;
  • the background server 402 is further configured to: obtain the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction, and feed back the corresponding file content to the browser 401;
  • the browser 401 is further configured to receive the content of the file sent by the background server 402, and provide the content to the second user.
  • the second user end that is in the same network segment as the first user end can send a shared file query command to the background server 402 through the browser 401, and the background server 402 can obtain the file content sharing pool from the corresponding network segment according to the shared file query instruction. Obtaining file address information, and feeding back the corresponding file content to the browser 401.
  • the background server 402 is configured with a corresponding file content sharing portal for the browser 401 of the different terminal, and the browser 401 obtains the shared file content from the background server 402 through the set file content sharing portal.
  • the browser 401 provides the content of the file obtained by querying from the background server 402 to the second client.
  • the browser 401 is further configured to initiate, to the background server 402, a request for establishing a file content sharing pool of the network segment where the first user terminal is located;
  • the background server 402 is further configured to determine, according to the access related information, whether a file content sharing pool of the network segment where the first user end is located has been established; and determining a file content sharing pool of the network segment where the first user end is located If yes, the instruction of the file that cannot be repeatedly established is returned to the browser 401, and the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located; otherwise, according to the The request establishes a file content sharing pool of the network segment.
  • the background server 402 establishes a common file content sharing pool under the same network segment, and the browser 401 users of all terminals under the network segment can share files in the public file content sharing pool.
  • the browser 401 side may further request the background server 402 to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
  • the browser 401 After the browser 401 sends the file sharing instruction of the first user to the background server 402, the browser 401 initiates a request to establish the file content sharing pool of the network segment where the first user is located to the background server 402;
  • the background server 402 determines, according to the access related information carried in the file sharing instruction of the first user end, whether the file content sharing pool of the network segment where the first user end is located has been established, and if the file content sharing of the network segment where the first user end is located is determined If the pool is established, the browser 401 is returned to the browser 401, and the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user is located; The file content sharing pool of the network segment where the client is located has not been established yet, and the background server 402 establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the established first The file content sharing pool of the network segment where the client is located.
  • the background server 402 When the background server 402 establishes the file content sharing pool of the network segment, the background server 402 can also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and meet the requirements in the local area network. The confidentiality requirements of the user terminal.
  • the background server 402 After the browser 401 forwards the shared file query command of the second user to the background server 402, the background server 402 cooperates with the shared file query instruction to perform access authority verification; if the verification passes, the background server 402 selects the corresponding network segment.
  • the file content sharing pool obtains the file address information, and feeds the corresponding file content to the second user end through the browser 401.
  • the browser 401 receives the file sharing instruction sent by the client. Then, the information related to the access of the file is sent to the background server 402 in the sharing instruction, and the request to establish the file content sharing pool of the network segment where the first user is located is initiated to the background server 402, and the background server 402 is accessed according to the access.
  • the address of the file to be shared is placed in the created file content sharing pool 30; if the background server 402 determines the network segment where the first user is located If the file content sharing pool has not been established, the file content sharing pool of the network segment is established according to the request, and the address of the file to be shared is placed in the file content sharing of the established network segment where the first user terminal is located. Pool. Subsequently, the second user end that is in the same network segment as the first user end can send a shared file query command to the background server 402 through the browser 401, and the background server 402 obtains the file content sharing pool of the corresponding network segment according to the shared file query instruction. The file address information is fed back to the second client through the browser 401.
  • the browser 401 of all terminals under the network segment can share webpages, pictures, audio and video files in the public file content sharing pool.
  • the file content can be seamlessly circulated without logging in to the account and password, which simplifies the file sharing process of the browser 401, and improves the flexibility of file sharing and promotes the efficiency of file content circulation.
  • the background server 402 may also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and meet the requirements of the local area network. The confidentiality requirements of the user terminal.
  • the first embodiment of the present invention provides a data sharing browser, including: an instruction receiving module 501 and a sending module 502, where:
  • the instruction receiving module 501 is configured to receive a file sharing instruction sent by the first user end
  • the sending module 502 is configured to: carry the access related information of the file in the sharing instruction, and send the information to the background server; The accessing the related information, and determining that the file content sharing pool of the network segment where the first user end is located is set, and the address of the file to be shared is placed in the file content of the established network segment where the first user end is located. Shared pool.
  • This embodiment can implement data sharing between multiple terminals in the same local area network segment, such as a WiFi or WLAN network segment, based on the browser.
  • a local area network segment such as a WiFi or WLAN network segment
  • the network segment refers to the part of a computer network that uses the same physical layer device (transmission medium, repeater, hub, etc.) to communicate directly. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment.
  • Each network segment has a network
  • the network identifier is distinguished by the network identifier.
  • the network identifier is the same, which means that it is on the same network segment.
  • the local area network segment in this embodiment refers to the logical division of the local area network device into a network segment, such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein.
  • a network segment such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein.
  • This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
  • the background server establishes a file common content sharing pool under the same WiFi network segment, and the browser users of all terminals under the WiFi network segment can be at 5
  • This public content sharing pool shares files that you find interesting, and you don't need to log in to your account and password to seamlessly distribute file content.
  • the files that the end users of the browser can share may be web pages, pictures, audio and video files, etc., and the web pages may also have pictures.
  • the browser referred to in this embodiment may be a mobile phone browser, a PC browser or an iPad browser, etc., provided that the user can access the local area network such as WiFi or WLAN.
  • the browser terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
  • the sending module 502 After the browser receives the file sharing instruction sent by the user who initiates the file sharing (ie, the first user end referred to in this embodiment), the sending module 502 stores the access related information of the file in the sharing instruction. Sent to the background server.
  • the access related information of the file includes the access address of the file and the file name.
  • the webpage access information may be the URL and the web address name of the webpage.
  • the background server After receiving the file sharing command sent by the browser, the background server first determines whether the file content sharing pool of the network segment where the first user end is located has been established according to the access related information carried by the file sharing instruction.
  • the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public content sharing pool, that is, these files. It is transparent to users in this network segment.
  • the background server needs to identify the same WiFi or WLAN network segment in the area, and use this local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, and provide a file transmission and storage mechanism.
  • the file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
  • the background server determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located, so as to be followed. , other browser end users under the same network segment You can share web pages, pictures, audio and video files, etc. in the file content sharing pool.
  • the browser after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information.
  • the file content sharing pool of the network segment When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool.
  • Browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in this public file content sharing pool, and the file content can be seamlessly circulated without login account and password, thereby simplifying browsing.
  • the file sharing process, and the flexibility of file sharing is improved, and the efficiency of file content circulation is promoted.
  • the second embodiment of the present invention provides a data sharing browser, based on the first embodiment shown in Figure 12, further comprising: a query acquisition module 503;
  • the instruction receiving module 501 is further configured to receive a shared file query instruction sent by a second user end that is in the same network segment as the first user end;
  • the sending module 502 is further configured to forward the shared file query instruction to the background server;
  • the query obtaining module 503 is configured to obtain the queried file content from the file content sharing pool of the corresponding network segment by using the background server, and provide the file content to the second user end.
  • the embodiment further includes the first user terminal 20
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address from the file content sharing pool of the corresponding network segment according to the shared file query instruction. Information, and the corresponding file content is fed back to the browser.
  • the background server sets a corresponding file content sharing portal for the browsers of different terminals, and the browser obtains the shared file content from the background server through the set file content sharing portal.
  • the browser provides the content of the file obtained from the background server query to the second client.
  • the browser after receiving the file sharing instruction sent by the user end, the browser carries the access related information of the file in the sharing instruction and sends the information to the background server, the background server.
  • the access related information when the file content sharing pool of the network segment where the client is located is determined to be established, the address of the file to be shared is placed in the created file content sharing pool.
  • the second user end that is in the same network segment as the first user may send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction.
  • the corresponding file content is fed back to the second client through the browser.
  • the sending module 502 is further configured to initiate, to the background server, a request for establishing a file content sharing pool of the network segment where the first user terminal is located;
  • the instruction receiving module 501 is further configured to: when the background server determines that the file content sharing pool of the network segment where the first user end is located, receive an instruction that cannot be repeatedly established by the background server, and is configured by the The background server puts the address of the file to be shared into the file content sharing pool of the network segment where the first user end is located; otherwise, the background server establishes the file content sharing pool of the network segment according to the request. .
  • the query obtaining module 503 is further configured to cooperate with the background server to perform access authority verification on the shared file query instruction; if the verification is passed, obtain, by using the background server, the file content of the query from the file content sharing pool of the corresponding network segment. .
  • the embodiment further includes: after the browser sends a file sharing instruction to the background server, the browser initiates a request for establishing a file content sharing pool of the network segment where the first user is located after the file sharing instruction is sent to the background server. Program.
  • the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public file content sharing pool.
  • the browser side may further request the background server to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
  • the browser After the browser sends the file sharing instruction of the first user to the background server, the browser initiates a request to establish a file content sharing pool of the network segment where the first user is located to the background server; Determining whether the file content sharing pool of the network segment where the first user end is located has been established, and determining that the file content sharing pool of the network segment where the first user end is located has been established, Returning, to the browser, an instruction that cannot be repeatedly established, and placing the address of the file to be shared into the file content sharing pool of the network segment where the first user is located; and determining the network segment where the first user is located The file content sharing pool is not established yet, and the background server establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the established network segment where the first user terminal is located. Content sharing pool.
  • the background server may also set a password access right for the file content sharing pool of the network segment to restrict access to the shared file in the file content sharing pool, and satisfy each user in the local area network.
  • the confidentiality requirements of the terminal may also be set.
  • the background server After the browser forwards the shared file query instruction of the second user to the background server, the background server cooperates with the background server to perform access authority verification on the shared file query instruction; if the verification is passed, the background server shares the file content from the corresponding network segment.
  • the pool obtains the file address information, and feeds the corresponding file content to the second user through the browser.
  • the browser after receiving the file sharing instruction sent by the user end, the browser carries the information related to the access of the file in the sharing instruction and sends the information to the background server, and initiates the establishment of the first user to the background server.
  • the request of the file content sharing pool of the network segment where the terminal is located and the background server determines that the file content sharing pool of the network segment where the client is located is placed in the established file content sharing pool according to the access information. If the background server determines that the file content sharing pool of the network segment where the first user terminal is located has not been established, the file content sharing pool of the network segment is established according to the request, and the address of the file to be shared is placed in the established The file content sharing pool of the network segment where the first user end is located.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction.
  • the corresponding file content is fed back to the second client through the browser.
  • the background server may also The file content sharing pool of the segment sets the password access permission to restrict access to the shared files in the file content sharing pool, and meets the confidentiality requirements of each user terminal in the local area network.
  • a preferred embodiment of the present invention provides a data sharing server, including: a receiving module 601 and a sharing operation module 602, where:
  • the receiving module 601 is configured to receive a file sharing instruction forwarded by the browser from the first user end, where the file sharing instruction carries the access related information of the file;
  • the sharing operation module 602 is configured to determine, according to the access related information, that the file content sharing pool of the network segment where the first user end is located is set, and the address of the file to be shared is placed in the first The file content sharing pool of the network segment where the client is located.
  • This embodiment can implement data sharing between multiple terminals in the same local area network segment, such as a WiFi or WLAN network segment, based on the browser.
  • a local area network segment such as a WiFi or WLAN network segment
  • the network segment refers to the part of a computer network that uses the same physical layer device (transmission medium, repeater, hub, etc.) to communicate directly. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment.
  • Each network segment has a network identifier. The same network segment is distinguished by the network identifier. If the network identifier is the same, it indicates that it is on the same network segment.
  • the local area network segment in this embodiment refers to the logical division of the local area network device into a network segment, such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein.
  • a network segment such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein.
  • This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
  • the background server establishes a file common content sharing pool under the same WiFi network segment, and browser users of all terminals under the WiFi network segment can share in the public content sharing pool.
  • the files that you find interesting, without the need to log in to your account and password, can achieve seamless distribution of file content.
  • the files that the end users of the browser can share may be web pages, pictures, audio and video files, etc., and the web pages may also have pictures.
  • the browser referred to in this embodiment may be a mobile phone browser, a PC browser or an iPad browser, etc., provided that the user can access the local area network such as WiFi or WLAN.
  • the browser terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
  • the browser After receiving the file sharing instruction sent by the user who initiated the file sharing (that is, the first user end referred to in this embodiment), the browser carries the access related information of the file in the sharing instruction and sends the file to the background server.
  • the access related information of the file includes the access address of the file and the file name.
  • the webpage access information may be the URL and the web address name of the webpage.
  • the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public content sharing pool, that is, these files. It is transparent to users in this network segment. To this end, the background server needs to identify the same WiFi or WLAN network segment in the area, and use this local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, and provide a file transmission and storage mechanism.
  • the file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
  • the background server determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located, so as to be followed.
  • Other browser end users under the same network segment can share web pages, pictures or audio and video files in the file content sharing pool.
  • the receiving module 601 is further configured to receive a shared file query instruction that is forwarded by the browser from a second user end that is in the same network segment as the first user end;
  • the sharing operation module 602 is further configured to: obtain the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction, and feed back the corresponding file content to the browser, where the browser provides the Said second client.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address from the file content sharing pool of the corresponding network segment according to the shared file query instruction. Information, and the corresponding file content is fed back to the browser.
  • the background server sets a corresponding file content sharing entry for the browsers of different terminals.
  • the browser acquires the shared file content from the background server through the set file content sharing entry.
  • the browser provides the content of the file obtained from the background server query to the second client.
  • the receiving module 601 is further configured to receive, by the browser, a request for establishing a file content sharing pool of a network segment where the first user end is located;
  • the sharing operation module 602 is further configured to determine, according to the access related information, whether a file content sharing pool of the network segment where the first user end is located has been established; and if it is determined that the file content sharing of the network segment where the first user end is located If the pool is established, the instruction that cannot be repeatedly established is returned to the browser, and the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user is located; otherwise, according to the Request to establish a file content sharing pool for this network segment.
  • the sharing operation module 602 is further configured to: when establishing a file content sharing pool of the corresponding network segment, set a password access right to the file content sharing pool of the network segment; and perform access authority verification on the shared file query instruction, such as After the verification is passed, the 25 pieces of address information are obtained from the file content sharing pool of the corresponding network segment, and the corresponding file content is fed back to the browser.
  • the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public file content sharing pool.
  • the browser side may further request the background server to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
  • the browser After the browser sends the file sharing instruction of the first user to the background server, the browser initiates a request to establish a file content sharing pool of the network segment where the first user is located on the background server; the background server is carried according to the file sharing instruction of the first user end.
  • Accessing the related information determining whether the file content sharing pool of the network segment where the first user is located has been established, and if it is determined that the file content sharing pool of the network segment where the first user is located has been established, returning an instruction that cannot be repeatedly established to the browser And the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user is located; if it is determined that the file content sharing pool of the network segment where the first user is located has not been established, the background is The server establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the file content sharing pool of the network segment where the first user terminal is located.
  • the background server may also set a password access right for the file content sharing pool of the network segment to access the shared file in the file content sharing pool. Ask the limit to meet the confidentiality requirements of each user terminal in the LAN.
  • the background server After the browser forwards the shared file query instruction of the second user to the background server, the background server cooperates with the background server to perform access authority verification on the shared file query instruction; if the verification is passed, the background server shares the file content from the corresponding network segment.
  • the pool obtains the file address information, and feeds the corresponding file content to the second user through the browser.
  • the browser after receiving the file sharing instruction sent by the user end, the browser carries the information related to the access of the file in the sharing instruction and sends the information to the background server, and initiates the establishment of the first user to the background server.
  • the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction.
  • the corresponding file content is fed back to the second client through the browser.
  • the background server may also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and satisfy users in the local area network.
  • the confidentiality requirements of the terminal are described below.
  • the embodiment of the present invention further provides a first user end.
  • the first user end includes:
  • the transmission module 1510 is configured to receive a shared sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, so that the background server determines the network segment where the first user end is located.
  • the data content sharing pool has been established and the target will be shared
  • the access information related to the data is placed in the data content sharing pool of the network segment where the first user terminal is located.
  • the transmission module 1510 is further configured to:
  • an instruction that cannot be repeatedly established and performing the step of placing the access related information of the target data to be shared into the data content sharing pool of the network segment where the first user end is located, where If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is shared. Put in the established data content sharing pool.
  • the first user terminal further includes a display module.
  • the transmission module 1510 is further configured to receive a password setting request sent by the background server;
  • the display module is configured to display a password setting prompt
  • the transmission module 1510 is further configured to: when the password setting instruction is received, send the password to be set by the user to the background server, so that the background server stores the password to be set as the first user end The access password of the data content sharing pool on the network segment where the network segment resides.
  • the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
  • the embodiment of the present invention further provides a background server.
  • the background server includes:
  • the receiving module 1610 is configured to receive, by the first user end, a sharing request that carries the access related information that carries the target data;
  • the processing module 1620 is configured to: if it is determined that the data content sharing pool of the network segment where the first user terminal is located, the access related information of the target data to be shared is placed in the established network where the first user terminal is located The data content sharing pool for the segment.
  • the background server further includes an obtaining module
  • the receiving module 1610 is further configured to receive a shared data query instruction corresponding to the target data sent by a second user end that is in the same network segment as the first user end;
  • the obtaining module is configured to acquire, according to the shared data query instruction, access related information of the target data from a data content sharing pool of a corresponding network segment, obtain the target data according to the access related information, and use the target data. Feedback to the second client.
  • the receiving module 1610 is further configured to receive a request for establishing a data content sharing pool of the network segment where the first user sends the network segment;
  • the processing module 1620 is further configured to: if it is determined that the data content sharing pool of the network segment where the first user terminal is located, return an instruction that cannot be repeatedly established to the first user end, and execute the target data to be shared And the step of inserting the related information into the data content sharing pool of the network segment where the first user end is located;
  • the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is put into establishment. Data content sharing pool.
  • the processing module 1620 is further configured to: if it is determined that the data content sharing pool of the network segment where the first user terminal is located is not established, establish a data content sharing pool of the network segment, and the target to be shared Data access related information is placed in the established data content sharing pool.
  • the background server further includes a sending module, configured to send a password setting request to the first user end, so that the first user end displays a password setting prompt;
  • the receiving module 1610 is configured to receive a password to be set by the user sent by the first user terminal, and store the password to be set as an access password of a data content sharing pool of the network segment where the first user end is located.
  • the receiving module 1610 is further configured to receive, by the second user end that is in the same network segment as the first user end, a shared data query instruction corresponding to the target data, where the shared data query instruction is Carrying the first password;
  • the processing module 1620 is configured to perform access authority verification on the shared data query instruction according to the access password and the first password, and if the verification passes, the data from the corresponding network segment is in accordance with the shared data query instruction.
  • the content sharing pool acquires the access related information of the target data, acquires the target data according to the access related information, and feeds the target data to the second user end.
  • the first user end receives the sharing instruction of the target data, and accesses the target data.
  • the related information is carried in the sharing request and sent to the background server. If the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is put into the established first user.
  • the data content sharing pool of the network segment where the terminal is located so that the access related information of the target data to be shared can be put into the data content sharing pool, and other users can browse the shared data through the data content sharing pool, and the data sharing process does not need to be performed. By registering an account, you can improve the efficiency of data sharing.
  • FIG. 17 is a schematic structural diagram of a first user terminal according to an embodiment of the present application.
  • the first user terminal may be used to implement the operation response method provided in the foregoing embodiment. Specifically:
  • the first client 1800 can include a communication unit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WIFI (Wireless Fidelity).
  • the module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the first user end structure shown in the figure does not constitute a limitation on the first user end, and may include more or less components than those illustrated, or combine some components, or different components. Arrangement. among them:
  • the communication unit 110 can be used for transmitting and receiving information and receiving and transmitting signals during a call.
  • the communication unit 110 can be an RF (Radio Frequency) circuit, a router, a modem, or the like.
  • RF circuits as communication units include, but are not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a LNA (Low Noise Amplifier, low).
  • SIM Subscriber Identity Module
  • the communication unit 110 can also communicate with the network and other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, at least one function The required application (such as a sound playing function, an image playing function, etc.), etc.; the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the first user terminal 1800.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the first client 1800, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • the first user terminal 1800 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the first user end 1800 moves to the ear. / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the gesture of the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the first user terminal 1800 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, I will not repeat them here.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the first user terminal 1800.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, sent to the first user terminal via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphone with the first user terminal 1800.
  • the first user terminal may be configured with a wireless communication unit 170, which may be a WIFI module.
  • the WIFI is a short-range wireless transmission technology, and the first user terminal 1800 can help the user to send and receive emails, browse web pages, and access streaming media through the wireless communication unit 170, which provides wireless broadband Internet access for users.
  • the wireless communication unit 170 is shown in the drawings, it can be understood that it does not belong to the essential configuration of the first user terminal 1800, and may be omitted as needed within the scope of not changing the essence of the disclosure.
  • the processor 180 is a control center of the first client 1800 that connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and by calling them stored in the memory 120.
  • the data performs various functions and processing data of the first client 1800, thereby performing overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the first client 1800 also includes a power source 190 (such as a battery) that supplies power to the various components, preferably, The power supply can be logically coupled to the processor 180 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the first user terminal 1800 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the first client further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to execute the one or more by one or more processors Instructions for more than one program to perform the following methods:
  • the first user end receives the sharing instruction of the target data, and carries the access related information of the target data in the sharing request and sends the information to the background server, so that the background server determines the data content of the network segment where the first user terminal is located.
  • the shared pool is set up, and the access related information of the target data to be shared is put into the data content sharing pool of the established network segment where the first user is located.
  • the first user terminal further includes:
  • the first user end initiates a request for establishing a data content sharing pool of the network segment where the first user terminal is located, so that the background server determines the data content of the network segment where the first user terminal is located. If the shared pool is established, returning an instruction that cannot be repeatedly established to the first user, and performing access related information of the target data to be shared into the data content of the established network segment where the first user is located a step of sharing a pool, if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, establishing a data content sharing pool of the network segment according to the establishment request, and the shared content to be shared The access related information of the target data is placed in the established data content sharing pool.
  • the method further includes:
  • the first user terminal displays a password setting prompt
  • the first user sends the password to be set by the user to the background server, so that the background server stores the password to be set as the network segment where the first user is located.
  • the access password for the data content sharing pool is
  • the first user end includes a memory, and one or more A program, wherein one or more programs are stored in a memory, and configured to execute, by one or more processors, instructions included in the one or more programs for performing the following methods:
  • the method further includes:
  • an instruction that cannot be repeatedly established and performing the step of placing the access related information of the target data to be shared into the data content sharing pool of the network segment where the first user end is located, where If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is established. Put in the established data content sharing pool.
  • the method further includes:
  • the password to be set by the user is sent to the background server, so that the background server stores the password to be set as the data content sharing pool of the network segment where the first user end is located. Access password.
  • the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
  • FIG. 18 is a schematic structural diagram of a background server according to an embodiment of the present invention.
  • the background server 1900 can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 1922 (eg, one or more processors) and memory 1932, one or More than one storage medium 1930 storing the application 1942 or data 1944 (eg, one or one storage device in Shanghai).
  • the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage.
  • the program stored on storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations in a background server.
  • central processor 1922 can be configured to communicate with storage medium 1930, executing a series of instruction operations in storage medium 1930 on background server 1900.
  • Backend server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems. 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • the backend server 1900 can include a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one or more programs by one or more processors for performing Instructions for the following operations:
  • the background server receives the sharing request sent by the first user end and carries the access related information of the target data
  • the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the established network segment where the first user terminal is located. Data content sharing pool.
  • it also includes:
  • the background server receives a shared data query instruction corresponding to the target data sent by the second user end that is in the same network segment as the first user end;
  • the background server Obtaining, by the background server, the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, acquiring the target data according to the access related information, and feeding back the target data to the Said second client.
  • the background server after the background server receives the sharing request sent by the first user end and carries the access related information of the target data, the background server further includes:
  • the background server determines that the data content sharing pool of the network segment where the first user end is located, returns an instruction that cannot be repeatedly established to the first user end, and performs access related to the target data to be shared. Step of inserting information into the data content sharing pool of the network segment where the first user end is located;
  • the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access of the target data to be shared is related. The information is placed in the established data content sharing pool.
  • the method further includes:
  • the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established, and the access related information of the target data to be shared is put into the established Data content sharing pool.
  • the method further includes:
  • the background server sends a password setting request to the first user end, so that the first user terminal displays a password setting prompt, and when receiving the password setting instruction, the first user terminal sends a user to the background server. Enter the password to be set;
  • the background server receives the password to be set by the user sent by the first user, and stores the password to be set as the access password of the data content sharing pool of the network segment where the first user is located.
  • the method further includes:
  • the background server receives a shared data query instruction corresponding to the target data sent by the second user end that is in the same network segment as the first user end, where the shared data query instruction carries a first password;
  • the background server performs access authority verification on the shared data query instruction according to the access password and the first password, and if the verification passes, obtains the data content sharing pool of the corresponding network segment according to the shared data query instruction.
  • the access related information of the target data, the target data is obtained according to the access related information, and the target data is fed back to the second user end.
  • the background server includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one or more by one or more processors
  • the instructions contained in the program for the following methods:
  • the access related information of the target data to be shared is placed in the data content sharing pool of the network segment where the first user terminal is located.
  • it also includes:
  • the method further includes:
  • the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is put into establishment. Data content sharing pool.
  • it also includes:
  • the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established, and the access related information of the target data to be shared is put into the established data content sharing pool. .
  • the method further includes:
  • it also includes:
  • the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
  • an embodiment of the present invention further provides a data sharing system, where the system includes a first user end and a background server, where:
  • the first user end is configured to receive a sharing sharing instruction of the target data, and carry the access related information of the target data in a sharing request and send the information to the background server;
  • the background server is configured to receive a sharing request that is sent by the first user end and that carries the information related to the target data; if the background server determines that the data content sharing pool of the network segment where the first user end is located, And the access related information of the target data to be shared is placed in the data content sharing pool of the network segment where the first user end is located.
  • the background server receives a shared data query instruction corresponding to the target data sent by the second user end that is in the same network segment as the first user end;
  • the background server Obtaining, by the background server, the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, acquiring the target data according to the access related information, and feeding back the target data to the Said second client.
  • the first user end is configured to initiate, to the background server, a request for establishing a data content sharing pool of the network segment where the first user terminal is located;
  • the background server is configured to: if it is determined that the data content sharing pool of the network segment where the first user terminal is located, return an instruction that cannot be repeatedly established to the first user end, and execute the target data to be shared
  • the access related information is put into the data of the network segment where the first user end is established.
  • the step of the content sharing pool if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the shared content pool is to be shared.
  • the access related information of the target data is placed in the established data content sharing pool.
  • the background server is further configured to: if it is determined that the data content sharing pool of the network segment where the first user terminal is located is not established, establish a data content sharing pool of the network segment, and the target data to be shared The access related information is placed in the established data content sharing pool.
  • the background server is further configured to send a password setting request to the first user end;
  • the first user end is further configured to display a password setting prompt, and when receiving the password setting instruction, send the password to be set input by the user to the background server;
  • the background server is further configured to store the password to be set as an access password of a data content sharing pool of the network segment where the first user end is located.
  • the background server is further configured to receive a shared data query instruction corresponding to the target data sent by the second user end that is in the same network segment as the first user end, where the shared data query instruction is carried Have the first password;
  • the background server is further configured to perform access authority verification on the shared data query instruction according to the access password and the first password, and if the verification passes, the data from the corresponding network segment is in accordance with the shared data query instruction.
  • the content sharing pool acquires the access related information of the target data, acquires the target data according to the access related information, and feeds the target data to the second user end.
  • the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
  • the browser involved in the foregoing solution in this embodiment may also be replaced with another access platform having a file sharing function, such as a network disk.
  • the terms “including”, “comprising” or “comprising” or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, or The device includes not only those elements, but also other elements not explicitly listed, or elements that are inherent to such a process, method, article, or device.
  • An element that is defined by the phrase “comprising a " does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal device which may be a cell phone, a computer, a server, or a network device, etc.
  • the program instructions corresponding to the system/browser/server described in FIG. 10 to FIG. 13 may be stored in a terminal or a readable storage medium of a server or a computer, and executed by at least one of the processors to implement the map. 1 to the data sharing method described in FIG.

Abstract

The present invention relates to a data sharing method, a system, a user end and a background server. The method comprises: a first user end receiving a sharing command for target data, and sending to the background server a sharing request in which access related information of the target data is carried; and if determining the establishment of a data content sharing pool of a network segment where the first user end is located, the background server putting the access related information of the target data to be shared in the established data content sharing pool of the network segment where the first user end is located. According to the present invention, establishing a common file content sharing pool under the same network segment enables the browser users of all terminals under this network segment to share pages, pictures, audios/videos or other such files in the common file content sharing pool, indicating that seamless circulation of file contents can be realized without account login and passwords; therefore, the process of browser file sharing is simplified, the flexibility in file sharing is improved, and the efficiency of file content circulation is promoted.

Description

数据共享方法、系统、用户端及后台服务器Data sharing method, system, client and background server
本申请要求于2013年12月30日提交中国专利局、申请号为2013107439814、发明名称为“文件共享方法、系统、浏览器及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2013107439814, filed on Dec. 30, 2013, filed filed file file file file file file file file file file file file file In this application.
技术领域Technical field
本发明涉及互联网技术领域,尤其涉及一种数据共享方法、系统、用户端及后台服务器。The present invention relates to the field of Internet technologies, and in particular, to a data sharing method, system, client, and background server.
背景技术Background technique
目前,越来越多的人在互联网中浏览数据。人们在浏览数据的过程中,经常会希望将浏览的数据与自己在某网络平台(如即时通讯平台、社交网络平台等)中的好友进行数据共享,例如,用户向自己在人人网中的某好友共享自己浏览的某个网页。Currently, more and more people are browsing data on the Internet. In the process of browsing data, people often want to share data with their friends on a network platform (such as instant messaging platform, social network platform, etc.), for example, users to themselves in the Renren network. A friend shares a web page that he or she is browsing.
在实现数据共享时,通常采用的做法是:在终端打开要共享的数据(如某网页),点击共享选项进入某网络平台的界面,然后用户输入自己在该网络平台中的账号和密码进行账号登录,在用户登录帐号后,可以进入相应的联系人页面,并在该页面中选择进行数据共享的好友,从而进行数据共享。When implementing data sharing, the usual method is to open the data to be shared (such as a web page) in the terminal, click the sharing option to enter the interface of a network platform, and then the user inputs the account and password in the network platform to perform the account. After logging in, after the user logs in to the account, he can enter the corresponding contact page, and select the friends who share data in the page to share data.
现有的浏览器进行数据共享的方案存在以下缺点:Existing browsers for data sharing have the following disadvantages:
用户将浏览的数据与好友共享时,需要先进行账号登录,然后才能进行数据共享,这样,会导致进行数据共享的效率较低。When users share the data they browse with their friends, they need to log in to the account before they can share data. This will result in inefficient data sharing.
发明内容Summary of the invention
本发明实施例提供一种数据共享方法、系统、用户端及后台服务器,旨在简化浏览器各种数据共享流程,提高数据共享的灵活性,促进数据内容流通。The embodiment of the invention provides a data sharing method, system, user end and back-end server, which aims to simplify various data sharing processes of the browser, improve the flexibility of data sharing, and promote the circulation of data content.
本发明实施例提出一种数据共享方法,包括:The embodiment of the invention provides a data sharing method, including:
第一用户端接收目标数据的共享指令,将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器; The first user end receives the sharing instruction of the target data, and carries the access related information of the target data in the sharing request and sends the information to the background server;
所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the established network segment where the first user terminal is located. Data content sharing pool.
本发明实施例还提出一种数据共享方法,包括:The embodiment of the invention further provides a data sharing method, including:
第一用户端接收目标数据的共享指令,将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。The first user end receives the sharing instruction of the target data, and carries the access related information of the target data in the sharing request and sends the information to the background server, so that the background server determines the data content of the network segment where the first user terminal is located. The shared pool is set up, and the access related information of the target data to be shared is put into the data content sharing pool of the established network segment where the first user is located.
本发明实施例还提出一种数据共享方法,包括:The embodiment of the invention further provides a data sharing method, including:
后台服务器接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求;The background server receives the sharing request sent by the first user end and carries the access related information of the target data;
所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the established network segment where the first user terminal is located. Data content sharing pool.
本发明实施例还提出一种第一用户端,所述第一用户端包括存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含的用于进行以下方法的指令:The embodiment of the present invention further provides a first user end, the first user end includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or more The processor executes instructions included in the one or more programs for performing the following methods:
接收目标数据的共享指令,将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。Receiving the sharing instruction of the target data, carrying the access related information of the target data in the sharing request, and sending the information to the background server, so that the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established. And accessing the information related to the target data to be shared into the data content sharing pool of the network segment where the first user end is located.
本发明实施例还提出一种后台服务器,所述后台服务器包括存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含的用于进行以下方法的指令:Embodiments of the present invention also provide a background server, the background server including a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors An instruction contained in one or more programs for performing the following methods:
接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求; Receiving a sharing request of the access related information that is carried by the first user end and carrying the target data;
如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。If it is determined that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the data content sharing pool of the network segment where the first user terminal is located. .
本发明实施例中,第一用户端接收目标数据的共享指令,将目标数据的访问相关信息携带在共享请求中发送至后台服务器,后台服务器如果判定第一用户端所在网段的数据内容共享池已建立,则将要分享的目标数据的访问相关信息放入已建立的第一用户端所在网段的数据内容共享池,这样,待分享的目标数据的访问相关信息可以放入数据内容共享池中,其他用户可以通过数据内容共享池来浏览共享的数据,数据共享的过程中无需进行账号登录,从而可以提高进行数据共享的效率。In the embodiment of the present invention, the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
附图说明DRAWINGS
图1是本发明数据共享方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a data sharing method according to the present invention;
图2是本发明数据共享方法第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of a data sharing method according to the present invention;
图3是本发明数据共享方法第三实施例的流程示意图;3 is a schematic flow chart of a third embodiment of a data sharing method according to the present invention;
图4是本发明数据共享方法第四实施例的流程示意图;4 is a schematic flow chart of a fourth embodiment of a data sharing method according to the present invention;
图5是本发明数据共享方法第五实施例的流程示意图;FIG. 5 is a schematic flowchart diagram of a fifth embodiment of a data sharing method according to the present invention; FIG.
图6是本发明数据共享方法第六实施例的流程示意图;6 is a schematic flow chart of a sixth embodiment of a data sharing method according to the present invention;
图7是本发明数据共享方法第七实施例的流程示意图;7 is a schematic flow chart of a seventh embodiment of a data sharing method according to the present invention;
图8是本发明数据共享方法第八实施例的流程示意图;8 is a schematic flow chart of an eighth embodiment of a data sharing method according to the present invention;
图9是本发明数据共享方法第九实施例的流程示意图;9 is a schematic flow chart of a ninth embodiment of a data sharing method according to the present invention;
图10是本发明实施例提供的数据共享方法流程图;FIG. 10 is a flowchart of a data sharing method according to an embodiment of the present invention;
图11是本发明数据共享系统较佳实施例的架构示意图;11 is a schematic structural diagram of a preferred embodiment of a data sharing system of the present invention;
图12是本发明数据共享浏览器第一实施例的功能模块示意图;12 is a schematic diagram of functional modules of a first embodiment of a data sharing browser of the present invention;
图13是本发明数据共享浏览器第二实施例的功能模块示意图;13 is a schematic diagram of functional modules of a second embodiment of a data sharing browser of the present invention;
图14是本发明数据共享服务器较佳实施例的功能模块示意图;14 is a schematic diagram of functional modules of a preferred embodiment of the data sharing server of the present invention;
图15是本发明实施例提供的一种第一用户端的结构示意图;FIG. 15 is a schematic structural diagram of a first user end according to an embodiment of the present disclosure;
图16是本发明实施例提供的一种后台服务器的结构示意图;FIG. 16 is a schematic structural diagram of a background server according to an embodiment of the present invention;
图17是本发明实施例提供的一种第一用户端的结构示意图;FIG. 17 is a schematic structural diagram of a first user end according to an embodiment of the present disclosure;
图18是本发明实施例提供的一种后台服务器的结构示意图。FIG. 18 is a schematic structural diagram of a background server according to an embodiment of the present invention.
为了使本发明的技术方案更加清楚、明了,下面将结合附图作进一步详述。 In order to make the technical solutions of the present invention clearer and clearer, the following will be further described in detail with reference to the accompanying drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图1所示,本发明第一实施例从系统侧提出一种数据共享方法,包括:As shown in FIG. 1, a first embodiment of the present invention provides a data sharing method from a system side, including:
步骤S101,浏览器接收第一用户端发送的文件分享指令;将所述文件的访问相关信息携带在所述分享指令中发送至后台服务器。Step S101: The browser receives the file sharing instruction sent by the first user end, and carries the access related information of the file in the sharing instruction and sends the file to the background server.
本实施例可以基于浏览器实现同一局域网段下多个终端之间的数据共享。This embodiment can implement data sharing between multiple terminals in the same local area network segment based on the browser.
其中,网段是指一个计算机网络中使用同一物理层设备(传输介质、中继器、集线器等)直接通讯的那一部分。也就是从一个IP地址到另一个IP地址:比如从192.168.0.1到192.168.255.255这之间就是一个网段。每一网段具有网络标识,同一网段通过网络标识区分,网络标识相同,就表示在同一网段。The network segment refers to the part of a computer network that uses the same physical layer device (transmission medium, repeater, hub, etc.) to communicate directly. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment. Each network segment has a network identifier. The same network segment is distinguished by the network identifier. If the network identifier is the same, it indicates that it is on the same network segment.
本实施例所指局域网段,是指将局域网设备从逻辑上划分成一个个网段,比如WiFi(WirelessFidelity,无线保真)或WLAN(WirelessLocalAreaNetworks,无线局域网络)网段或者其他无线局域网等,在此不作具体限定。本实施例以WiFi或WLAN网段下多个终端之间的数据共享进行举例。In the embodiment, the local area network segment refers to logically dividing the local area network device into a network segment, such as a WiFi (Wireless Fidelity) or a WLAN (Wireless Local Area Network) network segment or other wireless local area network. This is not specifically limited. This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
具体地,以WiFi网段为例,WiFi是一种可以将个人电脑、手持设备(如PDA、手机)等终端以无线方式互相连接的技术。后台服务器针对同一个WiFi网段下建立有一个文件公共内容共享池,在此WiFi网段下的所有终端的浏览器用户可以在这个公共内容共享池中共享自己觉得有意思的文件,而无需登录帐号和密码,即可实现文件内容的无缝流通。Specifically, taking a WiFi network segment as an example, WiFi is a technology that can connect terminals such as personal computers and handheld devices (such as PDAs and mobile phones) to each other wirelessly. The background server establishes a file public content sharing pool under the same WiFi network segment, and browser users of all terminals under the WiFi network segment can share files that they find interesting in the public content sharing pool without registering the account. And password, you can achieve seamless circulation of file content.
具体地,浏览器各终端用户所能共享的文件可以是网页、图片或者音视频文件等,其中网页也可以带有图片。Specifically, the files that the end users of the browser can share may be web pages, pictures, audio and video files, etc., and the web pages may also have pictures.
本实施例所指浏览器可以为手机浏览器、PC浏览器或iPad浏览器等,其前提是可以连接WiFi或WLAN等局域网访问用户。The browser referred to in this embodiment may be a mobile phone browser, a PC browser or an iPad browser, etc., provided that the user can access the local area network such as WiFi or WLAN.
以WiFi为例,在同一WiFi网段下,浏览器终端用户可发起对某个或某些网址或图片、音视频文件等进行分享。Taking WiFi as an example, under the same WiFi network segment, the browser terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
浏览器在接收到发起文件分享的用户(即本实施例所指第一用户端)发送的文件分享指令后,将该文件的访问相关信息携带在所述分享指令中发送至后台服务器。 After receiving the file sharing instruction sent by the user who initiated the file sharing (that is, the first user end referred to in this embodiment), the browser carries the access related information of the file in the sharing instruction and sends the file to the background server.
其中,文件的访问相关信息包括文件的访问地址以及文件名等,以网页为例,该网页的访问相关信息可以为该网页的URL和网址名等信息。The access related information of the file includes the access address of the file and the file name. For example, the webpage access information may be the URL and the web address name of the webpage.
步骤S102,所述后台服务器依据所述访问相关信息,判定所述第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。Step S102, the background server determines, according to the access related information, that the file content sharing pool of the network segment where the first user end is located is set, and inserts the address of the file to be shared into the first The file content sharing pool of the network segment where the client is located.
后台服务器在收到浏览器发送的文件分享指令后,首先根据该文件分享指令所携带的访问相关信息来判断该第一用户端所在网段的文件内容共享池是否已建立。After receiving the file sharing command sent by the browser, the background server first determines whether the file content sharing pool of the network segment where the first user end is located has been established according to the access related information carried by the file sharing instruction.
如前所述,后台服务器针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器用户可以在这个公共内容共享池中共享文件,也就是说,这些文件对该网段内的用户是透明的。As described above, the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public content sharing pool, that is, these files. It is transparent to users in this network segment.
为此,后台服务器需识别区域内的同个WiFi或WLAN网段,以这个局域网为标识,建立专属的数据共享存储中心,即文件内容共享池,提供文件传输及存储机制。该文件内容共享池可以加密,也可以是非加密的,访问该文件内容共享池仅限于该网段的用户。To this end, the background server needs to identify the same WiFi or WLAN network segment in the area, and use this local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, and provide a file transmission and storage mechanism. The file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
后台服务器在判定第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池,以便后续,同一网段下的其它浏览器终端用户可对文件内容共享池中的网页、图片或音视频文件等进行分享。When the background server determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located, so as to be followed. Other browser end users under the same network segment can share web pages, pictures or audio and video files in the file content sharing pool.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中,由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。In this embodiment, after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information. When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool. Thus, by creating a common file content sharing pool under the same network segment, Browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in this public file content sharing pool, and the file content can be seamlessly circulated without login account and password, thereby simplifying browsing. The file sharing process, and the flexibility of file sharing is improved, and the efficiency of file content circulation is promoted.
如图2所示,本发明第二实施例从系统侧提出一种数据共享方法,在上述第一实施例的基础上,在上述步骤S102之后,还包括:As shown in FIG. 2, the second embodiment of the present invention provides a data sharing method from the system side. On the basis of the foregoing first embodiment, after the step S102, the method further includes:
步骤S103,所述浏览器接收与所述第一用户端处于同一网段的第二用户端 发送的共享文件查询指令;将所述共享文件查询指令转发至所述后台服务器;Step S103, the browser receives a second user end that is in the same network segment as the first user end. Sending a shared file query instruction; forwarding the shared file query instruction to the background server;
步骤S104,所述后台服务器根据所述共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容反馈给所述浏览器;Step S104: The background server obtains file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction, and feeds the corresponding file content to the browser.
步骤S105,所述浏览器接收所述后台服务器发送的文件内容,提供给所述第二用户端。Step S105: The browser receives the file content sent by the background server, and provides the content to the second user end.
本实施例与上述第一实施例的区别在于,本实施例还包括与第一用户端处于同一网段的第二用户端查询该网段的文件内容共享池内的文件的方案。具体地,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容反馈给所述浏览器。The difference between this embodiment and the foregoing first embodiment is that the second embodiment of the second user end that is in the same network segment as the first user end queries the file in the file content sharing pool of the network segment. Specifically, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address from the file content sharing pool of the corresponding network segment according to the shared file query instruction. Information, and the corresponding file content is fed back to the browser.
其中,后台服务器为不同终端的浏览器设置有相应的文件内容共享入口,浏览器通过设定的文件内容共享入口从所述后台服务器获取共享的文件内容。The background server sets a corresponding file content sharing portal for the browsers of different terminals, and the browser obtains the shared file content from the background server through the set file content sharing portal.
之后,浏览器将从后台服务器查询获取的文件内容提供给所述第二用户端。Afterwards, the browser provides the content of the file obtained from the background server query to the second client.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中。后续,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。In this embodiment, after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information. When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool. Subsequently, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction. The corresponding file content is fed back to the second client through the browser.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。Therefore, by creating a common file content sharing pool under the same network segment, browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in the public file content sharing pool. The file content can be seamlessly circulated without login account and password, which simplifies the browser file sharing process, improves the flexibility of file sharing, and promotes the efficiency of file content circulation.
如图3所示,本发明第三实施例从系统侧提出一种数据共享方法,在上述第二实施例的基础上,在上述步骤S101中浏览器将文件的访问相关信息携带在所述分享指令中发送至后台服务器之后还包括:As shown in FIG. 3, a third embodiment of the present invention provides a data sharing method from the system side. On the basis of the foregoing second embodiment, in the foregoing step S101, the browser carries the file related information in the sharing. After sending the command to the backend server, it also includes:
步骤S106,所述浏览器向所述后台服务器发起建立所述第一用户端所在网 段的文件内容共享池的请求;Step S106, the browser initiates the establishment of the network where the first user terminal is located to the background server. The request for the file content sharing pool of the segment;
步骤S107,所述后台服务器依据所述访问相关信息,判断所述第一用户端所在网段的文件内容共享池是否已建立;若判定所述第一用户端所在网段的文件内容共享池已建立,则进入步骤S108;否则,进入步骤S109;Step S107, the background server determines, according to the access related information, whether a file content sharing pool of the network segment where the first user end is located has been established; if it is determined that the file content sharing pool of the network segment where the first user end is located has been If yes, go to step S108; otherwise, go to step S109;
步骤S108,向所述浏览器返回不能重复建立的指令,并执行步骤S102中将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;In step S108, the instruction that cannot be repeatedly established is returned to the browser, and the address of the file to be shared in step S102 is placed in the file content sharing pool of the network segment where the first user end is located.
步骤S109,后台服务器根据所述请求建立该网段的文件内容共享池,并执行步骤S102中将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。In step S109, the background server establishes a file content sharing pool of the network segment according to the request, and performs the file content sharing of the network segment where the first user terminal is located in the step S102. Pool.
本实施例与上述第二实施例的区别在于,本实施例还包括浏览器在向后台服务器发送文件分享指令后,向后台服务器发起建立第一用户端所在网段的文件内容共享池的请求的方案。The difference between this embodiment and the foregoing second embodiment is that the embodiment further includes: after the browser sends a file sharing instruction to the background server, the browser initiates a request for establishing a file content sharing pool of the network segment where the first user is located after the file sharing instruction is sent to the background server. Program.
具体地,如前所述,后台服务器针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器用户可以在这个公共文件内容共享池中共享文件。Specifically, as described above, the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public file content sharing pool.
作为一种实施方式,在本实施例中,还可以进一步由浏览器侧请求后台服务器建立终端所属网段下的公共文件内容共享池。具体如下:As an implementation manner, in this embodiment, the browser side may further request the background server to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
浏览器在向后台服务器发送第一用户端的文件分享指令后,向后台服务器发起建立该第一用户端所在网段的文件内容共享池的请求;后台服务器依据第一用户端的文件分享指令所携带的访问相关信息,判断该第一用户端所在网段的文件内容共享池是否已建立,若判定该第一用户端所在网段的文件内容共享池已建立,则向浏览器返回不能重复建立的指令,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;若判定该第一用户端所在网段的文件内容共享池还未建立,后台服务器则根据所述请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。After the browser sends the file sharing instruction of the first user to the background server, the browser initiates a request to establish a file content sharing pool of the network segment where the first user is located on the background server; the background server is carried according to the file sharing instruction of the first user end. Accessing the related information, determining whether the file content sharing pool of the network segment where the first user is located has been established, and if it is determined that the file content sharing pool of the network segment where the first user is located has been established, returning an instruction that cannot be repeatedly established to the browser And the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user is located; if it is determined that the file content sharing pool of the network segment where the first user is located has not been established, the background is The server establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the file content sharing pool of the network segment where the first user terminal is located.
其中,后台服务器在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。When the background server establishes the file content sharing pool of the network segment, the background server may also set a password access right for the file content sharing pool of the network segment to restrict access to the shared file in the file content sharing pool, and satisfy each user in the local area network. The confidentiality requirements of the terminal.
由此,当与第一用户端处于同一网段的第二用户端需要查看该网段下的文 件内容共享池中的共享文件时,需要输入相应的密码方可访问。Therefore, when the second user end that is in the same network segment as the first user end needs to view the text under the network segment When sharing a file in a content sharing pool, you need to enter the corresponding password to access it.
后台服务器对第二用户端的共享文件查询指令进行访问权限验证,如验证通过,后台服务器从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。The background server performs the access authority verification on the shared file query command of the second client. If the verification succeeds, the background server obtains the file address information from the file content sharing pool of the corresponding network segment, and feeds the corresponding file content to the second user through the browser. end.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,同时,向后台服务器发起建立该第一用户端所在网段的文件内容共享池的请求,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中;若后台服务器判定该第一用户端所在网段的文件内容共享池还未建立,则根据该请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。后续,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。In this embodiment, after receiving the file sharing instruction sent by the user end, the browser carries the information related to the access of the file in the sharing instruction and sends the information to the background server, and initiates the establishment of the first user to the background server. The request of the file content sharing pool of the network segment where the terminal is located, and the background server determines that the file content sharing pool of the network segment where the client is located is placed in the established file content sharing pool according to the access information. If the background server determines that the file content sharing pool of the network segment where the first user terminal is located has not been established, the file content sharing pool of the network segment is established according to the request, and the address of the file to be shared is placed in the established The file content sharing pool of the network segment where the first user end is located. Subsequently, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction. The corresponding file content is fed back to the second client through the browser.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片Therefore, by establishing a common file content sharing pool under the same network segment, browser users of all terminals under the network segment can share webpages and pictures in the public file content sharing pool.
或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。此外,后台服务器在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。Or audio and video files, etc., without the need to log in to the account and password, the file content can be seamlessly circulated, which simplifies the browser file sharing process, and improves the flexibility of file sharing and promotes the efficiency of file content circulation. In addition, when the background server establishes the file content sharing pool of the network segment, the background server may also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and satisfy users in the local area network. The confidentiality requirements of the terminal.
如图4所示,本发明第四实施例从浏览器侧提出一种数据共享方法,包括:As shown in FIG. 4, a fourth embodiment of the present invention provides a data sharing method from a browser side, including:
步骤S201,浏览器接收第一用户端发送的文件分享指令;Step S201, the browser receives a file sharing instruction sent by the first user end;
步骤S202,将所述文件的访问相关信息携带在所述分享指令中发送至后台服务器;由所述后台服务器依据所述访问相关信息,判定所述第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。In step S202, the access related information of the file is carried in the sharing instruction and sent to the background server; and the background server determines, according to the access related information, the file content sharing pool of the network segment where the first user end is located. When it is established, the address of the file to be shared is placed in the file content sharing pool of the established network segment where the first user is located.
本实施例可以基于浏览器实现同一局域网段下多个终端之间的数据共享。其中,网段是指一个计算机网络中使用同一物理层设备(传输介质、中继器、 集线器等)直接通讯的那一部分。也就是从一个IP地址到另一个IP地址:比如从192.168.0.1到192.168.255.255这之间就是一个网段。This embodiment can implement data sharing between multiple terminals in the same local area network segment based on the browser. The network segment refers to the same physical layer device (transmission medium, repeater, Hub, etc.) The part of direct communication. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment.
每一网段具有网络标识,同一网段通过网络标识区分,网络标识相同,就表示在同一网段。Each network segment has a network identifier. The same network segment is distinguished by the network identifier. If the network identifier is the same, it indicates that it is on the same network segment.
本实施例所指局域网段,是指将局域网设备从逻辑上划分成一个个网段,比如WiFi或WLAN网段或者其他无线局域网等,在此不作具体限定。本实施例以WiFi或WLAN网段下多个终端之间的数据共享进行举例。The local area network segment in this embodiment refers to the logical division of the local area network device into a network segment, such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein. This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
具体地,以WiFi网段为例,Wi-Fi是一种可以将个人电脑、手持设备(如PDA、手机)等终端以无线方式互相连接的技术。后台服务器针对同一个WiFi网段下建立有一个文件公共内容共享池,在此WiFi网段下的所有终端的浏览器用户可以在这个公共内容共享池中共享自己觉得有意思的文件,而无需登录帐号和密码,即可实现文件内容的无缝流通。Specifically, taking a WiFi network segment as an example, Wi-Fi is a technology that can connect terminals such as personal computers and handheld devices (such as PDAs and mobile phones) to each other wirelessly. The background server establishes a file public content sharing pool under the same WiFi network segment, and browser users of all terminals under the WiFi network segment can share files that they find interesting in the public content sharing pool without registering the account. And password, you can achieve seamless circulation of file content.
具体地,浏览器各终端用户所能共享的文件可以是网页、图片或者音视频文件等,其中网页也可以带有图片。Specifically, the files that the end users of the browser can share may be web pages, pictures, audio and video files, etc., and the web pages may also have pictures.
本实施例所指浏览器可以为手机浏览器、PC浏览器或iPad浏览器等,其前提是可以连接WiFi或WLAN等局域网访问用户。The browser referred to in this embodiment may be a mobile phone browser, a PC browser or an iPad browser, etc., provided that the user can access the local area network such as WiFi or WLAN.
以WiFi为例,在同一WiFi网段下,浏览器终端用户可发起对某个或某些网址或图片、音视频文件等进行分享。Taking WiFi as an example, under the same WiFi network segment, the browser terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
浏览器在接收到发起文件分享的用户(即本实施例所指第一用户端)发送的文件分享指令后,将该文件的访问相关信息携带在所述分享指令中发送至后台服务器。After receiving the file sharing instruction sent by the user who initiated the file sharing (that is, the first user end referred to in this embodiment), the browser carries the access related information of the file in the sharing instruction and sends the file to the background server.
其中,文件的访问相关信息包括文件的访问地址以及文件名等,以网页为例,该网页的访问相关信息可以为该网页的URL和网址名等信息。The access related information of the file includes the access address of the file and the file name. For example, the webpage access information may be the URL and the web address name of the webpage.
后台服务器在收到浏览器发送的文件分享指令后,首先根据该文件分享指令所携带的访问相关信息来判断该第一用户端所在网段的文件内容共享池是否已建立。After receiving the file sharing command sent by the browser, the background server first determines whether the file content sharing pool of the network segment where the first user end is located has been established according to the access related information carried by the file sharing instruction.
如前所述,后台服务器针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器用户可以在这个公共内容共享池中共享文件,也就是说,这些文件对该网段内的用户是透明的。As described above, the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public content sharing pool, that is, these files. It is transparent to users in this network segment.
为此,后台服务器需识别区域内的同个WiFi或WLAN网段,以这个局域网为标识,建立专属的数据共享存储中心,即文件内容共享池,提供文件传输 及存储机制。该文件内容共享池可以加密,也可以是非加密的,访问该文件内容共享池仅限于该网段的用户。To this end, the background server needs to identify the same WiFi or WLAN network segment in the area, and use this local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, providing file transmission. And storage mechanism. The file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
后台服务器在判定第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池,以便后续,同一网段下的其它浏览器终端用户可对文件内容共享池中的网页、图片或音视频文件等进行分享。When the background server determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located, so as to be followed. Other browser end users under the same network segment can share web pages, pictures or audio and video files in the file content sharing pool.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中,由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。In this embodiment, after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information. When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool. Thus, by creating a common file content sharing pool under the same network segment, Browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in this public file content sharing pool, and the file content can be seamlessly circulated without login account and password, thereby simplifying browsing. The file sharing process, and the flexibility of file sharing is improved, and the efficiency of file content circulation is promoted.
如图5所示,本发明第五实施例从浏览器侧提出一种数据共享方法,在上述第四实施例的基础上,在上述步骤S202之后,还可以包括:As shown in FIG. 5, the fifth embodiment of the present invention provides a data sharing method from the browser side. On the basis of the foregoing fourth embodiment, after the step S202, the method may further include:
步骤S203,所述浏览器接收与所述第一用户端处于同一网段的第二用户端发送的共享文件查询指令;Step S203, the browser receives a shared file query instruction sent by the second user end that is in the same network segment as the first user end;
步骤S204,将所述共享文件查询指令转发至所述后台服务器;Step S204, forwarding the shared file query instruction to the background server;
步骤S205,通过所述后台服务器从对应网段的文件内容共享池获取查询的文件内容;Step S205, obtaining, by the background server, the file content of the query from the file content sharing pool of the corresponding network segment;
步骤S206,将所述文件内容提供给所述第二用户端。Step S206, providing the file content to the second user end.
本实施例与上述第四实施例的区别在于,本实施例还包括与第一用户端处于同一网段的第二用户端查询该网段的文件内容共享池内的文件的方案。The difference between this embodiment and the foregoing fourth embodiment is that the second embodiment of the second network that is in the same network segment as the first user end queries the file in the file content sharing pool of the network segment.
具体地,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容反馈给所述浏览器。Specifically, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address from the file content sharing pool of the corresponding network segment according to the shared file query instruction. Information, and the corresponding file content is fed back to the browser.
其中,后台服务器为不同终端的浏览器设置有相应的文件内容共享入口,浏览器通过设定的文件内容共享入口从所述后台服务器获取共享的文件内容。 The background server sets a corresponding file content sharing portal for the browsers of different terminals, and the browser obtains the shared file content from the background server through the set file content sharing portal.
之后,浏览器将从后台服务器查询获取的文件内容提供给所述第二用户端。Afterwards, the browser provides the content of the file obtained from the background server query to the second client.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中。后续,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。In this embodiment, after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information. When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool. Subsequently, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction. The corresponding file content is fed back to the second client through the browser.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。Therefore, by creating a common file content sharing pool under the same network segment, browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in the public file content sharing pool. The file content can be seamlessly circulated without login account and password, which simplifies the browser file sharing process, improves the flexibility of file sharing, and promotes the efficiency of file content circulation.
如图6所示,本发明第六实施例从浏览器侧提出一种数据共享方法,在上述第五实施例的基础上,在上述步骤S202:浏览器将所述文件的访问相关信息携带在所述分享指令中发送至后台服务器之后还包括:As shown in FIG. 6, the sixth embodiment of the present invention proposes a data sharing method from the browser side. On the basis of the foregoing fifth embodiment, in step S202, the browser carries the access related information of the file in the After the sending instruction is sent to the background server, the method further includes:
步骤S207,浏览器向所述后台服务器发起建立所述第一用户端所在网段的文件内容共享池的请求;Step S207, the browser initiates a request for establishing a file content sharing pool of the network segment where the first user is located to the background server;
步骤S208,当所述后台服务器判定所述第一用户端所在网段的文件内容共享池已建立时,接收所述后台服务器返回的不能重复建立的指令,并由所述后台服务器将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;否则,由所述后台服务器根据所述请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入该已建立的文件内容共享池;进入步骤S203。Step S208, when the background server determines that the file content sharing pool of the network segment where the first user terminal is located has been established, receiving an instruction that the background server returns that cannot be repeatedly established, and the office to be shared by the background server The address of the file is placed in the file content sharing pool of the network segment where the first user terminal is located; otherwise, the background server establishes a file content sharing pool of the network segment according to the request, and the shared content is to be shared. The address of the file is placed in the created file content sharing pool; and the process proceeds to step S203.
本实施例与上述第五实施例的区别在于,本实施例还包括浏览器在向后台服务器发送文件分享指令后,向后台服务器发起建立第一用户端所在网段的文件内容共享池的请求的方案。The difference between this embodiment and the foregoing fifth embodiment is that the embodiment further includes: after the browser sends a file sharing instruction to the background server, the browser initiates a request for establishing a file content sharing pool of the network segment where the first user is located after the file sharing instruction is sent to the background server. Program.
具体地,如前所述,后台服务器针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器用户可以在这个公共文件内容共享池 中共享文件。Specifically, as described above, the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can use the public file content sharing pool. Share files in .
作为一种实施方式,在本实施例中,还可以进一步由浏览器侧请求后台服务器建立终端所属网段下的公共文件内容共享池。具体如下:As an implementation manner, in this embodiment, the browser side may further request the background server to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
浏览器在向后台服务器发送第一用户端的文件分享指令后,向后台服务器发起建立该第一用户端所在网段的文件内容共享池的请求;后台服务器依据第一用户端的文件分享指令所携带的访问相关信息,判断该第一用户端所在网段的文件内容共享池是否已建立,若判定该第一用户端所在网段的文件内容共享池已建立,则向浏览器返回不能重复建立的指令,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;若判定该第一用户端所在网段的文件内容共享池还未建立,后台服务器则根据所述请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。After the browser sends the file sharing instruction of the first user to the background server, the browser initiates a request to establish a file content sharing pool of the network segment where the first user is located on the background server; the background server is carried according to the file sharing instruction of the first user end. Accessing the related information, determining whether the file content sharing pool of the network segment where the first user is located has been established, and if it is determined that the file content sharing pool of the network segment where the first user is located has been established, returning an instruction that cannot be repeatedly established to the browser And the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user is located; if it is determined that the file content sharing pool of the network segment where the first user is located has not been established, the background is The server establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the file content sharing pool of the network segment where the first user terminal is located.
其中,后台服务器在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。When the background server establishes the file content sharing pool of the network segment, the background server may also set a password access right for the file content sharing pool of the network segment to restrict access to the shared file in the file content sharing pool, and satisfy each user in the local area network. The confidentiality requirements of the terminal.
由此,当与第一用户端处于同一网段的第二用户端需要查看该网段下的文件内容共享池中的共享文件时,需要输入相应的密码方可访问。Therefore, when the second user in the same network segment as the first user needs to view the shared file in the file content sharing pool under the network segment, the corresponding password is required to be accessed.
浏览器将第二用户端的共享文件查询指令转发至所述后台服务器之后,配合所述后台服务器对所述共享文件查询指令进行访问权限验证;如验证通过,后台服务器从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。After the browser forwards the shared file query instruction of the second user to the background server, the background server cooperates with the background server to perform access authority verification on the shared file query instruction; if the verification is passed, the background server shares the file content from the corresponding network segment. The pool obtains the file address information, and feeds the corresponding file content to the second user through the browser.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,同时,向后台服务器发起建立该第一用户端所在网段的文件内容共享池的请求,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中;若后台服务器判定该第一用户端所在网段的文件内容共享池还未建立,则根据该请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。后续,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文 件内容通过浏览器反馈给该第二用户端。In this embodiment, after receiving the file sharing instruction sent by the user end, the browser carries the information related to the access of the file in the sharing instruction and sends the information to the background server, and initiates the establishment of the first user to the background server. The request of the file content sharing pool of the network segment where the terminal is located, and the background server determines that the file content sharing pool of the network segment where the client is located is placed in the established file content sharing pool according to the access information. If the background server determines that the file content sharing pool of the network segment where the first user terminal is located has not been established, the file content sharing pool of the network segment is established according to the request, and the address of the file to be shared is placed in the established The file content sharing pool of the network segment where the first user end is located. Subsequently, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction. , the corresponding text The content is fed back to the second client through the browser.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。此外,后台服务器在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。Therefore, by creating a common file content sharing pool under the same network segment, browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in the public file content sharing pool. The file content can be seamlessly circulated without login account and password, which simplifies the browser file sharing process, improves the flexibility of file sharing, and promotes the efficiency of file content circulation. In addition, when the background server establishes the file content sharing pool of the network segment, the background server may also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and satisfy users in the local area network. The confidentiality requirements of the terminal.
如图7所示,本发明第七实施例从后台服务器侧提出一种数据共享方法,包括:As shown in FIG. 7, a seventh embodiment of the present invention provides a data sharing method from a background server side, including:
步骤S301,后台服务器接收所述浏览器转发的来自第一用户端的文件分享指令;所述文件分享指令携带有所述文件的访问相关信息;Step S301: The background server receives a file sharing instruction forwarded by the browser from the first user end, where the file sharing instruction carries the access related information of the file.
步骤S302,依据所述访问相关信息,判定所述第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。Step S302, determining, according to the access related information, that the file content sharing pool of the network segment where the first user end is located is set, and the address of the file to be shared is placed in the established network where the first user terminal is located. The file content sharing pool for the segment.
本实施例可以基于浏览器实现同一局域网段下多个终端之间的数据共享。This embodiment can implement data sharing between multiple terminals in the same local area network segment based on the browser.
其中,网段是指一个计算机网络中使用同一物理层设备(传输介质、中继器、集线器等)直接通讯的那一部分。也就是从一个IP地址到另一个IP地址:比如从192.168.0.1到192.168.255.255这之间就是一个网段。每一网段具有网络标识,同一网段通过网络标识区分,网络标识相同,就表示在同一网段。The network segment refers to the part of a computer network that uses the same physical layer device (transmission medium, repeater, hub, etc.) to communicate directly. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment. Each network segment has a network identifier. The same network segment is distinguished by the network identifier. If the network identifier is the same, it indicates that it is on the same network segment.
本实施例所指局域网段,是指将局域网设备从逻辑上划分成一个个网段,比如WiFi或WLAN网段或者其他无线局域网等,在此不作具体限定。本实施例以WiFi或WLAN网段下多个终端之间的数据共享进行举例。The local area network segment in this embodiment refers to the logical division of the local area network device into a network segment, such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein. This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
具体地,以WiFi网段为例,后台服务器针对同一个WiFi网段下建立有一个文件公共内容共享池,在此WiFi网段下的所有终端的浏览器用户可以在这个公共内容共享池中共享自己觉得有意思的文件,而无需登录帐号和密码,即可实现文件内容的无缝流通。Specifically, taking the WiFi network segment as an example, the background server establishes a file common content sharing pool under the same WiFi network segment, and browser users of all terminals under the WiFi network segment can share in the public content sharing pool. The files that you find interesting, without the need to log in to your account and password, can achieve seamless distribution of file content.
具体地,浏览器各终端用户所能共享的文件可以是网页、图片或者音视频文件等,其中网页也可以带有图片。Specifically, the files that the end users of the browser can share may be web pages, pictures, audio and video files, etc., and the web pages may also have pictures.
本实施例所指浏览器可以为手机浏览器、PC浏览器或iPad浏览器等,其 前提是可以连接WiFi或WLAN等局域网访问用户。The browser referred to in this embodiment may be a mobile phone browser, a PC browser or an iPad browser, etc. The premise is that you can connect to a LAN such as WiFi or WLAN to access users.
以WiFi为例,在同一WiFi网段下,浏览器终端用户可发起对某个或某些网址或图片、音视频文件等进行分享。Taking WiFi as an example, under the same WiFi network segment, the browser terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
浏览器在接收到发起文件分享的用户(即本实施例所指第一用户端)发送的文件分享指令后,将该文件的访问相关信息携带在所述分享指令中发送至后台服务器。After receiving the file sharing instruction sent by the user who initiated the file sharing (that is, the first user end referred to in this embodiment), the browser carries the access related information of the file in the sharing instruction and sends the file to the background server.
其中,文件的访问相关信息包括文件的访问地址以及文件名等,以网页为例,该网页的访问相关信息可以为该网页的URL和网址名等信息。The access related information of the file includes the access address of the file and the file name. For example, the webpage access information may be the URL and the web address name of the webpage.
后台服务器在收到浏览器发送的文件分享指令后,首先根据该文件分享指令所携带的访问相关信息来判断该第一用户端所在网段的文件内容共享池是否已建立。After receiving the file sharing command sent by the browser, the background server first determines whether the file content sharing pool of the network segment where the first user end is located has been established according to the access related information carried by the file sharing instruction.
如前所述,后台服务器针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器用户可以在这个公共内容共享池中共享文件,也就是说,这些文件对该网段内的用户是透明的。As described above, the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public content sharing pool, that is, these files. It is transparent to users in this network segment.
为此,后台服务器需识别区域内的同个WiFi或WLAN网段,以这个局域网为标识,建立专属的数据共享存储中心,即文件内容共享池,提供文件传输及存储机制。该文件内容共享池可以加密,也可以是非加密的,访问该文件内容共享池仅限于该网段的用户。To this end, the background server needs to identify the same WiFi or WLAN network segment in the area, and use this local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, and provide a file transmission and storage mechanism. The file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
后台服务器在判定第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池,以便后续,同一网段下的其它浏览器终端用户可对文件内容共享池中的网页、图片或音视频文件等进行分享。When the background server determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located, so as to be followed. Other browser end users under the same network segment can share web pages, pictures or audio and video files in the file content sharing pool.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中,由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。 In this embodiment, after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information. When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool. Thus, by creating a common file content sharing pool under the same network segment, Browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in this public file content sharing pool, and the file content can be seamlessly circulated without login account and password, thereby simplifying browsing. The file sharing process, and the flexibility of file sharing is improved, and the efficiency of file content circulation is promoted.
如图8所示,本发明第八实施例从后台服务器侧提出一种数据共享方法,在上述第七实施例的基础上,在上述步骤S302之后还可以包括:As shown in FIG. 8, the eighth embodiment of the present invention provides a data sharing method from the background server side. Based on the foregoing seventh embodiment, after the step S302, the method may further include:
步骤S303,所述后台服务器接收所述浏览器转发的来自与所述第一用户端处于同一网段的第二用户端的共享文件查询指令;Step S303, the background server receives a shared file query instruction forwarded by the browser from a second user end that is in the same network segment as the first user end;
步骤S304,根据所述共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容反馈给所述浏览器,由所述浏览器提供给所述第二用户端。In step S304, the file address information is obtained from the file content sharing pool of the corresponding network segment according to the shared file query instruction, and the corresponding file content is fed back to the browser, and the browser provides the second user terminal.
本实施例与上述第七实施例的区别在于,本实施例还包括与第一用户端处于同一网段的第二用户端查询该网段的文件内容共享池内的文件的方案。The difference between this embodiment and the foregoing seventh embodiment is that the second embodiment of the second network that is in the same network segment as the first user end queries the file in the file content sharing pool of the network segment.
具体地,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容反馈给所述浏览器。Specifically, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address from the file content sharing pool of the corresponding network segment according to the shared file query instruction. Information, and the corresponding file content is fed back to the browser.
其中,后台服务器为不同终端的浏览器设置有相应的文件内容共享入口,浏览器通过设定的文件内容共享入口从所述后台服务器获取共享的文件内容。The background server sets a corresponding file content sharing portal for the browsers of different terminals, and the browser obtains the shared file content from the background server through the set file content sharing portal.
之后,浏览器将从后台服务器查询获取的文件内容提供给所述第二用户端。Afterwards, the browser provides the content of the file obtained from the background server query to the second client.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中。后续,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。In this embodiment, after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information. When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool. Subsequently, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction. The corresponding file content is fed back to the second client through the browser.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。Therefore, by creating a common file content sharing pool under the same network segment, browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in the public file content sharing pool. The file content can be seamlessly circulated without login account and password, which simplifies the browser file sharing process, improves the flexibility of file sharing, and promotes the efficiency of file content circulation.
如图9所示,本发明第九实施例从后台服务器侧提出一种数据共享方法, 在上述第八实施例的基础上,在上述步骤S301:后台服务器接收所述浏览器25转发的来自第一用户端的文件分享指令之后还可以包括:As shown in FIG. 9, a ninth embodiment of the present invention proposes a data sharing method from a background server side. On the basis of the above-mentioned eighth embodiment, after the background server receives the file sharing instruction from the first user end that is forwarded by the browser 25, the background server may further include:
步骤S305,接收所述浏览器发起的建立所述第一用户端所在网段的文件内容共享池的请求;Step S305, receiving a request initiated by the browser to establish a file content sharing pool of the network segment where the first user terminal is located;
步骤S306,依据所述访问相关信息,判断所述第一用户端所在网段的文件内容共享池是否已建立;若判定所述第一用户端所在网段的文件内容共享池已建立,则进入步骤S307;否则,进入步骤S308;Step S306: Determine, according to the access related information, whether a file content sharing pool of the network segment where the first user end is located has been established; if it is determined that the file content sharing pool of the network segment where the first user end is located has been established, enter Step S307; otherwise, proceed to step S308;
步骤S307,向所述浏览器返回不能重复建立的指令,并执行步骤302;否则Step S307, returning an instruction that cannot be repeatedly established to the browser, and executing step 302; otherwise
步骤S308,根据所述请求建立该网段的文件内容共享池,并执行步骤302。Step S308, the file content sharing pool of the network segment is established according to the request, and step 302 is performed.
本实施例与上述第八实施例的区别在于,本实施例还包括浏览器在向后台服务器发送文件分享指令后,向后台服务器发起建立第一用户端所在网段的文件内容共享池的请求的方案。The difference between this embodiment and the foregoing eighth embodiment is that the embodiment further includes: after the browser sends a file sharing instruction to the background server, the browser initiates a request for establishing a file content sharing pool of the network segment where the first user terminal is located. Program.
具体地,如前所述,后台服务器针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器用户可以在这个公共文件内容共享池中共享文件。Specifically, as described above, the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public file content sharing pool.
作为一种实施方式,在本实施例中,还可以进一步由浏览器侧请求后台服务器建立终端所属网段下的公共文件内容共享池。具体如下:As an implementation manner, in this embodiment, the browser side may further request the background server to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
浏览器在向后台服务器发送第一用户端的文件分享指令后,向后台服务器发起建立该第一用户端所在网段的文件内容共享池的请求;后台服务器依据第一用户端的文件分享指令所携带的访问相关信息,判断该第一用户端所在网段的文件内容共享池是否已建立,若判定该第一用户端所在网段的文件内容共享池已建立,则向浏览器返回不能重复建立的指令,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;若定该第一用户端所在网段的文件内容共享池还未建立,后台服务器则根据所述请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。After the browser sends the file sharing instruction of the first user to the background server, the browser initiates a request to establish a file content sharing pool of the network segment where the first user is located on the background server; the background server is carried according to the file sharing instruction of the first user end. Accessing the related information, determining whether the file content sharing pool of the network segment where the first user is located has been established, and if it is determined that the file content sharing pool of the network segment where the first user is located has been established, returning an instruction that cannot be repeatedly established to the browser And placing the address of the file to be shared into the file content sharing pool of the network segment where the first user end is located; if the file content sharing pool of the network segment where the first user end is located has not been established, the background is The server establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the file content sharing pool of the network segment where the first user terminal is located.
其中,后台服务器在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。 When the background server establishes the file content sharing pool of the network segment, the background server may also set a password access right for the file content sharing pool of the network segment to restrict access to the shared file in the file content sharing pool, and satisfy each user in the local area network. The confidentiality requirements of the terminal.
由此,当与第一用户端处于同一网段的第二用户端需要查看该网段下的文件内容共享池中的共享文件时,需要输入相应的密码方可访问。Therefore, when the second user in the same network segment as the first user needs to view the shared file in the file content sharing pool under the network segment, the corresponding password is required to be accessed.
浏览器将第二用户端的共享文件查询指令转发至所述后台服务器之后,配合所述后台服务器对所述共享文件查询指令进行访问权限验证;如验证通过,后台服务器从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。After the browser forwards the shared file query instruction of the second user to the background server, the background server cooperates with the background server to perform access authority verification on the shared file query instruction; if the verification is passed, the background server shares the file content from the corresponding network segment. The pool obtains the file address information, and feeds the corresponding file content to the second user through the browser.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,同时,向后台服务器发起建立该第一用户端所在网段的文件内容共享池的请求,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中;若后台服务器判定该第一用户端所在网段的文件内容共享池还未建立,则根据该请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。后续,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。In this embodiment, after receiving the file sharing instruction sent by the user end, the browser carries the information related to the access of the file in the sharing instruction and sends the information to the background server, and initiates the establishment of the first user to the background server. The request of the file content sharing pool of the network segment where the terminal is located, and the background server determines that the file content sharing pool of the network segment where the client is located is placed in the established file content sharing pool according to the access information. If the background server determines that the file content sharing pool of the network segment where the first user terminal is located has not been established, the file content sharing pool of the network segment is established according to the request, and the address of the file to be shared is placed in the established The file content sharing pool of the network segment where the first user end is located. Subsequently, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction. The corresponding file content is fed back to the second client through the browser.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。此外,后台服务器在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。Therefore, by creating a common file content sharing pool under the same network segment, browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in the public file content sharing pool. The file content can be seamlessly circulated without login account and password, which simplifies the browser file sharing process, improves the flexibility of file sharing, and promotes the efficiency of file content circulation. In addition, when the background server establishes the file content sharing pool of the network segment, the background server may also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and satisfy users in the local area network. The confidentiality requirements of the terminal.
本发明实施例提供了一种数据共享方法,该方法的执行主体为第一用户端和后台服务器。其中,第一用户端是安装有用于浏览网页的应用程序的终端,后台服务器是用于浏览网页的应用程序的后台服务器,用于浏览网页的应用程序可以为浏览器。本领域技术人员可以理解,安装在第一用户端的浏览器的处理可以看做是第一用户端的处理,安装在第二用户端的浏览器的处理可以看做是第二用户端的处理。 The embodiment of the invention provides a data sharing method, and the execution body of the method is a first user end and a background server. The first user terminal is a terminal installed with an application for browsing a webpage, the background server is a background server for browsing an application of the webpage, and the application for browsing the webpage may be a browser. A person skilled in the art can understand that the processing of the browser installed at the first user end can be regarded as the processing of the first user end, and the processing of the browser installed at the second user end can be regarded as the processing of the second user end.
下面将结合具体实施方式,对图10所示的处理流程进行详细的说明,内容可以如下:The processing flow shown in FIG. 10 will be described in detail below with reference to specific implementations, and the content can be as follows:
步骤1001,第一用户端接收目标数据的共享指令,将目标数据的访问相关信息携带在共享请求中发送至后台服务器。Step 1001: The first user end receives the sharing instruction of the target data, and carries the access related information of the target data in the sharing request and sends the information to the background server.
其中,目标数据可以是网页、图片、音频或视频等数据。The target data may be data such as a webpage, a picture, an audio, or a video.
在实施中,用户可在终端上安装用于浏览网页的应用程序,如某浏览器,然后可以通过该浏览器进行网页浏览。浏览器中可以设置有数据共享的选项,用户在浏览网页的过程中,如果希望对某网页(即目标数据)进行共享,可以点击数据共享的选项,用户所使用的终端(即第一用户端)则会接收到收目标数据的共享指令,然后可以在浏览器中获取该网页的访问相关信息,如网页的网址,然后可以将该网页的网址添加到共享请求中,将该共享请求发送给该浏览器的后台服务器,另外,共享请求中还可以携带有终端所在网段的标识。In the implementation, the user can install an application for browsing a webpage, such as a browser, on the terminal, and then can browse the webpage through the browser. The browser can be set with the option of data sharing. If the user wants to share a webpage (ie, target data) during the browsing process, the user can click the option of data sharing, and the terminal used by the user (ie, the first user end) The user will receive the sharing instruction of the target data, and then obtain the access related information of the webpage in the browser, such as the webpage URL, and then add the webpage URL to the sharing request, and send the sharing request to the webpage. The background server of the browser, in addition, the sharing request may also carry the identifier of the network segment where the terminal is located.
可选的,第一用户端发送共享请求后,还可以请求后台服务器建立数据内容共享池,相应的处理过程可以如下:第一用户端向后台服务器发起第一用户端所在网段的数据内容共享池的建立请求。Optionally, after the first user sends the sharing request, the first server may also request the background server to establish a data content sharing pool, and the corresponding processing may be as follows: the first user sends the data content sharing of the network segment where the first user is located to the background server. Pool establishment request.
在实施中,终端发送共享请求后,还可以向浏览器的后台服务器发送数据内容共享池的建立请求,该建立请求中可以携带有终端所在网段的标识。触发终端发送数据内容共享池的建立请求的条件可以是多样的,浏览器中可以预先设置数据内容共享池的建立选项,用户点击数据内容共享池的建立选项,终端则会接收到数据内容共享池的建立指令,进而向后台服务器发送数据内容共享池的建立请求,终端还可以在发送目标数据的共享请求后,自动的向后台服务器发送数据内容共享池的建立请求。In the implementation, after the terminal sends the sharing request, the terminal may also send a request for establishing a data content sharing pool to the background server of the browser, where the setting request may carry the identifier of the network segment where the terminal is located. The conditions for triggering the terminal to send the data content sharing pool establishment request may be various. The browser may pre-set the data content sharing pool establishment option, and the user clicks the data content sharing pool establishment option, and the terminal receives the data content sharing pool. The establishing instruction further sends a request for establishing a data content sharing pool to the background server, and the terminal may also automatically send a request for establishing the data content sharing pool to the background server after sending the sharing request of the target data.
步骤1002,后台服务器如果判定第一用户端所在网段的数据内容共享池已建立,则将要分享的目标数据的访问相关信息放入已建立的第一用户端所在网段的数据内容共享池。Step 1002: If the background server determines that the data content sharing pool of the network segment where the first user terminal is located, the information related to the target data to be shared is placed in the data content sharing pool of the network segment where the first user terminal is located.
在实施中,后台服务器接收到终端发送的共享请求后,可以对共享请求进行解析,获取其中的终端所在网段的标识和网页的访问相关信息,进而可以判断本地是否已建立有终端所在网段的标识对应的数据内容共享池,如果本地是已建立有终端所在网段的标识对应的数据内容共享池,则将共享请求中网页的访问相关信息(如网址)存储到该数据内容共享池中,以便其他用户进行访问。In the implementation, after receiving the sharing request sent by the terminal, the background server may parse the sharing request, obtain the identifier of the network segment where the terminal is located, and the information about the access information of the webpage, and determine whether the network segment where the terminal is located has been established. The data content sharing pool corresponding to the identifier is stored in the data content sharing pool if the local data source shared pool corresponding to the identifier of the network segment where the terminal is located is stored in the data content sharing pool. For other users to access.
可选的,对于上述第一用户端发送数据内容共享池的建立请求的情况,相 应的,后台服务器的处理过程可以如下:后台服务器如果判定第一用户端所在网段的数据内容共享池已建立,则向第一用户端返回不能重复建立的指令,并执行将要分享的目标数据的访问相关信息放入已建立的第一用户端所在网段的数据内容共享池的步骤,后台服务器如果判定第一用户端所在网段的数据内容共享池未建立,则根据建立请求建立网段的数据内容共享池,将要分享的目标数据的访问相关信息放入建立的数据内容共享池。Optionally, in the case that the first user sends a request for establishing a data content sharing pool, The process of the background server may be as follows: if the background server determines that the data content sharing pool of the network segment where the first user terminal is located, the backend server returns an instruction that cannot be repeatedly established, and executes the target data to be shared. The access-related information is placed in the data content sharing pool of the network segment where the first user terminal is located. If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the network segment is established according to the establishment request. The data content sharing pool puts the access related information of the target data to be shared into the established data content sharing pool.
在实施中,每个局域网都会对应有各自的网段,且每个网段都有自己的标识,后台服务器可以对应不同的网段建立数据内容共享池。后台服务器接收到第一用户端发送的数据内容共享池的建立请求后,可以对该建立请求进行解析,获取其中的终端所在网段的标识,进而可以在本地已建立的数据内容共享池中进行查找,确定本地是否建立终端所在网段的标识对应的数据内容共享池,如果本地已建立有终端所在网段的标识对应的数据内容共享池,则可以向终端返回不能重复建立的指令,并执行上述将要分享的目标数据的访问相关信息放入已建立的第一用户端所在网段的数据内容共享池的步骤。如果后台服务器经过查找后,确定本地未建立终端所在网段的标识对应的数据内容共享池,则可以对应终端所在的网段建立数据内容共享池,并将之前接收到的共享请求中的目标数据的访问相关信息存储到该数据内容共享池中。In the implementation, each local area network has its own network segment, and each network segment has its own identifier. The background server can establish a data content sharing pool corresponding to different network segments. After receiving the request for establishing the data content sharing pool sent by the first user, the background server may parse the establishment request, obtain the identifier of the network segment where the terminal is located, and then perform the local data content sharing pool. The data content sharing pool corresponding to the identifier of the network segment where the terminal is located is established. If the data content sharing pool corresponding to the identifier of the network segment where the terminal is located is established, the terminal can return an instruction that cannot be repeatedly established and execute the command. The access-related information of the target data to be shared is placed in the data content sharing pool of the network segment where the first user terminal is located. If the background server determines that the data content sharing pool corresponding to the identifier of the network segment where the terminal is located is not found, the data content sharing pool may be established corresponding to the network segment where the terminal is located, and the target data in the previously received sharing request may be obtained. The access related information is stored in the data content sharing pool.
可选的,其他用户可以查看数据内容共享池中共享的数据,相应的处理过程可以如下:与第一用户端处于同一网段的第二用户端将对应目标数据的共享数据查询指令发送至后台服务器;后台服务器根据所述共享数据查询指令从对应网段的数据内容共享池获取目标数据的访问相关信息,根据访问相关信息获取目标数据,将目标数据反馈给第二用户端。Optionally, other users can view the data shared in the data content sharing pool, and the corresponding processing process can be as follows: the second user end that is in the same network segment as the first user end sends the shared data query instruction of the corresponding target data to the background. The server obtains the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, obtains the target data according to the access related information, and feeds the target data to the second user end.
在实施中,浏览器中可以预先设置查看数据内容共享池中的共享数据的选项,当用户想要查看共享数据时,可以点击该选项,终端(即第二用户端)则会显示共享数据页面,用户可以在共享数据页面中选择想要查看的共享数据(即目标数据),如某个网页,该用户可以点击该网页对应的图标,终端则会接收到对应目标数据的共享数据查询指令,终端可以将该共享数据查询指令发送给后台服务器,该查询指令中可以携带有第二用户端所在网段的标识和目标数据的标识。后台服务器接收到该共享数据查询指令后,可以获取其中的第二用户端所在网段的标识和目标数据的标识,进而可以确定第二用户端所在网段的标识对应的数据内容共享池,然后可以在该数据内容共享池中查询目标数据 的标识对应的访问相关信息,进而可以根据目标数据的访问相关信息获取目标数据,将目标数据发送给第二用户端。In the implementation, the browser may preset an option to view the shared data in the data content sharing pool. When the user wants to view the shared data, the option may be clicked, and the terminal (ie, the second user) displays the shared data page. The user can select the shared data (ie, target data) to be viewed in the shared data page, such as a certain webpage, the user can click the icon corresponding to the webpage, and the terminal receives the shared data query instruction corresponding to the target data. The terminal may send the shared data query instruction to the background server, where the query instruction may carry the identifier of the network segment where the second user end is located and the identifier of the target data. After receiving the shared data query command, the background server may obtain the identifier of the network segment where the second user is located and the identifier of the target data, and then determine the data content sharing pool corresponding to the identifier of the network segment where the second user is located, and then Can query the target data in the data content sharing pool The identifier corresponding to the access related information, and then the target data can be obtained according to the access related information of the target data, and the target data is sent to the second user.
例如,用户在数据内容共享池中点击某网页对应的图标,第二用户端则会向后台服务器发送对应该网页的共享数据查询指令,该共享数据查询指令中可以携带有第二用户端所在网段的标识和该网页的标识,后台服务器则会接收到该共享数据查询指令,进而在第二用户端所在网段的标识对应的数据内容共享池中查询该网页的标识对应的网址,然后可以通过该网址获取网页的内容,进而可以将该网页的内容发送给第二用户端。For example, the user clicks on the icon corresponding to a certain webpage in the data content sharing pool, and the second user sends a shared data query instruction corresponding to the webpage to the background server, where the shared data query instruction may carry the network where the second user is located. The identifier of the segment and the identifier of the webpage, the background server receives the shared data query instruction, and further queries the URL corresponding to the identifier of the webpage in the data content sharing pool corresponding to the identifier of the network segment where the second user is located, and then The content of the webpage is obtained through the website, and the content of the webpage can be sent to the second client.
可选的,后台服务器可以在接收到第一用户端发送的共享请求后,自动建立数据内容共享池,相应的处理过程可以如下:后台服务器如果判定第一用户端所在网段的数据内容共享池未建立,则建立网段的数据内容共享池,将要分享的目标数据的访问相关信息放入建立的数据内容共享池。Optionally, the background server may automatically establish a data content sharing pool after receiving the sharing request sent by the first user, and the corresponding processing may be as follows: if the background server determines the data content sharing pool of the network segment where the first user is located If not established, the data content sharing pool of the network segment is established, and the access related information of the target data to be shared is put into the established data content sharing pool.
在实施中,后台服务器接收到第一用户端发送的共享请求后,可以对共享请求进行解析,获取其中的第一用户端所在网段的的标识,进而可以确定本地是否已建立有第一用户端所在网段的的标识对应的数据内容共享池,如果本地未建立第一用户端所在网段的的标识对应的数据内容共享池,则可以对应第一用户端所在网段建立数据内容共享池,然后将要分享的目标数据的访问相关信息放入建立的数据内容共享池。In an implementation, after receiving the sharing request sent by the first user, the background server may parse the sharing request, obtain the identifier of the network segment where the first user is located, and determine whether the first user has been established locally. If the data content sharing pool corresponding to the identifier of the network segment where the first user is located is not established, the data content sharing pool may be established corresponding to the network segment where the first user end is located. And then put the access related information of the target data to be shared into the established data content sharing pool.
可选的,用户可以设置共享数据页面的密码,相应的处理过程可以如下:后台服务器向第一用户端发送密码设置请求;第一用户端显示密码设置提示;当接收到密码设置指令时,第一用户端向后台服务器发送用户输入的待设置密码;后台服务器将待设置密码存储为第一用户端所在网段的数据内容共享池的访问密码。Optionally, the user can set a password of the shared data page, and the corresponding processing process can be as follows: the background server sends a password setting request to the first user end; the first user terminal displays a password setting prompt; when receiving the password setting instruction, the first A user sends a password to be set by the user to the background server; the background server stores the password to be set as the access password of the data content sharing pool of the network segment where the first user is located.
在实施中,后台服务器确定本地未建立第一用户端所在网段的的标识对应的数据内容共享池后,可以对应第一用户端所在网段建立数据内容共享池,然后可以向第一用户端发送密码设置请求,第一用户端则会接收到该密码设置请求,然后显示密码设置提示,第一用户端的用户则可以在密码设置提示的输入框中输入待设置密码,然后点击确定按键,终端则会接收到密码设置指令,然后可以将用户输入的待设置密码发送给后台服务器,后台服务器接收到该消息后,可以将待设置密码存储为第一用户端所在网段的数据内容共享池的访问密码。该用户对共享数据页面设置密码后,可以将该密码告知其他用户,以便其 他用户访问共享数据页面。In the implementation, after the background server determines that the data content sharing pool corresponding to the identifier of the network segment where the first user terminal is located is not established, the data content sharing pool may be established corresponding to the network segment where the first user terminal is located, and then the first user terminal may be Sending a password setting request, the first user terminal receives the password setting request, and then displays a password setting prompt, and the user of the first user terminal can input the password to be set in the input box of the password setting prompt, and then click the OK button, the terminal The password setting instruction is received, and then the password to be set by the user is sent to the background server. After receiving the message, the background server can store the password to be set as the data content sharing pool of the network segment where the first user is located. Access password. After the user sets a password for the shared data page, the user can be notified of the password so that it can His users access the shared data page.
可选的,对于上述设置共享数据页面的密码的情况,相应的,用户查询目标数据的处理过程可以如下:与第一用户端处于同一网段的第二用户端将对应目标数据的共享数据查询指令发送至后台服务器,共享数据查询指令中携带有第一密码;根据访问密码和第一密码,对共享数据查询指令进行访问权限验证,如验证通过,则后台服务器根据共享数据查询指令从对应网段的数据内容共享池获取目标数据的访问相关信息,根据访问相关信息获取目标数据反馈给第二用户端。Optionally, for the foregoing setting the password of the shared data page, correspondingly, the process of querying the target data by the user may be as follows: the second user end of the same network segment with the first user end queries the shared data of the corresponding target data. The instruction is sent to the background server, and the shared data query instruction carries the first password; according to the access password and the first password, the shared data query instruction is used to verify the access authority, and if the verification is passed, the background server queries the corresponding network according to the shared data query instruction. The data content sharing pool of the segment obtains the access related information of the target data, and obtains the target data according to the access related information and feeds back to the second user.
在实施中,如果共享数据页面设置有密码,则用户在查询目标数据时,需要输入密码(即第一密码),终端则会向后台服务器发送对应目标数据的共享数据查询指令,该共享数据查询指令中可以携带有第一密码,后台服务器接收到共享数据查询指令后,可以获取其中的第一密码,将第一密码与预先存储的访问密码进行比较,如果第一密码与访问密码相同,则验证通过,后台服务器可以根据共享数据查询指令从对应网段的数据内容共享池中获取目标数据的访问相关信息,进而根据访问相关信息获取目标数据,将目标数据发送给给第二用户端。In the implementation, if the shared data page is provided with a password, the user needs to input a password (ie, the first password) when querying the target data, and the terminal sends a shared data query instruction corresponding to the target data to the background server, and the shared data query The instruction may carry the first password, and after receiving the shared data query instruction, the background server may obtain the first password therein, and compare the first password with the pre-stored access password. If the first password is the same as the access password, After the verification is passed, the background server may obtain the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, and then acquire the target data according to the access related information, and send the target data to the second user end.
另外,用户在浏览器中点击查询数据内容共享池中的共享数据的选项时,终端(即第二用户端)会密码输入框,用户可以在该输入框中输入密码,点击确定按键,终端则会将用户输入的密码发送给后台服务器,后台服务器可以对用户输入的密码进行验证,如果验证通过,则向终端发送验证通过的通知,终端接收到该通知后,则会显示共享数据页面,用户可以在共享数据页面中选择希望查询的目标数据。In addition, when the user clicks the option of querying the shared data in the data content sharing pool in the browser, the terminal (ie, the second user terminal) enters a password input box, and the user can input a password in the input box, and click the OK button, and the terminal is The password input by the user is sent to the background server, and the background server can verify the password input by the user. If the verification passes, the terminal sends a notification of the verification, and after receiving the notification, the terminal displays the shared data page. You can select the target data you want to query in the shared data page.
本发明实施例中,第一用户端接收目标数据的共享指令,将目标数据的访问相关信息携带在共享请求中发送至后台服务器,后台服务器如果判定第一用户端所在网段的数据内容共享池已建立,则将要分享的目标数据的访问相关信息放入已建立的第一用户端所在网段的数据内容共享池,这样,待分享的目标数据的访问相关信息可以放入数据内容共享池中,其他用户可以通过数据内容共享池来浏览共享的数据,数据共享的过程中无需进行账号登录,从而可以提高进行数据共享的效率。In the embodiment of the present invention, the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
如图11所示,本发明较佳实施例提出一种数据共享系统,包括:浏览器 401和与所述浏览器401通信连接的后台服务器402,其中:As shown in FIG. 11, a preferred embodiment of the present invention provides a data sharing system, including: a browser 401 and a background server 402 communicatively coupled to the browser 401, wherein:
所述浏览器401,用于接收第一用户端发送的文件分享指令;将所述文件的访问相关信息携带在所述分享指令中发送至所述后台服务器402;The browser 401 is configured to receive a file sharing instruction sent by the first user end, and the access related information of the file is carried in the sharing instruction and sent to the background server 402;
所述后台服务器402,用于依据所述访问相关信息,判定所述第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。The background server 402 is configured to determine, according to the access related information, that the file content sharing pool of the network segment where the first user end is located is set, and insert the address of the file to be shared into the established A file content sharing pool on the network segment where the client is located.
本实施例可以基于浏览器401实现同一局域网段尤其是短距离比如WiFi或WLAN网段下多个终端之间的数据共享。This embodiment can implement data sharing between multiple terminals in the same local area network segment, especially a short distance such as a WiFi or WLAN network segment, based on the browser 401.
其中,网段是指一个计算机网络中使用同一物理层设备(传输介质、中继器、集线器等)直接通讯的那一部分。也就是从一个IP地址到另一个IP地址:比如从192.168.0.1到192.168.255.255这之间就是一个网段。每一网段具有网络标识,同一网段通过网络标识区分,网络标识相同,就表示在同一网段。The network segment refers to the part of a computer network that uses the same physical layer device (transmission medium, repeater, hub, etc.) to communicate directly. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment. Each network segment has a network identifier. The same network segment is distinguished by the network identifier. If the network identifier is the same, it indicates that it is on the same network segment.
本实施例所指局域网段,是指将局域网设备从逻辑上划分成一个个网段,比如WiFi或WLAN网段或者其他无线局域网等,在此不作具体限定。本实施例以WiFi或WLAN网段下多个终端之间的数据共享进行举例。The local area network segment in this embodiment refers to the logical division of the local area network device into a network segment, such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein. This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
具体地,以WiFi网段为例,后台服务器402针对同一个WiFi网段下建立有一个文件公共内容共享池,在此WiFi网段下的所有终端的浏览器401用户可以在这个公共内容共享池中共享自己觉得有意思的文件,而无需登录帐号和密码,即可实现文件内容的无缝流通。Specifically, taking the WiFi network segment as an example, the background server 402 establishes a file common content sharing pool under the same WiFi network segment, and the browser 401 users of all terminals under the WiFi network segment can be in the public content sharing pool. Share files that you find interesting, without having to log in to your account and password, to seamlessly distribute file content.
具体地,浏览器401各终端用户所能共享的文件可以是网页、图片或者音视频文件等,其中网页也可以带有图片。Specifically, the file that each end user of the browser 401 can share may be a webpage, a picture, an audio and video file, or the like, and the webpage may also have a picture.
本实施例所指浏览器401可以为手机浏览器401、PC浏览器401或iPad浏览器401等,其前提是可以连接WiFi或WLAN等局域网访问用户。The browser 401 in this embodiment may be a mobile phone browser 401, a PC browser 401, or an iPad browser 401, etc., provided that the user can access the local area network such as WiFi or WLAN.
以WiFi为例,在同一WiFi网段下,浏览器401终端用户可发起对某个或某些网址或图片、音视频文件等进行分享。Taking WiFi as an example, under the same WiFi network segment, the browser 401 terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
浏览器401在接收到发起文件分享的用户(即本实施例所指第一用户端)发送的文件分享指令后,将该文件的访问相关信息携带在所述分享指令中发送至后台服务器402。After receiving the file sharing instruction sent by the user who initiated the file sharing (that is, the first user end referred to in this embodiment), the browser 401 carries the access related information of the file in the sharing instruction and sends it to the background server 402.
其中,文件的访问相关信息包括文件的访问地址以及文件名等,以网页为例,该网页的访问相关信息可以为该网页的URL和网址名等信息。后台服务器402在收到浏览器401发送的文件分享指令后,首先根据该文件分享指令所 携带的访问相关信息来判断该第一用户端所在网段的文件内容共享池是否已建立。The access related information of the file includes the access address of the file and the file name. For example, the webpage access information may be the URL and the web address name of the webpage. After receiving the file sharing instruction sent by the browser 401, the background server 402 firstly shares the instruction according to the file. The access related information is carried out to determine whether the file content sharing pool of the network segment where the first user is located has been established.
如前所述,后台服务器402针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器401用户可以在这个公共内容共享池中共享文件,也就是说,这些文件对该网段内的用户是透明的。As described above, the background server 402 establishes a common file content sharing pool under the same network segment, and the browser 401 users of all terminals under the network segment can share files in the public content sharing pool, that is, These files are transparent to users within the network segment.
为此,后台服务器402需识别区域内的同个WiFi或WLAN网段,以这个局域网为标识,建立专属的数据共享存储中心,即文件内容共享池,提供文件传输及存储机制。该文件内容共享池可以加密,也可以是非加密的,访问该文件内容共享池仅限于该网段的用户。To this end, the background server 402 needs to identify the same WiFi or WLAN network segment in the area, and use the local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, and provide a file transmission and storage mechanism. The file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
后台服务器402在判定第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池,以便后续,同一网段下的其它浏览器401终端用户可对文件内容共享池中的网页、图片或音视频文件等进行分享。When the background server 402 determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user terminal is located, so that Subsequently, other browsers 401 end users under the same network segment can share web pages, pictures, audio and video files, and the like in the file content sharing pool.
进一步地,所述浏览器401还用于接收与所述第一用户端处于同一网段的第二用户端发送的共享文件查询指令;将所述共享文件查询指令转发至所述后台服务器402;Further, the browser 401 is further configured to receive a shared file query instruction sent by the second user end that is in the same network segment as the first user end, and forward the shared file query instruction to the background server 402;
所述后台服务器402还用于根据所述共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容反馈给所述浏览器401;The background server 402 is further configured to: obtain the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction, and feed back the corresponding file content to the browser 401;
所述浏览器401还用于接收所述后台服务器402发送的文件内容,提供给所述第二用户端。The browser 401 is further configured to receive the content of the file sent by the background server 402, and provide the content to the second user.
具体地,与第一用户端处于同一网段的第二用户端可以通过浏览器401向后台服务器402发送共享文件查询指令,后台服务器402根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容反馈给所述浏览器401。Specifically, the second user end that is in the same network segment as the first user end can send a shared file query command to the background server 402 through the browser 401, and the background server 402 can obtain the file content sharing pool from the corresponding network segment according to the shared file query instruction. Obtaining file address information, and feeding back the corresponding file content to the browser 401.
其中,后台服务器402为不同终端的浏览器401设置有相应的文件内容共享入口,浏览器401通过设定的文件内容共享入口从所述后台服务器402获取共享的文件内容。The background server 402 is configured with a corresponding file content sharing portal for the browser 401 of the different terminal, and the browser 401 obtains the shared file content from the background server 402 through the set file content sharing portal.
之后,浏览器401将从后台服务器402查询获取的文件内容提供给所述第二用户端。 Thereafter, the browser 401 provides the content of the file obtained by querying from the background server 402 to the second client.
进一步地,所述浏览器401还用于向所述后台服务器402发起建立所述第一用户端所在网段的文件内容共享池的请求;Further, the browser 401 is further configured to initiate, to the background server 402, a request for establishing a file content sharing pool of the network segment where the first user terminal is located;
所述后台服务器402还用于依据所述访问相关信息,判断所述第一用户端所在网段的文件内容共享池是否已建立;若判定所述第一用户端所在网段的文件内容共享池已建立,则向所述浏览器401返回不能重复建立的指令,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;否则,根据所述请求建立该网段的文件内容共享池。The background server 402 is further configured to determine, according to the access related information, whether a file content sharing pool of the network segment where the first user end is located has been established; and determining a file content sharing pool of the network segment where the first user end is located If yes, the instruction of the file that cannot be repeatedly established is returned to the browser 401, and the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located; otherwise, according to the The request establishes a file content sharing pool of the network segment.
具体地,如前所述,后台服务器402针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器401用户可以在这个公共文件内容共享池中共享文件。Specifically, as described above, the background server 402 establishes a common file content sharing pool under the same network segment, and the browser 401 users of all terminals under the network segment can share files in the public file content sharing pool.
作为一种实施方式,在本实施例中,还可以进一步由浏览器401侧请求后台服务器402建立终端所属网段下的公共文件内容共享池。具体如下:As an implementation manner, in this embodiment, the browser 401 side may further request the background server 402 to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
浏览器401在向后台服务器402发送第一用户端的文件分享指令后,向后台服务器402发起建立该第一用户端所在网段的文件内容共享池的请求;After the browser 401 sends the file sharing instruction of the first user to the background server 402, the browser 401 initiates a request to establish the file content sharing pool of the network segment where the first user is located to the background server 402;
后台服务器402依据第一用户端的文件分享指令所携带的访问相关信息,判断该第一用户端所在网段的文件内容共享池是否已建立,若判定该第一用户端所在网段的文件内容共享池已建立,则向浏览器401返回不能重复建立的指令,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;若判定该第一用户端所在网段的文件内容共享池还未建立,后台服务器402则根据所述请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。The background server 402 determines, according to the access related information carried in the file sharing instruction of the first user end, whether the file content sharing pool of the network segment where the first user end is located has been established, and if the file content sharing of the network segment where the first user end is located is determined If the pool is established, the browser 401 is returned to the browser 401, and the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user is located; The file content sharing pool of the network segment where the client is located has not been established yet, and the background server 402 establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the established first The file content sharing pool of the network segment where the client is located.
其中,后台服务器402在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。When the background server 402 establishes the file content sharing pool of the network segment, the background server 402 can also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and meet the requirements in the local area network. The confidentiality requirements of the user terminal.
由此,当与第一用户端处于同一网段的第二用户端需要查看该网段下的20文件内容共享池中的共享文件时,需要输入相应的密码方可访问。Therefore, when the second user in the same network segment as the first user needs to view the shared file in the 20 file content sharing pool under the network segment, the corresponding password is required to be accessed.
浏览器401将第二用户端的共享文件查询指令转发至所述后台服务器402之后,配合所述后台服务器402对所述共享文件查询指令进行访问权限验证;如验证通过,后台服务器402从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器401反馈给该第二用户端。After the browser 401 forwards the shared file query command of the second user to the background server 402, the background server 402 cooperates with the shared file query instruction to perform access authority verification; if the verification passes, the background server 402 selects the corresponding network segment. The file content sharing pool obtains the file address information, and feeds the corresponding file content to the second user end through the browser 401.
本实施例通过上述方案,浏览器401在接收到用户端发送的文件分享指令 后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器402,同时,向后台服务器402发起建立该第一用户端所在网段的文件内容共享池的请求,后台服务器402依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池30中;若后台服务器402判定该第一用户端所在网段的文件内容共享池还未建立,则根据该请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。后续,与第一用户端处于同一网段的第二用户端可以通过浏览器401向后台服务器402发送共享文件查询指令,后台服务器402根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器401反馈给该第二用户端。In this embodiment, the browser 401 receives the file sharing instruction sent by the client. Then, the information related to the access of the file is sent to the background server 402 in the sharing instruction, and the request to establish the file content sharing pool of the network segment where the first user is located is initiated to the background server 402, and the background server 402 is accessed according to the access. If the file content sharing pool of the network segment where the client is located is determined, the address of the file to be shared is placed in the created file content sharing pool 30; if the background server 402 determines the network segment where the first user is located If the file content sharing pool has not been established, the file content sharing pool of the network segment is established according to the request, and the address of the file to be shared is placed in the file content sharing of the established network segment where the first user terminal is located. Pool. Subsequently, the second user end that is in the same network segment as the first user end can send a shared file query command to the background server 402 through the browser 401, and the background server 402 obtains the file content sharing pool of the corresponding network segment according to the shared file query instruction. The file address information is fed back to the second client through the browser 401.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器401用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器401文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。此外,后台服务器402在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。Therefore, by creating a common file content sharing pool under the same network segment, the browser 401 of all terminals under the network segment can share webpages, pictures, audio and video files in the public file content sharing pool. In addition, the file content can be seamlessly circulated without logging in to the account and password, which simplifies the file sharing process of the browser 401, and improves the flexibility of file sharing and promotes the efficiency of file content circulation. In addition, when the background server 402 establishes the file content sharing pool of the network segment, the background server 402 may also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and meet the requirements of the local area network. The confidentiality requirements of the user terminal.
如图12所示,本发明第一实施例提出一种数据共享浏览器,包括:指令接收模块501及发送模块502,其中:As shown in FIG. 12, the first embodiment of the present invention provides a data sharing browser, including: an instruction receiving module 501 and a sending module 502, where:
指令接收模块501,用于接收第一用户端发送的文件分享指令;发送模块502,用于将所述文件的访问相关信息携带在所述分享指令中发送至后台服务器;由所述后台服务器依据所述访问相关信息,判定所述第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。The instruction receiving module 501 is configured to receive a file sharing instruction sent by the first user end, and the sending module 502 is configured to: carry the access related information of the file in the sharing instruction, and send the information to the background server; The accessing the related information, and determining that the file content sharing pool of the network segment where the first user end is located is set, and the address of the file to be shared is placed in the file content of the established network segment where the first user end is located. Shared pool.
本实施例可以基于浏览器实现同一局域网段比如WiFi或WLAN网段下多个终端之间的数据共享。This embodiment can implement data sharing between multiple terminals in the same local area network segment, such as a WiFi or WLAN network segment, based on the browser.
其中,网段是指一个计算机网络中使用同一物理层设备(传输介质、中继器、集线器等)直接通讯的那一部分。也就是从一个IP地址到另一个IP地址:比如从192.168.0.1到192.168.255.255这之间就是一个网段。每一网段具有网 络标识,同一网段通过网络标识区分,网络标识相同,就表示在同一网段。The network segment refers to the part of a computer network that uses the same physical layer device (transmission medium, repeater, hub, etc.) to communicate directly. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment. Each network segment has a network The network identifier is distinguished by the network identifier. The network identifier is the same, which means that it is on the same network segment.
本实施例所指局域网段,是指将局域网设备从逻辑上划分成一个个网段,比如WiFi或WLAN网段或者其他无线局域网等,在此不作具体限定。本实施例以WiFi或WLAN网段下多个终端之间的数据共享进行举例。The local area network segment in this embodiment refers to the logical division of the local area network device into a network segment, such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein. This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
具体地,以WiFi网段为例,后台服务器针对同一个WiFi网段下建立有一个文件公共内容共享池,在此WiFi网段下的所有终端的浏览器用户可以在5Specifically, taking the WiFi network segment as an example, the background server establishes a file common content sharing pool under the same WiFi network segment, and the browser users of all terminals under the WiFi network segment can be at 5
这个公共内容共享池中共享自己觉得有意思的文件,而无需登录帐号和密码,即可实现文件内容的无缝流通。This public content sharing pool shares files that you find interesting, and you don't need to log in to your account and password to seamlessly distribute file content.
具体地,浏览器各终端用户所能共享的文件可以是网页、图片或者音视频文件等,其中网页也可以带有图片。Specifically, the files that the end users of the browser can share may be web pages, pictures, audio and video files, etc., and the web pages may also have pictures.
本实施例所指浏览器可以为手机浏览器、PC浏览器或iPad浏览器等,其前提是可以连接WiFi或WLAN等局域网访问用户。The browser referred to in this embodiment may be a mobile phone browser, a PC browser or an iPad browser, etc., provided that the user can access the local area network such as WiFi or WLAN.
以WiFi为例,在同一WiFi网段下,浏览器终端用户可发起对某个或某些网址或图片、音视频文件等进行分享。Taking WiFi as an example, under the same WiFi network segment, the browser terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like.
浏览器通过指令接收模块501接收到发起文件分享的用户(即本实施例所指第一用户端)发送的文件分享指令后,通过发送模块502将该文件的访问相关信息携带在所述分享指令中发送至后台服务器。After the browser receives the file sharing instruction sent by the user who initiates the file sharing (ie, the first user end referred to in this embodiment), the sending module 502 stores the access related information of the file in the sharing instruction. Sent to the background server.
其中,文件的访问相关信息包括文件的访问地址以及文件名等,以网页为例,该网页的访问相关信息可以为该网页的URL和网址名等信息。The access related information of the file includes the access address of the file and the file name. For example, the webpage access information may be the URL and the web address name of the webpage.
后台服务器在收到浏览器发送的文件分享指令后,首先根据该文件分享指令所携带的访问相关信息来判断该第一用户端所在网段的文件内容共享池是否已建立。After receiving the file sharing command sent by the browser, the background server first determines whether the file content sharing pool of the network segment where the first user end is located has been established according to the access related information carried by the file sharing instruction.
如前所述,后台服务器针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器用户可以在这个公共内容共享池中共享文件,也就是说,这些文件对该网段内的用户是透明的。As described above, the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public content sharing pool, that is, these files. It is transparent to users in this network segment.
为此,后台服务器需识别区域内的同个WiFi或WLAN网段,以这个局域网为标识,建立专属的数据共享存储中心,即文件内容共享池,提供文件传输及存储机制。该文件内容共享池可以加密,也可以是非加密的,访问该文件内容共享池仅限于该网段的用户。后台服务器在判定第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池,以便后续,同一网段下的其它浏览器终端用户 可对文件内容共享池中的网页、图片或音视频文件等进行分享。To this end, the background server needs to identify the same WiFi or WLAN network segment in the area, and use this local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, and provide a file transmission and storage mechanism. The file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment. When the background server determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located, so as to be followed. , other browser end users under the same network segment You can share web pages, pictures, audio and video files, etc. in the file content sharing pool.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中,由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。In this embodiment, after receiving the file sharing instruction sent by the client, the browser carries the file related information in the sharing command to the background server, and the background server determines the client according to the access related information. When the file content sharing pool of the network segment is established, the address of the file to be shared is placed in the created file content sharing pool. Thus, by creating a common file content sharing pool under the same network segment, Browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in this public file content sharing pool, and the file content can be seamlessly circulated without login account and password, thereby simplifying browsing. The file sharing process, and the flexibility of file sharing is improved, and the efficiency of file content circulation is promoted.
如图13所示,本发明第二实施例提出一种数据共享浏览器,在上述图12所示的第一实施例的基础上,还包括:查询获取模块503;As shown in Figure 13, the second embodiment of the present invention provides a data sharing browser, based on the first embodiment shown in Figure 12, further comprising: a query acquisition module 503;
在本实施例中,所述指令接收模块501还用于接收与所述第一用户端处于同一网段的第二用户端发送的共享文件查询指令;In this embodiment, the instruction receiving module 501 is further configured to receive a shared file query instruction sent by a second user end that is in the same network segment as the first user end;
所述发送模块502还用于将所述共享文件查询指令转发至所述后台服务器;The sending module 502 is further configured to forward the shared file query instruction to the background server;
所述查询获取模块503用于通过所述后台服务器从对应网段的文件内容共享池获取查询的文件内容;并将所述文件内容提供给所述第二用户端。The query obtaining module 503 is configured to obtain the queried file content from the file content sharing pool of the corresponding network segment by using the background server, and provide the file content to the second user end.
本实施例与上述第一实施例的区别在于,本实施例还包括与第一用户端20The difference between this embodiment and the foregoing first embodiment is that the embodiment further includes the first user terminal 20
处于同一网段的第二用户端分享该网段的文件内容共享池内的文件的方案。A scheme in which the second user in the same network segment shares files in the file content sharing pool of the network segment.
具体地,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容反馈给所述浏览器。Specifically, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address from the file content sharing pool of the corresponding network segment according to the shared file query instruction. Information, and the corresponding file content is fed back to the browser.
其中,后台服务器为不同终端的浏览器设置有相应的文件内容共享入口,浏览器通过设定的文件内容共享入口从所述后台服务器获取共享的文件内容。The background server sets a corresponding file content sharing portal for the browsers of different terminals, and the browser obtains the shared file content from the background server through the set file content sharing portal.
之后,浏览器将从后台服务器查询获取的文件内容提供给所述第二用户端。Afterwards, the browser provides the content of the file obtained from the background server query to the second client.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,后台服务器 依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中。后续,与第一用户处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。In this embodiment, after receiving the file sharing instruction sent by the user end, the browser carries the access related information of the file in the sharing instruction and sends the information to the background server, the background server. According to the access related information, when the file content sharing pool of the network segment where the client is located is determined to be established, the address of the file to be shared is placed in the created file content sharing pool. Subsequently, the second user end that is in the same network segment as the first user may send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction. The corresponding file content is fed back to the second client through the browser.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。Therefore, by creating a common file content sharing pool under the same network segment, browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in the public file content sharing pool. The file content can be seamlessly circulated without login account and password, which simplifies the browser file sharing process, improves the flexibility of file sharing, and promotes the efficiency of file content circulation.
进一步地,所述发送模块502还用于向所述后台服务器发起建立所述第一用户端所在网段的文件内容共享池的请求;Further, the sending module 502 is further configured to initiate, to the background server, a request for establishing a file content sharing pool of the network segment where the first user terminal is located;
所述指令接收模块501还用于当所述后台服务器判定所述第一用户端所在网段的文件内容共享池已建立时,接收所述后台服务器返回的不能重复建立的指令,并由所述后台服务器将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;否则,由所述后台服务器根据所述请求建立该网段的文件内容共享池。The instruction receiving module 501 is further configured to: when the background server determines that the file content sharing pool of the network segment where the first user end is located, receive an instruction that cannot be repeatedly established by the background server, and is configured by the The background server puts the address of the file to be shared into the file content sharing pool of the network segment where the first user end is located; otherwise, the background server establishes the file content sharing pool of the network segment according to the request. .
所述查询获取模块503还用于配合所述后台服务器对所述共享文件查询指令进行访问权限验证;如验证通过,则通过所述后台服务器从对应网段的文件内容共享池获取查询的文件内容。The query obtaining module 503 is further configured to cooperate with the background server to perform access authority verification on the shared file query instruction; if the verification is passed, obtain, by using the background server, the file content of the query from the file content sharing pool of the corresponding network segment. .
本实施例与上述第二实施例的区别在于,本实施例还包括浏览器在向后台服务器发送文件分享指令后,向后台服务器发起建立第一用户端所在网段的文件内容共享池的请求的方案。The difference between this embodiment and the foregoing second embodiment is that the embodiment further includes: after the browser sends a file sharing instruction to the background server, the browser initiates a request for establishing a file content sharing pool of the network segment where the first user is located after the file sharing instruction is sent to the background server. Program.
具体地,如前所述,后台服务器针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器用户可以在这个公共文件内容共享池中共享文件。Specifically, as described above, the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public file content sharing pool.
作为一种实施方式,在本实施例中,还可以进一步由浏览器侧请求后台服务器建立终端所属网段下的公共文件内容共享池。具体如下:As an implementation manner, in this embodiment, the browser side may further request the background server to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
浏览器在向后台服务器发送第一用户端的文件分享指令后,向后台服务器发起建立该第一用户端所在网段的文件内容共享池的请求;后台服务器依据第 一用户端的文件分享指令所携带的访问相关信息,判断该第一用户端所在网段的文件内容共享池是否已建立,若判定该第一用户端所在网段的文件内容共享池已建立,则向浏览器返回不能重复建立的指令,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;若判定该第一用户端所在网段的文件内容共享池还未建立,后台服务器则根据所述请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。After the browser sends the file sharing instruction of the first user to the background server, the browser initiates a request to establish a file content sharing pool of the network segment where the first user is located to the background server; Determining whether the file content sharing pool of the network segment where the first user end is located has been established, and determining that the file content sharing pool of the network segment where the first user end is located has been established, Returning, to the browser, an instruction that cannot be repeatedly established, and placing the address of the file to be shared into the file content sharing pool of the network segment where the first user is located; and determining the network segment where the first user is located The file content sharing pool is not established yet, and the background server establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the established network segment where the first user terminal is located. Content sharing pool.
其中,后台服务器在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。When the background server establishes the file content sharing pool of the network segment, the background server may also set a password access right for the file content sharing pool of the network segment to restrict access to the shared file in the file content sharing pool, and satisfy each user in the local area network. The confidentiality requirements of the terminal.
由此,当与第一用户端处于同一网段的第二用户端需要查看该网段下的文件内容共享池中的共享文件时,需要输入相应的密码方可访问。Therefore, when the second user in the same network segment as the first user needs to view the shared file in the file content sharing pool under the network segment, the corresponding password is required to be accessed.
浏览器将第二用户端的共享文件查询指令转发至所述后台服务器之后,配合所述后台服务器对所述共享文件查询指令进行访问权限验证;如验证通过,后台服务器从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,同时,向后台服务器发起建立该第一用户端所在网段的文件内容共享池的请求,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中;若后台服务器判定该第一用户端所在网段的文件内容共享池还未建立,则根据该请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。后续,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。After the browser forwards the shared file query instruction of the second user to the background server, the background server cooperates with the background server to perform access authority verification on the shared file query instruction; if the verification is passed, the background server shares the file content from the corresponding network segment. The pool obtains the file address information, and feeds the corresponding file content to the second user through the browser. In this embodiment, after receiving the file sharing instruction sent by the user end, the browser carries the information related to the access of the file in the sharing instruction and sends the information to the background server, and initiates the establishment of the first user to the background server. The request of the file content sharing pool of the network segment where the terminal is located, and the background server determines that the file content sharing pool of the network segment where the client is located is placed in the established file content sharing pool according to the access information. If the background server determines that the file content sharing pool of the network segment where the first user terminal is located has not been established, the file content sharing pool of the network segment is established according to the request, and the address of the file to be shared is placed in the established The file content sharing pool of the network segment where the first user end is located. Subsequently, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction. The corresponding file content is fed back to the second client through the browser.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。此外,后台服务器在建立该网段的文件内容共享池时,还可以对该网 段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。Therefore, by creating a common file content sharing pool under the same network segment, browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in the public file content sharing pool. The file content can be seamlessly circulated without login account and password, which simplifies the browser file sharing process, improves the flexibility of file sharing, and promotes the efficiency of file content circulation. In addition, when the background server establishes a file content sharing pool of the network segment, the background server may also The file content sharing pool of the segment sets the password access permission to restrict access to the shared files in the file content sharing pool, and meets the confidentiality requirements of each user terminal in the local area network.
如图14所示,本发明较佳实施例提出一种数据共享服务器,包括:接收模块601及分享操作模块602,其中:As shown in FIG. 14, a preferred embodiment of the present invention provides a data sharing server, including: a receiving module 601 and a sharing operation module 602, where:
接收模块601,用于接收所述浏览器转发的来自第一用户端的文件分享指令;所述文件分享指令携带有所述文件的访问相关信息;The receiving module 601 is configured to receive a file sharing instruction forwarded by the browser from the first user end, where the file sharing instruction carries the access related information of the file;
分享操作模块602,用于依据所述访问相关信息,判定所述第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。The sharing operation module 602 is configured to determine, according to the access related information, that the file content sharing pool of the network segment where the first user end is located is set, and the address of the file to be shared is placed in the first The file content sharing pool of the network segment where the client is located.
本实施例可以基于浏览器实现同一局域网段比如WiFi或WLAN网段下多个终端之间的数据共享。This embodiment can implement data sharing between multiple terminals in the same local area network segment, such as a WiFi or WLAN network segment, based on the browser.
其中,网段是指一个计算机网络中使用同一物理层设备(传输介质、中继器、集线器等)直接通讯的那一部分。也就是从一个IP地址到另一个IP地址:比如从192.168.0.1到192.168.255.255这之间就是一个网段。每一网段具有网络标识,同一网段通过网络标识区分,网络标识相同,就表示在同一网段。The network segment refers to the part of a computer network that uses the same physical layer device (transmission medium, repeater, hub, etc.) to communicate directly. That is, from one IP address to another: for example, from 192.168.0.1 to 192.168.255.255 is a network segment. Each network segment has a network identifier. The same network segment is distinguished by the network identifier. If the network identifier is the same, it indicates that it is on the same network segment.
本实施例所指局域网段,是指将局域网设备从逻辑上划分成一个个网段,比如WiFi或WLAN网段或者其他无线局域网等,在此不作具体限定。本实施例以WiFi或WLAN网段下多个终端之间的数据共享进行举例。The local area network segment in this embodiment refers to the logical division of the local area network device into a network segment, such as a WiFi or WLAN network segment or other wireless local area network, which is not specifically limited herein. This embodiment is exemplified by data sharing between multiple terminals in a WiFi or WLAN network segment.
具体地,以WiFi网段为例,后台服务器针对同一个WiFi网段下建立有一个文件公共内容共享池,在此WiFi网段下的所有终端的浏览器用户可以在这个公共内容共享池中共享自己觉得有意思的文件,而无需登录帐号和密码,即可实现文件内容的无缝流通。Specifically, taking the WiFi network segment as an example, the background server establishes a file common content sharing pool under the same WiFi network segment, and browser users of all terminals under the WiFi network segment can share in the public content sharing pool. The files that you find interesting, without the need to log in to your account and password, can achieve seamless distribution of file content.
具体地,浏览器各终端用户所能共享的文件可以是网页、图片或者音视频文件等,其中网页也可以带有图片。Specifically, the files that the end users of the browser can share may be web pages, pictures, audio and video files, etc., and the web pages may also have pictures.
本实施例所指浏览器可以为手机浏览器、PC浏览器或iPad浏览器等,其前提是可以连接WiFi或WLAN等局域网访问用户。The browser referred to in this embodiment may be a mobile phone browser, a PC browser or an iPad browser, etc., provided that the user can access the local area network such as WiFi or WLAN.
以WiFi为例,在同一WiFi网段下,浏览器终端用户可发起对某个或某些网址或图片、音视频文件等进行分享。浏览器在接收到发起文件分享的用户(即本实施例所指第一用户端)发送的文件分享指令后,将该文件的访问相关信息携带在所述分享指令中发送至后台服务器。 Taking WiFi as an example, under the same WiFi network segment, the browser terminal user can initiate sharing of one or some URLs, pictures, audio and video files, and the like. After receiving the file sharing instruction sent by the user who initiated the file sharing (that is, the first user end referred to in this embodiment), the browser carries the access related information of the file in the sharing instruction and sends the file to the background server.
其中,文件的访问相关信息包括文件的访问地址以及文件名等,以网页为例,该网页的访问相关信息可以为该网页的URL和网址名等信息。后台服务器通过接收模块601收到浏览器发送的文件分享指令后,首先通过分享操作模块602根据该文件分享指令所携带的访问相关信息来判断该第一用户端所在网段的文件内容共享池是否已建立。The access related information of the file includes the access address of the file and the file name. For example, the webpage access information may be the URL and the web address name of the webpage. After receiving the file sharing command sent by the browser, the background server first determines whether the file content sharing pool of the network segment where the first user end is located is determined by the sharing operation module 602 according to the access related information carried by the file sharing instruction. It has been established.
如前所述,后台服务器针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器用户可以在这个公共内容共享池中共享文件,也就是说,这些文件对该网段内的用户是透明的。为此,后台服务器需识别区域内的同个WiFi或WLAN网段,以这个局域网为标识,建立专属的数据共享存储中心,即文件内容共享池,提供文件传输及存储机制。该文件内容共享池可以加密,也可以是非加密的,访问该文件内容共享池仅限于该网段的用户。As described above, the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public content sharing pool, that is, these files. It is transparent to users in this network segment. To this end, the background server needs to identify the same WiFi or WLAN network segment in the area, and use this local area network as the identifier to establish a dedicated data sharing storage center, that is, a file content sharing pool, and provide a file transmission and storage mechanism. The file content sharing pool can be encrypted or unencrypted. Accessing the file content sharing pool is limited to users on the network segment.
后台服务器在判定第一用户端所在网段的文件内容共享池已建立时,将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池,以便后续,同一网段下的其它浏览器终端用户可对文件内容共享池中的网页、图片或音视频文件等进行分享。When the background server determines that the file content sharing pool of the network segment where the first user terminal is located, the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user end is located, so as to be followed. Other browser end users under the same network segment can share web pages, pictures or audio and video files in the file content sharing pool.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。Therefore, by creating a common file content sharing pool under the same network segment, browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in the public file content sharing pool. The file content can be seamlessly circulated without login account and password, which simplifies the browser file sharing process, improves the flexibility of file sharing, and promotes the efficiency of file content circulation.
进一步地,所述接收模块601还用于接收所述浏览器转发的来自与所述第一用户端处于同一网段的第二用户端的共享文件查询指令;Further, the receiving module 601 is further configured to receive a shared file query instruction that is forwarded by the browser from a second user end that is in the same network segment as the first user end;
所述分享操作模块602还用于根据所述共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容反馈给所述浏览器,由所述浏览器提供给所述第二用户端。The sharing operation module 602 is further configured to: obtain the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction, and feed back the corresponding file content to the browser, where the browser provides the Said second client.
具体地,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容反馈给所述浏览器。Specifically, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address from the file content sharing pool of the corresponding network segment according to the shared file query instruction. Information, and the corresponding file content is fed back to the browser.
其中,后台服务器为不同终端的浏览器设置有相应的文件内容共享入口, 浏览器通过设定的文件内容共享入口从所述后台服务器获取共享的文件内容。The background server sets a corresponding file content sharing entry for the browsers of different terminals. The browser acquires the shared file content from the background server through the set file content sharing entry.
之后,浏览器将从后台服务器查询获取的文件内容提供给所述第二用户端。Afterwards, the browser provides the content of the file obtained from the background server query to the second client.
进一步地,所述接收模块601还用于接收所述浏览器发起的建立所述第一用户端所在网段的文件内容共享池的请求;Further, the receiving module 601 is further configured to receive, by the browser, a request for establishing a file content sharing pool of a network segment where the first user end is located;
所述分享操作模块602还用于依据所述访问相关信息,判断所述第一用户端所在网段的文件内容共享池是否已建立;若判定所述第一用户端所在网段的文件内容共享池已建立,则向所述浏览器返回不能重复建立的指令,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;否则根据所述请求建立该网段的文件内容共享池。The sharing operation module 602 is further configured to determine, according to the access related information, whether a file content sharing pool of the network segment where the first user end is located has been established; and if it is determined that the file content sharing of the network segment where the first user end is located If the pool is established, the instruction that cannot be repeatedly established is returned to the browser, and the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user is located; otherwise, according to the Request to establish a file content sharing pool for this network segment.
所述分享操作模块602还用于在建立相应网段的文件内容共享池时,对所述网段的文件内容共享池设置密码访问权限;以及对所述共享文件查询指令进行访问权限验证,如验证通过,则从对应网段的文件内容共享池获取文25件地址信息,将对应的文件内容反馈给所述浏览器。The sharing operation module 602 is further configured to: when establishing a file content sharing pool of the corresponding network segment, set a password access right to the file content sharing pool of the network segment; and perform access authority verification on the shared file query instruction, such as After the verification is passed, the 25 pieces of address information are obtained from the file content sharing pool of the corresponding network segment, and the corresponding file content is fed back to the browser.
具体地,如前所述,后台服务器针对同一个网段下建立有一公共文件内容共享池,在此网段下的所有终端的浏览器用户可以在这个公共文件内容共享池中共享文件。Specifically, as described above, the background server establishes a common file content sharing pool under the same network segment, and browser users of all terminals under the network segment can share files in the public file content sharing pool.
作为一种实施方式,在本实施例中,还可以进一步由浏览器侧请求后台服务器建立终端所属网段下的公共文件内容共享池。具体如下:As an implementation manner, in this embodiment, the browser side may further request the background server to establish a public file content sharing pool under the network segment to which the terminal belongs. details as follows:
浏览器在向后台服务器发送第一用户端的文件分享指令后,向后台服务器发起建立该第一用户端所在网段的文件内容共享池的请求;后台服务器依据第一用户端的文件分享指令所携带的访问相关信息,判断该第一用户端所在网段的文件内容共享池是否已建立,若判定该第一用户端所在网段的文件内容共享池已建立,则向浏览器返回不能重复建立的指令,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池;若判定该第一用户端所在网段的文件内容共享池还未建立,后台服务器则根据所述请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。After the browser sends the file sharing instruction of the first user to the background server, the browser initiates a request to establish a file content sharing pool of the network segment where the first user is located on the background server; the background server is carried according to the file sharing instruction of the first user end. Accessing the related information, determining whether the file content sharing pool of the network segment where the first user is located has been established, and if it is determined that the file content sharing pool of the network segment where the first user is located has been established, returning an instruction that cannot be repeatedly established to the browser And the address of the file to be shared is placed in the file content sharing pool of the network segment where the first user is located; if it is determined that the file content sharing pool of the network segment where the first user is located has not been established, the background is The server establishes a file content sharing pool of the network segment according to the request, and puts the address of the file to be shared into the file content sharing pool of the network segment where the first user terminal is located.
其中,后台服务器在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访 问限制,满足局域网内各用户终端的保密需求。When the background server establishes the file content sharing pool of the network segment, the background server may also set a password access right for the file content sharing pool of the network segment to access the shared file in the file content sharing pool. Ask the limit to meet the confidentiality requirements of each user terminal in the LAN.
由此,当与第一用户端处于同一网段的第二用户端需要查看该网段下的文件内容共享池中的共享文件时,需要输入相应的密码方可访问。Therefore, when the second user in the same network segment as the first user needs to view the shared file in the file content sharing pool under the network segment, the corresponding password is required to be accessed.
浏览器将第二用户端的共享文件查询指令转发至所述后台服务器之后,配合所述后台服务器对所述共享文件查询指令进行访问权限验证;如验证通过,后台服务器从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。After the browser forwards the shared file query instruction of the second user to the background server, the background server cooperates with the background server to perform access authority verification on the shared file query instruction; if the verification is passed, the background server shares the file content from the corresponding network segment. The pool obtains the file address information, and feeds the corresponding file content to the second user through the browser.
本实施例通过上述方案,浏览器在接收到用户端发送的文件分享指令后,将所述文件的访问相关信息携带在分享指令中发送至后台服务器,同时,向后台服务器发起建立该第一用户端所在网段的文件内容共享池的请求,后台服务器依据访问相关信息,判定该用户端所在网段的文件内容共享池已建立时,将要分享的文件的地址放入已建立的文件内容共享池中;若后台服务器判定该第一用户端所在网段的文件内容共享池还未建立,则根据该请求建立该网段的文件内容共享池,并将要分享的所述文件的地址放入已建立的所述第一用户端所在网段的文件内容共享池。后续,与第一用户端处于同一网段的第二用户端可以通过浏览器向后台服务器发送共享文件查询指令,后台服务器根据该共享文件查询指令从对应网段的文件内容共享池获取文件地址信息,将对应的文件内容通过浏览器反馈给该第二用户端。In this embodiment, after receiving the file sharing instruction sent by the user end, the browser carries the information related to the access of the file in the sharing instruction and sends the information to the background server, and initiates the establishment of the first user to the background server. The request of the file content sharing pool of the network segment where the terminal is located, and the background server determines that the file content sharing pool of the network segment where the client is located is placed in the established file content sharing pool according to the access information. If the background server determines that the file content sharing pool of the network segment where the first user terminal is located has not been established, the file content sharing pool of the network segment is established according to the request, and the address of the file to be shared is placed in the established The file content sharing pool of the network segment where the first user end is located. Subsequently, the second user end that is in the same network segment as the first user end can send a shared file query instruction to the background server through the browser, and the background server obtains the file address information from the file content sharing pool of the corresponding network segment according to the shared file query instruction. The corresponding file content is fed back to the second client through the browser.
由此,通过在同一个网段下建立一个公共的文件内容共享池,在该网段下的所有终端的浏览器用户可以在此公共文件内容共享池中共享网页、图片或音视频等文件等,无需登录帐号和密码,即可实现文件内容的无缝流通,从而简化了浏览器文件分享流程,而且提高了文件分享的灵活性,促进了文件内容流通效率。此外,后台服务器在建立该网段的文件内容共享池时,还可以对该网段的文件内容共享池设置密码访问权限,以对文件内容共享池内的共享文件进行访问限制,满足局域网内各用户终端的保密需求。Therefore, by creating a common file content sharing pool under the same network segment, browser users of all terminals under the network segment can share web pages, pictures, audio and video files, etc. in the public file content sharing pool. The file content can be seamlessly circulated without login account and password, which simplifies the browser file sharing process, improves the flexibility of file sharing, and promotes the efficiency of file content circulation. In addition, when the background server establishes the file content sharing pool of the network segment, the background server may also set password access rights for the file content sharing pool of the network segment to restrict access to the shared files in the file content sharing pool, and satisfy users in the local area network. The confidentiality requirements of the terminal.
基于相同的技术构思,本发明实施例还提供了一种第一用户端,如图15所示,该第一用户端包括:Based on the same technical concept, the embodiment of the present invention further provides a first user end. As shown in FIG. 15, the first user end includes:
传输模块1510,用于接收目标数据的共享分享指令,将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要分享的所述目标 数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。The transmission module 1510 is configured to receive a shared sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, so that the background server determines the network segment where the first user end is located. The data content sharing pool has been established and the target will be shared The access information related to the data is placed in the data content sharing pool of the network segment where the first user terminal is located.
可选的,所述传输模块1510,还用于:Optionally, the transmission module 1510 is further configured to:
向所述后台服务器发起所述第一用户端所在网段的数据内容共享池的建立请求,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要分享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要分享的所述目标数据的访问相关信息放入建立的数据内容共享池。Initiating a request for establishing a data content sharing pool of the network segment where the first user terminal is located, so that the background server determines that the data content sharing pool of the network segment where the first user terminal is located is established. Returning, to the first user end, an instruction that cannot be repeatedly established, and performing the step of placing the access related information of the target data to be shared into the data content sharing pool of the network segment where the first user end is located, where If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is shared. Put in the established data content sharing pool.
可选的,所述第一用户端还包括显示模块,Optionally, the first user terminal further includes a display module.
所述传输模块1510,还用于接收所述后台服务器发送的密码设置请求;The transmission module 1510 is further configured to receive a password setting request sent by the background server;
所述显示模块,用于显示密码设置提示;The display module is configured to display a password setting prompt;
所述传输模块1510,还用于当接收到密码设置指令时,向所述后台服务器发送用户输入的待设置密码,以使所述后台服务器将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。The transmission module 1510 is further configured to: when the password setting instruction is received, send the password to be set by the user to the background server, so that the background server stores the password to be set as the first user end The access password of the data content sharing pool on the network segment where the network segment resides.
本发明实施例中,第一用户端接收目标数据的共享指令,将目标数据的访问相关信息携带在共享请求中发送至后台服务器,后台服务器如果判定第一用户端所在网段的数据内容共享池已建立,则将要分享的目标数据的访问相关信息放入已建立的第一用户端所在网段的数据内容共享池,这样,待分享的目标数据的访问相关信息可以放入数据内容共享池中,其他用户可以通过数据内容共享池来浏览共享的数据,数据共享的过程中无需进行账号登录,从而可以提高进行数据共享的效率。In the embodiment of the present invention, the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
基于相同的技术构思,本发明实施例还提供了一种后台服务器,如图16所示,该后台服务器包括:Based on the same technical concept, the embodiment of the present invention further provides a background server. As shown in FIG. 16, the background server includes:
接收模块1610,用于接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求;The receiving module 1610 is configured to receive, by the first user end, a sharing request that carries the access related information that carries the target data;
处理模块1620,用于如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要分享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。 The processing module 1620 is configured to: if it is determined that the data content sharing pool of the network segment where the first user terminal is located, the access related information of the target data to be shared is placed in the established network where the first user terminal is located The data content sharing pool for the segment.
可选的,所述后台服务器还包括获取模块,Optionally, the background server further includes an obtaining module,
所述接收模块1610,还用于接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令;The receiving module 1610 is further configured to receive a shared data query instruction corresponding to the target data sent by a second user end that is in the same network segment as the first user end;
所述获取模块,用于根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。The obtaining module is configured to acquire, according to the shared data query instruction, access related information of the target data from a data content sharing pool of a corresponding network segment, obtain the target data according to the access related information, and use the target data. Feedback to the second client.
可选的,所述接收模块1610,还用于接收所述第一用户端发送的所在网段的数据内容共享池的建立请求;Optionally, the receiving module 1610 is further configured to receive a request for establishing a data content sharing pool of the network segment where the first user sends the network segment;
处理模块1620,还用于如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要分享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤;The processing module 1620 is further configured to: if it is determined that the data content sharing pool of the network segment where the first user terminal is located, return an instruction that cannot be repeatedly established to the first user end, and execute the target data to be shared And the step of inserting the related information into the data content sharing pool of the network segment where the first user end is located;
如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要分享的所述目标数据的访问相关信息放入建立的数据内容共享池。If it is determined that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is put into establishment. Data content sharing pool.
可选的,所述处理模块1620,还用于如果判定所述第一用户端所在网段的数据内容共享池未建立,则建立所述网段的数据内容共享池,将要分享的所述目标数据的访问相关信息放入建立的数据内容共享池。Optionally, the processing module 1620 is further configured to: if it is determined that the data content sharing pool of the network segment where the first user terminal is located is not established, establish a data content sharing pool of the network segment, and the target to be shared Data access related information is placed in the established data content sharing pool.
可选的,所述后台服务器还包括发送模块,用于向所述第一用户端发送密码设置请求,以使所述第一用户端显示密码设置提示;Optionally, the background server further includes a sending module, configured to send a password setting request to the first user end, so that the first user end displays a password setting prompt;
所述接收模块1610,用于接收所述第一用户端发送的用户输入的待设置密码,将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。The receiving module 1610 is configured to receive a password to be set by the user sent by the first user terminal, and store the password to be set as an access password of a data content sharing pool of the network segment where the first user end is located.
可选的,所述接收模块1610,还用于接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令,所述共享数据查询指令中携带有第一密码;Optionally, the receiving module 1610 is further configured to receive, by the second user end that is in the same network segment as the first user end, a shared data query instruction corresponding to the target data, where the shared data query instruction is Carrying the first password;
所述处理模块1620,用于根据所述访问密码和所述第一密码,对所述共享数据查询指令进行访问权限验证,如验证通过,则根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。The processing module 1620 is configured to perform access authority verification on the shared data query instruction according to the access password and the first password, and if the verification passes, the data from the corresponding network segment is in accordance with the shared data query instruction. The content sharing pool acquires the access related information of the target data, acquires the target data according to the access related information, and feeds the target data to the second user end.
本发明实施例中,第一用户端接收目标数据的共享指令,将目标数据的访 问相关信息携带在共享请求中发送至后台服务器,后台服务器如果判定第一用户端所在网段的数据内容共享池已建立,则将要分享的目标数据的访问相关信息放入已建立的第一用户端所在网段的数据内容共享池,这样,待分享的目标数据的访问相关信息可以放入数据内容共享池中,其他用户可以通过数据内容共享池来浏览共享的数据,数据共享的过程中无需进行账号登录,从而可以提高进行数据共享的效率。In the embodiment of the present invention, the first user end receives the sharing instruction of the target data, and accesses the target data. The related information is carried in the sharing request and sent to the background server. If the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is put into the established first user. The data content sharing pool of the network segment where the terminal is located, so that the access related information of the target data to be shared can be put into the data content sharing pool, and other users can browse the shared data through the data content sharing pool, and the data sharing process does not need to be performed. By registering an account, you can improve the efficiency of data sharing.
请参考图17,其示出了本申请实施例所涉及的第一用户端的结构示意图,该第一用户端可以用于实施上述实施例中提供的操作响应方法。具体来讲:Please refer to FIG. 17, which is a schematic structural diagram of a first user terminal according to an embodiment of the present application. The first user terminal may be used to implement the operation response method provided in the foregoing embodiment. Specifically:
第一用户端1800可以包括通信单元110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WIFI(Wireless Fidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图中示出的第一用户端结构并不构成对第一用户端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The first client 1800 can include a communication unit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WIFI (Wireless Fidelity). The module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the first user end structure shown in the figure does not constitute a limitation on the first user end, and may include more or less components than those illustrated, or combine some components, or different components. Arrangement. among them:
通信单元110可用于收发信息或通话过程中,信号的接收和发送,该通信单元110可以为RF(Radio Frequency,射频)电路、路由器、调制解调器、等网络通信设备。特别地,当通信单元110为RF电路时,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。通常,作为通信单元的RF电路包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,通信单元110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能 所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据第一用户端1800的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。The communication unit 110 can be used for transmitting and receiving information and receiving and transmitting signals during a call. The communication unit 110 can be an RF (Radio Frequency) circuit, a router, a modem, or the like. In particular, when the communication unit 110 is an RF circuit, the downlink information of the base station is received, and then processed by one or more processors 180; in addition, data related to the uplink is transmitted to the base station. Generally, RF circuits as communication units include, but are not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a LNA (Low Noise Amplifier, low). Noise amplifier), duplexer, etc. In addition, the communication unit 110 can also communicate with the network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like. The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120. The memory 120 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, at least one function The required application (such as a sound playing function, an image playing function, etc.), etc.; the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the first user terminal 1800. Moreover, memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。优选地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。优选地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. Preferably, input unit 130 can include touch-sensitive surface 131 as well as other input devices 132. Touch-sensitive surface 131, also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program. Alternatively, the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 180 is provided and can receive commands from the processor 180 and execute them. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 can also include other input devices 132. Preferably, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及第一用户端1800的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图示中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。 The display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the first client 1800, which can be composed of graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141. Alternatively, the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141. Although in the illustration, touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
第一用户端1800还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在第一用户端1800移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于第一用户端1800还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The first user terminal 1800 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors. The light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the first user end 1800 moves to the ear. / or backlight. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the first user terminal 1800 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, I will not repeat them here.
音频电路160、扬声器161,传声器162可提供用户与第一用户端1800之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一第一用户端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与第一用户端1800的通信。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the first user terminal 1800. The audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, sent to the first user terminal via the RF circuit 110, or outputted to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphone with the first user terminal 1800.
为了实现无线通信,该第一用户端上可以配置有无线通信单元170,该无线通信单元170可以为WIFI模块。WIFI属于短距离无线传输技术,第一用户端1800通过无线通信单元170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图中示出了无线通信单元170,但是可以理解的是,其并不属于第一用户端1800的必须构成,完全可以根据需要在不改变公开的本质的范围内而省略。In order to implement wireless communication, the first user terminal may be configured with a wireless communication unit 170, which may be a WIFI module. The WIFI is a short-range wireless transmission technology, and the first user terminal 1800 can help the user to send and receive emails, browse web pages, and access streaming media through the wireless communication unit 170, which provides wireless broadband Internet access for users. Although the wireless communication unit 170 is shown in the drawings, it can be understood that it does not belong to the essential configuration of the first user terminal 1800, and may be omitted as needed within the scope of not changing the essence of the disclosure.
处理器180是第一用户端1800的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行第一用户端1800的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is a control center of the first client 1800 that connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and by calling them stored in the memory 120. The data performs various functions and processing data of the first client 1800, thereby performing overall monitoring of the mobile phone. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
第一用户端1800还包括给各个部件供电的电源190(比如电池),优选的, 电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The first client 1800 also includes a power source 190 (such as a battery) that supplies power to the various components, preferably, The power supply can be logically coupled to the processor 180 through the power management system to manage functions such as charging, discharging, and power management through the power management system. Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
尽管未示出,第一用户端1800还可以包括摄像头、蓝牙模块等,在此不再赘述。在本实施例中,第一用户端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含的用于进行以下方法的指令:Although not shown, the first user terminal 1800 may further include a camera, a Bluetooth module, and the like, and details are not described herein again. In this embodiment, the first client further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to execute the one or more by one or more processors Instructions for more than one program to perform the following methods:
第一用户端接收目标数据的共享指令,将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。The first user end receives the sharing instruction of the target data, and carries the access related information of the target data in the sharing request and sends the information to the background server, so that the background server determines the data content of the network segment where the first user terminal is located. The shared pool is set up, and the access related information of the target data to be shared is put into the data content sharing pool of the established network segment where the first user is located.
可选的,所述第一用户端将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器之后,还包括:Optionally, after the first user end carries the access related information of the target data in the sharing request and sends the information to the backend server, the first user terminal further includes:
所述第一用户端向所述后台服务器发起所述第一用户端所在网段的数据内容共享池的建立请求,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。The first user end initiates a request for establishing a data content sharing pool of the network segment where the first user terminal is located, so that the background server determines the data content of the network segment where the first user terminal is located. If the shared pool is established, returning an instruction that cannot be repeatedly established to the first user, and performing access related information of the target data to be shared into the data content of the established network segment where the first user is located a step of sharing a pool, if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, establishing a data content sharing pool of the network segment according to the establishment request, and the shared content to be shared The access related information of the target data is placed in the established data content sharing pool.
可选的,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,所述方法还包括:Optionally, if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the method further includes:
所述第一用户端接收所述后台服务器发送的密码设置请求;Receiving, by the first user end, a password setting request sent by the background server;
所述第一用户端显示密码设置提示;The first user terminal displays a password setting prompt;
当接收到密码设置指令时,所述第一用户端向所述后台服务器发送用户输入的待设置密码,以使所述后台服务器将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。When the password setting instruction is received, the first user sends the password to be set by the user to the background server, so that the background server stores the password to be set as the network segment where the first user is located. The access password for the data content sharing pool.
或者,在本实施例中,第一用户端包括存储器,以及一个或者一个以上的 程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含的用于进行以下方法的指令:Or, in this embodiment, the first user end includes a memory, and one or more A program, wherein one or more programs are stored in a memory, and configured to execute, by one or more processors, instructions included in the one or more programs for performing the following methods:
接收目标数据的共享指令,将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。Receiving the sharing instruction of the target data, carrying the access related information of the target data in the sharing request, and sending the information to the background server, so that the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established. And accessing the information related to the target data to be shared into the data content sharing pool of the network segment where the first user end is located.
可选的,所述将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器之后,还包括:Optionally, after the information related to the access of the target data is sent to the backend server in the sharing request, the method further includes:
向所述后台服务器发起所述第一用户端所在网段的数据内容共享池的建立请求,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。Initiating a request for establishing a data content sharing pool of the network segment where the first user terminal is located, so that the background server determines that the data content sharing pool of the network segment where the first user terminal is located is established. Returning, to the first user end, an instruction that cannot be repeatedly established, and performing the step of placing the access related information of the target data to be shared into the data content sharing pool of the network segment where the first user end is located, where If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is established. Put in the established data content sharing pool.
可选的,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,所述方法还包括:Optionally, if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the method further includes:
接收所述后台服务器发送的密码设置请求;Receiving a password setting request sent by the background server;
显示密码设置提示;Display password setting prompts;
当接收到密码设置指令时,向所述后台服务器发送用户输入的待设置密码,以使所述后台服务器将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。When the password setting instruction is received, the password to be set by the user is sent to the background server, so that the background server stores the password to be set as the data content sharing pool of the network segment where the first user end is located. Access password.
本发明实施例中,第一用户端接收目标数据的共享指令,将目标数据的访问相关信息携带在共享请求中发送至后台服务器,后台服务器如果判定第一用户端所在网段的数据内容共享池已建立,则将要分享的目标数据的访问相关信息放入已建立的第一用户端所在网段的数据内容共享池,这样,待分享的目标数据的访问相关信息可以放入数据内容共享池中,其他用户可以通过数据内容共享池来浏览共享的数据,数据共享的过程中无需进行账号登录,从而可以提高进行数据共享的效率。 In the embodiment of the present invention, the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
图18是本发明实施例提供的后台服务器的结构示意图。该后台服务器1900可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)1922(例如,一个或一个以上处理器)和存储器1932,一个或一个以上存储应用程序1942或数据1944的存储介质1930(例如一个或一个以上海量存储设备)。其中,存储器1932和存储介质1930可以是短暂存储或持久存储。存储在存储介质1930的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对后台服务器中的一系列指令操作。更进一步地,中央处理器1922可以设置为与存储介质1930通信,在后台服务器1900上执行存储介质1930中的一系列指令操作。FIG. 18 is a schematic structural diagram of a background server according to an embodiment of the present invention. The background server 1900 can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 1922 (eg, one or more processors) and memory 1932, one or More than one storage medium 1930 storing the application 1942 or data 1944 (eg, one or one storage device in Shanghai). Among them, the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage. The program stored on storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations in a background server. Still further, central processor 1922 can be configured to communicate with storage medium 1930, executing a series of instruction operations in storage medium 1930 on background server 1900.
后台服务器1900还可以包括一个或一个以上电源1926,一个或一个以上有线或无线网络接口1950,一个或一个以上输入输出接口1958,一个或一个以上键盘1956,和/或,一个或一个以上操作系统1941,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。 Backend server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems. 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
后台服务器1900可以包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:The backend server 1900 can include a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one or more programs by one or more processors for performing Instructions for the following operations:
后台服务器接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求;The background server receives the sharing request sent by the first user end and carries the access related information of the target data;
所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the established network segment where the first user terminal is located. Data content sharing pool.
可选的,还包括:Optionally, it also includes:
所述后台服务器接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令;The background server receives a shared data query instruction corresponding to the target data sent by the second user end that is in the same network segment as the first user end;
所述后台服务器根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。Obtaining, by the background server, the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, acquiring the target data according to the access related information, and feeding back the target data to the Said second client.
可选的,后台服务器接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求之后还包括:Optionally, after the background server receives the sharing request sent by the first user end and carries the access related information of the target data, the background server further includes:
所述后台服务器接收所述第一用户端发送的所在网段的数据内容共享池的建立请求; Receiving, by the background server, a request for establishing a data content sharing pool of the network segment where the first user end is sent;
所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤;If the background server determines that the data content sharing pool of the network segment where the first user end is located, returns an instruction that cannot be repeatedly established to the first user end, and performs access related to the target data to be shared. Step of inserting information into the data content sharing pool of the network segment where the first user end is located;
所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access of the target data to be shared is related. The information is placed in the established data content sharing pool.
可选的,所述方法还包括:Optionally, the method further includes:
所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established, and the access related information of the target data to be shared is put into the established Data content sharing pool.
可选的,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,所述方法还包括:Optionally, if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the method further includes:
所述后台服务器向所述第一用户端发送密码设置请求,以使所述第一用户端显示密码设置提示,当接收到密码设置指令时,所述第一用户端向所述后台服务器发送用户输入的待设置密码;The background server sends a password setting request to the first user end, so that the first user terminal displays a password setting prompt, and when receiving the password setting instruction, the first user terminal sends a user to the background server. Enter the password to be set;
所述后台服务器接收所述第一用户端发送的用户输入的待设置密码,将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。The background server receives the password to be set by the user sent by the first user, and stores the password to be set as the access password of the data content sharing pool of the network segment where the first user is located.
可选的,所述方法还包括:Optionally, the method further includes:
所述后台服务器接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令,所述共享数据查询指令中携带有第一密码;The background server receives a shared data query instruction corresponding to the target data sent by the second user end that is in the same network segment as the first user end, where the shared data query instruction carries a first password;
所述后台服务器根据所述访问密码和所述第一密码,对所述共享数据查询指令进行访问权限验证,如验证通过,则根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。The background server performs access authority verification on the shared data query instruction according to the access password and the first password, and if the verification passes, obtains the data content sharing pool of the corresponding network segment according to the shared data query instruction. The access related information of the target data, the target data is obtained according to the access related information, and the target data is fed back to the second user end.
或者,在本实施例中,后台服务器包括存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含的用于进行以下方法的指令:Alternatively, in the present embodiment, the background server includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one or more by one or more processors The instructions contained in the program for the following methods:
接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求; Receiving a sharing request of the access related information that is carried by the first user end and carrying the target data;
如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。If it is determined that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the data content sharing pool of the network segment where the first user terminal is located. .
可选的,还包括:Optionally, it also includes:
接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令;Receiving, by the second user end that is in the same network segment as the first user end, a shared data query instruction corresponding to the target data;
根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。Acquiring the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, acquiring the target data according to the access related information, and feeding back the target data to the second user end.
可选的,所述接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求之后还包括:Optionally, after receiving the sharing request that is sent by the first user end and carrying the access related information of the target data, the method further includes:
接收所述第一用户端发送的所在网段的数据内容共享池的建立请求;Receiving a request for establishing a data content sharing pool of the network segment where the first user sends the network segment;
如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤;If it is determined that the data content sharing pool of the network segment where the first user terminal is located has been established, returning an instruction that cannot be repeatedly established to the first user terminal, and performing access related information of the target data to be shared The step of establishing a data content sharing pool of the network segment where the first user end is located;
如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。If it is determined that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is put into establishment. Data content sharing pool.
可选的,还包括:Optionally, it also includes:
如果判定所述第一用户端所在网段的数据内容共享池未建立,则建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。If it is determined that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established, and the access related information of the target data to be shared is put into the established data content sharing pool. .
可选的,所述如果判定所述第一用户端所在网段的数据内容共享池未建立,还包括:Optionally, if the data content sharing pool of the network segment where the first user end is located is not established, the method further includes:
向所述第一用户端发送密码设置请求,以使所述第一用户端显示密码设置提示,当接收到密码设置指令时,所述第一用户端向所述后台服务器发送用户输入的待设置密码;Sending a password setting request to the first user end, so that the first user terminal displays a password setting prompt, and when receiving the password setting instruction, the first user terminal sends a user input to be set to the background server. password;
接收所述第一用户端发送的用户输入的待设置密码,将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。Receiving a password to be set by the user sent by the first user end, and storing the password to be set as an access password of the data content sharing pool of the network segment where the first user end is located.
可选的,还包括:Optionally, it also includes:
接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标 数据的共享数据查询指令,所述共享数据查询指令中携带有第一密码;Receiving, by the second user end that is in the same network segment as the first user end, the target that is sent by the second user end a shared data query instruction of the data, where the shared data query instruction carries a first password;
根据所述访问密码和所述第一密码,对所述共享数据查询指令进行访问权限验证,如验证通过,则根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。And performing the access authority verification on the shared data query instruction according to the access password and the first password, and if the verification is passed, acquiring the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction. Accessing related information, acquiring the target data according to the access related information, and feeding back the target data to the second user end.
本发明实施例中,第一用户端接收目标数据的共享指令,将目标数据的访问相关信息携带在共享请求中发送至后台服务器,后台服务器如果判定第一用户端所在网段的数据内容共享池已建立,则将要分享的目标数据的访问相关信息放入已建立的第一用户端所在网段的数据内容共享池,这样,待分享的目标数据的访问相关信息可以放入数据内容共享池中,其他用户可以通过数据内容共享池来浏览共享的数据,数据共享的过程中无需进行账号登录,从而可以提高进行数据共享的效率。In the embodiment of the present invention, the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
基于相同的技术构思,本发明实施例还提供了一种数据共享系统,所述系统包括第一用户端和后台服务器,其中:Based on the same technical concept, an embodiment of the present invention further provides a data sharing system, where the system includes a first user end and a background server, where:
所述第一用户端,用于接收目标数据的共享分享指令,将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器;The first user end is configured to receive a sharing sharing instruction of the target data, and carry the access related information of the target data in a sharing request and send the information to the background server;
所述后台服务器,用于接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求;所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要分享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。The background server is configured to receive a sharing request that is sent by the first user end and that carries the information related to the target data; if the background server determines that the data content sharing pool of the network segment where the first user end is located, And the access related information of the target data to be shared is placed in the data content sharing pool of the network segment where the first user end is located.
可选的,所述后台服务器接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令;Optionally, the background server receives a shared data query instruction corresponding to the target data sent by the second user end that is in the same network segment as the first user end;
所述后台服务器根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。Obtaining, by the background server, the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, acquiring the target data according to the access related information, and feeding back the target data to the Said second client.
可选的,所述第一用户端,用于向所述后台服务器发起所述第一用户端所在网段的数据内容共享池的建立请求;Optionally, the first user end is configured to initiate, to the background server, a request for establishing a data content sharing pool of the network segment where the first user terminal is located;
所述后台服务器,用于如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要分享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据 内容共享池的步骤;所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要分享的所述目标数据的访问相关信息放入建立的数据内容共享池。The background server is configured to: if it is determined that the data content sharing pool of the network segment where the first user terminal is located, return an instruction that cannot be repeatedly established to the first user end, and execute the target data to be shared The access related information is put into the data of the network segment where the first user end is established. The step of the content sharing pool; if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the shared content pool is to be shared. The access related information of the target data is placed in the established data content sharing pool.
可选的,所述后台服务器,还用于如果判定所述第一用户端所在网段的数据内容共享池未建立,则建立所述网段的数据内容共享池,将要分享的所述目标数据的访问相关信息放入建立的数据内容共享池。Optionally, the background server is further configured to: if it is determined that the data content sharing pool of the network segment where the first user terminal is located is not established, establish a data content sharing pool of the network segment, and the target data to be shared The access related information is placed in the established data content sharing pool.
可选的,所述后台服务器,还用于向所述第一用户端发送密码设置请求;Optionally, the background server is further configured to send a password setting request to the first user end;
所述第一用户端,还用于显示密码设置提示,当接收到密码设置指令时,向所述后台服务器发送用户输入的待设置密码;The first user end is further configured to display a password setting prompt, and when receiving the password setting instruction, send the password to be set input by the user to the background server;
所述后台服务器,还用于将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。The background server is further configured to store the password to be set as an access password of a data content sharing pool of the network segment where the first user end is located.
可选的,所述后台服务器,还用于接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令,所述共享数据查询指令中携带有第一密码;Optionally, the background server is further configured to receive a shared data query instruction corresponding to the target data sent by the second user end that is in the same network segment as the first user end, where the shared data query instruction is carried Have the first password;
所述后台服务器,还用于根据所述访问密码和所述第一密码,对所述共享数据查询指令进行访问权限验证,如验证通过,则根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。The background server is further configured to perform access authority verification on the shared data query instruction according to the access password and the first password, and if the verification passes, the data from the corresponding network segment is in accordance with the shared data query instruction. The content sharing pool acquires the access related information of the target data, acquires the target data according to the access related information, and feeds the target data to the second user end.
本发明实施例中,第一用户端接收目标数据的共享指令,将目标数据的访问相关信息携带在共享请求中发送至后台服务器,后台服务器如果判定第一用户端所在网段的数据内容共享池已建立,则将要分享的目标数据的访问相关信息放入已建立的第一用户端所在网段的数据内容共享池,这样,待分享的目标数据的访问相关信息可以放入数据内容共享池中,其他用户可以通过数据内容共享池来浏览共享的数据,数据共享的过程中无需进行账号登录,从而可以提高进行数据共享的效率。In the embodiment of the present invention, the first user end receives the sharing instruction of the target data, and the access related information of the target data is carried in the sharing request and sent to the background server, and the background server determines the data content sharing pool of the network segment where the first user terminal is located. If the information about the target data to be shared is added, the information about the access to the shared data is placed in the data content sharing pool of the network segment where the first user is located, so that the information related to the target data to be shared can be placed in the data content sharing pool. Other users can browse the shared data through the data content sharing pool, and the account sharing process is not required in the process of data sharing, thereby improving the efficiency of data sharing.
需要说明的是,本实施例上述方案中涉及的浏览器还可以替换为网盘等具有文件分享功能的其他接入平台。It should be noted that the browser involved in the foregoing solution in this embodiment may also be replaced with another access platform having a file sharing function, such as a network disk.
还需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者 装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should also be noted that, as used herein, the terms "including", "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, or The device includes not only those elements, but also other elements not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。具体地,图10至图13所述的系统/浏览器/服务器所对应的程序指令可以存储在终端或服务器或计算机的可读存储介质中,并被其中的至少一个处理器执行,以实现图1至图9所述的数据共享方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention. Specifically, the program instructions corresponding to the system/browser/server described in FIG. 10 to FIG. 13 may be stored in a terminal or a readable storage medium of a server or a computer, and executed by at least one of the processors to implement the map. 1 to the data sharing method described in FIG.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。 The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or process changes made by the specification and the drawings of the present invention may be directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (24)

  1. 一种数据共享方法,其特征在于,包括:A data sharing method, comprising:
    第一用户端接收目标数据的共享指令,将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器;The first user end receives the sharing instruction of the target data, and carries the access related information of the target data in the sharing request and sends the information to the background server;
    所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the established network segment where the first user terminal is located. Data content sharing pool.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    与所述第一用户端处于同一网段的第二用户端将对应所述目标数据的共享数据查询指令发送至所述后台服务器;Transmitting, by the second user end that is in the same network segment as the first user end, a shared data query instruction corresponding to the target data to the background server;
    所述后台服务器根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。Obtaining, by the background server, the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, acquiring the target data according to the access related information, and feeding back the target data to the Said second client.
  3. 根据权利要求1所述的方法,其特征在于,所述第一用户端将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器之后,还包括:The method according to claim 1, wherein the first user terminal carries the access related information of the target data in a sharing request and sends the information to the backend server, and further includes:
    所述第一用户端向所述后台服务器发起所述第一用户端所在网段的数据内容共享池的建立请求;The first user end initiates a request for establishing a data content sharing pool of the network segment where the first user terminal is located to the background server;
    所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤;If the background server determines that the data content sharing pool of the network segment where the first user end is located, returns an instruction that cannot be repeatedly established to the first user end, and performs access related to the target data to be shared. Step of inserting information into the data content sharing pool of the network segment where the first user end is located;
    所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access of the target data to be shared is related. The information is placed in the established data content sharing pool.
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关 信息放入建立的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, establishing a data content sharing pool of the network segment, and accessing the target data to be shared The information is placed in the established data content sharing pool.
  5. 根据权利要求3或4所述的方法,其特征在于,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,所述方法还包括:The method according to claim 3 or 4, wherein, if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the method further includes:
    所述后台服务器向所述第一用户端发送密码设置请求;The background server sends a password setting request to the first user end;
    所述第一用户端显示密码设置提示;The first user terminal displays a password setting prompt;
    当接收到密码设置指令时,所述第一用户端向所述后台服务器发送用户输入的待设置密码;When receiving the password setting instruction, the first user sends the password to be set input by the user to the background server;
    所述后台服务器将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。The background server stores the password to be set as an access password of the data content sharing pool of the network segment where the first user end is located.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    与所述第一用户端处于同一网段的第二用户端将对应所述目标数据的共享数据查询指令发送至所述后台服务器,所述共享数据查询指令中携带有第一密码;And the second user end that is in the same network segment as the first user end sends a shared data query instruction corresponding to the target data to the background server, where the shared data query instruction carries a first password;
    根据所述访问密码和所述第一密码,对所述共享数据查询指令进行访问权限验证,如验证通过,则所述后台服务器根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据反馈给所述第二用户端。And performing the access authority verification on the shared data query instruction according to the access password and the first password. If the verification is passed, the background server obtains the data content sharing pool of the corresponding network segment according to the shared data query instruction. The access related information of the target data is obtained, and the target data is obtained and fed back to the second user end according to the access related information.
  7. 一种数据共享方法,其特征在于,包括:A data sharing method, comprising:
    第一用户端接收目标数据的共享指令,将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。The first user end receives the sharing instruction of the target data, and carries the access related information of the target data in the sharing request and sends the information to the background server, so that the background server determines the data content of the network segment where the first user terminal is located. The shared pool is set up, and the access related information of the target data to be shared is put into the data content sharing pool of the established network segment where the first user is located.
  8. 根据权利要求7所述的方法,其特征在于,所述第一用户端将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器之后,还包括:The method according to claim 7, wherein the first user terminal carries the access related information of the target data in a sharing request and sends the information to the backend server, and further includes:
    所述第一用户端向所述后台服务器发起所述第一用户端所在网段的数据内容共享池的建立请求,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并 执行将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。The first user end initiates a request for establishing a data content sharing pool of the network segment where the first user terminal is located, so that the background server determines the data content of the network segment where the first user terminal is located. If the shared pool is established, returning an instruction that cannot be repeatedly established to the first user, and Performing the step of performing the access-related information of the target data to be shared in the data content sharing pool of the network segment where the first user terminal is located, and determining, by the background server, the network segment where the first user terminal is located If the data content sharing pool is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is put into the established data content sharing pool.
  9. 根据权利要求8所述的方法,其特征在于,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,所述方法还包括:The method according to claim 8, wherein the method further comprises: if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the method further comprises:
    所述第一用户端接收所述后台服务器发送的密码设置请求;Receiving, by the first user end, a password setting request sent by the background server;
    所述第一用户端显示密码设置提示;The first user terminal displays a password setting prompt;
    当接收到密码设置指令时,所述第一用户端向所述后台服务器发送用户输入的待设置密码,以使所述后台服务器将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。When the password setting instruction is received, the first user sends the password to be set by the user to the background server, so that the background server stores the password to be set as the network segment where the first user is located. The access password for the data content sharing pool.
  10. 一种数据共享方法,其特征在于,包括:A data sharing method, comprising:
    后台服务器接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求;The background server receives the sharing request sent by the first user end and carries the access related information of the target data;
    所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the established network segment where the first user terminal is located. Data content sharing pool.
  11. 根据权利要求10所述的方法,其特征在于,还包括:The method of claim 10, further comprising:
    所述后台服务器接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令;The background server receives a shared data query instruction corresponding to the target data sent by the second user end that is in the same network segment as the first user end;
    所述后台服务器根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。Obtaining, by the background server, the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, acquiring the target data according to the access related information, and feeding back the target data to the Said second client.
  12. 根据权利要求10所述的方法,其特征在于,后台服务器接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求之后还包括:The method according to claim 10, wherein the background server further comprises: after receiving, by the first client, the sharing request of the access related information that carries the target data,
    所述后台服务器接收所述第一用户端发送的所在网段的数据内容共享池的 建立请求;Receiving, by the background server, a data content sharing pool of the network segment where the first user end is sent Establish a request;
    所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤;If the background server determines that the data content sharing pool of the network segment where the first user end is located, returns an instruction that cannot be repeatedly established to the first user end, and performs access related to the target data to be shared. Step of inserting information into the data content sharing pool of the network segment where the first user end is located;
    所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access of the target data to be shared is related. The information is placed in the established data content sharing pool.
  13. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method of claim 10, wherein the method further comprises:
    所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established, and the access related information of the target data to be shared is put into the established Data content sharing pool.
  14. 根据权利要求12或13所述的方法,其特征在于,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,所述方法还包括:The method according to claim 12 or 13, wherein if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the method further includes:
    所述后台服务器向所述第一用户端发送密码设置请求,以使所述第一用户端显示密码设置提示,当接收到密码设置指令时,所述第一用户端向所述后台服务器发送用户输入的待设置密码;The background server sends a password setting request to the first user end, so that the first user terminal displays a password setting prompt, and when receiving the password setting instruction, the first user terminal sends a user to the background server. Enter the password to be set;
    所述后台服务器接收所述第一用户端发送的用户输入的待设置密码,将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。The background server receives the password to be set by the user sent by the first user, and stores the password to be set as the access password of the data content sharing pool of the network segment where the first user is located.
  15. 根据权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13 wherein the method further comprises:
    所述后台服务器接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令,所述共享数据查询指令中携带有第一密码;The background server receives a shared data query instruction corresponding to the target data sent by the second user end that is in the same network segment as the first user end, where the shared data query instruction carries a first password;
    所述后台服务器根据所述访问密码和所述第一密码,对所述共享数据查询指令进行访问权限验证,如验证通过,则根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。 The background server performs access authority verification on the shared data query instruction according to the access password and the first password, and if the verification passes, obtains the data content sharing pool of the corresponding network segment according to the shared data query instruction. The access related information of the target data, the target data is obtained according to the access related information, and the target data is fed back to the second user end.
  16. 一种第一用户端,其特征在于,所述第一用户端包括存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含的用于进行以下方法的指令:A first client, wherein the first client comprises a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be comprised by one or more processors Executing instructions included in the one or more programs for performing the following methods:
    接收目标数据的共享指令,将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。Receiving the sharing instruction of the target data, carrying the access related information of the target data in the sharing request, and sending the information to the background server, so that the background server determines that the data content sharing pool of the network segment where the first user terminal is located has been established. And accessing the information related to the target data to be shared into the data content sharing pool of the network segment where the first user end is located.
  17. 根据权利要求16所述的第一用户端,其特征在于,所述将所述目标数据的访问相关信息携带在共享请求中发送至后台服务器之后,还包括:The first user terminal according to claim 16, wherein the carrying the information related to the target data to be sent to the background server in the sharing request, further comprising:
    向所述后台服务器发起所述第一用户端所在网段的数据内容共享池的建立请求,以使所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。Initiating a request for establishing a data content sharing pool of the network segment where the first user terminal is located, so that the background server determines that the data content sharing pool of the network segment where the first user terminal is located is established. Returning, to the first user end, an instruction that cannot be repeatedly established, and performing the step of placing the access related information of the target data to be shared into the data content sharing pool of the network segment where the first user end is located, where If the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is established. Put in the established data content sharing pool.
  18. 根据权利要求17所述的第一用户端,其特征在于,所述后台服务器如果判定所述第一用户端所在网段的数据内容共享池未建立,所述方法还包括:The first user terminal according to claim 17, wherein the method further comprises: if the background server determines that the data content sharing pool of the network segment where the first user terminal is located is not established, the method further includes:
    接收所述后台服务器发送的密码设置请求;Receiving a password setting request sent by the background server;
    显示密码设置提示;Display password setting prompts;
    当接收到密码设置指令时,向所述后台服务器发送用户输入的待设置密码,以使所述后台服务器将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。When the password setting instruction is received, the password to be set by the user is sent to the background server, so that the background server stores the password to be set as the data content sharing pool of the network segment where the first user end is located. Access password.
  19. 一种后台服务器,其特征在于,所述后台服务器包括存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含的用于进行以下方法的指令: A backend server, characterized in that the background server comprises a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one by one or more processors Or an instruction included in more than one program to perform the following methods:
    接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求;Receiving a sharing request of the access related information that is carried by the first user end and carrying the target data;
    如果判定所述第一用户端所在网段的数据内容共享池已建立,则将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池。If it is determined that the data content sharing pool of the network segment where the first user terminal is located has been established, the access related information of the target data to be shared is placed in the data content sharing pool of the network segment where the first user terminal is located. .
  20. 根据权利要求19所述的后台服务器,其特征在于,还包括:The background server according to claim 19, further comprising:
    接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令;Receiving, by the second user end that is in the same network segment as the first user end, a shared data query instruction corresponding to the target data;
    根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。Acquiring the access related information of the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction, acquiring the target data according to the access related information, and feeding back the target data to the second user end.
  21. 根据权利要求19所述的后台服务器,其特征在于,所述接收所第一用户端发送的携带有目标数据的访问相关信息的共享请求之后还包括:The background server according to claim 19, wherein the receiving the sharing request of the access related information that carries the target data sent by the first user terminal further comprises:
    接收所述第一用户端发送的所在网段的数据内容共享池的建立请求;Receiving a request for establishing a data content sharing pool of the network segment where the first user sends the network segment;
    如果判定所述第一用户端所在网段的数据内容共享池已建立,则向所述第一用户端返回不能重复建立的指令,并执行将要共享的所述目标数据的访问相关信息放入已建立的所述第一用户端所在网段的数据内容共享池的步骤;If it is determined that the data content sharing pool of the network segment where the first user terminal is located has been established, returning an instruction that cannot be repeatedly established to the first user terminal, and performing access related information of the target data to be shared The step of establishing a data content sharing pool of the network segment where the first user end is located;
    如果判定所述第一用户端所在网段的数据内容共享池未建立,则根据所述建立请求建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。If it is determined that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established according to the establishment request, and the access related information of the target data to be shared is put into establishment. Data content sharing pool.
  22. 根据权利要求19所述的后台服务器,其特征在于,还包括:The background server according to claim 19, further comprising:
    如果判定所述第一用户端所在网段的数据内容共享池未建立,则建立所述网段的数据内容共享池,将要共享的所述目标数据的访问相关信息放入建立的数据内容共享池。If it is determined that the data content sharing pool of the network segment where the first user terminal is located is not established, the data content sharing pool of the network segment is established, and the access related information of the target data to be shared is put into the established data content sharing pool. .
  23. 根据权利要求20或21所述的后台服务器,其特征在于,所述如果判定所述第一用户端所在网段的数据内容共享池未建立,还包括:The background server according to claim 20 or claim 21, wherein if the data content sharing pool of the network segment where the first user terminal is located is not established, the method further includes:
    向所述第一用户端发送密码设置请求,以使所述第一用户端显示密码设置提示,并当接收到密码设置指令时,向所述后台服务器发送用户输入的待设置 密码;Sending a password setting request to the first user end, so that the first user terminal displays a password setting prompt, and when receiving the password setting instruction, sending the user input to be set to the background server password;
    接收所述第一用户端发送的用户输入的待设置密码,将所述待设置密码存储为所述第一用户端所在网段的数据内容共享池的访问密码。Receiving a password to be set by the user sent by the first user end, and storing the password to be set as an access password of the data content sharing pool of the network segment where the first user end is located.
  24. 根据权利要求22所述的后台服务器,其特征在于,还包括:The background server according to claim 22, further comprising:
    接收与所述第一用户端处于同一网段的第二用户端发送的对应所述目标数据的共享数据查询指令,所述共享数据查询指令中携带有第一密码;Receiving, by the second user end that is in the same network segment as the first user end, a shared data query instruction corresponding to the target data, where the shared data query instruction carries a first password;
    根据所述访问密码和所述第一密码,对所述共享数据查询指令进行访问权限验证,如验证通过,则根据所述共享数据查询指令从对应网段的数据内容共享池获取所述目标数据的访问相关信息,根据所述访问相关信息获取所述目标数据,将所述目标数据反馈给所述第二用户端。 And performing the access authority verification on the shared data query instruction according to the access password and the first password, and if the verification is passed, acquiring the target data from the data content sharing pool of the corresponding network segment according to the shared data query instruction. Accessing related information, acquiring the target data according to the access related information, and feeding back the target data to the second user end.
PCT/CN2014/095704 2013-12-30 2014-12-30 Data sharing method, system, user end and background server WO2015101302A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310743981.4 2013-12-30
CN201310743981.4A CN104750723B (en) 2013-12-30 2013-12-30 file sharing method, system, browser and server

Publications (1)

Publication Number Publication Date
WO2015101302A1 true WO2015101302A1 (en) 2015-07-09

Family

ID=53493252

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095704 WO2015101302A1 (en) 2013-12-30 2014-12-30 Data sharing method, system, user end and background server

Country Status (2)

Country Link
CN (1) CN104750723B (en)
WO (1) WO2015101302A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412556A (en) * 2022-08-19 2022-11-29 猎上网络科技(上海)有限公司 Data sharing method based on enterprise cloud office network
WO2024017271A1 (en) * 2022-07-21 2024-01-25 北京字跳网络技术有限公司 Method and apparatus for sharing content space, and electronic device and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306527A (en) * 2015-09-14 2016-02-03 联想(北京)有限公司 Data sharing method and device
CN109327418A (en) * 2017-07-31 2019-02-12 平安科技(深圳)有限公司 Data sharing method, device and computer readable storage medium
CN109194728A (en) * 2018-08-16 2019-01-11 常熟市顺网网络技术服务有限公司 A kind of system and method for achievable intranet and extranet file-sharing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009001140A1 (en) * 2007-06-28 2008-12-31 Taptu Ltd Sharing mobile search results
CN102833180A (en) * 2011-06-17 2012-12-19 腾讯科技(北京)有限公司 Method and system for sharing microblog messages
CN103002015A (en) * 2012-11-13 2013-03-27 广东欧珀移动通信有限公司 Method and system for close-range music sharing
CN103108051A (en) * 2013-02-27 2013-05-15 上海够快网络科技有限公司 Synchronous file sharing method from cloud server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009001140A1 (en) * 2007-06-28 2008-12-31 Taptu Ltd Sharing mobile search results
CN102833180A (en) * 2011-06-17 2012-12-19 腾讯科技(北京)有限公司 Method and system for sharing microblog messages
CN103002015A (en) * 2012-11-13 2013-03-27 广东欧珀移动通信有限公司 Method and system for close-range music sharing
CN103108051A (en) * 2013-02-27 2013-05-15 上海够快网络科技有限公司 Synchronous file sharing method from cloud server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024017271A1 (en) * 2022-07-21 2024-01-25 北京字跳网络技术有限公司 Method and apparatus for sharing content space, and electronic device and storage medium
CN115412556A (en) * 2022-08-19 2022-11-29 猎上网络科技(上海)有限公司 Data sharing method based on enterprise cloud office network

Also Published As

Publication number Publication date
CN104750723B (en) 2018-12-07
CN104750723A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
US11057376B2 (en) Method, apparatus, and system for controlling intelligent device, and storage medium
US9565247B2 (en) Method and system of sharing information in a social networking application
RU2608948C2 (en) Method, device and system for access to router controlling
JP6467526B2 (en) Communication message transmission method and wearable device
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
US10084729B2 (en) Apparatuses and methods for web page sharing
WO2016150270A1 (en) Method and apparatus for processing group session message
US10993090B2 (en) Network access method, apparatus, and system
WO2014206143A1 (en) Method, apparatus and device for displaying number of unread messages
WO2015131790A1 (en) Network connection method, application authentication server, terminal and router
WO2020164526A1 (en) Control method for nodes in distributed system and related device
WO2015143900A1 (en) Method, apparatus and system for data sharing in network conference
US9686819B2 (en) Methods, devices and systems for router access control
WO2015101302A1 (en) Data sharing method, system, user end and background server
WO2014206037A1 (en) Apparatuses and methods for web page sharing
TW201502986A (en) Apparatus, system and method of showing notifications of web browser application
WO2014166263A1 (en) Communication method, system, server and client device for user-interactive system
WO2019057119A1 (en) Mobile terminal-based wifi hotspot connection method, mobile terminal and storage medium
TWI575458B (en) Method, device and system for providing service based on application
WO2019095156A1 (en) Information search method, terminal, network device, and system
WO2018161788A1 (en) Multimedia data sharing method and device
WO2015062234A1 (en) Mobile terminal resource processing method, device and apparatus
WO2015101300A1 (en) Method, device, and system for establishing temporary channel
WO2015062240A1 (en) Application installation method, apparatus and device
US9592442B2 (en) Communication method, system, server and client device for user-interactive system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14877286

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC ( EPO FORM 1205A DATED 17/11/2016 )

122 Ep: pct application non-entry in european phase

Ref document number: 14877286

Country of ref document: EP

Kind code of ref document: A1