Logistics data management method, device and equipment
By designing logistics data management methods, receiving financial data collection requests from the terminal, generating and analyzing collection instructions, filtering and encrypting data, solving the problem of inefficient entry of customer service fees at outlets and improving data security and accuracy.
Patent Information
- Application Number
- CN202411032414.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, when initiating mutual charge input, the outlet customer service needs to manually log in to the mutual charge system, resulting in inefficient entry and insufficient security of data storage and display.
By designing a logistics data management method, it receives the financial data collection request corresponding to the logistics order sent by the terminal, generates financial data collection instructions, analyzes the instructions to obtain data collection standards and permissions, filters out the data with the user's collection permissions, and encrypts it and sends it to the terminal.
It improves the efficiency of networking in the network customer service initiates mutual fee, enhances the security of data storage and display, and ensures the accuracy and security of data collection.
Smart Images

Figure CN119539644A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a logistics data management method, device and equipment. Background Art
[0002] The existing branch manager-exclusive customer service intelligent robot needs to implement the fee recording function. Once implemented, the branch customer service only needs to send the data to the robot according to the template, and the robot can automatically synchronize the mutual fee entry information to the mutual fee system. This function can greatly improve the efficiency of branch customer service initiating mutual fee entry. (The authority verification of fee recording by the branch robot is consistent with the authority verification and approval requirements for manual login to the mutual fee system.) When the branch automatically initiates mutual fee entry through the intelligent robot, it is necessary to apply for calling the fee entry-related function interface of the mutual fee system. Summary of the invention
[0003] The present invention provides a logistics data management method, device and equipment, which can improve the efficiency of mutual-carrying fee entry initiated by branch customer service, and improve the security of data storage and display by processing the collected mutual-carrying fee data.
[0004] In one aspect, the present invention provides a logistics data management method, the method comprising:
[0005] Receive the financial data collection request corresponding to the logistics order sent by the terminal;
[0006] Generating a financial data collection instruction for the logistics order according to the financial data collection request;
[0007] Parse the financial data collection instruction to obtain the data collection standard corresponding to the logistics order and the data collection authority of the data collection user; the data collection standard includes the category of data to be collected;
[0008] According to the data collection standard, query the database for real-time financial data corresponding to the data category to be collected;
[0009] According to the data collection authority of the data collection user, the data that the data collection user has the collection authority to collect is screened from the real-time financial data to obtain screened data;
[0010] The screening data is sent to the terminal so that the terminal displays the screening data.
[0011] Optionally, the financial data collection request includes at least one of bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, order transfer fee, fee information maintenance, and island entry fee, and the financial data collection instruction for generating the logistics order according to the financial data collection request includes:
[0012] Obtain at least one of the bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, order transfer fee, fee information maintenance, and island entry fee in the financial data collection request to obtain first collection information;
[0013] According to the first collected information, obtain at least one of the fee type, fee type name, warehouse entry number, warehouse entry date, large package weight, large package ticket number, business province name, collection point, collection point name, parcel salesperson, collection point's superior unit, entry time, delivery point, delivery point name, delivery salesperson, delivery point's superior unit, receipt time, consignee, consignee's address, consignee's contact number, amount, handling fee, settlement time, fee incurred date, collection point name, collection weight, and order recording address to obtain the second collected information, and generate the financial data collection instruction of the logistics order according to the second collected information.
[0014] Optionally, the step of filtering out data for which the data collection user has the collection authority from the real-time financial data according to the data collection authority of the data collection user to obtain the filtered data includes:
[0015] Obtaining the target priority corresponding to the data collection authority of the data collection user;
[0016] According to a preset priority database, query the target field corresponding to the target priority; the target field is a field for which the data collection user has collection authority;
[0017] The real-time financial data is parsed into a plurality of real-time fields in sequence, and the real-time fields are matched with the target fields to obtain field matching results;
[0018] If there is a real-time field that matches the target field, the data after the matching real-time field is hidden to obtain the filtered data.
[0019] Optionally, if there is no real-time field matching the target field, all real-time fields are hidden to obtain the filtered data.
[0020] Optionally, the sending the screening data to the terminal so that the terminal displays the screening data includes:
[0021] Using a hash algorithm to assign hash values to both ends of the screened data to generate encrypted data;
[0022] The encrypted data is sent to the terminal so that the terminal decodes the encrypted data and displays the decoded data.
[0023] Optionally, the step of using a hash algorithm to assign hash values to both ends of the screened data to generate encrypted data includes:
[0024] Performing message padding on the filtered data to lengthen it to a multiple of 512 to generate a padded message;
[0025] Dividing the padding message into 512-bit blocks to obtain divided blocks;
[0026] Initialize the constant array value corresponding to the MD5 algorithm, iteratively update the constant array value based on the segmented block, and output a hash result of 128 as the encrypted data.
[0027] Optionally, generating a financial data collection instruction for the logistics order according to the financial data collection request includes:
[0028] Parse the financial data collection request to obtain the target MD5 value corresponding to the data collection user identifier;
[0029] Querying a preset user identification library to determine whether there is a value matching the target MD5 value;
[0030] If there is a value that matches the target MD5 value, a financial data collection instruction for the logistics order is generated according to the financial data collection request.
[0031] Another aspect provides a logistics data management device, the device comprising:
[0032] A request receiving module, used to receive a financial data collection request corresponding to a logistics order sent by a terminal;
[0033] An instruction generation module, used to generate a financial data collection instruction for the logistics order according to the financial data collection request;
[0034] A parsing module, used to parse the financial data collection instruction to obtain the data collection standard corresponding to the logistics order and the data collection authority of the data collection user; the data collection standard includes the category of data to be collected;
[0035] A data query module, used to query the database for real-time financial data corresponding to the data category to be collected according to the data collection standard;
[0036] A data screening module, used to screen out data for which the data collection user has the data collection authority from the real-time financial data according to the data collection authority of the data collection user, to obtain screened data;
[0037] The data sending module is used to send the screening data to the terminal so that the terminal displays the screening data.
[0038] Optionally, the financial data collection request includes at least one of bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, order transfer fee, fee information maintenance, and island entry fee, and the instruction generation module includes:
[0039] an information acquisition unit, configured to acquire at least one of the bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, order transfer fee, cost information maintenance, and island entry fee in the financial data collection request, and obtain first collection information;
[0040] An instruction generating unit is used to obtain, based on the first collected information, at least one of the fee type, fee type name, warehouse entry number, warehouse entry date, large package weight, large package ticket number, business province name, collection point, collection point name, parcel salesperson, collection point's superior unit, entry time, delivery point, delivery point name, delivery salesperson, delivery point's superior unit, receipt time, consignee, consignee's address, consignee's contact number, amount, handling fee, settlement time, fee incurred date, collection point name, collection weight, and order recording address, to obtain the second collected information, and generate the financial data collection instruction of the logistics order based on the second collected information.
[0041] Optionally, the data screening module includes:
[0042] A target priority acquisition unit, used to acquire the target priority corresponding to the data collection authority of the data collection user;
[0043] A target field query unit, used to query the target field corresponding to the target priority according to a preset priority database; the target field is a field for which the data collection user has collection authority;
[0044] A field matching unit, used for parsing the real-time financial data into a plurality of real-time fields in sequence, and matching the real-time fields with the target fields to obtain a field matching result;
[0045] The data screening unit is used to hide the data after the matching real-time field if there is a real-time field matching the target field, so as to obtain the screened data.
[0046] Optionally, the device further comprises:
[0047] The screening data determination module is used to hide all real-time fields if there is no real-time field matching the target field, so as to obtain the screening data.
[0048] Optionally, the data sending module includes:
[0049] An encryption unit, used for assigning hash values to both ends of the screened data using a hash algorithm to generate encrypted data;
[0050] A decoding unit is used to send the encrypted data to the terminal so that the terminal decodes the encrypted data and displays the decoded data.
[0051] Optionally, the encryption unit includes:
[0052] A message filling subunit, used for performing message filling on the screening data to lengthen it to a multiple of 512 to generate a filled message;
[0053] A segmentation block determination subunit, used for segmenting the padding message into 512-bit blocks to obtain segmentation blocks;
[0054] The encryption subunit is used to initialize the constant array value corresponding to the MD5 algorithm, iteratively update the constant array value based on the segmentation block, and output a hash result of 128 as the encrypted data.
[0055] Optionally, the instruction generation module includes:
[0056] A data parsing unit, used to parse the financial data collection request and obtain a target MD5 value corresponding to the data collection user identifier;
[0057] A value matching unit, used to query whether there is a value matching the target MD5 value in a preset user identification library;
[0058] An instruction generating unit is used to generate a financial data collection instruction for the logistics order according to the financial data collection request if there is a numerical value matching the target MD5 value.
[0059] On the other hand, an electronic device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the logistics data management method as described above.
[0060] On the other hand, a computer storage medium is provided, which stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by a processor to implement the logistics data management method as described above.
[0061] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes to implement the logistics data management method as described above.
[0062] The logistics data management method, device and equipment provided by the present invention have the following technical effects:
[0063] The logistics data management method of the present invention receives a financial data collection request corresponding to a logistics order sent by a terminal; generates a financial data collection instruction for the logistics order according to the financial data collection request; parses the financial data collection instruction to obtain a data collection standard corresponding to the logistics order and a data collection user's data collection authority; the data collection standard includes a category of data to be collected; according to the data collection standard, queries a database for real-time financial data corresponding to the category of data to be collected; according to the data collection authority of the data collection user, filters out data for which the data collection user has collection authority from the real-time financial data to obtain filtered data; sends the filtered data to the terminal so that the terminal displays the filtered data, thereby realizing the sending of data for which the user has collection authority, thereby improving the collection efficiency, collection security and accuracy of the filtered data. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the technical solutions and advantages of the embodiments of this specification or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0065] Figure 1 It is a schematic diagram of a logistics data management system provided in an embodiment of this specification;
[0066] Figure 2 It is a flow chart of a logistics data management method provided by an embodiment of this specification;
[0067] Figure 3 It is a flowchart of a method for generating a financial data collection instruction for the logistics order according to the financial data collection request provided in an embodiment of this specification;
[0068] Figure 4It is a flowchart of a method for obtaining filtered data by filtering data for which the data collection user has collection authority from the real-time financial data according to the data collection authority of the data collection user provided in an embodiment of this specification;
[0069] Figure 5 is a flowchart of a method for sending the screening data to the terminal so that the terminal displays the screening data provided by an embodiment of this specification;
[0070] Figure 6 It is a structural diagram of a logistics data management device provided in an embodiment of this specification;
[0071] Figure 7 It is a structural diagram of a server provided in an embodiment of this specification. DETAILED DESCRIPTION
[0072] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0073] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0074] See also Figure 1 , Figure 1 is a schematic diagram of a logistics data management system provided in an embodiment of this specification, such as Figure 1 As shown, the logistics data management system may include at least a server 01 and a client 02 .
[0075] Specifically, in the embodiments of this specification, the server 01 may include an independently operated server, or a distributed server, or a server cluster composed of multiple servers, and may also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Server 01 may include a network communication unit, a processor, a memory, and the like. Specifically, the server 01 can be used to filter out data that a data collection user has collection authority from real-time financial data to obtain filtered data.
[0076] Specifically, in the embodiments of this specification, the client 02 may include physical devices such as smart phones, desktop computers, tablet computers, laptop computers, digital assistants, smart wearable devices, smart speakers, vehicle terminals, smart TVs, etc., and may also include software running in physical devices, such as web pages provided by some service providers to users, or applications provided by these service providers to users. Specifically, the client 02 may be used to display the screening data online.
[0077] A logistics data management method of the present invention is introduced below. Figure 2 It is a flow chart of a logistics data management method provided in an embodiment of this specification. This specification provides method operation steps as described in the embodiment or flow chart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or server product is executed, it can be executed in sequence or in parallel (for example, in a parallel processor or multi-threaded processing environment) according to the method shown in the embodiment or the accompanying drawings. Specifically, Figure 2 As shown, the method can be applied to Figure 1 In the server shown, the method may include:
[0078] S201: receiving a request for collecting financial data corresponding to a logistics order sent by a terminal.
[0079] In an embodiment of the present specification, the terminal may be a terminal corresponding to the customer service of the outlet, and the financial data collection request may be a request for entering the mutual carrying fee. The terminal may send a financial data collection request corresponding to the logistics order to the server to realize the collection of the financial data of the logistics order. The financial data collection request may include at least one of the following: bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, transfer fee, cost information maintenance, and island entry fee. Exemplarily, the financial data collection request includes bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, transfer fee, cost information maintenance, and island entry fee.
[0080] S203: Generate a financial data collection instruction for the logistics order according to the financial data collection request.
[0081] In the embodiment of this specification, the generating of the financial data collection instruction of the logistics order according to the financial data collection request includes:
[0082] Obtain at least one of the bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, order transfer fee, fee information maintenance, and island entry fee in the financial data collection request to obtain first collection information;
[0083] According to the first collected information, obtain at least one of the fee type, fee type name, warehouse entry number, warehouse entry date, large package weight, large package ticket number, business province name, collection point, collection point name, parcel salesperson, collection point's superior unit, entry time, delivery point, delivery point name, delivery salesperson, delivery point's superior unit, receipt time, consignee, consignee's address, consignee's contact number, amount, handling fee, settlement time, fee incurred date, collection point name, collection weight, and order recording address to obtain the second collected information, and generate the financial data collection instruction of the logistics order according to the second collected information.
[0084] In the embodiment of this specification, the financial data collection request includes at least the following contents: bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, order transfer fee, fee information maintenance, island entry fee, etc. The logistics order financial data collection instruction for warehousing fee includes at least the following contents: fee type, fee type name, warehousing number, warehousing date, large package weight, large package ticket number, business province name, collection point, collection point name, olive salesperson, superior unit of collection point, entry time, dispatch point, dispatch point name, dispatch salesperson, superior unit of dispatch point, receipt time, recipient, recipient address, recipient contact number, amount, handling fee, settlement time, fee occurrence date, collection point name, collection weight, and order recording address.
[0085] In the embodiments of this specification, Figure 3As shown, the generating of the financial data collection instruction of the logistics order according to the financial data collection request includes:
[0086] S2031: Parse the financial data collection request to obtain a target MD5 value corresponding to the data collection user identifier;
[0087] S2033: Querying a preset user identification database to determine whether there is a value matching the target MD5 value;
[0088] S2035: If there is a value that matches the target MD5 value, generate a financial data collection instruction for the logistics order according to the financial data collection request.
[0089] In the embodiments of the present specification, a preset user identification library can be pre-constructed, and the correspondence between the preset MD5 value corresponding to the preset user identification and the preset data can be stored therein; then, according to the target MD5 value corresponding to the data collection user identification, it is queried in the preset user identification library whether there is a value matching the target MD5 value; if there is a value matching the target MD5 value, a financial data collection instruction for the logistics order is generated according to the financial data collection request; if not, the data cannot be obtained.
[0090] MD5 is a type of hash algorithm that takes information of any length as input, processes it in 512-bit blocks, and outputs 128-bit information (digital fingerprint). Common scenarios are as follows:
[0091] 1. Anti-tampering to ensure the reliability of file transmission: such as the control of files in SVN; during the file download process, the website provides an MD5 value for judging whether the file has been tampered with after downloading; the function of verifying file blocks in BT.
[0092] 2. Enhance the security of password storage: For example, the website saves the MD5 value of the user password instead of storing the plain text user password. Of course, SALT will be added to further enhance security.
[0093] 3. Digital signature: Use the MD5 algorithm to ensure the fairness of the process, and use random strings to prevent collisions and increase the difficulty of decoding.
[0094] Algorithm implementation process:
[0095] Step 1: Pad the message to a multiple of 512. The last 64 bits are the lower 64 bits of the message length (length before padding), and must be padded to (64+1~512), with the content being 100…0 (if the message length is 448, then padded to 512+64).
[0096] Step 2: Split, split the result into 512-bit blocks: Y0, Y1, ... (each has 16 32-bit long words).
[0097] Step 3: Calculate, initialize MD buffer, 128-bit constant (4 32-bit words), enter loop iteration, L times in total. Each time one input is 128 bits, the other input is 512 bits, and the result is 128 bits, which is used for the next round of input.
[0098] Step 4: Output. The output of the last step is the hash result of 128 bits.
[0099] S205: Parse the financial data collection instruction to obtain the data collection standard corresponding to the logistics order and the data collection authority of the data collection user; the data collection standard includes the category of data to be collected.
[0100] In the embodiments of the present specification, the financial data collection instructions can be parsed to obtain the data collection standards corresponding to the logistics order and the data collection permissions of the data collection user. The data collection standards may include the categories of data to be collected, so as to determine the categories of data that need to be collected and perform data collection according to the data categories.
[0101] S207: According to the data collection standard, query the database for real-time financial data corresponding to the data category to be collected.
[0102] In the embodiments of the present specification, there may be one or more categories of data to be collected, and all data corresponding to the category may be acquired according to the category of data to be collected to obtain real-time financial data.
[0103] S209: According to the data collection authority of the data collection user, filter out data that the data collection user has the collection authority from the real-time financial data to obtain filtered data.
[0104] In the embodiment of the present specification, data can be further filtered from the real-time financial data according to the data collection authority of the data collection user to obtain the filtered data that the data collection user has the collection authority to collect, thereby quickly determining the filtered data that the user has the collection authority to collect. The filtered data can be the mutual charge data.
[0105] In the embodiments of this specification, Figure 4 As shown, according to the data collection rights of the data collection user, the data for which the data collection user has collection rights is filtered out from the real-time financial data to obtain the filtered data, including:
[0106] S2091: Obtaining the target priority corresponding to the data collection authority of the data collection user;
[0107] S2093: According to a preset priority database, query the target field corresponding to the target priority; the target field is a field for which the data collection user has collection authority;
[0108] S2095: parsing the real-time financial data into a plurality of real-time fields in sequence, and matching the real-time fields with the target fields to obtain field matching results;
[0109] S2097: If there is a real-time field that matches the target field, the data after the matching real-time field is hidden to obtain the filtered data.
[0110] In the embodiments of the present specification, priorities corresponding to different users can be set, and data collection permissions corresponding to different priorities can be set; thereby, real-time financial data in the database can be obtained according to the data collection standards, and the real-time financial data can be managed according to the priority of the data collection permissions; if the collection permission of the data collector stops at a certain field, the data after the field will be hidden; if the data collector has no collection permission, all collected data will be hidden.
[0111] In the embodiment of this specification, the method further includes:
[0112] If there is a real-time field that matches the target field, the data corresponding to the matching real-time field is determined as the screening data. In an embodiment of this specification, the method further includes: if there is no real-time field that matches the target field, all real-time fields are hidden to obtain the screening data.
[0113] S2011: Sending the screening data to the terminal so that the terminal displays the screening data.
[0114] In the embodiment of the present specification, after determining that the data collection user corresponding to the terminal has the collection authority to filter data, the data is sent to the terminal so that the terminal displays the filter data to the data collection user.
[0115] In the embodiments of this specification, Figure 5 As shown, the sending the screening data to the terminal so that the terminal displays the screening data includes:
[0116] S20111: Using a hash algorithm to assign hash values to both ends of the screened data to generate encrypted data;
[0117] S20113: Send the encrypted data to the terminal, so that the terminal decodes the encrypted data and displays the decoded data.
[0118] In the embodiments of this specification, data can be encrypted using a hash algorithm before being sent to the terminal, thereby improving security during data transmission.
[0119] In the embodiment of this specification, the use of a hash algorithm to assign hash values to both ends of the screened data to generate encrypted data includes:
[0120] Performing message padding on the filtered data to lengthen it to a multiple of 512 to generate a padded message;
[0121] Dividing the padding message into 512-bit blocks to obtain divided blocks;
[0122] Initialize the constant array value corresponding to the MD5 algorithm, iteratively update the constant array value based on the segmented block, and output a hash result of 128 as the encrypted data.
[0123] In the embodiments of this specification, the hash algorithm can be used to assign hash values to both ends of the real-time financial data, and then input into the corresponding mobile terminal for display. Hash is also called "hash" function or "hash" function. It is an irreversible one-way mapping, which maps an input message M (or file F) of any length into a shorter fixed-length hash value H(M), also called a hash value (HashValue), a hash value or a message digest. It can be seen that this is a one-way cryptographic system with only an encryption process and no decryption process (so it is difficult to invert the Hash).
[0124] This technical solution is a method for intelligent management of logistics outlets' expenses. It obtains the financial data collection request of the outlets' logistics orders in the system, generates logistics order financial data collection instructions according to the financial data collection request; judges the logistics order financial data collection instructions, determines the data collection standards and data collection permissions in the logistics order financial data collection instructions; obtains real-time financial data in the database according to the data collection standards, manages the real-time financial data according to the priority of the data collection permissions; uses the hash algorithm to assign hash values to both ends of the real-time financial data, and then inputs it into the corresponding mobile terminal for display. It can greatly improve the efficiency of the outlets' customer service initiating the entry of mutual-carrying fees, and improve the security of data storage and display by processing the collected mutual-carrying fee data.
[0125] It can be seen from the technical solutions provided in the above embodiments of this specification that the logistics data management method of the embodiments of this specification receives a financial data collection request corresponding to a logistics order sent by a terminal; generates a financial data collection instruction for the logistics order according to the financial data collection request; parses the financial data collection instruction to obtain the data collection standard corresponding to the logistics order and the data collection authority of the data collection user; the data collection standard includes the category of data to be collected; according to the data collection standard, queries the database for real-time financial data corresponding to the category of data to be collected; according to the data collection authority of the data collection user, filters out the data that the data collection user has the collection authority from the real-time financial data to obtain the filtered data; sends the filtered data to the terminal so that the terminal displays the filtered data, thereby realizing the sending of data that the user has the collection authority to, thereby improving the collection efficiency, collection security and accuracy of the filtered data.
[0126] The embodiment of this specification also provides a logistics data management device, such as Figure 6 As shown, the device comprises:
[0127] The request receiving module 610 is used to receive a financial data collection request corresponding to a logistics order sent by a terminal;
[0128] An instruction generation module 620, configured to generate a financial data collection instruction for the logistics order according to the financial data collection request;
[0129] The parsing module 630 is used to parse the financial data collection instruction to obtain the data collection standard corresponding to the logistics order and the data collection authority of the data collection user; the data collection standard includes the category of data to be collected;
[0130] A data query module 640 is used to query the database for real-time financial data corresponding to the data category to be collected according to the data collection standard;
[0131] The data screening module 650 is used to screen the data that the data collection user has the collection authority from the real-time financial data to obtain screened data;
[0132] The data sending module 660 is used to send the filtered data to the terminal so that the terminal displays the filtered data.
[0133] Optionally, the financial data collection request includes at least one of bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, order transfer fee, fee information maintenance, and island entry fee, and the instruction generation module includes:
[0134] an information acquisition unit, configured to acquire at least one of the bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, order transfer fee, cost information maintenance, and island entry fee in the financial data collection request, and obtain first collection information;
[0135] An instruction generating unit is used to obtain, based on the first collected information, at least one of the fee type, fee type name, warehouse entry number, warehouse entry date, large package weight, large package ticket number, business province name, collection point, collection point name, parcel salesperson, collection point's superior unit, entry time, delivery point, delivery point name, delivery salesperson, delivery point's superior unit, receipt time, consignee, consignee's address, consignee's contact number, amount, handling fee, settlement time, fee incurred date, collection point name, collection weight, and order recording address, to obtain the second collected information, and generate the financial data collection instruction of the logistics order based on the second collected information.
[0136] Optionally, the data screening module includes:
[0137] A target priority acquisition unit, used to acquire the target priority corresponding to the data collection authority of the data collection user;
[0138] A target field query unit, used to query the target field corresponding to the target priority according to a preset priority database; the target field is a field for which the data collection user has collection authority;
[0139] A field matching unit, used for parsing the real-time financial data into a plurality of real-time fields in sequence, and matching the real-time fields with the target fields to obtain a field matching result;
[0140] The data screening unit is used to hide the data after the matching real-time field if there is a real-time field matching the target field, so as to obtain the screened data.
[0141] Optionally, the device further comprises:
[0142] The screening data determination module is used to hide all real-time fields if there is no real-time field matching the target field, so as to obtain the screening data.
[0143] Optionally, the data sending module includes:
[0144] An encryption unit, used for assigning hash values to both ends of the screened data using a hash algorithm to generate encrypted data;
[0145] A decoding unit is used to send the encrypted data to the terminal so that the terminal decodes the encrypted data and displays the decoded data.
[0146] Optionally, the encryption unit includes:
[0147] A message filling subunit, used for performing message filling on the screening data to lengthen it to a multiple of 512 to generate a filled message;
[0148] A segmentation block determination subunit, used for segmenting the padding message into 512-bit blocks to obtain segmentation blocks;
[0149] The encryption subunit is used to initialize the constant array value corresponding to the MD5 algorithm, iteratively update the constant array value based on the segmentation block, and output a hash result of 128 as the encrypted data.
[0150] Optionally, the instruction generation module includes:
[0151] A data parsing unit, used to parse the financial data collection request and obtain a target MD5 value corresponding to the data collection user identifier;
[0152] A value matching unit, used to query whether there is a value matching the target MD5 value in a preset user identification library;
[0153] An instruction generating unit is used to generate a financial data collection instruction for the logistics order according to the financial data collection request if there is a numerical value matching the target MD5 value.
[0154] The device and method embodiments in the described device embodiments are based on the same inventive concept.
[0155] An embodiment of the present specification provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the logistics data management method provided in the above method embodiment.
[0156] An embodiment of the present invention also provides a computer storage medium, which can be set in a terminal to store at least one instruction or at least one program related to a logistics data management method in a method embodiment. The at least one instruction or at least one program is loaded and executed by the processor to implement the logistics data management method provided by the above method embodiment.
[0157] The embodiment of the present invention also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes to implement the logistics data management method provided by the above method embodiment.
[0158] Optionally, in the embodiments of this specification, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0159] The memory described in the embodiments of this specification can be used to store software programs and modules, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for functions, etc.; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide the processor with access to the memory.
[0160] The logistics data management method embodiment provided in the embodiments of this specification can be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Taking running on a server as an example, Figure 7 1 is a hardware structure diagram of a server of a logistics data management method provided in an embodiment of this specification. Figure 7As shown, the server 700 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 710 (the central processing unit 710 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 730 for storing data, and one or more storage media 720 (such as one or more mass storage devices) for storing application programs 723 or data 722. Among them, the memory 730 and the storage medium 720 can be short-term storage or permanent storage. The program stored in the storage medium 720 may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the central processing unit 710 can be configured to communicate with the storage medium 720 and execute a series of instruction operations in the storage medium 720 on the server 700. The server 700 may also include one or more power supplies 760, one or more wired or wireless network interfaces 750, one or more input and output interfaces 740, and / or one or more operating systems 721, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0161] The input / output interface 740 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the server 700. In one example, the input / output interface 740 includes a network adapter (Network Interface Controller, NIC), which may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 740 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0162] It can be understood by those skilled in the art that Figure 7 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 7 More or fewer components as shown, or with Figure 7 Different configurations are shown.
[0163] It can be seen from the embodiments of the logistics data management method, device, electronic device or storage medium provided by the present invention that the logistics data management method of the present invention receives a financial data collection request corresponding to a logistics order sent by a terminal; generates a financial data collection instruction for the logistics order according to the financial data collection request; parses the financial data collection instruction to obtain the data collection standard corresponding to the logistics order and the data collection authority of the data collection user; the data collection standard includes the category of data to be collected; according to the data collection standard, queries the database for real-time financial data corresponding to the category of data to be collected; according to the data collection authority of the data collection user, filters out the data that the data collection user has the collection authority from the real-time financial data to obtain the filtered data; sends the filtered data to the terminal so that the terminal displays the filtered data, thereby realizing the sending of data that the user has the collection authority to, thereby improving the collection efficiency, collection security and accuracy of the filtered data.
[0164] It should be noted that the above sequence of the embodiments of this specification is for description only and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0165] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0166] A person skilled in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0167] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A logistics data management method, characterized in that: The method comprises: Receive the financial data collection request corresponding to the logistics order sent by the terminal; Generating a financial data collection instruction for the logistics order according to the financial data collection request; Parse the financial data collection instruction to obtain the data collection standard corresponding to the logistics order and the data collection authority of the data collection user; the data collection standard includes the category of data to be collected; According to the data collection standard, query the database for real-time financial data corresponding to the data category to be collected; According to the data collection authority of the data collection user, the data that the data collection user has the collection authority to collect is screened from the real-time financial data to obtain screened data; The screening data is sent to the terminal so that the terminal displays the screening data.
2. The method according to claim 1, characterized in that The financial data collection request includes at least one of bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, order transfer fee, fee information maintenance, and island entry fee. The financial data collection instruction for generating the logistics order according to the financial data collection request includes: Obtain at least one of the bulk cargo delivery fee, warehousing fee, island entry fee, mall delivery fee, return fee, order transfer fee, fee information maintenance, and island entry fee in the financial data collection request to obtain first collection information; According to the first collected information, obtain at least one of the fee type, fee type name, warehouse entry number, warehouse entry date, large package weight, large package ticket number, business province name, collection point, collection point name, parcel salesperson, collection point's superior unit, entry time, delivery point, delivery point name, delivery salesperson, delivery point's superior unit, receipt time, consignee, consignee's address, consignee's contact number, amount, handling fee, settlement time, fee incurred date, collection point name, collection weight, and order recording address to obtain the second collected information, and generate the financial data collection instruction of the logistics order according to the second collected information.
3. The method according to claim 1, characterized in that The step of filtering out data for which the data collection user has the collection authority from the real-time financial data according to the data collection authority of the data collection user to obtain the filtered data includes: Obtaining the target priority corresponding to the data collection authority of the data collection user; According to a preset priority database, query the target field corresponding to the target priority; the target field is a field for which the data collection user has collection authority; The real-time financial data is parsed into a plurality of real-time fields in sequence, and the real-time fields are matched with the target fields to obtain field matching results; If there is a real-time field that matches the target field, the data after the matching real-time field is hidden to obtain the filtered data.
4. The method according to claim 3, characterized in that The method further comprises: If there is no real-time field matching the target field, all real-time fields are hidden to obtain the screening data.
5. The method according to claim 1, characterized in that The sending the screening data to the terminal so that the terminal displays the screening data includes: Using a hash algorithm to assign hash values to both ends of the screened data to generate encrypted data; The encrypted data is sent to the terminal so that the terminal decodes the encrypted data and displays the decoded data.
6. The method according to claim 5, characterized in that The method of using a hash algorithm to assign hash values to both ends of the screened data to generate encrypted data includes: Performing message padding on the filtered data to lengthen it to a multiple of 512 to generate a padded message; Dividing the padding message into 512-bit blocks to obtain divided blocks; Initialize the constant array value corresponding to the MD5 algorithm, iteratively update the constant array value based on the segmented block, and output a hash result of 128 as the encrypted data.
7. The method according to claim 1, characterized in that The step of generating the financial data collection instruction for the logistics order according to the financial data collection request includes: Parse the financial data collection request to obtain the target MD5 value corresponding to the data collection user identifier; Querying a preset user identification library to determine whether there is a value matching the target MD5 value; If there is a value that matches the target MD5 value, a financial data collection instruction for the logistics order is generated according to the financial data collection request.
8. A logistics data management device, characterized in that: The device comprises: A request receiving module, used to receive a financial data collection request corresponding to a logistics order sent by a terminal; An instruction generation module, used to generate a financial data collection instruction for the logistics order according to the financial data collection request; A parsing module, used to parse the financial data collection instruction to obtain the data collection standard corresponding to the logistics order and the data collection authority of the data collection user; the data collection standard includes the category of data to be collected; A data query module, used to query the database for real-time financial data corresponding to the data category to be collected according to the data collection standard; A data screening module, used to screen out data for which the data collection user has the data collection authority from the real-time financial data according to the data collection authority of the data collection user, to obtain screened data; The data sending module is used to send the screening data to the terminal so that the terminal displays the screening data.
9. An electronic device, characterized in that: The device includes: a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the logistics data management method as described in any one of claims 1-7.
10. A computer storage medium, characterized in that: The computer storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the logistics data management method as described in any one of claims 1-7.