CN107741989A - A kind of image-data management method - Google Patents

A kind of image-data management method Download PDF

Info

Publication number
CN107741989A
CN107741989A CN201711038317.4A CN201711038317A CN107741989A CN 107741989 A CN107741989 A CN 107741989A CN 201711038317 A CN201711038317 A CN 201711038317A CN 107741989 A CN107741989 A CN 107741989A
Authority
CN
China
Prior art keywords
server
photograph album
party
user
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711038317.4A
Other languages
Chinese (zh)
Inventor
张利达
张鹏
赵德坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangxi Borui Tongyun Technology Co Ltd
Original Assignee
Jiangxi Borui Tongyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangxi Borui Tongyun Technology Co Ltd filed Critical Jiangxi Borui Tongyun Technology Co Ltd
Priority to CN201711038317.4A priority Critical patent/CN107741989A/en
Publication of CN107741989A publication Critical patent/CN107741989A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • G06F21/445Program or device authentication by mutual authentication, e.g. between devices or programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present embodiments relate to a kind of image-data management method, including:First user terminal receives the image uploading instructions of the first user input, and generates image upload information according to image uploading instructions and be sent to third-party server;The image data of image upload information including image to be shared, uplink time, picture size parameter, third party's ID of the first user and image data photograph album to be uploaded photograph album ID;View data is stored in cloud database by third-party server, and obtains the storage address information of view data;Photograph album ID, third party's ID of the first user, view data, picture size parameter, uplink time and storage address information are sent to first server by third-party server;First server generates image ID according to view data, and image ID, third party's ID of the first user, uplink time, picture size parameter, storage address information are stored in the corresponding just list data of photograph album ID.

Description

A kind of image-data management method
Technical field
The present invention relates to communication technical field, more particularly to a kind of image-data management method.
Background technology
With the development in epoch, the raising of quality of life, realize that the shared of user image data turns into people using internet Live in a part.
At present, according to the demand of user, the application programs such as wechat, microblogging have been developed in the industry, but answer existing It is not to focus on very much privacy towards the application of photograph album sharing functionality in, only individual subscriber is visible, is exactly to have very much publicity, Towards the public or user whole good friend is visible.Meanwhile the shared photograph album do not set up in existing application for colony, it is impossible to Picture between photograph album member belonging to enough satisfactions shares demand.
Also, in existing shareware application process, the information for the view data that all users upload is stored in In one list, upload in image, check and during picture search, cause running background processing speed extremely slow, greatly reduce The Experience Degree of user.
The content of the invention
The purpose of the present invention is the defects of being directed to prior art, there is provided a kind of image-data management method, is arranged by picture Table data, album list data, member management table data and information about firms table data are realized to album picture and photograph album The management of middle information about firms, upload in image, check and running background processing speed can be improved during picture search, carry significantly The high Experience Degree of user.
In view of this, the embodiments of the invention provide a kind of image-data management method, including:
First user terminal receives the image uploading instructions of the first user input, and is generated according to described image uploading instructions Image upload information is sent to third-party server;Described image upload information includes the image data of image to be shared, uploaded Time, picture size parameter, third party's ID of the first user and the image data photograph album to be uploaded photograph album ID;
Described image data storage in cloud database, and is obtained depositing for described image data by the third-party server Store up address information;
The third-party server is by the photograph album ID, third party's ID of the first user, view data, picture size Parameter, uplink time and storage address information are sent to first server;
The first server generates image ID according to described image data, and by described image ID, the first user the Tripartite's ID, uplink time, picture size parameter, storage address information are stored in the corresponding just lists of the photograph album ID In data.
Preferably, the third-party server by described image data storage in cloud database, and obtain the figure As data storage address information before, methods described also includes:
The third-party server is given birth to according to the photograph album ID and picture size parameter of the photograph album to be uploaded of the image data The first server is sent into confirmation request is uploaded;
The first server obtains the remaining storage volume in corresponding album list data according to the photograph album ID;
The first server judges whether the picture size parameter is more than the remaining storage volume;
When the picture size parameter is not more than the remaining storage volume, the first server generation, which uploads, to be confirmed Instruction is sent to the third-party server.
It is further preferred that judge whether the picture size parameter is more than the remaining storage in the first server After capacity, methods described also includes:
When the picture size parameter is more than the remaining storage volume, the first server generation off-capacity carries Show that information is sent to the third-party server;
The off-capacity prompt message is sent to first user terminal by the third-party server.
It is further preferred that image ID is generated according to described image data in the first server, and by described image ID, third party's ID of first user, the uplink time, the storage address information are stored in the photograph album ID phases After in corresponding just list data, methods described also includes:
First server photograph album row according to corresponding to the uplink time, picture size parameter update the photograph album ID Table data.
Preferably, before the image uploading instructions that first user terminal receives the first user input, methods described Also include:
First user terminal, which receives, shares prompt message;The photograph album shared prompt message and include photograph album to be viewed ID;
That shares prompt message described in the first user terminal reception the first user input checks instruction, and generation is checked Request Concurrency gives third-party server;The third party's ID and photograph album ID checked request and include first user;
Request is checked described in the third-party server parsing, generation album data obtains request Concurrency and gives first service Device;The album data, which obtains request, includes the third party's ID and photograph album ID of first user;
The first server obtains corresponding member management table data according to photograph album ID, and determines member's pipe Manage the third party's ID that whether there is first user in table data;
If it does not, the first server generation user adds message, and it is sent to the third-party server;
The third-party server adds message according to the user, generates license confirmation information, and is sent to described the One server;
The first server generates checking information according to the license confirmation information and is sent to the third-party server;
The checking information is sent to first user terminal by the third-party server;
First user terminal receives the checking that the first user inputs according to the checking information and fills in data, and sends To third-party server;
The third-party server is filled in data to the checking and verified;
When being verified, the third-party server obtains corresponding according to third party's ID of first user The first user profile be sent to first server;First user profile includes the first user name;
The pass that the first server is established between third party's ID of first user and first user name Connection relation, and be stored in member management table data corresponding to the photograph album ID.
It is further preferred that described when being verified, the third-party server is according to the of first user Tripartite's ID obtains the first corresponding user profile and is sent to after first server, and methods described also includes:
First user profile is stored in information about firms table data corresponding to photograph album ID by the first server.
It is further preferred that described when being verified, the third-party server is according to the of first user Tripartite's ID obtains the first corresponding user profile and is sent to after first server, and methods described also includes:
The first server extracts the of the photograph album founder in member management table data corresponding to the photograph album ID Tripartite's ID;Also,
The first server generates addition prompting message according to first user profile, is sent to third party's clothes Business device, the addition prompting message is sent to third party's ID of the photograph album founder by the third-party server Corresponding user terminal;
The third-party server receives what user terminal corresponding to third party's ID of the photograph album founder was sent Confirm addition instruction, and be sent to the first server.
It is further preferred that before the image uploading instructions that first user terminal receives the first user input, institute Stating method also includes:
Third-party server receives the first service incoming instruction that photograph album founder terminal is sent, and according to the described first clothes Business incoming instruction generation first service access request is sent to first server;The first service incoming instruction is created including photograph album The third party's ID and UID for the person of building;
The first server generates access information according to first service access request, is sent to the third party's service Device, the access information is sent to by the photograph album founder terminal by the third-party server;
The photograph album founder terminal receives the access that the photograph album founder inputs according to the access information and confirms to refer to Order, generation access confirmation are simultaneously sent to the third-party server, by the third-party server that the access is true Recognize information and be sent to the first server;
The third party's ID and UID of photograph album founder in the first server extraction access confirmation, And the incidence relation established between the third party's ID and UID of the photograph album founder;Also,
The first server generates user profile according to third party's ID of the photograph album founder and obtains request, hair Give the third-party server;
The third-party server obtains corresponding photograph album according to third party's ID of the photograph album founder and created Person's information is sent to first server;The photograph album founder information includes photograph album founder's user name;
The first server establishes third party's ID of the photograph album founder and the photograph album founder user name Between incidence relation;
The first server obtains associated photograph album ID according to third party's ID of the photograph album founder, by institute The incidence relation stated between third party's ID of photograph album founder and the photograph album founder user name is stored in the photograph album In member management table data corresponding to ID.
It is further preferred that the first service access that the transmission of photograph album founder terminal is received in the third-party server refers to Before order, methods described also includes:
The photograph album founder terminal receives the user's registration request of the photograph album founder input;
The first server asks the UID of generation photograph album founder according to the user's registration, and is sent to the phase Volume founder's terminal;
The photograph album that the photograph album founder terminal receives the photograph album founder input creates instruction, and is sent to described the One server;The photograph album, which creates instruction, includes the UID of the photograph album founder;
The first server creates instruction generation photograph album ID according to the photograph album, and creates picture according to generation photograph album ID Table data, album list data, member management table data and information about firms table data.
A kind of image-data management method provided in an embodiment of the present invention, by just list data, album list data, Member management table data and information about firms table data realize the management to information about firms in album picture and photograph album, are scheming As uploading, checking and running background processing speed can be improved during picture search, the Experience Degree of user is substantially increased.
Brief description of the drawings
Fig. 1 is a kind of image-data management method flow chart provided in an embodiment of the present invention.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
A kind of management method of view data of the present invention is based on photograph album founder and creates just list in first server Data, album list data, member management table data and information about firms table data, therefore for a better understanding of the present invention, Introduce photograph album founder first below to register in first server, photograph album creates and the establishment process of each table data.
Photograph album founder terminal receives the user's registration request of photograph album founder input, is sent to first server;Wherein User basic information, such as the letter such as sex, age, country, province, city, phone number can be included in user's registration request Breath.It should be noted that first server refers to the server based on the first application service, in this example, first server carries What is supplied is the service for creating photograph album;Photograph album founder's terminal refers to the terminal device of photograph album founder, and terminal device specifically can be with The terminal device with input, display, communication and data processing function is interpreted as, for example, smart mobile phone or other handheld terminals Deng.
First server asks the UID of generation photograph album founder according to user's registration, and is sent to photograph album founder's terminal; Wherein, UID is the identity identification information that first server is sent to photograph album founder, and first server can be used according to UID Family is identified.
The photograph album that photograph album founder terminal receives photograph album founder input creates instruction, and is sent to first server;Phase Volume, which creates instruction, includes the UID of photograph album founder;Specifically, there is wound for the user of each first server The authority of photograph album is built, creating instruction in photograph album includes the UID of photograph album founder.
First server creates instruction generation photograph album ID according to photograph album, and creates just list data, phase according to photograph album ID Volume table data, member management table data and information about firms table data.Wherein, the corresponding photograph album ID of each photograph album, Identification for photograph album.
Specifically, just list data are used to store address information of all pictures in the photograph album etc., just list number Project information in can specifically include:UID, Image ID, photograph album ID, picture size, the picture storage place of photograph album founder The 3rd ID of location, picture uplink time and picture uploader etc.;Wherein, the concrete function of third-party server is following Process describes in detail.
Album list data are used to store picture total amount information in photograph album, and the project information in album list data specifically may be used With including:It is the UID of photograph album founder, photograph album ID, photograph album amount of capacity, photograph album residual capacity size, existing picture number, last Uplink time etc..
Member management table data is used to storing all members for being associated with the photograph album, the item in member management table data Mesh information can specifically include:The UID of photograph album founder, photograph album ID, third party's ID of all members and corresponding User name etc..
Information about firms table data is used for the information about firms of all members of the photograph album, the project in information about firms table data Information can specifically include:The UID of photograph album founder, photograph album ID, third party tripartite's ID of member, nationality, province, city City, sex, user name pet name etc.;It should be noted that a member can add multiple different photograph albums simultaneously, it is such a Member's can corresponds to the UID and photograph album ID of multiple photograph album founders.
Album function is realized based on third-party server in first server, is described below in third-party server Access the process of first server.
Third-party server receives the first service incoming instruction that photograph album founder terminal is sent, and is connect according to first service Enter instruction generation first service access request and be sent to first server;First service incoming instruction includes the of photograph album founder Tripartite's ID and UID;It should be noted that third-party server refers to the server based on third-party application, user can be with Click on the APP icons on mobile phone and enter the application that third-party server provides, the application that third-party server provides can be micro- Letter, QQ etc..It should be appreciated that first service can be accessed with the routine interface of third-party server, so as to which the first application be taken Business is linked into third party's service, so as to realize that first applies the operation in third-party application.
First server generates access information according to first service access request, is sent to third-party server, by the Access information is sent to photograph album founder's terminal by tripartite's server;Specifically, first server takes to the third party received The first service access request that business device is sent is parsed, and obtains the third party's ID and UID of photograph album founder;First service Device to the UID of photograph album founder verify the identity of photograph album founder, when confirmation photograph album founder family is the first clothes During the user of business, access information is generated according to the third party's ID and UID of photograph album founder, is sent to third-party server, Access information is sent to the first user terminal by third-party server, and access information here can be understood as authorization requests.
Photograph album founder terminal receives the access that photograph album founder inputs according to access information and confirms instruction, and generation accesses true Recognize information and be sent to third-party server, first server is sent to by confirmation is accessed by third-party server;Need Shown it is noted that photograph album founder terminal generates access information display interface according to access information, on the surface Including agreeing to module and refusal module, when photograph album founder agrees to authorize, agreement module, photograph album founder's terminal can be clicked on Generation access confirmation, and it is sent to third-party server;Third-party server is sent to the first clothes by confirmation is accessed Business device, include the third party's ID and UID of photograph album founder in access confirmation certainly.
The third party's ID and UID of photograph album founder in first server extraction access confirmation, and establish phase Incidence relation between the third party's ID and UID of volume founder;Also, first server is according to the 3rd of photograph album founder Square ID generation user profile obtains request, is sent to third-party server;That is, establishing the of photograph album founder After incidence relation between tripartite's ID and UID, first server obtains associated phase according to the UID of photograph album founder Volume ID, corresponding member management table data is obtained according to photograph album ID, and by the third party's ID and UID of photograph album founder Incidence relation be stored in photograph album ID member management table data, in member management table data, because UID and photograph album ID is associated, and third party's ID also associates with UID, so third party's ID of photograph album founder is also related to photograph album ID Connection.
Third-party server obtains corresponding photograph album founder information according to third party's ID of photograph album founder and sent out Give first server;Photograph album founder's information includes photograph album founder's user name;Specifically, third-party server stores User Information Database, in User Information Database store third-party server user user profile, user profile be Fill in, and be stored in User Information Database after or before registration third party's ID, user profile is used with third party Family ID is to correspond, and with incidence relation;Third-party server according to third party's ID of photograph album founder with Corresponding photograph album founder's information is obtained in the information database of family and is sent to first server;Wherein, photograph album founder information Include photograph album founder's user name, photograph album founder's user name refers to the pet name of the user in the 3rd application;Created in photograph album Can also be including head image information etc. in the person's of building information.
The association that first server is established between third party's ID of photograph album founder and photograph album founder's user name is closed System;First server obtains associated photograph album ID according to third party's ID of photograph album founder, by the of photograph album founder Incidence relation between tripartite's ID and photograph album founder's user name is stored in member management table data corresponding to photograph album ID In, and the UID of photograph album founder is stored in corresponding information about firms table data, member management table data and photograph album In table data.
Fig. 1 is a kind of image-data management method flow chart provided in an embodiment of the present invention, as shown in figure 1, including:
Step 101, the first user terminal receives the image uploading instructions of the first user input, and according to image uploading instructions Generation image upload information is sent to third-party server;
It should be noted that the first user terminal refers to the terminal device of the first user, terminal device is specifically appreciated that For with input, display, communication and data processing function terminal device, for example, smart mobile phone or other handheld terminals etc..The Tripartite's server refers to the server based on third-party application, and third-party server rings by cloud database purchase view data The request of the first user terminal is answered, and is handled;Third party's ID of first user refers to that the first user takes in third party The identification information being engaged in device.It should be appreciated that first user must be the user of third-party server, and it is photograph album In member, but be not necessarily the user of first server.
Specifically, the first user terminal receives the image uploading instructions of the first user input, the first user can pass through a little The upload icon input picture uploading instructions hit on the first user terminal displays interface, the first user terminal uploads according to image to be referred to Order generation image upload information, and image upload information is sent to third-party server;Wherein, image upload information includes treating Share image data, uplink time, picture size parameter, third party's ID of the first user and the treating for image data of image Upload the photograph album ID of photograph album.
It should be noted that user's ability uploading pictures only in photograph album, carry out picture and share, therefore, in step 101 Before, method also includes the process that the first user is added in photograph album, specifically includes following process:
First user terminal, which receives, shares prompt message;Share the photograph album ID that prompt message includes photograph album to be viewed.Specifically , what the user terminal that third-party server receives participator was sent shares instruction, and third-party server is given birth to according to instruction is shared The first user terminal is sent into prompt message is shared;Wherein, participator refers to the member in photograph album, and is third party The user of server, but can not be the user of first server;Share the photograph album ID that prompt message includes photograph album to be viewed.
First user terminal receives the instruction of checking for sharing prompt message of the first user input, and request Concurrency is checked in generation Give third-party server;Check that request includes the third party's ID and photograph album ID of the first user.
Request is checked in third-party server parsing, and generation album data obtains request Concurrency and gives first server;Wherein, Album data, which obtains request, includes the third party's ID and photograph album ID of the first user.
First server obtains corresponding member management table data according to photograph album ID, and determines member management list number It whether there is third party's ID of the first user in;It should be noted that the member only in photograph album could be to belonging to it Photograph album content checked, therefore first server will judge whether the first user is member in photograph album to be viewed, specifically, First server obtains corresponding member management table data according to photograph album ID to be viewed, in member management table data Store the user profile on photograph album founder and all members;And determined whether there is in member management table data Third party's ID of first user, so as to understand the first user whether be the photograph album member.
If it does not, the first user of explanation is not the member in the photograph album, first server generation user adds message, And it is sent to third-party server.Third-party server adds message according to user, generates license confirmation information, and is sent to the One server.
First server generates checking information according to license confirmation information and is sent to third-party server;Specifically, first The Mobile Directory Number of photograph album founder in member management table data corresponding to server extraction photograph album ID (Mobile Directory Number, MDN), checking information is generated according to MDN, and be sent to third-party server, wherein, Checking information includes prompting data and verification data;That is, first server carries out data extraction according to MDN, MDN is extracted Preceding first magnitude bit data generation prompting data, and extract in MDN except preceding first number of bits other data generation verify Data.
In a preferred embodiment, in order to ensure the validity of prompting message and the reliability of checking, the first number of bits can To be set as 5.
During one specific, first server receives the license confirmation instruction that third-party server is sent, then The MDN of the photograph album promoter in member management table data is obtained, and data extraction is carried out to it, extracts MDN preceding first number Position data generation prompting data are measured, are extracted in MDN except other data generation verification data of preceding first number of bits, it is preferred that First number of bits is 5.It is, when MDN is the phone number of 11, prompting data are preceding 5 phone numbers, verification Data are remaining rear 6 phone numbers.Prompting data and verification data group are checking information, and then first server will be verified Information is sent to third-party server.
Checking information is sent to the first user terminal by third-party server;Specifically, third-party server receives first The checking information that server is sent, and dissection process is carried out, the prompting data in checking information are extracted, and will be prompted to data transmission To the first user terminal, the first user terminal receives prompting data, and loaded and displayed is checking interface, prompts data to be shown as carrying Show information.
First user terminal receives the checking that the first user inputs according to checking information and fills in data, and is sent to third party Server;Specifically, second user is according to the prompt message on checking interface, the input validation on specified position fills in data, Data are filled in the checking that first user terminal receives the first user input, are sent to third-party server, and take by third party Business device is filled in data to checking and verified.
Third-party server is filled in data to checking and verified;When being verified, third-party server is according to first Third party's ID of user obtains the first corresponding user profile and is sent to first server;Wherein, the first user profile In can include the first user name, in a preferred embodiment, the first user profile can also include head image information, nationality, province Part, city, sex, user name pet name etc..
The incidence relation that first server is established between third party's ID of the first user and the first user name, and store In member management table data corresponding to photograph album ID, so uploaded in subsequent user in photograph album on image, show the user User name and head portrait in third-party server.Simultaneously, the first user profile is stored in photograph album by first server Information about firms table data corresponding to ID, the management for the user profile of photograph album member.
In a preferred embodiment, in order to ensure the security of photograph album management, user is before photograph album is added, it is also necessary to To the agreement of photograph album founder, therefore, after being verified, method also includes:Corresponding to first server extraction photograph album ID Third party's ID of photograph album founder in member management table data;Also, first server is according to the first user profile Generation addition prompting message, is sent to third-party server, and photograph album is sent to by prompting message is added by third-party server User terminal corresponding to third party's ID of founder;Third-party server receives third party's ID pair of photograph album founder The confirmation addition instruction that the user terminal answered is sent, and it is sent to first server.
Step 102, view data is stored in cloud database by third-party server, and obtains the storage of view data Location information;
Specifically, third-party server receives the first user by cloud database purchase view data, third-party server The image upload information that terminal is sent, is parsed to it, in order to improve uploading speed, lifts Consumer's Experience, third party's service Device directly stores view data into cloud database, and obtains the storage address information of view data.
In a preferred embodiment, it is contemplated that the limitation of image store capacity, before step 102, methods described is also wrapped Include:Third-party server generates according to the photograph album ID and picture size parameter of the photograph album to be uploaded of image data and uploads confirmation request It is sent to first server;The remaining storage that first server is obtained according to photograph album ID in corresponding album list data is held Amount;First server judges whether picture size parameter is more than remaining storage volume;If the picture size ginseng of picture to be uploaded When number is not more than remaining storage volume, first server generation, which uploads, confirms that instruction is sent to third-party server, third party's clothes View data is stored in cloud database by business device;If the picture size parameter of picture to be uploaded is more than remaining storage volume When, first server generation off-capacity prompt message is sent to third-party server, and the 3rd server, which terminates, to be uploaded, and the Off-capacity prompt message is sent to the first user terminal by tripartite's server, prompts user's photograph album low memory.
Step 103, third-party server is by photograph album ID, third party's ID of the first user, view data, picture size Parameter, uplink time and storage address information are sent to first server;
Specifically, third-party server is big according to third party's ID, view data, the picture of photograph album ID, the first user Small parameter, uplink time and storage address information generation image upload completion information and are sent to first server.
Step 104, first server generates image ID according to view data, and by image ID, the third party of the first user ID, uplink time, picture size parameter, storage address information are stored in the corresponding just list data of photograph album ID.
Specifically, first server, according to view data generation image ID is received, image ID is the identification information of image, For the lookup and acquisition of image, first server establishes image ID and upload user third party's ID, storage address letter Incidence relation between breath, by image ID, third party's ID of the first user, uplink time, picture size parameter, storage Location information storage is in the corresponding just list data of photograph album ID.For image after upload, member, can be with when checking photograph album See the image of the upload and user name of uploader, head portrait and uplink time.
After this, method also includes:First server updates photograph album ID according to uplink time, picture size parameter and corresponded to Album list data;Specifically, the last uplink time in album list data is updated according to uplink time, it is big according to picture Photograph album residual capacity size in small parameter renewal album list data, and quantity renewal album list data are uploaded according to picture In existing picture number.
In a preferred embodiment, the image that a certain special member uploads in photograph album is checked in order to facilitate user, Specifically, user terminal receives the user name for the user to be searched that user inputs on photograph album displaying interface, search instruction is generated Third-party server is sent to, first server is sent to by third-party server;Wherein, the search instruction includes treating Search for the third party's ID and photograph album ID of user;First server obtains corresponding just list number according to photograph album ID According to, and when obtaining the upload of corresponding image data according to third party's ID of user to be searched in just list data Between, storage address information be sent to third-party server;Third-party server obtains according to storage address information in cloud database View data is taken, and view data and corresponding uplink time are sent to user terminal, user terminal is according to uplink time View data is shown.
For the ease of the management to photograph album member, photograph album founder also has the right for deleting photograph album member, when founder thinks When deleting certain member, the user that photograph album founder terminal receives the input of photograph album founder terminal deletes instruction, is sent to the Tripartite's server, first server is sent to by third-party server, wherein, user, which deletes instruction, includes photograph album founder's UID and third party's ID of deleted user;First server obtains associated photograph album according to the UID of photograph album founder ID, corresponding member management table data is called according to photograph album ID, deleted in member management table data and be deleted user Third party's ID and user name;And the third party for being deleted the member of user is deleted in information about firms table data Tripartite's ID, nationality, province, city, sex, user name pet name etc.;Meanwhile used in just list data according to deleted Third party's ID at family deletes the Image ID for being deleted the image data that user uploads, picture size, picture storage address, figure Piece uplink time etc.;Also, corresponding album list is updated according to the quantity, size, uplink time of deleted image data Photograph album residual capacity size, existing picture number, last uplink time in data etc..
A kind of image-data management method provided in an embodiment of the present invention, by just list data, album list data, Member management table data and information about firms table data realize the management to information about firms in album picture and photograph album, are scheming As uploading, checking and running background processing speed can be improved during picture search, the Experience Degree of user is substantially increased.
Professional should further appreciate that, each example described with reference to the embodiments described herein Unit and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, it is hard in order to clearly demonstrate The interchangeability of part and software, the composition and step of each example are generally described according to function in the above description. These functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme. Professional and technical personnel can realize described function using distinct methods to each specific application, but this realization It is it is not considered that beyond the scope of this invention.
The method that is described with reference to the embodiments described herein can use hardware, computing device the step of algorithm Software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described embodiment, the purpose of the present invention, technical scheme and beneficial effect are carried out further Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., all should include Within protection scope of the present invention.

Claims (9)

1. a kind of image-data management method, it is characterised in that methods described includes:
First user terminal receives the image uploading instructions of the first user input, and generates image according to described image uploading instructions Upload information is sent to third-party server;The image data of described image upload information including image to be shared, uplink time, The photograph album ID of the photograph album to be uploaded of picture size parameter, third party's ID of the first user and the image data;
Described image data storage in cloud database, and is obtained the storage of described image data by the third-party server Location information;
The third-party server joins the photograph album ID, third party's ID of the first user, view data, picture size Number, uplink time and storage address information are sent to first server;
The first server generates image ID according to described image data, and by described image ID, the third party of the first user ID, uplink time, picture size parameter, storage address information are stored in the corresponding just list data of the photograph album ID In.
2. image-data management method according to claim 1, it is characterised in that in the third-party server by described in View data is stored in cloud database, and before obtaining the storage address information of described image data, methods described also includes:
The third-party server generates according to the photograph album ID and picture size parameter of the photograph album to be uploaded of the image data Pass confirmation request and be sent to the first server;
The first server obtains the remaining storage volume in corresponding album list data according to the photograph album ID;
The first server judges whether the picture size parameter is more than the remaining storage volume;
When the picture size parameter is not more than the remaining storage volume, the first server generation, which uploads, confirms instruction It is sent to the third-party server.
3. image-data management method according to claim 2, it is characterised in that described in judging in the first server Whether picture size parameter is more than after the remaining storage volume, and methods described also includes:
When the picture size parameter is more than the remaining storage volume, the first server generation off-capacity prompting letter Breath is sent to the third-party server;
The off-capacity prompt message is sent to first user terminal by the third-party server.
4. image-data management method according to claim 2, it is characterised in that in the first server according to View data generates image ID, and by described image ID, third party's ID of first user, the uplink time, institute State after storage address information is stored in the corresponding just list data of the photograph album ID, methods described also includes:
First server album list number according to corresponding to the uplink time, picture size parameter update the photograph album ID According to.
5. image-data management method according to claim 1, it is characterised in that receive the in first user terminal Before the image uploading instructions of one user input, methods described also includes:
First user terminal, which receives, shares prompt message;The photograph album ID for sharing prompt message and including photograph album to be viewed;
First user terminal receives the instruction of checking for sharing prompt message of the first user input, and request is checked in generation And it is sent to third-party server;The third party's ID and photograph album ID checked request and include first user;
Request is checked described in the third-party server parsing, generation album data obtains request Concurrency and gives first server; The album data, which obtains request, includes the third party's ID and photograph album ID of first user;
The first server obtains corresponding member management table data according to photograph album ID, and determines the member management row It whether there is third party's ID of first user in table data;
If it does not, the first server generation user adds message, and it is sent to the third-party server;
The third-party server adds message according to the user, generates license confirmation information, and is sent to first clothes Business device;
The first server generates checking information according to the license confirmation information and is sent to the third-party server;
The checking information is sent to first user terminal by the third-party server;
First user terminal receives the checking that the first user inputs according to the checking information and fills in data, and is sent to the Tripartite's server;
The third-party server is filled in data to the checking and verified;
When being verified, the third-party server obtains corresponding the according to third party's ID of first user One user profile is sent to first server;First user profile includes the first user name;
The association that the first server is established between third party's ID of first user and first user name is closed System, and be stored in member management table data corresponding to the photograph album ID.
6. image-data management method according to claim 5, it is characterised in that described described when being verified Third-party server obtains the first corresponding user profile according to third party's ID of first user and is sent to first After server, methods described also includes:
First user profile is stored in information about firms table data corresponding to photograph album ID by the first server.
7. image-data management method according to claim 5, it is characterised in that described described when being verified Third-party server obtains the first corresponding user profile according to third party's ID of first user and is sent to first After server, methods described also includes:
The first server extracts the third party of the photograph album founder in member management table data corresponding to the photograph album ID ID;Also,
The first server generates addition prompting message according to first user profile, is sent to the third party's service Device, the addition prompting message is sent to third party's ID pair of the photograph album founder by the third-party server The user terminal answered;
The third-party server receives the confirmation that user terminal corresponding to third party's ID of the photograph album founder is sent Addition instruction, and it is sent to the first server.
8. image-data management method according to claim 1, it is characterised in that receive the in first user terminal Before the image uploading instructions of one user input, methods described also includes:
Third-party server receives the first service incoming instruction that photograph album founder terminal is sent, and is connect according to the first service Enter instruction generation first service access request and be sent to first server;The first service incoming instruction includes photograph album founder Third party's ID and UID;
The first server generates access information according to first service access request, is sent to the third-party server, leads to Cross the third-party server and the access information is sent to the photograph album founder terminal;
The photograph album founder terminal receives the access that the photograph album founder inputs according to the access information and confirms instruction, raw Into access confirmation and the third-party server is sent to, by the third-party server by the access confirmation It is sent to the first server;
The third party's ID and UID of photograph album founder in the first server extraction access confirmation, and build Found the incidence relation between the third party's ID and UID of the photograph album founder;Also,
The first server generates user profile according to third party's ID of the photograph album founder and obtains request, is sent to The third-party server;
The third-party server obtains corresponding photograph album founder according to third party's ID of the photograph album founder to be believed Breath is sent to first server;The photograph album founder information includes photograph album founder's user name;
The first server is established between third party's ID of the photograph album founder and the photograph album founder user name Incidence relation;
The first server obtains associated photograph album ID according to third party's ID of the photograph album founder, by the phase Incidence relation between third party's ID of volume founder and the photograph album founder user name is stored in ID pairs of the photograph album In the member management table data answered.
9. image-data management method according to claim 8, it is characterised in that receive phase in the third-party server Before the first service incoming instruction that volume founder terminal is sent, methods described also includes:
The photograph album founder terminal receives the user's registration request of the photograph album founder input;
The first server asks the UID of generation photograph album founder according to the user's registration, and is sent to the photograph album wound The person's of building terminal;
The photograph album that the photograph album founder terminal receives the photograph album founder input creates instruction, and is sent to first clothes Business device;The photograph album, which creates instruction, includes the UID of the photograph album founder;
The first server creates instruction generation photograph album ID according to the photograph album, and creates just list according to generation photograph album ID Data, album list data, member management table data and information about firms table data.
CN201711038317.4A 2017-10-30 2017-10-30 A kind of image-data management method Pending CN107741989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711038317.4A CN107741989A (en) 2017-10-30 2017-10-30 A kind of image-data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711038317.4A CN107741989A (en) 2017-10-30 2017-10-30 A kind of image-data management method

Publications (1)

Publication Number Publication Date
CN107741989A true CN107741989A (en) 2018-02-27

Family

ID=61233558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711038317.4A Pending CN107741989A (en) 2017-10-30 2017-10-30 A kind of image-data management method

Country Status (1)

Country Link
CN (1) CN107741989A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108718346A (en) * 2018-04-08 2018-10-30 北京达佳互联信息技术有限公司 A kind of method for processing resource and device
CN110113629A (en) * 2019-04-22 2019-08-09 山西共致科技有限公司 A kind of photo live broadcast system and its method
CN110149535A (en) * 2019-05-16 2019-08-20 北京小米移动软件有限公司 Image management method and device, storage medium
CN110309155A (en) * 2019-06-14 2019-10-08 西南交通大学 Image-data management system and method based on database technology and individual-layer data
CN110413809A (en) * 2019-07-31 2019-11-05 福建南威软件有限公司 A kind of picture management method and system based on Cloud Server
CN110929061A (en) * 2019-10-22 2020-03-27 北京旷视科技有限公司 Data storage method, device, system and storage medium
CN110971632A (en) * 2018-09-29 2020-04-07 北京京东尚科信息技术有限公司 Picture processing method, system, medium and computer system
CN111913934A (en) * 2020-07-08 2020-11-10 珠海大横琴科技发展有限公司 Target sample database construction method and device and computer equipment
CN114817938A (en) * 2021-01-28 2022-07-29 海信集团控股股份有限公司 Method and equipment for accessing shared photo album and protecting private pictures of shared photo album

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857530A (en) * 2011-06-30 2013-01-02 腾讯科技(深圳)有限公司 Picture uploading method and system
US20130262970A1 (en) * 2012-04-03 2013-10-03 Python4Fun Identifying picture files of a picture file storage system having relevance to a first file
CN104184811A (en) * 2014-08-19 2014-12-03 诚迈科技(南京)股份有限公司 System and method for achieving network sharing of multiple photos
CN104410615A (en) * 2014-11-20 2015-03-11 北京奇虎科技有限公司 Method, client terminal, server and system for accessing shared data
CN106326070A (en) * 2016-08-29 2017-01-11 天脉聚源(北京)传媒科技有限公司 Method and device for uploading pictures

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857530A (en) * 2011-06-30 2013-01-02 腾讯科技(深圳)有限公司 Picture uploading method and system
US20130262970A1 (en) * 2012-04-03 2013-10-03 Python4Fun Identifying picture files of a picture file storage system having relevance to a first file
CN104184811A (en) * 2014-08-19 2014-12-03 诚迈科技(南京)股份有限公司 System and method for achieving network sharing of multiple photos
CN104410615A (en) * 2014-11-20 2015-03-11 北京奇虎科技有限公司 Method, client terminal, server and system for accessing shared data
CN106326070A (en) * 2016-08-29 2017-01-11 天脉聚源(北京)传媒科技有限公司 Method and device for uploading pictures

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108718346A (en) * 2018-04-08 2018-10-30 北京达佳互联信息技术有限公司 A kind of method for processing resource and device
CN108718346B (en) * 2018-04-08 2020-12-29 北京达佳互联信息技术有限公司 Resource processing method and device
CN110971632A (en) * 2018-09-29 2020-04-07 北京京东尚科信息技术有限公司 Picture processing method, system, medium and computer system
CN110971632B (en) * 2018-09-29 2023-06-27 北京京东尚科信息技术有限公司 Picture processing method, system, medium and computer system
CN110113629A (en) * 2019-04-22 2019-08-09 山西共致科技有限公司 A kind of photo live broadcast system and its method
CN110113629B (en) * 2019-04-22 2021-07-27 山西共致科技有限公司 Photo live broadcasting system and method thereof
CN110149535A (en) * 2019-05-16 2019-08-20 北京小米移动软件有限公司 Image management method and device, storage medium
CN110309155A (en) * 2019-06-14 2019-10-08 西南交通大学 Image-data management system and method based on database technology and individual-layer data
CN110309155B (en) * 2019-06-14 2020-05-12 西南交通大学 Image data management system and method based on database technology and hierarchical data
CN110413809A (en) * 2019-07-31 2019-11-05 福建南威软件有限公司 A kind of picture management method and system based on Cloud Server
CN110929061A (en) * 2019-10-22 2020-03-27 北京旷视科技有限公司 Data storage method, device, system and storage medium
CN111913934A (en) * 2020-07-08 2020-11-10 珠海大横琴科技发展有限公司 Target sample database construction method and device and computer equipment
CN114817938A (en) * 2021-01-28 2022-07-29 海信集团控股股份有限公司 Method and equipment for accessing shared photo album and protecting private pictures of shared photo album
CN114817938B (en) * 2021-01-28 2024-05-17 海信集团控股股份有限公司 Method and equipment for accessing shared album and protecting private pictures of shared album

Similar Documents

Publication Publication Date Title
CN107741989A (en) A kind of image-data management method
US20180359200A1 (en) System and method for facilitating the growth of a mobile community
US10185814B2 (en) Computational systems and methods for verifying personal information during transactions
US10546306B2 (en) Computational systems and methods for regulating information flow during interactions
CN105591744A (en) Network real-name authentication method and system
CN107015824A (en) By application and the method and device for sharing account binding
JP2014531660A (en) Method, apparatus and storage medium for adding friends in a social network
US20140298151A1 (en) Creation and distribution of forms
JP5574554B2 (en) System and method for global directory service
WO2013063138A1 (en) Systems and methods for content delivery
CN109493224A (en) A kind of block chain picture social intercourse system
US20130046689A1 (en) System and Method for Facilitating Transactions
US20240028755A1 (en) Image and message management and archiving for events
US10198729B2 (en) Computational systems and methods for regulating information flow during interactions
CN107437105A (en) The safe express system of NFC and QR codes and application method of a kind of more role's whole scenes
US20130060624A1 (en) Computational systems and methods for regulating information flow during interactions
CN103747423B (en) A kind of register method of terminal applies, device and system
US10432740B2 (en) Method and apparatus for accessing OTT application and pushing message by server
US20130060695A1 (en) Computational systems and methods for regulating information flow during interactions
CN104113508A (en) Method of logining third party service platform, and system of logining third party service platform
CN107566422A (en) A kind of verification method of third party user
CN107222396A (en) A kind of method of shared view data
WO2016131264A1 (en) Method and device for constructing contact information
CN110097202B (en) Hotel reservation management method, system, device and computer storage medium
CN114499905A (en) Method and device for changing and binding application account, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180227

RJ01 Rejection of invention patent application after publication