CN114546297B - Order data processing method, device, system, computer equipment and storage medium - Google Patents

Order data processing method, device, system, computer equipment and storage medium Download PDF

Info

Publication number
CN114546297B
CN114546297B CN202011335488.5A CN202011335488A CN114546297B CN 114546297 B CN114546297 B CN 114546297B CN 202011335488 A CN202011335488 A CN 202011335488A CN 114546297 B CN114546297 B CN 114546297B
Authority
CN
China
Prior art keywords
target order
target
order
order data
array
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.)
Active
Application number
CN202011335488.5A
Other languages
Chinese (zh)
Other versions
CN114546297A (en
Inventor
徐玉龙
李秀涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SF Technology Co Ltd
Original Assignee
SF Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SF Technology Co Ltd filed Critical SF Technology Co Ltd
Priority to CN202011335488.5A priority Critical patent/CN114546297B/en
Publication of CN114546297A publication Critical patent/CN114546297A/en
Application granted granted Critical
Publication of CN114546297B publication Critical patent/CN114546297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/126Job scheduling, e.g. queuing, determine appropriate device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The application provides an order data processing method, an order data processing device, an order data processing system, computer equipment and a storage medium, wherein the method comprises the following steps: receiving at least two target order identifications, wherein the at least two target order identifications are at least two target order identifications corresponding to at least two orders to be printed respectively and sequentially associated; acquiring target order data from at least two pre-stored order data according to at least two target order identifications, wherein the at least two order data are respectively in one-to-one correspondence with the at least two order identifications; acquiring a processed target order identifier, and performing sequential adjustment processing on target order data based on the processed target order identifier to obtain processed target order data; and sending the processed target order data to the printing equipment so that the printing equipment prints at least two orders to be printed based on the processed target order data. By adopting the method, not only can the order sequence be unchanged when a plurality of orders are printed in batches be ensured, but also the response speed of the server can be improved.

Description

Order data processing method, device, system, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, a computer device, and a storage medium for processing order data.
Background
With the rapid development of social economy, various online businesses have been put into life. For example, online transaction services such as commodity sales and cargo transportation have become indispensable business items for life of modern people, and orders as online transaction credentials also increase in number with the increase of online traffic.
In the face of the on-line transaction orders with the increased quantity, the conventional business processing can print the orders at present so as to acquire corresponding electronic orders and promote the effective proceeding of the subsequent business flow. However, the existing order printing technology generally records order data into an excel table completely, and then prints and obtains electronic face sheets based on the order data in the table, and although batch printing of a plurality of orders can be realized, the mode requires staff to record a large amount of order data into the table one by one, so that the manual processing efficiency is low, and the existing order printing technology begins to inquire and print the order data stored in a database by means of globally unique order numbers so as to reduce the manpower consumption. However, the method has the defect of reducing the labor cost, namely that only the inquiry and printing of single order data can be realized, the consistency of the front-end order printing sequence and the back-end order printing sequence can be ensured, and if a plurality of orders need to be printed in batches, a server needs to frequently respond to the printing request of the single order.
Therefore, the conventional order printing technology has a technical problem that the server response is slow.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an order data processing method, apparatus, system, computer device, and storage medium, so as to improve the response speed of a server in a multi-order printing scenario.
In a first aspect, the present application provides a method for processing order data, the method comprising:
receiving at least two target order identifications, wherein the at least two target order identifications are at least two target order identifications corresponding to at least two orders to be printed respectively and sequentially associated;
acquiring target order data from at least two pre-stored order data according to the at least two target order identifications, wherein the at least two order data are respectively in one-to-one correspondence with the at least two order identifications;
acquiring a processed target order identifier, and performing sequential adjustment processing on the target order data based on the processed target order identifier to obtain processed target order data;
and sending the processed target order data to printing equipment so that the printing equipment prints the at least two orders to be printed based on the processed target order data.
In some embodiments of the present application, the step of obtaining the processed target order identifier, and performing a sequential adjustment process on the target order data based on the processed target order identifier to obtain processed target order data includes:
acquiring identification arrays corresponding to the at least two target order identifications, wherein the identification arrays comprise array index values arranged in ascending order and target order identifications corresponding to the array index values;
inverting the array index value and the corresponding target order mark based on the mark array to obtain an inverted mark array;
determining the reversed identification array as the processed target order identification;
and based on the processed target order mark, performing sequence adjustment processing on the target order data to obtain processed target order data.
In some embodiments of the present application, the step of obtaining the identification arrays corresponding to the at least two target order identifications includes:
determining identification sequence information of the at least two target order identifications;
and carrying out array assignment processing on the at least two target order identifications in sequence based on the identification sequence information to obtain identification arrays corresponding to the at least two target order identifications.
In some embodiments of the present application, the step of inverting the array index value and the corresponding target order identifier based on the identifier array to obtain an inverted identifier array includes:
determining each array index value in the identification array and a target order identification corresponding to each array index value;
and taking the target order mark as an array index, and taking the array index value as a value corresponding to the array index to perform inversion processing to obtain the inverted mark array.
In some embodiments of the present application, the step of sequentially adjusting the target order data based on the processed target order identifier to obtain processed target order data includes:
determining each array index in the inverted identification array and a numerical value corresponding to each array index based on the processed target order identification, wherein the array index is the target order identification;
determining identification sequence information of each target order identification in the target order data, and sequentially acquiring a value corresponding to the target order identification in the reversed identification array based on the identification sequence information to serve as a target index value;
Taking the target index value as a target array index, and taking the target order mark as a value corresponding to the target array index to generate a target array;
and based on the target array, performing sequential adjustment processing on the target order data to obtain processed target order data.
In some embodiments of the present application, the step of performing a sequential adjustment process on the target order data based on the target array to obtain processed target order data includes:
the target array indexes of the target arrays are arranged in an ascending order to obtain ordered target arrays;
and based on the ordered target array, carrying out packaging processing on the target order data to obtain the processed target order data.
In a second aspect, the present application provides another order data processing method, the method comprising:
acquiring and displaying at least two orders to be printed, wherein the at least two orders comprise order sorting fields;
when detecting a selected triggering operation of the order sorting fields, determining the selected order sorting fields as target sorting fields;
based on the target ordering field, ordering the at least two orders to be printed to obtain ordered at least two orders to be printed, wherein the ordered at least two orders to be printed correspondingly comprise at least two target order identifications;
And sending the at least two target order identifications to a server, so that the server obtains target order identifications after obtaining target order data from at least two pre-stored order data according to the at least two target order identifications, sequentially adjusts the target order data based on the processed target order identifications, and sends the processed target order data to a printing device after obtaining the processed target order data, so that the printing device prints the at least two orders to be printed based on the processed target order data.
In a third aspect, the present application provides an order data processing apparatus, the apparatus comprising:
the identification acquisition module is used for receiving at least two target order identifications, wherein the at least two target order identifications are at least two target order identifications corresponding to at least two orders to be printed respectively and sequentially associated;
the data acquisition module is used for acquiring target order data from at least two pre-stored order data according to the at least two target order identifications, wherein the at least two order data are respectively in one-to-one correspondence with the at least two order identifications;
The data processing module is used for acquiring the processed target order identification, and carrying out sequential adjustment processing on the target order data based on the processed target order identification to obtain processed target order data;
and the data transmitting module is used for transmitting the processed target order data to the printing equipment so that the printing equipment prints the at least two orders to be printed based on the processed target order data.
In a fourth aspect, the present application provides another order data processing apparatus, the apparatus comprising:
the order display module is used for acquiring and displaying at least two orders to be printed, wherein the at least two orders comprise order sorting fields;
the operation detection module is used for determining the selected order sorting field as a target sorting field when detecting a selected trigger operation of the order sorting field;
the order sorting module is used for sorting the at least two orders to be printed based on the target sorting field to obtain at least two ordered orders to be printed, wherein the at least two ordered orders to be printed correspondingly comprise at least two target order identifications;
the identification sending module is used for sending the at least two target order identifications to the server, so that the server obtains target order identifications from at least two pre-stored order data according to the at least two target order identifications, obtains processed target order identifications, sequentially adjusts the target order identifications based on the processed target order identifications, and sends the processed target order data to the printing equipment after the processed target order data is obtained, so that the printing equipment prints the at least two orders to be printed based on the processed target order data.
In a fifth aspect, the present application provides an order data processing system, the system comprising:
a server and a terminal;
the terminal is used for acquiring and displaying at least two orders to be printed, wherein the at least two orders to be printed comprise an order sorting field, determining the selected order sorting field as a target sorting field when detecting a selected trigger operation of the order sorting field, further sorting the at least two orders to be printed based on the target sorting field to obtain at least two ordered orders to be printed, and finally sending at least two target order identifiers in the at least two ordered orders to a server;
the server is configured to receive the at least two target order identifiers, obtain target order data from at least two pre-stored order data according to the at least two target order identifiers, obtain a processed target order identifier, and perform sequential adjustment processing on the target order data based on the processed target order identifier to obtain processed target order data, and finally send the processed target order data to a printing device, so that the printing device prints the at least two orders to be printed based on the processed target order data.
In a sixth aspect, the present application further provides a server, the server including:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the order data processing method.
In a seventh aspect, the present application also provides a computer readable storage medium having stored thereon a computer program to be loaded by a processor for performing the steps of the order data processing method.
According to the order data processing method, device, system, computer equipment and storage medium, the server can acquire target order data from at least two pre-stored order data according to at least two target order identifications by receiving at least two target order identifications corresponding to at least two orders to be printed respectively and sequentially, and further, based on the processed target order identifications, order adjustment processing is carried out on the target order data, so that the processed target order data are sent to the printing equipment, order sequence finally printed by the printing equipment can be consistent with identification sequence received by the server, and further, it is determined that a plurality of orders printed by the printing equipment meet user requirements in terms of sequence requirements. By adopting the method to process the order data, the server can realize accurate printing order of a plurality of orders without frequently responding to the printing requests of each order, thereby needing no manual check, finally improving the response speed of the server and saving the labor cost.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic view of a scenario of an order data processing method in an embodiment of the present application;
FIG. 2 is a flow chart of an order data processing method according to an embodiment of the present application;
FIG. 3 is a flow chart of another order data processing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an order data processing device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another order data processing device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer device in the embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or an implicit indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the description of the present application, the term "for example" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "for example" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for purposes of explanation. It will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and processes have not been described in detail so as not to obscure the description of the invention with unnecessary detail. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
In the embodiment of the present application, it should be noted that, because the order data processing method provided in the present application is executed in a computer device, the processing objects of each computer device exist in the form of data or information, for example, time, which is essentially time information, it can be understood that in the subsequent embodiment, if the size, the number, the position, etc. are mentioned, all corresponding data exist, so that the computer device can process the data, which is not described herein in detail.
The embodiment of the application provides a method, a device, a system, computer equipment and a storage medium for processing order data, and the detailed description is given below.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of an order data processing method provided in the present application, where the order data processing method may be applied to an order data processing system. Wherein the order data processing system comprises a terminal 100, a server 200 and a printing device 300. The terminal 100 may be a device comprising both receiving and transmitting hardware, i.e. having receiving and transmitting hardware capable of performing bi-directional communication over a bi-directional communication link. Such a device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The terminal 100 may be a desktop terminal or a mobile terminal, and the terminal 100 may be one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 200 may be a stand-alone server, or may be a server network or a server cluster of servers, including but not limited to a computer, a network host, a single network server, a plurality of network server sets, or a cloud server of multiple servers. Wherein the Cloud server is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing).
Those skilled in the art will appreciate that the application environment illustrated in fig. 1 is only one application scenario applicable to the present application and is not limited to the application scenario of the present application, and that other application environments may include more or fewer computer devices than those illustrated in fig. 1, such as only 1 server 200 illustrated in fig. 1, and that the order data processing system may further include one or more other servers, and is not limited thereto. In addition, as shown in fig. 1, the order data processing system may further include a memory 400 for storing data, such as storing logistics data, for example, various data of a logistics platform, such as logistics transportation information of logistics sites, such as a transfer site, and the like, specifically, express information, delivery vehicle information, logistics site information, and the like.
It should be noted that, the schematic view of the scenario of the order data processing system shown in fig. 1 is only an example, and the order data processing system and scenario described in the embodiment of the present invention are for more clearly describing the technical solution of the embodiment of the present invention, and do not constitute a limitation on the technical solution provided by the embodiment of the present invention, and those skilled in the art can know that, with the evolution of the order data processing system and the appearance of a new service scenario, the technical solution provided by the embodiment of the present invention is equally applicable to similar technical problems.
Referring to fig. 2, an embodiment of the present application provides an order data processing method, which is mainly applied to the server 200 in fig. 1 for illustration, and the method includes steps S201 to S204, specifically as follows:
s201, at least two target order identifications are received, wherein the at least two target order identifications are at least two target order identifications corresponding to at least two orders to be printed respectively and sequentially associated.
Wherein the order is an online transaction credential including, but not limited to, order identification, user information, address information, cargo information; the order mark is a globally unique character string mark and is used for representing unique certificates of various commodity transactions, logistics transactions, travel transactions and other multiparty transactions, and the character string comprises but is not limited to English case characters, chinese characters and special characters; the target order identification is an order identification currently received by the server 200, and the order identification is an order identification of an order to be printed specified using the user of the terminal 100. Since the order data processing method proposed in the embodiment of the present application is used for solving the problem that the server response is slow in the multi-order printing scenario, the target order identifications received by the server 200 are necessarily at least two target order identifications, the plurality of target order identifications are sequentially associated, and the actual sequential association depends on the operation of the user on the terminal 100.
Specifically, before the server 200 processes the order data, at least two target order identifiers sent by the terminal 100 are received first, where the target order identifiers are the order identifiers of the to-be-printed order selected and submitted by the user at the terminal 100 side. Meanwhile, the target order identifications are sequentially associated, and the actual association order is determined by a terminal 100 side user aiming at optional order sorting fields, wherein the order sorting fields comprise, but are not limited to, order identifications, user information, address information and goods information of all orders to be printed. The identification order determining step involved in the present embodiment will be described in detail below.
S202, acquiring target order data from at least two pre-stored order data according to the at least two target order identifications, wherein the at least two order data are respectively in one-to-one correspondence with the at least two order identifications.
The order data may be order data of on-line transaction services such as commodity buying and selling, and commodity transportation, and the like, including but not limited to data information such as order identification (also referred to as order number), product name, amount, order placing time, order status, and the like; the target order data is the order data of the to-be-printed order submitted by the user at the value terminal 100 side, and the order data is used as the target basis for the subsequent processing of the server 200.
Specifically, after receiving the plurality of target order identifiers sent by the terminal 100, the server 200 may use the target order identifier as a basis for acquiring target order data, and acquire order data corresponding to each order identifier from at least two pre-stored order data, as target order data.
For example, a plurality of order data are pre-stored in a database associated with the Server 200, each order data is stored in the database when the terminal 100 is created, the database includes, but is not limited to, mySQL database, SQL Server database, maria DB database, access database, etc., and the storage form of each order data in the database is a one-to-one storage form between the order identifier and the order data, so after the Server 200 receives the target order identifier sent by the terminal 100, the target order identifier and the order identifier pre-stored in the database can be matched one by one, thereby determining the order data corresponding to the order identifier matched with the target order identifier as the target order data corresponding to the target order identifier.
S203, acquiring the processed target order identification, and performing sequential adjustment processing on the target order data based on the processed target order identification to obtain the processed target order data.
Specifically, the server 200 queries the plurality of target order data, which are the result of the query based on the target order identifications in the preceding step, in the order of the plurality of target order data, necessarily in the order of the corresponding order identifications after ascending or descending, rather than in the order of the plurality of target order identifications currently received, under the influence of the rules of the database query data. For example, the four target order identifications received by the server 200 are in the order of their original arrangement: the arrangement sequence of the identifier 9, the identifier 5, the identifier 2 and the identifier 7 is already described above, and is determined based on the order sorting field sorting selected and submitted by the user at the terminal 100 side, which is not described in detail in this embodiment. The server 200 uses the four target order identifiers as data query basis, queries the returned target order data in a database in batches, and has two combination modes of [2,5,7,9] or [9,7,5,2] in sequence, wherein the sequence is completely different from the sequence of the original target order identifiers [9,5,2,7], and if the target order data are directly sent to the printing device 300, the order sequence sequentially printed by the printing device 300 cannot meet the requirement of a user. Therefore, the order data is required to be sequentially adjusted, and the basis for the order data is the processed order identification, and the steps of the order data processing in this embodiment will be described in detail below.
In one embodiment, the step includes: acquiring identification arrays corresponding to the at least two target order identifications, wherein the identification arrays comprise array index values arranged in ascending order and target order identifications corresponding to the array index values; inverting the array index value and the corresponding target order mark based on the mark array to obtain an inverted mark array; determining the reversed identification array as the processed target order identification; and based on the processed target order mark, performing sequence adjustment processing on the target order data to obtain processed target order data.
The identification array is a key value array, which comprises one key value pair data or a plurality of key value pairs separated by commas, wherein the key in the key value pair data is 'key', and the value is 'value'.
Specifically, in this embodiment, the "key" of the identification arrays corresponding to at least two target order identifications should be a preset data index value of 0, 1, 2, etc., and the value "corresponding to the array index value" key "should be a plurality of target order identifications received by the server 200. For example, the identification Array corresponding to the target order identification [9,5,2,7] is Array (0= >9, 1= >5, 2= >2, 3= > 7), and "0= >9" corresponds to "key= > value". It will be appreciated that, since the default index in the programming language generally starts from 0, the first array index value in this embodiment is 0, but it is not excluded that in other embodiments, a non-zero value is used as the array index value, and embodiments of the present application are not limited thereto.
More specifically, the server 200 obtains the identification arrays corresponding to at least two target order identifications, not necessarily after obtaining the target order data, but also may be obtained immediately after receiving the target order identifications, but all do not affect the obtaining of the target order data. After the server 200 obtains the identification arrays corresponding to at least two target order identifications, the identification arrays are used as data processing basis, the array index values and the corresponding target order identifications are subjected to inversion processing to obtain inverted identification arrays, the inverted identification arrays are used as processed target order identifications, and then the target order data are subjected to sequential adjustment processing based on the processed target order identifications, so that the processed target order data can be obtained. At this time, the processed target order data is the target order data with the sequence adjusted, the arrangement sequence of the processed target order data is consistent with the sequence of the target order mark received by the server 200 before, and the processed target order data is sent to the printing device 300, so that the printing device 300 can print out an order consistent with the submitting sequence of the user at the terminal 100 side, and the paper order at this time is called a face order.
For example, the identification Array corresponding to the target order identification [9,5,2,7] is Array (0= >9, 1= >5, 2= >2, 3= > 7), the inverted identification Array (processed target order identification) is Array (9= >0, 5= >1, 2= >2, 7= > 3), and the target order data [2,5,7,9] or [9,7,5,2] returned by batch query in the database is sequentially adjusted based on Array (9= >0, 5= >1, 2= >2, 7= > 3), so that the processed target order data can be obtained, that is, the final result obtained by the final processing is [9,5,2,7].
It should be noted that, the numerical value in the above-mentioned identification array is a target order identifier, that is, the order is described by using the target order identifier corresponding to each target order data, which is clear, and not only the corresponding target order identifier is included in the target order data, which will be apparent to those skilled in the art.
In one embodiment, the step of obtaining the identification arrays corresponding to the at least two target order identifications includes: determining identification sequence information of the at least two target order identifications; and carrying out array assignment processing on the at least two target order identifications in sequence based on the identification sequence information to obtain identification arrays corresponding to the at least two target order identifications.
Wherein the identification order information refers to the arrangement order of the plurality of target order identifications, for example, identification order information of identification 9, identification 5, identification 2, and identification 7 is [9,5,2,7].
Specifically, in the above embodiment, the identification arrays corresponding to the at least two target order identifications have been described, and the acquisition time may be set according to the actual application requirement after the target order data is acquired, or possibly before the target order data is acquired. In this embodiment, a case will be specifically described in which after the server 200 obtains the target order data, at least two identification arrays corresponding to the target order identifications are obtained, that is, the server 200 will sequentially stack each target order identification into a previously declared empty Array according to the identification sequence of the plurality of target order identifications received before, and perform an Array filling operation (may also be referred to as an Array assignment operation), and then an identification Array (0= >9, 1= >5, 2= >2, 3= > 7) is obtained.
In one embodiment, the step of inverting the array index value and the corresponding target order identifier based on the identifier array to obtain an inverted identifier array includes: determining each array index value in the identification array and a target order identification corresponding to each array index value; and taking the target order mark as an array index, and taking the array index value as a value corresponding to the array index to perform inversion processing to obtain the inverted mark array.
The Array index values are "key" values in the identification Array, for example, 0, 1,2, 3 in the identification Array (0= >9, 1= >5, 2= >2, 3= > 7) are all Array index values, and each Array index value corresponds to "value", that is, each target order identifier [9,5,2,7] received by the server 200.
Specifically, to acquire the processed target order identifier, an inverted identifier array needs to be acquired, and to acquire the inverted identifier array, the identifier array needs to be acquired and inverted. Since it has been described in the above embodiment that the identification Array corresponding to the plurality of target order identifications [9,5,2,7] may be Array (0= >9, 1= >5, 2= >2, 3= > 7), the inversion processing is to perform inversion substitution on the Array index "key" and the value "corresponding to the Array index, and finally the identification Array corresponding to the inversion is Array (9= >0, 5= >1, 2= >2, 7= > 3).
In one embodiment, the step of sequentially adjusting the target order data based on the processed target order identifier to obtain processed target order data includes: determining each array index in the inverted identification array and a numerical value corresponding to each array index based on the processed target order identification, wherein the array index is the target order identification; determining identification sequence information of each target order identification in the target order data, and sequentially acquiring a value corresponding to the target order identification in the reversed identification array based on the identification sequence information to serve as a target index value; taking the target index value as a target array index, and taking the target order mark as a value corresponding to the target array index to generate a target array; and based on the target array, performing sequential adjustment processing on the target order data to obtain processed target order data.
Specifically, based on the description of the above embodiment, the processed target order is identified as Array (9= >0, 5= >1, 2= >2, 7= > 3), and then the inverted identification Array is also identified as Array (9= >0, 5= >1, 2= >2, 7= > 3), and the sequential adjustment processing is performed on the target order data based on the processed target order identifications, that is, each target order identification in the target order data is taken as "key", and the "value" in the inverted identification Array is queried. At this time, "value" should be used as the target index value of the target array index, and "key" corresponding to "value" should be used as the value corresponding to the target array index, and the server 200 regenerates a target array, and performs sequential adjustment processing on the target order data based on the target array, so as to obtain the processed target order data.
For example, the inverted identification Array is Array (9= >0, 5= >1, 2= >2, 7= > 3), then its Array index is the target order identification [9,5,2,7] received by the server 200, and the target order identification in each target order data is [2,5,7,9]. Taking a target order identifier ' 2 ' in target order data as a key, and acquiring a value ' corresponding to the target order identifier ' 2 ' from an inverted identifier Array (9= >0, 5= >1, 2= >2, 7= > 3), so that a target index value is 2; taking a target order identifier ' 5 ' in target order data as a key, acquiring a value ' corresponding to the target order identifier ' 5 ' from an inverted identifier Array (9= >0, 5= >1, 2= >2, 7= > 3), and obtaining a target index value of 1; taking a target order mark ' 7 ' in target order data as a ' key ', and acquiring a value ' corresponding to the target order mark ' 7 ' from an inverted mark Array (9= >0, 5= >1, 2= >2, 7= > 3), so that a target index value is 3; taking a target order identifier ' 9 ' in target order data as a ' key ', acquiring a value ' corresponding to the target order identifier ' 9 ' from an inverted identifier Array (9= >0, 5= >1, 2= >2, 7= > 3), and obtaining a target index value of 0. The final target index values are [2,1,3,0] in sequence, each target index value is used as a target array index, the corresponding target order mark is used as the value corresponding to the target array index, and a target array is generated, so that an array can be obtained: data [2] =arr2 [2], data [1] =arr2 [5], data [3] =arr2 [7], data [0] =arr2 [9].
In one embodiment, the step of performing a sequential adjustment process on the target order data based on the target array to obtain processed target order data includes: the target array indexes of the target arrays are arranged in an ascending order to obtain ordered target arrays; and based on the ordered target array, carrying out packaging processing on the target order data to obtain the processed target order data.
Specifically, after the target array is obtained by the analysis processing of the server 200, the target array index of the target array is known that the order is still different from the target order identification order received before, so that the target arrays are arranged in an ascending order according to the target array index of the target array, so as to obtain the ordered target array as the processed target order data of the pending printing device 300.
For example, the target array: data [2] =arr2 [2], data [1] =arr2 [5], data [3] =arr2 [7], data [0] =arr2 [9], and the target array index is obtained after the target array index is arranged in ascending order: data [0] =arr2 [9], data [1] =arr2 [5], data [2] =arr2 [2], data [3] =arr2 [7], and the order of the target order array shown by the array is consistent with the order sequence submitted by the terminal 100, so that the target order array can be directly sent to the printing equipment 300 for printing.
S204, the processed target order data is sent to printing equipment, so that the printing equipment prints the at least two orders to be printed based on the processed target order data.
The printing apparatus 300 may be, among other things, various printers fabricated based on different printing principles, such as a pin printer, an inkjet printer, a laser printer, or a thermal printer.
Specifically, after the order of the target order data is adjusted to be consistent with the order submitted by the terminal 100 by the server 200, the processed target order data may be sent to the printing apparatus 300, so that the order printed by the printing apparatus 300 is consistent with the order submitted by the terminal 100, and thus, the adjustment does not need to be checked again manually.
According to the order data processing method, the server receives at least two target order identifications corresponding to at least two orders to be printed respectively and sequentially associated with the at least two target order identifications, the target order data can be obtained from at least two pre-stored order data according to the at least two target order identifications, further, sequential adjustment processing is conducted on the target order data based on the processed target order identifications, the processed target order data are obtained and sent to the printing equipment, order sequences finally printed by the printing equipment can be consistent with identification sequences received by the server, and further, the fact that a plurality of orders printed by the printing equipment meet user requirements in terms of sequence requirements is judged. By adopting the method to process the order data, the server can realize accurate printing order of a plurality of orders without frequently responding to the printing requests of each order, thereby needing no manual check, finally improving the response speed of the server and saving the labor cost.
Referring to fig. 3, another order data processing method is provided in the embodiment of the present application, and the embodiment is mainly illustrated by applying the method to the terminal 100 in fig. 1, where the method includes steps S301 to S304, specifically as follows:
s301, acquiring and displaying at least two orders to be printed, wherein the orders comprise order sorting fields.
The order to be printed may be an order submitted by the user to the server 200 through the terminal 100.
The order ordering field may be a certain field content in order data, such as order identification, user information, address information, cargo information, etc.
Specifically, the terminal 100 may have an interactive interface, where a plurality of candidate orders may be displayed in the interactive interface, and when a user initiates an order print request through the interactive interface, that is, submits an order to be printed in the currently determined plurality of candidate orders to the terminal 100, at this time, the terminal 100 may obtain at least two orders to be printed submitted by the user, where each of the orders to be printed includes one or more order sorting fields, so that the interactive interface of the terminal 100 may display the ordered orders to be printed based on a certain order sorting field.
S302, when a selected triggering operation of the order sorting fields is detected, determining the selected order sorting fields as target sorting fields.
Specifically, a plurality of virtual buttons may be displayed in the interactive interface of the terminal 100, where each virtual button corresponds to an order sorting field, and when the user clicks a certain virtual button, the corresponding order sorting field is submitted accordingly. Thus, the terminal 100 may receive the target sort field selected by the user.
S303, based on the target sorting field, sorting the at least two orders to be printed to obtain at least two sorted orders to be printed, wherein the at least two sorted orders to be printed correspondingly comprise at least two target order identifications.
Specifically, after the terminal 100 obtains the target ordering field selected and submitted by the user, the target ordering field may be used as an order ordering basis to perform ascending or descending order arrangement on more than one order to be printed, so as to determine the order sequence required by the user, and further facilitate the sending of the ordered target order identifier to the server 200, so that the server 200 determines the ordered order to be printed by receiving the ordered target order identifier.
S304, the at least two target order identifications are sent to a server, so that the server obtains target order identifications from at least two pre-stored order data according to the at least two target order identifications, obtains processed target order identifications, sequentially adjusts the target order identifications based on the processed target order identifications, obtains processed target order data, and then sends the processed target order data to a printing device, so that the printing device prints the at least two orders to be printed based on the processed target order data.
Specifically, after the server 200 obtains the target order identifier sent by the terminal 100, the server may obtain the processed target order data according to the analysis processing description of the target order identifier in the above embodiment, so as to send the processed target order data to the printing device 300, so as to ensure that the order printed by the printing device 300 is consistent with the order confirmed to be submitted by the user on the terminal 100 side.
According to the order data processing method, the terminal can determine the selected order sorting field as the target sorting field when detecting one selected trigger operation of the order sorting field by acquiring and displaying at least two orders to be printed including the order sorting field, further sort the at least two orders to be printed based on the target sorting field to obtain sorted at least two orders to be printed, further acquire sorted target order identifications, and finally send the at least two target order identifications to the server, so that the server acquires target order data based on the at least two target order identifications, and sequentially adjusts the target order data, and therefore order printed by the printing equipment is consistent with order sent by the terminal. By adopting the method, the response speed of the server can be improved, and the labor cost can be saved.
In order to better implement the order data processing method in the embodiment of the present application, based on the order data processing method, an order data processing device is further provided in the embodiment of the present application, as shown in fig. 4, where the order data processing device 400 includes:
the identifier obtaining module 410 is configured to receive at least two target order identifiers, where the at least two target order identifiers are at least two target order identifiers that are respectively corresponding to and sequentially associated with at least two orders to be printed;
the data obtaining module 420 is configured to obtain target order data from at least two pre-stored order data according to the at least two target order identifiers, where the at least two order data are respectively in one-to-one correspondence with the at least two order identifiers;
the data processing module 430 is configured to obtain a processed target order identifier, and perform a sequential adjustment process on the target order data based on the processed target order identifier, so as to obtain processed target order data;
and a data sending module 440, configured to send the processed target order data to a printing device, so that the printing device prints the at least two orders to be printed based on the processed target order data.
In some embodiments of the present application, the data processing module 430 is further configured to obtain an identification array corresponding to the at least two target order identifiers, where the identification array includes array index values arranged in ascending order, and target order identifiers corresponding to the array index values; inverting the array index value and the corresponding target order mark based on the mark array to obtain an inverted mark array; determining the reversed identification array as the processed target order identification; and based on the processed target order mark, performing sequence adjustment processing on the target order data to obtain processed target order data.
In some embodiments of the present application, the data processing module 430 is further configured to determine identification order information of the at least two target order identifications; and carrying out array assignment processing on the at least two target order identifications in sequence based on the identification sequence information to obtain identification arrays corresponding to the at least two target order identifications.
In some embodiments of the present application, the data processing module 430 is further configured to determine each array index value in the identification array, and a target order identifier corresponding to each array index value; and taking the target order mark as an array index, and taking the array index value as a value corresponding to the array index to perform inversion processing to obtain the inverted mark array.
In some embodiments of the present application, the data processing module 430 is further configured to determine, based on the processed target order identifier, each array index in the inverted identifier array, and a value corresponding to each array index, where the array index is the target order identifier; determining identification sequence information of each target order identification in the target order data, and sequentially acquiring a value corresponding to the target order identification in the reversed identification array based on the identification sequence information to serve as a target index value; taking the target index value as a target array index, and taking the target order mark as a value corresponding to the target array index to generate a target array; and based on the target array, performing sequential adjustment processing on the target order data to obtain processed target order data.
In some embodiments of the present application, the data processing module 430 is further configured to ascending the target array index of the target array to obtain an ordered target array; and based on the ordered target array, carrying out packaging processing on the target order data to obtain the processed target order data.
In the above embodiment, the server may obtain the target order data from the at least two pre-stored order data according to the at least two target order identifications by receiving the at least two target order identifications corresponding to the at least two orders to be printed and sequentially associating the at least two target order identifications, and then perform sequential adjustment processing on the target order data based on the processed target order identifications, so as to obtain processed target order data, and send the processed target order data to the printing device, so that the order sequence finally printed by the printing device can be consistent with the identification sequence received by the server, and further determine that a plurality of orders printed by the printing device satisfy the user requirement in terms of sequential requirement. By adopting the scheme to process the order data, the server can realize accurate printing order of a plurality of orders without frequently responding to the printing requests of each order, so that manual check is not needed, the response speed of the server is finally improved, and the labor cost is saved.
In order to better implement another order data processing method in the embodiment of the present application, another order data processing device is further provided in the embodiment of the present application, as shown in fig. 5, where the order data processing device 500 includes:
An order display module 510, configured to acquire and display at least two orders to be printed including an order sorting field;
an operation detection module 520, configured to determine, when a selected trigger operation of the order sorting field is detected, the selected order sorting field as a target sorting field;
the order sorting module 530 is configured to sort the at least two orders to be printed based on the target sorting field, so as to obtain sorted at least two orders to be printed, where the sorted at least two orders to be printed correspondingly include at least two target order identifiers;
the identifier sending module 540 is configured to send the at least two target order identifiers to a server, so that the server obtains target order identifiers from at least two pre-stored order data according to the at least two target order identifiers, obtains processed target order identifiers, sequentially adjusts the target order data based on the processed target order identifiers, obtains processed target order data, and then sends the processed target order data to a printing device, so that the printing device prints the at least two orders to be printed based on the processed target order data.
In the above embodiment, the terminal may determine the selected order sorting field as the target sorting field when detecting a selected trigger operation of the order sorting field by acquiring and displaying at least two orders to be printed including the order sorting field, further sort the at least two orders to be printed based on the target sorting field to obtain sorted at least two orders to be printed, further acquire sorted target order identifications, and finally send the at least two target order identifications to the server, so that the server acquires target order data based on the at least two target order identifications, and sequentially adjusts the target order data, thereby realizing that the order printed by the printing device is consistent with the order sent by the terminal. By adopting the scheme, the response speed of the server can be improved, and the labor cost can be saved.
In order to better implement the order data processing method in the embodiment of the present application, based on the order data processing method, an order data processing system is further provided in the embodiment of the present application, where the order data processing system includes: a server 200 and a terminal 100;
the terminal 100 is configured to obtain and display at least two orders to be printed including an order sorting field, determine, when a selected trigger operation of the order sorting field is detected, the selected order sorting field as a target sorting field, further sort the at least two orders to be printed based on the target sorting field, obtain sorted at least two orders to be printed, and finally send at least two target order identifications in the sorted at least two orders to a server;
The server 200 is configured to receive the at least two target order identifiers, obtain target order data from at least two pre-stored order data according to the at least two target order identifiers, obtain a processed target order identifier, and perform sequential adjustment processing on the target order data based on the processed target order identifier, so as to obtain processed target order data, and finally send the processed target order data to a printing device, so that the printing device prints the at least two orders to be printed based on the processed target order data.
In the embodiment, the server can realize accurate printing order of a plurality of orders without frequently responding to the printing requests of the orders, so that manual check is not needed, the response speed of the server is finally improved, and the labor cost is saved.
In some embodiments of the present application, the order data processing apparatus 400 may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 6. The memory of the computer device may store various program modules that make up the order data processing apparatus 400, such as the identification acquisition module 410, the data acquisition module 420, the data processing module 430, and the data transmission module 440 shown in fig. 4. The computer program constituted by the respective program modules causes the processor to execute the steps in the order data processing method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 6 may perform step S201 through the identification acquisition module 410 in the order data processing apparatus 400 shown in fig. 4. The computer device may perform step S202 through the data acquisition module 420. The computer device may perform step S203 through the data processing module 430. The computer device may perform step S204 through the data transmission module 440. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external computer device through a network connection. The computer program is executed by a processor to implement an order data processing method.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In some embodiments of the present application, a computer device is provided that includes one or more processors; a memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to perform the steps of the order data processing method described above. The steps of the order data processing method herein may be the steps of the order data processing method of the above-described respective embodiments.
In some embodiments of the present application, a computer readable storage medium is provided, in which a computer program is stored, the computer program being loaded by a processor, so that the processor performs the steps of the order data processing method described above. The steps of the order data processing method herein may be the steps of the order data processing method of the above-described respective embodiments.
The foregoing has described in detail the methods, apparatuses, systems, computer devices and storage media for order data processing provided by the embodiments of the present application, and specific examples have been applied to illustrate the principles and embodiments of the present invention, where the foregoing examples are provided to assist in understanding the methods and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present invention, the present description should not be construed as limiting the present invention.

Claims (11)

1. A method of order data processing, the method comprising:
receiving at least two target order identifications, wherein the at least two target order identifications are at least two target order identifications corresponding to at least two orders to be printed respectively and sequentially associated;
acquiring target order data from at least two pre-stored order data according to the at least two target order identifications, wherein the at least two order data are respectively in one-to-one correspondence with the at least two order identifications;
acquiring a processed target order identifier, and performing sequential adjustment processing on the target order data based on the processed target order identifier to obtain processed target order data;
transmitting the processed target order data to printing equipment so that the printing equipment prints the at least two orders to be printed based on the processed target order data;
the step of obtaining the processed target order mark, and sequentially adjusting the target order data based on the processed target order mark to obtain the processed target order data comprises the following steps:
acquiring identification arrays corresponding to the at least two target order identifications, wherein the identification arrays comprise array index values arranged in ascending order and target order identifications corresponding to the array index values;
Inverting the array index value and the corresponding target order mark based on the mark array to obtain an inverted mark array;
determining the reversed identification array as the processed target order identification;
and based on the processed target order mark, performing sequence adjustment processing on the target order data to obtain processed target order data.
2. The order data processing method as set forth in claim 1, wherein said step of obtaining identification arrays corresponding to said at least two target order identifications comprises:
determining identification sequence information of the at least two target order identifications;
and carrying out array assignment processing on the at least two target order identifications in sequence based on the identification sequence information to obtain identification arrays corresponding to the at least two target order identifications.
3. The order data processing method as set forth in claim 1, wherein said step of inverting said array index value and its corresponding target order identification based on said identification array to obtain an inverted identification array comprises:
determining each array index value in the identification array and a target order identification corresponding to each array index value;
And taking the target order mark as an array index, and taking the array index value as a value corresponding to the array index to perform inversion processing to obtain the inverted mark array.
4. The order data processing method as set forth in claim 1, wherein said step of sequentially adjusting said target order data based on said processed target order identification to obtain processed target order data comprises:
determining each array index in the inverted identification array and a numerical value corresponding to each array index based on the processed target order identification, wherein the array index is the target order identification;
determining identification sequence information of each target order identification in the target order data, and sequentially acquiring a value corresponding to the target order identification in the reversed identification array based on the identification sequence information to serve as a target index value;
taking the target index value as a target array index, and taking the target order mark as a value corresponding to the target array index to generate a target array;
and based on the target array, performing sequential adjustment processing on the target order data to obtain processed target order data.
5. The order data processing method as set forth in claim 4, wherein said step of sequentially adjusting said target order data based on said target array to obtain processed target order data comprises:
the target array indexes of the target arrays are arranged in an ascending order to obtain ordered target arrays;
and based on the ordered target array, carrying out packaging processing on the target order data to obtain the processed target order data.
6. A method of order data processing, the method comprising:
acquiring and displaying at least two orders to be printed, wherein the at least two orders comprise order sorting fields;
when detecting a selected triggering operation of the order sorting fields, determining the selected order sorting fields as target sorting fields;
based on the target ordering field, ordering the at least two orders to be printed to obtain ordered at least two orders to be printed, wherein the ordered at least two orders to be printed correspondingly comprise at least two target order identifications;
the at least two target order identifications are sent to a server, so that the server obtains target order identifications after obtaining target order data from at least two pre-stored order data according to the at least two target order identifications, sequentially adjusts the target order data based on the processed target order identifications, and sends the processed target order data to a printing device after obtaining the processed target order data, so that the printing device prints the at least two orders to be printed based on the processed target order data;
The step of obtaining the processed target order mark, and sequentially adjusting the target order data based on the processed target order mark to obtain the processed target order data comprises the following steps:
acquiring identification arrays corresponding to the at least two target order identifications, wherein the identification arrays comprise array index values arranged in ascending order and target order identifications corresponding to the array index values;
inverting the array index value and the corresponding target order mark based on the mark array to obtain an inverted mark array;
determining the reversed identification array as the processed target order identification;
and based on the processed target order mark, performing sequence adjustment processing on the target order data to obtain processed target order data.
7. An order data processing apparatus, the apparatus comprising:
the identification acquisition module is used for receiving at least two target order identifications, wherein the at least two target order identifications are at least two target order identifications corresponding to at least two orders to be printed respectively and sequentially associated;
The data acquisition module is used for acquiring target order data from at least two pre-stored order data according to the at least two target order identifications, wherein the at least two order data are respectively in one-to-one correspondence with the at least two order identifications;
the data processing module is used for acquiring the processed target order identification, and carrying out sequential adjustment processing on the target order data based on the processed target order identification to obtain processed target order data;
the data sending module is used for sending the processed target order data to printing equipment so that the printing equipment prints the at least two orders to be printed based on the processed target order data;
the step of obtaining the processed target order mark, and sequentially adjusting the target order data based on the processed target order mark to obtain the processed target order data comprises the following steps:
acquiring identification arrays corresponding to the at least two target order identifications, wherein the identification arrays comprise array index values arranged in ascending order and target order identifications corresponding to the array index values;
Inverting the array index value and the corresponding target order mark based on the mark array to obtain an inverted mark array;
determining the reversed identification array as the processed target order identification;
and based on the processed target order mark, performing sequence adjustment processing on the target order data to obtain processed target order data.
8. An order data processing apparatus, the apparatus comprising:
the order display module is used for acquiring and displaying at least two orders to be printed, wherein the at least two orders comprise order sorting fields;
the operation detection module is used for determining the selected order sorting field as a target sorting field when detecting a selected trigger operation of the order sorting field;
the order sorting module is used for sorting the at least two orders to be printed based on the target sorting field to obtain at least two ordered orders to be printed, wherein the at least two ordered orders to be printed correspondingly comprise at least two target order identifications;
the identification sending module is used for sending the at least two target order identifications to the server, so that the server obtains target order identifications from at least two pre-stored order data according to the at least two target order identifications, obtains processed target order identifications, sequentially adjusts the target order identifications based on the processed target order identifications, and sends the processed target order data to the printing equipment after the processed target order data is obtained, so that the printing equipment prints the at least two orders to be printed based on the processed target order data;
The step of obtaining the processed target order mark, and sequentially adjusting the target order data based on the processed target order mark to obtain the processed target order data comprises the following steps:
acquiring identification arrays corresponding to the at least two target order identifications, wherein the identification arrays comprise array index values arranged in ascending order and target order identifications corresponding to the array index values;
inverting the array index value and the corresponding target order mark based on the mark array to obtain an inverted mark array;
determining the reversed identification array as the processed target order identification;
and based on the processed target order mark, performing sequence adjustment processing on the target order data to obtain processed target order data.
9. An order data processing system, the system comprising:
a server and a terminal;
the terminal is used for acquiring and displaying at least two orders to be printed, wherein the at least two orders to be printed comprise an order sorting field, determining the selected order sorting field as a target sorting field when detecting a selected trigger operation of the order sorting field, further sorting the at least two orders to be printed based on the target sorting field to obtain at least two ordered orders to be printed, and finally sending at least two target order identifiers in the at least two ordered orders to a server;
The server is configured to receive the at least two target order identifiers, obtain target order data from at least two pre-stored order data according to the at least two target order identifiers, obtain a processed target order identifier, perform sequential adjustment processing on the target order data based on the processed target order identifier, obtain processed target order data, and finally send the processed target order data to a printing device, so that the printing device prints the at least two orders to be printed based on the processed target order data, where the step of obtaining the processed target order identifier, and performing sequential adjustment processing on the target order data based on the processed target order identifier, and obtain the processed target order data includes: acquiring identification arrays corresponding to the at least two target order identifications, wherein the identification arrays comprise array index values arranged in ascending order and target order identifications corresponding to the array index values; inverting the array index value and the corresponding target order mark based on the mark array to obtain an inverted mark array; determining the reversed identification array as the processed target order identification; and based on the processed target order mark, performing sequence adjustment processing on the target order data to obtain processed target order data.
10. A computer device, the computer device comprising:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the order data processing method of any of claims 1 to 6.
11. A computer-readable storage medium, on which a computer program is stored, the computer program being loaded by a processor to perform the steps of the order data processing method of any of claims 1 to 6.
CN202011335488.5A 2020-11-25 2020-11-25 Order data processing method, device, system, computer equipment and storage medium Active CN114546297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011335488.5A CN114546297B (en) 2020-11-25 2020-11-25 Order data processing method, device, system, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011335488.5A CN114546297B (en) 2020-11-25 2020-11-25 Order data processing method, device, system, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114546297A CN114546297A (en) 2022-05-27
CN114546297B true CN114546297B (en) 2024-02-27

Family

ID=81660039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011335488.5A Active CN114546297B (en) 2020-11-25 2020-11-25 Order data processing method, device, system, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114546297B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017050163A1 (en) * 2015-09-23 2017-03-30 阿里巴巴集团控股有限公司 Logistic information processing method and device
CN110765138A (en) * 2019-10-31 2020-02-07 北京达佳互联信息技术有限公司 Data query method, device, server and storage medium
CN111159211A (en) * 2019-12-31 2020-05-15 广州酷狗计算机科技有限公司 Order information generation method, device and system, computer equipment and storage medium
CN111612388A (en) * 2019-02-26 2020-09-01 北京京东尚科信息技术有限公司 Method and device for merging target orders

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6069704B2 (en) * 2013-04-25 2017-02-01 富士通株式会社 Computer installation method, computer installation program, and computer installation apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017050163A1 (en) * 2015-09-23 2017-03-30 阿里巴巴集团控股有限公司 Logistic information processing method and device
CN111612388A (en) * 2019-02-26 2020-09-01 北京京东尚科信息技术有限公司 Method and device for merging target orders
CN110765138A (en) * 2019-10-31 2020-02-07 北京达佳互联信息技术有限公司 Data query method, device, server and storage medium
CN111159211A (en) * 2019-12-31 2020-05-15 广州酷狗计算机科技有限公司 Order information generation method, device and system, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114546297A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN108564339B (en) Account management method, device, terminal equipment and storage medium
CN107463348B (en) Method and system for realizing Web end custom format printing based on B/S architecture
CN106814982A (en) Label print processing device, system and method
US8896857B2 (en) Content receipt via email addresses
US20200073608A1 (en) Information processing method, image processing apparatus, and information processing system
US20140052578A1 (en) Promoter system and method for processing product and service data
CN107070645B (en) Method and system for comparing data of data table
CN109858373A (en) A kind of invoice identification verification method and system based on deep learning
CN108632271B (en) Identity authentication method and device
CN110473097B (en) Transaction monitoring method, terminal and computer readable storage medium
US20200167102A1 (en) A system and a method for optimizing a print production process
US9361350B2 (en) Data transfer between first and second databases
CN111125496A (en) Price query method, device and system
CN109669980A (en) The inter-library access method of data and device
CN109495553B (en) Webpage display control method and system and reverse proxy server
CN110335061B (en) Transaction mode portrait establishing method, device, medium and electronic equipment
CN114546297B (en) Order data processing method, device, system, computer equipment and storage medium
CN106296240B (en) Business object accessory information processing method and device
CN109214362A (en) Bill processing method and relevant device
CN107729341B (en) Electronic device, information inquiry control method, and computer-readable storage medium
CN109784184A (en) Luggage delivery and claim method and device, storage medium, electronic equipment
CN112597192A (en) Data query method, device, server and medium
CN109902098A (en) Similar cases are searched and sort method, server and computer readable storage medium
CN115034717A (en) Method, device, equipment and computer readable medium for monitoring logistics menu
CN111309932B (en) Comment data query method, comment data query device, comment data query equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant