WO2019080452A1 - Photo distribution method and system - Google Patents
Photo distribution method and systemInfo
- Publication number
- WO2019080452A1 WO2019080452A1 PCT/CN2018/081231 CN2018081231W WO2019080452A1 WO 2019080452 A1 WO2019080452 A1 WO 2019080452A1 CN 2018081231 W CN2018081231 W CN 2018081231W WO 2019080452 A1 WO2019080452 A1 WO 2019080452A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- client
- private cloud
- storage device
- photo
- module
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Definitions
- the invention relates to a photo distribution method and system, and belongs to the technical field of data distribution.
- the patent application with the application number 201210366179.3 discloses a method and a device for automatically distributing a media file, which automatically matches a face in a media file with a face template in a friend library according to a matching result and a user instruction. Send it to a friend's email address, Weibo, WeChat, SNS community website or send it to a friend's mobile phone via mobile phone MMS.
- this technology is not suitable for marathon games (there are no face templates for friends and there are many photographers), and there are still file leaks when sending files to email, Weibo, WeChat, SNS community websites.
- the risk of loss the file is sent to the phone via mobile phone MMS, the cost is very high. Therefore, improvements are still needed.
- a photo distribution method comprising the following steps:
- the private cloud determines whether the contestant has a storage device bound to the client account (which may be the mobile phone number provided when the contestant registers);
- step S1 when the photos of all the contestants are acquired, the photos are packaged into a streaming medium for transmission using the RTSP protocol, thereby making the transmission efficient and stable.
- step S1 comprises the following steps:
- the designated device (the designated device may be an application system server or a designated storage device, where the registration system server or the specified storage device may have a WIFI module, a network module, an RJ45 interface, a USB interface, and an SD card slot.
- the designated device may be an application system server or a designated storage device, where the registration system server or the specified storage device may have a WIFI module, a network module, an RJ45 interface, a USB interface, and an SD card slot.
- One or several directly obtain or obtain a photo taken by each photographer through a private cloud; the specified device runs a private cloud platform;
- step S11 when the designated device directly acquires the photos taken by the respective photographers, the protocol of the cameras of different models is stored in the designated device; by recognizing the model of the camera, the cameras with different models are passed through the C/S. Mode or P2P mode for universal connection, making the interface of the storage device universal, and can connect any type of camera.
- step S11 when the client of the photographer is in the same local area network as the designated device, step S11 includes: the photographer's client connects with the designated device, and accesses the designated device according to the IP address of the designated device and shoots the image.
- the photo is sent to the designated device; the photographer's client runs a private cloud platform.
- step S11 when the client of the photographer is in a different network from the designated device, step S11 includes:
- the photographer's client logs in the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform;
- the designated device accesses the private cloud server through the private cloud platform by using the external network, and passes the domain name through the private cloud.
- the platform is sent to the private cloud server; the photographer's client runs a private cloud platform;
- the private cloud server feeds back the domain name of the specified device to the client of the photographer according to the corresponding binding relationship between the client user account of the photographer and the specified device ID.
- the client of the photographer accesses the designated device according to the domain name of the specified device, and performs remote storage of the photo.
- the step S112 includes: establishing a plurality of independent accounts by using the LDAP technology and respectively binding the IDs of the specified devices (while assigning independent storage spaces corresponding to the respective independent accounts in the designated device), the multiple Separate accounts are used as client user accounts for each photographer.
- step S2 the client account of the contestant is bound to the storage device ID by the following method: the client sends a broadcast, and the storage device in the same local area network feeds back its own ID information, and the client The ID information is used to bind the ID of the storage device to the client account; the client has a WIFI module. (Compared to UPNP, etc.) It is possible to search by setting certain fields, the search efficiency is very high, and the interference is less, which improves the binding efficiency.
- the ID of the storage device is transmitted to the client through the NFC module in the storage device, and the client binds the ID of the storage device to the client account after receiving the ID; Enables simple and fast binding between the client and the storage device.
- LDAP technology to establish a plurality of independent accounts and respectively bind to the ID of the storage device, and at the same time, allocate independent storage spaces corresponding to the individual accounts in the storage device; thereby achieving equal sharing of the same storage device by multiple people.
- the invention also includes that when the contestant reads the photos in the storage device, if the client and the storage device are in different networks, the client account is used to log in to the private cloud platform, and the private cloud platform is used to privately
- the cloud server sends a data access request; the storage device uses the external network to send the domain name to the private cloud server through the private cloud platform; the private cloud server associates the corresponding storage device according to the corresponding binding relationship between the user account and the ID information of the storage device.
- the domain name is fed back to the client; the client accesses the storage device through the private cloud platform according to the domain name of the storage device, and performs remote data reading; wherein the client runs a private cloud platform.
- the step S2 further includes: when the client sends a binding request of the user account and the storage device ID through the private cloud platform, the private cloud platform of the storage device determines whether the storage device ID is bound. If the binding has been bound, the binding request is rejected; if it is not bound, the binding request is agreed; after the user account is bound to the storage device ID, the client and the storage device save the binding relationship.
- the private cloud server updates the corresponding binding relationship list of the user account and the storage device ID. Thereby, the illegal access to the data of the competitor's storage device is avoided, and the security of the data is ensured.
- a photo distribution system comprising:
- Photo acquisition and classification module for taking photos and classifying all contestants
- a judging module configured for the private cloud to determine whether the contestant has a storage device bound to an account number (which may be a mobile phone number provided when the contestant registers);
- a sending module configured to send the photo of the contestant to the storage device if the contestant has a storage device bound to the account (if the storage device of the contestant uses the external network to access the private cloud server through the private cloud platform)
- the storage device runs a private cloud platform.
- the photo acquisition and classification module further comprises:
- the photo packaging module is used to collect photos of all contestants and package the photos into streaming media for transmission using the RTSP protocol, thereby making the transmission efficient and stable.
- the photo acquisition and classification module further comprises:
- a protocol storage module configured to: when the specified device directly obtains photos taken by each photographer, specify a protocol in which a camera of a different model is stored in the device;
- the model identification and connection module is used to realize universal connection with different models of cameras through C/S mode or P2P mode by recognizing the camera model.
- the photo acquisition and classification module further includes:
- connection module configured to connect the photographer's client with the designated device when the photographer's client is on the same local area network as the designated device;
- the access and data sending module the client for the photographer accesses the specified device according to the IP address of the specified device and sends the taken photo to the designated device; the photographer's client runs a private cloud platform.
- the photo acquisition and classification module further includes:
- the data storage request sending module is configured to: when the photographer's client and the designated device are in different networks, the photographer's client logs into the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform.
- the photographer's client runs a private cloud platform;
- the device access module is configured to specify that the device accesses the private cloud server through the private cloud platform by using the external network, and sends the domain name to the private cloud server through the private cloud platform;
- the domain name feedback module is used by the private cloud server to feed back the domain name of the specified device to the client of the photographer according to the corresponding binding relationship between the photographer's client user account and the specified device ID;
- the remote storage module the client for the photographer accesses the designated device according to the domain name of the specified device, and performs remote storage of the photo.
- the domain name feedback module further includes:
- the binding relationship establishing module is configured to establish multiple independent accounts by using the LDAP technology and bind the IDs of the specified devices respectively (at the same time, the designated devices may be allocated independent storage spaces corresponding to the respective independent accounts), the multiple Separate accounts are used as client user accounts for each photographer.
- the method further includes: a binding module
- the binding module includes:
- a broadcast sending module configured to send a broadcast by the client
- An ID information feedback module configured to return back to the ID information of the storage device in the same local area network
- the A binding module is configured to bind, by the client, the ID of the storage device to the client account according to the ID information;
- binding module includes:
- the B binding module is configured to transmit the ID of the storage device to the client through the NFC module in the storage device when the client contacts the storage device, and the client stores the ID of the device and the client account after receiving the ID. Bind.
- binding module includes:
- the multi-account binding module is configured to establish multiple independent accounts by using the LDAP technology and bind the IDs of the storage devices respectively;
- a storage space allocation module configured to store, by the device, an independent storage space corresponding to each independent account
- binding module includes:
- the primary account and the sub-account binding module are used to establish a binding relationship between the primary account and the sub-account and the storage device ID.
- the method further includes: a photo reading module
- the photo reading module includes:
- a client remote access module configured to: when the client and the storage device are in different networks, the client uses the account to log in to the private cloud platform, and uses the private cloud platform to send a data access request to the private cloud server;
- a storage device access module configured to use the external network to send the domain name to the private cloud server through the private cloud platform;
- the domain name feedback module is configured to feed back the domain name of the corresponding storage device to the client according to the binding relationship between the user account and the ID information of the storage device;
- the remote photo reading module is configured to perform remote photo reading by the client accessing the storage device through the private cloud platform according to the domain name of the storage device.
- the above photo distribution system further includes:
- a judging module configured to: when the client sends a binding request of the user account and the storage device ID through the private cloud platform, the private cloud platform of the storage device determines whether the storage device ID is bound; if it has been bound Rejecting the binding request; if not bound, agreeing to the binding request;
- the binding relationship storage module is configured to: after the user account is bound to the storage device ID, the client and the storage device save the binding relationship;
- the binding relationship list update module is configured to: after the user account is bound to the storage device ID, the private cloud server updates the corresponding binding relationship list of the user account and the storage device ID.
- the present invention has the following advantages:
- the protocol of the camera of different models is stored in the designated device; by identifying the model of the camera, the universal connection with the camera of different models is performed through C/S mode or P2P mode. Thereby making the interface of the designated device universal, and it is possible to connect any type of camera;
- the photos are packaged into streaming media for transmission using the RTSP protocol, thereby making the data transmission efficient and stable;
- the photographer can remotely and securely store the photo data into the designated device to prevent data leakage; in particular, by utilizing The LDAP technology establishes a plurality of independent accounts and respectively binds to the IDs of the specified devices (at the same time, the designated devices can be allocated independent storage spaces corresponding to the respective independent accounts), and the plurality of independent accounts are respectively used as the photographers. Client user account. Therefore, the security of data access can be further ensured;
- the contestant can remotely read the photo data through the client, which is convenient and fast; and at the same time, the data access is secured.
- Figure 1 is a flow chart showing the operation of an embodiment of the present invention.
- a photo distribution method as shown in FIG. 1, includes the following steps:
- the private cloud determines whether the contestant has a storage device bound to the client account (which may be the mobile phone number provided when the contestant registers);
- the operation may be performed by using a client running on a private cloud platform, a storage device, or an application system server integrated with a private cloud platform, or one or more of the private cloud servers.
- a client, a storage device, an application system, or a server having one or more of a WIFI module, a network module, an RJ45 interface, a USB interface, and an SD card slot may be used. Get photos of all contestants and categorize them.
- step S1 when the photos of all the contestants are obtained, the photos can be packaged into streaming media for transmission by using the RTSP protocol.
- step S1 may include the following steps:
- the designated device (the specified device may be an application system server, a client, or a designated storage device or a private cloud server, where the registration system server, the client, or the designated storage device or the private cloud server may have a WIFI module. , one of the network module, the RJ45 interface, the USB interface, and the SD card slot) directly acquires or obtains a photo taken by each photographer through a private cloud; the specified device runs a private cloud platform;
- step S11 when the designated device directly obtains photos taken by each photographer, the protocol of the camera of different models is stored in the designated device; the camera of different models can be realized by recognizing the model of the camera (for example, a motion camera, a panorama) Camera, surveillance camera, beauty camera, professional camera, etc.)) Universal connection through C/S mode or P2P mode.
- the specified device may include one or more of a WIFI module, a network module, an RJ45 interface, a USB interface, and an SD card slot.
- step S11 may include that the photographer's client connects to the designated device and accesses the specified device according to the IP address of the specified device and The photographed photos are sent to a designated device; the photographer's client runs a private cloud platform.
- step S11 may include:
- the photographer's client logs in the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform;
- the designated device accesses the private cloud server through the private cloud platform by using the external network, and passes the domain name through the private cloud.
- the platform is sent to the private cloud server; the photographer's client runs a private cloud platform;
- the private cloud server feeds back the domain name of the specified device to the client of the photographer according to the corresponding binding relationship between the client user account of the photographer and the specified device ID.
- the client of the photographer accesses the designated device according to the domain name of the specified device, and performs remote storage of the photo.
- the step S112 may include: establishing multiple independent accounts by using the LDAP technology and respectively binding with the IDs of the specified devices (while allowing the designated devices to allocate independent storage spaces corresponding to the respective independent accounts.
- the plurality of independent accounts are respectively used as client user accounts of the respective photographers.
- the client account and the storage device ID can be bound in the following manner: the client sends a broadcast, and the storage device in the same local area network feeds back its own ID information.
- the client binds the ID of the storage device to the client account according to the ID information, or transmits the ID of the storage device to the client through the NFC module in the storage device when the client contacts the storage device.
- the terminal binds the ID of the storage device to the client account; or uses the LDAP technology to establish multiple independent accounts and respectively binds to the ID of the storage device, and at the same time, allocates the storage device to each independent account. Corresponding independent storage space; or by setting a primary account and a sub-account, respectively establishing a binding relationship between the primary account and the sub-account and the storage device ID.
- the client account number may be the user's mobile phone number.
- the step S2 may further include: when the client sends the binding of the user account and the storage device ID through the private cloud platform.
- the private cloud platform of the storage device determines whether the storage device ID is bound, and if it has been bound, rejects the binding request; if not, the binding request is agreed; After the user account is bound to the storage device ID, the client and the storage device save the binding relationship, and the private cloud server updates the corresponding binding relationship list between the user account and the storage device ID.
- a photo distribution system comprising:
- Photo acquisition and classification module for taking photos and classifying all contestants
- a judging module configured for the private cloud to determine whether the contestant has a storage device bound to an account number (which may be a mobile phone number provided when the contestant registers);
- a sending module configured to send the photo of the contestant to the storage device if the contestant has a storage device bound to the account (if the storage device of the contestant uses the external network to access the private cloud server through the private cloud platform)
- the storage device runs a private cloud platform.
- the photo acquisition and classification module further includes:
- the photo packaging module is used to collect photos of all contestants and package the photos into streaming media for transmission using the RTSP protocol.
- the photo acquisition and classification module further includes:
- a protocol storage module configured to: when the specified device directly obtains photos taken by each photographer, specify a protocol in which a camera of a different model is stored in the device;
- the model identification and connection module is used to realize universal connection with different models of cameras through C/S mode or P2P mode by recognizing the camera model.
- the photo acquisition and classification module further includes:
- connection module configured to connect the photographer's client with the designated device when the photographer's client is on the same local area network as the designated device;
- the access and data sending module the client for the photographer accesses the specified device according to the IP address of the specified device and sends the taken photo to the designated device; the photographer's client runs a private cloud platform.
- the photo acquisition and classification module further includes:
- the data storage request sending module is configured to: when the photographer's client and the designated device are in different networks, the photographer's client logs into the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform.
- the photographer's client runs a private cloud platform;
- the device access module is configured to specify that the device accesses the private cloud server through the private cloud platform by using the external network, and sends the domain name to the private cloud server through the private cloud platform;
- the domain name feedback module is used by the private cloud server to feed back the domain name of the specified device to the client of the photographer according to the corresponding binding relationship between the photographer's client user account and the specified device ID;
- the remote storage module the client for the photographer accesses the designated device according to the domain name of the specified device, and performs remote storage of the photo.
- the domain name feedback module further includes:
- the binding relationship establishing module is configured to establish multiple independent accounts by using the LDAP technology and bind the IDs of the specified devices respectively (at the same time, the designated devices may be allocated independent storage spaces corresponding to the respective independent accounts), the multiple Separate accounts are used as client user accounts for each photographer.
- a binding module Also included: a binding module
- the binding module includes:
- a broadcast sending module configured to send a broadcast by the client
- An ID information feedback module configured to return back to the ID information of the storage device in the same local area network
- the A binding module is configured to bind, by the client, the ID of the storage device to the client account according to the ID information;
- binding module includes:
- the B binding module is configured to transmit the ID of the storage device to the client through the NFC module in the storage device when the client contacts the storage device, and the client stores the ID of the device and the client account after receiving the ID. Bind.
- binding module includes:
- the multi-account binding module is configured to establish multiple independent accounts by using the LDAP technology and bind the IDs of the storage devices respectively;
- a storage space allocation module configured to store, by the device, an independent storage space corresponding to each independent account
- binding module includes:
- the primary account and the sub-account binding module are used to establish a binding relationship between the primary account and the sub-account and the storage device ID.
- the invention also includes: a photo reading module
- the photo reading module includes:
- a client remote access module configured to: when the client and the storage device are in different networks, the client uses the account to log in to the private cloud platform, and uses the private cloud platform to send a data access request to the private cloud server;
- a storage device access module configured to use the external network to send the domain name to the private cloud server through the private cloud platform;
- the domain name feedback module is configured to feed back the domain name of the corresponding storage device to the client according to the binding relationship between the user account and the ID information of the storage device;
- the remote photo reading module is configured to perform remote photo reading by the client accessing the storage device through the private cloud platform according to the domain name of the storage device.
- the invention also includes:
- a judging module configured to: when the client sends a binding request of the user account and the storage device ID through the private cloud platform, the private cloud platform of the storage device determines whether the storage device ID is bound; if it has been bound Rejecting the binding request; if not bound, agreeing to the binding request;
- the binding relationship storage module is configured to: after the user account is bound to the storage device ID, the client and the storage device save the binding relationship;
- the binding relationship list update module is configured to: after the user account is bound to the storage device ID, the private cloud server updates the corresponding binding relationship list of the user account and the storage device ID.
- the photo can be sent to a specified device (for example, a marathon registration system running a private cloud platform, a storage device running a private cloud platform, or a private cloud server, etc.).
- a specified device for example, a marathon registration system running a private cloud platform, a storage device running a private cloud platform, or a private cloud server, etc.
- the designated device since the designated device has one or more of a WIFI module, a network module, an RJ45 interface, a USB interface, and an SD card slot, a protocol of a camera of a different model is also stored, thereby adapting to various types.
- Model camera recognizes the camera model and enables universal connection with different models of camera through C/S mode or P2P mode, and then obtains the photos of the contestants in the camera; or when the photographer's client is in the same LAN as the specified device
- the photographer's client connects with the specified device, and accesses the specified device according to the IP address of the specified device and sends the taken photo to the designated device; the photographer's client runs a private cloud platform. If the photographer is unable to send photos to the specified device at close range, they can send them remotely.
- the LDAP technology can be used to establish multiple independent accounts and be respectively bound with the IDs of the specified devices (at the same time, the designated devices can be allocated independent storage spaces corresponding to the respective independent accounts), the multiple Separate accounts are used as client user accounts for each photographer. Then, the photographer's client logs in the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform; the designated device accesses the private cloud server through the private cloud platform by using the external network, and passes the domain name through the private cloud platform.
- the photographer's client runs a private cloud platform; the private cloud server feeds back the domain name of the specified device to the camera according to the corresponding binding relationship between the photographer's client user account and the specified device ID.
- the client's client; the photographer's client accesses the specified device according to the domain name of the specified device, and performs remote storage of photos.
- the private cloud judges whether the contestant has a binding with the client account (such as the mobile phone number provided at the time of registration).
- the storage device in order to automatically obtain photos, the contestant can bind the client account (such as mobile phone number) with the storage device ID in advance by the following method: the client sends a broadcast, and the storage device in the same local area network feeds back its own ID.
- the client binds the ID of the storage device to the client account according to the ID information, or transmits the ID of the storage device to the client through the NFC module in the storage device when the client contacts the storage device.
- the client After receiving the ID, the client binds the ID of the storage device to the client account, or establishes multiple independent accounts by using the LDAP technology, and respectively binds to the ID of the storage device, and simultaneously allocates and stores the storage device. Separate storage space corresponding to the independent account; or establish the main account and sub-account respectively, respectively An account number and a binding relationship with the sub-storage apparatus ID); if so, it is sent to the storage device of the photo player; storage device in the private cloud running internet.
- the contestant When the photo is pushed to the participating player's storage device, if the contestant reads the photo in the storage device, if the client and the storage device are in different networks, in order to realize remote security and accurate data reading, Logging in to the private cloud platform by using the client account, using the private cloud platform to send a data access request to the private cloud server; the storage device uses the external network to send the domain name to the private cloud server through the private cloud platform; the private cloud server is based on the user account Corresponding binding relationship with the ID information of the storage device, the domain name of the corresponding storage device is fed back to the client; the client accesses the storage device through the private cloud platform according to the domain name of the storage device, and performs remote data reading; The client runs a private cloud platform. If the client and the storage device are on the same local area network, the contestant directly accesses the photos in the storage device through the IP address of the storage device.
- the security of the data access is further improved, and the user storage device is privatized.
- the storage device The private cloud platform determines whether the storage device ID is bound, and if it has been bound, rejects the binding request; if not, the binding request is agreed; the user account and the storage device ID After the binding is performed, the client and the storage device save the binding relationship, and the private cloud server updates the corresponding binding relationship list between the user account and the storage device ID (in this case, the storage device sharing is excluded).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Disclosed in the present invention are a photo distribution method and system. The method comprises the following steps: S1, acquiring all photos of a participant, and categorizing the same; S2, a private cloud determining whether the participant has a storage apparatus bound with a client terminal account (such as a mobile phone number provided by the participant upon registration); and S3, if so, then sending the photos of the participant to the storage apparatus thereof (e.g., when the storage apparatus of the participant uses an external network to access a server of the private cloud via a private cloud platform), wherein the private cloud platform is running on the storage apparatus. By using the private cloud to determine whether a participant has a storage apparatus bound with an account, the present invention enables photos of the participant to be sent to the storage apparatus if the participant has a storage apparatus. The storage apparatus has the private cloud platform running thereon, thus realizing an automatic, secure, and accurate distribution of photos, effectively protecting privacy of the participant, and eliminating the need for a user to personally check whether his/her photo is taken. The present invention is low-cost and provides convenience and efficiency.
Description
本发明涉及一种照片分发方法及系统,属于数据分发技术领域。The invention relates to a photo distribution method and system, and belongs to the technical field of data distribution.
在马拉松比赛现场,为了提升运动员们的参与感,往往会安排一些摄影师进行拍照。但是拍完照片后,遇到的一个很大的问题就是没办法进行分发,一方面,由于参与的人数较多,无法进行照片的自动分类;另一方面,无法将照片一一发送给选手,要么就是选手自己过来用U盘拷贝照片,要么就是将所有的照片都发送到云上,选手自行挑选下载照片。但是这2种方式均存在以下问题:1、选手自己过来用U盘拷贝照片,费时费力,而且参与人数较多,选手并不知道他到底有没有被拍到,有可能过来白跑一趟;2、将所有的照片都发送到云上,选手自行挑选下载照片,那么所有人都可以看到其他人的照片,无法有效保护参与者的隐私。In the marathon, in order to enhance the participation of athletes, some photographers are often arranged to take pictures. However, after taking the photo, a big problem encountered was that there was no way to distribute it. On the one hand, due to the large number of participants, it was impossible to automatically sort the photos; on the other hand, the photos could not be sent to the players one by one. Either the player himself comes over and copies the photo with the U disk, or sends all the photos to the cloud, and the player chooses to download the photos. However, these two methods have the following problems: 1. The player himself came over and copied the photos with the U disk, which was time-consuming and laborious, and the number of participants was high. The player did not know whether he had been photographed or not, and he might come over and run a white trip; 2, send all the photos to the cloud, the players choose to download the photos, then everyone can see the photos of other people, can not effectively protect the privacy of the participants.
申请号为201210366179.3的专利申请公开了一种自动分发媒体文件的方法及装置,其通过将媒体文件中的人脸与朋友库中的人脸模板进行匹配,根据匹配结果和用户指令,将文件自动发送至朋友的电子邮箱、微博、微信、SNS社区网站或通过手机彩信发送至朋友手机上。但是该技术并不适用于马拉松比赛(并没有朋友库的人脸模板,而且拍照的摄影师有很多个),而且将文件发送至电子邮箱、微博、微信、SNS社区网站仍然存在文件泄露和丢失的风险,将文件通过手机彩信的方式发送至手机上,则成本非常高昂。因此仍需进行改进。The patent application with the application number 201210366179.3 discloses a method and a device for automatically distributing a media file, which automatically matches a face in a media file with a face template in a friend library according to a matching result and a user instruction. Send it to a friend's email address, Weibo, WeChat, SNS community website or send it to a friend's mobile phone via mobile phone MMS. However, this technology is not suitable for marathon games (there are no face templates for friends and there are many photographers), and there are still file leaks when sending files to email, Weibo, WeChat, SNS community websites. The risk of loss, the file is sent to the phone via mobile phone MMS, the cost is very high. Therefore, improvements are still needed.
发明内容Summary of the invention
本发明的目的在于,提供一种照片分发方法及系统,它可以实现照片的自动分发,有效保护参与者的隐私,且成本低廉。It is an object of the present invention to provide a photo distribution method and system which can realize automatic distribution of photos, effectively protect the privacy of participants, and is low in cost.
为解决上述技术问题,本发明采用如下的技术方案:一种照片分发方法,包括以下步骤:In order to solve the above technical problem, the present invention adopts the following technical solution: a photo distribution method, comprising the following steps:
S1,获取所有参赛选手的照片并进行分类;S1, obtain photos of all contestants and classify them;
S2,私有云判断参赛选手是否具有与客户端账号(可以是参赛选手报名时提供的手机号)绑定的存储设备;S2, the private cloud determines whether the contestant has a storage device bound to the client account (which may be the mobile phone number provided when the contestant registers);
S3,若有,则(如参赛选手的存储设备利用外网通过私有云平台访问私有云服务器时)将该参赛选手的照片发送至其存储设备中;所述的存储设备中运行有私有云平台。S3, if yes, if the storage device of the contestant uses the external network to access the private cloud server through the private cloud platform, the photo of the contestant is sent to the storage device; the storage device runs a private cloud platform .
优选的,步骤S1中,获取所有参赛选手的照片时,利用RTSP协议将照片打包成流媒 体进行传输,从而使得传输高效且稳定。Preferably, in step S1, when the photos of all the contestants are acquired, the photos are packaged into a streaming medium for transmission using the RTSP protocol, thereby making the transmission efficient and stable.
优选的,步骤S1包括以下步骤:Preferably, step S1 comprises the following steps:
S11,指定设备(所述的指定设备可以为报名系统服务器或者指定的存储设备,所述的报名系统服务器或者指定的存储设备可以具有WIFI模块、网络模块、RJ45接口、USB接口、SD卡槽中的一种或几种)直接获取或者通过私有云获取各个摄影师拍摄的照片;所述的指定设备中运行有私有云平台;S11, the designated device (the designated device may be an application system server or a designated storage device, where the registration system server or the specified storage device may have a WIFI module, a network module, an RJ45 interface, a USB interface, and an SD card slot. One or several) directly obtain or obtain a photo taken by each photographer through a private cloud; the specified device runs a private cloud platform;
S12,根据参赛选手报名时提供的姓名和照片对获取的照片进行分类(可以是指定设备进行分类或者指定设备将照片发送至私有云,私有云进行分类)。S12, classifying the obtained photos according to the names and photos provided by the contestants when registering (either by specifying the device to classify or by specifying the device to send the photos to the private cloud, and the private cloud to classify).
通过以上方法,从而可以实现近距离或远程将参赛选手的照片发送至指定设备,由指定设备进行集中处理。Through the above method, it is possible to transmit the photos of the contestants to the designated device in close proximity or remotely, and perform centralized processing by the designated device.
更优选的,步骤S11中,所述指定设备直接获取各个摄影师拍摄的照片时,指定设备中存储有不同型号的相机的协议;通过识别相机的型号,实现与不同型号的相机通过C/S模式或P2P模式进行万能连接,从而使得存储设备的接口具有普适性,可以连接任意型号的相机。More preferably, in step S11, when the designated device directly acquires the photos taken by the respective photographers, the protocol of the cameras of different models is stored in the designated device; by recognizing the model of the camera, the cameras with different models are passed through the C/S. Mode or P2P mode for universal connection, making the interface of the storage device universal, and can connect any type of camera.
前述的照片分发方法中,当摄影师的客户端与指定设备处于同一局域网时,步骤S11包括,摄影师的客户端与指定设备进行连接,并根据指定设备的IP地址访问指定设备并将拍摄的照片发送至指定设备;所述的摄影师的客户端中运行有私有云平台。In the foregoing photo distribution method, when the client of the photographer is in the same local area network as the designated device, step S11 includes: the photographer's client connects with the designated device, and accesses the designated device according to the IP address of the designated device and shoots the image. The photo is sent to the designated device; the photographer's client runs a private cloud platform.
前述的照片分发方法,当摄影师的客户端与指定设备处于不同的网络中时,步骤S11包括:In the foregoing photo distribution method, when the client of the photographer is in a different network from the designated device, step S11 includes:
S111,摄影师的客户端通过用户账号登陆私有云平台并通过私有云平台向私有云服务器发送照片数据存储请求;指定设备利用外部网络通过私有云平台访问私有云服务器,并将其域名通过私有云平台发送至私有云服务器;所述的摄影师的客户端中运行有私有云平台;S111, the photographer's client logs in the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform; the designated device accesses the private cloud server through the private cloud platform by using the external network, and passes the domain name through the private cloud. The platform is sent to the private cloud server; the photographer's client runs a private cloud platform;
S112,私有云服务器根据摄影师的客户端用户账号与指定设备ID的对应绑定关系,将指定设备的域名反馈给摄影师的客户端;S112. The private cloud server feeds back the domain name of the specified device to the client of the photographer according to the corresponding binding relationship between the client user account of the photographer and the specified device ID.
S113,摄影师的客户端根据所述的指定设备的域名访问指定设备,进行照片的远程存储。S113. The client of the photographer accesses the designated device according to the domain name of the specified device, and performs remote storage of the photo.
通过以上方法,从而可以远程数据的安全存储,防止数据泄露。Through the above methods, it is possible to securely store remote data and prevent data leakage.
优选的,步骤S112包括:利用LDAP技术建立多个独立账号并分别与指定设备的ID进行绑定(同时可以使得指定设备中分配与各个独立账号对应的独立的存储空间),所述的多个独立账号分别作为各个摄影师的客户端用户账号。Preferably, the step S112 includes: establishing a plurality of independent accounts by using the LDAP technology and respectively binding the IDs of the specified devices (while assigning independent storage spaces corresponding to the respective independent accounts in the designated device), the multiple Separate accounts are used as client user accounts for each photographer.
上述的照片分发方法中,步骤S2中,通过以下方式将参赛选手的客户端账号与其存储 设备ID进行绑定:客户端发出广播,处于同一局域网的存储设备反馈回自身的ID信息,客户端根据所述的ID信息,将存储设备的ID与客户端账号进行绑定;所述的客户端具有WIFI模块。(相比于UPNP等方式)从而可以通过设定某些字段来进行搜索,搜索效率非常高,而且干扰较少,提高了绑定效率。In the above photo distribution method, in step S2, the client account of the contestant is bound to the storage device ID by the following method: the client sends a broadcast, and the storage device in the same local area network feeds back its own ID information, and the client The ID information is used to bind the ID of the storage device to the client account; the client has a WIFI module. (Compared to UPNP, etc.) It is possible to search by setting certain fields, the search efficiency is very high, and the interference is less, which improves the binding efficiency.
或者当客户端和存储设备接触时,通过存储设备中的NFC模块将存储设备的ID传输给客户端,客户端接收到所述ID后将存储设备的ID与客户端账号进行绑定;从而可以实现客户端与存储设备简单、快捷的进行绑定。Or, when the client contacts the storage device, the ID of the storage device is transmitted to the client through the NFC module in the storage device, and the client binds the ID of the storage device to the client account after receiving the ID; Enables simple and fast binding between the client and the storage device.
或者利用LDAP技术建立多个独立账号并分别与存储设备的ID进行绑定,同时使得存储设备中分配与各个独立账号对应的独立的存储空间;从而实现了多人平等的共享同一个存储设备。Or use the LDAP technology to establish a plurality of independent accounts and respectively bind to the ID of the storage device, and at the same time, allocate independent storage spaces corresponding to the individual accounts in the storage device; thereby achieving equal sharing of the same storage device by multiple people.
或者通过设置主账号及子账号,分别建立所述主账号及子账号与存储设备ID的绑定关系。从而实现了具有不同权限的多个人共享同一个存储设备。Or, by setting a primary account and a sub-account, respectively establishing a binding relationship between the primary account and the sub-account and the storage device ID. Thereby, multiple people with different permissions are shared by the same storage device.
本发明还包括,参赛选手对其存储设备中的照片进行读取时,若客户端与存储设备处于不同的网络中,则利用客户端账号登陆私有云平台,利用所述的私有云平台向私有云服务器发送数据存取请求;存储设备利用外部网络通过私有云平台将其域名发送至私有云服务器;私有云服务器根据用户账号与存储设备的ID信息的对应绑定关系,将相应的存储设备的域名反馈给客户端;客户端根据所述的存储设备的域名通过私有云平台访问存储设备,进行远程数据读取;其中,所述的客户端中运行有私有云平台。通过以上方法,从而可以实现参赛选手通过客户端远程的读取照片数据,方便快捷;而且同时保证了数据访问的安全性。The invention also includes that when the contestant reads the photos in the storage device, if the client and the storage device are in different networks, the client account is used to log in to the private cloud platform, and the private cloud platform is used to privately The cloud server sends a data access request; the storage device uses the external network to send the domain name to the private cloud server through the private cloud platform; the private cloud server associates the corresponding storage device according to the corresponding binding relationship between the user account and the ID information of the storage device. The domain name is fed back to the client; the client accesses the storage device through the private cloud platform according to the domain name of the storage device, and performs remote data reading; wherein the client runs a private cloud platform. Through the above methods, it is convenient and quick to realize the remote reading of photo data by the contestant through the client; and at the same time, the security of data access is ensured.
上述的照片分发方法中,步骤S2还包括:当客户端通过私有云平台发送用户账号与存储设备ID的绑定请求时,存储设备的私有云平台判断所述的存储设备ID是否被绑定过,如果已被绑定过,则拒绝该绑定请求;如果未被绑定过,则同意该绑定请求;用户账号与存储设备ID进行绑定后,客户端、存储设备保存该绑定关系,私有云服务器更新用户账号与存储设备ID的对应绑定关系列表。从而避免了非法访问参赛选手的存储设备的数据,保证了数据的安全性。In the above photo distribution method, the step S2 further includes: when the client sends a binding request of the user account and the storage device ID through the private cloud platform, the private cloud platform of the storage device determines whether the storage device ID is bound. If the binding has been bound, the binding request is rejected; if it is not bound, the binding request is agreed; after the user account is bound to the storage device ID, the client and the storage device save the binding relationship. The private cloud server updates the corresponding binding relationship list of the user account and the storage device ID. Thereby, the illegal access to the data of the competitor's storage device is avoided, and the security of the data is ensured.
一种照片分发系统,包括:A photo distribution system comprising:
照片获取及分类模块,用于获取所有参赛选手的照片并进行分类;Photo acquisition and classification module for taking photos and classifying all contestants;
判断模块,用于私有云判断参赛选手是否具有与账号(可以是参赛选手报名时提供的手机号)绑定的存储设备;a judging module, configured for the private cloud to determine whether the contestant has a storage device bound to an account number (which may be a mobile phone number provided when the contestant registers);
发送模块,用于若参赛选手具有与账号绑定的存储设备,则(如参赛选手的存储设备利用外网通过私有云平台访问私有云服务器时)将该参赛选手的照片发送至其存储设备中;所述的存储设备中运行有私有云平台。a sending module, configured to send the photo of the contestant to the storage device if the contestant has a storage device bound to the account (if the storage device of the contestant uses the external network to access the private cloud server through the private cloud platform) The storage device runs a private cloud platform.
优选的,所述的照片获取及分类模块还包括:Preferably, the photo acquisition and classification module further comprises:
照片打包模块,用于获取所有参赛选手的照片时,利用RTSP协议将照片打包成流媒体进行传输,从而使得传输高效且稳定。The photo packaging module is used to collect photos of all contestants and package the photos into streaming media for transmission using the RTSP protocol, thereby making the transmission efficient and stable.
优选的,所述的照片获取及分类模块还包括:Preferably, the photo acquisition and classification module further comprises:
协议存储模块,用于所述指定设备直接获取各个摄影师拍摄的照片时,指定设备中存储有不同型号的相机的协议;a protocol storage module, configured to: when the specified device directly obtains photos taken by each photographer, specify a protocol in which a camera of a different model is stored in the device;
型号识别及连接模块,用于通过识别相机的型号,实现与不同型号的相机通过C/S模式或P2P模式进行万能连接。The model identification and connection module is used to realize universal connection with different models of cameras through C/S mode or P2P mode by recognizing the camera model.
前述的照片分发系统中,所述的照片获取及分类模块还包括:In the foregoing photo distribution system, the photo acquisition and classification module further includes:
连接模块,用于当摄影师的客户端与指定设备处于同一局域网时,摄影师的客户端与指定设备进行连接;a connection module, configured to connect the photographer's client with the designated device when the photographer's client is on the same local area network as the designated device;
访问及数据发送模块,用于摄影师的客户端根据指定设备的IP地址访问指定设备并将拍摄的照片发送至指定设备;所述的摄影师的客户端中运行有私有云平台。The access and data sending module, the client for the photographer accesses the specified device according to the IP address of the specified device and sends the taken photo to the designated device; the photographer's client runs a private cloud platform.
前述的照片分发系统中,所述的照片获取及分类模块还包括:In the foregoing photo distribution system, the photo acquisition and classification module further includes:
数据存储请求发送模块,用于当摄影师的客户端与指定设备处于不同的网络中时,摄影师的客户端通过用户账号登陆私有云平台并通过私有云平台向私有云服务器发送照片数据存储请求;所述的摄影师的客户端中运行有私有云平台;The data storage request sending module is configured to: when the photographer's client and the designated device are in different networks, the photographer's client logs into the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform. The photographer's client runs a private cloud platform;
指定设备访问模块,用于指定设备利用外部网络通过私有云平台访问私有云服务器,并将其域名通过私有云平台发送至私有云服务器;The device access module is configured to specify that the device accesses the private cloud server through the private cloud platform by using the external network, and sends the domain name to the private cloud server through the private cloud platform;
域名反馈模块,用于私有云服务器根据摄影师的客户端用户账号与指定设备ID的对应绑定关系,将指定设备的域名反馈给摄影师的客户端;The domain name feedback module is used by the private cloud server to feed back the domain name of the specified device to the client of the photographer according to the corresponding binding relationship between the photographer's client user account and the specified device ID;
远程存储模块,用于摄影师的客户端根据所述的指定设备的域名访问指定设备,进行照片的远程存储。The remote storage module, the client for the photographer accesses the designated device according to the domain name of the specified device, and performs remote storage of the photo.
优选的,所述的域名反馈模块还包括:Preferably, the domain name feedback module further includes:
绑定关系建立模块,用于利用LDAP技术建立多个独立账号并分别与指定设备的ID进行绑定(同时可以使得指定设备中分配与各个独立账号对应的独立的存储空间),所述的多个独立账号分别作为各个摄影师的客户端用户账号。The binding relationship establishing module is configured to establish multiple independent accounts by using the LDAP technology and bind the IDs of the specified devices respectively (at the same time, the designated devices may be allocated independent storage spaces corresponding to the respective independent accounts), the multiple Separate accounts are used as client user accounts for each photographer.
优选的,还包括:绑定模块;Preferably, the method further includes: a binding module;
所述的绑定模块包括:The binding module includes:
广播发送模块,用于客户端发出广播;a broadcast sending module, configured to send a broadcast by the client;
ID信息反馈模块,用于处于同一局域网的存储设备反馈回自身的ID信息;An ID information feedback module, configured to return back to the ID information of the storage device in the same local area network;
A绑定模块,用于客户端根据所述的ID信息,将存储设备的ID与客户端账号进行绑定;The A binding module is configured to bind, by the client, the ID of the storage device to the client account according to the ID information;
或者所述的绑定模块包括:Or the binding module includes:
B绑定模块,用于当客户端和存储设备接触时,通过存储设备中的NFC模块将存储设备的ID传输给客户端,客户端接收到所述ID后将存储设备的ID与客户端账号进行绑定。The B binding module is configured to transmit the ID of the storage device to the client through the NFC module in the storage device when the client contacts the storage device, and the client stores the ID of the device and the client account after receiving the ID. Bind.
或者所述的绑定模块包括:Or the binding module includes:
多账号绑定模块,用于利用LDAP技术建立多个独立账号并分别与存储设备的ID进行绑定;The multi-account binding module is configured to establish multiple independent accounts by using the LDAP technology and bind the IDs of the storage devices respectively;
存储空间分配模块,用于存储设备分配与各个独立账号对应的独立的存储空间;a storage space allocation module, configured to store, by the device, an independent storage space corresponding to each independent account;
或者所述的绑定模块包括:Or the binding module includes:
主账号及子账号绑定模块,用于建立主账号及子账号与存储设备ID的绑定关系。The primary account and the sub-account binding module are used to establish a binding relationship between the primary account and the sub-account and the storage device ID.
优选的,还包括:照片读取模块;Preferably, the method further includes: a photo reading module;
所述的照片读取模块包括:The photo reading module includes:
客户端远程访问模块,用于若客户端与存储设备处于不同的网络中,客户端利用账号登陆私有云平台,利用所述的私有云平台向私有云服务器发送数据存取请求;a client remote access module, configured to: when the client and the storage device are in different networks, the client uses the account to log in to the private cloud platform, and uses the private cloud platform to send a data access request to the private cloud server;
存储设备访问模块,用于存储设备利用外部网络通过私有云平台将其域名发送至私有云服务器;a storage device access module, configured to use the external network to send the domain name to the private cloud server through the private cloud platform;
域名反馈模块,用于私有云服务器根据用户账号与存储设备的ID信息的对应绑定关系,将相应的存储设备的域名反馈给客户端;The domain name feedback module is configured to feed back the domain name of the corresponding storage device to the client according to the binding relationship between the user account and the ID information of the storage device;
远程照片读取模块,用于客户端根据所述的存储设备的域名通过私有云平台访问存储设备,进行远程照片读取。The remote photo reading module is configured to perform remote photo reading by the client accessing the storage device through the private cloud platform according to the domain name of the storage device.
上述的照片分发系统,还包括:The above photo distribution system further includes:
判断模块,用于当客户端通过私有云平台发送用户账号与存储设备ID的绑定请求时,存储设备的私有云平台判断所述的存储设备ID是否被绑定过;如果已被绑定过,则拒绝该绑定请求;如果未被绑定过,则同意该绑定请求;a judging module, configured to: when the client sends a binding request of the user account and the storage device ID through the private cloud platform, the private cloud platform of the storage device determines whether the storage device ID is bound; if it has been bound Rejecting the binding request; if not bound, agreeing to the binding request;
绑定关系存储模块,用于用户账号与存储设备ID进行绑定后,客户端、存储设备保存该绑定关系;The binding relationship storage module is configured to: after the user account is bound to the storage device ID, the client and the storage device save the binding relationship;
绑定关系列表更新模块,用于用户账号与存储设备ID进行绑定后,私有云服务器更新用户账号与存储设备ID的对应绑定关系列表。The binding relationship list update module is configured to: after the user account is bound to the storage device ID, the private cloud server updates the corresponding binding relationship list of the user account and the storage device ID.
与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:
1、通过利用私有云判断参赛选手是否具有与账号绑定的存储设备;若有,则将该选手的照片发送至其存储设备中;所述的存储设备中运行有私有云平台,从而实现了照片的自动、安全、准确的分发,有效保护参赛选手的隐私,而且无需用户亲自确认是否有其本人的照片;成本低廉,且方便快捷;1. Using the private cloud to determine whether the contestant has a storage device bound to the account; if so, the player's photo is sent to its storage device; the storage device runs a private cloud platform, thereby implementing Automatic, safe and accurate distribution of photos, effectively protecting the privacy of contestants, without the need for users to personally confirm whether they have their own photos; low cost, convenient and fast;
2、指定设备直接获取各个摄影师拍摄的照片时,指定设备中存储有不同型号的相机的协议;通过识别相机的型号,实现与不同型号的相机通过C/S模式或P2P模式进行万能连接,从而使得指定设备的接口具有普适性,可以连接任意型号的相机;2. When the specified device directly obtains the photos taken by each photographer, the protocol of the camera of different models is stored in the designated device; by identifying the model of the camera, the universal connection with the camera of different models is performed through C/S mode or P2P mode. Thereby making the interface of the designated device universal, and it is possible to connect any type of camera;
3、指定设备获取所有参赛选手的照片时,利用RTSP协议将照片打包成流媒体进行传输,从而使得数据传输高效且稳定;3. When the designated device obtains photos of all the contestants, the photos are packaged into streaming media for transmission using the RTSP protocol, thereby making the data transmission efficient and stable;
4、通过利用私有云服务器及摄影师的客户端用户账号与指定设备ID的对应绑定关系,从而可以实现摄影师将照片数据远程、安全的存入指定设备,防止数据泄露;尤其是通过利用LDAP技术建立多个独立账号并分别与指定设备的ID进行绑定(同时可以使得指定设备中分配与各个独立账号对应的独立的存储空间),所述的多个独立账号分别作为各个摄影师的客户端用户账号。从而可以进一步保证了数据访问的安全性;4. By using the private cloud server and the corresponding binding relationship between the client user account of the photographer and the specified device ID, the photographer can remotely and securely store the photo data into the designated device to prevent data leakage; in particular, by utilizing The LDAP technology establishes a plurality of independent accounts and respectively binds to the IDs of the specified devices (at the same time, the designated devices can be allocated independent storage spaces corresponding to the respective independent accounts), and the plurality of independent accounts are respectively used as the photographers. Client user account. Therefore, the security of data access can be further ensured;
5、通过利用私有云服务器及参赛选手的客户端账号与其存储设备的ID的绑定关系,从而可以实现参赛选手通过客户端远程的读取照片数据,方便快捷;而且同时保证了数据访问的安全性;5. By using the binding relationship between the private cloud server and the client account of the contestant and the ID of the storage device, the contestant can remotely read the photo data through the client, which is convenient and fast; and at the same time, the data access is secured. Sex
6、通过利用私有云存储用户账号与存储设备的ID信息的对应绑定关系,从而进一步避免了非法访问参赛选手的存储设备的数据,保证了数据的安全性。6. By using the private cloud to store the corresponding binding relationship between the user account and the ID information of the storage device, thereby further avoiding illegal access to the data of the participating player's storage device, and ensuring data security.
图1是本发明的一种实施例的工作流程图。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a flow chart showing the operation of an embodiment of the present invention.
下面结合附图和具体实施方式对本发明作进一步的说明。The invention will now be further described with reference to the drawings and specific embodiments.
本发明的实施例:一种照片分发方法,如图1所示,包括以下步骤:Embodiment of the present invention: A photo distribution method, as shown in FIG. 1, includes the following steps:
S1,获取所有参赛选手的照片并进行分类;S1, obtain photos of all contestants and classify them;
S2,私有云判断参赛选手是否具有与客户端账号(可以是参赛选手报名时提供的手机号)绑定的存储设备;S2, the private cloud determines whether the contestant has a storage device bound to the client account (which may be the mobile phone number provided when the contestant registers);
S3,若有,则(如参赛选手的存储设备利用外网通过私有云平台访问私有云服务器时)将该参赛选手的照片发送至其存储设备中;所述的存储设备中运行有私有云平台。S3, if yes, if the storage device of the contestant uses the external network to access the private cloud server through the private cloud platform, the photo of the contestant is sent to the storage device; the storage device runs a private cloud platform .
具体实施时,可以采用运行有私有云平台的客户端、存储设备,或者集成有私有云平台的报名系统服务器,或者私有云服务器中的一种或几种进行上述操作。其中,近距离获取照片时,步骤S1中,也可以采用具有WIFI模块、网络模块、RJ45接口、USB接口、SD卡槽中的一种或几种的客户端、存储设备、报名系统或者服务器来获取所有参赛选手的照片并进行分类。In a specific implementation, the operation may be performed by using a client running on a private cloud platform, a storage device, or an application system server integrated with a private cloud platform, or one or more of the private cloud servers. In the step S1, in the step S1, a client, a storage device, an application system, or a server having one or more of a WIFI module, a network module, an RJ45 interface, a USB interface, and an SD card slot may be used. Get photos of all contestants and categorize them.
为了提高数据传输的速度及稳定性,步骤S1中,获取所有参赛选手的照片时,可利用RTSP协议将照片打包成流媒体进行传输。In order to improve the speed and stability of the data transmission, in step S1, when the photos of all the contestants are obtained, the photos can be packaged into streaming media for transmission by using the RTSP protocol.
为了快速获取参赛选手的照片并进行准确分类,步骤S1可以包括以下步骤:In order to quickly obtain the photos of the contestants and perform accurate classification, step S1 may include the following steps:
S11,指定设备(所述的指定设备可以为报名系统服务器、客户端或者指定的存储设备或者私有云服务器,所述的报名系统服务器、客户端或者指定的存储设备或者私有云服务器可以具有WIFI模块、网络模块、RJ45接口、USB接口、SD卡槽中的一种或几种)直接获取或者通过私有云获取各个摄影师拍摄的照片;所述的指定设备中运行有私有云平台;S11, the designated device (the specified device may be an application system server, a client, or a designated storage device or a private cloud server, where the registration system server, the client, or the designated storage device or the private cloud server may have a WIFI module. , one of the network module, the RJ45 interface, the USB interface, and the SD card slot) directly acquires or obtains a photo taken by each photographer through a private cloud; the specified device runs a private cloud platform;
S12,根据参赛选手报名时提供的姓名和照片对获取的照片进行分类(可以是指定设备进行分类或者指定设备将照片发送至私有云,私有云进行分类)。S12, classifying the obtained photos according to the names and photos provided by the contestants when registering (either by specifying the device to classify or by specifying the device to send the photos to the private cloud, and the private cloud to classify).
步骤S11中,所述指定设备直接获取各个摄影师拍摄的照片时,指定设备中存储有不同型号的相机的协议;可通过识别相机的型号,实现与不同型号的相机((比如运动相机、全景相机、监控相机、美颜相机、专业相机等))通过C/S模式或P2P模式进行万能连接。所述的指定设备可以包括WIFI模块、网络模块、RJ45接口、USB接口、SD卡槽中的一种或几种)。In step S11, when the designated device directly obtains photos taken by each photographer, the protocol of the camera of different models is stored in the designated device; the camera of different models can be realized by recognizing the model of the camera (for example, a motion camera, a panorama) Camera, surveillance camera, beauty camera, professional camera, etc.)) Universal connection through C/S mode or P2P mode. The specified device may include one or more of a WIFI module, a network module, an RJ45 interface, a USB interface, and an SD card slot.
当摄影师的客户端与指定设备处于同一局域网时,为了实现数据的安全快速传输,步骤S11可以包括,摄影师的客户端与指定设备进行连接,并根据指定设备的IP地址访问指定设备并将拍摄的照片发送至指定设备;所述的摄影师的客户端中运行有私有云平台。In order to realize secure and fast transmission of data when the client of the photographer is on the same local area network as the designated device, step S11 may include that the photographer's client connects to the designated device and accesses the specified device according to the IP address of the specified device and The photographed photos are sent to a designated device; the photographer's client runs a private cloud platform.
当摄影师的客户端与指定设备处于不同的网络中时,为了实现数据的远程、安全传输,步骤S11可以包括:When the client of the photographer is in a different network from the designated device, in order to realize remote and secure transmission of data, step S11 may include:
S111,摄影师的客户端通过用户账号登陆私有云平台并通过私有云平台向私有云服务器发送照片数据存储请求;指定设备利用外部网络通过私有云平台访问私有云服务器,并将其域名通过私有云平台发送至私有云服务器;所述的摄影师的客户端中运行有私有云平台;S111, the photographer's client logs in the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform; the designated device accesses the private cloud server through the private cloud platform by using the external network, and passes the domain name through the private cloud. The platform is sent to the private cloud server; the photographer's client runs a private cloud platform;
S112,私有云服务器根据摄影师的客户端用户账号与指定设备ID的对应绑定关系,将指定 设备的域名反馈给摄影师的客户端;S112. The private cloud server feeds back the domain name of the specified device to the client of the photographer according to the corresponding binding relationship between the client user account of the photographer and the specified device ID.
S113,摄影师的客户端根据所述的指定设备的域名访问指定设备,进行照片的远程存储。S113. The client of the photographer accesses the designated device according to the domain name of the specified device, and performs remote storage of the photo.
为了进一步提高数据访问的安全性,步骤S112可以包括:利用LDAP技术建立多个独立账号并分别与指定设备的ID进行绑定(同时可以使得指定设备中分配与各个独立账号对应的独立的存储空间),所述的多个独立账号分别作为各个摄影师的客户端用户账号。In order to further improve the security of the data access, the step S112 may include: establishing multiple independent accounts by using the LDAP technology and respectively binding with the IDs of the specified devices (while allowing the designated devices to allocate independent storage spaces corresponding to the respective independent accounts. The plurality of independent accounts are respectively used as client user accounts of the respective photographers.
为了实现参赛选手准确获取参赛时的照片推送,步骤S2中,可以通过以下方式将客户端账号与存储设备ID进行绑定:客户端发出广播,处于同一局域网的存储设备反馈回自身的ID信息,客户端根据所述的ID信息,将存储设备的ID与客户端账号进行绑定;或者当客户端和存储设备接触时,通过存储设备中的NFC模块将存储设备的ID传输给客户端,客户端接收到所述ID后将存储设备的ID与客户端账号进行绑定;或者利用LDAP技术建立多个独立账号并分别与存储设备的ID进行绑定,同时使得存储设备中分配与各个独立账号对应的独立的存储空间;或者通过设置主账号及子账号,分别建立所述主账号及子账号与存储设备ID的绑定关系。In order to enable the contestant to accurately obtain the photo push at the time of the entry, in step S2, the client account and the storage device ID can be bound in the following manner: the client sends a broadcast, and the storage device in the same local area network feeds back its own ID information. The client binds the ID of the storage device to the client account according to the ID information, or transmits the ID of the storage device to the client through the NFC module in the storage device when the client contacts the storage device. After receiving the ID, the terminal binds the ID of the storage device to the client account; or uses the LDAP technology to establish multiple independent accounts and respectively binds to the ID of the storage device, and at the same time, allocates the storage device to each independent account. Corresponding independent storage space; or by setting a primary account and a sub-account, respectively establishing a binding relationship between the primary account and the sub-account and the storage device ID.
所述的客户端账号可以是用户的手机号。The client account number may be the user's mobile phone number.
当照片推送至参赛选手的存储设备后,参赛选手对其存储设备中的照片进行读取时,若客户端与存储设备处于不同的网络中,为了实现远程安全准确的进行数据读取,则可以利用客户端账号登陆私有云平台,利用所述的私有云平台向私有云服务器发送数据存取请求;存储设备利用外部网络通过私有云平台将其域名发送至私有云服务器;私有云服务器根据用户账号与存储设备的ID信息的对应绑定关系,将相应的存储设备的域名反馈给客户端;客户端根据所述的存储设备的域名通过私有云平台访问存储设备,进行远程数据读取;其中,所述的客户端中运行有私有云平台。When the photo is pushed to the participating player's storage device, if the contestant reads the photo in the storage device, if the client and the storage device are in different networks, in order to realize remote security and accurate data reading, Logging in to the private cloud platform by using the client account, using the private cloud platform to send a data access request to the private cloud server; the storage device uses the external network to send the domain name to the private cloud server through the private cloud platform; the private cloud server is based on the user account Corresponding binding relationship with the ID information of the storage device, the domain name of the corresponding storage device is fed back to the client; the client accesses the storage device through the private cloud platform according to the domain name of the storage device, and performs remote data reading; The client runs a private cloud platform.
为了避免非法访问参赛选手的存储设备的数据,进一步提高数据访问的安全性,实现用户存储设备私有化,步骤S2还可以包括:当客户端通过私有云平台发送用户账号与存储设备ID的绑定请求时,存储设备的私有云平台判断所述的存储设备ID是否被绑定过,如果已被绑定过,则拒绝该绑定请求;如果未被绑定过,则同意该绑定请求;用户账号与存储设备ID进行绑定后,客户端、存储设备保存该绑定关系,私有云服务器更新用户账号与存储设备ID的对应绑定关系列表。In order to avoid unauthorized access to the data of the competitor's storage device, and further improve the security of the data access and privatize the user storage device, the step S2 may further include: when the client sends the binding of the user account and the storage device ID through the private cloud platform. When requested, the private cloud platform of the storage device determines whether the storage device ID is bound, and if it has been bound, rejects the binding request; if not, the binding request is agreed; After the user account is bound to the storage device ID, the client and the storage device save the binding relationship, and the private cloud server updates the corresponding binding relationship list between the user account and the storage device ID.
一种照片分发系统,包括:A photo distribution system comprising:
照片获取及分类模块,用于获取所有参赛选手的照片并进行分类;Photo acquisition and classification module for taking photos and classifying all contestants;
判断模块,用于私有云判断参赛选手是否具有与账号(可以是参赛选手报名时提供的手机 号)绑定的存储设备;a judging module, configured for the private cloud to determine whether the contestant has a storage device bound to an account number (which may be a mobile phone number provided when the contestant registers);
发送模块,用于若参赛选手具有与账号绑定的存储设备,则(如参赛选手的存储设备利用外网通过私有云平台访问私有云服务器时)将该参赛选手的照片发送至其存储设备中;所述的存储设备中运行有私有云平台。a sending module, configured to send the photo of the contestant to the storage device if the contestant has a storage device bound to the account (if the storage device of the contestant uses the external network to access the private cloud server through the private cloud platform) The storage device runs a private cloud platform.
所述的照片获取及分类模块还包括:The photo acquisition and classification module further includes:
照片打包模块,用于获取所有参赛选手的照片时,利用RTSP协议将照片打包成流媒体进行传输。The photo packaging module is used to collect photos of all contestants and package the photos into streaming media for transmission using the RTSP protocol.
所述的照片获取及分类模块还包括:The photo acquisition and classification module further includes:
协议存储模块,用于所述指定设备直接获取各个摄影师拍摄的照片时,指定设备中存储有不同型号的相机的协议;a protocol storage module, configured to: when the specified device directly obtains photos taken by each photographer, specify a protocol in which a camera of a different model is stored in the device;
型号识别及连接模块,用于通过识别相机的型号,实现与不同型号的相机通过C/S模式或P2P模式进行万能连接。The model identification and connection module is used to realize universal connection with different models of cameras through C/S mode or P2P mode by recognizing the camera model.
所述的照片获取及分类模块还包括:The photo acquisition and classification module further includes:
连接模块,用于当摄影师的客户端与指定设备处于同一局域网时,摄影师的客户端与指定设备进行连接;a connection module, configured to connect the photographer's client with the designated device when the photographer's client is on the same local area network as the designated device;
访问及数据发送模块,用于摄影师的客户端根据指定设备的IP地址访问指定设备并将拍摄的照片发送至指定设备;所述的摄影师的客户端中运行有私有云平台。The access and data sending module, the client for the photographer accesses the specified device according to the IP address of the specified device and sends the taken photo to the designated device; the photographer's client runs a private cloud platform.
所述的照片获取及分类模块还包括:The photo acquisition and classification module further includes:
数据存储请求发送模块,用于当摄影师的客户端与指定设备处于不同的网络中时,摄影师的客户端通过用户账号登陆私有云平台并通过私有云平台向私有云服务器发送照片数据存储请求;所述的摄影师的客户端中运行有私有云平台;The data storage request sending module is configured to: when the photographer's client and the designated device are in different networks, the photographer's client logs into the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform. The photographer's client runs a private cloud platform;
指定设备访问模块,用于指定设备利用外部网络通过私有云平台访问私有云服务器,并将其域名通过私有云平台发送至私有云服务器;The device access module is configured to specify that the device accesses the private cloud server through the private cloud platform by using the external network, and sends the domain name to the private cloud server through the private cloud platform;
域名反馈模块,用于私有云服务器根据摄影师的客户端用户账号与指定设备ID的对应绑定关系,将指定设备的域名反馈给摄影师的客户端;The domain name feedback module is used by the private cloud server to feed back the domain name of the specified device to the client of the photographer according to the corresponding binding relationship between the photographer's client user account and the specified device ID;
远程存储模块,用于摄影师的客户端根据所述的指定设备的域名访问指定设备,进行照片的远程存储。The remote storage module, the client for the photographer accesses the designated device according to the domain name of the specified device, and performs remote storage of the photo.
所述的域名反馈模块还包括:The domain name feedback module further includes:
绑定关系建立模块,用于利用LDAP技术建立多个独立账号并分别与指定设备的ID进行绑定(同时可以使得指定设备中分配与各个独立账号对应的独立的存储空间),所述的多个独 立账号分别作为各个摄影师的客户端用户账号。The binding relationship establishing module is configured to establish multiple independent accounts by using the LDAP technology and bind the IDs of the specified devices respectively (at the same time, the designated devices may be allocated independent storage spaces corresponding to the respective independent accounts), the multiple Separate accounts are used as client user accounts for each photographer.
还包括:绑定模块;Also included: a binding module;
所述的绑定模块包括:The binding module includes:
广播发送模块,用于客户端发出广播;a broadcast sending module, configured to send a broadcast by the client;
ID信息反馈模块,用于处于同一局域网的存储设备反馈回自身的ID信息;An ID information feedback module, configured to return back to the ID information of the storage device in the same local area network;
A绑定模块,用于客户端根据所述的ID信息,将存储设备的ID与客户端账号进行绑定;The A binding module is configured to bind, by the client, the ID of the storage device to the client account according to the ID information;
或者所述的绑定模块包括:Or the binding module includes:
B绑定模块,用于当客户端和存储设备接触时,通过存储设备中的NFC模块将存储设备的ID传输给客户端,客户端接收到所述ID后将存储设备的ID与客户端账号进行绑定。The B binding module is configured to transmit the ID of the storage device to the client through the NFC module in the storage device when the client contacts the storage device, and the client stores the ID of the device and the client account after receiving the ID. Bind.
或者所述的绑定模块包括:Or the binding module includes:
多账号绑定模块,用于利用LDAP技术建立多个独立账号并分别与存储设备的ID进行绑定;The multi-account binding module is configured to establish multiple independent accounts by using the LDAP technology and bind the IDs of the storage devices respectively;
存储空间分配模块,用于存储设备分配与各个独立账号对应的独立的存储空间;a storage space allocation module, configured to store, by the device, an independent storage space corresponding to each independent account;
或者所述的绑定模块包括:Or the binding module includes:
主账号及子账号绑定模块,用于建立主账号及子账号与存储设备ID的绑定关系。The primary account and the sub-account binding module are used to establish a binding relationship between the primary account and the sub-account and the storage device ID.
本发明还包括:照片读取模块;The invention also includes: a photo reading module;
所述的照片读取模块包括:The photo reading module includes:
客户端远程访问模块,用于若客户端与存储设备处于不同的网络中,客户端利用账号登陆私有云平台,利用所述的私有云平台向私有云服务器发送数据存取请求;a client remote access module, configured to: when the client and the storage device are in different networks, the client uses the account to log in to the private cloud platform, and uses the private cloud platform to send a data access request to the private cloud server;
存储设备访问模块,用于存储设备利用外部网络通过私有云平台将其域名发送至私有云服务器;a storage device access module, configured to use the external network to send the domain name to the private cloud server through the private cloud platform;
域名反馈模块,用于私有云服务器根据用户账号与存储设备的ID信息的对应绑定关系,将相应的存储设备的域名反馈给客户端;The domain name feedback module is configured to feed back the domain name of the corresponding storage device to the client according to the binding relationship between the user account and the ID information of the storage device;
远程照片读取模块,用于客户端根据所述的存储设备的域名通过私有云平台访问存储设备,进行远程照片读取。The remote photo reading module is configured to perform remote photo reading by the client accessing the storage device through the private cloud platform according to the domain name of the storage device.
本发明还包括:The invention also includes:
判断模块,用于当客户端通过私有云平台发送用户账号与存储设备ID的绑定请求时,存储设备的私有云平台判断所述的存储设备ID是否被绑定过;如果已被绑定过,则拒绝该绑定请求;如果未被绑定过,则同意该绑定请求;a judging module, configured to: when the client sends a binding request of the user account and the storage device ID through the private cloud platform, the private cloud platform of the storage device determines whether the storage device ID is bound; if it has been bound Rejecting the binding request; if not bound, agreeing to the binding request;
绑定关系存储模块,用于用户账号与存储设备ID进行绑定后,客户端、存储设备保存该绑 定关系;The binding relationship storage module is configured to: after the user account is bound to the storage device ID, the client and the storage device save the binding relationship;
绑定关系列表更新模块,用于用户账号与存储设备ID进行绑定后,私有云服务器更新用户账号与存储设备ID的对应绑定关系列表。The binding relationship list update module is configured to: after the user account is bound to the storage device ID, the private cloud server updates the corresponding binding relationship list of the user account and the storage device ID.
本发明的一种实施例的工作原理:The working principle of an embodiment of the invention:
比如马拉松比赛现场安排了30名摄影师进行拍照,这些摄影师所携带的相机种类各异,包括运动相机、全景相机、监控相机、美颜相机、专业相机等。摄影师拍照后,可近距离或远程将照片发送至指定设备(比如可以是运行有私有云平台的马拉松报名系统,或者是运行有私有云平台的存储设备,或者是私有云服务器等),具体地说,近距离传输时,由于指定设备具有WIFI模块、网络模块、RJ45接口、USB接口、SD卡槽中的一种或几种,同时还存储有不同型号的相机的协议,从而适应各种型号的相机;识别相机的型号,并与不同型号的相机通过C/S模式或P2P模式实现万能连接,然后获取相机中的参赛选手的照片;或者当摄影师的客户端与指定设备处于同一局域网时,摄影师的客户端与指定设备进行连接,并根据指定设备的IP地址访问指定设备并将拍摄的照片发送至指定设备;所述的摄影师的客户端中运行有私有云平台。如果摄影师无法近距离的发送照片至指定设备,则可远程发送。具体的说,首先,可以利用LDAP技术建立多个独立账号并分别与指定设备的ID进行绑定(同时可以使得指定设备中分配与各个独立账号对应的独立的存储空间),所述的多个独立账号分别作为各个摄影师的客户端用户账号。然后摄影师的客户端通过用户账号登陆私有云平台并通过私有云平台向私有云服务器发送照片数据存储请求;指定设备利用外部网络通过私有云平台访问私有云服务器,并将其域名通过私有云平台发送至私有云服务器;所述的摄影师的客户端中运行有私有云平台;私有云服务器根据摄影师的客户端用户账号与指定设备ID的对应绑定关系,将指定设备的域名反馈给摄影师的客户端;摄影师的客户端根据所述的指定设备的域名访问指定设备,进行照片的远程存储。For example, 30 photographers arranged photos for the marathon. These photographers carry a variety of cameras, including sports cameras, panoramic cameras, surveillance cameras, beauty cameras, professional cameras and so on. After the photographer takes a photo, the photo can be sent to a specified device (for example, a marathon registration system running a private cloud platform, a storage device running a private cloud platform, or a private cloud server, etc.). In the case of short-distance transmission, since the designated device has one or more of a WIFI module, a network module, an RJ45 interface, a USB interface, and an SD card slot, a protocol of a camera of a different model is also stored, thereby adapting to various types. Model camera; recognizes the camera model and enables universal connection with different models of camera through C/S mode or P2P mode, and then obtains the photos of the contestants in the camera; or when the photographer's client is in the same LAN as the specified device When the photographer's client connects with the specified device, and accesses the specified device according to the IP address of the specified device and sends the taken photo to the designated device; the photographer's client runs a private cloud platform. If the photographer is unable to send photos to the specified device at close range, they can send them remotely. Specifically, first, the LDAP technology can be used to establish multiple independent accounts and be respectively bound with the IDs of the specified devices (at the same time, the designated devices can be allocated independent storage spaces corresponding to the respective independent accounts), the multiple Separate accounts are used as client user accounts for each photographer. Then, the photographer's client logs in the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform; the designated device accesses the private cloud server through the private cloud platform by using the external network, and passes the domain name through the private cloud platform. Sending to the private cloud server; the photographer's client runs a private cloud platform; the private cloud server feeds back the domain name of the specified device to the camera according to the corresponding binding relationship between the photographer's client user account and the specified device ID. The client's client; the photographer's client accesses the specified device according to the domain name of the specified device, and performs remote storage of photos.
获取照片后,根据参赛选手报名时提供的姓名、照片,对所获取的照片进行分类并标注姓名,分类后,私有云判断参赛选手是否具有与客户端账号(如报名时提供的手机号)绑定的存储设备(参赛选手为了自动获取照片,可以提前通过以下方式将客户端账号(如手机号)与存储设备ID进行绑定:客户端发出广播,处于同一局域网的存储设备反馈回自身的ID信息,客户端根据所述的ID信息,将存储设备的ID与客户端账号进行绑定;或者当客户端和存储设备接触时,通过存储设备中的NFC模块将存储设备的ID传输给客户端,客户端接收到所述ID后将存储设备的ID与客户端账号进行绑定;或者利用LDAP技术建立多个独立账号并分别与存储设备的ID进行绑定,同时使得存储设备中分配与各个独 立账号对应的独立的存储空间;或者通过设置主账号及子账号,分别建立所述主账号及子账号与存储设备ID的绑定关系);若有,则将该选手的照片发送至其存储设备中;所述的存储设备中运行有私有云平台。After obtaining the photo, according to the name and photo provided by the contestant when registering, the obtained photos are classified and the name is marked. After classification, the private cloud judges whether the contestant has a binding with the client account (such as the mobile phone number provided at the time of registration). The storage device (in order to automatically obtain photos, the contestant can bind the client account (such as mobile phone number) with the storage device ID in advance by the following method: the client sends a broadcast, and the storage device in the same local area network feeds back its own ID. The information, the client binds the ID of the storage device to the client account according to the ID information, or transmits the ID of the storage device to the client through the NFC module in the storage device when the client contacts the storage device. After receiving the ID, the client binds the ID of the storage device to the client account, or establishes multiple independent accounts by using the LDAP technology, and respectively binds to the ID of the storage device, and simultaneously allocates and stores the storage device. Separate storage space corresponding to the independent account; or establish the main account and sub-account respectively, respectively An account number and a binding relationship with the sub-storage apparatus ID); if so, it is sent to the storage device of the photo player; storage device in the private cloud running internet.
当照片推送至参赛选手的存储设备后,参赛选手对其存储设备中的照片进行读取时,若客户端与存储设备处于不同的网络中,为了实现远程安全准确的进行数据读取,则可以利用客户端账号登陆私有云平台,利用所述的私有云平台向私有云服务器发送数据存取请求;存储设备利用外部网络通过私有云平台将其域名发送至私有云服务器;私有云服务器根据用户账号与存储设备的ID信息的对应绑定关系,将相应的存储设备的域名反馈给客户端;客户端根据所述的存储设备的域名通过私有云平台访问存储设备,进行远程数据读取;其中,所述的客户端中运行有私有云平台。若客户端与存储设备处于同一局域网时,则参赛选手直接通过存储设备的IP地址访问其存储设备中的照片。When the photo is pushed to the participating player's storage device, if the contestant reads the photo in the storage device, if the client and the storage device are in different networks, in order to realize remote security and accurate data reading, Logging in to the private cloud platform by using the client account, using the private cloud platform to send a data access request to the private cloud server; the storage device uses the external network to send the domain name to the private cloud server through the private cloud platform; the private cloud server is based on the user account Corresponding binding relationship with the ID information of the storage device, the domain name of the corresponding storage device is fed back to the client; the client accesses the storage device through the private cloud platform according to the domain name of the storage device, and performs remote data reading; The client runs a private cloud platform. If the client and the storage device are on the same local area network, the contestant directly accesses the photos in the storage device through the IP address of the storage device.
为了避免非法访问参赛选手的存储设备的数据,进一步提高数据访问的安全性,实现用户存储设备私有化,当客户端通过私有云平台发送用户账号与存储设备ID的绑定请求时,存储设备的私有云平台判断所述的存储设备ID是否被绑定过,如果已被绑定过,则拒绝该绑定请求;如果未被绑定过,则同意该绑定请求;用户账号与存储设备ID进行绑定后,客户端、存储设备保存该绑定关系,私有云服务器更新用户账号与存储设备ID的对应绑定关系列表(此时排除存储设备共享的情况)。In order to avoid unauthorized access to the data of the competitor's storage device, the security of the data access is further improved, and the user storage device is privatized. When the client sends a binding request of the user account and the storage device ID through the private cloud platform, the storage device The private cloud platform determines whether the storage device ID is bound, and if it has been bound, rejects the binding request; if not, the binding request is agreed; the user account and the storage device ID After the binding is performed, the client and the storage device save the binding relationship, and the private cloud server updates the corresponding binding relationship list between the user account and the storage device ID (in this case, the storage device sharing is excluded).
Claims (10)
- 一种照片分发方法,其特征在于,包括以下步骤:A photo distribution method, comprising the steps of:S1,获取所有参赛选手的照片并进行分类;S1, obtain photos of all contestants and classify them;S2,私有云判断参赛选手是否具有与客户端账号绑定的存储设备;S2, the private cloud determines whether the contestant has a storage device bound to the client account;S3,若有,则将该参赛选手的照片发送至其存储设备中;所述的存储设备中运行有私有云平台。S3, if any, sends the photo of the contestant to its storage device; the storage device runs a private cloud platform.
- 根据权利要求1所述的照片分发方法,其特征在于,步骤S1中,获取所有参赛选手的照片时,利用RTSP协议将照片打包成流媒体进行传输。The photo distribution method according to claim 1, wherein in step S1, when the photos of all the contestants are acquired, the photos are packaged into streaming media for transmission using the RTSP protocol.
- 根据权利要求1所述的照片分发方法,其特征在于,步骤S1包括以下步骤:The photo distribution method according to claim 1, wherein the step S1 comprises the following steps:S11,指定设备直接获取或者通过私有云获取各个摄影师拍摄的照片;所述的指定设备中运行有私有云平台;优选为,所述指定设备直接获取各个摄影师拍摄的照片时,指定设备中存储有不同型号的相机的协议;通过识别相机的型号,实现与不同型号的相机通过C/S模式或P2P模式进行万能连接;S11, the specified device directly obtains or obtains a photo taken by each photographer through a private cloud; the specified device runs a private cloud platform; preferably, when the specified device directly obtains photos taken by each photographer, the designated device is A protocol for storing cameras of different models; by universally identifying the camera model, it is possible to connect with different models of cameras through C/S mode or P2P mode;S12,根据参赛选手报名时提供的姓名和照片对获取的照片进行分类。S12, classify the acquired photos according to the names and photos provided by the contestants when they register.
- 根据权利要求1所述的照片分发方法,其特征在于,当摄影师的客户端与指定设备处于同一局域网时,步骤S11包括,摄影师的客户端与指定设备进行连接,并根据指定设备的IP地址访问指定设备并将拍摄的照片发送至指定设备;所述的摄影师的客户端中运行有私有云平台;当摄影师的客户端与指定设备处于不同的网络中时,步骤S11包括:The photo distribution method according to claim 1, wherein when the client of the photographer is in the same local area network as the designated device, step S11 includes: connecting the client of the photographer to the designated device, and according to the IP of the designated device The address accesses the designated device and sends the taken photo to the designated device; the photographer's client runs a private cloud platform; when the photographer's client is in a different network from the designated device, step S11 includes:S111,摄影师的客户端通过用户账号登陆私有云平台并通过私有云平台向私有云服务器发送照片数据存储请求;指定设备利用外部网络通过私有云平台访问私有云服务器,并将其域名通过私有云平台发送至私有云服务器;所述的摄影师的客户端中运行有私有云平台;S111, the photographer's client logs in the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform; the designated device accesses the private cloud server through the private cloud platform by using the external network, and passes the domain name through the private cloud. The platform is sent to the private cloud server; the photographer's client runs a private cloud platform;S112,私有云服务器根据摄影师的客户端用户账号与指定设备ID的对应绑定关系,将指定设备的域名反馈给摄影师的客户端;优选为,利用LDAP技术建立多个独立账号并分别与指定设备的ID进行绑定,所述的多个独立账号分别作为各个摄影师的客户端用户账号;S112. The private cloud server feeds back the domain name of the specified device to the client of the photographer according to the corresponding binding relationship between the client user account of the photographer and the specified device ID. Preferably, the LDAP technology is used to establish multiple independent accounts and respectively Binding the ID of the specified device, and the plurality of independent accounts are respectively used as client user accounts of the respective photographers;S113,摄影师的客户端根据所述的指定设备的域名访问指定设备,进行照片的远程存储。S113. The client of the photographer accesses the designated device according to the domain name of the specified device, and performs remote storage of the photo.
- 根据权利要求1所述的照片分发方法,其特征在于,步骤S2中,通过以下方式将客户端账号与存储设备ID进行绑定:客户端发出广播,处于同一局域网的存储设备反馈回自身的ID信息,客户端根据所述的ID信息,将存储设备的ID与客户端账号进行绑定;或者当客户端和存储设备接触时,通过存储设备中的NFC模块将存储设备的ID传输给客户端,客户端接收到所述ID后将存储设备的ID与客户端账号进行绑定;或者利用LDAP技术建立多个独立账号并分别与存储设备的ID进行绑定,同时使得存储设备中分配与各个独立账号 对应的独立的存储空间;或者通过设置主账号及子账号,分别建立所述主账号及子账号与存储设备ID的绑定关系。The photo distribution method according to claim 1, wherein in step S2, the client account is bound to the storage device ID in the following manner: the client sends a broadcast, and the storage device in the same local area network feeds back its own ID. The information, the client binds the ID of the storage device to the client account according to the ID information, or transmits the ID of the storage device to the client through the NFC module in the storage device when the client contacts the storage device. After receiving the ID, the client binds the ID of the storage device to the client account, or establishes multiple independent accounts by using the LDAP technology, and respectively binds to the ID of the storage device, and simultaneously allocates and stores the storage device. The independent storage space corresponding to the independent account; or by setting the primary account and the sub-account, respectively establishing the binding relationship between the primary account and the sub-account and the storage device ID.
- 一种照片分发系统,其特征在于,包括:A photo distribution system, comprising:照片获取及分类模块,用于获取所有参赛选手的照片并进行分类;Photo acquisition and classification module for taking photos and classifying all contestants;判断模块,用于私有云判断参赛选手是否具有与账号绑定的存储设备;a judging module, configured for the private cloud to determine whether the contestant has a storage device bound to the account;发送模块,用于若参赛选手具有与账号绑定的存储设备,则将该参赛选手的照片发送至其存储设备中;所述的存储设备中运行有私有云平台。The sending module is configured to: if the contestant has a storage device bound to the account, send the photo of the contestant to the storage device; the storage device runs a private cloud platform.
- 根据权利要求6所述的照片分发系统,其特征在于,所述的照片获取及分类模块还包括:The photo distribution system according to claim 6, wherein the photo acquisition and classification module further comprises:照片打包模块,用于获取所有参赛选手的照片时,利用RTSP协议将照片打包成流媒体进行传输。The photo packaging module is used to collect photos of all contestants and package the photos into streaming media for transmission using the RTSP protocol.
- 根据权利要求6所述的照片分发系统,其特征在于,所述的照片获取及分类模块还包括:The photo distribution system according to claim 6, wherein the photo acquisition and classification module further comprises:协议存储模块,用于所述指定设备直接获取各个摄影师拍摄的照片时,指定设备中存储有不同型号的相机的协议;a protocol storage module, configured to: when the specified device directly obtains photos taken by each photographer, specify a protocol in which a camera of a different model is stored in the device;型号识别及连接模块,用于通过识别相机的型号,实现与不同型号的相机通过C/S模式或P2P模式进行万能连接。The model identification and connection module is used to realize universal connection with different models of cameras through C/S mode or P2P mode by recognizing the camera model.
- 根据权利要求6所述的照片分发系统,其特征在于,所述的照片获取及分类模块还包括:The photo distribution system according to claim 6, wherein the photo acquisition and classification module further comprises:连接模块,用于当摄影师的客户端与指定设备处于同一局域网时,摄影师的客户端与指定设备进行连接;a connection module, configured to connect the photographer's client with the designated device when the photographer's client is on the same local area network as the designated device;访问及数据发送模块,用于摄影师的客户端根据指定设备的IP地址访问指定设备并将拍摄的照片发送至指定设备;所述的摄影师的客户端中运行有私有云平台;An access and data sending module, the client for the photographer accesses the specified device according to the IP address of the specified device and sends the taken photo to the designated device; the photographer's client runs a private cloud platform;或者所述的照片获取及分类模块还包括:Or the photo acquisition and classification module further includes:数据存储请求发送模块,用于当摄影师的客户端与指定设备处于不同的网络中时,摄影师的客户端通过用户账号登陆私有云平台并通过私有云平台向私有云服务器发送照片数据存储请求;所述的摄影师的客户端中运行有私有云平台;The data storage request sending module is configured to: when the photographer's client and the designated device are in different networks, the photographer's client logs into the private cloud platform through the user account and sends a photo data storage request to the private cloud server through the private cloud platform. The photographer's client runs a private cloud platform;指定设备访问模块,用于指定设备利用外部网络通过私有云平台访问私有云服务器,并将其域名通过私有云平台发送至私有云服务器;The device access module is configured to specify that the device accesses the private cloud server through the private cloud platform by using the external network, and sends the domain name to the private cloud server through the private cloud platform;域名反馈模块,用于私有云服务器根据摄影师的客户端用户账号与指定设备ID的对应绑定 关系,将指定设备的域名反馈给摄影师的客户端;The domain name feedback module is configured to: the private cloud server feeds back the domain name of the specified device to the client of the photographer according to the corresponding binding relationship between the client user account of the photographer and the specified device ID;远程存储模块,用于摄影师的客户端根据所述的指定设备的域名访问指定设备,进行照片的远程存储;a remote storage module, wherein the client for the photographer accesses the designated device according to the domain name of the specified device, and performs remote storage of the photo;优选为,Preferably,所述的域名反馈模块还包括:The domain name feedback module further includes:绑定关系建立模块,用于利用LDAP技术建立多个独立账号并分别与指定设备的ID进行绑定,所述的多个独立账号分别作为各个摄影师的客户端用户账号。The binding relationship establishing module is configured to establish multiple independent accounts by using the LDAP technology and respectively bind with the IDs of the specified devices, and the plurality of independent accounts respectively serve as client user accounts of the respective photographers.
- 根据权利要求6所述的照片分发系统,其特征在于,还包括:绑定模块;The photo distribution system according to claim 6, further comprising: a binding module;所述的绑定模块包括:The binding module includes:广播发送模块,用于客户端发出广播;a broadcast sending module, configured to send a broadcast by the client;ID信息反馈模块,用于处于同一局域网的存储设备反馈回自身的ID信息;An ID information feedback module, configured to return back to the ID information of the storage device in the same local area network;A绑定模块,用于客户端根据所述的ID信息,将存储设备的ID与客户端账号进行绑定;或者所述的绑定模块包括:The A binding module is configured to bind the ID of the storage device to the client account according to the ID information, or the binding module includes:B绑定模块,用于当客户端和存储设备接触时,通过存储设备中的NFC模块将存储设备的ID传输给客户端,客户端接收到所述ID后将存储设备的ID与客户端账号进行绑定。The B binding module is configured to transmit the ID of the storage device to the client through the NFC module in the storage device when the client contacts the storage device, and the client stores the ID of the device and the client account after receiving the ID. Bind.或者所述的绑定模块包括:Or the binding module includes:多账号绑定模块,用于利用LDAP技术建立多个独立账号并分别与存储设备的ID进行绑定;The multi-account binding module is configured to establish multiple independent accounts by using the LDAP technology and bind the IDs of the storage devices respectively;存储空间分配模块,用于存储设备分配与各个独立账号对应的独立的存储空间;a storage space allocation module, configured to store, by the device, an independent storage space corresponding to each independent account;或者所述的绑定模块包括:Or the binding module includes:主账号及子账号绑定模块,用于建立主账号及子账号与存储设备ID的绑定关系。The primary account and the sub-account binding module are used to establish a binding relationship between the primary account and the sub-account and the storage device ID.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710992247.X | 2017-10-23 | ||
CN201710992247.XA CN107995157B (en) | 2017-10-23 | 2017-10-23 | Photo distribution method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019080452A1 true WO2019080452A1 (en) | 2019-05-02 |
Family
ID=62029946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/081231 WO2019080452A1 (en) | 2017-10-23 | 2018-03-30 | Photo distribution method and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107995157B (en) |
WO (1) | WO2019080452A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113157373A (en) * | 2021-04-27 | 2021-07-23 | 上海全云互联网科技有限公司 | Content annotation platform and method based on cloud desktop |
US11283805B2 (en) | 2018-07-16 | 2022-03-22 | Alibaba Group Holding Limited | Cloud device account configuration method, apparatus and system, and data processing method |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109472230B (en) * | 2018-10-30 | 2022-04-22 | 华南理工大学 | Automatic athlete shooting recommendation system and method based on pedestrian detection and Internet |
CN110264298A (en) * | 2019-04-26 | 2019-09-20 | 广东虎彩影像有限公司 | A kind of photography service system |
CN111885175B (en) * | 2020-07-27 | 2023-04-07 | 陈军 | Method and system for downloading network disk directory file |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140095626A1 (en) * | 2011-10-19 | 2014-04-03 | Primax Electronics Ltd. | Photo sharing system with face recognition function |
CN104317932A (en) * | 2014-10-31 | 2015-01-28 | 小米科技有限责任公司 | Photo sharing method and device |
CN105069075A (en) * | 2015-07-31 | 2015-11-18 | 小米科技有限责任公司 | Photo sharing method and device |
US20160105526A1 (en) * | 2014-10-13 | 2016-04-14 | International Business Machines Corporation | Photographic Album Creation and Sharing |
CN105824875A (en) * | 2016-02-26 | 2016-08-03 | 维沃移动通信有限公司 | Photo sharing method and mobile terminal |
CN106055644A (en) * | 2016-05-31 | 2016-10-26 | 朱彤 | Automatic cloud sorting scheme for digital photographs |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8655939B2 (en) * | 2007-01-05 | 2014-02-18 | Digital Doors, Inc. | Electromagnetic pulse (EMP) hardened information infrastructure with extractor, cloud dispersal, secure storage, content analysis and classification and method therefor |
CN102223420A (en) * | 2011-07-07 | 2011-10-19 | 河南科技大学 | Digital content distribution method for multimedia social network |
CN102982064A (en) * | 2012-09-27 | 2013-03-20 | 北京摹位传奇网络科技有限责任公司 | Method and device for automatic distribution of media files |
KR101568063B1 (en) * | 2013-11-06 | 2015-11-10 | 건국대학교 산학협력단 | Method for transcoding mutimedia, and hadoop-based mulimedia transcoding system operating the same |
CN103945001A (en) * | 2014-05-05 | 2014-07-23 | 百度在线网络技术(北京)有限公司 | Picture sharing method and device |
CN105119971A (en) * | 2015-07-17 | 2015-12-02 | 努比亚技术有限公司 | Mobile terminal and fast mutual-picture-taking sharing system and method |
CN105634889A (en) * | 2016-01-29 | 2016-06-01 | 深圳市美贝壳科技有限公司 | Family cloud system, method and device |
-
2017
- 2017-10-23 CN CN201710992247.XA patent/CN107995157B/en active Active
-
2018
- 2018-03-30 WO PCT/CN2018/081231 patent/WO2019080452A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140095626A1 (en) * | 2011-10-19 | 2014-04-03 | Primax Electronics Ltd. | Photo sharing system with face recognition function |
US20160105526A1 (en) * | 2014-10-13 | 2016-04-14 | International Business Machines Corporation | Photographic Album Creation and Sharing |
CN104317932A (en) * | 2014-10-31 | 2015-01-28 | 小米科技有限责任公司 | Photo sharing method and device |
CN105069075A (en) * | 2015-07-31 | 2015-11-18 | 小米科技有限责任公司 | Photo sharing method and device |
CN105824875A (en) * | 2016-02-26 | 2016-08-03 | 维沃移动通信有限公司 | Photo sharing method and mobile terminal |
CN106055644A (en) * | 2016-05-31 | 2016-10-26 | 朱彤 | Automatic cloud sorting scheme for digital photographs |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11283805B2 (en) | 2018-07-16 | 2022-03-22 | Alibaba Group Holding Limited | Cloud device account configuration method, apparatus and system, and data processing method |
CN113157373A (en) * | 2021-04-27 | 2021-07-23 | 上海全云互联网科技有限公司 | Content annotation platform and method based on cloud desktop |
Also Published As
Publication number | Publication date |
---|---|
CN107995157A (en) | 2018-05-04 |
CN107995157B (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019080452A1 (en) | Photo distribution method and system | |
KR101548574B1 (en) | Network connected media gateway for communication networks | |
RU2654168C2 (en) | Photo sharing method and apparatus | |
CN104410615B (en) | Method, client, server and the system to access to shared data | |
CN102843442B (en) | Method for configuring networked cameras | |
US9450784B2 (en) | Communicating data among personal clouds | |
CN108737476B (en) | Cloud storage system, media data storage method and system | |
WO2016078550A1 (en) | Photo distribution method and terminal | |
RU2013106924A (en) | COMMUNICATION BETWEEN DEVICES | |
US9122910B2 (en) | Method, apparatus, and system for friend recommendations | |
US20210105337A1 (en) | Profile information sharing | |
WO2015190009A1 (en) | Object image information management server, object-related information management server, program, recording medium, and object image information management method | |
WO2014166133A1 (en) | Method, apparatus, and system for friend recommendations | |
CN104540086A (en) | Business card information transmission method and device | |
WO2020253223A1 (en) | Geographic position-based multimedia information display method, system and apparatus, and device | |
CN107766430B (en) | File searching method and system | |
US9743248B2 (en) | Systems and methods for media sharing | |
JP2016072793A (en) | Remote conference system, program, security server and application server | |
CN106603992A (en) | Monitoring system | |
KR20180068054A (en) | Data sharing method among passengers of vehicle and system thereof | |
EP2211529B1 (en) | Method for sharing file between control point and media server in a DLNA system, and system thereof | |
KR100798917B1 (en) | Digital photo contents system and method adn device for transmitting/receiving digital photo contents in digital photo contents system | |
CN112822208A (en) | Internet of things equipment identification method and system based on block chain | |
CN111092958A (en) | Node access method, device, system and storage medium | |
CN106649528A (en) | Picture writing and reading methods and devices |
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: 18869556 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 1205 A DATED 11/01/2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18869556 Country of ref document: EP Kind code of ref document: A1 |