Method for storing information, method, device, equipment and medium for acquiring information

文档序号:1904102 发布日期:2021-11-30 浏览:2次 中文

阅读说明:本技术 存储信息的方法、获取信息的方法、装置、设备和介质 (Method for storing information, method, device, equipment and medium for acquiring information ) 是由 代小龙 于 2020-11-26 设计创作,主要内容包括:本公开的实施例公开了存储信息的方法、获取信息的方法、装置、设备和介质。存储信息的方法的一具体实施方式包括:接收存储信息请求,存储信息请求包括待共享信息;根据待共享信息生成第一描述信息和信息存储地址,第一描述信息用于描述待共享信息的信息内容;响应于生成第一描述信息,生成对应第一描述信息的信息分享约束条件;将信息分享约束条件、第一描述信息、信息存储地址存储至区块链;响应于接收到存储成功的确认信号,发送存储成功信息。该实施方式实现了数据的安全存储,而且有利于数据管理。(The embodiment of the disclosure discloses a method for storing information, a method for acquiring information, a device, equipment and a medium. One embodiment of a method of storing information comprises: receiving a storage information request, wherein the storage information request comprises information to be shared; generating first description information and an information storage address according to the information to be shared, wherein the first description information is used for describing the information content of the information to be shared; generating an information sharing constraint condition corresponding to the first description information in response to the generation of the first description information; storing the information sharing constraint condition, the first description information and the information storage address to a block chain; and sending storage success information in response to receiving the confirmation signal of successful storage. The embodiment realizes the safe storage of the data and is beneficial to data management.)

1. A method of storing information, comprising:

receiving a storage information request, wherein the storage information request comprises information to be shared;

generating first description information and an information storage address according to the information to be shared, wherein the first description information is used for describing the information content of the information to be shared;

generating an information sharing constraint condition corresponding to first description information in response to the generation of the first description information;

storing the information sharing constraint condition, the first description information and the information storage address to a block chain;

and sending storage success information in response to receiving the confirmation signal of successful storage.

2. The method of claim 1, wherein the generating first description information according to the information to be shared comprises:

and generating the first description information according to the keywords in the information to be shared.

3. The method of claim 1, wherein the generating an information storage address according to the information to be shared comprises:

and storing the information to be shared to a specified position, and acquiring an information storage address of the specified position.

4. The method of claim 1, wherein prior to the generating an information sharing constraint corresponding to the first description information, the method further comprises:

in response to receiving the store information request, presenting a constraint selection interface presenting at least one shared user attribute and a shared consideration input box, the shared user attribute comprising a user identity attribute.

5. The method of claim 4, wherein the generating of the information sharing constraint corresponding to the first description information comprises:

and in response to receiving the at least one sharing user attribute and the sharing reward corresponding to the constraint selection interface, packaging the at least one sharing user attribute and the sharing reward into an information sharing constraint.

6. A method of obtaining information, comprising:

receiving an information acquisition request, wherein the information acquisition request comprises second description information and user attribute information, and the second description information is used for describing request content of the information acquisition request;

inquiring first description information corresponding to the second description information on the block chain;

responding to first description information corresponding to the second description information, and matching information sharing constraint conditions corresponding to the first description information with the user attribute information;

and responding to the received signal of successful matching, inquiring an information storage address corresponding to the first description information on the block chain, and obtaining shared information according to the information storage address.

7. The method of claim 6, wherein the user attribute information comprises local user attributes and a user balance, the information sharing constraints comprise at least one sharing user attribute and a sharing reward; and

the matching of the information sharing constraint condition corresponding to the first description information and the user attribute information includes:

matching the local user attribute with the at least one shared user attribute;

matching the user balance with the share reward in response to a successful match of the local user attribute with the at least one share user attribute.

8. The method of claim 7, wherein the matching the user balance to the share reward comprises:

and settling the sharing reward and the user balance.

9. An apparatus for storing information, comprising:

a first receiving unit configured to receive a storage information request including information to be shared;

a first generating unit configured to generate first description information and an information storage address according to the information to be shared, wherein the first description information is used for describing information content of the information to be shared;

a second generation unit configured to generate an information sharing constraint condition corresponding to first description information in response to generation of the first description information;

a storage unit configured to store the information sharing constraint condition, the first description information, and the information storage address to a block chain;

a transmitting unit configured to transmit the storage success information in response to receiving the confirmation signal of the storage success.

10. An apparatus for storing information, comprising:

a second receiving unit configured to receive an acquisition information request including second description information for describing request content of the acquisition information request and user attribute information;

a query unit configured to query the blockchain for first description information corresponding to the second description information;

a matching unit configured to match an information sharing constraint condition corresponding to first description information with the user attribute information in response to querying the first description information corresponding to the second description information;

and the output unit is configured to respond to the received signal of successful matching, inquire an information storage address corresponding to the first description information on the block chain, and obtain shared information according to the information storage address.

11. An electronic device, comprising:

one or more processors;

a storage device having one or more programs stored thereon,

when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5 or 6-8.

12. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any of claims 1 to 5 or claims 6 to 8.

Technical Field

Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a method for storing information, a method for acquiring information, an apparatus, a device, and a medium.

Background

Due to the explosive growth of user information, the cloud storage sharing technology has become an important way for information interaction. But there is a great security problem in the way of information interaction in a shared link. This causes the following problems in information interaction:

firstly, the security is low;

second, a large amount of communication overhead is required.

Disclosure of Invention

This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Some embodiments of the present disclosure propose a method of storing information, a method of acquiring information, an apparatus, a device and a medium to solve the technical problems mentioned in the background section above.

In a first aspect, some embodiments of the present disclosure provide a method of storing information, the method comprising: receiving a storage information request, wherein the storage information request comprises information to be shared; generating first description information and an information storage address according to the information to be shared, wherein the first description information is used for describing the information content of the information to be shared; generating an information sharing constraint condition corresponding to the first description information in response to the generation of the first description information; storing the information sharing constraint condition, the first description information and the information storage address to a block chain; and sending storage success information in response to receiving the confirmation signal of successful storage.

In a second aspect, some embodiments of the present disclosure provide a method of obtaining information, the method comprising: receiving an information acquisition request, wherein the information acquisition request comprises second description information and user attribute information, and the second description information is used for describing request content of the information acquisition request; inquiring first description information corresponding to the second description information on the block chain; responding to first description information corresponding to second description information, and matching information sharing constraint conditions corresponding to the first description information with user attribute information; and responding to the received signal of successful matching, inquiring an information storage address corresponding to the first description information on the block chain, and obtaining shared information according to the information storage address.

In a third aspect, some embodiments of the present disclosure provide an apparatus for storing information, the apparatus comprising: a first receiving unit configured to receive a storage information request, the storage information request including information to be shared; a first generating unit configured to generate first description information and an information storage address according to information to be shared, the first description information being used for describing information content of the information to be shared; a second generation unit configured to generate an information sharing constraint condition corresponding to the first description information in response to generation of the first description information; the storage unit is configured to store the information sharing constraint condition, the first description information and the information storage address to the block chain; a transmitting unit configured to transmit the storage success information in response to receiving the confirmation signal of the storage success.

In a fourth aspect, some embodiments of the present disclosure provide an apparatus for obtaining information, the apparatus comprising: a second receiving unit configured to receive an acquisition information request including second description information and user attribute information, the second description information being used for describing request content of the acquisition information request; a query unit configured to query the blockchain for first description information corresponding to the second description information; the matching unit is configured to respond to the inquiry of first description information corresponding to the second description information, and match the information sharing constraint conditions corresponding to the first description information with the user attribute information; and the output unit is configured to respond to the received signal of successful matching, inquire an information storage address corresponding to the first description information on the block chain, and obtain the shared information according to the information storage address.

In a fifth aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement a method of storing information as in the first aspect or a method of obtaining information as in the second aspect.

In a sixth aspect, some embodiments of the disclosure provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements a method of storing information as in the first aspect or a method of acquiring information as in the second aspect.

The above embodiments of the present disclosure have the following beneficial effects: by the information storage method of some embodiments of the disclosure, the safe storage of data is realized, and the data management is facilitated. Specifically, the inventors have found that the reason why information cannot be securely stored is that: most of cloud storage sharing systems adopt a centralized management mode, that is, information is uniformly managed with the help of a central server, which easily causes an excessive access amount of the server, and the centralized management mode is not favorable for the safe storage of data. Based on this, the information storage method of some embodiments of the present disclosure may store and manage data in a block chain manner, so that the data is not managed in a centralized manner, which is beneficial to the secure storage of the data. And the formulation of the sharing constraint conditions also reduces the high-frequency access pressure of the server, reduces the cost of data management and is beneficial to the data management.

Drawings

The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.

FIG. 1 is a schematic diagram of one application scenario of a method of storing information according to the present disclosure;

FIG. 2 is a schematic diagram of one application scenario of a method of obtaining information according to the present disclosure;

FIG. 3 is a flow diagram of some embodiments of a method of storing information according to the present disclosure;

FIG. 4 is a flow diagram of some embodiments of a method of obtaining information according to the present disclosure;

FIG. 5 is a schematic block diagram of some embodiments of an apparatus to store information according to the present disclosure;

FIG. 6 is a schematic block diagram of some embodiments of an apparatus for obtaining information according to the present disclosure;

FIG. 7 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.

Detailed Description

Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.

It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.

It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.

It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.

The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.

The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.

Fig. 1 is a schematic diagram of one application scenario of a method of storing information of some embodiments of the present disclosure.

In the application scenario of fig. 1, the electronic device 101 receives a storage information request 102, and the received storage information request 102 includes information to be shared 103. The electronic device 101 generates an information storage address 104 and first description information 105 (which may be [ "management", "information" ]) from the information to be shared 103, the first description information 105 being used to describe the information content of the information to be shared 103. The electronic device 101 generates an information sharing constraint condition 106 (which may be [ "student", "teacher", "greater than or equal to 5 (meta)") corresponding to the first descriptive information 105 in response to generating the first descriptive information 105. Other users need to satisfy at least one condition of the information sharing constraints 106 to obtain the information to be shared 103. Then, the information sharing constraint 106, the first description information 105, and the information storage address 104 are stored in the blockchain. In response to receiving the confirmation signal 107 of successful storage from the other terminal device, the storage success information 108 (which may be "successful storage") is transmitted to the device storing the information to be shared 103.

It should be understood that the number of electronic devices 101 in fig. 1 is merely illustrative. There may be any number of electronic devices 101, as desired for implementation.

Fig. 2 is a schematic diagram of an application scenario of a method of acquiring information according to some embodiments of the present disclosure.

In the application scenario of fig. 2, the electronic device 201 receives a get information request 203, the get information request 203 includes second description information 204 (which may be "management") and user attribute information 206 (which may be [ "student", "10 (meta)" ]), and the second description information 204 is used to describe the request content of the get information request 203. The electronic device 201 queries the first description information 205 (which may be [ "management", "information" ]) corresponding to the second description information 204 on the block 202, and the electronic device 201 matches the information sharing constraint 207 (which may be [ "student", "teacher", "5 (meta)" ] corresponding to the first description information 205 with the user attribute information 206 in response to querying the first description information 205 corresponding to the second description information 204. "student" in the user attribute information 206 is included in the information sharing constraint condition 207, and "10 (meta)" in the user attribute information 206 satisfies the condition of "5 (meta)" or more in the information sharing constraint condition 207. As can be seen, the user attribute information 206 meets the constraints in the information sharing constraints 207. In response to receiving the signal that the matching is successful, the information storage address 208 corresponding to the first description information 205 is queried on the block chain, and the shared information 212 is obtained according to the information storage address 208.

It should be understood that the number of electronic devices 201 in fig. 2 is merely illustrative. There may be any number of electronic devices 201, as desired for implementation.

With continued reference to fig. 3, a flow 300 of some embodiments of a method of storing information in accordance with the present disclosure is shown. The method for storing information comprises the following steps:

step 301, receiving a storage information request, where the storage information request includes information to be shared.

In some embodiments, an executing entity of the method of storing information (e.g., the electronic device 101 shown in fig. 1) may receive the request to store information through a wired connection or a wireless connection. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G/5G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future. As an example, the information to be shared may be information on text or information on images.

Step 302, generating first description information and an information storage address according to the information to be shared, wherein the first description information is used for describing the information content of the information to be shared.

In some embodiments, the first description information and the information storage address are generated based on the information to be shared in the information storage request in step 301. As an example, the execution subject may store the information to be shared in the storage information request to a specified storage device a, and use the storage address returned by the storage device a as the information storage address. As an example, the first descriptive information may be a summary of the information content to be shared (e.g., [ "about information management" ]).

In some optional implementation manners of some embodiments, generating the first description information according to the information to be shared includes: and generating first description information according to the keywords in the information to be shared. As an example, a word with the highest frequency of occurrence in the information to be shared may be used as a keyword, the keyword may be "management", "information", and the first description information may be a keyword of the content that needs to be acquired, such as [ "management", "information" ].

In some optional implementation manners of some embodiments, wherein generating the information storage address according to the information to be shared includes: and storing the information to be shared to a specified position, and acquiring an information storage address of the specified position. By way of example, the designated location may be any server designated, and the information storage address is generated based on the storage location returned by the server stored.

Step 303, in response to generating the first description information, generating an information sharing constraint condition corresponding to the first description information.

In some embodiments, as an example, the information sharing constraint condition may be generated by a constraint condition preset by the execution subject, or the information sharing constraint condition may be generated by querying a table about the first description information and the information sharing constraint condition. As an example, the information sharing constraint may be specified user identity information, a fee to be paid for obtaining information, and the like. As an example, the information sharing constraint may be [ "student", "teacher", "greater than or equal to 5 (meta)" ].

In some optional implementation manners of some embodiments, before generating the information sharing constraint condition corresponding to the first description information, the method further includes: in response to receiving the store information request, presenting a constraint selection interface presenting at least one shared user attribute, which may be to include a user identity attribute, and a shared consideration input box. As an example, the shared user attribute that the constraint selection interface exposes is [ "student", "teacher" ].

In some optional implementation manners of some embodiments, the generating an information sharing constraint condition corresponding to the first description information includes: in response to receiving the at least one shared user attribute and the shared reward corresponding to the constraint selection interface, packaging the at least one shared user attribute and the shared reward into an information sharing constraint. As an example, the execution subject encapsulates at least one shared user attribute and a shared consideration into the information sharing constraint conditions of [ student "," teacher "," 5 (meta) "or more ], in response to receiving at least one shared user attribute of the corresponding constraint selection interface of [ student", "teacher", and shared consideration of [ 5 (meta) or more ].

And step 304, storing the information sharing constraint condition, the first description information and the information storage address to the block chain.

In some embodiments, the information sharing constraints may include, by way of example, user identity information, and the cost to be paid to obtain the information (e.g., [ "student," teacher, "" greater than or equal to 5 (yuan) ]).

Step 305, in response to receiving the confirmation signal of successful storage, sending a storage success message.

In some embodiments, as an example, the execution main body transmits the storage success information "successful in storage" in response to receiving the confirmation signal of successful storage.

According to the information storage method disclosed by some embodiments of the disclosure, the implementation mode realizes safe storage of data and is beneficial to data management. Specifically, the inventors have found that the reason why information cannot be securely stored is that: most of cloud storage sharing systems adopt a centralized management mode, that is, information is uniformly managed with the help of a central server, which easily causes an excessive access amount of the server, and the centralized management mode is not favorable for the safe storage of data. Based on this, the information storage method of some embodiments of the present disclosure may store and manage data in a block chain manner, so that the data is not managed in a centralized manner, which is beneficial to the secure storage of the data. And the formulation of the sharing constraint conditions also reduces the high-frequency access pressure of the server, reduces the cost of data management and is beneficial to the data management.

With further reference to fig. 4, a flow 400 of further embodiments of methods of obtaining information is illustrated. The process 400 of the method for obtaining information includes the following steps:

step 401, receiving an information acquisition request.

In some embodiments, an execution subject (e.g., the electronic device 201 shown in fig. 2) on which the method for obtaining information operates may receive a request for obtaining information through a wired connection manner or a wireless connection manner, where the request for obtaining information includes second description information and user attribute information, and the second description information is used for describing request content of the request for obtaining information. As an example, the second description information may be [ "management" ], and the user attribute information may be [ "student" ].

Step 402, inquiring the first description information corresponding to the second description information on the block chain.

In some embodiments, as an example, the first description information may be [ "management", "information" ], the second description information may be [ "management" ], and the first description information corresponding to the second description information is queried.

Step 403, in response to querying the first description information corresponding to the second description information, matching the information sharing constraint condition corresponding to the first description information with the user attribute information.

In some embodiments, the user attribute information needs to satisfy at least one of the information sharing constraints to obtain the information. As an example, the first description information may be [ "management", "information" ], the second description information may be [ "management" ], and the information content in the first description information contains the information content of the second description information in response to a query. Then, the information sharing constraint condition (such as [ "student" ], and "greater than or equal to 5 (element)" ]) corresponding to the first description information is matched with the user attribute information (such as [ "student" ]), and the information sharing constraint condition contains the user attribute information [ "student" ], so that the matching is successful.

In an optional implementation manner of some embodiments, the user attribute information includes a local user attribute and a user balance, and the information sharing constraint condition includes at least one shared user attribute and a shared reward; and matching the information sharing constraint condition corresponding to the first description information with the user attribute information, including: matching the local user attribute with at least one shared user attribute; and matching the user balance with the share reward in response to a successful match of the local user attribute with the at least one share user attribute. As an example, the local user attribute may be [ "student" ], and the user balance may be [ "10 (meta)" ]. The at least one shared user attribute included in the information sharing constraint may be [ "student", "teacher" ], and the sharing consideration included in the information sharing constraint may be [ "greater than or equal to 5 (yuan) ], and therefore, the information sharing constraint may be [" student "," teacher "," greater than or equal to 5 (yuan) ]. Matching the local user attribute [ "student" ] with at least one shared user attribute [ "student", "teacher" ]; and in response to the local user attribute being successfully matched with the at least one shared user attribute (the at least one shared user attribute [ "student", "teacher" ] contains the local user attribute [ "student" ]), matching the user balance [ "10 (element)" ] with the sharing reward [ "greater than or equal to 5 (element)" ].

In an optional implementation of some embodiments, wherein matching the user balance with the share reward comprises: and (4) settling the sharing reward and the balance of the user. The execution subject may perform settlement by subtracting the share compensation from the user balance, and as an example, the user balance may be [ "10 (yuan)" ], the share compensation may be [ "5 (yuan) or more ], and the resulting user balance is [" 5 (yuan) "].

In response to receiving the signal that the matching is successful, an information storage address corresponding to the first description information is queried on the block chain, and the shared information is obtained according to the information storage address, in step 404.

In some embodiments, the information storage address may be obtained by querying a table of information storage addresses corresponding to the first description information.

According to the information acquisition method disclosed by some embodiments of the disclosure, the implementation mode realizes the safe acquisition of data, and reduces the access amount of a server for storing data. Specifically, the inventors have found that the reason why information cannot be securely stored and server access is too large is that: the cloud storage sharing system mostly adopts a centralized management mode, namely, information is uniformly managed with the help of a central server. Based on this, the method for acquiring information according to some embodiments of the present disclosure may acquire data in a block chain manner, which is beneficial to secure acquisition of data. And the formulation of the sharing constraint condition also reduces the high-frequency access pressure of the server, and screens partial users which do not accord with the sharing constraint condition, thereby reducing the access pressure of the server.

With further reference to fig. 5, as an implementation of the methods illustrated in the above figures, the present disclosure provides some embodiments of an apparatus for storing information, which correspond to those method embodiments illustrated in fig. 3, and which may be particularly applicable in various electronic devices.

As shown in fig. 5, an apparatus 500 for storing information of some embodiments includes: first receiving section 501, first generating section 502, second generating section 503, storage section 504, and transmitting section 505. A receiving unit 501, an analyzing unit 502, an information selecting unit 503 and a generating unit 504. The first receiving unit 501 is configured to receive a storage information request, where the storage information request includes information to be shared; a first generating unit 502 configured to generate first description information and an information storage address according to information to be shared, the first description information being used for describing information content of the information to be shared; a second generating unit 503 configured to generate an information sharing constraint condition corresponding to the first description information in response to the generation of the first description information; a storage unit 504 configured to store the information sharing constraint, the first description information, and the information storage address into the blockchain; a sending unit 505 configured to send the storage success information in response to receiving the confirmation signal of successful storage.

In an optional implementation of some embodiments, the first generating unit 502 is further configured to: and generating first description information according to the keywords in the information to be shared.

In an optional implementation of some embodiments, the first generating unit 502 is further configured to: and storing the information to be shared to a specified position, and acquiring an information storage address of the specified position.

In an alternative implementation of some embodiments, the information storage apparatus 500 further comprises: a presentation unit (not shown in the figures) configured to: in response to receiving the store information request, presenting a constraint selection interface presenting at least one shared user attribute and a shared consideration input box, the shared user attribute including a user identity attribute.

In an optional implementation of some embodiments, the second generating unit 503 is further configured to: in response to receiving the at least one shared user attribute and the shared reward corresponding to the constraint selection interface, packaging the at least one shared user attribute and the shared reward into an information sharing constraint.

It will be understood that the elements described in the apparatus 500 correspond to various steps in the method described with reference to fig. 3. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 500 and the units included therein, and are not described herein again.

With further reference to fig. 6, as an implementation of the methods illustrated in the above figures, the present disclosure provides some embodiments of an apparatus for obtaining information, which correspond to those illustrated in fig. 4, and which may be applied in various electronic devices in particular.

As shown in fig. 6, the apparatus 600 for acquiring information of some embodiments includes: a second receiving unit 601, a querying unit 602, a matching unit 603, and an output unit 604. The second receiving unit 601 is configured to receive an obtaining information request, where the obtaining information request includes second description information and user attribute information, and the second description information is used for describing request content of the obtaining information request; a querying unit 602 configured to query the blockchain for the first description information corresponding to the second description information; a matching unit 603 configured to match an information sharing constraint condition corresponding to the first description information with the user attribute information in response to querying the first description information corresponding to the second description information; and the output unit 604 is configured to, in response to receiving the signal that the matching is successful, query the block chain for an information storage address corresponding to the first description information, and obtain the shared information according to the information storage address.

In an optional implementation manner of some embodiments, the user attribute information includes a local user attribute and a user balance, and the information sharing constraint condition includes at least one shared user attribute and a shared reward; and the matching unit 603 is further configured to: matching the local user attribute with at least one shared user attribute; and matching the user balance with the share reward in response to a successful match of the local user attribute with the at least one share user attribute.

In an optional implementation of some embodiments, the matching unit 603 is further configured to: and (4) settling the sharing reward and the balance of the user.

It will be understood that the elements described in the apparatus 600 correspond to various steps in the method described with reference to fig. 4. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 600 and the units included therein, and are not described herein again.

Referring now to FIG. 7, shown is a schematic diagram of an electronic device (e.g., electronic device 101 of FIG. 1 or electronic device 201 of FIG. 2) 700 suitable for use in implementing some embodiments of the present disclosure. The electronic device in some embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.

As shown in fig. 7, electronic device 700 may include a processing means (e.g., central processing unit, graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from storage 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.

Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 7 may represent one device or may represent multiple devices as desired.

In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network via communications means 709, or may be installed from storage 708, or may be installed from ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of some embodiments of the present disclosure.

It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.

In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.

The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a storage information request, wherein the storage information request comprises information to be shared; generating first description information and an information storage address according to the information to be shared, wherein the first description information is used for describing the information content of the information to be shared; generating an information sharing constraint condition corresponding to the first description information in response to the generation of the first description information; storing the information sharing constraint condition, the first description information and the information storage address to a block chain; and sending storage success information in response to receiving the confirmation signal of successful storage.

Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).

The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first receiving unit, a first generating unit, a second generating unit, a storing unit, and a transmitting unit. Where the names of the units do not in some cases constitute a limitation on the units themselves, for example, the first receiving unit may also be described as a "unit that receives a request to store information".

The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.

The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:数据存储装置及其操作方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类