[go: up one dir, main page]

CN113139108A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN113139108A
CN113139108A CN202010054788.XA CN202010054788A CN113139108A CN 113139108 A CN113139108 A CN 113139108A CN 202010054788 A CN202010054788 A CN 202010054788A CN 113139108 A CN113139108 A CN 113139108A
Authority
CN
China
Prior art keywords
processing
data
processing means
object data
main
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.)
Pending
Application number
CN202010054788.XA
Other languages
Chinese (zh)
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.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi 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 Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202010054788.XA priority Critical patent/CN113139108A/en
Publication of CN113139108A publication Critical patent/CN113139108A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a data processing method and device, and relates to the technical field of computers. One embodiment of the method comprises: receiving object data to be processed, and determining a main processing means for the object data according to a processing type of the object data; the method data is determined according to the identifier of each processing method, and the object data is processed by using each method data to obtain processing information. The implementation mode is provided with different processing main means aiming at different service types, and each main means is associated with at least one processing means to present the association relation among the service types, the processing main means and the processing means; when data is specifically processed, the processing means needed to be used can be quickly positioned through the association relationship, so that the means query times are reduced, and the processing speed is increased.

Description

Data processing method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data processing method and apparatus.
Background
Most of the existing systems involve data processing functions, such as digital home services, network operators, e-commerce platforms, etc., and different processing means may be provided for different products, different services or different users. In actual operation, a plurality of processing means may be used in one processing, and the order of use may be required, so that flexible management and application of the processing means are required.
In the process of implementing the invention, the inventor finds that the existing method has at least the following problems:
1) when a new processing means needs to be set, a worker is relied on to set processing operation logic according to the processing requirement, so that the processing means is difficult to expand;
2) when one-time processing involves multiple processing means, the processing means needs to be inquired in a linked list mode or in steps, data tables are stored in a scattered mode, association relations and hierarchical relations among the tables cannot be fully reflected, the number of inquiry times is large, and inquiry performance is affected.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data processing method and apparatus, which can at least solve the problem in the prior art that the method is not easy to expand, and the data table structure is not clear, which results in difficult application.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a data processing method including:
receiving object data to be processed, and determining a main processing means for the object data according to the processing type of the object data; wherein the processing master means comprises at least one processing means;
and determining means data according to the identification of each processing means, and further processing the object data by using each means data to obtain processing information.
Optionally, before the receiving the object data to be processed, the method further includes:
receiving and analyzing a processing request to obtain attribute information in the processing request, and determining a processing means class corresponding to each attribute information;
determining the selected processing means in each processing means class, and combining the selected processing means to obtain the processing main means;
and determining a processing type according to the attribute information, and establishing a corresponding relation between the processing type and the processing main means.
Optionally, before the receiving and analyzing the processing request, the method further includes: the method comprises the steps of obtaining a plurality of processing means, determining attribute information to which each processing means belongs, and classifying the processing means belonging to the same attribute information to obtain a plurality of processing means classes.
Optionally, before the processing the object data by using each means data, the method further includes: receiving priority setting information for each processing means, and generating processing chain information based on the set priority order;
the processing the object data by using the respective means data further includes: based on the processing chain information, the object data is processed by means data corresponding to each processing means in order.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided a data processing apparatus including:
the data receiving module is used for receiving object data to be processed and determining a processing main means for processing the object data according to the service type of the object data; wherein the processing master means comprises at least one processing means;
and the data processing module is used for determining the means data according to the identification of each processing means, and further processing the object data by using each means data to obtain processing information.
Optionally, the apparatus further comprises a means creating module, configured to:
receiving and analyzing a processing request to obtain attribute information in the processing request, and determining a processing means class corresponding to each attribute information;
determining the selected processing means in each processing means class, and combining the selected processing means to obtain the processing main means;
and determining a processing type according to the attribute information, and establishing a corresponding relation between the processing type and the processing main means.
Optionally, the system further comprises a means classification module, configured to: the method comprises the steps of obtaining a plurality of processing means, determining attribute information to which each processing means belongs, and classifying the processing means belonging to the same attribute information to obtain a plurality of processing means classes.
Optionally, the system further includes a processing chain generating module, configured to: receiving priority setting information for each processing means, and generating processing chain information based on the set priority order;
the data processing module is further configured to: based on the processing chain information, the object data is processed by means data corresponding to each processing means in order.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided a data processing electronic device.
The electronic device of the embodiment of the invention comprises: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement any of the data processing methods described above.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided a computer-readable medium on which a computer program is stored, the program implementing any of the data processing methods described above when executed by a processor.
According to the scheme provided by the invention, one embodiment of the invention has the following advantages or beneficial effects: the method breaks through the existing management mode of the processing means, and provides a new idea on means creation, storage and application, so that the aims of realizing the data processing logic by using an adding means which is dynamic, flexible and easy to expand and using the means with the least associated data table query as possible and reducing the customized development workload as much as possible are fulfilled.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic main flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a flow diagram illustrating an alternative data processing method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart diagram of an alternative data processing method according to an embodiment of the invention;
FIG. 4 is a schematic flow chart diagram of yet another alternative data processing method according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of a particular instrument interface according to embodiments of the present invention;
FIG. 6 is a schematic diagram of the main blocks of a data processing apparatus according to an embodiment of the present invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 8 is a schematic block diagram of a computer system suitable for use with a mobile device or server implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the present invention is mainly directed to complex data processing scenarios with comprehensive diversity, such as communication service operation, digital home service, warehouse logistics, and the like.
In warehouse logistics, for example, a purchase order usually contains multiple commodities, some commodities only need loading and unloading services, some commodities need packaging services, labeling services, and the like besides the loading and unloading services, and the processing price or requirement of each service is different, so that multiple processing means may be used for some commodities in the purchase order or the purchase order.
Referring to fig. 1, a main flowchart of a data processing method according to an embodiment of the present invention is shown, which includes the following steps:
s101: receiving object data to be processed, and determining a main processing means for the object data according to the processing type of the object data; wherein the processing master means comprises at least one processing means;
s102: and determining means data according to the identification of each processing means, and further processing the object data by using each means data to obtain processing information.
In the above embodiment, for step S101, the object data in the present invention may be a business document, the data processing includes but is not limited to charging, and the means includes but is not limited to rules.
The object data generally belong to different business services and have different business types. Taking warehouse logistics as an example, the warehouse logistics comprises loading, unloading, secondary packaging of goods, code pasting of goods and the like, the services are usually in the process of purchasing warehousing or selling ex-warehouse, and the corresponding object data is a purchase order or a sales order.
In order to improve the data processing efficiency, before specific processing, the invention is pre-established with corresponding processing main means aiming at different service types, which is convenient for direct use in subsequent data processing, such as purchase order-processing main means I and sales order-processing main means II. The main processing means can be regarded as a set of means for processing data, can be applied to one or more business services, and needs to be set by a worker according to specific business association in advance.
The data table of the processing master means is used for recording master means data, such as a master means number, a specific processing means identification and the like. Referring to table 1, a billing master rule I is shown, containing a weight billing rule 1 and a volume billing rule 4:
TABLE 1 charging Master rules I
Figure BDA0002372422000000051
Figure BDA0002372422000000061
In step S102, a set of data tables (or means list) is provided for each processing means, and data details are stored in the tables, and in the actual data processing, the business data processing of the object data is performed using the means data.
The data detail item is used to describe specific processing conditions of the processing means, such as a main-hand number, a means category, a detail number, a number of an associated means, a data processing matching item (e.g., a number specifying an article, a number specifying an item category), a unit price (e.g., a price specifying an article, a price specifying an item category), a coefficient (e.g., more than 50-fold eights), and the like.
Multiple processing means may be included in the same system, and different identifiers are used for differentiation, for example, a number charging rule-1 (only an example), a volume charging rule-2, a weight charging rule-3, and a duration (hour, day, month, etc.) charging rule-4.
Therefore, when actual data is processed, at least two types of data tables are involved:
1) processing the main section table and recording main data of a processing means;
2) the processing means table records means data of each processing means, for example, a weight charging ladder table of weight charging rules.
After acquiring the instrument data of each processing instrument, the detail in the object data can be processed by using the instrument data; the details may be goods, information, services, or the like.
Different means data may handle business data of different attributes, and thus the means data may be used to handle object data simultaneously or in a certain order (see subsequent description of fig. 3).
Taking table 1 as an example:
1) processing by using a rule 1 to obtain a weight charging value, and processing by using a rule 4 to obtain a volume charging value;
2) the weight charging value is obtained by processing the rule 1, and the volume charging value is obtained by processing the rule 4 after the rule 1 is used.
The processing main means may include a plurality of processing means, and therefore after the data are processed by each processing means, statistical summation is required to obtain total processing information; the processing information may include processing details (for example, rule 1 processing data 1) in addition to the processing value, so as to facilitate the follow-up staff verification.
However, the same service data may have various attributes, so in order to avoid the situation that the processing result is wrong due to the repeated processing of the service data, in the actual operation, after a service data is processed, the service data may be marked as processed, and the data is not processed any more when processed by other subsequent processing means, so as to solve the abnormal situation.
The method provided by the above embodiment is provided with different processing main means for different service types, and each main means is associated with at least one processing means, so as to present the association relationship among the service types, the processing main means and the processing means. When processing object data, the processing means needed to be used can be quickly positioned through the association relationship, so that the means query times are reduced, and the data processing speed is improved.
Referring to fig. 2, a schematic flow chart of an alternative data processing method according to an embodiment of the present invention is shown, including the following steps:
s201: acquiring a plurality of processing means, determining attribute information to which each processing means belongs, and classifying the processing means belonging to the same attribute information to obtain a plurality of processing means classes;
s202: receiving and analyzing a processing request to obtain attribute information in the processing request, and determining a processing means class corresponding to each attribute information;
s203: determining the selected processing means in each processing means class, and combining the selected processing means to obtain the processing main means;
s204: determining a processing type according to the attribute information, and establishing a corresponding relation between the processing type and the processing main means;
s205: receiving object data to be processed, and determining a main processing means for the object data according to the processing type of the object data; wherein the processing master means comprises at least one processing means;
s206: and determining means data according to the identification of each processing means, and further processing the object data by using each means data to obtain processing information.
In the above embodiment, the descriptions of steps S101 to S102 shown in fig. 1 can be referred to for steps S205 to S206, and are not repeated herein.
In the above embodiment, in step S201, in addition to the main means and means list, the present invention further provides a means category list for storing and expanding means categories or dimensions.
Referring to table 1, the rule category table mainly stores a category number, a category name, and specific charging rules included therein:
TABLE 2 billing categories Table
Figure BDA0002372422000000081
By dividing a plurality of processing means with the same attribute (such as weight and volume) into the same category, a user can select the processing means in different categories when creating the processing means subsequently, so that the query and selection efficiency of the processing means is improved, and the selection repeatability and difficulty of the processing means are reduced.
For example, the charging rules for weight can be many:
1) rule 1: 1-10 kg of a first step, 10-50 kg of a second step, and so on;
2) rule 2: the general price is 20 yuan.
Furthermore, in order to improve the efficiency of acquiring the subsequent means data and improve the management of each means data, the processing means belonging to the same attribute may be placed in the same file (e.g., a disk, a folder, an Excel file) for storage.
In steps S202 to S204, different processing means may be used for the object data of different business types, such as sales order, purchase order, loading/unloading order, and the like.
The method can be preset with a means configuration interface, the creation of the main processing means is carried out according to the service request, the existing means categories can be listed during the creation, the user can also carry out the operation of adding or deleting the means categories, and the processing means is selected in each means category.
Further, when there are many means categories in the system, some means categories may be temporarily unavailable to the user, and the user is required to perform category deletion operation. In this case, the text description information in the request (for example, the loading and unloading billing service including loading, unloading, billing, and service) is analyzed, the attribute included in the text description information is determined, and only the corresponding means category is displayed, so that the creation efficiency of the processing main means is improved.
Taking the charging service of goods loading and unloading as an example, the charging service comprises three charging requirements of counting, specifying types of goods and specifying goods:
1) creating a main rule, naming the loading and unloading service, and generating a unique code for associating a rule list;
2) adding a piece counting rule, wherein the main data comprises: main rule code, rule category-piece count, detail number-specific rule number, number of association rule (if not, null), charging matching item (here, number of pieces, not requiring specific matching, can be replaced by a), unit price, coefficient (whether discount preferential or not, etc.);
3) adding a specified class charging rule, wherein the main data comprises the following data: rule category-category, charging matching item (specific category code, such as 100001), unit price (price for the service of the category), coefficient, etc.;
4) adding a specified commodity charging rule, wherein the main data comprises: rule categories-goods, billing matches (codes for a given good, e.g., 200032), unit price (price for the given good), coefficients, etc.;
5) according to the three attributes of the counting, goods and class, a service type, such as the loading and unloading goods service type, is determined to establish the corresponding relation between the loading and unloading goods service type and the loading and unloading goods service charging main rule.
See table 3 for details:
table 3 charging rule table for goods loading and unloading
Figure BDA0002372422000000091
Figure BDA0002372422000000101
Therefore, the processing means in the processing main means can store the identification of the processing means and the category of the processing means, and when the processing means is unavailable subsequently, new processing means can be selected again.
For example, for table 1, the form after adding the billing category is:
Figure BDA0002372422000000102
the specific hierarchical relationship among the means is embodied by processing the relationship setting of the main means, the means category and the specific processing means, so that the means management, setting and modification are facilitated.
In addition, the number of the processing main table, the processing module table and the means category table in the invention can be only one, namely all means, classification and combination in the storage system can be stored separately, at the moment, the total number is three types of tables, and a plurality of data tables are arranged under each type, thereby realizing the purpose of means classification management.
The method provided by the embodiment classifies the processing means with the same attribute by analyzing the attribute of each processing means, and selects the means from the category of the means when a subsequent main means is established, thereby solving the problems that the means are difficult to search and select due to disordered storage of a means data table in the prior art; by analyzing the attribute information in the service request and only displaying the corresponding processing means category, the creating speed of the main section is improved.
Referring to fig. 3, a schematic flow chart of an alternative data processing method according to an embodiment of the present invention is shown, including the following steps:
s301: receiving object data to be processed, and determining a main processing means for the object data according to the processing type of the object data; wherein the processing master means comprises at least one processing means;
s302: receiving priority setting information for each processing means, and generating processing chain information based on the set priority order;
s303: means data is specified according to the identifier of each processing means, and the target data is processed by means data corresponding to each processing means in order based on the processing chain information.
In the above embodiment, for step S301, the description of step S101 shown in fig. 1 can be respectively referred to, and is not repeated herein.
In the above embodiment, the processing master means may include a plurality of processing means in step S302, and in order to avoid confusion caused by simultaneous processing of data by the subsequent processing means, the present invention sets processing chain information according to the order of use of each processing means before specific data processing.
The processing chain information is usually in the form of an expression, for example, the processing chain expression D > B > C > a > E, which indicates that A, B, C, D, E five processing means are included in the processing master segment, and the priority of the means D is the highest, and then B, C, A, E follows the highest, and the priority of the means E is the lowest.
To facilitate the generation of process chain expressions, a setup interface may be provided in which a user may manually write an expression in an input box. Or a selection frame is arranged before each processing means, and the processing chain expression is generated according to the selection sequence of the user. For example, in the example of fig. 2, the charging priority of the product may be specified, then the specified item may be clicked, and finally the piece may be clicked, so as to configure the charging chain expression specified product charging rule > specified item charging rule > piece charging rule.
For step S303, the method data determination of the processing method is specifically described in step S102 in fig. 1, and is not described herein again.
After the processing chain information is established, the filtering data processing can be realized by utilizing the sequencing between the processing means, specifically:
1) determining a first processing means with a first priority order, processing the service data in the object data by using first field data corresponding to the first processing means to obtain first processing information, and marking the processed service data;
2) determining a second processing means with a second priority ranking, processing the service data which is not marked in the object data by using second hand data corresponding to the second processing means to obtain second processing information, and marking the processed service data;
3) and repeating the data processing and the operation of marking the service data until all the service data are processed.
Taking the processing chain expression "D > B > C > a > E" as an example, the data processing process is explained:
1) firstly, a D processing means is used for processing data according to the price and the operation requirement in the means, the processing result is recorded, and the processed business data in the object data is labeled, for example, a 'processed' label mode is marked;
2) processing the unmarked service data according to the price and the operation requirement in the means by using a processing means B, and recording the processing result and marking the processed service data;
the labeling mode here can be the same as the previous step, and all represent that the service data has been processed; the method can also be different, so that the business data processed by the previous processing means can be distinguished, the follow-up result review is facilitated, and the data processing abnormity of which step is determined, wherein the specific mode is set by a worker;
… … (follow-up college)
6) Stopping the treatment:
the means is excessive, and the business data is processed. When detecting that all the service data are marked, stopping data processing; the processing means can also be continuously used, but the unprocessed service data is empty at the moment;
and over business data and used processing means. Recording each service detail item participating in data processing in the data processing process, finally summarizing, and giving a prompt that the XXX has no corresponding means and does not participate in data processing;
it should be noted that, the system usually sets a plurality of types of object data, each type of object data is processed by a different processing master means, and when the object data is changed, the processing master means is changed accordingly, so that the situation that the processing means is used up due to excessive business data is rare.
However, if the above situation occurs, that is, the object data is changed, but the processing main means is not changed, the service personnel needs to analyze the processing means to which the remaining service data may belong, and call the corresponding processing means for processing, or use the unified standard processing means for processing.
In an ideal situation, all the service data are processed while all the processing means are used;
7) and summarizing all the calculated processing information to obtain the processing result of the object data.
In actual operation, means with the same priority level may be encountered, and in this case, when specific data processing is performed, one data processing may be randomly selected. For example, the processing means B and C in the processing chain expression "D > B, C > a > E" may be randomly selected to perform data processing. Or matching the business data in the object data with B, C processing means, and then processing the object data by the matched B or C processing means.
In actual operation, however, only one processing means is set for the same level, so as to avoid the problem that the user experience is affected due to different data processing results and durations caused by different processing modes of different processing means.
In the method provided by the above embodiment, the processing means in the processing main means is used with a priority order, and is preset before specific data processing, so that a situation that service data processing is disordered due to simultaneous use of a plurality of processing means in a subsequent processing process can be avoided, the overall execution has certain order and rigor, and the obtained processing result is more accurate.
Referring to fig. 4, a flowchart of a specific data processing method according to an embodiment of the present invention is shown, which includes the following steps:
s401: acquiring a plurality of processing means, determining attribute information to which each processing means belongs, and classifying the processing means belonging to the same attribute information to obtain a plurality of processing means classes;
s402: receiving and analyzing a processing request to obtain attribute information in the processing request, and determining a processing means class corresponding to each attribute information;
s403: determining the selected processing means in each processing means class, and combining the selected processing means to obtain the processing main means;
s404: determining a processing type according to the attribute information, and establishing a corresponding relation between the processing type and the processing main means;
s405: receiving priority setting information for each processing means, and generating processing chain information based on the set priority order;
s406: receiving object data to be processed, and determining a main processing means for the object data according to the processing type of the object data; wherein the processing master means comprises at least one processing means;
s407: means data is specified based on the identifier of each processing means, and the target data is processed based on the processing chain information by means data corresponding to each processing means in order.
In the above embodiment, for steps S401 to S404, reference may be made to the descriptions of steps S201 to S204 shown in fig. 2, steps S405 and S407 may be referred to the descriptions of steps S302 and S303 shown in fig. 3, respectively, and step S406 may be referred to the description of step S102 shown in fig. 1, which is not repeated herein.
In the above embodiment, the processing means can be expanded to some extent by establishing the relationship between the processing master means, the category of the means, and the processing means. The finally obtained information of the processing main means is embodied on the means detail structure and is displayed according to the tree structure, which is specifically shown in the example shown in fig. 5.
Besides, the invention also supports the script expansion mode (groovy \ Ruby \ python, etc.). When the existing processing operation logic does not meet the processing requirements, the processing means and the operation logic can be realized through script codes, the script files are uploaded, and the relevant script codes are loaded and run when the data processing is needed, so that the processing result can be obtained, and the flexible data processing expansion mode is achieved.
Taking warehouse logistics as an example, a service of uncovering a waterproof cloth is required to be accessed, and details in the service list are not commodity dimensions, but vehicle types, such as vehicle type A (within 6.5 meters long) price of 30 yuan, vehicle type B (within 6.5 meters to 9 meters long) price of 50 yuan and the like. Since the operation logic of the existing processing means cannot analyze the vehicle type and classify the vehicle type according to the vehicle body length, the editing of the data processing operation logic can be realized by script codes.
The method provided by the embodiment of the invention breaks through the existing management mode of the processing means, and provides a new thought on means creation, storage and application, thereby realizing a dynamic, flexible and easily-expandable adding means and a means for querying the associated data table as less as possible when in application, and reducing the customized development workload as much as possible to realize the purpose of data processing logic.
Referring to fig. 6, a schematic diagram of main modules of a data processing apparatus 600 according to an embodiment of the present invention is shown, including:
a data receiving module 601, configured to receive object data to be processed, and determine a processing main means for processing the object data according to a service type to which the object data belongs; wherein the processing master means comprises at least one processing means;
the data processing module 602 is configured to determine means data according to the identifier of each processing means, and further process the object data by using each means data to obtain processing information.
The device for implementing the present invention further includes a means creating module 603 (not shown in the figure) for:
receiving and analyzing a processing request to obtain attribute information in the processing request, and determining a processing means class corresponding to each attribute information;
determining the selected processing means in each processing means class, and combining the selected processing means to obtain the processing main means;
and determining a processing type according to the attribute information, and establishing a corresponding relation between the processing type and the processing main means.
The apparatus further comprises a means classifying module 604 (not shown) for: the method comprises the steps of obtaining a plurality of processing means, determining attribute information to which each processing means belongs, and classifying the processing means belonging to the same attribute information to obtain a plurality of processing means classes.
The apparatus further includes a processing chain generating module 605 (not shown in the figure) for: receiving priority setting information for each processing means, and generating processing chain information based on the set priority order;
the data processing module 602 is further configured to: based on the processing chain information, the object data is processed by means data corresponding to each processing means in order.
In addition, the detailed implementation of the device in the embodiment of the present invention has been described in detail in the above method, so that the repeated description is not repeated here.
FIG. 7 illustrates an exemplary system architecture 700 to which embodiments of the invention may be applied.
As shown in fig. 7, the system architecture 700 may include terminal devices 701, 702, 703, a network 704 and a server 705 (by way of example only). The network 704 serves to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. Network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 701, 702, 703 to interact with a server 705 over a network 704, to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 701, 702, 703.
The terminal devices 701, 702, 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 705 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 701, 702, 703. The background management server can analyze and process the received data such as the product information inquiry request and feed back the processing result to the terminal equipment.
It should be noted that the data processing method provided by the embodiment of the present invention is generally executed by the server 705, and accordingly, the data processing apparatus is generally disposed in the server 705.
It should be understood that the number of terminal devices, networks, and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a data receiving module and a data processing module. Where the names of these modules do not in some cases constitute a limitation of the module itself, for example, a data processing module may also be described as a "data determination and processing module".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
receiving object data to be processed, and determining a main processing means for the object data according to the processing type of the object data; wherein the processing master means comprises at least one processing means;
and determining means data according to the identification of each processing means, and further processing the object data by using each means data to obtain processing information.
According to the technical scheme of the embodiment of the invention, the existing management mode of the data processing means is broken through, and a new thought is provided on means creation, storage and application, so that a dynamic, flexible and easily-expandable adding means and a means for querying the associated data table as little as possible when the adding means is applied are realized, and the purpose of reducing the customized development workload as much as possible and realizing the data processing logic is realized.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1.一种数据处理方法,其特征在于,包括:1. a data processing method, is characterized in that, comprises: 接收待处理的对象数据,根据所述对象数据所属处理类型,确定对所述对象数据的处理主手段;其中,所述处理主手段包含至少一个处理手段;Receive the object data to be processed, and determine the main means for processing the object data according to the processing type to which the object data belongs; wherein, the main processing means includes at least one processing means; 根据各处理手段的标识进行手段数据确定,进而利用各手段数据对所述对象数据进行处理,得到处理信息。The means data is determined according to the identifier of each processing means, and then the object data is processed by using each means data to obtain processing information. 2.根据权利要求1所述的方法,其特征在于,在所述接收待处理的对象数据之前,还包括:2. The method according to claim 1, characterized in that, before said receiving the object data to be processed, further comprising: 接收处理请求并解析,得到所述处理请求中的属性信息,确定与各属性信息相对应的处理手段类;Receive and parse the processing request, obtain attribute information in the processing request, and determine the processing means class corresponding to each attribute information; 确定在各处理手段类中所选择的处理手段,组合所选择的处理手段,得到所述处理主手段;Determine the processing means selected in each processing means category, and combine the selected processing means to obtain the main processing means; 根据所述属性信息确定处理类型,建立所述处理类型与所述处理主手段之间的对应关系。The processing type is determined according to the attribute information, and the corresponding relationship between the processing type and the processing main means is established. 3.根据权利要求2所述的方法,其特征在于,在所述接收处理请求并解析之前,还包括:3. The method according to claim 2, characterized in that, before the receiving and processing request and parsing, further comprising: 获取多个处理手段,确定各处理手段所属属性信息,将属于同一属性信息的处理手段进行归类,得到多个处理手段类。Obtain multiple processing means, determine attribute information to which each processing means belongs, and classify processing means belonging to the same attribute information to obtain multiple processing means classes. 4.根据权利要求1-3中任一项所述的方法,其特征在于,在利用各手段数据,对所述对象数据进行处理之前,还包括:4. The method according to any one of claims 1-3, characterized in that, before using each means data to process the object data, the method further comprises: 接收对各处理手段的优先级设置信息,基于所设置的优先级顺序,生成处理链信息;Receive priority setting information for each processing means, and generate processing chain information based on the set priority order; 所述利用各手段数据,对所述对象数据进行处理,还包括:The processing of the object data by using the data of each means further includes: 基于所述处理链信息,按序利用与各处理手段相对应的手段数据,对所述对象数据进行处理。Based on the processing chain information, the target data is processed using means data corresponding to each processing means in order. 5.一种数据处理装置,其特征在于,包括:5. A data processing device, characterized in that, comprising: 数据接收模块,用于接收待处理的对象数据,根据所述对象数据所属业务类型,确定处理所述对象数据的处理主手段;其中,所述处理主手段包含至少一个处理手段;a data receiving module, configured to receive the object data to be processed, and determine the main processing means for processing the object data according to the business type to which the object data belongs; wherein, the main processing means includes at least one processing means; 数据处理模块,用于根据各处理手段的标识进行手段数据确定,进而利用各手段数据,对所述对象数据进行处理,得到处理信息。The data processing module is used for determining the means data according to the identifiers of the processing means, and further processing the object data by using the means data to obtain processing information. 6.根据权利要求5所述的装置,其特征在于,还包括手段创建模块,用于:6. The apparatus according to claim 5, further comprising a means creation module for: 接收处理请求并解析,得到所述处理请求中的属性信息,确定与各属性信息相对应的处理手段类;Receive and parse the processing request, obtain attribute information in the processing request, and determine the processing means class corresponding to each attribute information; 确定在各处理手段类中所选择的处理手段,组合所选择的处理手段,得到所述处理主手段;Determine the processing means selected in each processing means category, and combine the selected processing means to obtain the main processing means; 根据所述属性信息确定处理类型,建立所述处理类型与所述处理主手段之间的对应关系。The processing type is determined according to the attribute information, and the corresponding relationship between the processing type and the processing main means is established. 7.根据权利要求6所述的装置,其特征在于,还包括手段分类模块,用于:7. The device according to claim 6, further comprising a means classification module for: 获取多个处理手段,确定各处理手段所属属性信息,将属于同一属性信息的处理手段进行归类,得到多个处理手段类。Obtain multiple processing means, determine attribute information to which each processing means belongs, and classify processing means belonging to the same attribute information to obtain multiple processing means classes. 8.根据权利要求5-7中任一项所述的装置,其特征在于,还包括处理链生成模块,用于:8. The apparatus according to any one of claims 5-7, further comprising a processing chain generation module for: 接收对各处理手段的优先级设置信息,基于所设置的优先级顺序,生成处理链信息;Receive priority setting information for each processing means, and generate processing chain information based on the set priority order; 所述数据处理模块,还用于:The data processing module is also used for: 基于所述处理链信息,按序利用与各处理手段相对应的手段数据,对所述对象数据进行处理。Based on the processing chain information, the target data is processed using means data corresponding to each processing means in order. 9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that, comprising: 一个或多个处理器;one or more processors; 存储装置,用于存储一个或多个程序,storage means for storing one or more programs, 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-4中任一所述的方法。The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4. 10.一种计算机可读介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现如权利要求1-4中任一所述的方法。10. A computer-readable medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the method according to any one of claims 1-4 is implemented.
CN202010054788.XA 2020-01-17 2020-01-17 Data processing method and device Pending CN113139108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010054788.XA CN113139108A (en) 2020-01-17 2020-01-17 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010054788.XA CN113139108A (en) 2020-01-17 2020-01-17 Data processing method and device

Publications (1)

Publication Number Publication Date
CN113139108A true CN113139108A (en) 2021-07-20

Family

ID=76809557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010054788.XA Pending CN113139108A (en) 2020-01-17 2020-01-17 Data processing method and device

Country Status (1)

Country Link
CN (1) CN113139108A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114719871A (en) * 2022-03-22 2022-07-08 北京京东振世信息技术有限公司 Map data management method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080291486A1 (en) * 2007-05-22 2008-11-27 Bowe Bell + Howell Company Intelligent document composition for mail processing
CN108255602A (en) * 2017-11-01 2018-07-06 平安普惠企业管理有限公司 Task combined method and terminal device
CN109598632A (en) * 2018-12-13 2019-04-09 泰康保险集团股份有限公司 Insurance business processing method, device, medium and electronic equipment
CN109614409A (en) * 2018-10-29 2019-04-12 阿里巴巴集团控股有限公司 Business data processing method, device and server
CN110619002A (en) * 2019-09-12 2019-12-27 北京百度网讯科技有限公司 Data processing method, device and storage medium
CN110691084A (en) * 2019-09-27 2020-01-14 武汉极意网络科技有限公司 Adaptation method and device of wind control rule engine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080291486A1 (en) * 2007-05-22 2008-11-27 Bowe Bell + Howell Company Intelligent document composition for mail processing
CN108255602A (en) * 2017-11-01 2018-07-06 平安普惠企业管理有限公司 Task combined method and terminal device
CN109614409A (en) * 2018-10-29 2019-04-12 阿里巴巴集团控股有限公司 Business data processing method, device and server
CN109598632A (en) * 2018-12-13 2019-04-09 泰康保险集团股份有限公司 Insurance business processing method, device, medium and electronic equipment
CN110619002A (en) * 2019-09-12 2019-12-27 北京百度网讯科技有限公司 Data processing method, device and storage medium
CN110691084A (en) * 2019-09-27 2020-01-14 武汉极意网络科技有限公司 Adaptation method and device of wind control rule engine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114719871A (en) * 2022-03-22 2022-07-08 北京京东振世信息技术有限公司 Map data management method and device

Similar Documents

Publication Publication Date Title
CN110766486B (en) Method and device for determining item category
CN106844372B (en) Logistics information query method and device
CN110020162B (en) User identification method and device
CN109961299A (en) The method and apparatus of data analysis
CN110648089A (en) Method and device for determining delivery timeliness of articles
CN111260270A (en) Method and device for improving store order processing efficiency
CN110232581B (en) Method and device for providing coupons for users
CN111461583B (en) Inventory counting method and device
CN113706064A (en) Order processing method and device
CN113379476A (en) Order processing method and device
CN113434754A (en) Method and device for determining recommended API (application program interface) service, electronic equipment and storage medium
CN113222680A (en) Method and device for generating order
CN113989058A (en) A service generation method and device
CN113763083B (en) Information processing method and device
CN110928594A (en) Service Development Methodology and Platform
CN113139108A (en) Data processing method and device
CN112348427A (en) Order processing method, apparatus, computer system and readable storage medium
CN112819619A (en) Transaction processing method and device
CN110956478B (en) Method and device for determining the quantity of goods purchased
CN113269600A (en) Information sending method and device
CN107886350B (en) Method and device for analyzing data
CN111127077A (en) Recommendation method and device based on stream computing
CN111488537A (en) Page display method and device
CN111260269A (en) Store order processing method and device for improving distribution efficiency
CN112256566B (en) Fresh-keeping method and device for test cases

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210720