[go: up one dir, main page]

CN112819582B - Order data display method and device, storage medium and electronic equipment - Google Patents

Order data display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112819582B
CN112819582B CN202110158094.5A CN202110158094A CN112819582B CN 112819582 B CN112819582 B CN 112819582B CN 202110158094 A CN202110158094 A CN 202110158094A CN 112819582 B CN112819582 B CN 112819582B
Authority
CN
China
Prior art keywords
order
record
issuing
identifier
association
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
CN202110158094.5A
Other languages
Chinese (zh)
Other versions
CN112819582A (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.)
Suzhou Dajiaying Information Technology Co Ltd
Original Assignee
Suzhou Dajiaying Information 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 Suzhou Dajiaying Information Technology Co Ltd filed Critical Suzhou Dajiaying Information Technology Co Ltd
Priority to CN202110158094.5A priority Critical patent/CN112819582B/en
Publication of CN112819582A publication Critical patent/CN112819582A/en
Application granted granted Critical
Publication of CN112819582B publication Critical patent/CN112819582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0633Managing shopping lists, e.g. compiling or processing purchase lists
    • G06Q30/0635Managing shopping lists, e.g. compiling or processing purchase lists replenishment orders; recurring orders
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure relates to an order data display method, an order data display device, a storage medium and an electronic device, wherein the method comprises the steps of obtaining order information, wherein the order information comprises an order record and distribution information, and the order record comprises a first user identifier and an order source identifier; determining the attribution identification of the order information according to the distribution information, generating an order issuing record according to the attribution identification of the order information and the order record, and storing the order issuing record in an order management database; acquiring an order query request from a second user terminal, querying a corresponding order issuing record, and determining the queried order issuing record as a first order issuing record; sequencing the first order issuing records according to a preset first sequencing strategy to obtain a first sequencing result; and displaying the first sequencing result at the second user terminal. The order data display efficiency can be improved.

Description

Order data display method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of internet communications, and in particular, to a method and an apparatus for displaying order data, a storage medium, and an electronic device.
Background
Many application programs in the related art all require users with different roles to participate in the order processing, and with the order as a medium, each user participating in the order processing has a display requirement for the order related to the user, and how to design a display scheme of the order is intuitively important for the user to quickly browse the order with the highest relevance, and how to ensure that different users still maintain high accuracy and data consistency of the order when generating different processing behaviors based on the order is also a problem to be solved.
Disclosure of Invention
The disclosure provides an order data display method, an order data display device, a storage medium and electronic equipment, so as to at least solve the technical problem that how to design an order display scheme in the related art can facilitate a user to quickly browse an order with the highest relevance. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an order data display method, including:
the method comprises the steps of obtaining order information from a first user terminal, wherein the order information comprises an order record and distribution information of the order record, and the order record comprises a plurality of order attributes; the order attribute at least comprises a first user identifier and an order source identifier; the allocation information corresponds to the first subscriber identity;
determining an attribution identifier of the order information according to the distribution information in the order information, generating an order issuing record according to the attribution identifier of the order information and the order record in the order information, and storing the order issuing record in an order management database;
acquiring an order query request from a second user terminal, wherein the order query request comprises a second user identifier;
determining an attribution identification corresponding to the second user identification as a first attribution identification, inquiring a corresponding order issuing record in the order management database according to the first attribution identification, and determining the inquired order issuing record as a first order issuing record;
sequencing the first order issuing records according to a preset first sequencing strategy to obtain a first sequencing result;
and displaying the first sequencing result on the second user terminal.
In an exemplary embodiment, the method further comprises:
acquiring an order display request from a third user terminal, wherein the order display request comprises a third user identifier;
determining at least one second attribution identification according to at least one attribution identification corresponding to the third user identification, querying the order management database according to the at least one second attribution identification to obtain a corresponding order issuing record, and determining the queried order issuing record as a second order issuing record;
sequencing the second order issuing records according to a preset second sequencing strategy to obtain a second sequencing result;
and displaying the second sequencing result on the third user terminal.
In an exemplary embodiment, the sorting the first order issue record according to a preset first sorting policy to obtain a first sorting result includes:
performing primary sorting on the first order issuing record by taking the order source identification as a first sorting reference to obtain a primary sorting result;
extracting the non-null attribute of each order issuing record in the initial sequencing result to obtain the common non-null attribute of each order issuing record;
determining an attribute sequence according to the common non-empty attribute and a preset attribute sorting rule, wherein the attributes in the attribute sequence are sorted in a descending order according to sorting importance;
and sequentially adjusting the initial sequencing result based on each attribute in the attribute sequence to obtain the first sequencing result.
In an exemplary embodiment, the sorting the second order issuance record according to a preset second sorting policy to obtain a second sorting result includes:
ordering the order query records corresponding to the same second attribution identification in the second issuing record based on a first ordering strategy to obtain an ordering result corresponding to the second attribution identification;
and sorting the sorting results corresponding to the second attribution identifications by taking the second attribution identifications as second sorting reference to obtain second sorting results.
In an exemplary embodiment, the method further comprises:
acquiring an order association request of a third user terminal, wherein the order association request comprises an order source identifier and a first user identifier;
determining a target order issuing record corresponding to the order association request according to the order source identifier and the first user identifier;
and judging whether the order association request is matched with the target order release record, if so, generating an order association record, storing the order association record in the order management database, and updating the target release record in the order management database based on the order association record.
In an exemplary embodiment, the method further comprises:
and correspondingly updating a second sequencing result according to the updated target order issuing record, and triggering the third user terminal to redisplay the updated second sequencing result.
In an exemplary embodiment, the method further comprises:
extracting order association records in a preset time interval from the order management database for cleaning;
and updating an order issuing record corresponding to the order correlation record in the order management database according to the cleaning result.
In an exemplary embodiment, the extracting, in the order management database, the order association record within a preset time interval for cleaning includes:
accessing an order association record storage space to obtain all order association records in the preset time interval, wherein each order association record comprises a third user identifier, a second user identifier, an order association source, order association time and an order source identifier, and the second user identifier and the third user identifier have an association relationship;
determining an order correlation record to be cleaned in all the order correlation records, wherein the order correlation record to be cleaned is an order correlation record with the same third user identification;
and cleaning the order correlation record to be cleaned according to the order correlation source and the second user identification so as to keep a unique target order correlation record which accords with data consistency in the order correlation record to be cleaned.
According to a second aspect of the embodiments of the present disclosure, there is provided an order data display apparatus including:
the order information acquisition module is used for acquiring order information from a first user terminal, wherein the order information comprises an order record and distribution information of the order record, and the order record comprises a plurality of order attributes; the order attribute at least comprises a first user identifier and an order source identifier; the allocation information corresponds to the first subscriber identity;
an order issuing record generating module, configured to determine an attribution identifier of the order information according to distribution information in the order information, generate an order issuing record according to the attribution identifier of the order information and the order record in the order information, and store the order issuing record in an order management database;
the order query request acquisition module is used for acquiring an order query request from a second user terminal, wherein the order query request comprises a second user identifier;
an order issuing record obtaining module, configured to determine an attribution identifier corresponding to the second user identifier as a first attribution identifier, query a corresponding order issuing record in the order management database according to the first attribution identifier, and determine the queried order issuing record as a first order issuing record;
the ordering module is used for ordering the first order issuing records according to a preset first ordering strategy to obtain a first ordering result;
and the rendering module is used for displaying the first sequencing result on the second user terminal.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the order data display method according to any of the above embodiments.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to execute the order data display method according to any one of the above-mentioned embodiments.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the order data display method provided in any one of the above embodiments.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic flow diagram illustrating a method for displaying order data according to an exemplary embodiment;
fig. 2 is a flowchart illustrating a process of sorting first order issue records according to a preset first sorting policy to obtain a first sorting result according to an exemplary embodiment;
fig. 3 is a flowchart illustrating sorting the second order issuance record according to a preset second sorting policy to obtain a second sorting result according to an exemplary embodiment;
FIG. 4 is a flowchart illustrating a process for retrieving order associated records within a predetermined time interval from the order management database for cleaning, according to an exemplary embodiment;
FIG. 5 is a schematic diagram of an order data display device shown in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating an electronic device of an order data display in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating an order data display method according to an exemplary embodiment, including the steps of:
in step S10, obtaining order information from a first user terminal, where the order information includes an order record and allocation information of the order record, and the order record includes a plurality of order attributes; the order attribute at least comprises a first user identifier and an order source identifier; the allocation information corresponds to the first subscriber identity.
Taking the recruitment-type application as an example, the first user may be a laborer engaged with the recruiter, and each laborer may issue recruitment information to its associated linesman or may assign the recruitment information to a team of a particular linesman. If the recruitment information is assigned to a specific team by the service personnel, the allocation information is required to be obtained according to the related instructions of the service personnel, and the allocation information is used for allocating the recruitment information to the team assigned by the service personnel.
In the embodiment of the disclosure, the order information can be determined according to the communication result between the staff member and the recruiting party, and can also be generated according to the recruitment information directly issued by the recruiting party. The first user identifier in the order information may be an identifier of a labor worker, and the order source identifier may be an identifier of a recruiter.
In step S20, determining an attribution identifier of the order information according to the distribution information in the order information, generating an order distribution record according to the attribution identifier of the order information and the order record in the order information, and storing the order distribution record in an order management database.
Taking the recruitment application as an example, the attribution identifier represents a team to which the second user who can accept the order belongs, and the order issue record can be issued to the team to which the second user belongs. For example, the team a has three second users, which are a, b, c, a, b, and c, respectively, and may be the hunting agent affiliated to the team a, and if the order information is assigned to the team a, the order issuing records corresponding to the order information may be checked by the first user, the second user, and the c.
In step S30, an order query request from the second user terminal is obtained, where the order query request includes the second user identifier.
In step S40, determining the attribution identifier corresponding to the second user identifier as a first attribution identifier, querying a corresponding order distribution record in the order management database according to the first attribution identifier, and determining the queried order distribution record as a first order distribution record.
Taking the recruitment application as an example, for any one hunting broker, the hunting broker may correspond to a team whose id is the attribution id corresponding to the second user id of the hunting broker. The order issuance records assigned to the team on which the hunting broker is located are queried. The embodiment of the present disclosure is intended to show a circulation display scheme of order data in an event with participation of multiple roles, and is not limited to a recruitment application program.
In step S50, the first order issue records are sorted according to a preset first sorting policy, and a first sorting result is obtained.
In step S60, the first ranking result is displayed on the second user terminal.
As shown in fig. 2, a flowchart illustrating a process of sorting a first order issue record according to a preset first sorting policy to obtain a first sorting result is shown, where the process includes:
in step S51, the first order issue record is initially sorted by using the order source identifier as a first sorting reference, so as to obtain an initial sorting result.
For the first order issuing record, the order issuing records can be sorted, the order of the displayed order issuing records can accord with the psychological expectation and the browsing habit of the user through scientific and reasonable sorting, and the viscosity of the user is improved.
Firstly, the first order issuing records are sorted according to the order source identification to obtain a first sorting result. For example, order issuance records from enterprise a precede order issuance records from enterprise B.
In step S52, the non-empty attribute of each order issue record in the preliminary sorting result is extracted, so as to obtain a common non-empty attribute of each order issue record.
In step S53, an attribute sequence is determined according to the common non-null attribute and a preset attribute sorting rule, and the attributes in the attribute sequence are sorted in descending order according to the sorting importance.
In step S54, the preliminary ranking result is sequentially adjusted based on each attribute in the attribute sequence, so as to obtain the first ranking result.
For example, for the order issuing records with the same order source identifier in the first sorting result, the sequence of the order issuing records with the same order source identifier may be determined by referring to the value of the first attribute in the attribute sequence, so as to obtain the sorting result after the first adjustment. If order issue records with the same order source identification and the same first attribute value exist in the ordering result after the first adjustment, determining the sequence of the order issue records by referring to the second attribute value in the attribute sequence to obtain the ordering result after the second adjustment, and so on until the sequence of each order issue record is clearly distinguished to obtain the first ordering result.
Taking recruitment application software as an example, the recruitment information may include various information such as work price, construction period, labor accumulated traffic volume, recruitment volume and the like, the information is sorted according to importance to obtain an attribute sequence, and the preliminary sorting result is sequentially adjusted according to each attribute value in the attribute sequence, so that the obtained first sorting result not only reflects the approximate sequence of the preliminary sorting result, but also can be sequentially adjusted by referring to the attribute values in the attribute sequence to obtain the first sorting result with comprehensive sorting meeting the expectation of the user.
In an exemplary embodiment, the method further comprises:
in step S100, an order display request from a third user terminal is obtained, where the order display request includes a third user identifier.
Taking the recruitment application as an example, the third user may be a job seeker, and the third user may view the relevant order posting records and associate the orders by entry. The job seeker can correspond to a team to which at least one hunting broker belongs, can check order release records related to the team, and can register application for enterprises in the order release records through the hunting broker of the team so as to generate corresponding order association records, and the order association records correspondingly influence the content of the order release records.
Illustratively, the current balance in the order issuing record is 30, the representation enterprise can also accept 30 person entries, an order association record is successfully generated every time the enterprise is successfully registered, and the current balance in the order issuing record is correspondingly reduced by 1.
In step S200, at least one second attribution identifier is determined according to at least one attribution identifier corresponding to the third user identifier, the order management database is queried according to the at least one second attribution identifier, a corresponding order issuance record is obtained, and the queried order issuance record is determined as the second order issuance record.
In step S300, the second order issue records are sorted according to a preset second sorting policy, so as to obtain a second sorting result.
In step S400, the second sorting result is displayed on the third user terminal.
As shown in fig. 3, the flowchart for sorting the second order issue record according to a preset second sorting policy to obtain a second sorting result includes:
in step S300-1, the order query records corresponding to the same second attribution identifier in the second release record are sorted based on a first sorting policy, so as to obtain a sorting result corresponding to the second attribution identifier.
In the embodiment of the present disclosure, the foregoing may be referred to for sorting in this step, and details are not repeated herein.
In step S300-2, the second attribution identifiers are used as a second sorting criterion, and sorting results corresponding to the second attribution identifiers is performed to obtain the second sorting result.
In the embodiment of the present disclosure, a third user may have information interaction with at least one team, and each team has an order issuance record corresponding thereto, so that the third user may query the order issuance records corresponding to each team related thereto, and the order issuance records of each team may be sorted with reference to the foregoing, and in step S300-2, the order issuance record sorting results of each team are further sorted according to a team (second affiliation identifier), so as to obtain a second sorting result, and the order issuance records in the second sorting result are obtained by comprehensively considering the order source identifier, the order-related attribute sequence, and the second affiliation identifier, so as to achieve the purpose of comprehensive sorting, and facilitate the user to quickly lock an interested order issuance record.
For the third user, the second sorting result is rendered to facilitate the user to view the order issue record, so as to support the user to perform order association according to the viewed order record, and accordingly, the method further includes:
in step S301, an order association request of a third user terminal is obtained, where the order association request includes an order source identifier and a second user identifier.
Taking the recruitment-type application as an example, the third user identifier represents a third user that made an entry to the enterprise, and the second user identifier represents a hunting broker that prompted the third user to make an entry to the enterprise.
In step S302, a target order issue record corresponding to the order association request is determined according to the order source identifier and the second user identifier.
In step S303, it is determined whether the order association request is adapted to the target order distribution record, if so, an order association record is generated, the order association record is stored in the order management database, and the target distribution record in the order management database is updated based on the order association record.
For example, taking the recruitment application software as an example, if the order association record is successfully generated, it indicates that the job seeker successfully registers the enterprise in the corresponding target order release record, and accordingly, the available quota of the enterprise is correspondingly reduced, so that the target order release record needs to be correspondingly modified. In the embodiment of the present disclosure, a balance attribute exists in the order issuing record, and specifically, a value of the balance attribute may be modified. In an exemplary embodiment, since the target order issuing record changes and, correspondingly, the second sorting result may also change, the third user terminal may be triggered to redisplay the updated second sorting result according to the updated target order issuing record and, correspondingly, the updated second sorting result.
In the generation process of the order association record, the situation of inconsistency with the actual situation may occur, and the inconsistency of the data may cause the original balance in the order release record to be inaccurate. Thus, in a preferred embodiment, the method further comprises: extracting order association records in a preset time interval from the order management database for cleaning; and updating an order issuing record corresponding to the order correlation record in the order management database according to the cleaning result.
As shown in fig. 4, it shows a flowchart of extracting order associated records in a preset time interval from the order management database for cleaning, including:
in step S401, accessing an order association record storage space to obtain all order association records in the preset time interval, where each order association record includes a third user identifier, a second user identifier, an order association source, an order association time, and an order source identifier, and the second user identifier and the third user identifier have an association relationship.
In step S402, an order association record to be cleaned is determined from all the order association records, and the order association record to be cleaned is an order association record with the same third user identifier.
In the embodiment of the present disclosure, each third user generates at most one order association event within a preset time interval, that is, the third user identifier uniquely corresponds to one order association record, and if there are multiple order association records including the third user identifier, this kind of record is referred to as an order association record to be cleaned in the present disclosure, and by processing the order association record to be cleaned, an only one target order association record is selected from the order association records to be cleaned, and a non-target order association record in the order association records to be cleaned is cleaned.
In step S403, the order association record to be cleaned is cleaned according to the order association source and the second user identifier, so as to keep a target order association record that uniquely meets data consistency in the order association record to be cleaned.
In one exemplary embodiment, the specific cleaning step comprises:
in step S310, an order correlation source of each order correlation record in the to-be-cleaned order correlation records is obtained.
In step S320, if the value of the order correlation source of each order correlation record in the order correlation records to be cleaned is not unique, a target source with the highest reliability is determined in the order correlation records covering the order correlation sources, and the order correlation records with the value of the order correlation source not equal to the target source are deleted from the order correlation records to be cleaned.
Illustratively, taking the recruitment application software as an example, the order association record can be generated in a mode of entering through an entry device, and then the order association source is the entry device; the order association record can also be generated in a manner of entry by a hunting executor, and the order association source is the hunting executor; the entry result of the entry equipment can be considered to be the most reliable, and in a hunting head entry scene, because a hunting head executor has a profit relationship with the order association record and possibly generates cheating behaviors, the reliability degree of the order association record entered by the hunting head executor is the lowest. Therefore, if a plurality of order association records in the order association records to be cleaned are not only from one path, the order association records obtained from the path with the highest reliability degree are reserved, and other order association records are deleted.
After the order association record with the value of the order association source not equal to that of the target source is deleted, if only one record remains in the order association record to be cleaned, the order association record to be cleaned is determined as the target order association record, and if more than one order association record remains in the order association record to be cleaned, the target order association record can be further selected through the subsequent steps, that is, the step S330 is performed.
In step S330, if the value of the order correlation source of each order correlation record in the order correlation records to be cleaned is unique, a second user identifier of each order correlation record is obtained.
Of course, if the value of the order correlation source of each order correlation record in the order correlation records to be cleaned is unique, and only one order correlation record exists in the order correlation records to be cleaned, determining the only stored one order correlation record as a target order correlation record, and if the only stored one order correlation record lacks a second user identifier, supplementing the target order correlation record, which is not described herein below.
In the embodiment of the present disclosure, the third user identifier and the second user identifier are most important for determining the target order association record, and therefore, on the basis of performing data screening based on the data source reliability, if the to-be-cleaned order association record includes multiple order association records, the embodiment of the present disclosure further realizes further selection of the to-be-cleaned order association record according to an acquisition result of the second user identifier.
In an exemplary embodiment, screening the order association record according to the acquisition result of the second user identifier may include:
in step S3310, if the second user identifier is obtained as null, determining the second user identifier for the order association record whose order association time is the latest, and determining the order association record supplemented with the second user identifier as the target order association record.
For example, if two order association records exist in the order association record to be cleaned, both of which are from the entry device and both of which lack the second user identifier, the target order association record may be obtained by supplementing the second user identifier to the recently generated order association record according to other related data. The second user identification is supplemented, for example, by means of relevant data or by means of human intervention.
In step S3320, if the second user identifier has a unique acquisition result, an order association record set is obtained according to each order association record in the order association records to be cleaned.
Of course, if only one order association record exists in the order association record set, the target order association record is directly determined, and the processing manner refers to the above, which is not described herein again. If a plurality of order association records exist, executing the following steps, including:
in step S33210, an order source identifier of each order association record in the order association record set is obtained.
In one possible embodiment, the order source identification may characterize the business that provided the order.
In step S33220, if the order source identifier of each order associated record in the order associated record set is unique, the order associated record with the earliest order associated time in the order associated records is determined as the target order associated record.
In step S33230, if the order source identifier of each order association record in the order association record set is not unique, the order association record with the latest order association time in the order association record set is determined as the target order association record.
In step S3330, if the second user identifier is not unique, the order source identifier of each order association record in the order association records to be cleaned is obtained.
In an exemplary embodiment, if the order source identifier of each of the order association records to be cleaned is unique, the order association record with the latest order association time in the order association records to be cleaned is determined as the target order association record.
For example, if there are 300 order association records, the balance of the corresponding order release record is correspondingly reduced by 300, however, there may be various situations such as inconsistency with the fact or cheating in the 300 order association records, and only 270 order association records are valid after the cleaning, and accordingly, the balance in the order release record may be corrected, and then 30 denominations are added correspondingly.
The embodiment of the disclosure shows an order data display method, which correspondingly displays different order related information for a plurality of users participating in order generation, order conversion and order association so as to promote normal circulation among data, and ensures the correctness of displayed order data by maintaining the consistency among related data generated by order related actions.
Fig. 5 is a block diagram illustrating an order data display apparatus according to an example embodiment. Referring to fig. 5, the apparatus includes:
the order information acquiring module 10 is configured to acquire order information from a first user terminal, where the order information includes an order record and allocation information of the order record, and the order record includes a plurality of order attributes; the order attribute at least comprises a first user identifier and an order source identifier; the allocation information corresponds to the first subscriber identity.
The order issuing record generating module 20 is configured to determine an attribution identifier of the order information according to the distribution information in the order information, generate an order issuing record according to the attribution identifier of the order information and the order record in the order information, and store the order issuing record in an order management database.
The order query request obtaining module 30 is configured to obtain an order query request from a second user terminal, where the order query request includes a second user identifier.
An order distribution record obtaining module 40, configured to determine an attribution identifier corresponding to the second user identifier as a first attribution identifier, query a corresponding order distribution record in the order management database according to the first attribution identifier, and determine the queried order distribution record as a first order distribution record.
The sorting module 50 is configured to sort the first order issue records according to a preset first sorting policy, so as to obtain a first sorting result.
A rendering module 60, configured to display the first sorting result on the second user terminal.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In an exemplary embodiment, there is also provided an electronic device, comprising a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of the order data display method provided in any of the above embodiments when executing the instructions stored in the memory.
The electronic device may be a terminal, a server, or a similar computing device, taking the electronic device as a server as an example, fig. 6 is a block diagram of an electronic device for executing an order data display method according to an exemplary embodiment, where the electronic device 1000 may generate a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 1010 (the processor 1010 may include but is not limited to a Processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1030 for storing data, and one or more storage media 1020 (e.g., one or more mass storage devices) for storing an application 1023 or data 1022. Memory 1030 and storage media 1020 may be, among other things, transient or persistent storage. The program stored in the storage medium 1020 may include one or more modules, each of which may include a sequence of instructions operating on an electronic device. Still further, the central processor 1010 may be configured to communicate with the storage medium 1020 to execute a series of instruction operations in the storage medium 1020 on the electronic device 1000. The electronic device 1000 may also include one or more power supplies 1060, one or more wired or wireless network interfaces 1050, one or more input-output interfaces 1040, and/or one or more operating systems 1021, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
Input-output interface 1040 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the electronic device 1000. In one example, i/o Interface 1040 includes a Network adapter (NIC) that may be coupled to other Network devices via a base station to communicate with the internet. In an exemplary embodiment, the input/output interface 100 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 6 is merely illustrative and is not intended to limit the structure of the electronic device. For example, the electronic device 1000 may also include more or fewer components than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
In an exemplary embodiment, there is also provided a computer readable storage medium, wherein instructions of the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the steps of any of the video order data display methods of the above embodiments.
In an exemplary embodiment, a computer program product is also provided that includes computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the order data display method provided in any one of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An order data display method, comprising:
acquiring order information from a first user terminal, wherein the order information comprises an order record and distribution information of the order record, and the order record comprises a plurality of order attributes; the order attribute at least comprises a first user identifier and an order source identifier; the allocation information corresponds to the first subscriber identity;
determining an attribution identifier of the order information according to the distribution information in the order information, generating an order issuing record according to the attribution identifier of the order information and the order record in the order information, and storing the order issuing record in an order management database;
acquiring an order query request from a second user terminal, wherein the order query request comprises a second user identifier;
determining an attribution identification corresponding to the second user identification as a first attribution identification, inquiring a corresponding order issuing record in the order management database according to the first attribution identification, and determining the inquired order issuing record as a first order issuing record;
sequencing the first order issuing records according to a preset first sequencing strategy to obtain a first sequencing result;
displaying the first ranking result at the second user terminal;
acquiring an order display request from a third user terminal, wherein the order display request comprises a third user identifier;
determining at least one second attribution identification according to at least one attribution identification corresponding to the third user identification, querying the order management database according to the at least one second attribution identification to obtain a corresponding order issuing record, and determining the queried order issuing record as a second order issuing record;
sequencing the second order issuing records according to a preset second sequencing strategy to obtain a second sequencing result;
and displaying the second sequencing result on the third user terminal.
2. The method according to claim 1, wherein the sorting the first order issuance record according to the preset first sorting policy to obtain a first sorting result comprises:
performing primary sorting on the first order issuing record by taking the order source identification as a first sorting reference to obtain a primary sorting result;
extracting the non-null attribute of each order issuing record in the initial sequencing result to obtain the common non-null attribute of each order issuing record;
determining an attribute sequence according to the common non-empty attribute and a preset attribute sorting rule, wherein the attributes in the attribute sequence are sorted in a descending order according to sorting importance;
and sequentially adjusting the initial sequencing result based on each attribute in the attribute sequence to obtain the first sequencing result.
3. The method according to claim 2, wherein the sorting the second order issuance record according to a preset second sorting policy to obtain a second sorting result comprises:
ordering the order query records corresponding to the same second attribution identification in the second order issuing records based on a second ordering strategy to obtain an ordering result corresponding to the second attribution identification;
and sequencing the sequencing results corresponding to the second attribution identifications by taking the second attribution identifications as second sequencing standards to obtain second sequencing results.
4. The method according to any one of claims 1-3, further comprising:
acquiring an order association request of a third user terminal, wherein the order association request comprises an order source identifier and a second user identifier;
determining a target order issuing record corresponding to the order association request according to the order source identifier and the second user identifier;
and judging whether the order correlation request is matched with the target order issuing record, if so, generating an order correlation record, storing the order correlation record in an order management database, and updating the target order issuing record in the order management database based on the order correlation record.
5. The method of claim 4, further comprising:
and correspondingly updating a second sequencing result according to the updated target order issuing record, and triggering the third user terminal to redisplay the updated second sequencing result.
6. The method of claim 5, further comprising:
extracting order association records in a preset time interval from the order management database for cleaning;
and updating an order issuing record corresponding to the order association record in the order management database according to the cleaning result.
7. The method according to claim 6, wherein the extracting the order association record in the order management database within the preset time interval for cleaning comprises:
accessing an order association record storage space to obtain all order association records in the preset time interval, wherein each order association record comprises a third user identifier, a second user identifier, an order association source, order association time and an order source identifier, and the second user identifier and the third user identifier have an association relation;
determining order association records to be cleaned in all the order association records, wherein the corresponding third user identifications in all the order association records to be cleaned are the same;
and cleaning the order correlation record to be cleaned according to the order correlation source and the second user identification so as to keep a unique target order correlation record which accords with data consistency in the order correlation record to be cleaned.
8. An order data display device, comprising:
the order information acquisition module is used for acquiring order information from a first user terminal, wherein the order information comprises an order record and distribution information of the order record, and the order record comprises a plurality of order attributes; the order attribute at least comprises a first user identifier and an order source identifier; the allocation information corresponds to the first subscriber identity;
an order issuing record generating module, configured to determine an attribution identifier of the order information according to distribution information in the order information, generate an order issuing record according to the attribution identifier of the order information and the order record in the order information, and store the order issuing record in an order management database;
the order query request acquisition module is used for acquiring an order query request from a second user terminal, wherein the order query request comprises a second user identifier;
an order issuing record obtaining module, configured to determine an attribution identifier corresponding to the second user identifier as a first attribution identifier, query a corresponding order issuing record in the order management database according to the first attribution identifier, and determine the queried order issuing record as a first order issuing record;
the ordering module is used for ordering the first order issuing records according to a preset first ordering strategy to obtain a first ordering result;
a rendering module for displaying the first ranking result at the second user terminal;
the apparatus is further configured to perform the following:
acquiring an order display request from a third user terminal, wherein the order display request comprises a third user identifier;
determining at least one second attribution identification according to at least one attribution identification corresponding to the third user identification, querying the order management database according to the at least one second attribution identification to obtain a corresponding order issuing record, and determining the queried order issuing record as a second order issuing record;
sequencing the second order issuing records according to a preset second sequencing strategy to obtain a second sequencing result;
and displaying the second sequencing result on the third user terminal.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the order data display method of any one of claims 1 to 7.
10. A computer readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the order data display method of any one of claims 1 to 7.
CN202110158094.5A 2021-02-04 2021-02-04 Order data display method and device, storage medium and electronic equipment Active CN112819582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110158094.5A CN112819582B (en) 2021-02-04 2021-02-04 Order data display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110158094.5A CN112819582B (en) 2021-02-04 2021-02-04 Order data display method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112819582A CN112819582A (en) 2021-05-18
CN112819582B true CN112819582B (en) 2022-09-09

Family

ID=75861571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110158094.5A Active CN112819582B (en) 2021-02-04 2021-02-04 Order data display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112819582B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326453A (en) * 2021-06-22 2021-08-31 平安壹钱包电子商务有限公司 Electronic order display method and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503512A (en) * 2019-07-19 2019-11-26 北京三快在线科技有限公司 Order processing method, device, electronic device and storage medium
CN110599150A (en) * 2019-09-11 2019-12-20 腾讯科技(深圳)有限公司 Order display method, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060116983A1 (en) * 2004-11-30 2006-06-01 International Business Machines Corporation System and method for ordering query results

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110503512A (en) * 2019-07-19 2019-11-26 北京三快在线科技有限公司 Order processing method, device, electronic device and storage medium
CN110599150A (en) * 2019-09-11 2019-12-20 腾讯科技(深圳)有限公司 Order display method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112819582A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
US20110099038A1 (en) Reservation system
GB2323456A (en) Software development and software design evaluation
CN107679740A (en) Business personnel's screening and activating method, electronic installation and computer-readable recording medium
CN111178069A (en) Data processing method and device, computer equipment and storage medium
CN110162386B (en) Task issuing method and device
CN106878043B (en) Service processing method and device
CN109740129B (en) Report generation method, device and equipment based on blockchain and readable storage medium
CN111444287A (en) Graph database construction method, associated information query method, device and computing equipment
CN110097200A (en) Meeting room preordering method, device, equipment and storage medium
CN112348435B (en) Task pushing method, device, computer equipment and computer readable storage medium
CN109919449B (en) Asset inventory method and computer-readable storage medium
CN112819582B (en) Order data display method and device, storage medium and electronic equipment
CN111401023A (en) Report generation method and device, server and storage medium
CN114428913B (en) Data management method, device, equipment and storage medium
CN112116483B (en) Policy data processing method, query method, storage medium and electronic device
JP2010244151A (en) Productivity management method and productivity management device
CN115829070A (en) Library space reservation management method, system and storage medium
JP2024047862A (en) Information processing method, program, and information processing device
US20230049322A1 (en) Information processing method, device, system, and computer-readable storage medium
EP3349155A1 (en) Event information management system and event information management program
CN114816300A (en) Real estate case reception method based on double-sided screen, double-sided screen terminal and equipment
CN114036132A (en) Object information processing method, device, storage medium and electronic device
JP2018124750A (en) Event management apparatus, event management program, and event management method
CN119671219B (en) Task list processing method and system
JP2003196474A (en) Credit management system, credit management method and program

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