A blockchain-based data collection method and system
Through the blockchain-based data collection method, consumption data is collected directly from consumers, and the transparent display of product information, production information and logistics information and the red envelope reward mechanism are used to solve the problem of authenticity deviation in consumer data statistics, achieving more accurate data collection and cost optimization.
Patent Information
- Application Number
- CN202011417655.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-05
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2040-12-05
AI Technical Summary
The prior art has a problem of authenticity deviation in consumption data statistics, especially when there is a deviation between feedback from transportation and sales networks and real consumption data.
Through blockchain-based data collection methods, consumption data is collected directly from consumers, and real consumption data is obtained using transparent display of product information, production information and logistics information and red envelope reward mechanisms.
It improves the authenticity and accuracy of consumer data, reduces the cost of data collection, and improves the authenticity and coverage of data.
Smart Images

Figure CN112418949B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of information collection, and in particular, to a data collection method and system based on blockchain. Background Art
[0002] Through the analysis and statistics of consumers' consumption data, adjustments can be made to production, logistics, sales and other links. However, most current statistics are based on the feedback of transportation and sales networks, and there is still a certain deviation from the real consumption data. Summary of the Invention
[0003] This application provides a data collection method and system based on blockchain. By directly collecting consumers' consumption data, it helps to improve the authenticity of statistical data.
[0004] The above object of this application is achieved through the following technical solutions:
[0005] In a first aspect, this application provides a data collection method based on blockchain, including:
[0006] In response to the acquired request information, query the first data information associated with the request information, where the first data information is stored on the blockchain and includes product information, production information, and logistics information;
[0007] Send the first data information to the terminal associated with the request information;
[0008] In response to the acquired confirmation information, send red envelope information to the terminal associated with the request information;
[0009] Obtain the click information associated with the red envelope information;
[0010] Send a request to obtain data information to the terminal associated with the request information, where the request to obtain data information includes location information;
[0011] In response to the acquired location information, transfer funds to the terminal associated with the request information; and
[0012] Associate the queried first data information with the acquired location information and store it on the blockchain.
[0013] By adopting the above technical solution, the consumption data generated by consumers can be directly obtained through rewards, which can make the obtained data closer to the real consumption scenario and help improve the authenticity of statistical data.
[0014] In a possible implementation manner of the first aspect, before transferring funds to the terminal associated with the request information, it further includes:
[0015] Obtain the quantity information of the request information at the positioning information within a unit time;
[0016] Compare the quantity information with the quantity threshold information; and
[0017] When the quantity information is less than the quantity threshold information or within the allowable error range, transfer funds to the terminal associated with the request information.
[0018] By adopting the above technical solution, it helps to improve the authenticity of the data.
[0019] In a possible implementation manner of the first aspect, after comparing the quantity information with the quantity threshold information, it further includes:
[0020] Calculate the difference between the quantity information of the request information within the unit time and the quantity of the quantity information of the request information within the unit time in other time periods; and
[0021] When all the differences are within the allowable range, transfer funds to the terminal associated with the request information.
[0022] By adopting the above technical solution, the authenticity of the data is further improved by comparing historical data.
[0023] In a possible implementation manner of the first aspect, after comparing the quantity information with the quantity threshold information, it further includes:
[0024] Calculate the difference between the quantity information of the request information within the unit time and the quantity of the quantity information of the request information within the unit time in other time periods; and
[0025] When the difference within the quantity allowable range is within the allowable range, transfer funds to the terminal associated with the request information.
[0026] By adopting the above technical solution, for the historical data participating in the comparison, certain fault tolerance measures are added, which helps to further improve the authenticity of the data.
[0027] In a possible implementation manner of the first aspect, when the mean value of the absolute values of all the differences is within the allowable range, transfer funds to the terminal associated with the request information.
[0028] By adopting the above technical solution, the fault tolerance of historical data is expanded to a certain extent, and the statistical consumption data can be made more real.
[0029] In a second aspect, the present application provides a data collection device, including:
[0030] A first query unit, configured to query first data information associated with the obtained request information, where the first data information is stored on a blockchain and includes product information, production information, and logistics information;
[0031] A first communication unit, configured to send the first data information to a terminal associated with the request information;
[0032] A second communication unit, configured to send red packet information to a terminal associated with the request information in response to obtaining determination information;
[0033] A first acquisition unit, configured to acquire click information associated with the red packet information;
[0034] A third communication unit, configured to send a request for acquiring data information to a terminal associated with the request information, where the request for acquiring data information includes location information;
[0035] A first transfer unit, configured to transfer funds to a terminal associated with the request information in response to obtaining location information; and
[0036] A first storage unit, configured to store the queried first data information and the obtained location information on the blockchain after association.
[0037] In a third aspect, the present application provides a data collection system, where the system includes:
[0038] One or more memories, configured to store instructions; and
[0039] One or more processors, configured to call and run the instructions from the memory to execute the blockchain-based data collection method described in the first aspect and any possible implementation manner of the first aspect.
[0040] In a third aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium includes:
[0041] A program, when the program is run by a processor, the blockchain-based data collection method described in the first aspect and any possible implementation manner of the first aspect is executed.
[0042] A chip, where the chip includes a processor and a data interface, and the processor reads instructions stored on a memory through the data interface to execute the blockchain-based data collection method described in the first aspect and any possible implementation manner of the first aspect.
[0043] Fifth aspect, the present application provides a computer program product, including program instructions, when the program instructions are run by a computing device, the data collection method based on blockchain as described in the first aspect and any possible implementation manner of the first aspect is executed.
[0044] Sixth aspect, the present application provides a chip system, which includes a processor for implementing the functions involved in the above aspects. For example, generating, receiving, sending, or processing the data and / or information involved in the above methods.
[0045] The chip system can be composed of chips or can include chips and other discrete devices.
[0046] In a possible design, the chip system further includes a memory for storing necessary program instructions and data. The processor and the memory can be decoupled and separately arranged on different devices, connected by wired or wireless means, or the processor and the memory can also be coupled on the same device. Description of the Drawings
[0047] Figure 1 It is a schematic diagram of the generation process of a first data information provided by an embodiment of the present application.
[0048] Figure 2 It is a partial schematic diagram of the data interaction process between a user's terminal and a background system provided by an embodiment of the present application. Detailed Embodiments
[0049] The following further elaborates on the technical solutions in the present application in conjunction with the accompanying drawings.
[0050] To more clearly understand the technical solutions in the present application, several data collection methods are briefly introduced first. The first one is based on logistics data. For example, the shipped quantity in each region and the reported sales volume are statistically analyzed, and judgments are made based on these data. However, there may be problems such as inventory backlog, cross-regional goods diversion, and untimely data feedback. The second one is through sample surveys. This method can also provide feedback to a certain extent, but there are problems such as high costs, long feedback times, and sample biases. The third one is to entrust various agents to operate and make adjustments based on the feedback from the agents. However, there is still a certain gap between the data and the real consumption data.
[0051] The data collection method based on blockchain demonstrated in the embodiments of the present application obtains real consumption data by providing product information and red envelope rewards. This method can obtain data in real time, and these data are directly generated by consumers, which is the most authentic feedback on sales.
[0052] Please refer to Figure 1And Figure 2 , a data collection method based on blockchain disclosed in an embodiment of the present application, includes the following steps:
[0053] S101, in response to the obtained request information, query the first data information associated with the request information, the first data information is stored on the blockchain, and the first data information includes product information, production information, and logistics information;
[0054] S102, send the first data information to the terminal associated with the request information;
[0055] S103, in response to the obtained confirmation information, send red envelope information to the terminal associated with the request information;
[0056] S104, obtain the click information associated with the red envelope information;
[0057] S105, send a request to obtain data information to the terminal associated with the request information, the request to obtain data information includes location information;
[0058] S106, in response to the obtained location information, transfer funds to the terminal associated with the request information; and
[0059] S107, associate the queried first data information with the obtained location information and store it on the blockchain.
[0060] Specifically, in step S101, a query is made according to a request information, and the queried information includes product information, production information, logistics information, etc. For the sake of convenient description, these information are collectively referred to as the first data information. The role of the first data information is to display all the information of the product from the production, packaging, and logistics processes to consumers, facilitating consumers to have a more comprehensive understanding of the product.
[0061] It should be understood that the acquisition of the request information is actively initiated by the consumer. In a specific scenario, the operation method of scanning a QR code can be used. After the consumer purchases a product and uses a smart device such as a mobile phone to scan the QR code on the product, the mobile phone will jump to a page according to the information stored on the QR code. For the display of this page, it is provided by the merchant's back-end system. For the back-end system, the request information will be obtained. That is to say, this displayed page appears based on the appearance of the request information.
[0062] It should also be understood that from the perspective of consumers, their willingness to scan the QR code on the product (i.e., send a request message) should be a spontaneous behavior. Therefore, it is more appropriate to display the product information, production information, and logistics information of the product, etc. as the motivation for scanning. On the one hand, consumers can have a further understanding of the product by providing data. On the other hand, to a certain extent, it can also improve consumers' trust in the product through transparent information.
[0063] For the convenience of description, the product information, production information, and logistics information of the product, etc. are referred to as the first data information.
[0064] In step S102, the first data information will be sent to the terminal associated with the request message. The terminal here is the intelligent device used by the consumer to scan the QR code on the product in step S101. After being sent to the terminal, the terminal will display the first data information for the consumer to view.
[0065] In this step, it is mainly to show the consumer the information of the product they purchased, so that the consumer can have a more comprehensive understanding of the product.
[0066] After the consumer views the first data information, a request message will be displayed on the interface, aiming to inform the consumer that corresponding data collection is required and give a reward method. For example, in a scenario, it can provide prompts such as "Get a cash reward for participating in address statistics", and declare that only the consumer's address information will be collected.
[0067] In step S103, in response to the obtained confirmation information, a red envelope message is sent to the terminal associated with the request message. In this step, the consumer participates in the data collection process by clicking a button. From the perspective of the background system, a confirmation information will be received, and this confirmation information is sent by the consumer in step S102.
[0068] It should be understood that the process of collecting the consumer's address information is initiated in response to the consumer's confirmation, rather than automatically.
[0069] After obtaining the information that the consumer determines to participate, a red envelope message will be sent to the terminal associated with the request message. In a specific scenario, the following display content can be provided: "XXX Company sincerely requests you to participate in the information research and get a red envelope reward".
[0070] Of course, in order to improve the consumer's participation degree, the amount can be directly displayed in the red envelope message.
[0071] In step S104, a click information associated with the red envelope information is obtained. This click information is generated after the consumer clicks on the red envelope information in step S103. That is to say, whether to participate in data collection is determined by the consumer himself.
[0072] After obtaining the click information associated with the red envelope information, step S105 is executed. In this step, a request to obtain data information is sent to the terminal associated with the request information. The request to obtain data information includes location information, and the location information here is the location information of the consumer's location.
[0073] From the perspective of the background system, a request to obtain data information is sent to the terminal. After this request to obtain data information is displayed on the terminal, the consumer can perform operations on the terminal. Specifically, there are the following forms:
[0074] First, the request to obtain data information appears in the form of manual filling. The consumer needs to manually fill in his address at the corresponding position.
[0075] Second, the request to obtain data information appears in the form of automatic acquisition. After the consumer clicks the OK button, the location of the terminal will be automatically obtained according to the positioning as the location of the consumer.
[0076] Third, the request to obtain data information can call map data. The consumer moves and selects a location on the map, and then uses the finally selected location as the location of the consumer.
[0077] Then step S106 is executed. In this step, the background system receives a location information and then directly transfers money to the associated terminal.
[0078] Specifically, after the location information of the consumer's location is generated in step S105, this location information is sent to the background system. After the background system receives this location information, a transfer operation will be performed to transfer a certain amount of money to the consumer. For example, if the consumer scans the QR code on the product using WeChat, the transferred amount will directly enter the WeChat wallet.
[0079] For the obtained location information, it needs to be associated with the one queried in step S101 and then stored. For subsequent analysis, this is a set of valid data.
[0080] From the perspective of analysis, this set of valid data includes product information, production information, logistics information, and the final purchase information, which is a complete information chain. Through the statistics of the final purchase information, the product information, production information, and logistics information can be deduced. For example,
[0081] Is there a difference between the actual production quantity and the consumption quantity of the commodity, and is it necessary to adjust the product and production?
[0082] Does the logistics information match the final consumption location, and is it necessary to adjust the logistics?
[0083] Is the consumption quantity in each region consistent with the plan, and is it necessary to make adjustments?
[0084] Overall, the data collection method based on blockchain demonstrated in the embodiments of the present application estimates consumers' participation in the data collection process by providing product information, production information, logistics information, etc. and cash rewards, provides more commodity information, and enables consumers to have a deeper understanding of commodities (such as food, fresh produce, and pharmaceuticals) through information transparency. The cash reward method can stimulate consumers' enthusiasm for participation and ensure the quantity of data collected.
[0085] From another perspective, the work of collecting data itself requires a certain amount of money. If the method mentioned in the previous text is used, there is a certain deviation between the collected data and the real data. If it is necessary to increase the amount of data (that is, the sample size), more capital investment is required. However, through the data collection method based on blockchain demonstrated in the embodiments of the present application, this part of the money can be directly given to consumers. For consumers who purchase commodities, they get discounts, and for producers, they obtain data generated based on real consumption scenarios, which is a win-win solution.
[0086] As a specific implementation manner of the data collection method based on blockchain provided in the application, the following steps are further added:
[0087] S201, obtaining the quantity information of the request information at the location information within a unit time;
[0088] S202, comparing the quantity information with the quantity threshold information; and
[0089] S203, when the quantity information is less than the quantity threshold information or within the allowable error range, transferring funds to the terminal associated with the request information.
[0090] Steps S201 to S203 occur before transferring funds to the terminal associated with the request information, and their function is to ensure the authenticity of the data. The purpose is to screen out the data generated under non-real consumption scenarios. Specifically, in step S201, the quantity information of the request information at the location information within a unit time will be obtained. For example, if the unit time is fifteen minutes, then the total number of request information generated within these fifteen minutes is the quantity information of the request information at the location information within a unit time.
[0091] Next, step S202 is executed. In this step, the quantity information is compared with the quantity threshold information. The purpose of the comparison is to determine whether the obtained data is real data generated based on a real consumption scenario or false data. It should be understood that for a commodity, in a real consumption scenario, its consumption has certain regularity. If there are high-frequency consumption behaviors in a certain period, it is very likely that the generated data is false. For these false data, it is necessary to exclude them to avoid contaminating the real data.
[0092] Of course, there will also be certain exceptional situations, such as holidays and promotional activities, etc. At this time, it is necessary to adaptively modify the screening rules in advance.
[0093] Step S203 is a continuation of step S202. In step S203, the quantity information is judged. When it is less than the quantity threshold information or within the allowable error range, a transfer will be made to the terminal associated with the request information. Otherwise, no transfer will be made to the terminal associated with the request information.
[0094] As a specific implementation manner of the blockchain-based data collection method provided by the application, after comparing the quantity information with the quantity threshold information, the following two methods are also added to further improve the authenticity of the data.
[0095] The first one:
[0096] S301, calculate the difference between the quantity information of the request information within this unit time and the quantity of the request information within this unit time in other time periods; and
[0097] S302, when all the differences are within the allowable range, make a transfer to the terminal associated with the request information.
[0098] Specifically, in step S301, the quantity information of the request information within this unit time will be judged according to the quantity information of the request information within this unit time in other time periods, so as to judge the authenticity of the quantity information of the request information within this unit time.
[0099] It should be understood that the accuracy of the data can be judged by comparing with historical data. As mentioned above, the sales data has certain regularity, and this regularity can be summarized by tracing historical data. For example, for a certain determined unit time, the historical sales data fluctuates within the range of 50 to 60, but for a newly generated quantity information, its value is 200. Obviously, this value is abnormal. If there are no special situations such as holidays and promotional activities, then there is a high probability that this value is problematic.
[0100] In step S302, there is a specific judgment method. In this step, when all the differences are within the allowable range, transfer funds to the terminal associated with the request information, so that data not generated based on real consumption scenarios can be excluded.
[0101] The second method:
[0102] S401, calculate the difference between the quantity information of the request information within this unit time and the quantity information of the request information within this unit time in other time periods; and
[0103] S402, when the difference within the allowable quantity range is within the allowable range, transfer funds to the terminal associated with the request information.
[0104] Specifically, in step S401, the quantity information of the request information within this unit time will be judged according to the quantity information of the request information within this unit time in other time periods, so as to judge the authenticity of the quantity information of the request information within this unit time.
[0105] In step S402, for the judgment of the difference, a certain degree of adjustment is made. The specific method is to change that all differences are within the allowable range to that the difference within the allowable quantity range is within the allowable range. This method further expands the coverage of real data. In a real scenario, when the data generated within a certain unit time conforms to most of the historical data, it can also be accepted.
[0106] The third method: Calculate the difference between the quantity information of the request information within this unit time and the quantity information of the request information within this unit time in other time periods. When the average value of the absolute values of all the differences is within the allowable range, transfer funds to the terminal associated with the request information.
[0107] Specifically, using this method for judgment can take into account some historical data with relatively large or small values. Because there is a certain regularity in sales data, but specifically at a certain determined time point, there may be a small deviation, but this is also real consumption data. Taking these data into account can make the obtained data more in line with the real consumption scenario.
[0108] The embodiment of the present application also provides a data collection device, including:
[0109] The first query unit is used to query the first data information associated with the request information in response to the obtained request information. The first data information is stored on the blockchain, and the first data information includes product information, production information and logistics information;
[0110] The first communication unit is used to send the first data information to the terminal associated with the request information;
[0111] The second communication unit is used to send the red packet information to the terminal associated with the request information in response to the obtained determination information;
[0112] The first acquisition unit is used to acquire the click information associated with the red packet information;
[0113] The third communication unit is used to send a request for obtaining data information to the terminal associated with the request information, and the request for obtaining data information includes location information;
[0114] The first transfer unit is used to transfer money to the terminal associated with the request information in response to the obtained location information; and
[0115] The first storage unit is used to associate the queried first data information and the obtained location information and store them on the blockchain.
[0116] In one example, the units in any of the above devices can be one or more integrated circuits configured to implement the above methods. For example: one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0117] Again, when the units in the device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call programs. Again, these units can be integrated together to be implemented in the form of a system-on-a-chip (SOC).
[0118] In this application, various objects such as various messages / information / devices / network elements / systems / devices / actions / operations / processes / concepts, etc. may be named. It can be understood that these specific names do not constitute a limitation on the relevant objects, and the assigned names may change with factors such as the scenario, context, or usage habits. The understanding of the technical meaning of the technical terms in this application should be mainly determined from the functions and technical effects reflected / executed in the technical solution.
[0119] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0120] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0121] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0122] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0123] It should also be understood that in each embodiment of the present application, the first, second, etc. are only used to indicate that multiple objects are different. For example, the first time window and the second time window are only used to indicate different time windows. And it should not have any impact on the time window itself. The above first, second, etc. should not impose any restrictions on the embodiments of the present application.
[0124] It should also be understood that in each embodiment of the present application, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be mutually referred to, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.
[0125] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a computer-readable storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned computer-readable storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.
[0126] Embodiments of this application also provide a data collection system, which includes:
[0127] One or more memories for storing instructions; and
[0128] One or more processors for calling and running the instructions from the memory to execute the blockchain-based data collection method as described above.
[0129] Embodiments of this application also provide a chip, which includes a processor and a data interface. The processor reads the instructions stored on the memory through the data interface to execute the blockchain-based data collection method as described above.
[0130] Embodiments of this application also provide a computer program product, which includes instructions. When the instructions are executed, they cause the terminal device and the network device to perform the operations of the terminal device and the network device corresponding to the above method.
[0131] Embodiments of this application also provide a chip system, which includes a processor for implementing the functions involved above, for example, generating, receiving, sending, or processing the data and / or information involved in the above method.
[0132] This chip system can be composed of chips or can include chips and other discrete devices.
[0133] The processor mentioned anywhere above can be a CPU, a microprocessor, an ASIC, or an integrated circuit for controlling the execution of one or more programs of the above-mentioned method for transmitting feedback information.
[0134] In a possible design, the chip system further includes a memory for storing necessary program instructions and data. The processor and the memory can be decoupled and are respectively disposed on different devices and connected by wired or wireless means to support the chip system to implement various functions in the above embodiments. Alternatively, the processor and the memory can also be coupled on the same device.
[0135] Optionally, the computer instructions are stored in the memory.
[0136] Optionally, the memory is a storage unit within the chip, such as a register, a cache, etc. The memory can also be a storage unit outside the chip within the terminal, such as a ROM or other types of static storage devices that can store static information and instructions, a RAM, etc.
[0137] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both a volatile memory and a non-volatile memory.
[0138] The non-volatile memory can be a ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory.
[0139] The volatile memory can be a RAM, which is used as an external cache. There are various different types of RAM, such as a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous DRAM (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a synch link DRAM (SLDRAM), and a direct memory bus random access memory.
[0140] The embodiments of the specific implementation manners are all preferred embodiments of the present application, and do not limit the protection scope of the present application accordingly. Therefore, all equivalent changes made according to the structure, shape, and principle of the present application should be covered within the protection scope of the present application.
Claims
1. A data collection method based on blockchain, characterized in that Including: In response to the acquired request information, query the first data information associated with the request information. The first data information is stored on the blockchain and includes product information, production information, and logistics information; Send the first data information to the terminal associated with the request information; after the consumer views the first data information, a request information will be displayed on the interface to inform the consumer that corresponding data collection is required and a reward method is given; In response to the acquired confirmation information, send red envelope information to the terminal associated with the request information; Obtain the click information associated with the red envelope information; Send a request to obtain data information to the terminal associated with the request information, and the request to obtain data information includes location information; In response to the acquired location information, transfer funds to the terminal associated with the request information; And Associate the queried first data information with the acquired location information and store it on the blockchain; Before transferring funds to the terminal associated with the request information, it further includes: Obtain the quantity information of the request information at the location information within a unit time; Compare the quantity information with the quantity threshold information; and When the quantity information is less than the quantity threshold information or within the allowable error range, transfer funds to the terminal associated with the request information; After comparing the quantity information with the quantity threshold information, it further includes: Calculate the difference between the quantity information of the request information within this unit time and the quantity information of the request information within this unit time in other time periods; and when all the differences are within the allowable range, transfer funds to the terminal associated with the request information; The request to obtain data information is obtained by manual filling, or by automatic acquisition, or by calling map data.
2. The data collection method based on blockchain according to claim 1, wherein, After comparing the quantity information with the quantity threshold information, it further includes: Calculate the difference between the quantity information of the request information within this unit time and the quantity information of the request information within this unit time in other time periods; and When the difference within the allowable quantity range is within the allowable range, transfer funds to the terminal associated with the request information.
3. The data collection method based on blockchain according to claim 1, characterized in that, Calculate the difference between the quantity information of the request information within this unit time and the quantity information of the request information within this unit time in other time periods. When the mean value of the absolute values of all the differences is within the allowable range, transfer funds to the terminal associated with the request information.
4. A data collection device, characterized in that, Including: The first query unit is used to query the first data information associated with the request information in response to the acquired request information. The first data information is stored on the blockchain and includes product information, production information, and logistics information; The first communication unit is used to send the first data information to the terminal associated with the request information; after the consumer views the first data information, a request information will be displayed on the interface to inform the consumer that corresponding data collection is required and a reward method is given; The second communication unit is used to send red envelope information to the terminal associated with the request information in response to the acquired confirmation information; The first acquisition unit is used to obtain the click information associated with the red envelope information; A third communication unit, configured to send a request for obtaining data information to a terminal associated with the request information, where the request for obtaining data information includes location information; A first transfer unit, configured to transfer funds to a terminal associated with the request information in response to the obtained location information; And A first storage unit, configured to associate the queried first data information with the obtained location information and store the same on a blockchain; Before transferring funds to a terminal associated with the request information, the first transfer unit is further configured to: Obtain the quantity information of the request information at the location information within a unit time; Compare the quantity information with the quantity threshold information; and When the quantity information is less than the quantity threshold information or within the allowable error range, transfer funds to a terminal associated with the request information; After comparing the quantity information with the quantity threshold information, the first transfer unit is further configured to: Calculate the difference between the quantity information of the request information within this unit time and the quantity of the quantity information of the request information within this unit time in other time periods; and when all the differences are within the allowable range, transfer funds to a terminal associated with the request information; The request for obtaining data information is obtained by manual filling, or in an automatic acquisition manner, or by calling map data.
5. A data collection system, characterized in that, The system includes: One or more memories, configured to store instructions; and One or more processors, configured to call and run the instructions from the memory to execute the blockchain-based data collection method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes: A program, when the program is run by a processor, the blockchain-based data collection method according to any one of claims 1 to 3 is executed.
7. A chip, characterized in that, The chip includes a processor and a data interface, and the processor reads the instructions stored on the memory through the data interface to execute the blockchain-based data collection method according to any one of claims 1 to 3.
Citation Information
Patent Citations
A product anti-counterfeiting method
CN109003097A