Digital collection issuing method, device and equipment, medium and computer program product
By generating images unique encoding and executing digital collection issuance smart contracts, the problems of independence and technology closure of digital collection platforms are solved, ensuring the clear and effective ownership of digital collections on different platforms, and realizing business integration and resource sharing.
Patent Information
- Application Number
- CN202411287130.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2024-12-10
AI Technical Summary
The digital collection platform is relatively independent and closed in technology, making it difficult to achieve resource sharing and collaboration, resulting in difficulty in business integration.
By obtaining the target image of the physical object to be issued, extracting featured pixel points, generating an image unique encoding based on the mapping relationship between the pixel value and the label index, and determining it as the issuance parameters of the digital collection, executing the digital collection issuance smart contract to adapt to different platforms Requirements to ensure clear and validity of ownership.
It has achieved clarity and effectiveness of ownership of digital collections on different platforms, solved the problem of business integration difficulties, and improved the collaboration and resource sharing capabilities between platforms.
Smart Images

Figure CN119107179A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of digital collections, and in particular, to a method, apparatus, device, medium and computer program product for issuing digital collections. Background Art
[0002] Digital collections include digital artworks (such as digital pictures), music, videos, virtual reality content (such as 3D models), electronic tickets, digital souvenirs, etc. These virtual assets based on blockchain technology convert real-world artworks and collectibles into digital form and give them a unique digital identity. Through smart contracts, these collections are issued and traded on the blockchain to ensure authenticity and scarcity. Collectors can purchase, display and transfer these digital collections through a dedicated platform and experience the fun of traditional collections.
[0003] However, digital collection platforms are usually relatively independent and technologically closed, making it difficult to achieve resource sharing and collaboration, and business integration is difficult. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus, device, medium and computer program product for issuing digital collections, so as to at least solve the problem that digital collection platforms are relatively independent and technically closed, and business integration is difficult.
[0005] In order to solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for issuing digital collections, including: obtaining a target image corresponding to a physical object to be issued; extracting characteristic pixel points in the target image, and mapping the pixel values corresponding to the characteristic pixel points to label indexes according to a mapping relationship between pixel values and label indexes to obtain an image coding array; based on the image coding array, generating a unique image code; determining the unique image code as an issuance parameter of the digital collection, and executing a smart contract for issuing the digital collection.
[0007] In the second aspect, an embodiment of the present application provides a digital collection issuance device, including: an image acquisition module, used to acquire a target image corresponding to a physical object to be issued; a pixel encoding module, used to extract characteristic pixel points in the target image, and map the pixel values corresponding to the characteristic pixel points to label indexes according to a mapping relationship between pixel values and label indexes to obtain an image coding array; a coding generation module, used to generate a unique image code based on the image coding array; and a collection issuance module, used to determine the unique image code as an issuance parameter of the digital collection and execute a digital collection issuance smart contract.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect above are implemented.
[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the steps of the method described in the first aspect above.
[0011] In the embodiment of the present application, the target image corresponding to the physical object to be issued is obtained; the characteristic pixel points in the target image are extracted, and the pixel values corresponding to the characteristic pixel points are mapped to the label index according to the mapping relationship between the pixel value and the label index to obtain the image coding array; based on the image coding array, the image unique code is generated; the image unique code is determined as the issuance parameter of the digital collection, and the digital collection issuance smart contract is executed. In this way, by generating the image unique code and determining the image unique code as the issuance parameter of the digital collection, it is possible to adapt to the needs of different platforms, ensure the clear ownership and validity of the digital collection on different platforms, and thus help solve the problem of difficult business integration of digital collection platforms.
[0012] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0014] Figure 1 A schematic diagram of a process of issuing a digital collection provided by an embodiment of the present application is shown;
[0015] Figure 2 Another schematic diagram of the process of issuing digital collections provided in an embodiment of the present application is shown;
[0016] Figure 3 A schematic diagram showing a process of a method for binding a unique certificate of a digital collection provided in an embodiment of the present application is shown;
[0017] Figure 4A schematic diagram of the structure of a digital collection issuing device provided in an embodiment of the present application is shown;
[0018] Figure 5 A schematic diagram of the structure of a digital collection distribution system provided in an embodiment of the present application is shown;
[0019] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0020] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0021] In the field of digital collections, there are currently many digital collection platforms, such as the "Huanhe" digital collection platform, the Jingtan collection trading platform, etc. These digital collection platforms are usually relatively independent and technologically closed, making it difficult to achieve resource sharing and collaboration, and it is difficult for operators to issue their own digital collections.
[0022] In response to the above-mentioned problems in the process of issuing digital collections, an embodiment of the present application provides a method for issuing digital collections. The method generates a unique image code and determines the unique image code as the issuance parameter of the digital collection to adapt to the needs of different platforms and ensure the clear ownership and validity of the digital collections on different platforms.
[0023] Figure 1 A flow chart of a method for issuing digital collections provided in an embodiment of the present application is shown. The execution subject of the method may be a terminal device or a server, wherein the terminal device may be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer, and the terminal device may be a terminal device used by a user. The server may be an independent server, or a server cluster composed of multiple servers, and the server may be a background server of a certain business, or a background server of a certain platform or application (such as a commodity platform, a Leopard Digital Collection application, a digital collection issuance system, etc.). In the embodiment of the present application, the background server of the Leopard Digital Collection application, in which the execution subject is an example, is used for explanation. For the case of a terminal device, it can be processed according to the following related content, which will not be repeated here. As shown in the figure, the method 100 may include the following steps:
[0024] Step 101: Acquire a target image corresponding to the physical object to be issued.
[0025] Among them, the physical objects to be issued can be digital artworks, music, videos, virtual reality content, electronic tickets, digital souvenirs, etc.
[0026] In a specific implementation, a corresponding target image can be pre-designed for the physical object to be issued, such as an image of the Leopard digital collection. The Leopard digital collection application (Application, App) obtains the pre-designed target image corresponding to the physical object to be issued, and executes the issuance of the digital collection after encoding the target image.
[0027] Step 102: extracting characteristic pixel points in the target image, and mapping the pixel values corresponding to the characteristic pixel points to label indexes according to the mapping relationship between pixel values and label indexes, to obtain an image coding array.
[0028] In a specific implementation, the target image is identified and feature pixel points are extracted. Specifically, the feature pixel points in the target image can be extracted in a way of taking points according to a preset number of bits, so as to extract key features in the target image. The preset number of bits refers to the proportion of pixel points selected from the image, and the value can be selected based on experience, such as 20% bit number. In this way, the processing efficiency and accuracy can be improved by selecting the appropriate number of feature pixel points based on the empirical value.
[0029] Then, according to the mapping relationship between pixel value and label index, the pixel value corresponding to the feature pixel point is mapped to the label index, and the pixel value is converted into a preset encoding format to obtain an image encoding array.
[0030] Step 103: Generate a unique image code based on the image code array.
[0031] In a specific implementation, a hash algorithm may be used to encode the image code array and convert the image code into a string of fixed length to obtain a unique image code.
[0032] Step 104: Determine the unique image code as the issuance parameter of the digital collection, and execute the digital collection issuance smart contract.
[0033] In the specific implementation, the unique code of the image generated in the above steps is determined as the issuance parameter Token ID of the digital collection, and the digital collection issuance smart contract is executed. For example, registration is performed on the digital collection platform and the sales quantity is set. After the release, the collection is issued and awaits subsequent purchase and binding.
[0034] In this way, by generating a unique image code and determining the unique image code as the distribution parameter of the digital collection, it is possible to adapt to the needs of different platforms and ensure the clarity and validity of the ownership of digital collections on different platforms, which is conducive to solving the problem of difficult business integration of digital collection platforms.
[0035] In a possible implementation, in the above step 102, according to the mapping relationship between the pixel value and the label index, the pixel value corresponding to the feature pixel point is mapped to the label index to obtain the image coding array, including:
[0036] The pixel values corresponding to the characteristic pixel points are sorted according to a preset sorting rule to obtain a pixel array; each unique pixel value in the pixel array is mapped to a unique label index to obtain an image coding array.
[0037] In an embodiment of the present application, the target image can be converted into a one-dimensional array according to the pixel values of the feature pixels, and the pixel values in the one-dimensional array are sorted according to a preset sorting rule to obtain a pixel array; each unique pixel value in the pixel array is mapped to a unique label index, that is, the same pixel value is marked with the same label index to obtain an image coding array.
[0038] In an exemplary embodiment, if Figure 2 As shown, the digital collection issuance method provided in the embodiment of the present application may include the following steps:
[0039] Step 201: Image coding: The target image is converted into a one-dimensional array and sorted by taking points according to a preset bit number for the target image; for example, the image of the Leopard Digital Collection to be released is converted into a one-dimensional array and sorted by taking points according to a 20% bit number; the same pixel values are given the same label index to obtain an image coding array;
[0040] Step 202: Hash calculation: Encode the image code array by using a hash algorithm, convert the image code array into a string of fixed length, and obtain a unique image code;
[0041] Step 203: Registration on the Digital Collection Platform: Use the unique image code as the issuance parameter Token ID of the digital collection, register it on the Digital Collection Platform and set the release quantity.
[0042] In a possible implementation, in the above step 104, the unique image code is determined as the issuance parameter of the digital collection, and the digital collection issuance smart contract is executed, including:
[0043] The unique code of the image is sent to the digital collection issuance platform, and the digital collection issuance smart contract is executed through the digital collection issuance platform.
[0044] In the embodiment of the present application, the unique code of the image is registered to the digital collection distribution platform, and the distribution quantity is set, and the digital collection distribution smart contract is executed through the digital collection distribution platform.
[0045] In a possible implementation, in the above step 104, after determining the unique image code as the issuance parameter of the digital collection and executing the digital collection issuance smart contract, it also includes:
[0046] Obtain a digital collection contract identifier corresponding to the unique code of the image; based on the digital collection contract identifier, display the digital collection reservation information; in response to a reservation trigger operation on the digital collection reservation information, obtain user attribute information; when it is determined based on the user attribute information that the target user meets the reservation conditions, generate reservation receipt information according to the issuance upper limit of the digital collection corresponding to the digital collection reservation information.
[0047] Continuing with the above embodiment, the digital collection issuance platform executes the digital collection issuance smart contract. After successful issuance, the digital collection issuance platform will obtain the digital collection contract identification ID corresponding to the unique image code returned by the digital collection issuance platform. The digital collection contract ID will be used for subsequent digital collection user binding and verification.
[0048] Based on the acquired digital collection contract ID, a digital collection area is set in the Leopard Digital Collection App, and the reservation information of the digital collection issued by the digital collection issuing platform is displayed in the digital collection area, wherein the digital collection reservation information includes the image issued by the digital collection issuing platform and the user reservation purchase link corresponding to the image. In response to the reservation trigger operation of the digital collection reservation information, for example, the target user clicks the user reservation purchase link in the digital collection reservation information to obtain user attribute information such as user number, consumption level, and initial offering protocol (Initial Offering Protocol, IOP) recommendation information; when it is determined based on the user attribute information that the target user meets the reservation conditions, according to the issuance upper limit of the digital collection corresponding to the digital collection reservation information, the reservation receipt information is generated. For example, when the target user meets the reservation conditions and the digital collection does not reach the issuance upper limit, the "successful purchase" information returned by the digital collection issuing platform will be obtained; when the target user meets the reservation conditions and the digital collection reaches the issuance upper limit, the "failed purchase" information returned by the digital collection issuing platform will be obtained.
[0049] In a possible implementation manner, when the appointment receipt information is information indicating that the appointment is successful, the method further includes:
[0050] The user attribute information, the digital collection, and the binding relationship between the user attribute information and the digital collection are stored in the target blockchain to obtain a transaction hash address; based on the transaction hash address, the target user is authenticated; if the identity authentication is passed, the user rights of the target user are determined according to the preset rights issuance rules.
[0051] In the embodiment of the present application, when the digital collection issuance platform executes the digital collection issuance smart contract, the digital collection is stored in the target blockchain. When the appointment receipt information is information used to indicate a successful appointment (such as a successful appointment, etc.), the user attribute information is synchronously stored in the target blockchain, and a binding relationship between the user attribute information and the digital collection is established, thereby obtaining a unique certificate for the digital collection.
[0052] Specifically, Figure 3 As shown, the method for binding a unique certificate of a digital collection may include the following steps:
[0053] Step 301: Use JSON to format and encapsulate user attribute information such as user number, consumption level, IOP recommendation information, etc.;
[0054] Take the user number as an example. As the unique identifier of the user, it is accurately included in the package information. The consumption level reflects the user's consumption in China Mobile, which is crucial for providing personalized services and benefits. The IOP recommendation information may contain specific recommendations for the user, providing more accurate services for the user.
[0055] Step 302: Perform hash encryption on the formatted and encapsulated data to obtain an encrypted string;
[0056] Here, hash encryption is a common encryption method that can convert input data of any length into output of fixed length and is irreversible, which means that even if the encrypted string is obtained, the original user attribute information cannot be directly inferred from it, thus ensuring the confidentiality of the data;
[0057] Step 303: Call the digital collection issuance platform to synchronize the encrypted string to the target blockchain corresponding to the digital collection issuance platform. After the encrypted string is synchronized to the target blockchain, obtain the returned transaction hash address;
[0058] Among them, the decentralized and tamper-proof characteristics of blockchain technology provide a solid guarantee for the uniqueness and security of digital collections; the transaction hash address is like the "ID number" of the digital collection, which is unique and irreplaceable;
[0059] Step 304: Record the transaction hash address into the local application platform;
[0060] In this way, the platform can be easily called and queried in subsequent operations, providing a basis for credential verification for subsequent credential verification; at the same time, every step of the entire binding process is recorded, including the generation of encrypted strings, synchronization of transaction hash addresses, and subsequent verification operations, which enables effective tracing and review when problems or disputes arise, and quick location and resolution of problems.
[0061] Step 305: Authenticate the target user based on the transaction hash address; for example, by calling the digital collection distribution platform with the transaction hash address to return an encrypted string, and then comparing it with the local encrypted string to confirm whether it is the collection owner information.
[0062] In this way, by using encryption algorithms and blockchain technology, it can be ensured that only legitimate users can access and verify their digital collection rights and interests, and the ownership of the collections is clear and cannot be tampered with, thereby increasing users' trust and sense of security in collection transactions and improving user satisfaction.
[0063] Furthermore, when the identity verification is passed, the user rights and interests of the target user are determined according to the preset rights and interests issuance rules. Optionally, the user rights and interests of the target user are determined according to the preset rights and interests issuance rules, including:
[0064] Determine the digital collection type of the target user according to the membership level information of the target user; determine the collection user points according to the digital collection type; and determine the user rights and interests of the target user according to the collection user points.
[0065] Among them, according to the user's brand and monthly consumption, it can be divided into diamond card, platinum card, gold card, silver card and VIP card. Each card type represents a different membership level, so as to determine the membership level information of the target user; according to the membership level information, the different types of digital collections are matched to determine the type of digital collections of the target user. For example, the diamond card is matched with the limited edition digital collection type, the platinum card is matched with the collector's edition digital collection type, the gold card is matched with the collector's edition digital collection type, the silver card is matched with the deluxe edition digital collection type, and the VIP card is matched with the ordinary digital collection type;
[0066] For target users who own digital collections, after verification through the above method, the corresponding user collection points are determined according to the classification of different versions of digital collections bound to the user. Specifically, the average monthly Internet traffic (Daily Online Usage, DOU), average monthly call minutes (Minutes of Use, MOU), average revenue per user (Average Revenue Per User, ARPU) and other indicators of the target user can be extracted through IOP, and the collection user points can be calculated using the weighted average method. Optionally, the collection user points calculation formula is as follows:
[0067]
[0068] Among them, β represents the user points value of the collection, w represents the weight value, x represents the three indicator values of DOU, MOU, and ARPU, and y represents the coefficient value corresponding to the collection type.
[0069] The coefficient value corresponding to the collection type can be selected based on experience. For example, the coefficient value corresponding to the limited edition digital collection type is 5, the coefficient value corresponding to the collector's edition digital collection type is 4, the coefficient value corresponding to the rare edition digital collection type is 3, the coefficient value corresponding to the deluxe edition digital collection type is 2, and the coefficient value corresponding to the ordinary edition digital collection type is 1.
[0070] Then, the user rights of the target user are determined based on the collection user points calculated above. Specifically, the collection user points can be used to redeem the package fee reduction. For example, for the target user who owns digital collections, after verification through the above method, the collection user points of the user for that month are automatically calculated every month. The higher the user's consumption and the more traffic and calls, the more collection user points are obtained. Different levels of points can be redeemed for different levels of package reductions, and the current user package fee can be fully reduced.
[0071] You can also use collection user points to redeem home broadband value-added benefits. For example, for target users who own digital collections, after verification through the above method, the user's collection user points for that month will be automatically calculated according to the above formula every month. At 10 a.m. on the 8th of each month, a limited number of 1,000 places will be available for the second broadband usage fee reduction rush. Users can spend 2,000 points to participate in the rush; when the user already owns a second broadband, the broadband usage fee will be directly waived.
[0072] In particular, special rights and interests can be enjoyed according to the type of digital collection. For example, users who own limited edition digital collections can enjoy special rights and interests such as free admission to scenic spots according to different limited categories.
[0073] In this way, by bundling digital collection users with user rights and using collection user points to redeem user rights, it is possible to provide users with additional value, enhance user interest and participation in digital collections, and thus help increase the circulation of digital collections.
[0074] Figure 4 The schematic diagram of the structure of the digital collection issuing device provided in the embodiment of the present application is shown. The digital collection issuing device can be implemented as follows: Figure 1 In the embodiment shown, all or part of the contents, the digital collection issuing device 400 includes:
[0075] An image acquisition module 410 is used to acquire a target image corresponding to the physical object to be issued;
[0076] The pixel encoding module 420 is used to extract characteristic pixel points in the target image, and map the pixel values corresponding to the characteristic pixel points to the label index according to the mapping relationship between the pixel values and the label indexes, so as to obtain an image encoding array;
[0077] A code generation module 430, used to generate a unique image code based on the image code array;
[0078] The collection issuance module 440 is used to determine the unique image code as the issuance parameter of the digital collection and execute the digital collection issuance smart contract.
[0079] In a possible implementation, the pixel encoding module 420, when used to map the pixel value corresponding to the feature pixel point to the label index according to the mapping relationship between the pixel value and the label index to obtain the image encoding array, is specifically used to:
[0080] Sorting the pixel values corresponding to the characteristic pixel points according to a preset sorting rule to obtain a pixel array;
[0081] Each unique pixel value in the pixel array is mapped to a unique label index to obtain an image encoding array.
[0082] In a possible implementation, the collection issuance module 440, when determining the unique image code as the issuance parameter of the digital collection and executing the digital collection issuance smart contract, is specifically configured to:
[0083] The unique code of the image is sent to the digital collection issuance platform, and the digital collection issuance smart contract is executed through the digital collection issuance platform.
[0084] In a possible implementation, the collection issuing module 440 is further configured to:
[0085] Obtain the digital collection contract identifier corresponding to the unique code of the image;
[0086] Based on the digital collection contract identifier, display the digital collection reservation information;
[0087] In response to a reservation triggering operation on the reservation information of the digital collectible, obtaining user attribute information;
[0088] When it is determined based on the user attribute information that the target user meets the reservation conditions, reservation receipt information is generated according to the issuance upper limit of the digital collection corresponding to the digital collection reservation information.
[0089] In a possible implementation, when the reservation receipt information is information indicating a successful reservation, the collection issuing module 440 is further configured to:
[0090] The user attribute information, the digital collectibles, and the binding relationship between the user attribute information and the digital collectibles are stored in the target blockchain to obtain a transaction hash address;
[0091] Authentication of the target user is performed based on the transaction hash address;
[0092] When the identity verification is passed, the user rights and interests of the target user are determined according to the preset rights and interests issuance rules.
[0093] In a possible implementation, the collection issuing module 440, when used to determine the user rights of the target user according to a preset rights issuing rule, is specifically used to:
[0094] Determining the type of digital collection of the target user according to the membership level information of the target user;
[0095] Determining the collection user points according to the type of the digital collection;
[0096] The user rights and interests of the target user are determined according to the collection user points.
[0097] The embodiment of the present application provides a digital collection issuance device, including an image acquisition module, a pixel encoding module, a code generation module and a collection issuance module; the image acquisition module acquires a target image corresponding to the physical object to be issued; the pixel encoding module extracts characteristic pixel points in the target image, and maps the pixel values corresponding to the characteristic pixel points to the label index according to the mapping relationship between the pixel value and the label index, to obtain an image encoding array; the code generation module generates an image unique code based on the image encoding array; the collection issuance module determines the image unique code as the issuance parameter of the digital collection, and executes the digital collection issuance smart contract. In this way, by generating an image unique code and determining the image unique code as the issuance parameter of the digital collection, it is possible to adapt to the needs of different platforms, ensure the clear ownership and validity of the digital collection on different platforms, and thus help solve the problem of difficult business integration of digital collection platforms.
[0098] In an exemplary embodiment, if Figure 5 As shown, the embodiment of the present application also provides a digital collection issuance system, which includes a digital collection processing module, a Leopard digital collection user binding and verification module, a rights binding Leopard digital collection module and a digital collection issuance platform; wherein,
[0099] The digital collection processing module 510 is used to obtain a target image corresponding to the physical object to be issued; extract characteristic pixel points in the target image, and map the pixel values corresponding to the characteristic pixel points to the label index according to the mapping relationship between the pixel value and the label index to obtain an image coding array; based on the image coding array, generate an image unique code; and send the image unique code to the digital collection issuance platform; illustratively, the target image can be an image of the Leopard digital collection;
[0100] The Leopard Digital Collection user binding and verification module 520 is used to obtain the digital collection contract identifier corresponding to the unique code of the image; based on the digital collection contract identifier, display the digital collection reservation information issued by the digital collection issuance platform; in response to the reservation trigger operation of the digital collection reservation information, obtain user attribute information; when it is determined based on the user attribute information that the target user meets the reservation conditions, generate reservation receipt information according to the issuance upper limit of the digital collection corresponding to the digital collection reservation information; illustratively, the target user can be a Leopard Digital Collection user;
[0101] In the case where the reservation receipt information is information indicating a successful reservation, the user attribute information, the digital collectibles, and the binding relationship between the user attribute information and the digital collectibles are stored in the target blockchain to obtain a transaction hash address;
[0102] Authentication of the target user is performed based on the transaction hash address;
[0103] If the identity verification is passed, the user rights of the target user are determined according to the preset rights issuance rules;
[0104] The rights-binding Leopard Digital Collection Module 530 is used to determine the type of digital collections of the target user according to the membership level information of the target user; determine the collection user points according to the type of digital collections; and determine the user rights of the target user according to the collection user points;
[0105] The digital collection issuance platform 540 is used to execute the digital collection issuance smart contract for the image unique code, generate a digital collection contract identifier corresponding to the image unique code, and send the digital collection contract identifier to the Leopard Digital Collection user binding and verification module; and generate reservation receipt information according to the issuance upper limit of the digital collection corresponding to the digital collection reservation information.
[0106] Figure 6 The hardware structure diagram of the electronic device provided by the embodiment of the present application is shown. Referring to the figure, at the hardware level, the electronic device 600 includes a processor 610, and optionally, an internal bus 620, a network interface 630, and a memory 640. Among them, the memory 640 may include a memory 641, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory 642 (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.
[0107] The processor 610, the network interface 630 and the memory may be connected to each other via an internal bus 620, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0108] The memory 640 stores programs. Specifically, the programs may include program codes, and the program codes include computer operation instructions. The memory 640 may include a memory 641 and a non-volatile memory 642, and provide instructions and data to the processor 610.
[0109] The processor 610 reads the corresponding computer program from the non-volatile memory 642 into the memory and then runs it, forming a device for locating the target user at the logical level. The processor 610 executes the program stored in the memory and specifically performs: Figure 1 or Figure 2 or Figure 3 The method disclosed in the illustrated embodiment realizes the functions and beneficial effects of each method described in the foregoing method embodiments, which will not be described in detail here.
[0110] The above application Figure 1 or Figure 2 or Figure 3The method disclosed in the illustrated embodiment can be applied to the processor 610 or implemented by the processor 610. The processor 610 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 610. The above processor 610 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0111] The computer device can also execute the methods described in the foregoing method embodiments, and realize the functions and beneficial effects of the methods described in the foregoing method embodiments, which will not be repeated here.
[0112] Of course, in addition to software implementation, the electronic device of the present application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0113] The embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable medium stores one or more programs, and when the one or more programs are executed by an electronic device including multiple application programs, the electronic device executes Figure 1 or Figure 2 or Figure 3 The method disclosed in the illustrated embodiment realizes the functions and beneficial effects of each method described in the foregoing method embodiments, which will not be described in detail here.
[0114] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0115] Furthermore, an embodiment of the present application also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, and when the program instructions are executed by a computer, the following process is implemented: Figure 1 or Figure 2 or Figure 3 The method disclosed in the illustrated embodiment realizes the functions and beneficial effects of each method described in the foregoing method embodiments, which will not be described in detail here.
[0116] The embodiments of the present application can be applied to various electronic device collaboration or interconnection scenarios, including: collaboration and interconnection between mobile phones and laptops / tablet computers; collaboration and interconnection between mobile terminals and smart TVs / displays; collaboration and interconnection between mobile phones or tablet computers and in-car entertainment systems; collaboration and interconnection between mobile terminals and smart conference systems, etc., so as to meet the needs of users in various scenarios such as smart homes, smart offices, and smart travel.
[0117] In short, the above is only a preferred embodiment of the present application and does not limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0118] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0119] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0120] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0121] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
Claims
1. A method for issuing digital collections, characterized in that: include: Obtaining a target image corresponding to the physical object to be issued; Extracting characteristic pixel points in the target image, and mapping the pixel values corresponding to the characteristic pixel points to the label index according to the mapping relationship between the pixel values and the label index, to obtain an image coding array; Based on the image code array, generate a unique image code; The unique code of the image is determined as the issuance parameter of the digital collection, and the digital collection issuance smart contract is executed.
2. The method according to claim 1, characterized in that According to the mapping relationship between the pixel value and the label index, the pixel value corresponding to the feature pixel point is mapped to the label index to obtain the image coding array, including: Sorting the pixel values corresponding to the characteristic pixel points according to a preset sorting rule to obtain a pixel array; Each unique pixel value in the pixel array is mapped to a unique label index to obtain an image encoding array.
3. The method according to claim 1, characterized in that The method of determining the unique image code as a issuance parameter of the digital collection and executing the digital collection issuance smart contract includes: The unique code of the image is sent to the digital collection issuance platform, and the digital collection issuance smart contract is executed through the digital collection issuance platform.
4. The method according to claim 1, characterized in that: After determining the unique image code as the issuance parameter of the digital collection and executing the digital collection issuance smart contract, the method further includes: Obtain the digital collection contract identifier corresponding to the unique code of the image; Based on the digital collection contract identifier, display the digital collection reservation information; In response to a reservation triggering operation on the reservation information of the digital collectible, obtaining user attribute information; When it is determined based on the user attribute information that the target user meets the reservation conditions, reservation receipt information is generated according to the issuance upper limit of the digital collection corresponding to the digital collection reservation information.
5. The method according to claim 4, characterized in that In the case where the appointment receipt information is information for indicating a successful appointment, the method further includes: The user attribute information, the digital collectibles, and the binding relationship between the user attribute information and the digital collectibles are stored in the target blockchain to obtain a transaction hash address; Authentication of the target user is performed based on the transaction hash address; When the identity verification is passed, the user rights and interests of the target user are determined according to the preset rights and interests issuance rules.
6. The method according to claim 5, characterized in that Determining the user rights of the target user according to the preset rights issuance rules includes: Determining the type of digital collection of the target user according to the membership level information of the target user; Determining the collection user points according to the type of the digital collection; The user rights and interests of the target user are determined according to the collection user points.
7. A digital collection issuing device, characterized in that: include: An image acquisition module, used to acquire a target image corresponding to the physical object to be issued; A pixel encoding module is used to extract characteristic pixel points in the target image, and map the pixel values corresponding to the characteristic pixel points to the label index according to the mapping relationship between the pixel values and the label indexes, so as to obtain an image encoding array; A code generation module, used for generating a unique image code based on the image code array; The collection issuance module is used to determine the unique code of the image as the issuance parameter of the digital collection and execute the digital collection issuance smart contract.
8. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer is caused to perform the steps of the method according to any one of claims 1 to 6.
