Express parcel signing method and device
By scanning the express order number to obtain the signing template and information, combined with network environment judgment and image optimization technology, the efficiency and accuracy of traditional express signing in a weak network environment is solved, and the accurate synchronization and efficient upload of signing information is achieved, improving the improvement of the signing information. The work efficiency and customer experience of salespersons.
Patent Information
- Application Number
- CN202411347485.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-14
AI Technical Summary
Traditional express sign-in mode is difficult to achieve real-time sign-in under an environment with poor network signals, resulting in low business efficiency and poor customer experience. Especially in old communities and elevator corridors, sign-in operations and photo uploads cannot be completed in time.
By scanning the express order number, obtain the locally stored sign-in template, receive and store sign-in information, and determine whether the network environment reaches the target network speed. If it is reached, synchronize the sign-in information to the server, use image optimization technology to ensure the sign-in image quality, and restore it on the network automatically upload data.
The signing process is simplified, ensuring the accuracy and timeliness of signing information is ensured, the work efficiency of sales staff is improved, labor intensity is reduced, and customer experience and sense of trust is enhanced.
Smart Images

Figure CN119313251A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of logistics technology, and in particular to a method and device for signing for an express package. Background Art
[0002] In today's rapidly developing express delivery industry, the traditional way of signing for delivery has gradually exposed many drawbacks and cannot meet the growing customer needs and the efficient requirements of industry development. Specifically, there are various ways to sign for express parcels, including door-to-door delivery, placement in express cabinets or post stations, and delivery to designated locations. However, with the surge in the number of express parcels, in order to pursue delivery efficiency, couriers often choose to place the parcel in a certain location and then notify the customer to pick it up, which leads to frequent cases where customers cannot find the express parcel. In particular, the problem of network signal coverage is a major challenge facing express delivery at present. In old residential areas, elevator corridors and other areas, the network signal is poor or even no signal, resulting in the inability to complete the signing operation in time, distorted photos, and the inability to collect and upload photos of the real location when signing for delivery in real time. This not only affects the efficiency of the business's pickup and delivery, but also greatly reduces the customer experience. Summary of the invention
[0003] The present invention provides a method and device for signing for an express package, so as to at least solve the above technical problems existing in the prior art.
[0004] According to a first aspect of the present disclosure, a method for signing for an express package is provided, the method comprising:
[0005] By scanning the express delivery number, obtain the receipt template stored in the local database;
[0006] Receive the receipt information required by the receipt template and store it locally;
[0007] The network speed information of the current network environment is obtained, and based on the network speed information, it is determined whether the current network speed reaches the target network speed. When the current network speed reaches the target network speed, the locally stored receipt information is synchronized to the server.
[0008] In one possible implementation, before obtaining the receipt template stored in the local database, the method further includes:
[0009] Pre-store receipt templates corresponding to various express delivery types in the local database;
[0010] The express delivery types include collection at post stations, signature by the user himself, and collection at outlets.
[0011] In one possible implementation, scanning the express delivery number to obtain the receipt template stored in the local database includes:
[0012] Scan the express delivery number to obtain the express delivery type corresponding to the express delivery number;
[0013] Based on the express type, obtain a receipt template corresponding to the express type stored in a local database.
[0014] In one possible implementation, the receiving of the receipt information required for the receipt template includes at least one of the following:
[0015] Receive a first text message, and obtain the receipt information required by the receipt template based on the first text message;
[0016] receiving voice information, recognizing the voice information using a large language model to obtain second text information, and obtaining receipt information required by the receipt template based on the second text information;
[0017] Receive image information of the express delivery note, identify the image information to obtain third text information, and obtain the receipt information required by the receipt template based on the third text information.
[0018] In one possible implementation manner, the receiving the receipt information required for the receipt template further includes:
[0019] Receiving a receipt image; the receipt image is obtained by photographing the express package with a camera;
[0020] The receipt image includes at least one of the following:
[0021] The person who signed for the package, the location where the package was signed for, the environment where the package was signed for, and the time when the package was signed for.
[0022] In one possible implementation, it further includes:
[0023] After receiving the receipt image, detecting the quality of the receipt image;
[0024] When the quality of the signed image does not reach the target threshold, image optimization is performed on the signed image so that the quality of the obtained optimized image meets the target threshold.
[0025] In one possible implementation manner, the step of optimizing the receipt image includes:
[0026] Acquire a receipt image, and perform affine transformation on the receipt image to obtain an enhanced image;
[0027] The enhanced image is divided into a plurality of point-tracing window images, and each of the point-tracing window images is subjected to a binary classification process to obtain a plurality of first images;
[0028] Performing regression adjustment on the loss areas in the plurality of first images to obtain loss values of the first images, and obtaining a plurality of second images;
[0029] Based on the loss value, the loss regions of the plurality of second images are iteratively optimized until the loss value converges to obtain an optimized image.
[0030] In one possible implementation manner, when iteratively optimizing the plurality of second images based on the loss value, the method further includes:
[0031] Features in the second image are extracted, and a loss area of the second image is determined based on the features.
[0032] In one possible implementation, it further includes:
[0033] After synchronizing the locally stored receipt information to the server, an express electronic receipt is generated and sent to the e-commerce platform connected to the server.
[0034] According to a second aspect of the present disclosure, a courier package signing device is provided, the device comprising:
[0035] The acquisition module is used to obtain the receipt template stored in the local database by scanning the express delivery number;
[0036] A storage module, used for receiving the receipt information required by the receipt template and storing it locally;
[0037] The synchronization module is used to obtain the network speed information of the current network environment, determine whether the current network speed reaches the target network speed based on the network speed information, and synchronize the locally stored receipt information to the server when the current network speed reaches the target network speed.
[0038] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0039] at least one processor; and
[0040] a memory communicatively connected to the at least one processor; wherein,
[0041] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.
[0042] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method described in the present disclosure.
[0043] The express package signing method and device disclosed in the present invention can synchronize the salesperson's signing record with the information of the express system when there is a network, which can simplify the signing process, reduce communication costs, ensure the accuracy of the signing information, greatly improve the salesperson's work efficiency, and reduce labor intensity.
[0044] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:
[0046] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0047] Figure 1 The schematic diagram shows the implementation process of the method for optimizing the express delivery receipt image according to the embodiment of the present disclosure. Figure 1 ;
[0048] Figure 2 The schematic diagram shows the implementation process of the method for optimizing the express delivery receipt image according to the embodiment of the present disclosure. Figure 2 ;
[0049] Figure 3 A schematic diagram of the structure of a device for optimizing express delivery receipt images according to an embodiment of the present disclosure is shown;
[0050] Figure 4 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0051] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0052] With the vigorous development of Internet e-commerce platforms, the proportion of online shopping orders continues to rise. How to achieve seamless connection between salesman's receipt records and platform data has become the focus of the industry. Therefore, solving the problem of salesman's receipt has become the key competitiveness for express delivery companies to stand out in the fierce market competition.
[0053] A method and device for signing for an express parcel provided by the present application are described below in conjunction with the accompanying drawings.
[0054] like Figure 1 As shown, an embodiment of the present application provides a method for signing for an express package, the method comprising:
[0055] S101, obtaining a receipt template stored in a local database by scanning the express delivery number;
[0056] It is understandable that the technical solution provided in the present application can be implemented through a handheld terminal, wherein the handheld terminal can be a smart device in the hands of a courier that is specifically responsible for signing for express delivery, or it can be a small electronic device such as a mobile phone or a tablet computer.
[0057] Specifically, a variety of signature templates are pre-stored on the handheld terminal, for example, it can be a courier station signature, or the user's signature, or the user's friend's signature, or the outlet signature, or the designated location signature, etc.; it should be noted that the signature method can also be other signature methods, and this application does not limit it here. In this application, when it is determined to sign for the package, the courier scans the express number on the express package through the handheld terminal. After scanning the express number, the handheld terminal can obtain the locally stored signature template. It can be understood that the way to obtain the signature template can be to directly obtain the corresponding signature template according to the scanned express number, or the salesperson can obtain all the signature templates and select the corresponding correct signature template.
[0058] For example, some express delivery services are cash on delivery. In this case, the customer must sign for the package after payment. In this case, the corresponding signature template can be directly obtained according to the express delivery number. Alternatively, after the express delivery arrives at the express delivery station, the courier scans the express delivery number to obtain all the signature templates and selects the station signature template.
[0059] It should be noted that the signature template in this application is set locally. When the express number is scanned on the handheld terminal, it can jump to the location where the signature template is stored. At this time, there is no need for a network, and the signature template can be directly scanned to obtain it.
[0060] S102, receiving the receipt information required by the receipt template and storing it locally;
[0061] After obtaining the corresponding receipt template, the salesperson fills in the required receipt information on the receipt template according to the content of the receipt template. For example, the receipt information includes the information of the signatory, the contact information of the signatory, the receipt location, etc.
[0062] In this application, after obtaining the receipt template, filling in the relevant receipt information on the receipt template can be achieved without the need for a network. In this application, the courier can enter the receipt information in a variety of ways, such as text input, voice input, or photo image input, etc., which are not limited in this application.
[0063] S103, obtaining network speed information of the current network environment, judging whether the current network speed reaches the target network speed based on the network speed information, and synchronizing the locally stored receipt information to the server when the current network speed reaches the target network speed.
[0064] Specifically, after receiving the receipt information, the receipt information should be sent to the server, and the server will send the receipt information to the e-commerce platform. However, if there is no network or the network signal is poor, the upload cannot be successful.
[0065] like Figure 2 As shown, this application first detects the network signal situation of the current environment, and compares the network speed of the network environment with the target network. When the current network speed is greater than the target network speed, it means that the receipt information can be uploaded successfully, and the receipt information is uploaded at this time; if the current network is less than the target network speed, it means that the receipt information is difficult to upload successfully. At this time, choose to temporarily save the receipt information. When it is determined that the network of the network environment is greater than the target network, upload the receipt information to the server, and the server will send it to the e-commerce platform. It should be noted that the target network speed in this application is the minimum network speed that can upload the receipt information to the server. It should be noted that in the server processing link, once the uploaded data is received, the server will perform a series of processing operations, including verification of the receipt information to ensure its authenticity, and classification and storage of pictures for subsequent management and retrieval. At the same time, the server will also synchronize the receipt information to the e-commerce platform in a timely manner to ensure that the e-commerce platform can update the logistics information in real time and provide users with the latest order status.
[0066] In addition, this application also considers integration with e-commerce platforms. The e-commerce platform can receive and display the receipt information in real time, including detailed information such as receipt photos, which provides complete logistics information support for e-commerce transactions and enhances the user's shopping experience and trust.
[0067] The express parcel signing method provided by the present application, in the case of no network or poor network, the salesperson scans the express number through the handheld terminal to obtain the locally stored signing template, and then the salesperson fills in the signing information on the signing template and saves the signing information locally. When the network signal can be uploaded, the handheld terminal uploads the stored signing information to the server, or the server obtains the local storage information of the handheld terminal in a preset time period, updates the signing information of the server, and then the server synchronizes the signing information with the e-commerce platform. This application is aimed at the photo signing mode in a weak network / no network environment, mainly used to solve the problem that the signal of the corridor and elevator of the community is poor and cannot be signed in time. In this technical solution, the salesperson can use the mobile phone to scan the order number and enter the signing information in an offline state, and these data will be temporarily stored locally. When the handheld terminal is reconnected to the network, the temporarily stored data system will automatically verify, and after verification, it will be automatically uploaded to the server for processing. The advantage of this solution is that it can work normally in areas with poor network or temporarily offline, ensuring the integrity and timeliness of the data.
[0068] In some embodiments, before obtaining the receipt template stored in the local database, the method further includes:
[0069] Pre-store receipt templates corresponding to various express delivery types in the local database;
[0070] The express delivery types include collection at post stations, signature by the user himself, and collection at outlets.
[0071] It can be understood that in this application, the corresponding signature templates are different according to the different express delivery types. For example, the user's self-signing can correspond to the user signature template; the express delivery station's signature can correspond to the express delivery signature template, and the agent's collection can correspond to the agent's collection template. The signatory of each template can be set according to the different templates, and the salesperson does not need to fill in the information, thereby improving the salesperson's work efficiency.
[0072] In some embodiments, scanning the express delivery number to obtain the receipt template stored in the local database includes:
[0073] Scan the express delivery number to obtain the express delivery type corresponding to the express delivery number;
[0074] Based on the express type, obtain a receipt template corresponding to the express type stored in a local database.
[0075] It is understandable that the present application can set the express delivery number in a manner corresponding to the receipt template. For example, in the case of cash on delivery, when the express delivery number is printed out, which is different from the express delivery number in which payment is made before delivery, the courier can obtain the user receipt template corresponding to the cash on delivery after scanning the cash on delivery number, thereby improving the work efficiency of the salesperson.
[0076] In some embodiments, the receiving of the receipt information required for the receipt template includes at least one of the following:
[0077] Receive a first text message, and obtain the receipt information required by the receipt template based on the first text message;
[0078] receiving voice information, recognizing the voice information using a large language model to obtain second text information, and obtaining receipt information required by the receipt template based on the second text information;
[0079] Receive image information of the express delivery note, identify the image information to obtain third text information, and obtain the receipt information required by the receipt template based on the third text information.
[0080] Specifically, after obtaining the receipt template, the salesperson can input the receipt information into the receipt template in the form of text by operating the buttons on the handheld terminal; or the salesperson can input voice to the handheld terminal. After the salesperson inputs voice to the handheld terminal, the large prediction model stored in the handheld terminal recognizes the input voice, obtains the text information corresponding to the voice, and inputs the receipt information in the text into the receipt template; specifically, the salesperson inputs voice through the microphone, and then the voice acquisition module receives these sound signals and converts them into digital signals for subsequent processing. Then, the speech recognition (ASR) module will further process the previously converted digital signals and convert them into text data, thereby realizing the conversion of voice into text information that can be directly understood and analyzed by the machine. Next is the natural language processing (NLP) module, which will perform in-depth analysis on the text recognized by the ASR module to understand its semantics and context. Effective communication between people and machines is achieved, and the machine's ability to understand and respond to user intentions is improved through advanced natural language processing technology. Alternatively, the salesperson can also take a photo of the express delivery note, have the handheld terminal recognize the text information on the picture, and generate the signature information required for the signature template through the text information.
[0081] In some embodiments, the receiving the receipt information required for the receipt template further includes:
[0082] Receiving a receipt image; the receipt image is obtained by photographing the express package with a camera;
[0083] The receipt image includes at least one of the following:
[0084] The person who signed for the package, the location where the package was signed for, the environment where the package was signed for, and the time when the package was signed for.
[0085] Specifically, customers want express delivery companies to provide detailed and transparent receipt records and historical data, including receipt time, location, signatory, receipt photos, etc., so that they can understand the status and whereabouts of the package at any time and check and verify it when necessary. This transparent information display not only helps resolve disputes, but also improves consumers' trust and satisfaction with express delivery services.
[0086] In some embodiments, it also includes:
[0087] After receiving the receipt image, detecting the quality of the receipt image;
[0088] When the quality of the signed image does not reach the target threshold, image optimization is performed on the signed image so that the quality of the obtained optimized image meets the target threshold.
[0089] In this application, in order to ensure that the receipt image is clear and complete, it is necessary to detect the quality of the receipt image after receiving it; if the quality of the receipt image does not reach the target threshold, it means that the receipt image is incomplete or cannot be seen clearly. At this time, the customer or the merchant platform will not be satisfied or need to ask questions, which invisibly increases business needs and reduces business efficiency; therefore, if the receipt image does not meet the target threshold, it is necessary to optimize the image of the receipt so that the quality of the optimized image meets the target threshold.
[0090] In some embodiments, the step of optimizing the receipt image includes:
[0091] Acquire a receipt image, and perform affine transformation on the receipt image to obtain an enhanced image;
[0092] The enhanced image is divided into a plurality of point-tracing window images, and each of the point-tracing window images is subjected to a binary classification process to obtain a plurality of first images;
[0093] Performing regression adjustment on the loss areas in the plurality of first images to obtain loss values of the first images, and obtaining a plurality of second images;
[0094] Based on the loss value, the loss regions of the plurality of second images are iteratively optimized until the loss value converges to obtain an optimized image.
[0095] In some embodiments, when iteratively optimizing a plurality of second images based on the loss value, the method further includes:
[0096] Features in the second image are extracted, and a loss area of the second image is determined based on the features.
[0097] Specifically, in this application, after determining that there is a network signal that meets the upload requirements, the server first optimizes the quality of the signed image and uses Random affine affine transformation for image enhancement. This step can effectively improve the generalization ability of the model, so that it can adapt to photos under different shooting environments and conditions. Next, the photo is divided into multiple anchor windows, and each window is subjected to binary classification. The purpose of this step is to identify areas that may contain non-compliance or defects. For example, whether there is a single photo in the photo, whether the signed document is complete, whether the location is clear, etc. Subsequently, these candidate non-compliant areas are regressed and adjusted, and the positions and sizes of these areas are calculated and adjusted to more accurately reflect the real defect locations. In this process, the loss is calculated, which is an indicator that quantifies the difference between the predicted area and the real defect area. By minimizing this loss, the non-compliant area can be more accurately located. After that, iterative optimization will be performed to improve the accuracy of detection by continuously adjusting and refining the candidate areas. At the same time, the photos will be converted and higher-level features will be extracted, which will help to more accurately identify and locate non-compliance in the photos. After the non-compliant areas are identified, they will be further fine-tuned to ensure the accuracy of the detection results. At the same time, the target boxes of these areas will be regressed to determine the exact location of the non-compliant content. Finally, in order to avoid redundant or overlapping areas in the detection results, the system will use non-maximum suppression to remove these areas, ensuring that each non-compliant area is only detected once, thereby obtaining the most accurate and concise detection results.
[0098] In some embodiments, it also includes:
[0099] After synchronizing the locally stored receipt information to the server, an express electronic receipt is generated and sent to the e-commerce platform connected to the server.
[0100] Specifically, in this application, the server receives the uploaded data for subsequent management and retrieval. At the same time, the server will also synchronize the receipt information to the e-commerce platform in a timely manner to ensure that the e-commerce platform can update the logistics information in real time and provide users with the latest order status. In addition, the e-commerce platform can receive and display the receipt information in real time, including detailed information such as receipt photos, which provides complete logistics information support for e-commerce transactions and enhances the user's shopping experience and trust.
[0101] The express package signing method provided in this application is that during the delivery process, the salesperson uses a mobile phone to scan the express number, and a preliminary type check will be performed based on the local cached data. Then the signing information will be entered and a photo of the actual location of the package will be taken. This information will be temporarily stored locally on the handheld terminal first, ensuring that the salesperson can successfully complete the initial signing operation even in an environment with no network or a weak network, greatly improving work efficiency and the ability to cope with various network environments. When the salesperson's handheld terminal is reconnected to the network, the server will automatically perform quality compliance inspections on the temporarily stored images to ensure the clarity and availability of the images, and then securely upload the signing information, location photos and other data to the server, which is crucial to ensuring the integrity and accuracy of the data.
[0102] On the basis of the normal online photo signing, this application adds an offline photo signing mode, and adopts an offline data storage and synchronization mechanism. Even in an offline environment, the salesperson can complete the signing operation by taking photos, and the relevant data will be safely stored locally and automatically uploaded to the server when the network is restored. The method provided by this application not only ensures the integrity and security of the data, but also greatly improves the flexibility and convenience of signing, and is particularly suitable for scenarios with unstable network environments. In addition, this application builds an efficient and secure data exchange and sharing platform in terms of platform data fusion and interoperability. Through standardized data interfaces and protocols, seamless docking and data sharing with various e-commerce platforms, logistics systems, and internal enterprise management systems are achieved. This platform data integration method not only improves the efficiency and accuracy of data processing, but also provides enterprises with more comprehensive operational analysis and decision-making support, and promotes the optimization and collaboration of the entire supply chain.
[0103] like Figure 3 As shown, an embodiment of the present application provides a courier package signing device, the device comprising:
[0104] The acquisition module 301 is used to obtain the receipt template stored in the local database by scanning the express delivery number;
[0105] Storage module 302, used for receiving the receipt information required by the receipt template and storing it locally;
[0106] The synchronization module 303 is used to obtain the network speed information of the current network environment, determine whether the current network speed reaches the target network speed based on the network speed information, and synchronize the locally stored receipt information to the server when the current network speed reaches the target network speed.
[0107] The express package signing device provided in the present application comprises an acquisition module 301 which obtains a signing template stored in a local database by scanning the express order number; a storage module 302 receives the signing information required for the signing template and stores it locally; a synchronization module 303 obtains network speed information of the current network environment, determines whether the current network speed reaches the target network speed based on the network speed information, and synchronizes the locally stored signing information to the server when the current network speed reaches the target network speed.
[0108] An embodiment of the present application provides an electronic device, including:
[0109] at least one processor; and
[0110] a memory communicatively connected to the at least one processor; wherein,
[0111] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.
[0112] An embodiment of the present application also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the method described in the present disclosure.
[0113] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0114] Figure 4 A schematic block diagram of an example electronic device 400 that can be used to implement an embodiment of the present disclosure 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 processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0115] like Figure 4 As shown, the device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 402 or a computer program loaded from a storage unit 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0116] A number of components in the device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0117] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 401 performs the various methods and processes described above, such as the express parcel signing method. For example, in some embodiments, the express parcel signing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 400 via ROM 402 and / or communication unit 409. When the computer program is loaded into RAM 403 and executed by the computing unit 401, one or more steps of the express parcel signing method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to execute the express parcel signing method in any other appropriate manner (e.g., by means of firmware).
[0118] Various implementations 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 chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0119] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0120] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0121] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the 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 acoustic input, voice input, or tactile input).
[0122] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0123] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0124] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0125] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined. The above is only a specific implementation method of the present disclosure, but the scope of protection of the present disclosure is not limited to this. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be covered within the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure shall be based on the scope of protection of the claims.
Claims
1. A method for signing for an express package, characterized in that: The method comprises: By scanning the express delivery number, obtain the receipt template stored in the local database; Receive the receipt information required by the receipt template and store it locally; The network speed information of the current network environment is obtained, and based on the network speed information, it is determined whether the current network speed reaches the target network speed. When the current network speed reaches the target network speed, the locally stored receipt information is synchronized to the server.
2. The method according to claim 1, characterized in that Before obtaining the receipt template stored in the local database, it also includes: Pre-store receipt templates corresponding to various express delivery types in the local database; The express delivery types include collection at post stations, signature by the user himself, and collection at outlets.
3. The method according to claim 1, characterized in that The method of obtaining the receipt template stored in the local database by scanning the express delivery number includes: Scan the express delivery number to obtain the express delivery type corresponding to the express delivery number; Based on the express type, obtain a receipt template corresponding to the express type stored in a local database.
4. The method according to claim 1, characterized in that: The receiving of the receipt information required for the receipt template includes at least one of the following: Receive a first text message, and obtain the receipt information required by the receipt template based on the first text message; receiving voice information, recognizing the voice information using a large language model to obtain second text information, and obtaining receipt information required by the receipt template based on the second text information; Receive image information of the express delivery note, identify the image information to obtain third text information, and obtain the receipt information required by the receipt template based on the third text information.
5. The method according to claim 4, characterized in that The receiving of the receipt information required for the receipt template also includes: Receiving a receipt image; the receipt image is obtained by photographing the express package with a camera; The receipt image includes at least one of the following: The person who signed for the package, the location where the package was signed for, the environment where the package was signed for, and the time when the package was signed for.
6. The method according to claim 5, characterized in that Also includes: After receiving the receipt image, detecting the quality of the receipt image; When the quality of the signed image does not reach the target threshold, image optimization is performed on the signed image so that the quality of the obtained optimized image meets the target threshold.
7. The method according to claim 6, characterized in that The step of optimizing the receipt image includes: Acquire a receipt image, and perform affine transformation on the receipt image to obtain an enhanced image; The enhanced image is divided into a plurality of point-tracing window images, and each of the point-tracing window images is subjected to a binary classification process to obtain a plurality of first images; Performing regression adjustment on the loss areas in the plurality of first images to obtain loss values of the first images, and obtaining a plurality of second images; Based on the loss value, the loss regions of the plurality of second images are iteratively optimized until the loss value converges to obtain an optimized image.
8. The method according to claim 7, characterized in that When iteratively optimizing the plurality of second images based on the loss value, the method further comprises: Features in the second image are extracted, and a loss area of the second image is determined based on the features.
9. The method according to claim 5, characterized in that Also includes: After synchronizing the locally stored receipt information to the server, an express electronic receipt is generated and sent to the e-commerce platform connected to the server.
10. A courier package signing device, characterized in that: The device comprises: The acquisition module is used to obtain the receipt template stored in the local database by scanning the express delivery number; A storage module, used for receiving the receipt information required by the receipt template and storing it locally; The synchronization module is used to obtain the network speed information of the current network environment, determine whether the current network speed reaches the target network speed based on the network speed information, and synchronize the locally stored receipt information to the server when the current network speed reaches the target network speed.