CN114860738A - Data processing system for determining order number environment category - Google Patents

Data processing system for determining order number environment category Download PDF

Info

Publication number
CN114860738A
CN114860738A CN202210781630.1A CN202210781630A CN114860738A CN 114860738 A CN114860738 A CN 114860738A CN 202210781630 A CN202210781630 A CN 202210781630A CN 114860738 A CN114860738 A CN 114860738A
Authority
CN
China
Prior art keywords
data
identifier
environment
server
processed
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.)
Granted
Application number
CN202210781630.1A
Other languages
Chinese (zh)
Other versions
CN114860738B (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.)
China Travelsky Mobile Technology Co Ltd
Original Assignee
China Travelsky Mobile 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 China Travelsky Mobile Technology Co Ltd filed Critical China Travelsky Mobile Technology Co Ltd
Priority to CN202210781630.1A priority Critical patent/CN114860738B/en
Publication of CN114860738A publication Critical patent/CN114860738A/en
Application granted granted Critical
Publication of CN114860738B publication Critical patent/CN114860738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/24Querying
    • G06F16/245Query processing
    • G06F16/24569Query processing with adaptation to specific hardware, e.g. adapted for using GPUs or SSDs
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Computational Linguistics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data processing system for determining the environment category of an order number, which comprises: the system comprises a plurality of generation servers, wherein each generation server is provided with a corresponding running environment, and any generation server can execute the following processing method: acquiring a server identifier and a first environment identifier corresponding to a current generation server; receiving a generation request; obtaining corresponding data to be processed and a time identifier according to the generation request; the time identification is used for representing the time of receiving the generation request; according to a preset data splicing rule, splicing the server identifier, the first environment identifier and the time identifier to obtain characteristic data corresponding to the data to be processed; and establishing an incidence relation between the characteristic data and the data to be processed, and storing the characteristic data and the data to be processed to a database corresponding to the current generation server. By adopting the invention, the computing resources can be saved when the data to be processed in the database is processed, and the efficiency of processing the data to be processed can be improved.

Description

Data processing system for determining order number environment category
Technical Field
The invention relates to the field of data processing, in particular to a data processing system for determining the environment category of an order number.
Background
The existing transaction business system generally comprises a generation module and a processing module, wherein in the transaction business system, the generation module can generate a plurality of data to be processed in different operating environments according to transaction behaviors of users, and stores the data to be processed into a database, and the data to be processed can be set as order data; when the processing module obtains the data to be processed from the database and processes the data, the processing module deploys an operating environment, and the processing module can only process the data to be processed corresponding to the current operating environment.
However, the database stores the to-be-processed data corresponding to a plurality of operating environments, the processing module obtains all the to-be-processed data from the database and processes each to-be-processed data, wherein part of the to-be-processed data is subjected to invalid processing due to the fact that the corresponding operating environment is not matched with the current operating environment, namely, the probability of the processing module performing effective processing on the to-be-processed data is low, computing resources are wasted, and the efficiency of processing the to-be-processed data is low.
Disclosure of Invention
Aiming at the technical problems, the technical scheme adopted by the invention is as follows:
the invention provides a data processing system for determining order number environment types, which comprises a plurality of generation servers, wherein each generation server is provided with a corresponding operating environment;
any generation server can execute the following processing method:
acquiring a server identifier and a first environment identifier corresponding to a current generation server; the first environment identification is used for representing the current running environment of the corresponding generation server;
receiving a generation request;
obtaining corresponding data to be processed and a time identifier according to the generation request; the time identification is used for representing the time of receiving the generation request;
according to a preset data splicing rule, splicing the server identifier, the first environment identifier and the time identifier to obtain characteristic data corresponding to the data to be processed; the characteristic data is used for uniquely identifying the data to be processed;
and establishing an incidence relation between the characteristic data and the data to be processed, and storing the characteristic data and the data to be processed to a database corresponding to the current generation server.
The invention has at least the following beneficial effects:
the data to be processed and the characteristic data corresponding to various operating environments can be stored in the database, the data to be processed corresponding to each operating environment can be distinguished according to the first environment identification in the characteristic data in the database, and then when the data to be processed in the database is processed in any operating environment, the data to be processed corresponding to the current operating environment can be effectively processed, the data to be processed corresponding to the operating environment different from the current operating environment does not need to be processed, computing resources can be saved, and the efficiency of processing the data to be processed can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of data processing according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a data processing system for determining the order number environment category, which comprises a plurality of generating servers, wherein each generating server is provided with a corresponding operating environment.
The processing method performed by any of the production servers will be described below with reference to the flowchart of data processing shown in fig. 1.
The processing method comprises the following steps:
step S100, a server identifier and a first environment identifier corresponding to a current generation server are obtained.
The first environment identification is used for representing the current running environment of the corresponding generation server.
In a possible implementation manner, a complete IP address of the current generation server may be obtained as a corresponding server identifier, and a corresponding first environment identifier may be obtained according to a variable parameter of an operating environment configured by the current generation server. For example, if an environment variable apollo.cluster = default of a configuration center of the current generation server, where the default is a variable parameter of the environment variable apollo.cluster, when the default is obtained, 0 is used as a first environment identifier corresponding to the current generation server; if the environment variable apollo.cluster of the configuration center of the current generation server = gray, the gray is a variable parameter of the environment variable apollo.cluster, and when the gray is obtained, 1 is used as a first environment identifier corresponding to the current generation server; if the variable parameters corresponding to any two generation servers are different, the first environment identifications corresponding to the two generation servers are also different, and if the variable parameters corresponding to any two generation servers are the same, the first environment identifications corresponding to the two generation servers are also the same.
Step S200, a generation request is received.
In one possible implementation, the current generation server may receive the generation request after the user places an order.
And step S300, obtaining corresponding to-be-processed data and time identification according to the generation request.
Wherein the time identification is used for indicating the time of receiving the generation request.
In a possible implementation manner, the current generation server may generate corresponding to-be-processed data and a time identifier according to the received generation request. For example, the generation request is a generation request corresponding to an air ticket order, and the corresponding data to be processed may include data of a fare, a flight departure place, a flight arrival place, and the like of the air ticket order; the time stamp may be set as a numeric string indicating the time of receiving the generation request, for example, if the current generation server receives a certain generation request at the time of 2000, 01, 13, 20 minutes, 19 seconds and 20 milliseconds, the time stamp corresponding to the generation request is 2000010113201920.
And S400, splicing the server identifier, the first environment identifier and the time identifier according to a preset data splicing rule to obtain characteristic data corresponding to the data to be processed.
The characteristic data is used for uniquely identifying the data to be processed, the data splicing rule can be set to be spliced according to the sequence of the time identification, the server identification and the first environment identification, and the specific data splicing rule is not limited in the embodiment of the invention. The characteristic data may be set to an order number.
In a possible implementation manner, after the current generation server obtains the to-be-processed data, the server identifier, the first environment identifier and the time identifier corresponding to the generation request, the time identifier, the server identifier and the first environment identifier may be sequentially spliced to obtain the feature data corresponding to the to-be-processed data.
And S500, establishing an incidence relation between the characteristic data and the data to be processed, and storing the characteristic data and the data to be processed into a database corresponding to the current generation server.
In a possible implementation manner, after the current generation server obtains the data to be processed and the corresponding feature data according to the generation request, the association relationship between the data to be processed and the feature data may be established, and the data to be processed and the feature data with the association relationship may be stored in the database connected to the current generation server.
Therefore, the data to be processed and the characteristic data corresponding to various operating environments can be stored in the database, the data to be processed corresponding to each operating environment can be distinguished according to the first environment identification in the characteristic data in the database, and when the data to be processed in the database is processed in any operating environment, the data to be processed corresponding to the current operating environment can be effectively processed, the data to be processed corresponding to the operating environment different from the current operating environment does not need to be processed, computing resources can be saved, and the efficiency of processing the data to be processed can be improved.
Optionally, each generation server is provided with a counter, and each counter is used for circularly counting the generation requests received by the corresponding generation server; each counter is provided with a zero clearing trigger value, and when the counting data of the counters are equal to the zero clearing trigger value, the counters automatically carry out counting reset. Based on this, after the step S200, the processing method may further include:
and acquiring current counting data of a counter corresponding to the current generation server.
In one possible embodiment, the current count data may be obtained after the current generation server receives the generation request. If the count data of the counter corresponding to the current generation server is smaller than the zero clearing trigger value, after the current generation server receives a generation request, the count data of the corresponding counter is added with 1, and the count data added with 1 is used as the current count data; the specific zero-clearing trigger value may be preset.
Based on the current count data, the step S500 may further include:
and splicing the server identifier, the first environment identifier, the time identifier and the current counting data according to the data splicing rule to obtain the characteristic data.
The data splicing rule can be set to splice according to the sequence of the time identifier, the current counting data, the server identifier and the first environment identifier, and the embodiment of the invention does not limit the specific data splicing rule.
In a possible implementation manner, after the current generation server obtains the to-be-processed data, the server identifier, the first environment identifier, the time identifier, and the current count data corresponding to the generation request, the time identifier, the current count data, the server identifier, and the first environment identifier may be sequentially spliced to obtain the feature data corresponding to the to-be-processed data.
Therefore, when the current server receives a plurality of generation requests at the same time, each generation request can be distinguished through the counting data in the feature data, and the possibility that the feature data corresponding to different generation requests are the same can be reduced.
Optionally, the clear trigger value is determined according to the accuracy of the time represented by the server identifier and the time identifier of the generation server corresponding to the counter.
In a possible embodiment, when the clear trigger value of the counter corresponding to any generation server is set, the condition of the history reception generation request of the generation server may be acquired according to the server identifier corresponding to the counter, and the clear trigger value may be determined based on the accuracy of the time indicated by the time identifier and the condition of the history reception generation request. For example, the accuracy of the time indicated by the time stamp is millisecond, and according to the situation that the generation server has historically received the generation request, the number range value of the generation server receiving the generation request every millisecond can be estimated, and any value larger than the maximum value in the number range value can be taken as the zero clearing trigger value.
Therefore, by determining the clear trigger value according to the accuracy of the time indicated by the time stamp and the history of the reception of the generation request by any one of the generation servers, the possibility that the clear trigger value is set too small can be reduced, the possibility that the count data is the same when the time stamps in any two different feature data are the same can be reduced, and the possibility that the feature data corresponding to different generation requests are the same can be further reduced.
Optionally, for any counter, the method for determining the clear trigger value includes:
acquiring the server identifier of the generating server corresponding to the counter and the precision of the time represented by the time identifier;
determining a historical target time period; the historical target time period comprises a plurality of sub time periods;
acquiring the quantity of historical generation requests received by a generation server corresponding to the server identification in each sub-time period in the historical target time period; the length of each sub-time period is the minimum time length corresponding to the precision;
comparing the number to determine a maximum number;
determining a maximum number of eigenvalues; the characteristic value is the maximum number of digit numbers;
and taking the maximum integer with the digital digit as the characteristic value as a zero clearing trigger value.
In a possible implementation manner, the generating server corresponding to the counter may obtain the accuracy of the time represented by the corresponding server identifier and time identifier, the accuracy of the time represented by the time identifier is preset, the historical target time period is set as any time period of the history, preferably, the historical target time period is a peak period when the user places an order, the historical target time period comprises a plurality of sub-time periods, the generation server corresponding to the counter acquires the number of history generation requests received by the generation server corresponding to the server identification in each sub-time period in the history target time period, and comparing the number of the history generation requests corresponding to the plurality of sub-time periods to determine the maximum number of the history generation requests corresponding to the plurality of sub-time periods, and determining the characteristic value of the maximum number, and taking the maximum integer with the digital digit as the characteristic value as a zero clearing trigger value.
For example, if the precision of the time indicated by the time identifier is set to be milliseconds, the generation server corresponding to the counter obtains the number of the history generation requests received by the generation server corresponding to the server identifier in each millisecond in the history target time period, compares the number of the history generation requests corresponding to each millisecond in the history target time period, and determines the maximum number of the history generation requests corresponding to a plurality of sub-time periods, which is described by taking the maximum number as 3000 as an example, the characteristic value of the maximum number is 4, and correspondingly, the clear trigger value of the counter is 9999.
Optionally, each generation server has a corresponding primary class identifier, and each primary class identifier is used to represent primary class information of the to-be-processed data obtained by the corresponding generation server. Based on this, the processing method may further include:
and acquiring a primary class identifier corresponding to the current generation server.
The first class information may be set as the first class service information, and the first class identifier may be set as the first class service code. For example, the first-level service information corresponding to the current generation server is set as insurance service information, the insurance service code is set as 120, then the to-be-processed data obtained by the generation server are all insurance order data, and the first-level category identifier corresponding to the generation server is 120.
Based on the primary category identifier, the step S500 may further include:
and splicing the server identifier, the first environment identifier, the time identifier, the current counting data and the first-level category identifier corresponding to the current generation server according to the data splicing rule to obtain the characteristic data.
The data splicing rule can be set to splice according to the sequence of the primary category identifier, the time identifier, the current counting data, the server identifier and the first environment identifier.
In a possible implementation manner, after the current generation server obtains the to-be-processed data, the server identifier, the first environment identifier, the time identifier, the current count data, and the first class identifier corresponding to the generation request, the first class identifier, the time identifier, the current count data, the server identifier, and the first environment identifier may be sequentially spliced to obtain the feature data corresponding to the to-be-processed data.
Optionally, the obtaining of the first-level category identifier corresponding to the current generation server may specifically include the following processing:
after the step S100, a primary category identifier corresponding to the server identifier is determined according to a preset first configuration file.
The first configuration file is used for storing the corresponding relation between the server identification of each generation server and the corresponding first-level category identification.
In a possible implementation manner, the corresponding primary class identifier may be directly determined from the first configuration file according to the server identifier corresponding to the current generation server, the process of determining the primary class identifier is simple, and the efficiency of obtaining the primary class identifier is improved.
Optionally, the data to be processed includes a secondary category identifier; based on this, the obtaining of the primary class identifier corresponding to the current generation server may specifically include the following processing:
after the step S300, acquiring a secondary category identifier of the data to be processed;
determining a primary class identifier corresponding to the secondary class identifier according to a preset second configuration file; the second configuration file is used for storing a plurality of identification relation groups, each identification relation group comprises a corresponding primary class identification and a plurality of corresponding secondary class identifications, and each secondary class identification uniquely corresponds to one primary class identification.
The second class identifier may be set as a second class service code, each first class service corresponds to a plurality of second class services, and each second class service corresponds to one first class service. For example, the first-level service is set as an insurance service, the corresponding second-level services are respectively set as a standby insurance service and a delay insurance service, the second-level service information of the data to be processed is set as standby insurance service information, the standby insurance service code is set as 2000, the data to be processed is standby insurance order data, and the second-level category identifier corresponding to the data to be processed is 2000.
In a possible implementation manner, after the current generation server obtains the to-be-processed data corresponding to the generation request, the secondary class identifier may be obtained from the to-be-processed data, and then the primary class identifier corresponding to the secondary class identifier is determined according to a preset second configuration file.
Therefore, in the process of using the data processing system, each generation server can automatically adjust the primary class identifier corresponding to the generation server according to the actually obtained secondary class identifier in the data to be processed, and the maintenance of the data processing system can be facilitated.
Optionally, the operating environment of each generation server is any one of the following: a first operating environment, a second operating environment, a third operating environment, and a fourth operating environment;
the system further comprises: a first database and a second database;
the generation servers of which the corresponding operating environments are the first operating environment or the second operating environment are connected with the first database; the generation servers of which the corresponding operating environments are the third operating environment or the fourth operating environment are connected with the second database;
the first database and the second database are respectively used for storing the data to be processed and the characteristic data generated by the corresponding generating server.
The first operating environment may be set as a grayscale environment, the second operating environment may be set as a production environment, the third operating environment may be set as a development environment, and the fourth operating environment may be set as a test environment.
Based on this, the first environment identifier corresponding to the current generation server is obtained according to a gray scale environment, a production environment, a development environment or a test environment. The gray level environment and the production environment corresponding to the first database are used for illustration: if the running environment corresponding to the current generation server is a gray level environment, acquiring a gray level by using an environment variable apollo.cluster = gray level of a configuration center of the current generation server, and taking 1 as a first environment identifier corresponding to the current generation server; if the operating environment corresponding to the current generation server is a production environment, then the environment variable apollo cluster = default of the configuration center of the current generation server, that is, default can be obtained, and 0 is used as the first environment identifier corresponding to the current generation server.
Therefore, the data to be processed and the characteristic data generated by the generating server corresponding to the first operating environment or the second operating environment are both stored in the first database, storing the data to be processed and the characteristic data generated by the generating server corresponding to the third operating environment or the fourth operating environment in a second database, that is to say, the data to be processed and the characteristic data corresponding to different operating environments can be stored in different databases, when the data to be processed in the database is processed in any operation environment, the data to be processed in the database corresponding to the operation environment can be processed in the operation environment without processing the data to be processed in the database different from the database corresponding to the operation environment, the computing resources can be further saved, and the efficiency of processing the data to be processed can be further improved.
Optionally, the system further includes a plurality of processing servers, each processing server having a corresponding operating environment. Based on this, any processing server can execute the following method:
step S600, acquiring a second environment identifier corresponding to the current processing server; the second environment identification is used for representing the current running environment of the corresponding processing server;
step S700, determining a target database from the first database and the second database according to the second environment identifier;
step S800, acquiring a plurality of data to be processed and characteristic data corresponding to each data to be processed from a target database;
step S900, according to the plurality of characteristic data, at least part of the data to be processed in the plurality of data to be processed is used as target data; and the first environment identifier corresponding to each target datum is the same as the second environment identifier.
In a possible implementation manner, when data to be processed in the first database and the second database needs to be processed, first, the corresponding second environment identifier may be obtained according to the variable parameter of the operating environment configured by the current processing server. For example, the environment variable apollo = default of the configuration center of the current processing server, and default is a variable parameter of the environment variable apollo cluster, when default is obtained, 0 is used as the second environment identifier corresponding to the current processing server, if the variable parameters corresponding to any two processing servers are different, the second environment identifiers corresponding to the two processing servers are also different, and if the variable parameters corresponding to any two processing servers are the same, the second environment identifiers corresponding to the two processing servers are also the same.
And then acquiring environment identifications of a first operation environment and a second operation environment corresponding to the first database, acquiring environment identifications of a third operation environment and a fourth operation environment corresponding to the second database, comparing the environment identifications of the first operation environment, the second operation environment, the third operation environment and the fourth operation environment with the second environment identifications, determining the database corresponding to the second environment identification in the first database and the second database, and taking the database corresponding to the second environment identification as a target database.
And then acquiring a plurality of data to be processed and feature data corresponding to each data to be processed from a target database, and taking each data to be processed with the same first environment identifier and second environment identifier in the corresponding feature data as target data.
Optionally, the step S900 may include the following steps:
step S910, according to the data splicing rule, acquiring the position information and the length information of any first environment identifier in the corresponding characteristic data;
step S920, determining a target identifier of each characteristic data according to the position information and the length information;
in step S930, the plurality of target identifiers are respectively compared with the second environment identifier, and the feature data corresponding to each target identifier that is the same as the second environment identifier is used as the target data.
For example, the data splicing rule may be set to splice according to the order of the primary category identifier, the time identifier, the current count data, the server identifier, and the first environment identifier, and the length of the first environment identifier may be set to 1 character, that is, the last bit of each feature data is the first environment identifier, and then according to the data splicing rule, the position information of any first environment identifier in the corresponding feature data may be acquired as the position information of the end of the feature data, and the length information is 1 character.
Although some specific embodiments of the present invention have been described in detail by way of illustration, it should be understood by those skilled in the art that the above illustration is only for the purpose of illustration and is not intended to limit the scope of the invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.

Claims (10)

1. A data processing system for order number environment category determination, the system comprising a plurality of generation servers, each of the generation servers having a corresponding one of the operating environments;
any one of the generation servers can execute the following processing method:
acquiring a server identifier and a first environment identifier corresponding to a current generation server; the first environment identification is used for representing the current running environment of the corresponding generating server;
receiving a generation request;
obtaining corresponding data to be processed and a time identifier according to the generation request; the time identification is used for representing the time for receiving the generation request;
according to a preset data splicing rule, splicing the server identifier, the first environment identifier and the time identifier to obtain characteristic data corresponding to the data to be processed; the characteristic data is used for uniquely identifying the data to be processed;
and establishing an incidence relation between the characteristic data and the data to be processed, and storing the characteristic data and the data to be processed to a database corresponding to the current generation server.
2. The system according to claim 1, wherein each of the generation servers is provided with a counter, and each counter is used for circularly counting the generation requests received by the corresponding generation server; each counter is provided with a zero clearing trigger value, and when the counting data of the counter is equal to the zero clearing trigger value, the counter automatically performs counting reset;
after receiving the generation request, the processing method further includes:
acquiring current counting data of a counter corresponding to a current generation server;
according to a preset data splicing rule, splicing the server identifier, the first environment identifier and the time identifier to obtain characteristic data corresponding to the data to be processed, and the method comprises the following steps:
and splicing the server identifier, the first environment identifier, the time identifier and the current counting data according to the data splicing rule to obtain the characteristic data.
3. The system according to claim 2, wherein the clear trigger value is determined according to the server identifier of the generation server corresponding to the counter and the accuracy of the time represented by the time identifier.
4. The system of claim 3, wherein the method for determining the clear trigger value comprises:
acquiring a server identifier of a generating server corresponding to the counter and the precision of the time represented by the time identifier;
determining a historical target time period; the historical target time period comprises a plurality of sub-time periods;
acquiring the quantity of historical generation requests received by the generation server corresponding to the server identifier in each sub-time period in the historical target time period; the length of each sub-time period is the minimum time length corresponding to the precision;
comparing a number of said quantities to determine a maximum quantity;
determining the maximum number of eigenvalues; the characteristic value is the maximum number of digital digits;
and taking the maximum integer with the digital digit as the characteristic value as the zero clearing trigger value.
5. The system according to claim 2, wherein each of the generation servers has a corresponding primary category identifier, and each of the primary category identifiers is used to indicate primary category information of the data to be processed obtained by the corresponding generation server;
the processing method further comprises the following steps:
acquiring a first-level category identification corresponding to a current generation server;
the splicing the server identifier, the first environment identifier, the time identifier and the current counting data according to the data splicing rule to obtain the feature data includes:
and splicing the server identifier, the first environment identifier, the time identifier, the current counting data and the primary class identifier corresponding to the current generation server according to the data splicing rule to obtain the characteristic data.
6. The system according to claim 5, wherein the obtaining of the primary class identifier corresponding to the current generation server comprises:
determining a primary class identifier corresponding to the server identifier according to a preset first configuration file; the first configuration file is used for storing the corresponding relation between the server identification of each generation server and the corresponding first-class identification.
7. The system of claim 5, wherein the data to be processed comprises a secondary class identifier;
the obtaining of the first-level category identifier corresponding to the current generation server includes:
acquiring a secondary category identification of the data to be processed;
determining a primary class identifier corresponding to the secondary class identifier according to a preset second configuration file; the second configuration file is used for storing a plurality of identification relation groups, each identification relation group comprises a corresponding primary class identification and a plurality of corresponding secondary class identifications, and each secondary class identification uniquely corresponds to one primary class identification.
8. The system according to any one of claims 1 to 7, wherein the execution environment of each of the generation servers is any one of: a first operating environment, a second operating environment, a third operating environment, and a fourth operating environment;
the system further comprises: a first database and a second database;
the generation servers corresponding to the first operation environment or the second operation environment are connected with the first database; the generation servers with corresponding operation environments being third operation environments or fourth operation environments are connected with the second database;
the first database and the second database are respectively used for storing the data to be processed and the characteristic data generated by the corresponding generating server.
9. The system of claim 8, further comprising a plurality of processing servers, each of the processing servers having a corresponding one of the operating environments;
any one of the processing servers is capable of executing the following method:
acquiring a second environment identifier corresponding to the current processing server; the second environment identification is used for representing the current running environment of the corresponding processing server;
determining a target database from the first database and the second database according to the second environment identifier;
acquiring a plurality of data to be processed and feature data corresponding to each data to be processed from the target database;
according to the characteristic data, at least part of the data to be processed in the data to be processed is used as target data; and the first environment identifier corresponding to each target datum is the same as the second environment identifier.
10. The system according to claim 9, wherein the taking at least a part of the data to be processed in the data to be processed as the target data according to the feature data comprises:
according to the data splicing rule, acquiring the position information and the length information of any first environment identifier in the corresponding characteristic data;
determining a target identifier of each characteristic data according to the position information and the length information;
and comparing the plurality of target identifications with the second environment identification respectively, and taking the feature data corresponding to each target identification which is the same as the second environment identification as the target data.
CN202210781630.1A 2022-07-05 2022-07-05 Data processing system for determining order number environment category Active CN114860738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210781630.1A CN114860738B (en) 2022-07-05 2022-07-05 Data processing system for determining order number environment category

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210781630.1A CN114860738B (en) 2022-07-05 2022-07-05 Data processing system for determining order number environment category

Publications (2)

Publication Number Publication Date
CN114860738A true CN114860738A (en) 2022-08-05
CN114860738B CN114860738B (en) 2022-09-16

Family

ID=82625840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210781630.1A Active CN114860738B (en) 2022-07-05 2022-07-05 Data processing system for determining order number environment category

Country Status (1)

Country Link
CN (1) CN114860738B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6049665A (en) * 1996-10-15 2000-04-11 International Business Machines Corporation Object oriented framework mechanism for order processing including pre-defined extensible classes for defining an order processing environment
US20100030661A1 (en) * 2008-07-29 2010-02-04 Esave.Net, Llc Managing product orders through multiple suppliers
CN113204376A (en) * 2021-04-27 2021-08-03 网银在线(北京)科技有限公司 File analysis method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6049665A (en) * 1996-10-15 2000-04-11 International Business Machines Corporation Object oriented framework mechanism for order processing including pre-defined extensible classes for defining an order processing environment
US20100030661A1 (en) * 2008-07-29 2010-02-04 Esave.Net, Llc Managing product orders through multiple suppliers
CN113204376A (en) * 2021-04-27 2021-08-03 网银在线(北京)科技有限公司 File analysis method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114860738B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN113255833B (en) Vehicle damage assessment method, device, equipment and storage medium
CN112633761B (en) Index data query method, device, equipment and storage medium
CN111159211B (en) Order information generation method, device, system, computer equipment and storage medium
CA2464835A1 (en) Technique for searching for contact information concerning desired parties
WO2004023342A1 (en) Method and system for registering goods information
CN113656315A (en) Data testing method and device, electronic equipment and storage medium
CN110147493B (en) Method, device, computer equipment and storage medium for determining active factors
CN114860738B (en) Data processing system for determining order number environment category
CN112037052B (en) User behavior detection method and device
CN114281663A (en) Test processing method, test processing device, electronic equipment and storage medium
CN111414528B (en) Method and device for determining equipment identification, storage medium and electronic equipment
CN115248837B (en) Data processing system for obtaining geographic entity of text
CN115168509A (en) Processing method and device of wind control data, storage medium and computer equipment
CN111258788B (en) Disk failure prediction method, device and computer readable storage medium
CN114896955A (en) Data report processing method and device, computer equipment and storage medium
CN111199423B (en) User behavior track generation method, device, equipment and storage medium
CN114203304A (en) Information pushing method based on smart medical big data and smart medical cloud server
CN114579580A (en) Data storage method and data query method and device
CN114301821A (en) Module testing method, device, terminal and computer readable storage medium
CN111507397A (en) Abnormal data analysis method and device
CN117313856B (en) Reliability test planning system and method
CN110856253B (en) Positioning method, positioning device, server and storage medium
CN111242592B (en) Resource transfer detection method, device, server and computer readable storage medium
CN111026665B (en) Test range analysis method, device and equipment
CN113765843B (en) Method, device and equipment for detecting identification detection capability and readable 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