CN109493224A - A kind of block chain picture social intercourse system - Google Patents
A kind of block chain picture social intercourse system Download PDFInfo
- Publication number
- CN109493224A CN109493224A CN201811334911.2A CN201811334911A CN109493224A CN 109493224 A CN109493224 A CN 109493224A CN 201811334911 A CN201811334911 A CN 201811334911A CN 109493224 A CN109493224 A CN 109493224A
- Authority
- CN
- China
- Prior art keywords
- picture
- intelligent contract
- platform
- client
- block chain
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of block chain picture social intercourse system, including overall technology framework, which is made of client, kernel service platform, bottom architecture;Client is the various terminals product that user provides, including iOS, Android, H5 additionally provide the RESTful API of a set of complete function to meet the needs of not different user, anyone image data needed based on this API Access;Kernel service platform is a kind of RESTful API Access platform, it provides service for client, it is a kind of offer High Availabitity, high concurrent, high performance RESTful API, platform interior builds the components such as log storage, service monitoring, authority checking, account management, pictures management.A kind of block chain picture social intercourse system of the present invention, using block chain technology, the network structure of decentralization, allowing user information, redundant storage is on the network node in an encrypted form, information can not distort, it ensure that data are genuine and believable, can not distort, re-establish interpersonal credit system in social platform.
Description
Technical field
The present invention relates to block chain field, in particular to a kind of block chain picture social intercourse system.
Background technique
Current social product is all the structure of centralization, social product setting rule, user's creation content, in distribution
Hold, service provider grasp user generate data, by analyzing these data, can user monitor, utilization, limitation,
Deception, control etc., data-privacy Customers ' Legal Right, for this purpose, and the prior art there are certain drawbacks, substantially when using centralization
Network structure, not being available family information, on the network node, information is easy to distort redundant storage in an encrypted form, can not guarantee to count
According to genuine and believable, therefore, we devise a kind of block chain picture social intercourse system.
Summary of the invention
The main purpose of the present invention is to provide a kind of block chain picture social intercourse systems, can effectively solve in background technique
The problem of.
To achieve the above object, the technical scheme adopted by the invention is as follows:
A kind of block chain picture social intercourse system, including overall technology framework, the overall technology framework are taken by client, core
Platform, the bottom architecture of being engaged in are constituted;
Client is the various terminals product that provides of user, including iOS, Android, H5, to meet not different user
Demand additionally provides the RESTful API of a set of complete function, anyone image data needed based on this API Access;
Kernel service platform is a kind of RESTful API Access platform, provides service for client, is that a kind of offer is high
It can use, high concurrent, high performance RESTful API, platform interior builds log storage, service monitoring, authority checking, account pipe
The components such as reason, pictures management;
Bottom architecture uses the Technical Architecture using proof of work as common recognition algorithm and distributed storage for bottom public affairs chain,
It includes Account and intelligent contract, and wherein Account is the unique digital identity mark of user, and intelligent contract is that bottom is public
" the intelligent contract " of chain is that figure spirit is complete, and the authorization of all pictures and access request all will be completed and be remembered by intelligent contract
Record.
Preferably, operation flow is the following steps are included: picture owner obtains picture source file by system-computed
HASH value, while this HASH value will be written in user account, algorithm by multiple dimensions such as size, size, pixels based on picture,
The HASH value finally generated will the whole world it is unique, this HASH value as picture source file unique index, it is unique due to HASH value
Property, the uniqueness of picture also is represented simultaneously, access request by HASH value in system in order to all will really weigh.
Preferably, picture source file and HASH are uploaded on public chain, and file is used distributed storage technology secrecy by public chain
It is stored into each mine machine, how many mine machine, how many is backed up, to guarantee that picture is never lost.
Preferably, it carries out HASH by intelligent contract really to weigh, right information is written in intelligent contract, will establish in system
The corresponding picture source file of HASH and picture possess the relations of right of account, while the visit of picture can be set in picture owner
Ask permission.
Preferably, picture demander obtains the access of picture HASH by RESTFUL API request picture authoring system
Permission, api interface follow Oauth2.0 editions authorization open network standards.
Preferably, for the treatment process of interface the following steps are included: client passes through HTTP request, built-in system judges incoming class
Type, internal api interface returns to corresponding data according to incoming data format, if meeting the requirements, built-in system judgement signature is
No to have lack of competence access, whether in blacklist, using parameter testing, last business flow processing, the step is a circulation
Judgment step is unsatisfactory for either condition and returns the result collection or error code;Interface uses signature algorithm, signature algorithm packet
Include: parameter marshalling, tandem parameter and value, even amass wealth by heavy taxation KEY and md5 encryption, the specific steps are the parameter in request in addition to
Outside Signature, positive sequence is carried out according to parameter name, all parameter names (cannot be had time together with parameter value string
Lattice), the key value of backstage setting is concatenated into the tail of string (there cannot be space) that " second step " obtains, using MD5 algorithm pair
The character string that " third step " obtains is encrypted, and the value of Signature is generated, and finally data are handled and judged.
Preferably, the access authority that intelligent contract is arranged according to picture owner carry out right confirmation party in request whether can under
It carries, and registration confirmed Transaction Information, the demander interim download address external by the picture of the intelligent public chain of contract acquisition, temporarily
Download address will fail at once after the completion of file download, to ensure that the right of the owner maximizes, being downloaded by public chain is needed
All Transaction Informations for the picture wanted can all be recorded by intelligent contract.
Compared with prior art, the invention has the following beneficial effects: the visits that intelligent contract is arranged according to picture owner
Ask that permission carries out whether right confirmation party in request can download, and registration confirmed Transaction Information, demander pass through intelligent contract and obtain
The external interim download address of the picture of public chain, interim download address will fail at once after the completion of file download, to ensure
The right of the owner maximizes, and all Transaction Informations of the picture needed by the downloading of public chain can all be recorded by intelligent contract
Get off.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of block chain picture social intercourse system of the present invention;
Fig. 2 is operation flow schematic diagram of the present invention.
Specific embodiment
To be easy to understand the technical means, the creative features, the aims and the efficiencies achieved by the present invention, below with reference to
Specific embodiment, the present invention is further explained.
The present invention provides a kind of technical solution referring to FIG. 1-2,;
A kind of block chain picture social intercourse system, including overall technology framework, the overall technology framework are taken by client, core
Platform, the bottom architecture of being engaged in are constituted;
Client is the various terminals product that provides of user, including iOS, Android, H5, to meet not different user
Demand additionally provides the RESTful API of a set of complete function, anyone image data needed based on this API Access;
Kernel service platform is a kind of RESTful API Access platform, provides service for client, is that a kind of offer is high
It can use, high concurrent, high performance RESTful API, platform interior builds log storage, service monitoring, authority checking, account pipe
The components such as reason, pictures management;
Bottom architecture uses the Technical Architecture using proof of work as common recognition algorithm and distributed storage for bottom public affairs chain,
It includes Account and intelligent contract, and wherein Account is the unique digital identity mark of user, and intelligent contract is that bottom is public
" the intelligent contract " of chain is that figure spirit is complete, and the authorization of all pictures and access request all will be completed and be remembered by intelligent contract
Record.
Its operation flow the following steps are included: picture owner by system-computed obtain picture source file HASH value,
This HASH value will be written in user account simultaneously, and algorithm is final to produce by multiple dimensions such as size, size, pixels based on picture
Raw HASH value will the whole world it is unique, this HASH value as picture source file unique index, due to the uniqueness of HASH value, also together
When represent the uniqueness of picture, access request by HASH value in system in order to all will really be weighed;Picture source file and HASH
It uploads on public chain, file is stored into each mine machine by public chain using distributed storage technology secrecy, how many mine machine just has
How many backups, to guarantee that picture is never lost;It carries out HASH by intelligent contract really to weigh, intelligent contract is written in right information
In, the corresponding picture source file of HASH will be established in system and picture possesses the relations of right of account, while picture possesses
The access authority of picture can be set in person;Picture demander obtains picture by RESTFUL API request picture authoring system
The access authority of HASH, api interface follow Oauth2.0 editions authorization open network standards;The treatment process of interface include with
Lower step: client passes through HTTP request, and built-in system judges incoming type, and internal api interface is returned according to incoming data format
Corresponding data are returned, if meeting the requirements, whether built-in system judge signature, have lack of competence to access, in blacklist, using
Parameter testing, last business flow processing, which is one and loops to determine step, is unsatisfactory for either condition and returns the result collection
Or error code;Interface uses signature algorithm, and signature algorithm includes: parameter marshalling, tandem parameter and value, even amasses wealth by heavy taxation KEY and MD5
Encryption, the specific steps are the parameter in request other than Signature, is carried out positive sequence according to parameter name, all
Parameter name (cannot have space) together with parameter value string, and the key value of backstage setting is concatenated into the character that " second step " obtains
It goes here and there tail portion (cannot have space), is encrypted using the character string that MD5 algorithm obtains " third step ", generate Signature's
Data are finally handled and are judged by value;Intelligent contract carries out right confirmation according to the access authority that picture owner is arranged
Whether party in request can download, and registration confirmed Transaction Information, and demander, which passes through intelligent contract and obtains the picture of public chain, external faces
When download address, interim download address will fail at once after the completion of file download, to ensure that the right of the owner maximizes,
All Transaction Informations of the picture needed by the downloading of public chain can all be recorded by intelligent contract.
It should be noted that the present invention is a kind of block chain picture social intercourse system, which will be stored
In block chain distributed network, opened up in the way of block chain core technology distributed storage and to transaction address encryption
Open, the picture and thematic data of certain user, these data of future customer will be present on the home computer of the user of networking and
It will do it multi-layer security, other users, which obtain data, to obtain data from central server, can produce between user and user
Raw more data interactions, the block chain picture social intercourse system also have external api interface and internal api interface, and external API connects
Mouth docking third party, the external api interface or the third-party external api interface of docking for being supplied to third party system follow
Oauth2.0 editions authorization (Authorization) open network standard, internal api interface connects built-in system, quickly real
The now data exchange of each terminal and management backstage, backstage api interface support Json format and XML data format to carry out data friendship
It changes, internal api interface returns to corresponding data according to incoming data format;The social intercourse system also have external api interface with
Internal api interface, external api interface dock third party, and external api interface or the docking for being supplied to third party system are third-party
External api interface follows Oauth2.0 editions authorization (Authorization) open network standard, internal api interface connection
Built-in system, quickly realizes the data exchange of each terminal and management backstage, and backstage api interface supports Json format and XML number
Data exchange is carried out according to format, internal api interface returns to corresponding data according to incoming data format, and expression layer is by wechat
Small routine, WAP site/website H5, IOS/APP, WEP/end PC are constituted;Business Logic has picture intelligent recommendation system, meeting
Member's management system, order management system, intelligent cloud album system, special topic intelligent authoring system, task management system, advertising management
System;Data access layer has platform operation management system and professional user's management system, social using block chain, using block
Chain technology, the network structure of decentralization, allowing user information, on the network node, information can not be usurped redundant storage in an encrypted form
Change, ensure that data are genuine and believable, can not distort, re-establishes interpersonal credit system in social platform.
And signature algorithm and business logic processing are used in the operation of the system, so that user's processing operation is more pacified
Entirely, it can be avoided information to be compromised, ensure that user's Internet Security.
The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention, the technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the above embodiments and description only describe this
The principle of invention, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes
Change and improvement all fall within the protetion scope of the claimed invention, the claimed scope of the invention by appended claims and its
Equivalent thereof.
Claims (7)
1. a kind of block chain picture social intercourse system, including overall technology framework, which is characterized in that the overall technology framework is by client
End, kernel service platform, bottom architecture are constituted;
Client is the various terminals product that user provides, including iOS, Android, H5, to meet the needs of not different user,
The RESTful API of a set of complete function is additionally provided, anyone image data needed based on this API Access;
Kernel service platform is a kind of RESTful API Access platform, provides service for client, is that a kind of offer height can
With, high concurrent, high performance RESTful API, platform interior builds log storage, service monitoring, authority checking, account pipe
The components such as reason, pictures management;
Bottom architecture uses the Technical Architecture using proof of work as common recognition algorithm and distributed storage, packet for bottom public affairs chain
Account and intelligent contract are included, wherein Account is the unique digital identity mark of user, and intelligent contract is bottom public affairs chain
" intelligent contract " is that figure spirit is complete, and the authorization of all pictures and access request all will be completed and be recorded by intelligent contract.
2. block chain picture social intercourse system according to claim 1, which is characterized in that its operation flow includes following step
Rapid: picture owner obtains the HASH value of picture source file by system-computed, while this HASH value will be written in user account,
Algorithm by multiple dimensions such as size, size, pixels based on picture, the HASH value finally generated will the whole world it is unique, this HASH value
As the unique index of picture source file, due to the uniqueness of HASH value, the uniqueness of picture also is represented simultaneously, is visited in system
Ask request in order to all will really weigh by HASH value.
3. operation flow according to claim 2, it is characterised in that: picture source file and HASH are uploaded on public chain, public
File is stored into each mine machine by chain using distributed storage technology secrecy, how many mine machine, is backed up with regard to how many, to protect
Card picture is never lost.
4. operation flow according to claim 2, it is characterised in that: HASH is carried out by intelligent contract and is really weighed, right letter
Breath is written in intelligent contract, will establish the corresponding picture source file of HASH in system and picture possesses the right pass of account
System, while the access authority of picture can be set in picture owner.
5. operation flow according to claim 2, it is characterised in that: picture demander passes through RESTFUL API request figure
Piece authoring system obtains the access authority of picture HASH, and api interface follows Oauth2.0 editions authorization open network standards.
6. api interface according to claim 5, which is characterized in that the treatment process of interface is the following steps are included: client passes through
HTTP request is crossed, built-in system judges incoming type, and internal api interface returns to corresponding data according to incoming data format,
If meeting the requirements, built-in system judges signature, whether has lack of competence access, whether in blacklist, using parameter testing, finally
Business flow processing, which is one and loops to determine step, is unsatisfactory for either condition and returns the result collection or error code;Interface
With signature algorithm is used, signature algorithm includes: parameter marshalling, tandem parameter and value, even amasses wealth by heavy taxation KEY and md5 encryption, specific steps
For the parameter in request other than Signature, is carried out positive sequence according to parameter name, all parameter names and parameter value
String (cannot have space) together, and the key value of backstage setting, which is concatenated into the tail of string that " second step " obtains, (cannot have time
Lattice), encrypted using the character string that MD5 algorithm obtains " third step ", generate the value of Signature, finally to data into
Row processing and judgement.
7. operation flow according to claim 2, which is characterized in that the access that intelligent contract is arranged according to picture owner
Permission carries out whether right confirmation party in request can download, and registration confirmed Transaction Information, and it is public that demander passes through intelligent contract acquisition
The external interim download address of the picture of chain, interim download address will fail at once after the completion of file download, to ensure institute
The right for the person of having maximizes, and all Transaction Informations of the picture needed by the downloading of public chain can all be recorded by intelligent contract
Come.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811334911.2A CN109493224A (en) | 2018-11-10 | 2018-11-10 | A kind of block chain picture social intercourse system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811334911.2A CN109493224A (en) | 2018-11-10 | 2018-11-10 | A kind of block chain picture social intercourse system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109493224A true CN109493224A (en) | 2019-03-19 |
Family
ID=65694251
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811334911.2A Pending CN109493224A (en) | 2018-11-10 | 2018-11-10 | A kind of block chain picture social intercourse system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109493224A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110149535A (en) * | 2019-05-16 | 2019-08-20 | 北京小米移动软件有限公司 | Image management method and device, storage medium |
CN110209671A (en) * | 2019-05-17 | 2019-09-06 | 无锡朝阳供应链科技股份有限公司 | A kind of the access system and its application of distribution account book data |
CN110263502A (en) * | 2019-05-13 | 2019-09-20 | 阿里巴巴集团控股有限公司 | Image processing method and device based on block chain |
CN111010450A (en) * | 2019-12-25 | 2020-04-14 | 安徽兆尹信息科技股份有限公司 | Client-side chain data downloading method for FISCO BCOS platform |
CN111427961A (en) * | 2020-04-10 | 2020-07-17 | 重庆新致金服信息技术有限公司 | Block chain-based resume right determination method, block chain resume system and equipment thereof |
CN111431860A (en) * | 2020-02-28 | 2020-07-17 | 山东公链信息科技有限公司 | Completely anonymous social public link for protecting social network |
US10963542B2 (en) | 2019-05-13 | 2021-03-30 | Advanced New Technologies Co., Ltd. | Blockchain-based image processing method and apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106992990A (en) * | 2017-05-19 | 2017-07-28 | 北京牛链科技有限公司 | Data sharing method and system and block catenary system and computing device |
CN107222303A (en) * | 2017-05-11 | 2017-09-29 | 暨南大学 | Digital publishing rights traceability system building method based on block chain and cloud platform |
CN107622385A (en) * | 2017-08-28 | 2018-01-23 | 南京邮电大学 | A kind of copyright distributing method based on block chain intelligence contract |
CN108460290A (en) * | 2017-12-27 | 2018-08-28 | 江苏省卫生统计信息中心 | A kind of Electronic Health Record management system and method |
-
2018
- 2018-11-10 CN CN201811334911.2A patent/CN109493224A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107222303A (en) * | 2017-05-11 | 2017-09-29 | 暨南大学 | Digital publishing rights traceability system building method based on block chain and cloud platform |
CN106992990A (en) * | 2017-05-19 | 2017-07-28 | 北京牛链科技有限公司 | Data sharing method and system and block catenary system and computing device |
CN107622385A (en) * | 2017-08-28 | 2018-01-23 | 南京邮电大学 | A kind of copyright distributing method based on block chain intelligence contract |
CN108460290A (en) * | 2017-12-27 | 2018-08-28 | 江苏省卫生统计信息中心 | A kind of Electronic Health Record management system and method |
Non-Patent Citations (1)
Title |
---|
ARRA54202: "电商开放平台", 《HTTPS://BLOG.CSDN.NET/ARRA54202/ARTICLE/DETAILS/101529631》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110263502A (en) * | 2019-05-13 | 2019-09-20 | 阿里巴巴集团控股有限公司 | Image processing method and device based on block chain |
US10963542B2 (en) | 2019-05-13 | 2021-03-30 | Advanced New Technologies Co., Ltd. | Blockchain-based image processing method and apparatus |
CN110149535A (en) * | 2019-05-16 | 2019-08-20 | 北京小米移动软件有限公司 | Image management method and device, storage medium |
CN110209671A (en) * | 2019-05-17 | 2019-09-06 | 无锡朝阳供应链科技股份有限公司 | A kind of the access system and its application of distribution account book data |
CN111010450A (en) * | 2019-12-25 | 2020-04-14 | 安徽兆尹信息科技股份有限公司 | Client-side chain data downloading method for FISCO BCOS platform |
CN111010450B (en) * | 2019-12-25 | 2022-01-28 | 安徽兆尹信息科技股份有限公司 | Client-side chain data downloading method for FISCO BCOS platform |
CN111431860A (en) * | 2020-02-28 | 2020-07-17 | 山东公链信息科技有限公司 | Completely anonymous social public link for protecting social network |
CN111427961A (en) * | 2020-04-10 | 2020-07-17 | 重庆新致金服信息技术有限公司 | Block chain-based resume right determination method, block chain resume system and equipment thereof |
CN111427961B (en) * | 2020-04-10 | 2023-08-08 | 重庆新致金服信息技术有限公司 | Resume right determining method based on block chain, block chain resume system and device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109493224A (en) | A kind of block chain picture social intercourse system | |
EP3726412B1 (en) | Selectively verifying personal data | |
US11658971B1 (en) | Virtual firewalls for multi-tenant distributed services | |
TWI706368B (en) | Block chain-based service leasing method, device, system and electronic equipment | |
CN107465692B (en) | Unified user identity authentication method, system and storage medium | |
CN109643285A (en) | The user data transmission and storage of encryption | |
CN110414270B (en) | Personal data protection system and method based on block chain | |
CN108460605A (en) | A kind of trace to the source method for anti-counterfeit and the system of the papery art work based on block chain | |
TW201909072A (en) | Method, device, and apparatus for loss reporting, removing loss report, and service management of electronic account | |
CN106664308A (en) | Device verification prior to registration | |
CN111488372A (en) | Data processing method, device and storage medium | |
CN107786343A (en) | A kind of access method and system in privately owned mirror image warehouse | |
CN110213290A (en) | Data capture method, API gateway and storage medium | |
CN112862589A (en) | Identity verification method, device and system in financial scene | |
CN117993017B (en) | Data sharing system, method, device, computer equipment and storage medium | |
CN115270193A (en) | Data file secure sharing method and device based on block chain and under cooperative synchronization | |
CN104704521A (en) | Multi-factor profile and security fingerprint analysis | |
CN112528181B (en) | Two-dimensional code management method, device, computer equipment and readable storage medium | |
CN114254269A (en) | System and method for determining rights of biological digital assets based on block chain technology | |
US20210194878A1 (en) | Communication tracking system for correctional facilities | |
WO2021137753A1 (en) | Electronic authentication system and process using the same | |
Chauhan | Iot network identity management using smart contract and blockchain technology | |
US11880372B2 (en) | Distributed metadata definition and storage in a database system for public trust ledger smart contracts | |
US20230368191A1 (en) | Database representation of a public trust ledger | |
WO2020228564A1 (en) | Application service method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190319 |