Article image generation method and device, electronic equipment and storage medium

By capturing images of the outer surface of express delivery items and generating image watermarks, the problem of difficulty in determining the stage of damage to express delivery has been solved, enabling rapid and accurate evidence provision and information security, and improving the efficiency of express delivery.

CN120931465APending Publication Date: 2025-11-11SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511039806.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-28
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

In the express delivery pickup process, the traditional method relies on manual entry of waybill information and inspection of the appearance of goods, which is inefficient and prone to errors. As a result, it is difficult to determine the stage of damage when the express delivery is damaged, and it is difficult for merchants, express delivery companies and consumers to identify the cause of the problem, thus reducing the consumer experience.

Method used

By taking images of the outer surface of mailed items, the courier delivery stage is determined, an image watermark is generated, and a unique identifier, shooting time, and location information are added to form an evidence image containing the outer surface. The template table is updated using the backend server, reducing template selection time and avoiding information omission.

Benefits of technology

Quickly and accurately determine the stage of damage to packages, provide explanatory evidence, improve mailing efficiency, ensure information security, and reduce human error.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120931465A_ABST
    Figure CN120931465A_ABST
Patent Text Reader

Abstract

The invention discloses an article image generation method and device, electronic equipment and a storage medium. The method comprises the following steps: determining a first image; determining an express mailing stage of the mailed article at the current moment, and determining a first template according to the express mailing stage of the mailed article at the current moment; determining first information according to the first template, and generating a first watermark according to the first information and the first template; and adding the first watermark to the first image to obtain a second image. By adopting the technical scheme of the invention, the template required by the current stage can be quickly and accurately determined, the mailing efficiency of mailed items is further improved, the first template is obtained through the method, the problems of information omission and the like during subsequent information filling can be avoided, and the user experience is improved. In addition, the conditions of the mailed article at the shooting time of the first image, the position of the mailed article and the outer surface can be determined according to the second image, so that the situation that the mailed article serves as explanation evidence to be displayed when dispute occurs is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of express delivery technology, and in particular to a method, apparatus, electronic device, and storage medium for generating images of items. Background Technology

[0002] In the express delivery pickup process, traditional methods rely on manual entry of waybill information and inspection of goods, which is inefficient and prone to errors. For example, manual operation may result in data entry errors or oversights in goods inspection, leading to obstacles in subsequent sorting and transportation. Furthermore, during delivery, damage to packages is difficult to determine effectively, and there is no way to prove when the damage occurred. This makes it difficult for merchants, express delivery companies, and consumers to identify the cause of the problem, ultimately reducing the consumer experience. Summary of the Invention

[0003] This invention provides a method, apparatus, electronic device, and storage medium for generating images of items, in order to solve the problem of being unable to trace the stage of damage when a package is damaged.

[0004] According to one aspect of the present invention, a method for generating an image of an object is provided, the method comprising:

[0005] The first image is defined as an image taken of the outer surface of the mailed item.

[0006] Determine the current courier delivery stage of the mailed item, and based on the current courier delivery stage of the mailed item, determine the first template, which is an image watermark generation template;

[0007] Based on the first template, determine the first information, and generate the first watermark based on the first information and the first template. The first information is the information that needs to be filled in the first template. The first information includes at least the unique identifier of the mailed item, the time when the first image was taken, and the location of the mailed item.

[0008] Add the first watermark to the first image to obtain the second image.

[0009] According to another aspect of the present invention, an object image generation apparatus is provided, the apparatus comprising:

[0010] The first image determination module is used to determine a first image, which is an image of the outer surface of the mailed item.

[0011] The first template determination module is used to determine the current express delivery stage of the mailed item and determine the first template based on the current express delivery stage of the mailed item. The first template is an image watermark generation template.

[0012] The first watermark generation module is used to determine first information based on the first template, and generate a first watermark based on the first information and the first template. The first information is the information that needs to be filled in the first template. The first information includes at least the unique identifier of the mailed item, the time when the first image was taken, and the location of the mailed item.

[0013] The second image generation module is used to add the first watermark to the first image to obtain the second image.

[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0015] At least one processor; and

[0016] A memory that is communicatively connected to at least one processor; wherein,

[0017] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the article image generation method of any embodiment of the present invention.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to execute and implement the article image generation method of any embodiment of the present invention.

[0019] The technical solution of this invention involves determining a first image, which is an image of the outer surface of a mailed item; determining the current express delivery stage of the mailed item; and determining a first template, which is an image watermark generation template, based on the current express delivery stage. This method can quickly and accurately determine the template required for the current stage, thereby reducing template generation and selection time and accelerating the mailing efficiency. Furthermore, obtaining the first template through this method avoids problems such as information omissions during subsequent information filling. Based on the first template, first information is determined, and a first watermark is generated based on the first information and the first template. The first information is the information to be filled in the first template. The first watermark is added to the first image to obtain a second image. This ensures that the generated second image contains the unique identifier of the mailed item, the time the first image was taken, and the location of the mailed item. Since the first image includes the outer surface of the mailed item, the second image will also include the outer surface of the mailed item. This allows the condition of the outer surface of the mailed item at the time the first image was taken and the location of the mailed item to be determined based on the second image, thus serving as explanatory evidence in case of disputes.

[0020] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 This is a flowchart of an article image generation method provided in Embodiment 1 of the present invention;

[0023] Figure 2 This is a flowchart of another method for generating an item image according to Embodiment 2 of the present invention;

[0024] Figure 3 This is a schematic diagram of the structure of an item image generation device according to Embodiment 3 of the present invention;

[0025] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the item image generation method of this invention. Detailed Implementation

[0026] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] Example 1

[0029] Figure 1 This is a flowchart illustrating a method for generating an image of an item, as provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where damage to a package is recorded during express delivery and used as evidence in case of disputes. The method can be executed by an item image generating device, which can be implemented in hardware and / or software and can be configured in an electronic device with data processing capabilities. Figure 1 As shown, the method includes:

[0030] S110. Determine the first image, which is an image taken of the outer surface of the mailed item.

[0031] During the courier pickup or delivery process, a smart device is used to capture an image of the outer surface of the mailed item. The smart device can be any of the following: mobile phone, camera, scanner, tablet computer, etc.

[0032] The first image can be the outer surface of the mailed item itself; or the outer surface of the packaged mailed item; or a composite image of the outer surface of the mailed item itself and the outer surface of the packaged mailed item.

[0033] S120. Determine the current express delivery stage of the mailed item, and determine the first template based on the current express delivery stage of the mailed item. The first template is an image watermark generation template.

[0034] The express delivery stage can be the current stage in the express delivery process of a mailed item. The current express delivery stage can be one of the candidate express delivery stages. These candidate stages include the pickup stage, the receiving stage at the express station, the transfer stage at the express station, and the delivery stage. Specifically, the receiving stage at the express station involves the express station receiving the mailed item; the transfer stage at the express station involves the express station forwarding the mailed item to other express stations.

[0035] Since the information required at different stages of express delivery may vary, different image watermark generation templates can be generated for each stage. These templates are then used accordingly, and the initial template is determined based on the current stage of the delivery process.

[0036] By determining the current courier delivery stage of the mailed item and identifying the first template based on that stage, the required template for the current stage can be determined quickly and accurately. This reduces the time spent generating and selecting templates, thereby accelerating the mailing efficiency. Furthermore, obtaining the first template through this method can prevent issues such as missing information during subsequent information filling.

[0037] In one alternative approach, a first template is determined based on the current courier delivery stage of the mailed item, including steps A1-A2:

[0038] Step A1: Obtain a pre-generated template table, which includes at least one candidate express delivery stage and a second template corresponding to each candidate express delivery stage.

[0039] Step A2: Based on the current courier delivery stage of the mailed item, filter the template table to obtain the first template. The first template is the second template in the template table that corresponds to the current courier delivery stage.

[0040] When determining the first template, it is necessary to first obtain a pre-determined template table, which contains at least one candidate express delivery stage and a second template corresponding to each candidate express delivery stage. Based on the express delivery stage of the current stage, the candidate express delivery stage that is the same as the current express delivery stage is found in each candidate express delivery stage, and the second template corresponding to the candidate express delivery stage is used as the first template.

[0041] By obtaining a pre-generated template table, which includes at least one candidate express delivery stage and a second template corresponding to each candidate express delivery stage, and filtering the template table according to the express delivery stage of the mailed item at the current moment, a first template is obtained. The first template is the second template in the template table that corresponds to the express delivery stage at the current moment. This enables the rapid determination of the first template, thereby avoiding the computational burden of regenerating the first template.

[0042] In one alternative approach, a pre-generated template table is obtained, including steps B1-B2:

[0043] Step B1: If the template table is being retrieved for the first time, a template table request is sent to the backend server. The template table request is used to request the template table from the backend server.

[0044] Step B2: Receive the template table sent by the backend server and store the template table in memory space.

[0045] Because there are too many smart devices that need to be identified in the template table, the method of determining them offline in a unified manner is too complicated and it is difficult to achieve unified updates for each smart device in subsequent updates.

[0046] Therefore, this application transmits the template table by communicating with the smart device through the backend server. When the information in the template table is updated in the future, only the template table in the backend server needs to be updated, and the backend server will transmit it to each smart device, thereby realizing the updating and iteration of the template table.

[0047] For smart devices, when they first request the template table, they need to send a template table request to the backend server to inform the smart device that it needs the template table. After receiving the template table request, the backend server will send the latest template table to the smart device.

[0048] After the template table on the backend server is updated, the updated content will be determined and pushed to various smart devices.

[0049] After receiving updated content, if the smart device needs to update, it sends a template table request to the backend server to obtain a new template table.

[0050] In addition, if the first template is not being retrieved for the first time, the template table is retrieved from the memory space.

[0051] By determining whether the template table is being retrieved for the first time, and if so, sending a template table request to the backend server, receiving the template table from the backend server, and storing the template table in memory, the system achieves the initial retrieval of the template table. This allows subsequent uses of the template table to be retrieved directly from memory, thereby reducing the number of accesses to the backend server and reducing its operational load.

[0052] S130. Based on the first template, determine the first information, and generate the first watermark based on the first information and the first template. The first information is the information that needs to be filled in the first template. The first information includes at least the unique identifier of the mailed item, the time when the first image was taken, and the location of the mailed item.

[0053] After obtaining the first template, it is possible to determine the first information required to generate the corresponding first watermark based on the first template, and generate the first watermark based on the first information and the first template. The first information must at least include the unique identifier of the mailed item, the time the first image was captured, and the location of the mailed item. The first watermark also includes the unique identifier of the mailed item, the time the first image was captured, and the location of the mailed item.

[0054] Furthermore, the first information required for generating the first watermark in the second template can differ depending on the stage of the express delivery process. For example, when signing for a package, the recipient's signature and any supporting documents provided by the signatory can be used as the first information. The first information can be set according to the actual situation.

[0055] S140. Add the first watermark to the first image to obtain the second image.

[0056] By adding a first watermark to a first image to obtain a second image, the generated second image can contain the unique identifier of the mailed item, the time the first image was taken, and the location of the mailed item. Since the first image includes the outer surface of the mailed item, the second image will also include the outer surface of the mailed item. This allows the condition of the outer surface of the mailed item at the time the first image was taken and the location of the mailed item to be determined based on the second image, thus serving as explanatory evidence in the event of a dispute.

[0057] In one alternative approach, after adding the first watermark to the first image to obtain the second image, steps C1-C3 are further included:

[0058] Step C1: Determine the binary byte stream corresponding to the second image.

[0059] Step C2: Calculate the first hash value by processing the binary byte stream according to the Message Digest Algorithm Version 5.

[0060] Step C3: Store the first hash value and the second image.

[0061] To ensure the second image cannot be tampered with by software, after its generation, a first hash value is calculated from the corresponding binary byte stream using the Message Digest Algorithm Version 5 (CDE5). This hash value, along with the second image, is then stored. This allows for the determination of whether the second image has been tampered with by comparing the two hash values ​​if the tampering is suspected, thus improving the authenticity of the second image.

[0062] The technical solution of this application involves determining a first image, which is an image of the outer surface of a mailed item; determining the current express delivery stage of the mailed item; and determining a first template, which is an image watermark generation template, based on the current express delivery stage. This allows for quick and accurate determination of the template required for the current stage, reducing template generation and selection time and accelerating the mailing efficiency. Furthermore, obtaining the first template through this method avoids issues such as missing information during subsequent information filling. Based on the first template, first information is determined, and a first watermark is generated based on the first information and the first template. The first information is the information required to be filled in the first template. The first watermark is added to the first image to obtain a second image. This second image contains the unique identifier of the mailed item, the time the first image was taken, and the location of the mailed item. Since the first image includes the outer surface of the mailed item, the second image will also include the outer surface of the mailed item. This allows the condition of the outer surface of the mailed item at the time the first image was taken and the location of the mailed item to be determined based on the second image, thus serving as explanatory evidence in case of disputes.

[0063] Example 2

[0064] Figure 2 This invention provides a flowchart of another method for generating an object image. Based on the above embodiments, this embodiment further optimizes the process of adding a first watermark to a first image to obtain a second image. This embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 2 As shown, the item image generation method of this embodiment may include the following steps:

[0065] S210. Determine the first image, which is an image taken of the outer surface of the mailed item.

[0066] S220. Determine the current express delivery stage of the mailed item, and determine the first template based on the current express delivery stage of the mailed item. The first template is an image watermark generation template.

[0067] S230. Based on the first template, determine the first information, and generate the first watermark based on the first information and the first template. The first information is the information that needs to be filled in the first template. The first information includes at least the unique identifier of the mailed item, the time when the first image was taken, and the location of the mailed item.

[0068] S240. Encrypt the first watermark according to the preset encryption algorithm to obtain the second information.

[0069] S250. Based on the second information, generate a second watermark and add the second watermark to the first image to obtain the second image.

[0070] In addition to calculating the hash value of the second image as provided in the above embodiments, the first watermark can also be encrypted to obtain the second information. Then, when generating the second image subsequently, the second information is used to generate a second watermark, which is then added to the first image to obtain the second image.

[0071] Encrypting the first piece of information can improve the privacy of the second image, thereby ensuring the security of the express delivery information.

[0072] By adopting the technical solution of this application, the first watermark is encrypted according to a preset encryption algorithm to obtain the second information, the second watermark is generated according to the second information, and the second watermark is added to the first image to obtain the second image. This can improve the privacy level of the second image and thus ensure the security of express delivery information.

[0073] Example 3

[0074] Figure 3 This invention provides a structural block diagram of an item image generation device. This embodiment is applicable to situations where damage to express delivery packages is recorded during transportation and used as evidence in case of disputes. The item image generation device can be implemented in hardware and / or software and can be configured in an electronic device with data processing capabilities. Figure 3 As shown, the item image generation device of this embodiment may include: a first image determination module 310, a first template determination module 320, a first watermark generation module 330, and a second image generation module 340. Wherein:

[0075] The first image determination module 310 is used to determine a first image, which is an image of the outer surface of the mailed item.

[0076] The first template determination module 320 is used to determine the current express delivery stage of the mailed item and determine the first template based on the current express delivery stage of the mailed item. The first template is an image watermark generation template.

[0077] The first watermark generation module 330 is used to determine first information based on the first template, and generate a first watermark based on the first information and the first template. The first information is the information that needs to be filled in the first template. The first information includes at least the unique identifier of the mailed item, the time when the first image was taken, and the location of the mailed item.

[0078] The second image generation module 340 is used to add the first watermark to the first image to obtain the second image.

[0079] Based on the above embodiments, optionally, the first template determining module 320 includes:

[0080] Obtain a pre-generated template table, which includes at least one candidate express delivery stage and a second template corresponding to each candidate express delivery stage.

[0081] Based on the current courier delivery stage of the mailed item, the template table is filtered to obtain the first template. The first template is the second template in the template table that corresponds to the current courier delivery stage.

[0082] Based on the above embodiments, optionally, obtaining a pre-generated template table includes:

[0083] If the template table is being retrieved for the first time, a template table request is sent to the backend server. The template table request is used to request the template table from the backend server.

[0084] Receive the template table sent by the backend server and store the template table in memory.

[0085] Based on the above embodiments, optionally, obtaining a pre-generated template table includes:

[0086] If the first template is not being retrieved for the first time, then the template table is retrieved from memory.

[0087] Based on the above embodiments, optionally, the second image generation module 340 includes:

[0088] The first watermark is encrypted using a preset encryption algorithm to obtain the second information;

[0089] Based on the second information, a second watermark is generated and added to the first image to obtain the second image.

[0090] Optionally, based on the above embodiments, after the second image generation module 340, the following component is also included:

[0091] Determine the binary byte stream corresponding to the second image;

[0092] The first hash value is obtained by calculating the binary byte stream based on the Message Digest Algorithm Version 5.

[0093] Store the first hash value and the second image.

[0094] Based on the above embodiments, optionally, the candidate express delivery stage includes the express pickup stage, the express station receiving stage, the express station transfer stage, and the express delivery stage.

[0095] The receiving stage at the courier station refers to the courier station receiving mailed items.

[0096] The forwarding stage at express delivery stations involves express delivery stations forwarding mailed items to other express delivery stations.

[0097] The object image generation apparatus provided in this embodiment of the invention can execute the object image generation method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the method.

[0098] Example 4

[0099] Figure 4 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0100] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0101] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0102] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the object image generation method.

[0103] In some embodiments, the article image generation method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the article image generation method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the article image generation method by any other suitable means (e.g., by means of firmware).

[0104] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0105] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0106] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0107] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0108] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0109] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0110] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0111] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for generating an image of an object, characterized in that, include: A first image is identified, which is an image taken of the outer surface of the mailed item; Determine the current express delivery stage of the mailed item, and based on the current express delivery stage of the mailed item, determine a first template, which is an image watermark generation template; Based on the first template, first information is determined, and a first watermark is generated based on the first information and the first template. The first information is the information that needs to be filled in the first template. The first information includes at least the unique identifier of the mailed item, the time when the first image was taken, and the location of the mailed item. The first watermark is added to the first image to obtain the second image.

2. The method according to claim 1, characterized in that, Based on the current courier delivery stage of the mailed item, a first template is determined, including: Obtain a pre-generated template table, which includes at least one candidate express delivery stage and a second template corresponding to each candidate express delivery stage. Based on the current express delivery stage of the mailed item, the template table is filtered to obtain a first template, which is a second template in the template table corresponding to the current express delivery stage.

3. The method according to claim 2, characterized in that, Retrieve the pre-generated template table, including: If the template table is being obtained for the first time, a template table request is sent to the backend server. The template table request is used to request the template table from the backend server. Receive the template table sent by the backend server and store the template table in memory space.

4. The method according to claim 3, characterized in that, Retrieve the pre-generated template table, including: If the first template is not being obtained for the first time, then the template table is obtained from the memory space.

5. The method according to claim 1, characterized in that, Adding the first watermark to the first image yields the second image, which includes: The first watermark is encrypted according to a preset encryption algorithm to obtain the second information; Based on the second information, a second watermark is generated and added to the first image to obtain the second image.

6. The method according to claim 1, characterized in that, After adding the first watermark to the first image to obtain the second image, the process further includes: Determine the binary byte stream corresponding to the second image; The first hash value is obtained by calculating the binary byte stream according to the Message Digest Algorithm Version 5. Store the first hash value and the second image.

7. The method according to claim 2, characterized in that, The candidate express delivery stage includes the express pickup stage, the express station receiving stage, the express station transfer stage, and the express delivery stage. The receiving stage at the courier station refers to the courier station receiving mailed items. The courier station transfer stage refers to the process where a courier station forwards mailed items to other courier stations.

8. An object image generation device, characterized in that, include: The first image determination module is used to determine a first image, which is an image of the outer surface of the mailed item. The first template determination module is used to determine the current express delivery stage of the mailed item and determine the first template based on the current express delivery stage of the mailed item. The first template is an image watermark generation template. The first watermark generation module is used to determine first information based on the first template, and generate a first watermark based on the first information and the first template. The first information is the information that needs to be filled in the first template. The first information includes at least the unique identifier of the mailed item, the time when the first image was taken, and the location of the mailed item. The second image generation module is used to add the first watermark to the first image to obtain the second image.

9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the article image generation method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the article image generation method according to any one of claims 1-7.