CN112348140A - Bar code information storage method, query method, electronic device and storage medium - Google Patents

Bar code information storage method, query method, electronic device and storage medium Download PDF

Info

Publication number
CN112348140A
CN112348140A CN202011358317.4A CN202011358317A CN112348140A CN 112348140 A CN112348140 A CN 112348140A CN 202011358317 A CN202011358317 A CN 202011358317A CN 112348140 A CN112348140 A CN 112348140A
Authority
CN
China
Prior art keywords
information
file system
hash value
level directory
parameter table
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.)
Granted
Application number
CN202011358317.4A
Other languages
Chinese (zh)
Other versions
CN112348140B (en
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.)
Hangzhou Dbappsecurity Technology Co Ltd
Original Assignee
Hangzhou Dbappsecurity 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 Hangzhou Dbappsecurity Technology Co Ltd filed Critical Hangzhou Dbappsecurity Technology Co Ltd
Priority to CN202011358317.4A priority Critical patent/CN112348140B/en
Publication of CN112348140A publication Critical patent/CN112348140A/en
Application granted granted Critical
Publication of CN112348140B publication Critical patent/CN112348140B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • G06F16/137Hash-based
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a bar code information storage method, an inquiry method, an electronic device and a storage medium, wherein the bar code information storage method comprises the following steps: receiving bar code information to be stored; matching the first top-level directory information in the first top-level directory parameter table according to a first code in the first coded information; and storing the bar code file to a preset file system according to the first storage path determined by the first hash value. Receiving a query request for querying bar code information; matching second top-level directory information in a second top-level directory parameter table according to a second code in the second coded information; querying a second hash value in a second parameter table; and determining a second storage path of the bar code information requested to be inquired by the inquiry request according to the second hash value, and inquiring the bar code information. Through the method and the device, the problem that the bar code cannot be stored and inquired when the central server breaks down is solved, and the bar code storage and inquiry efficiency is improved.

Description

Bar code information storage method, query method, electronic device and storage medium
Technical Field
The present application relates to the field of file storage, and in particular, to a barcode information storage method, an inquiry method, an electronic device, and a storage medium.
Background
The commodity bar code comprises a code and a bar code identification of retail commodities, non-retail commodities, logistics units and positions. The international commodity code and bar code identification system is adopted in China, commodity bar codes are popularized and applied, and the commodity identification system in China is established.
At present, bar code information is uniformly stored in a Chinese article coding center server, and when the center server fails, the problem that bar codes cannot be stored and inquired is caused.
At present, no effective solution is provided for the problem that bar codes cannot be stored and inquired when a central server in the related art breaks down.
Disclosure of Invention
The embodiment of the application provides a bar code information storage method, an inquiry method, an electronic device and a storage medium, which are used for at least solving the problem that the bar code cannot be stored and inquired when a central server fails in the related art.
In a first aspect, an embodiment of the present application provides a method for storing barcode information, including:
receiving bar code information to be stored, wherein the bar code information at least comprises first code information and first commodity information related to the first code information;
matching first top-level directory information in a first top-level directory parameter table according to a first code in the first coded information, wherein the first top-level directory parameter table comprises corresponding relation information of the first code and the first top-level directory information;
generating a bar code file according to the first top-level directory information and the bar code information, storing the bar code file to a preset file system according to a first storage path determined according to a first hash value, and writing the first top-level directory information, the first hash value and the corresponding relation information of the first top-level directory information and the first hash value into a corresponding first parameter table in the preset file system, wherein the first hash value comprises a hash value generated when the first top-level directory information is uploaded to the preset file system.
In some embodiments, the first code comprises a code of a preset number of digits in the first code information, the barcode information further comprises first commodity information, and matching the first top-level catalog information in the top-level catalog parameter table according to the first code in the first code information comprises:
determining a country code corresponding to the first commodity information according to the code of the preset digit;
and inquiring the first top-level directory information corresponding to the country code in the top-level directory parameter table.
In some embodiments, the preset file system includes a plurality of first file system child nodes, generating a barcode file according to the first top-level directory information and the barcode information, and storing the barcode file to the preset file system according to a storage path determined according to the first hash value includes:
uploading the barcode information and the first top-level directory information to the preset file system through one of the plurality of first file system child nodes, and generating the barcode file;
acquiring the first hash value, associating the first hash value with a preset storage position, and generating the first storage path, wherein the preset storage position is located in a cache folder of the preset file system;
and storing the bar code file to the preset storage position according to the first storage path.
In some embodiments, the predetermined file system comprises an interplanetary file system, and uploading the barcode information and the first top-level directory information to the predetermined file system comprises: and uploading the bar code information and the first top-level directory information to the preset file system by adopting an iteration mode.
In some embodiments, the first parameter table includes a ROOT file, and writing the first top-level directory information, the first hash value, and the correspondence information between the first top-level directory and the first hash value into the corresponding parameter table in the predetermined file system includes:
and writing the first top-level directory information, the first hash value and the corresponding relation information of the first top-level directory and the first hash value into the ROOT file, and generating a ROOT hash value associated with the ROOT file.
In a second aspect, an embodiment of the present application provides a method for querying barcode information, configured to query barcode information stored by using the barcode information storage method of the first aspect, where the method includes:
receiving a query request for querying bar code information, wherein the query request at least comprises second coding information of the bar code information requesting to be queried;
according to a second code in the second coded information, matching second top-level directory information in a second top-level directory parameter table, wherein the second top-level directory parameter table comprises corresponding relation information of the second code and the second top-level directory information;
inquiring a second hash value in a second parameter table stored in the preset file system according to the second top-level directory information, wherein the second parameter table comprises corresponding relation information of the second top-level directory information and the second hash value, and the second hash value comprises the hash value generated when the second top-level directory information is uploaded to the preset file system;
and determining a second storage path of the barcode information requested to be queried by the query request according to the second hash value, and querying the barcode information, wherein the second storage path is associated with the storage position of the barcode information requested to be queried by the query request.
In some embodiments, the predetermined file system includes a plurality of second file system child nodes, and before querying a second hash value in a second parameter table stored in the predetermined file system according to the second top-level directory information, the method further comprises:
detecting the second parameter table in a preset storage unit of one of the second file system sub-nodes, wherein the preset storage unit comprises a local storage of the second file system sub-node;
under the condition that the second parameter table is not detected, searching a target file system sub-node in which the second parameter table is stored in the plurality of second file system sub-nodes through a preset lookup table, wherein the preset lookup table comprises a distributed hash table;
and reading the second parameter table from the target file system child node in which the second parameter table is stored, and transmitting the second parameter table to the second file system child node in which the second parameter table is not detected.
In some embodiments, querying a second hash value in a second parameter table stored in the default file system according to the second top-level directory information is performed in the event that the second parameter table is detected.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the barcode information storage method according to the first aspect, and/or perform the barcode information query method according to the second aspect.
In a fourth aspect, an embodiment of the present application provides a storage medium, where a computer program is stored in the storage medium, where the computer program is configured to execute the barcode information storage method according to the first aspect and/or execute the barcode information query method according to the second aspect when running.
Compared with the related art, the barcode information storage method, the query method, the electronic device and the storage medium provided by the embodiment of the application receive the barcode information to be stored, wherein the barcode information at least comprises the first code information and the first commodity information associated with the first code information; matching first top-level directory information in a first top-level directory parameter table according to a first code in the first coded information, wherein the first top-level directory parameter table comprises corresponding relation information of the first code and the first top-level directory information; generating a bar code file according to the first top-level directory information and the bar code information, storing the bar code file to a preset file system according to a first storage path determined according to the first hash value, and writing the first top-level directory information, the first hash value and the corresponding relation information of the first top-level directory information and the first hash value into a corresponding first parameter table in the preset file system.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a terminal of a barcode information storage method and an inquiry method according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of storing barcode information according to an embodiment of the present application;
FIG. 3 is a flow chart of a method of barcode information lookup according to an embodiment of the present application;
FIG. 4 is a flow chart of a method of storing barcode information according to a preferred embodiment of the present application;
FIG. 5 is a diagram illustrating a corresponding barcode file format under a top-level directory in accordance with a preferred embodiment of the present application;
FIG. 6 is a diagram of a bar code file format with hash values as directories according to the preferred embodiment of the present application;
FIG. 7 is a schematic diagram of the contents of a ROOT file in accordance with a preferred embodiment of the present application;
FIG. 8 is a flow chart of a method of barcode information lookup in accordance with a preferred embodiment of the present application;
FIG. 9 is a schematic view of bar code information according to a preferred embodiment of the present application;
fig. 10 is a block diagram of a structure of a barcode information storage apparatus according to an embodiment of the present application;
fig. 11 is a block diagram of a barcode information inquiry apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. 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. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference herein to "a plurality" means greater than or equal to two. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The various techniques described in this application can be used for an InterPlanetary File System (IPFS), which is a globally oriented, peer-to-peer distributed File System that can connect all computing devices with the same File System together, and any server/pc/cloud host on the internet that installs the IPFS service is part of the IPFS network.
Before describing and explaining embodiments of the present application, a description will be given of the related art used in the present application as follows:
hash value: a Hash Function (or Hash algorithm, also known as Hash Function, english: Hash Function) is a method of creating a small digital "fingerprint" from any kind of data. The hash function compresses a message or data into a digest so that the amount of data becomes small, fixing the format of the data. This function mixes the data in a hash, recreating a fingerprint called a hash value (hash sums, or hashes). The hash value is typically represented by a short string of random letters and numbers.
Distributed hash table: (Distributed Hash Table, DHT), is a Distributed storage method. Each client is responsible for a small range of routing without the need for a server and for storing a small portion of data, thereby enabling addressing and storage of the entire DHT network.
IPFS-API: the Interface is a Remote Procedure Call (RPC) Application Programming Interface (API) Interface, and can work between different IPFS implementations.
The method provided by the embodiment can be executed in a terminal, a computer or a similar operation device. Taking an example of the operation on a terminal, fig. 1 is a hardware structure block diagram of the terminal according to the barcode information storage method and the query method of the embodiment of the present application. As shown in fig. 1, the terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the terminal. For example, the terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the barcode information storage method and the query method of the embodiments of the present application, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned methods. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The present embodiment provides a method for storing barcode information, and fig. 2 is a flowchart of a method for storing barcode information according to an embodiment of the present application, and as shown in fig. 2, the flowchart includes the following steps:
step S201, receiving bar code information to be stored, wherein the bar code information at least comprises first code information and first commodity information related to the first code information.
Step S202, according to the first code in the first coded information, matching the first top-level directory information in the first top-level directory parameter table, wherein the first top-level directory parameter table includes the corresponding relationship information between the first code and the first top-level directory information.
In this embodiment, the first encoded information includes encoded information of barcode information, the first code is determined according to a country code in the first encoded information, the first top-level directory parameter table includes top-level directory information named by each country code, and the corresponding first top-level directory information in the first top-level directory parameter table is determined according to the first code.
Step S203, generating a barcode file according to the first top-level directory information and the barcode information, storing the barcode file to a preset file system according to a first storage path determined according to the first hash value, and writing the first top-level directory information, the first hash value and the corresponding relationship information between the first top-level directory information and the first hash value into a corresponding first parameter table in the preset file system, wherein the first hash value comprises a hash value generated when the first top-level directory information is uploaded to the preset file system.
In this embodiment, the first top-level directory information is used as a directory to store barcode information and generate a barcode file, after the first top-level directory information is uploaded to a preset file system and a first hash value is returned, the directory of the barcode file is changed into the first hash value and is stored to the preset file system according to a first storage path determined by the first hash value.
Through the steps S201 to S203, by receiving barcode information to be stored, where the barcode information at least includes first code information and first commodity information associated with the first code information; matching first top-level directory information in a first top-level directory parameter table according to a first code in the first coded information, wherein the first top-level directory parameter table comprises corresponding relation information of the first code and the first top-level directory information; generating a bar code file according to the first top-level directory information and the bar code information, storing the bar code file to a preset file system according to a first storage path determined according to the first hash value, and writing the first top-level directory information, the first hash value and the corresponding relation information of the first top-level directory information and the first hash value into a corresponding first parameter table in the preset file system, so that the problem that the bar code cannot be stored when a central server fails is solved, the bar code storage efficiency is improved, and the distributed storage of the bar code information is realized.
In some embodiments, the first code includes a code of a preset number of digits in the first code information, the barcode information further includes first commodity information, and matching the first top-level catalog information in the top-level catalog parameter table according to the first code in the first code information includes the following steps:
step 1, determining a country code corresponding to the first commodity information according to a code of a preset digit.
In this embodiment, taking a 13-bit barcode as an example, the first 3 bits show the producing country of the commodity, and 690-695 are all codes of China and are distributed internationally.
And 2, inquiring first top-level directory information corresponding to the country code in the top-level directory parameter table.
In this embodiment, it is determined whether top-level catalog information having the same country code as the first commodity information exists in the top-level catalog parameter table, and if so, the top-level catalog information corresponding to the country code is recorded as the first top-level catalog information.
Determining a country code corresponding to the first commodity information according to the code according to the preset digit in the step; the first top-level catalogue information corresponding to the country code is inquired in the top-level catalogue parameter table, and the first top-level catalogue information corresponding to the country code in the first commodity information is found in the top-level catalogue parameter table.
In some embodiments, the method for storing the barcode file in the preset file system includes the following steps:
step 1, uploading the bar code information and the first top-level directory information to a preset file system through one of a plurality of first file system sub-nodes, and generating a bar code file.
In this embodiment, the first file system includes an interplanetary file system, the interplanetary file system includes a plurality of nodes, and the child nodes of the first file system are nodes in the interplanetary file system.
In this embodiment, the barcode information and the first top-level directory information may be uploaded in any child node in the first file system, and after the barcode information and the first top-level directory information are uploaded, the barcode information and the first top-level directory information may be checked in any peer node in the first file system, and the first top-level directory information is used as a directory to store the barcode information to generate a corresponding barcode file.
And 2, acquiring the first hash value, associating the first hash value with a preset storage position, and generating a first storage path.
In this embodiment, associating the first hash value with the preset storage location refers to creating a corresponding relationship between the first hash value and the preset storage location, assuming that the first top-level directory is 690, determining the storage location according to the first top-level directory 690, uploading the first top-level directory to the first file system, and returning the first hash value, so that the first hash value determined by the first top-level directory is associated with the preset storage location.
In this embodiment, the first hash value includes a hash value generated when the first top-level directory information is uploaded to the preset file system, and the preset storage location is located in a cache folder of the preset file system.
And 3, storing the bar code file to a preset storage position according to the first storage path.
Uploading the bar code information and the first top-level directory information to a preset file system through one of the plurality of first file system sub-nodes in the step, and generating a bar code file; acquiring a first hash value, associating the first hash value with a preset storage position, and generating a first storage path; and storing the bar code file to a preset storage position according to the first storage path, thereby realizing the storage of the bar code file.
In some embodiments, the predetermined file system comprises an interplanetary file system, and uploading the barcode information and the first top-level directory information to the predetermined file system comprises: and uploading the bar code information and the first top-level directory information to a preset file system by adopting an iteration mode.
It should be noted that the interplanetary file system is a file storage and content distribution network protocol that combines the existing successful system Distributed Hash Tables (DHTs), BitTorrent, version control system Git, Self-Certified file system (Self-Certified file systems-SFS) with a blockchain.
The barcode information and the first top-level directory information are uploaded to a preset file system by adopting an iteration mode in the steps, and the barcode information and the first top-level directory information can be uploaded to an interplanetary file system, so that the barcode information and the first top-level directory information are stored in the interplanetary file system.
In some embodiments, the first parameter table includes a ROOT file, and writing the first top-level directory information, the first hash value, and the correspondence information between the first top-level directory and the first hash value into the corresponding parameter table in the predetermined file system includes the following steps:
and writing the first top-level directory information, the first hash value and the corresponding relation information of the first top-level directory and the first hash value into the ROOT file, and generating a ROOT hash value related to the ROOT file.
Through the method, the ROOT file associated with the first hash value and the first top-level directory and the ROOT hash value associated with the ROOT file are obtained, so that the association of the first top-level directory and the first hash value and the association of the ROOT file and the ROOT hash value are realized, and preparation is made for follow-up bar code information inquiry.
The embodiments of the present application are described and illustrated below by means of preferred embodiments.
Fig. 4 is a flowchart of a barcode information storage method according to a preferred embodiment of the present application, as shown in fig. 4, the barcode information storage method includes the steps of:
step S401 creates a barcode file under the top-level directory.
Taking a 13-bit bar code as an example, the basic structure is as follows:
(a) the 1 st to 3 rd digits show the producing country of the commodity (690 and 695 are all Chinese codes and are distributed internationally);
(b) the 4 th to 7 th digits represent the business number of the manufacturer, which is uniformly assigned to the applied business number by the coding mechanism of the country (or region);
(c) the 8 th to 12 th digits are individual goods numbers, the manufacturer classifies the products in advance and codes the products one by one, and the manufacturer can code 10 ten thousand goods in total;
(d) the 13 th digit is a check code.
A plurality of directories named by the first three bits of the bar code are created in any node of the IPFS, and are marked as TOP-level directories TOP _ DIR:690, 691 and 692, and the like. Barcode files named with specific barcode codes are created under a top-level directory, and fig. 5 is a schematic diagram of a corresponding barcode file format under the top-level directory according to the preferred embodiment of the present application, wherein 692 denotes the corresponding directory, 6921734900128, 6921734900129, and 6921734900130 denote the barcode files, and the barcode file content format is shown in the following table.
Figure BDA0002803278090000091
Figure BDA0002803278090000101
Step S402, uploading the top directory in the IPFS node, and recording the hash value of the returned top directory.
Each TOP _ DIR is uploaded in the IPFS node in-r mode and the returned hash values are recorded as CID _690, CID _691, CID _692, respectively.
Assuming that the top-level directory is 692, uploading 692 on the IPFS node using-r mode will return a hash value zqrcbqvpttrbtasjyqvun 82gzwzzy9hX pzxi3Ggyqga, the directory name of 692 in the IPFS network becomes zqrcbqvpitrbtasjyqvun 82gzwzzy9hX2pzxi3Ggyqga, fig. 6 is a schematic diagram of a barcode file format corresponding to the directory using the hash value according to the preferred embodiment of the present application as the directory, a barcode file format corresponding to the directory using zqbqpvtrbtasjyvun 82 gzzy 9 gczy 9hX pzxi3 ggqga as the directory is shown in fig. 6, wherein zqbqpqbqpqptpitvtpttasjyvun 82gzwzzy9hX pzzzy 3 gqga is a barcode file format corresponding to the directory, and the barcode file format is returned from the IPFS node 692 to the IPFS network after uploading 39 6921734900130, the barcode file format is expressed as a barcode file format. In this way, preparation is made for finding the corresponding barcode file through the uniqueness and invariance of the hash value of the top-level directory.
In step S403, the top-level directory and the hash value of the top-level directory are written into the ROOT file.
Writing the hash value and the top-level directory returned in step S402 into the ROOT file, such as writing the top- level directories 690, 691 and 692 and their corresponding hash values into the ROOT file, fig. 7 is a diagram illustrating the contents of the ROOT file according to the preferred embodiment of the present application, where 690, 691 and 692 represent top-level directories, qmrcbbqvpivttrbtasjyqvun 82gzwU89 kmhkkqankquq represents the hash value of the top-level directory 690, pmrcbbqvpivttrbtasjqvun 82gzwzyjuK9 kikkkuyhg 8 represents the hash value of the top-level directory 691, and zqbqpvibttajyvun 82gzwzzy9hX2 pzqxga 3 gyqga represents the hash value of the top-level directory 692.
And step S404, uploading the ROOT file to the IPFS network through the IPFS node, and recording the returned ROOT hash value.
The method comprises the steps that a ROOT file is uploaded to an IPFS network through an IPFS node, the ROOT file is stored in a cache folder (. IPFS) by an IPFS chunk, then the ROOT file can be viewed on another peer end (such as a main gateway, IPFS. io) of the network, even if the local node is closed later, the ROOT file can still be viewed on the Internet, because the gateway or other peers on the network still cache the ROOT file, the hash value of the ROOT file returned by the IPFS network is recorded and is recorded as CID _ ROOT, CID _ ROOT serves as a query entry, progressive analysis can be carried out, and the content format of the ROOT file is shown in a table.
Figure BDA0002803278090000102
Figure BDA0002803278090000111
Through the method, preparation is made for finding the corresponding ROOT file through uniqueness and invariance of the hash value of the ROOT file.
The embodiment also provides a bar code information query method. Fig. 3 is a flowchart of a barcode information query method according to an embodiment of the present application, and as shown in fig. 3, the flowchart includes the following steps:
step S301, receiving an inquiry request for inquiring the barcode information, wherein the inquiry request at least comprises second encoding information of the barcode information requested to be inquired.
Step S302, according to a second code in the second coded information, matching second top-level directory information in a second top-level directory parameter table, wherein the second top-level directory parameter table comprises corresponding relationship information of the second code and the second top-level directory information.
Step S303, a second hash value is inquired in a second parameter table stored in the preset file system according to the second top-level directory information, wherein the second parameter table comprises corresponding relationship information of the second top-level directory information and the second hash value, and the second hash value comprises a hash value generated when the second top-level directory information is uploaded to the preset file system.
Step S304, a second storage path of the barcode information requested to be inquired by the inquiry request is determined according to the second hash value, and the barcode information is inquired, wherein the second storage path is associated with the storage position of the barcode information requested to be inquired by the inquiry request.
Through the steps S301 to S304, an inquiry request for inquiring the barcode information is received, where the inquiry request at least includes the second encoded information of the barcode information requested to be inquired; matching second top-level directory information in a second top-level directory parameter table according to a second code in the second coded information; inquiring a second hash value in a second parameter table stored in a preset file system according to the second top-level directory information; and determining a second storage path of the bar code information requested to be inquired by the inquiry request according to the second hash value, and inquiring the bar code information, so that the problem that the bar code cannot be inquired when the central server fails is solved, the bar code inquiry efficiency is improved, and the bar code information is inquired in a distributed manner.
In this embodiment, the predetermined file system includes a plurality of second file system child nodes, and the following steps are included before querying the second hash value in the second parameter table stored in the predetermined file system according to the second top-level directory information:
step 1, determining a second parameter table according to a third hash value, and detecting the second parameter table in a preset storage unit of one of a plurality of second file system sub-nodes, wherein the preset storage unit comprises a local storage of the second file system sub-node, and the third hash value comprises a hash value generated when the second parameter table is uploaded to a preset file system.
And 2, under the condition that the second parameter table is not detected, searching a target file system sub-node in which the second parameter table is stored in the plurality of second file system sub-nodes through a preset query table, wherein the preset query table comprises a distributed hash table.
And 3, reading the second parameter table from the target file system child node in which the second parameter table is stored, and transmitting the second parameter table to the second file system child node in which the second parameter table is not detected.
Through the plurality of second file system sub-nodes in the steps, the second parameter table is firstly detected in the preset storage unit in the second file system, when the second parameter table is not detected, the sub-nodes in which the second parameter table is stored are detected in the second file system through the preset query table, and the second parameter table is transmitted to the second file system sub-nodes in which the second parameter table is not detected, so that the detection of the second parameter table in the second file system is realized, and preparation is made for subsequently querying the second hash value in the second parameter table according to the second top-level directory.
In some of these embodiments, querying the second parameter table stored in the default file system for the second hash value based on the second top-level directory information is performed in the event that the second parameter table is detected.
Fig. 8 is a flowchart of a barcode information query method according to a preferred embodiment of the present application, and as shown in fig. 8, the barcode information retrieval method includes the following steps:
in step S801, a commodity barcode is input.
After the merchant requests the approval of the barcode, the staff of the national barcode center inputs the barcode of the commodity, and fig. 9 is a schematic diagram of barcode information according to the preferred embodiment of the present application, wherein 6921734900128 represents the barcode of the commodity.
Step S802, the ROOT file is searched in the IPFS system according to the ROOT file hash value.
And retrieving the ROOT file according to the uniqueness and invariance of the hash value of the ROOT file, and retrieving the ROOT file through the hash value CID _ ROOT of the ROOT file.
Step S803, whether a ROOT file exists in the local storage block.
Searching whether a ROOT file exists from the local storage block according to the hashed value CID _ ROOT, and if so, entering step S806;
if not, sending a query request to a sweep network through the IPFS-API, wherein the sweep network is composed of peer nodes directly connected with the own node, and entering step S804. In the above manner, the corresponding ROOT file is found in the local storage block through the uniqueness and invariance of the hash value of the ROOT file.
Step S804, the peer node is looked up in the DHT routing table.
And searching the node with the ROOT file through the DHT table.
Step S805 is performed to determine whether a peer node has a ROOT file.
And judging whether the peer node has a ROOT file according to the hash value CID _ ROOT, if so, entering the step S806, and if not, ending the flow. In the above way, the corresponding ROOT file is found in the peer node of the IPFS through the uniqueness and invariance of the hash value of the ROOT file.
In step S806, a complete ROOT file is acquired.
And acquiring a complete ROOT file and returning the complete ROOT file to the local node, wherein each node of the IPFS is provided with a local cache block, so that the local node can cache the ROOT file firstly. Through the mode, the ROOT file can be prevented from being damaged or lost.
Step S807, intercepting the first 3 bits of the bar code, and searching the complete bar code file in the IPFS system according to the hash value of the top directory.
When the user side inquires the commodity information with the barcode of 6921734900128, the first three bits 692 are extracted, the system searches the hash value CID _692 corresponding to 692 directory in the ROOT file according to the first 3 bits 692 of the commodity 6921734900128 needing to be inquired, the CID _692 is QmRCbQvpivTtrbTaSjYqVUN82gzwzzy9hX2pzxi3Ggyqga, and the 6921734900128 file is found through a CID _692/6921734900128 path.
Step S808, whether a barcode file exists in the local storage block.
Searching CID _692/6921734900128 from the local storage block, and if a 6921734900128 file exists, entering the step S811;
and if not, sending a query request to a sweep network through the IPFS-API, wherein the sweep network is composed of peer nodes directly connected with the own node, and entering the step S809. In this way, the corresponding barcode file is found in the local storage block by the uniqueness and invariance of the hash value of the top level directory.
Step S809, the peer node is looked up in the DHT routing table.
The node owning the CID _692/6921734900128 file is looked up through the DHT table.
Step S810, whether a bar code file exists in the peer node.
And judging whether the peer node has the bar code file, if so, entering the step S811, and if not, ending the process. In the above way, the corresponding barcode file is found in the peer node of the IPFS through the uniqueness and invariance of the hash value of the directory.
Step S811, PML information corresponding to the barcode file is acquired.
In the present embodiment, the Physical Markup Language (PML) is a new type of standardized computer Language that describes products, processes, and environments in a manner that can be understood by computers.
Acquiring a bar code file, wherein the bar code file is 6921734900128 in the preferred embodiment, downloading 6921734900128 files and reading corresponding PML information, wherein the PML information is shown in fig. 9, and the PML information comprises a product name, a brand name, a specification model, a width, a height, a depth, a country of origin, whether the product is a basic unit or not, keywords, gross weight, net content, morphological description and GPC classification category codes.
Step S812, returns the PML information to the client.
And returning the read PML content to the user side, wherein the user side can be on any node in the IPFS.
The present embodiment further provides a barcode information storage device, which is used to implement the foregoing embodiments and preferred embodiments, and the description of the barcode information storage device is omitted for brevity. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 10 is a block diagram of a structure of a barcode information storage apparatus according to an embodiment of the present application, as shown in fig. 10, the apparatus including:
the system comprises a first receiving module 101, a first storage module, a second storage module and a second receiving module, wherein the first receiving module 101 is used for receiving bar code information to be stored, and the bar code information at least comprises first code information and first commodity information related to the first code information;
the first matching module 102 is configured to match the first top-level directory information in the first top-level directory parameter table according to a first code in the first coded information, where the first top-level directory parameter table includes correspondence information between the first code and the first top-level directory information;
the storage module 103 is configured to generate a barcode file according to the first top-level directory information and the barcode information, store the barcode file to the preset file system according to a first storage path determined according to the first hash value, and write the first top-level directory information, the first hash value, and the correspondence information between the first top-level directory information and the first hash value into a corresponding first parameter table in the preset file system, where the first hash value includes a hash value generated when the first top-level directory information is uploaded to the preset file system.
In one embodiment, the first code includes a code with a preset digit in the first code information, the barcode information further includes first commodity information, and the matching module 102 is configured to determine a country code corresponding to the first commodity information according to the code with the preset digit; first top-level directory information corresponding to the country code is looked up in a top-level directory parameter table.
In one embodiment, the preset file system includes a plurality of first file system child node storage modules 103, configured to upload the barcode information and the first top-level directory information to the preset file system via one of the plurality of first file system child nodes, and generate a barcode file; acquiring a first hash value, associating the first hash value with a preset storage position, and generating a first storage path, wherein the preset storage position is located in a cache folder of a preset file system; and storing the bar code file to a preset storage position according to a first storage path.
In one embodiment, the preset file system comprises an interplanetary file system, and the storage module 103 is configured to upload the barcode information and the first top-level directory information to the preset file system in an iterative mode.
In one embodiment, the first parameter table includes a ROOT file, and the storage module 103 is configured to write the first top-level directory information, the first hash value, and the correspondence information between the first top-level directory and the first hash value into the ROOT file, and generate a ROOT hash value associated with the ROOT file.
Fig. 11 is a block diagram of a barcode information inquiry apparatus according to an embodiment of the present application, and as shown in fig. 11, the apparatus includes:
a second receiving module 111, configured to receive an inquiry request for inquiring barcode information, where the inquiry request at least includes second encoded information of the barcode information requested to be inquired;
a second matching module 112, configured to match the second top-level directory information in the second top-level directory parameter table according to a second code in the second coded information, where the second top-level directory parameter table includes information of a correspondence between the second code and the second top-level directory information;
the first query module 113 is configured to query a second hash value in a second parameter table stored in the preset file system according to the second top-level directory information, where the second parameter table includes correspondence information between the second top-level directory information and the second hash value, and the second hash value includes a hash value generated when the second top-level directory information is uploaded to the preset file system;
and the second query module 114 is configured to determine a second storage path of the barcode information requested to be queried by the query request according to the second hash value, and query the barcode information, where the second storage path is associated with a storage location of the barcode information requested to be queried by the query request.
In one embodiment, the preset file system comprises a plurality of second file system sub-nodes, and the barcode information query device is further configured to detect a second parameter table in a preset storage unit of one of the plurality of second file system sub-nodes, where the preset storage unit comprises a local storage of the second file system sub-node; under the condition that the second parameter table is not detected, searching a target file system sub-node in which the second parameter table is stored in a plurality of second file system sub-nodes through a preset query table, wherein the preset query table comprises a distributed hash table; and reading the second parameter table from the target file system child node in which the second parameter table is stored, and transmitting the second parameter table to the second file system child node in which the second parameter table is not detected.
In one embodiment, the barcode information query means is further configured to perform, in case that the second parameter table is detected, querying the second hash value in the second parameter table stored in the preset file system according to the second top directory information.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination. The present embodiment also provides an electronic device comprising a memory having a computer program stored therein and a processor configured to execute the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
and S1, receiving bar code information to be stored, wherein the bar code information at least comprises first code information and first commodity information related to the first code information.
And S2, matching the first top-level directory information in the first top-level directory parameter table according to the first code in the first coded information, wherein the first top-level directory parameter table comprises the corresponding relation information of the first code and the first top-level directory information.
S3, generating a bar code file according to the first top-level directory information and the bar code information, storing the bar code file to a preset file system according to a first storage path determined according to the first hash value, and writing the first top-level directory information, the first hash value and the corresponding relation information of the first top-level directory information and the first hash value into a corresponding first parameter table in the preset file system, wherein the first hash value comprises the hash value generated when the first top-level directory information is uploaded to the preset file system.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
and S4, receiving a query request for querying the bar code information, wherein the query request at least comprises second coding information of the bar code information requested to be queried.
And S5, matching the second top-level directory information in the second top-level directory parameter table according to the second code in the second coded information, wherein the second top-level directory parameter table comprises the corresponding relation information of the second code and the second top-level directory information.
And S6, querying a second hash value in a second parameter table stored in the preset file system according to the second top-level directory information, wherein the second parameter table comprises corresponding relationship information between the second top-level directory information and the second hash value, and the second hash value comprises a hash value generated when the second top-level directory information is uploaded to the preset file system.
And S7, determining a second storage path of the barcode information requested to be queried by the query request according to the second hash value, and querying the barcode information, wherein the second storage path is associated with the storage location of the barcode information requested to be queried by the query request.
It should be noted that, for specific examples in this embodiment, reference may be made to examples described in the foregoing embodiments and optional implementations, and details of this embodiment are not described herein again.
In addition, by combining the barcode information storage method and the query method in the foregoing embodiments, the embodiments of the present application may provide a storage medium to implement. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any one of the barcode information storage methods and/or barcode information query methods in the above embodiments.
It should be understood by those skilled in the art that various features of the above-described embodiments can be combined in any combination, and for the sake of brevity, all possible combinations of features in the above-described embodiments are not described in detail, but rather, all combinations of features which are not inconsistent with each other should be construed as being within the scope of the present disclosure.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of storing barcode information, comprising:
receiving bar code information to be stored, wherein the bar code information at least comprises first code information and first commodity information related to the first code information;
matching first top-level directory information in a first top-level directory parameter table according to a first code in the first coded information, wherein the first top-level directory parameter table comprises corresponding relation information of the first code and the first top-level directory information;
generating a bar code file according to the first top-level directory information and the bar code information, storing the bar code file to a preset file system according to a first storage path determined according to a first hash value, and writing the first top-level directory information, the first hash value and the corresponding relation information of the first top-level directory information and the first hash value into a corresponding first parameter table in the preset file system, wherein the first hash value comprises a hash value generated when the first top-level directory information is uploaded to the preset file system.
2. The barcode information storage method of claim 1, wherein the first code comprises a code of a preset number of digits in the first code information, the barcode information further comprises first commodity information, and matching the first top-level catalog parameter table according to the first code in the first code information comprises:
determining a country code corresponding to the first commodity information according to the code of the preset digit;
and inquiring the first top-level directory information corresponding to the country code in the top-level directory parameter table.
3. The method of claim 1, wherein the predetermined file system includes a plurality of first file system child nodes, generating a barcode file according to the first top-level directory information and the barcode information, and storing the barcode file to the predetermined file system according to a storage path determined according to the first hash value includes:
uploading the barcode information and the first top-level directory information to the preset file system through one of the plurality of first file system child nodes, and generating the barcode file;
acquiring the first hash value, associating the first hash value with a preset storage position, and generating the first storage path, wherein the preset storage position is located in a cache folder of the preset file system;
and storing the bar code file to the preset storage position according to the first storage path.
4. The method according to claim 3, wherein the predetermined file system includes an interplanetary file system, and uploading the barcode information and the first top-level directory information to the predetermined file system includes: and uploading the bar code information and the first top-level directory information to the preset file system by adopting an iteration mode.
5. The method of claim 1, wherein the first parameter table comprises a ROOT file, and writing the first top directory information, the first hash value, and the correspondence information between the first top directory and the first hash value into the corresponding parameter table in the predetermined file system comprises:
and writing the first top-level directory information, the first hash value and the corresponding relation information of the first top-level directory and the first hash value into the ROOT file, and generating a ROOT hash value associated with the ROOT file.
6. A barcode information inquiry method for inquiring barcode information stored using the barcode information storage method according to any one of claims 1 to 5, comprising:
receiving a query request for querying bar code information, wherein the query request at least comprises second coding information of the bar code information requesting to be queried;
according to a second code in the second coded information, matching second top-level directory information in a second top-level directory parameter table, wherein the second top-level directory parameter table comprises corresponding relation information of the second code and the second top-level directory information;
inquiring a second hash value in a second parameter table stored in the preset file system according to the second top-level directory information, wherein the second parameter table comprises corresponding relation information of the second top-level directory information and the second hash value, and the second hash value comprises the hash value generated when the second top-level directory information is uploaded to the preset file system;
and determining a second storage path of the barcode information requested to be queried by the query request according to the second hash value, and querying the barcode information, wherein the second storage path is associated with the storage position of the barcode information requested to be queried by the query request.
7. The barcode information query method of claim 6, wherein the predetermined file system comprises a plurality of second file system child nodes, and before querying a second hash value in a second parameter table stored in the predetermined file system according to the second top directory information, the method further comprises:
detecting the second parameter table in a preset storage unit of one of the second file system sub-nodes, wherein the preset storage unit comprises a local storage of the second file system sub-node;
under the condition that the second parameter table is not detected, searching a target file system sub-node in which the second parameter table is stored in the plurality of second file system sub-nodes through a preset lookup table, wherein the preset lookup table comprises a distributed hash table;
and reading the second parameter table from the target file system child node in which the second parameter table is stored, and transmitting the second parameter table to the second file system child node in which the second parameter table is not detected.
8. The barcode information query method of claim 7, wherein querying the second parameter table stored in the predetermined file system for the second hash value according to the second top directory information is performed in case that the second parameter table is detected.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the barcode information storage method according to any one of claims 1 to 5 and/or the barcode information query method according to any one of claims 6 to 8.
10. A storage medium, in which a computer program is stored, wherein the computer program is configured to execute the barcode information storage method according to any one of claims 1 to 5 when executed, and/or execute the barcode information query method according to any one of claims 6 to 8.
CN202011358317.4A 2020-11-27 2020-11-27 Bar code information storage method, query method, electronic device and storage medium Active CN112348140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011358317.4A CN112348140B (en) 2020-11-27 2020-11-27 Bar code information storage method, query method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011358317.4A CN112348140B (en) 2020-11-27 2020-11-27 Bar code information storage method, query method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112348140A true CN112348140A (en) 2021-02-09
CN112348140B CN112348140B (en) 2023-04-18

Family

ID=74365918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011358317.4A Active CN112348140B (en) 2020-11-27 2020-11-27 Bar code information storage method, query method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112348140B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103080959A (en) * 2010-07-08 2013-05-01 英迪股份有限公司 Method for managing contents in network, and web server used thereto
CN109978573A (en) * 2019-04-03 2019-07-05 上海中商网络股份有限公司 A kind of information source tracing system based on block chain
CN110083597A (en) * 2019-03-16 2019-08-02 平安普惠企业管理有限公司 Order querying method, device, computer equipment and storage medium
CN110321325A (en) * 2019-06-21 2019-10-11 腾讯科技(深圳)有限公司 File inode lookup method, terminal, server, system and storage medium
CN111182067A (en) * 2019-12-31 2020-05-19 上海焜耀网络科技有限公司 Data writing method and device based on interplanetary file system IPFS
CN111563083A (en) * 2020-04-30 2020-08-21 中国银行股份有限公司 Report data query method, device and system
CN111860709A (en) * 2020-06-21 2020-10-30 深圳华物信联科技有限公司 Commodity management system and commodity management method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103080959A (en) * 2010-07-08 2013-05-01 英迪股份有限公司 Method for managing contents in network, and web server used thereto
CN110083597A (en) * 2019-03-16 2019-08-02 平安普惠企业管理有限公司 Order querying method, device, computer equipment and storage medium
CN109978573A (en) * 2019-04-03 2019-07-05 上海中商网络股份有限公司 A kind of information source tracing system based on block chain
CN110321325A (en) * 2019-06-21 2019-10-11 腾讯科技(深圳)有限公司 File inode lookup method, terminal, server, system and storage medium
CN111182067A (en) * 2019-12-31 2020-05-19 上海焜耀网络科技有限公司 Data writing method and device based on interplanetary file system IPFS
CN111563083A (en) * 2020-04-30 2020-08-21 中国银行股份有限公司 Report data query method, device and system
CN111860709A (en) * 2020-06-21 2020-10-30 深圳华物信联科技有限公司 Commodity management system and commodity management method

Also Published As

Publication number Publication date
CN112348140B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN101326536B (en) Rfid tag for ip address-based rfid service and rfid service method using the same
CN101009516B (en) A method, system and device for data synchronization
CN103186653B (en) Nonproductive poll method and apparatus, querying method and equipment and name inquiry system
CN102982284B (en) For the scanning device of rogue program killing, cloud management equipment and method and system
CN110198292B (en) Domain name recognition method and device, storage medium and electronic device
JP2008016045A (en) Device, method and system for making access to information in pier environment
US9495469B2 (en) System and method to identify machine-readable codes
US20210144226A1 (en) Partial downloads of compressed data
US20200153889A1 (en) Method for uploading and downloading file, and server for executing the same
CN110363017A (en) Mix the data safety sharing method and system based on client encryption under cloud environment
CN111680489B (en) Target text matching method and device, storage medium and electronic equipment
CN113273163A (en) File uploading method, file downloading method and file management device
CN103269302A (en) Shared file management method and system for instant messaging
JP2024045209A (en) Blockchain data search method
CN113434506B (en) Data management and retrieval method, device, computer equipment and readable storage medium
CN112348140B (en) Bar code information storage method, query method, electronic device and storage medium
CN110851794A (en) Media file uplink method and device, storage medium and electronic device
US20060230054A1 (en) On-line organization of data sets
CN103269352A (en) Point-to-point (P2P) file downloading method and device
CN113986835A (en) Management method, device, equipment and storage medium for FastDFS distributed files
CN106921521B (en) Equipment information loading method and network equipment
CN109195202A (en) For identifying the method and apparatus of wireless access point
CN115017103B (en) Financial business image information acquisition method and device, electronic equipment and storage medium
CN115905120B (en) Archive file management method, archive file management device, archive file management computer device and archive file management storage medium
CN106685889B (en) Service implementation method and device based on user identity

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
GR01 Patent grant
GR01 Patent grant