CN113849855A - Block chain network service platform, information processing method and storage medium - Google Patents

Block chain network service platform, information processing method and storage medium Download PDF

Info

Publication number
CN113849855A
CN113849855A CN202111082221.4A CN202111082221A CN113849855A CN 113849855 A CN113849855 A CN 113849855A CN 202111082221 A CN202111082221 A CN 202111082221A CN 113849855 A CN113849855 A CN 113849855A
Authority
CN
China
Prior art keywords
environment information
target block
information
network service
service platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111082221.4A
Other languages
Chinese (zh)
Inventor
者文明
王宏伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Qianshi Technology Co Ltd
Original Assignee
Beijing Jingdong Qianshi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Qianshi Technology Co Ltd filed Critical Beijing Jingdong Qianshi Technology Co Ltd
Priority to CN202111082221.4A priority Critical patent/CN113849855A/en
Publication of CN113849855A publication Critical patent/CN113849855A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a block chain network service platform, an information processing method and a storage medium, wherein the block chain network service platform comprises the following steps: acquiring object environment information corresponding to a transport object; calling an intelligent contract to write the object environment information into the target block; and the target block is linked to the target block chain.

Description

Block chain network service platform, information processing method and storage medium
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a blockchain network service platform, an information processing method, and a storage medium.
Background
Food is generally transported in a cold chain transportation mode, and cold chain transportation means that transported goods are always kept in a low-temperature state in the transportation process so as to ensure the freshness of the food in the transportation process.
In the prior art, temperature information of transported goods can be continuously collected in the cold chain transportation process, the collected temperature information is stored by using a storage module of a temperature detection device, the cold chain quality during cold chain transportation is determined according to the collected temperature information, and the information in the storage module of the temperature detection device can be read or tampered by any equipment, so that the safety during cold chain environment information storage is reduced.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present application are expected to provide a blockchain network service platform, an information processing method, and a storage medium, which can improve security when cold chain environment information is stored.
The technical scheme of the application is realized as follows:
the embodiment of the application provides an information processing method for a block chain network service platform, which comprises the following steps:
acquiring object environment information corresponding to a transport object;
calling an intelligent contract to write the object environment information into a target block; and uplink the target block to a target block chain.
The embodiment of the application provides a block chain network service platform, which comprises:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring object environment information corresponding to a transport object;
the writing unit is used for calling an intelligent contract to write the object environment information into a target block;
a uplink unit for uplink of the target block to a target block chain.
The embodiment of the application provides a block chain network service platform, which comprises:
at least one memory for storing executable instructions;
and the at least one processor is used for executing the executable instructions stored in the at least one memory to realize the data storage method of the blockchain network service platform.
The embodiment of the application provides a storage medium, which stores executable instructions, and when the executable instructions are executed, the storage medium is used for causing a processor to execute the method.
The embodiment of the application provides a block chain network service platform, an information processing method and a storage medium, wherein the information processing method of the block chain network service platform comprises the following steps: acquiring object environment information corresponding to a transport object; calling an intelligent contract to write the object environment information into the target block; and the target block is linked to the target block chain. By adopting the method, under the condition that the block chain network service platform acquires the object environment information, the block chain network service platform calls an intelligent contract to write the object environment information into the target block; and linking the target block to the target block chain, so that the object environment information is stored in each node of the target block chain by using a decentralized storage mode of the target block chain, thereby ensuring that the object environment information is not lost or tampered, and improving the safety when the object environment information is stored.
Drawings
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a schematic circuit diagram of an exemplary temperature and humidity sensing tag according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an exemplary source code display location provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an exemplary target block according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of an exemplary transportation object global object environment information generation process provided in an embodiment of the present application;
fig. 6 is a first schematic structural diagram of a blockchain network service platform according to an embodiment of the present disclosure;
fig. 7 is a second schematic structural diagram of a block chain network service platform according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Example one
An embodiment of the present application provides an information processing method for a blockchain network service platform, fig. 1 is a flowchart of an information processing method for a blockchain network service platform provided in an embodiment of the present application, and as shown in fig. 1, the information processing method for a blockchain network service platform may include:
s101, acquiring object environment information corresponding to the transportation object.
The information processing method of the blockchain network service platform provided by the embodiment of the application is suitable for storing the object environment information to a target blockchain scene under the condition that the blockchain network service platform acquires the object environment information.
In this application embodiment, the transportation object may be a food, a medicine, an animal or a plant, or another article, and the specific transportation object may be determined according to an actual situation, which is not limited in this application embodiment.
In the embodiment of the present application, the object environment information includes transportation environment information in a transportation process of the transportation object, production environment information in a generation process of the transportation object, storage environment information in a storage process of the transportation object, sales environment information in a sales process of the transportation object, and the like.
In the embodiment of the present application, the object environment information includes, but is not limited to, temperature information of the transportation object, humidity information of the transportation object, and the like.
In the embodiment of the application, the block chain network service platform can acquire the object environment information by using the information acquisition end; the block chain network service platform can also acquire the object environment information by using other equipment, and can also acquire the object environment information by the assistance of other equipment; the specific way of acquiring the object environment information by the block chain network service platform can be determined according to actual conditions, which is not limited in the embodiment of the present application.
It should be noted that the information obtaining end may be a terminal.
In the embodiment of the application, the block chain network service platform can acquire the object environment information once every a first time period; the block chain network service platform can also obtain object environment information at different time intervals; the block chain network service platform can also acquire the object environment information once under the condition of generating the object environment information; the block chain network service platform can also acquire the object environment information according to other modes; the specific details can be determined according to actual situations, and the embodiment of the present application does not limit the details.
It should be noted that, the first time period may be a time period configured in the blockchain network service platform; the first time period may also be a time period acquired by the blockchain network service platform before the blockchain network service platform acquires the object environment information corresponding to the transport object; the first time period may also be a time period acquired by the blockchain network service platform in other manners; the specific way for acquiring the first time period by the block chain network service platform can be determined according to actual conditions, which is not limited in the embodiment of the present application.
It is further noted that the first time period may be one day; the first period of time may also be 12 hours; the first time period may also be other lengths of time; the specific time length of the first time period may be determined according to actual situations, which is not limited in the embodiment of the present application.
In this embodiment of the present application, a process of acquiring object environment information corresponding to a transportation object by a blockchain network service platform includes: the method comprises the steps that a block chain network service platform obtains object environment information acquired by an environment perception tag every other preset time period; or the block chain network service platform transmits a transportation environment detection instruction to the environment perception label; and receiving the object environment information transmitted by the humidity sensing label according to the transportation environment detection instruction.
In this embodiment of the application, if the object environment information includes temperature information and humidity information, the obtained environment sensing tag may be a temperature and humidity sensing tag. The preset time period can be a time period configured in the temperature and humidity sensing label; the preset time period can also be a time period acquired by the temperature and humidity sensing label before the temperature and humidity sensing label acquires the object environment information; the preset time period can also be a time period acquired by the temperature and humidity sensing label in other manners; the specific mode that the temperature and humidity sensing tag acquires the preset time period can be determined according to actual conditions, and the method is not limited in the embodiment of the application.
It should be noted that the preset time period may be 1 minute; the preset time period can also be 15 seconds; the preset time period can be other time lengths; the specific time length of the preset time period may be determined according to actual conditions, which is not limited in the embodiment of the present application.
In this embodiment of the application, a schematic circuit diagram of the temperature and humidity sensing tag is shown in fig. 2: the temperature and humidity sensing tag circuit mainly comprises a high-frequency coil antenna, a sensing chip with a temperature and humidity sensing function, an ultrahigh frequency pole antenna and a power supply. The sensing chip comprises 6 pins, wherein the pin type of the pin 1 is ground, and the pin is a power ground; the pin type of the pin 2 is analog input and is a high-frequency antenna pin; the pin type of the pin 3 is analog input and is a high-frequency antenna pin; the pin 4 is an analog input pin and is an ultrahigh frequency antenna pin; the pin 5 is an analog input pin and is an ultrahigh frequency antenna pin; pin 6 has a pin type of power input and is the positive power supply.
It should be noted that the temperature and humidity sensing tag can work in a passive ultrahigh frequency mode and an active high frequency mode. Wherein, the passive mode: the radio frequency field energy can be utilized to receive a single temperature measurement instruction sent by the interface to complete temperature measurement operation, and a temperature measurement result is sent back to the corresponding interface. An ultrahigh frequency interface: the communication protocol is as follows: evolved Packet Core (EPC) Global (Global) C1G 2; the working frequency is as follows: 840-960 MHz; downlink data rate: 40 to 160 kbits/s; the uplink data rate: 5kbits/s to 640 kbits/s; temperature measurement, read-write sensitivity: -25 dBm. An Ultra High Frequency (UHF) interface is suitable for a long-distance and large-batch application scene, for example, a fixed reader-writer at a warehouse gate is used, an RTC (Real _ Time Clock) temperature measurement flow is automatically started when an article is delivered from a warehouse, and temperature data collection is automatically completed when the article is delivered into the warehouse. Active mode: the built-in RTC of usable label chip arouses regularly, starts the temperature measurement and records temperature data, also can receive the single temperature measurement instruction that the interface sent, accomplishes single temperature measurement operation. A high-frequency interface: the communication protocol is as follows: international Organization for Standardization (ISO)/International Electrotechnical Commission (IEC) 14443-A or ISO/IEC 15693; temperature measurement and reading and writing operation distance: 5 cm; communication rate of ISO15693 interface: 26K bps; ISO14443 interface communication rate: 106K bps.
In the embodiment of the application, the temperature and humidity sensing tag can be a high-frequency safe electronic tag chip, each chip has a unique User Identification (UID), and the temperature and humidity sensing tag has better radio frequency performance and compatibility, so that a longer operation distance and a more reliable read-write function are ensured; the memory is divided into 64 blocks (Block), and the total capacity is up to 2 Kbits; the one-way authentication and two-way authentication functions of the built-in cryptographic algorithm SM7 support the secure communication based on the stream encryption mode; has a Physical Unclonable Function (PUF) and is combined with the SM7 algorithm to upgrade the safety of the algorithm.
In the embodiment of the application, the blockchain network service platform can acquire the object environment information by using the terminal. If the working mode of the temperature and humidity sensing tag is a passive mode, the terminal can be an ultrahigh frequency reading terminal; if the working mode of the temperature and humidity sensing tag is the active mode, the terminal can be a high-frequency reading terminal.
It should be noted that the block chain network service platform can utilize the ultrahigh frequency reading terminal to activate the temperature and humidity sensing tag in the passive mode by a long distance, then the temperature and humidity sensing tag starts the temperature and humidity function of sensing the contact environment, encodes temperature and humidity information and an Identity (ID) signal of the sensing chip, and returns the encoded temperature and humidity information and ID signal to the ultrahigh frequency reading terminal through a carrier wave; and the ultrahigh frequency reading terminal receives and decodes the encoded information loaded with the temperature and humidity information, so that the temperature and humidity information and the ID of the tag contact environment at the moment are obtained.
It should be noted that the high-frequency reading terminal mainly functions as follows: setting a starting point and a sensing frequency of a sensing action of the temperature and humidity sensing label; and acquiring current temperature and humidity information or historical temperature and humidity information of the sensing label.
Illustratively, due to consistency of a High Frequency (HF) Radio Frequency Identification (RFID) protocol and a Near Field Communication (NFC) protocol, the High Frequency reading terminal may be implemented by using a function of NFC of a mobile phone.
In the embodiment of the application, if the object environment information is the production environment information, a fixed information acquisition terminal may be deployed at a production key node in a production workshop of the transportation object, and the object environment information passing through the processing node is acquired. If the object environment information is storage environment information, a fixed or portable information acquisition terminal can be deployed at a key node of the warehousing workshop, and the object environment information within the action range of the information acquisition terminal is collected. If the object environment information is transportation environment information, a channel type or fixed or portable information acquisition terminal can be deployed at key nodes before storage, such as the export of a storage workshop, the process from warehouse-out to loading, the transportation process, the transfer process and the like, and the object environment information within the range of the information acquisition terminal is acquired. If the object environment information is the sales environment information, a cabinet or van-type information acquisition terminal can be deployed at a key node of a sales scene, and the object environment information within the action range of the information acquisition terminal is collected.
In the embodiment of the application, after the block chain network service platform acquires the object environment information corresponding to the transportation object, the block chain network service platform also compares the object environment information with the preset object environment information, and the block chain network service platform generates the alarm information under the condition that the object environment information does not meet the preset object environment information.
In the embodiment of the application, the preset object environment information may be information configured in a block chain network service platform; the preset object environment information may also be information received by the blockchain network service platform before the blockchain network service platform compares the object environment information with the preset object environment information; the specific manner in which the block chain network service platform acquires the environmental information of the preset object may be determined according to actual conditions, which is not limited in the embodiments of the present application.
It should be noted that, if the object environment information includes temperature information and humidity information, the preset object environment information includes an upper temperature threshold and an upper humidity threshold. Specifically, the condition that the object environment information does not satisfy the preset object environment information includes: the temperature information is greater than or equal to an upper temperature threshold, and/or the humidity information is greater than or equal to an upper humidity threshold. The preset object environment information may also include a lower temperature threshold and a lower humidity threshold. Specifically, the condition that the object environment information does not satisfy the preset object environment information includes: the temperature information is less than a lower temperature threshold and/or the humidity information is less than a lower humidity threshold. The preset object environment information may further include an upper temperature threshold, a lower temperature threshold, an upper humidity threshold, and a lower humidity threshold. Specifically, the condition that the object environment information does not satisfy the preset object environment information includes: the temperature information is greater than or equal to the upper temperature threshold, and/or the temperature information is less than the lower temperature threshold, and/or the humidity information is greater than or equal to the upper humidity threshold, and/or the humidity information is less than the lower humidity threshold.
In the embodiment of the application, the alarm information can be information in a sound form; the alarm information can also be information in a text form; the alarm information can also be information in other forms; specific alarm information can be determined according to actual conditions, and the embodiment of the application does not limit the specific alarm information.
S102, calling an intelligent contract to write the object environment information into a target block; and the target block is linked to the target block chain.
In the embodiment of the application, after the blockchain network service platform acquires the object environment information corresponding to the transport object, the blockchain network service platform can call an intelligent contract to write the object environment information into the target block; and the target block is linked to the target block chain.
In this embodiment of the present application, a process for writing object environment information into a target block by a block chain network service platform invoking an intelligent contract includes: the block chain network service platform performs consensus verification on the object environment information by using a consensus node to obtain a verification result; and under the condition that the verification result is successful, the block chain network service platform calls an intelligent contract to write the object environment information into the target block.
In this embodiment of the present application, the number of the consensus nodes may be one, the number of the consensus nodes may also be two, the number of the consensus nodes may also be multiple, and the specific number of the consensus nodes may be determined according to an actual situation, which is not limited in this embodiment of the present application.
In the embodiment of the present application, after the block chain network service platform links the target block to the target block chain, the block chain network service platform further generates a source code according to the target block chain; and the block chain network service platform displays the traceability codes to the client so that the client can acquire object environment information corresponding to the transport object in the target block chain according to the traceability codes.
For example, the source code display location diagram is shown in fig. 3: a traceability code identification (RFID intelligent package) is arranged in a printing area on the surface of a packaging bag of the transport object so as to prompt a user to perform identification operation in the area by using a mobile phone by using the traceability code identification, thereby obtaining traceability information of the transport object.
In the embodiment of the application, the source tracing code can be a two-dimensional code; the source tracing code can also be a bar code; the traceable code may also be the HF function of the sensor tag. The user can scan the two-dimensional code or the bar code transmitted to the client or use an electronic device (such as a mobile phone) with an NFC function to approach a sensing label attached to the transportation object as an access target block chain information entrance medium to acquire object environment information corresponding to the transportation object.
In this embodiment of the application, in the process that the blockchain network service platform generates the traceability code according to the target blockchain, the blockchain network service platform may acquire object environment information corresponding to a transport object stored in the target blockchain to generate an information acquisition entry in the traceability code form corresponding to the object environment information, so that a user may acquire the object environment information corresponding to the transport object through the information acquisition entry in the traceability code form.
In the embodiment of the application, after the blockchain network service platform displays the traceability codes to the client, the blockchain network service platform deletes the traceability codes when the transportation object is processed.
In the embodiment of the application, the condition that the transportation object is processed can be the condition that the transportation of the transportation object is finished; the condition that the transportation object is processed can also be the condition that the transportation object is sold; the condition that the transportation object is processed can also be the condition that a processing instruction for stopping the transportation object is received; the specific details can be determined according to actual situations, and the embodiment of the present application does not limit the details.
In this embodiment of the application, the blockchain network service platform may directly delete the tracing code generated by the blockchain network service platform under the condition that the transportation object is processed, so as to recycle the tracing code.
In this embodiment of the present application, a process for writing object environment information into a target block by a block chain network service platform invoking an intelligent contract includes: the block chain network service platform determines a timestamp and position information when the object environment information is acquired; and the block chain network service platform calls an intelligent contract to write the time stamp, the position information and the object environment information into the target block.
In this embodiment, the location information may be location information when the object environment information is acquired.
It should be noted that the location information may be location information in the form of longitude and latitude; the location information may also be location information in the form of a place name; the position information can also be position information in other forms; the specific details can be determined according to actual situations, and the embodiment of the present application does not limit the details.
In the embodiment of the application, the block chain network service platform acquires the object environment information and also acquires the tag identity corresponding to the environment perception tag for acquiring the object environment information. The method comprises the step that the block chain network service platform calls an intelligent contract to write a timestamp, position information and object environment information into a target block, and the step that the block chain network service platform calls the intelligent contract to write the timestamp, the position information, a label identity and the object environment information into the target block.
In the embodiment of the present application, the information link corresponding to the object environment information obtained by the blockchain network service platform is as shown in table 1:
table 1 object environment information generation list of transportation objects
Sequence of circulation Link name Generating a time period Generating a place Information linking
1 Processing and producing G1、…、Gn Pg1 Lg1、…、Lgn
2 Stock storage Q1、…、Qw Pq1、…、Pqw Lq1、…、Lqw
3 Transportation process O1、…、Om Po1、…、Pom Lo1、…、Lom
4 Storage process S1、…、Sp Ps1、…、Psp Ls1、…、Lsp
5 Sales process T1、…、Tr Pt1、…、Ptr Lt1、…、Ltr
The generation time is the generation time of the object environment information; the generation place is a generation position of the object environment information; the information links to corresponding object environment information.
In the embodiment of the present application, table 1 may generate n + w + m + p + r target blocks in time series. For example, the structure of the target block i-1, the target block i and the target block i +1 is shown in fig. 4, and the target blocks (the target block i-1, the target block i and the target block i +1) include a block header and a block body. Wherein the block header comprises the block height, hash (header hash) of the current block, a parent hash value, a Merkle root and time; the block body includes encrypted data such as a specific name (a specific link name of each corresponding link), a time period (an object environment information generation time period), a place (an object environment information generation position), an information link (data connection), and the like. Such as: the block height of the target block i-1 is 0211, the head hash of the target block i-1 is 000000003dsdsxes, the parent hash of the target block i-1 is 00000000 mnmnnds, and the time of the target block i-1 is 2020-12-1111: 40; the block height of the target block i is 0211, the head hash of the target block i is 000000002cdsdsenvd, the parent hash of the target block i is 000000003dsdsxes, and the time of the target block i is 2020-12-1112: 00; the block height of the target block i +1 is 0211, the head hash of the target block i +1 is 000000008 ndsfmeries, the parent hash of the target block i +1 is 000000002 cdsstenvd, and the time of the target block i +1 is 2020-12-1112: 30; and acquiring the object environment information corresponding to the transport object in the target block of the target block chain through a tracing entry medium corresponding to the tracing code.
For example, the transportation object global object environment information generation process is shown in fig. 5: in the process of transporting object processing/production, a processing node acquisition terminal 1 is used for acquiring object environment information (production environment information) acquired at a processing workshop node, an ID (identity) and acquisition time of the processing node acquisition terminal 1; in the transportation object stock storage stage, acquiring object environment information (storage environment information) acquired at a stock storage node, an ID (identity) and acquisition time of the stock storage acquisition terminal 2 by using the stock storage acquisition terminal 2; in the transportation process of the transportation object, the transportation process acquisition terminal 3 is used for acquiring object environment information (transportation environment information) acquired at a node in the transportation process, and the ID and the acquisition time of the transportation process acquisition terminal 3; in the transportation object warehousing process, acquiring object environment information (storage environment information) acquired at a node in the transportation process, an ID4 of the warehousing acquisition terminal 4 and acquisition time by using the warehousing acquisition terminal 4; in the transportation object sales stage, the object environment information (sales exchange and cleaning information) collected at the sales node, the ID of the sales collection terminal 5, and the collection time are acquired by the sales collection terminal 5.
In an embodiment of the present application, a process of a blockchain network service platform for linking a target block to a target blockchain includes: the block chain network service platform determines the index information of the target block according to the preset uplink form and the object environment information of the target block chain; the block chain network service platform links the target block to the target block chain according to the index information.
In the embodiment of the present application, the predetermined uplink form may be an uplink form configured in a block chain network service platform; the preset uplink form can also be an uplink form received by the block chain network service platform before the block chain network service platform determines the index information of the target block according to the preset uplink form of the target block chain and the object environment information; the specific manner in which the block chain network service platform acquires the preset uplink form may be determined according to actual conditions, which is not limited in the embodiments of the present application.
In the embodiment of the application, after the block chain network service platform acquires the object environment information corresponding to the transport object, before the block chain network service platform calls an intelligent contract to write the object environment information into the target block, the block chain network service platform also generates an initial block; the block chain network service platform compares the capacity value of the initial block with a preset block capacity value; and under the condition that the capacity value of the initial block is greater than the preset block capacity value, the block chain network service platform increases the capacity value of the initial block to obtain the target block.
It should be noted that the predetermined block capacity value is a capacity value predetermined for the block by the blockchain network service platform.
In the embodiment of the present application, the preset block capacity value may be a capacity value configured in a block chain network service platform; the preset block capacity value may also be a capacity value received by the blockchain network service platform before the blockchain network service platform compares the capacity value of the initial block with the preset block capacity value; the preset block capacity value can also be a capacity value obtained by the block chain network service platform in other modes; the specific details can be determined according to actual situations, and the embodiment of the present application does not limit the details.
It can be understood that, when the blockchain network service platform acquires the object environment information, the blockchain network service platform calls an intelligent contract to write the object environment information into the target block; and linking the target block to the target block chain, so that the object environment information is stored in each node of the target block chain by using a decentralized storage mode of the target block chain, thereby ensuring that the object environment information is not lost or tampered, and improving the safety when the object environment information is stored.
Example two
Based on the same inventive concept of the embodiments, the embodiments of the present application provide a blockchain network service platform 1, which corresponds to an information processing method of the blockchain network service platform; fig. 6 is a schematic structural diagram of a block chain network service platform according to an embodiment of the present disclosure, where the block chain network service platform 1 may include:
an obtaining unit 11, configured to obtain object environment information corresponding to a transportation object;
a writing unit 12, configured to call an intelligent contract to write the object environment information into a target block;
a uplink unit 13, configured to uplink the target block to a target block chain.
In some embodiments of the present application, the blockchain network service platform further comprises a consensus unit;
the consensus unit is used for performing consensus verification on the object environment information by using a consensus node to obtain a verification result;
and a writing unit 12, configured to invoke an intelligent contract to write the object environment information into the target block if the verification result is that the verification is successful.
In some embodiments of the present application, the blockchain network service platform further comprises a transmitting unit and a receiving unit;
the obtaining unit 11 is configured to obtain the object environment information acquired by the environment sensing tag every preset time period;
or, the transmission unit is configured to transmit a transportation environment detection instruction to the environment awareness tag;
the receiving unit is used for receiving the object environment information transmitted by the environment perception label according to the transportation environment detection instruction.
In some embodiments of the present application, the blockchain network service platform further comprises a generation unit and a presentation unit;
the generating unit is used for generating a source tracing code according to the target block chain;
and the display unit is used for displaying the tracing code to a client so that the client can acquire the object environment information in the target block chain according to the tracing code.
In some embodiments of the present application, the blockchain network service platform further comprises a deletion unit;
and the deleting unit is used for deleting the source tracing code under the condition that the transportation object is processed.
In some embodiments of the present application, the blockchain network service platform further comprises a determining unit;
the determining unit is used for determining the timestamp and the position information when the object environment information is acquired;
the writing unit 12 is configured to invoke an intelligent contract to write the timestamp, the location information, and the object environment information into a target block.
In some embodiments of the present application, the generating unit is configured to generate alarm information if the object environment information does not satisfy preset object environment information.
In some embodiments of the present application, the object environment information includes temperature information and humidity information.
In some embodiments of the present application, the determining unit is configured to determine index information of the target block according to a preset uplink form of the target block chain and the object environment information;
the uplink unit 13 is configured to uplink the target block to the target block chain according to the index information.
In some embodiments of the present application, the blockchain network service platform further comprises a comparing unit and an adding unit;
the generating unit is used for generating an initial block;
the comparison unit is configured to compare the capacity value of the initial block with a preset block capacity value, where the preset block capacity value is a capacity value preset for a block by the network service platform of the block chain;
the increasing unit is configured to increase the capacity value of the initial block to obtain the target block when the capacity value of the initial block is greater than the preset block capacity value.
Based on the same inventive concept of the first embodiment, an embodiment of the present application provides a blockchain network service platform, as shown in fig. 7, fig. 7 is a schematic diagram of a composition structure of the blockchain network service platform provided in the embodiment of the present application, where the blockchain network service platform 1 in the embodiment of the present application includes: at least one processor 14, at least one memory 15, and at least one communication bus 16. In a specific embodiment, the at least one Processor 14 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing terminal (DSPD), a Programmable Logic terminal (PLD), a Field Programmable Gate Array (FPGA), a CPU, a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the above processor functions may be other devices, and the embodiments of the present application are not limited in particular.
In the embodiment of the present application, the at least one communication bus 16 is used for realizing connection communication between the at least one processor 14 and the at least one memory 15; at least one memory 15 for storing executable instructions;
at least one processor 14, configured to execute the executable instructions stored in the at least one memory 15, to implement the information processing method according to the first embodiment.
The embodiment of the present application provides a storage medium, where the storage medium stores one or more programs, the one or more programs are executable by one or more processors and applied to a blockchain network service platform, and when the program is executed by at least one processor, the information processing method according to the first embodiment is implemented.
It can be understood that, when the blockchain network service platform acquires the object environment information, the blockchain network service platform calls an intelligent contract to write the object environment information into the target block; and linking the target block to the target block chain, so that the object environment information is stored in each node of the target block chain by using a decentralized storage mode of the target block chain, thereby ensuring that the object environment information is not lost or tampered, and improving the safety when the object environment information is stored.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (13)

1. An information processing method of a blockchain network service platform, the method comprising:
acquiring object environment information corresponding to a transport object;
calling an intelligent contract to write the object environment information into a target block; and uplink the target block to a target block chain.
2. The method of claim 1, wherein invoking the smart contract to write the object context information to a target block comprises:
carrying out consensus verification on the object environment information by using a consensus node to obtain a verification result;
and under the condition that the verification result is successful, calling an intelligent contract to write the object environment information into a target block.
3. The method according to claim 1, wherein the obtaining of the object environment information corresponding to the transportation object comprises:
acquiring the object environment information acquired by an environment perception tag every other preset time period;
or transmitting a transportation environment detection instruction to the humidity sensing label; and receiving the object environment information transmitted by the environment perception label according to the transportation environment detection instruction.
4. The method of claim 1, wherein after the uplink of the target block to a target block chain, the method further comprises:
generating a source tracing code according to the target block chain;
and displaying the tracing code to a client so that the client can acquire the object environment information in the target block chain according to the tracing code.
5. The method of claim 4, wherein after exposing the traceback code to the client, the method further comprises:
and deleting the tracing code under the condition that the transportation object is processed.
6. The method of claim 1 or 2, wherein invoking the smart contract to write the object context information to a target block comprises:
determining a timestamp and position information when the object environment information is acquired;
and calling an intelligent contract to write the time stamp, the position information and the object environment information into a target block.
7. The method of claim 1, wherein after obtaining the object environment information corresponding to the transportation object, the method further comprises:
and generating alarm information under the condition that the object environment information does not meet the preset object environment information.
8. The method of claim 1, wherein the subject environmental information includes temperature information, humidity information.
9. The method of claim 1, wherein the uplink of the target block to a target block chain comprises:
determining index information of the target block according to a preset uplink form of the target block chain and the object environment information;
and uplink the target block to the target block chain according to the index information.
10. The method of claim 1, wherein after obtaining the object environment information corresponding to the transport object and before invoking the smart contract to write the object environment information into the target block, the method further comprises:
generating an initial block;
comparing the capacity value of the initial block with a preset block capacity value, wherein the preset block capacity value is a capacity value preset for a block by the block chain network service platform;
and under the condition that the capacity value of the initial block is greater than the preset block capacity value, increasing the capacity value of the initial block to obtain the target block.
11. A blockchain network service platform, the blockchain network service platform comprising:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring object environment information corresponding to a transport object;
the writing unit is used for calling an intelligent contract to write the object environment information into a target block;
a uplink unit for uplink of the target block to a target block chain.
12. A blockchain network service platform, the blockchain network service platform comprising:
at least one memory for storing executable instructions;
at least one processor configured to execute executable instructions stored in the at least one memory to implement the data storage method of the blockchain network services platform of claims 1-10.
13. A storage medium having stored thereon executable instructions for causing a processor to perform the method of claims 1-10 when the executable instructions are executed.
CN202111082221.4A 2021-09-15 2021-09-15 Block chain network service platform, information processing method and storage medium Pending CN113849855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111082221.4A CN113849855A (en) 2021-09-15 2021-09-15 Block chain network service platform, information processing method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111082221.4A CN113849855A (en) 2021-09-15 2021-09-15 Block chain network service platform, information processing method and storage medium

Publications (1)

Publication Number Publication Date
CN113849855A true CN113849855A (en) 2021-12-28

Family

ID=78974014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111082221.4A Pending CN113849855A (en) 2021-09-15 2021-09-15 Block chain network service platform, information processing method and storage medium

Country Status (1)

Country Link
CN (1) CN113849855A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146514A (en) * 2018-07-27 2019-01-04 程烨 Livestock products is traced to the source information recording method, device, equipment and storage medium
CN110930169A (en) * 2019-11-29 2020-03-27 山东爱城市网信息技术有限公司 Block chain-based meat production information management method, equipment and medium
CN111369267A (en) * 2020-03-05 2020-07-03 广州宏算信息科技有限公司 Fruit and vegetable agricultural product tracing method, device and system based on block chain and storage medium
US20200285633A1 (en) * 2019-03-04 2020-09-10 Alibaba Group Holding Limited Methods and devices for performing off-chain testing on smart contract
CN111769957A (en) * 2020-09-02 2020-10-13 百度在线网络技术(北京)有限公司 Block chain cross-chain query method, device, equipment and storage medium
CN112288441A (en) * 2020-09-28 2021-01-29 山东爱城市网信息技术有限公司 Method, equipment and medium for tracing imported frozen meat based on block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146514A (en) * 2018-07-27 2019-01-04 程烨 Livestock products is traced to the source information recording method, device, equipment and storage medium
US20200285633A1 (en) * 2019-03-04 2020-09-10 Alibaba Group Holding Limited Methods and devices for performing off-chain testing on smart contract
CN110930169A (en) * 2019-11-29 2020-03-27 山东爱城市网信息技术有限公司 Block chain-based meat production information management method, equipment and medium
CN111369267A (en) * 2020-03-05 2020-07-03 广州宏算信息科技有限公司 Fruit and vegetable agricultural product tracing method, device and system based on block chain and storage medium
CN111769957A (en) * 2020-09-02 2020-10-13 百度在线网络技术(北京)有限公司 Block chain cross-chain query method, device, equipment and storage medium
CN112288441A (en) * 2020-09-28 2021-01-29 山东爱城市网信息技术有限公司 Method, equipment and medium for tracing imported frozen meat based on block chain

Similar Documents

Publication Publication Date Title
US10600298B1 (en) Exit-code-based RFID loss-prevention system
Hassan et al. A taxonomy for RFID
CN205407821U (en) A near field communication device
CN108960863A (en) A kind of food block chain retroactive method, device and electronic equipment
CN102609803A (en) Two-dimension code based low-cost product safety tracking system and method thereof
CN105989319B (en) The data application method and system of a kind of radio frequency identification (RFID) labels
US20070143188A1 (en) System and method for processing items placed in a container
US10318779B2 (en) Systems and methods for robust protection of item authentication, tracking and tracing against tag duplication
CN103049869B (en) A kind of management method of the rag trade customer information based on Quick Response Code
CN103593631A (en) Mobile network digital identity recognition system utilizing NFC (near field communication) technology
CN105324777A (en) Device and authentication system
CN104899518A (en) Service processing method and apparatus
Zhu et al. Collisions are preferred: RFID-based stocktaking with a high missing rate
CN101470795A (en) Communication method and apparatus in wireless radio frequency recognition system
Chunli et al. Application and development of RFID technique
CN113947414A (en) Commodity traceability anti-counterfeiting system based on NFC and block chain
CN113849855A (en) Block chain network service platform, information processing method and storage medium
JP2003212349A (en) Non-contact ic tag, cargo control system, cargo control method, cargo control program and storage medium
CN102469451B (en) Method and system for phone card real-name authentication
JP2014078219A (en) Method to implement one time readability on nfc tag
CN103198281A (en) Product tracking system and method
CN103763106A (en) Position privacy protection method in Internet-of-Things authentication
Calvet The role of RFID in the mobile phone
CN111274831B (en) Information circulation system, method, equipment and storage medium based on RFID
CN115866013A (en) Communication node, data transmission method and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination