CN112381489A - Commodity distribution system, method, terminal and storage medium of cross-border e-commerce platform - Google Patents
Commodity distribution system, method, terminal and storage medium of cross-border e-commerce platform Download PDFInfo
- Publication number
- CN112381489A CN112381489A CN202011380949.0A CN202011380949A CN112381489A CN 112381489 A CN112381489 A CN 112381489A CN 202011380949 A CN202011380949 A CN 202011380949A CN 112381489 A CN112381489 A CN 112381489A
- Authority
- CN
- China
- Prior art keywords
- module
- logistics
- information
- order
- commodity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Marketing (AREA)
- Health & Medical Sciences (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Operations Research (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention belongs to the technical field of commodity distribution, and discloses a commodity distribution system, a method, a terminal and a storage medium of a cross-border e-commerce platform, wherein the commodity distribution system of the cross-border e-commerce platform comprises the following components: the system comprises a commodity transaction module, an order confirmation module, an order information transmission module, a central control module, a goods preparation and packaging module, a receiving information extraction module, a logistics company information acquisition module, a logistics company selection module, a logistics information comparison module, an order delivery module, a logistics updating module and a logistics inquiry module. The invention can reduce the loss of capital and commodities; by encrypting the data in the order information transmission, the order information can be encrypted, the order information can be protected, the buyer receiving information can be protected, and the problem of business competition can be avoided. The logistics company is determined according to the distribution area and the distribution time, so that the logistics speed can be increased, and the safe delivery of the commodities can be ensured.
Description
Technical Field
The invention belongs to the technical field of commodity distribution, and particularly relates to a commodity distribution system, a commodity distribution method, a commodity distribution terminal and a storage medium of a cross-border e-commerce platform.
Background
At present: the cross-border electronic commerce has very important strategic significance as a technical foundation for promoting economic integration and trade globalization. The cross-border electronic commerce breaks through the barriers among countries, leads the international trade to the international trade without the international trade, and simultaneously causes the huge change of the world economic trade. For enterprises, an open, multi-dimensional and three-dimensional multilateral trading cooperation mode constructed by cross-border electronic commerce greatly widens the path for entering the international market, and greatly promotes the optimized configuration of multilateral resources and the mutual profit and win-win between enterprises; cross-border e-commerce is a business for consumers that makes it very easy to obtain information from other countries and to buy inexpensive and good products. The cross-border electronic commerce is divided into the following parts from the import and export direction: export and import cross-border e-commerce. From the transaction patterns, there are B2B cross-border e-commerce and B2C cross-border e-commerce. Proposed in 2013 trade E. The cross-border electronic commerce is divided into: cross-border E-commerce is commonly used in E-commerce and E-commerce. However, at present, no commodity distribution system specially used for the cross-border e-commerce platform exists, the distribution convenience degree of information commodities is low, and the development of the cross-border e-commerce is influenced.
Through the above analysis, the problems and defects of the prior art are as follows: at present, no commodity distribution system specially used for the cross-border e-commerce platform exists, the distribution convenience degree of information commodities is low, and the development of the cross-border e-commerce is influenced.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a commodity distribution system, a commodity distribution method, a commodity distribution terminal and a storage medium of a cross-border e-commerce platform.
The invention is realized in such a way that the commodity distribution method of the cross-border e-commerce platform comprises the following steps:
step one, commodity transaction is carried out by a commodity transaction module through a commodity transaction program; acquiring a trade order by using an order confirmation program through an order confirmation module, extracting order information from the acquired trade order and acquiring payment information; analyzing the payment information to obtain a conclusion whether to pay or not; if not, supervising and urging payment through the commodity trading platform; if the buyer has paid, checking a collection account and determining that the funds are already checked in; and comparing the transaction amount with the posting amount; if the compared amounts are inconsistent, reminding the buyer to complement the tail money; if the buyer pays and the amount meets the preset value, the order is determined to be successful;
step two, receiving a first network data frame by using a wireless communication network through an order information transmission module; acquiring a first payload from the first network data frame, acquiring an encryption identifier according to a first preset rule, judging the state of the encryption identifier, if the encryption identifier is a first identifier, encrypting the first payload to obtain ciphertext data, and if the encryption identifier is a second identifier, performing first preset processing on the first network data frame according to a first configuration parameter; sending a second network data frame to obtain encrypted order information; transmitting the encrypted order information to a warehouse;
thirdly, controlling each module to normally operate by using a main control computer through a central control module; receiving orders in the warehouse according to the order information by using a goods preparation and packaging program through a goods preparation and packaging module, and acquiring a third network data frame from the received orders;
step four, acquiring a second payload from the third network data frame obtained in the step two, obtaining a decryption identifier according to a third preset rule, judging the state of the decryption identifier, if the decryption identifier is a third identifier, decrypting the second payload to obtain plaintext data, namely order information, and if the decryption identifier is a fourth identifier, performing second preset processing on the third network data frame according to a second configuration parameter; sending a fourth network data frame to the second network equipment, and decrypting the received order information; sorting the goods according to the decrypted order information; packaging the sorted goods to obtain a goods package;
the decryption method comprises the following steps:
defining a random function funA, generating a plurality of pairs of random integers (x, Y) according to the length of a video file, storing the random integers into a set S { }, storing the set S into a corresponding video file attribute field in a database, and controlling the size of a generated video encryption file to have a Y value <10;
reading a video file stream according to bytes, reading a stored set S { } from a database according to the information of a video file, and acquiring all random number pairs;
according to the data pair (X, Y), writing a random character string with the length of Y in the X position in the file stream, and writing the file stream into the encrypted video file stream;
repeating the circulation until the reading and writing of the file are completed;
the definition function funB acquires information recorded by a key file corresponding to the video file from a database, analyzes an S { } set, and acquires a random integer pair during encryption;
the reverse operation encryption method reads the encrypted video file stream and writes the encrypted video file stream into the restored video file;
the defining of the random function funA generates a plurality of pairs of random integers (X, Y) according to the length of the video file, stores the pairs of random integers into a set S { }, and stores the set S into a corresponding video file attribute field in a database, and specifically includes:
acquiring the length L of a video file, and acquiring an initial parameter D from a database;
taking L as the seed of a random function, generating a random number X, wherein X is less than L, and simultaneously generating a random number Y, and Y is less than 10;
adding < X, Y > to the Map set S { }, and then repeating the second and third steps until repeating D times;
storing the Map set into an encryption table corresponding to the video file;
reading a video file stream according to bytes, reading a stored set S { } from a database according to information of a video file, and acquiring all random number pairs, specifically comprising:
reading the file according to bytes from the position where the video file is stored in a file stream mode to form a video file stream Fin;
storing the video file length information, the path information before encryption and the path information after encryption into an encryption table corresponding to the video file;
according to the data pair (X, Y), writing a random character string with a length of Y in the X position of the file stream, and writing the file stream into the encrypted video file stream, specifically comprising:
traversing the Map set S { }, and obtaining a number pair < X, Y >;
generating a random character string SKey with the length of Y by using a random function;
generating a file output stream Fout according to the path information stored in the encrypted file;
inserting SKey into X position in Fout;
storing the SKey into an encryption information table;
the parsing process for the S { } set is as follows:
reading an S { } set in a character string form in a database into a character string object S;
according to separators in the S string "; "the string of characters into" < x, y > "is saved into array A [ ];
traversing an array A [ ], firstly removing head and tail "<" and ">" symbols of character strings in each unit, then decomposing the "x, y" character strings according to the "delimiter", converting the obtained x and y values into integers, storing the integers as EntryMap items Key = x and value = y into a Map set M, wherein M is a decomposed set, and the Entry item in M is a decomposed random integer pair;
step five, extracting the receiving information by using a receiving information extraction program through a receiving information extraction module to obtain the receiving information of the buyer; acquiring logistics company information by a logistics company information acquisition module by using a logistics company information acquisition program, wherein the logistics company information comprises service areas of different logistics companies, average distribution time of a certain area and guarantee timeliness; selecting the logistics company according to the obtained business areas of different logistics companies and the buyer receiving information in the order by a logistics company selection module by using a logistics company selection program;
step six, comparing the obtained average distribution time and guaranteed time effectiveness of different logistics companies in a certain area by using a logistics information comparison program through a logistics information comparison module, and determining the logistics companies with short average distribution time and guaranteed time effectiveness in the certain area as order commodity distribution companies; the order delivery module utilizes an order delivery program to deliver the commodity package and the associated delivery of the receiving information of the buyer;
step seven, updating the logistics of the commodity packages by using a logistics updating program through a logistics updating module to obtain updated information; and carrying out logistics inquiry by using a logistics inquiry program through a logistics inquiry module, and displaying the location of the commodity package.
Further, in step two, the first network data frame is sent by the first network device.
Further, in step two, obtaining the encrypted identifier according to the first preset rule includes: and judging whether the quintuple of the first network data frame is matched with a preset quintuple list of the encryption device, if the first quintuple matched with the quintuple of the first network data frame exists in the preset quintuple list of the encryption device, setting the encryption identifier as the first identifier, and if the first quintuple matched with the quintuple of the first network data frame does not exist in the preset quintuple list of the encryption device, setting the encryption identifier as the second identifier.
Further, in step two, the second network data frame includes the ciphertext data.
Further, in step four, the fourth network data frame includes the plaintext data.
Further, in step five, the receiving information of the buyer includes: the buyer name, the buyer receiving telephone and the buyer receiving address.
Further, the receiving address of the buyer comprises a receiving country of the buyer and a detailed address of the receiving of the buyer.
Another object of the present invention is to provide a commodity distribution system of a cross-border e-commerce platform for implementing the commodity distribution method of the cross-border e-commerce platform, the commodity distribution system of the cross-border e-commerce platform including:
the system comprises a commodity transaction module, an order confirmation module, an order information transmission module, a central control module, a goods preparation and packaging module, a receiving information extraction module, a logistics company information acquisition module, a logistics company selection module, a logistics information comparison module, an order delivery module, a logistics updating module and a logistics inquiry module;
the commodity transaction module is connected with the central control module and is used for carrying out commodity transaction through a commodity transaction program;
the order confirmation module is connected with the central control module and used for acquiring a purchase order through an order confirmation program, analyzing the payment information to obtain a result of whether the payment is successful or not and confirming whether the order is successful or not according to the payment result;
the order information transmission module is connected with the central control module and used for transmitting the order information to the warehouse through a wireless communication network;
the central control module is connected with the commodity transaction module, the order confirmation module, the order information transmission module, the goods preparation and packaging module, the receiving information extraction module, the logistics company information acquisition module, the logistics company selection module, the logistics information comparison module, the order delivery module, the logistics updating module and the logistics inquiry module and is used for controlling the normal operation of each module through the main control computer;
the goods preparation and packaging module is connected with the central control module and is used for sorting goods in the warehouse according to the order information through the goods preparation and packaging program and packaging the sorted goods to obtain goods packages;
the receiving information extraction module is connected with the central control module and used for extracting receiving information through a receiving information extraction program to obtain receiving information of the buyer;
the logistics company information acquisition module is connected with the central control module and used for acquiring logistics company information through a logistics company information acquisition program, wherein the logistics company information comprises service areas of different logistics companies, the average distribution time of a certain area and the guarantee timeliness;
the logistics company selection module is connected with the central control module and used for selecting the logistics companies according to the acquired business areas of different logistics companies and the buyer receiving information in the orders through a logistics company selection program;
the logistics information comparison module is connected with the central control module and used for comparing the average distribution time and the guaranteed time effectiveness of different logistics companies in a certain area through a logistics information comparison program and determining the logistics companies with short average distribution time and guaranteed time effectiveness in the certain area as order commodity distribution companies;
the order delivery module is connected with the central control module and is used for delivering the commodity package and the receiving information of the buyer in a correlated manner through an order delivery program;
the logistics updating module is connected with the central control module and used for updating the logistics of the commodity packages through a logistics updating program to obtain updated information;
and the logistics inquiry module is connected with the central control module and used for carrying out logistics inquiry through a logistics inquiry program and displaying the location of the commodity package.
Another objective of the present invention is to provide an information data processing terminal, which is used for implementing the commodity distribution method of the cross-border e-commerce platform.
Another object of the present invention is to provide a computer-readable storage medium storing instructions which, when executed on a computer, cause the computer to perform the method for delivering goods across the border e-commerce platform.
By combining all the technical schemes, the invention has the advantages and positive effects that: the order payment information is confirmed through the arrangement of the order confirmation module, so that the loss of funds and commodities can be reduced, and the occurrence of an order escaping phenomenon is avoided; by encrypting the data in the order information transmission, the order information can be encrypted, the order information can be protected, the buyer receiving information can be protected, and the problem of business competition can be avoided. The invention selects the logistics company after sorting and packaging the commodities, determines the logistics company through the distribution area and the distribution time, and can realize the improvement of the logistics speed and ensure the safe delivery of the commodities; the logistics information is updated, the commodity position can be determined, the commodity arrival time expectation of a buyer is facilitated, and the commodity taking is facilitated.
The invention defines a random function funA by a decryption method, generates a plurality of pairs of random integers (x, Y) according to the length of a video file, stores the random integers into a set S { }, stores the set S into a corresponding video file attribute field in a database, and controls the size Y value of a generated video encryption file to be less than 10; reading a video file stream according to bytes, reading a stored set S { } from a database according to the information of a video file, and acquiring all random number pairs; according to the data pair (X, Y), writing a random character string with the length of Y in the X position in the file stream, and writing the file stream into the encrypted video file stream; repeating the circulation until the reading and writing of the file are completed; the received order information can be accurately decrypted, and guarantee is provided for subsequent processes.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained from the drawings without creative efforts.
Fig. 1 is a flowchart of a commodity distribution method for a cross-border e-commerce platform according to an embodiment of the present invention.
Fig. 2 is a block diagram of a commodity distribution system of a cross-border e-commerce platform according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a result of analyzing payment information to determine whether the buyer successfully made the payment in the order according to an embodiment of the present invention.
Fig. 4 is a flowchart of data encryption in order information transmission according to an embodiment of the present invention.
Fig. 5 is a flowchart of decrypting received order information according to an embodiment of the present invention.
In fig. 2: 1. a commodity transaction module; 2. an order confirmation module; 3. an order information transmission module; 4. a central control module; 5. a goods preparing and packing module; 6. a receiving information extraction module; 7. a logistics company information acquisition module; 8. a logistics company selecting module; 9. a logistics information comparison module; 10. an order delivery module; 11. a logistics updating module; 12. and a logistics inquiry module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In view of the problems in the prior art, the present invention provides a commodity distribution system and method for a cross-border e-commerce platform, which will be described in detail with reference to the accompanying drawings.
As shown in fig. 1, the commodity distribution method of the cross-border e-commerce platform provided by the embodiment of the invention includes the following steps:
s101, carrying out commodity transaction by utilizing a commodity transaction program through a commodity transaction module; acquiring a purchase and sale order by using an order confirmation program through an order confirmation module, analyzing the payment information to obtain whether the buyer successfully pays in the order, and confirming whether the order is successful according to the payment result;
s102, transmitting order information to a warehouse by using a wireless communication network through an order information transmission module; the central control module controls each module to normally operate by using the main control machine;
s103, sorting goods in a warehouse according to order information by using a goods preparation and packing program through a goods preparation and packing module, and packing the sorted goods to obtain goods packages; the receiving information is extracted by a receiving information extraction module by using a receiving information extraction program to obtain receiving information of the buyer;
s104, acquiring logistics company information by using a logistics company information acquisition program through a logistics company information acquisition module, wherein the logistics company information comprises service areas of different logistics companies, average distribution time of a certain area and guarantee timeliness; selecting the logistics company according to the obtained business areas of different logistics companies and the buyer receiving information in the order by a logistics company selection module by using a logistics company selection program;
s105, comparing the average distribution time and the guaranteed time effectiveness of different logistics companies in a certain area by using a logistics information comparison program through a logistics information comparison module, and determining the logistics companies with the average distribution time and the guaranteed time effectiveness in the certain area as order commodity distribution companies; the order delivery module utilizes an order delivery program to deliver the commodity package and the associated delivery of the receiving information of the buyer;
s106, updating the logistics of the commodity package by using a logistics updating program through a logistics updating module to obtain updated information; and carrying out logistics inquiry by using a logistics inquiry program through a logistics inquiry module, and displaying the location of the commodity package.
As shown in fig. 2, the commodity distribution system of the cross-border e-commerce platform according to the embodiment of the present invention includes:
the system comprises a commodity transaction module 1, an order confirmation module 2, an order information transmission module 3, a central control module 4, a goods preparation and packaging module 5, a receiving information extraction module 6, a logistics company information acquisition module 7, a logistics company selection module 8, a logistics information comparison module 9, an order delivery module 10, a logistics update module 11 and a logistics inquiry module 12;
the commodity transaction module 1 is connected with the central control module 4 and is used for carrying out commodity transaction through a commodity transaction program;
the order confirmation module 2 is connected with the central control module 4 and used for acquiring a purchase order through an order confirmation program, analyzing the payment information to obtain a result of whether the payment is successful or not, and confirming whether the order is successful or not according to the payment result;
the order information transmission module 3 is connected with the central control module 4 and is used for transmitting the order information to the warehouse through a wireless communication network;
the central control module 4 is connected with the commodity transaction module 1, the order confirmation module 2, the order information transmission module 3, the goods preparation and packaging module 5, the receiving information extraction module 6, the logistics company information acquisition module 7, the logistics company selection module 8, the logistics information comparison module 9, the order delivery module 10, the logistics update module 11 and the logistics inquiry module 12 and is used for controlling the normal operation of each module through a main control computer;
the goods preparation and packaging module 5 is connected with the central control module 4 and is used for sorting goods in the warehouse according to the order information through the goods preparation and packaging program and packaging the sorted goods to obtain goods packages;
the receiving information extraction module 6 is connected with the central control module 4 and used for extracting receiving information through a receiving information extraction program to obtain receiving information of a buyer;
the logistics company information acquisition module 7 is connected with the central control module 4 and is used for acquiring logistics company information through a logistics company information acquisition program, wherein the logistics company information comprises service areas of different logistics companies, the average distribution time of a certain area and the guarantee time;
the logistics company selection module 8 is connected with the central control module 4 and used for selecting the logistics companies according to the obtained business areas of different logistics companies and the buyer receiving information in the orders through a logistics company selection program;
the logistics information comparison module 9 is connected with the central control module 4 and is used for comparing the average distribution time and the guaranteed time effectiveness of different logistics companies in a certain area through a logistics information comparison program and determining the logistics companies with the average distribution time and the guaranteed time effectiveness in the certain area as order commodity distribution companies;
the order delivery module 10 is connected with the central control module 4 and is used for delivering the commodity package and the associated delivery of the receiving information of the buyer through an order delivery program;
the logistics updating module 11 is connected with the central control module 4 and used for updating the logistics of the commodity packages through a logistics updating program to obtain updated information;
and the logistics inquiry module 12 is connected with the central control module 4 and is used for performing logistics inquiry through a logistics inquiry program and displaying the location of the commodity package.
The technical solution of the present invention is further illustrated by the following specific examples.
Example 1
The commodity distribution method of the cross-border e-commerce platform provided by the embodiment of the invention is shown in fig. 1, and as a preferred embodiment, as shown in fig. 3, the method for analyzing the payment information to obtain whether the buyer successfully pays in the order comprises the following steps:
s201, obtaining payment information from order information;
s202, analyzing the payment information to obtain a conclusion whether to pay or not; if not, supervising and urging payment through the commodity trading platform;
s203, if the buyer pays, checking a collection account and determining that the funds are already checked; and comparing the transaction amount with the posting amount; if the compared amounts are inconsistent, reminding the buyer to complement the tail money;
s204, if the buyer pays and the amount of money meets the preset value, the order is determined to be successful.
Example 2
As shown in fig. 1, the cross-border e-commerce platform commodity distribution method provided by the embodiment of the present invention is a preferred embodiment, and the order information is transmitted to the warehouse through the order information transmission module by using a wireless communication network, including transmission of the order information and data encryption in the transmission of the order information.
As shown in fig. 4, the data encryption for transmitting order information according to the embodiment of the present invention includes:
s301, receiving a first network data frame, wherein the first network data frame is sent by the first network equipment;
s302, acquiring a first payload from the first network data frame, acquiring an encryption identifier according to a first preset rule, judging the state of the encryption identifier, if the encryption identifier is a first identifier, encrypting the first payload to obtain ciphertext data, and if the encryption identifier is a second identifier, performing first preset processing on the first network data frame according to a first configuration parameter;
s303, sending a second network data frame, where the second network data frame includes the ciphertext data.
The embodiment of the invention provides a method for obtaining an encrypted identifier according to a first preset rule, which comprises the following steps: and judging whether the quintuple of the first network data frame is matched with a preset quintuple list of the encryption device, if the first quintuple matched with the quintuple of the first network data frame exists in the preset quintuple list of the encryption device, setting the encryption identifier as the first identifier, and if the first quintuple matched with the quintuple of the first network data frame does not exist in the preset quintuple list of the encryption device, setting the encryption identifier as the second identifier.
Example 3
As shown in fig. 1, the commodity distribution method of a cross-border e-commerce platform according to an embodiment of the present invention is a preferred embodiment, where the method for sorting goods in a warehouse according to order information by using a goods preparation and packing program through a goods preparation and packing module according to an embodiment of the present invention includes: receiving the order, decrypting the received order information, and sorting the goods through the decrypted order information.
As shown in fig. 5, the decryption of the received order information according to the embodiment of the present invention includes:
s401, receiving a third network data frame;
s402, acquiring a second payload from the third network data frame, acquiring a decryption identifier according to a third preset rule, judging the state of the decryption identifier, decrypting the second payload to obtain plaintext data if the decryption identifier is a third identifier, and performing second preset processing on the third network data frame according to a second configuration parameter if the decryption identifier is a fourth identifier;
s403, sending a fourth network data frame to the second network device, where the fourth network data frame includes the plaintext data.
The decryption method further comprises:
defining a random function funA, generating a plurality of pairs of random integers (x, Y) according to the length of a video file, storing the random integers into a set S { }, storing the set S into a corresponding video file attribute field in a database, and controlling the size of a generated video encryption file to have a Y value <10;
reading a video file stream according to bytes, reading a stored set S { } from a database according to the information of a video file, and acquiring all random number pairs;
according to the data pair (X, Y), writing a random character string with the length of Y in the X position in the file stream, and writing the file stream into the encrypted video file stream;
repeating the circulation until the reading and writing of the file are completed;
the definition function funB acquires information recorded by a key file corresponding to the video file from a database, analyzes an S { } set, and acquires a random integer pair during encryption;
the reverse operation encryption method reads the encrypted video file stream and writes the encrypted video file stream into the restored video file;
the defining of the random function funA generates a plurality of pairs of random integers (X, Y) according to the length of the video file, stores the pairs of random integers into a set S { }, and stores the set S into a corresponding video file attribute field in a database, and specifically includes:
acquiring the length L of a video file, and acquiring an initial parameter D from a database;
taking L as the seed of a random function, generating a random number X, wherein X is less than L, and simultaneously generating a random number Y, and Y is less than 10;
adding < X, Y > to the Map set S { }, and then repeating the second and third steps until repeating D times;
storing the Map set into an encryption table corresponding to the video file;
reading a video file stream according to bytes, reading a stored set S { } from a database according to information of a video file, and acquiring all random number pairs, specifically comprising:
reading the file according to bytes from the position where the video file is stored in a file stream mode to form a video file stream Fin;
storing the video file length information, the path information before encryption and the path information after encryption into an encryption table corresponding to the video file;
according to the data pair (X, Y), writing a random character string with a length of Y in the X position of the file stream, and writing the file stream into the encrypted video file stream, specifically comprising:
traversing the Map set S { }, and obtaining a number pair < X, Y >;
generating a random character string SKey with the length of Y by using a random function;
generating a file output stream Fout according to the path information stored in the encrypted file;
inserting SKey into X position in Fout;
storing the SKey into an encryption information table;
the parsing process for the S { } set is as follows:
reading an S { } set in a character string form in a database into a character string object S;
according to separators in the S string "; "the string of characters into" < x, y > "is saved into array A [ ];
traversing the array A [ ], firstly removing the head and tail of the symbols < "> and ' >" from the character string in each unit, then decomposing the character string of ' x, y ' according to the ' separator ', converting the obtained x and y values into integers, storing the integers as EntryMap items Key = x and value = y into a Map set M, wherein M is a decomposed set, and the Entry item in M is a decomposed random integer pair.
Example 4
As shown in fig. 1, the commodity distribution method of the cross-border e-commerce platform according to the embodiment of the present invention is a preferred embodiment, where the receiving information of the buyer according to the embodiment of the present invention includes: the buyer name, the buyer receiving telephone and the buyer receiving address.
The buyer receiving address provided by the embodiment of the invention comprises a buyer receiving country and a buyer receiving detailed address.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, and any modification, equivalent replacement, and improvement made by those skilled in the art within the technical scope of the present invention disclosed herein, which is within the spirit and principle of the present invention, should be covered by the present invention.
Claims (10)
1. A commodity distribution method of a cross-border e-commerce platform is characterized by comprising the following steps:
step one, carrying out commodity transaction by utilizing a commodity transaction program; acquiring a trade order by using an order confirmation program, extracting order information from the acquired trade order and acquiring payment information; analyzing the payment information to obtain a conclusion whether to pay or not; if not, supervising and urging payment through the commodity trading platform; if the buyer has paid, checking a collection account and determining that the funds are already checked in; and comparing the transaction amount with the posting amount; if the compared amounts are inconsistent, reminding the buyer to complement the tail money; if the buyer pays and the amount meets the preset value, the order is determined to be successful;
step two, receiving a first network data frame by using a wireless communication network; acquiring a first payload from the first network data frame, acquiring an encryption identifier according to a first preset rule, judging the state of the encryption identifier, if the encryption identifier is a first identifier, encrypting the first payload to obtain ciphertext data, and if the encryption identifier is a second identifier, performing first preset processing on the first network data frame according to a first configuration parameter; sending a second network data frame to obtain encrypted order information; transmitting the encrypted order information to a warehouse;
thirdly, controlling each module to normally operate by using a main control computer; receiving orders in the warehouse according to the order information by using a goods preparation and packaging program through a goods preparation and packaging module, and acquiring a third network data frame from the received orders;
step four, acquiring a second payload from the third network data frame obtained in the step two, obtaining a decryption identifier according to a third preset rule, judging the state of the decryption identifier, if the decryption identifier is a third identifier, decrypting the second payload to obtain plaintext data, namely order information, and if the decryption identifier is a fourth identifier, performing second preset processing on the third network data frame according to a second configuration parameter; sending a fourth network data frame to the second network equipment, and decrypting the received order information;
sorting the goods according to the decrypted order information; packaging the sorted goods to obtain a goods package;
the decryption method comprises the following steps:
defining a random function funA, generating a plurality of pairs of random integers (x, Y) according to the length of a video file, storing the random integers into a set S { }, storing the set S into a corresponding video file attribute field in a database, and controlling the size of a generated video encryption file to have a Y value <10;
reading a video file stream according to bytes, reading a stored set S { } from a database according to the information of a video file, and acquiring all random number pairs;
according to the data pair (X, Y), writing a random character string with the length of Y in the X position in the file stream, and writing the file stream into the encrypted video file stream;
repeating the circulation until the reading and writing of the file are completed;
defining a function funB, acquiring information recorded by a key file corresponding to a video file from a database, analyzing an S { } set, and acquiring a random integer pair during encryption;
the reverse operation encryption method reads the encrypted video file stream and writes the encrypted video file stream into the restored video file;
the defining of the random function funA generates a plurality of pairs of random integers (X, Y) according to the length of the video file, stores the pairs of random integers into a set S { }, and stores the set S into a corresponding video file attribute field in a database, and specifically includes:
acquiring the length L of a video file, and acquiring an initial parameter D from a database;
taking L as the seed of a random function, generating a random number X, wherein X is less than L, and simultaneously generating a random number Y, and Y is less than 10;
adding < X, Y > to the Map set S { }, and then repeating the second and third steps until repeating D times;
storing the Map set into an encryption table corresponding to the video file;
reading a video file stream according to bytes, reading a stored set S { } from a database according to information of a video file, and acquiring all random number pairs, specifically comprising:
reading the file according to bytes from the position where the video file is stored in a file stream mode to form a video file stream Fin;
storing the video file length information, the path information before encryption and the path information after encryption into an encryption table corresponding to the video file;
according to the data pair (X, Y), writing a random character string with a length of Y in the X position of the file stream, and writing the file stream into the encrypted video file stream, specifically comprising:
traversing the Map set S { }, and obtaining a number pair < X, Y >;
generating a random character string SKey with the length of Y by using a random function;
generating a file output stream Fout according to the path information stored in the encrypted file;
inserting SKey into X position in Fout;
storing the SKey into an encryption information table;
the parsing process for the S { } set is as follows:
reading an S { } set in a character string form in a database into a character string object S;
according to separators in the S string "; "the string of characters into" < x, y > "is saved into array A [ ];
traversing an array A [ ], firstly removing head and tail "<" and ">" symbols of character strings in each unit, then decomposing the "x, y" character strings according to the "delimiter", converting the obtained x and y values into integers, storing the integers as EntryMap items Key = x and value = y into a Map set M, wherein M is a decomposed set, and the Entry item in M is a decomposed random integer pair;
step five, extracting the receiving information by using a receiving information extraction program to obtain the receiving information of the buyer; acquiring logistics company information by a logistics company information acquisition module by using a logistics company information acquisition program, wherein the logistics company information comprises service areas of different logistics companies, average distribution time of a certain area and guarantee timeliness; selecting the logistics company according to the obtained business areas of different logistics companies and the buyer receiving information in the order by a logistics company selection module by using a logistics company selection program;
step six, comparing the obtained average distribution time and guaranteed time effectiveness of different logistics companies in a certain area by using a logistics information comparison program, and determining the logistics companies with short average distribution time and guaranteed time effectiveness in the certain area as order commodity distribution companies; the order delivery module utilizes an order delivery program to deliver the commodity package and the associated delivery of the receiving information of the buyer;
step seven, updating the logistics of the commodity packages by using a logistics updating program to obtain updated information; and carrying out logistics inquiry by using a logistics inquiry program through a logistics inquiry module, and displaying the location of the commodity package.
2. The method for delivering goods across an e-commerce platform as claimed in claim 1, wherein in step two, the first network data frame is transmitted by the first network device.
3. The method for delivering commodities to a cross-border e-commerce platform according to claim 1, wherein in the second step, obtaining the encrypted identifier according to the first preset rule includes: and judging whether the quintuple of the first network data frame is matched with a preset quintuple list of the encryption device, if the first quintuple matched with the quintuple of the first network data frame exists in the preset quintuple list of the encryption device, setting the encryption identifier as the first identifier, and if the first quintuple matched with the quintuple of the first network data frame does not exist in the preset quintuple list of the encryption device, setting the encryption identifier as the second identifier.
4. The method for delivering commodities to an e-commerce platform across borders of claim 1, wherein in step two, said second network data frame includes said ciphertext data.
5. The method for merchandise distribution across e-commerce platforms of claim 1 wherein in step four, said fourth network data frame includes said plaintext data.
6. The method for delivering commodities to said cross-border e-commerce platform as claimed in claim 1, wherein in step five, said buyer's receipt information includes: the buyer name, the buyer receiving telephone and the buyer receiving address.
7. The method as claimed in claim 6, wherein the buyer's receiving address comprises a receiving country and a receiving detail address.
8. A commodity distribution system of a cross-border e-commerce platform for implementing the commodity distribution method of the cross-border e-commerce platform according to claims 1 to 7, wherein the commodity distribution system of the cross-border e-commerce platform comprises:
the system comprises a commodity transaction module, an order confirmation module, an order information transmission module, a central control module, a goods preparation and packaging module, a receiving information extraction module, a logistics company information acquisition module, a logistics company selection module, a logistics information comparison module, an order delivery module, a logistics updating module and a logistics inquiry module;
the commodity transaction module is connected with the central control module and is used for carrying out commodity transaction through a commodity transaction program;
the order confirmation module is connected with the central control module and used for acquiring a purchase order through an order confirmation program, analyzing the payment information to obtain a result of whether the payment is successful or not and confirming whether the order is successful or not according to the payment result;
the order information transmission module is connected with the central control module and used for transmitting the order information to the warehouse through a wireless communication network;
the central control module is connected with the commodity transaction module, the order confirmation module, the order information transmission module, the goods preparation and packaging module, the receiving information extraction module, the logistics company information acquisition module, the logistics company selection module, the logistics information comparison module, the order delivery module, the logistics updating module and the logistics inquiry module and is used for controlling the normal operation of each module through the main control computer;
the goods preparation and packaging module is connected with the central control module and is used for sorting goods in the warehouse according to the order information through the goods preparation and packaging program and packaging the sorted goods to obtain goods packages;
the receiving information extraction module is connected with the central control module and used for extracting receiving information through a receiving information extraction program to obtain receiving information of the buyer;
the logistics company information acquisition module is connected with the central control module and used for acquiring logistics company information through a logistics company information acquisition program, wherein the logistics company information comprises service areas of different logistics companies, the average distribution time of a certain area and the guarantee timeliness;
the logistics company selection module is connected with the central control module and used for selecting the logistics companies according to the acquired business areas of different logistics companies and the buyer receiving information in the orders through a logistics company selection program;
the logistics information comparison module is connected with the central control module and used for comparing the average distribution time and the guaranteed time effectiveness of different logistics companies in a certain area through a logistics information comparison program and determining the logistics companies with short average distribution time and guaranteed time effectiveness in the certain area as order commodity distribution companies;
the order delivery module is connected with the central control module and is used for delivering the commodity package and the receiving information of the buyer in a correlated manner through an order delivery program;
the logistics updating module is connected with the central control module and used for updating the logistics of the commodity packages through a logistics updating program to obtain updated information;
and the logistics inquiry module is connected with the central control module and used for carrying out logistics inquiry through a logistics inquiry program and displaying the location of the commodity package.
9. An information data processing terminal, characterized in that, the information data processing terminal is used for realizing the commodity distribution method of the cross-border e-commerce platform of any one of claims 1 to 7.
10. A computer-readable storage medium storing instructions which, when executed on a computer, cause the computer to perform a method of commodity distribution across a multi-border e-commerce platform as recited in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011380949.0A CN112381489A (en) | 2020-12-01 | 2020-12-01 | Commodity distribution system, method, terminal and storage medium of cross-border e-commerce platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011380949.0A CN112381489A (en) | 2020-12-01 | 2020-12-01 | Commodity distribution system, method, terminal and storage medium of cross-border e-commerce platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112381489A true CN112381489A (en) | 2021-02-19 |
Family
ID=74590029
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011380949.0A Withdrawn CN112381489A (en) | 2020-12-01 | 2020-12-01 | Commodity distribution system, method, terminal and storage medium of cross-border e-commerce platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112381489A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115423417A (en) * | 2022-11-03 | 2022-12-02 | 图林科技(深圳)有限公司 | Cross-border e-commerce digital intelligent wind control system and method |
CN116070978A (en) * | 2022-12-01 | 2023-05-05 | 武汉尊米科技有限公司 | Intelligent logistics framework design method and device based on big data |
CN117474635A (en) * | 2023-12-26 | 2024-01-30 | 深圳市安科讯电子制造有限公司 | Online sales system for energy products |
-
2020
- 2020-12-01 CN CN202011380949.0A patent/CN112381489A/en not_active Withdrawn
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115423417A (en) * | 2022-11-03 | 2022-12-02 | 图林科技(深圳)有限公司 | Cross-border e-commerce digital intelligent wind control system and method |
CN115423417B (en) * | 2022-11-03 | 2023-07-07 | 浙江卡赢信息科技有限公司 | Intelligent wind control system and method for cross-border e-commerce digitization |
CN116070978A (en) * | 2022-12-01 | 2023-05-05 | 武汉尊米科技有限公司 | Intelligent logistics framework design method and device based on big data |
CN116070978B (en) * | 2022-12-01 | 2023-08-18 | 武汉尊米科技有限公司 | Intelligent logistics framework design method and device based on big data |
CN117474635A (en) * | 2023-12-26 | 2024-01-30 | 深圳市安科讯电子制造有限公司 | Online sales system for energy products |
CN117474635B (en) * | 2023-12-26 | 2024-03-22 | 深圳市安科讯电子制造有限公司 | Online sales system for energy products |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112381489A (en) | Commodity distribution system, method, terminal and storage medium of cross-border e-commerce platform | |
CN107506997B (en) | Payment method for actively scanning codes on user mobile terminal based on block chain technology | |
US5913203A (en) | System and method for pseudo cash transactions | |
CN106204000A (en) | A kind of service consumption method for processing payment information and system | |
CN108647969A (en) | A kind of method, apparatus, system and the storage medium of access block chain | |
CN107341729B (en) | Computer webpage payment method based on block chain technology | |
CN101308558A (en) | Electronic business system by digital television | |
CN101706933A (en) | Method and background system for realizing joint account service operation | |
CN107111694A (en) | Software tampering detection and reporting process | |
CN110599107B (en) | Logistics data processing method and device based on block chain | |
CN101388096A (en) | Multi-platform data standardization processing method and system | |
CN108319691A (en) | A kind of bookkeeping methods, billing and accounting system and payment system | |
CN114707430B (en) | Multi-user encryption based federated learning visualization system and method | |
CN107146052A (en) | A kind of logistic management system and management method based on AES encryption | |
CN106992940B (en) | Message processing method, device, system and terminal | |
US20140012763A1 (en) | Money transfer fraud prevention methods and systems | |
CN110738506A (en) | Malicious bad comment intercepting system of shopping platform | |
CN107318103A (en) | Anti- based on Internet of Things SIM card cuts machine method and its system | |
CN114095746B (en) | Live order data processing and storing system based on block chain | |
CN106960322A (en) | The sending method and device of electronics red packet | |
CN106651382A (en) | Method and device for recognizing business type of business operation | |
KR20080011900A (en) | Marketplace type shopping portal system and controlling method for the same | |
CN106503977A (en) | The processing method of data, system and device | |
CN112733052A (en) | Method and system for acquiring electronic certificate based on two-dimensional code | |
CN113065926A (en) | Vertical e-commerce transaction platform based on block chain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20210219 |