CN112100205A - Data processing method, device, equipment and computer readable medium - Google Patents

Data processing method, device, equipment and computer readable medium Download PDF

Info

Publication number
CN112100205A
CN112100205A CN202011034715.0A CN202011034715A CN112100205A CN 112100205 A CN112100205 A CN 112100205A CN 202011034715 A CN202011034715 A CN 202011034715A CN 112100205 A CN112100205 A CN 112100205A
Authority
CN
China
Prior art keywords
data
processed
information
processing
processing mode
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
CN202011034715.0A
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 Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network 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 Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202011034715.0A priority Critical patent/CN112100205A/en
Publication of CN112100205A publication Critical patent/CN112100205A/en
Pending legal-status Critical Current

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/24Querying
    • G06F16/245Query processing
    • 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/21Design, administration or maintenance of databases
    • 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/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the disclosure discloses a data processing method, a data processing device, an electronic device and a computer readable medium. One embodiment of the method comprises: in response to receiving the data to be processed, determining a data source of the data to be processed based on field information in the data to be processed; determining a processing mode of data to be processed based on configuration information and a data source, wherein the configuration information comprises a combination of at least one data source information and processing mode information; processing the data to be processed by using a processing mode to obtain processed data; determining the data type of the processed data based on the field information in the processed data; and adding the processed data into a data queue corresponding to the data type. The embodiment determines the processing mode of the data from different data sources by using the configuration information, thereby improving the efficiency of data processing of multiple data sources. And, the convenience of data source expansion is improved.

Description

Data processing method, device, equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a data processing method, apparatus, device, and computer-readable medium.
Background
With the on-line of various services, more and more network information is also present. There may be multiple sources of such information data. Such as local information, online information from an information bidding platform, etc. Different processing modes are required for information with different sources, namely a data processing method supporting multiple data sources is supported, so that network information can be better distributed.
The related data processing techniques are inefficient in data processing for multiple data sources and are not easy to scale to more data sources.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose data processing methods, apparatuses, devices and computer readable media to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a data processing method, including: in response to receiving the data to be processed, determining a data source of the data to be processed based on field information in the data to be processed; determining a processing mode of data to be processed based on configuration information and a data source, wherein the configuration information comprises a combination of at least one data source information and processing mode information; processing the data to be processed by using a processing mode to obtain processed data; determining the data type of the processed data based on the field information in the processed data; and adding the processed data into a data queue corresponding to the data type.
In a second aspect, some embodiments of the present disclosure provide a data processing apparatus comprising: the first determining unit is configured to respond to the received data to be processed and determine a data source of the data to be processed based on field information in the data to be processed; the second determining unit is configured to determine a processing mode of the data to be processed based on configuration information and a data source, wherein the configuration information comprises at least one combination of data source information and processing mode information; the processing unit is configured to process the data to be processed by using a processing mode to obtain processed data; a third determining unit configured to determine a data category to which the processed data belongs based on field information in the processed data; and the adding unit is configured to add the processed data into a data queue corresponding to the data type.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method as described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the disclosure provide a computer readable medium having a computer program stored thereon, where the program when executed by a processor implements a method as described in any of the implementations of the first aspect.
One of the above-described various embodiments of the present disclosure has the following advantageous effects: the efficiency of the data processing of multiple data sources is improved. And, extension of the data source is made easier to implement. In particular, the inventors have discovered that the reason that the related multiple data source processing techniques are inefficient and not easily scalable is that the entire data processing technique is re-implemented for each of the multiple data sources. To this end, the scheme proposes a method of processing data of multiple data sources by using configuration information. Specifically, processing mode information and data source information for processing different data sources are stored in a database as configuration information in advance, and when receiving data, an execution subject of the data processing method first determines the data source of the data. And then, determining the configuration information corresponding to the data source in the database so as to obtain the processing mode corresponding to the data source. Therefore, after the data source is changed, the execution main body of the data processing method only needs to change part of the execution steps in the data processing method according to the configuration information. Therefore, the scheme improves the efficiency of data processing of multiple data sources by using the configuration information to determine the processing mode of the data from different data sources. And, the convenience of data source expansion is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of one application scenario of a data processing method of some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of a data processing method according to the present disclosure;
FIG. 3 is a flow diagram of further embodiments of a data processing method according to the present disclosure;
FIG. 4 is a schematic block diagram of some embodiments of a data processing apparatus according to the present disclosure;
FIG. 5 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 shows a schematic diagram of one application scenario in which the data processing method of some embodiments of the present disclosure may be applied.
In the application scenario shown in fig. 1, first, the computing device 101 may determine a data source of the to-be-processed data in response to receiving the to-be-processed data 102. In the application scenario, the data to be processed includes information source, duration, and information type. Wherein, the information source is local information. The duration was 15 seconds. The information type is video information. Then, the processing mode corresponding to the data source is determined based on at least one piece of configuration information 103. In the present application scenario, two pieces of configuration information are included. Each piece of configuration information comprises a data source and a processing mode. The first piece of configuration information data source is local information, and the processing mode is a 5-second threshold value. The second configuration information data source is a bidding platform, and the processing mode is a 10-second threshold value. And then, processing the data based on the processing mode corresponding to the data source. In the application scenario, the data source is local information, and the corresponding processing mode is a 5-second threshold. The data to be processed is processed to obtain the viewing times of 3 times, and further processed data 104 is obtained. Then, the data type of the processed data 104 is determined to be "viewing data" based on the "data type" field in the processed data 104. Finally, the processed data 104 is added to the data queue 105 corresponding to the "viewing data".
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of a plurality of servers or electronic devices, or may be implemented as a single server or a single electronic device. When the computing device is embodied as software, it may be implemented as multiple pieces of software or software modules, for example, to provide distributed services, or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices 101 in FIG. 1 is merely illustrative. There may be any number of computing devices 101, as desired for implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of a data processing method according to the present disclosure is shown. The data processing method comprises the following steps:
step 201, in response to receiving the data to be processed, determining a data source of the data to be processed based on field information in the data to be processed.
In some embodiments, the executing entity of the data processing method (e.g., the computing device shown in fig. 1) may receive the data to be processed through a wired connection or a wireless connection. It should be noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
In some embodiments, the to-be-processed data includes a field characterizing the to-be-processed data source, and on this basis, the execution subject may determine a value of the field as the data source information. For example, the above fields may be "data Source: local ".
Step 202, determining a processing mode of the data to be processed based on configuration information and a data source, wherein the configuration information includes a combination of at least one data source information and processing mode information.
In some embodiments, the data source information may be a preset number of the data source. On this basis, the execution body may first determine the number of the data source. And then, determining the configuration information corresponding to the data source from the at least one piece of configuration information based on the number. Then, the processing method represented by the processing method information in the configuration information corresponding to the data source is determined as the processing method of the data source.
In some optional implementations in some embodiments, the data source information may also be a data source name. On this basis, the execution body may first determine the configuration information corresponding to the data source from the at least one piece of configuration information based on the data source name. Then, the processing method represented by the processing method information in the configuration information corresponding to the data source is determined as the processing method of the data source. The embodiments adopting the implementation mode enable the manual identification of the data source information to be more convenient by directly using the data source name as the data source information.
In some embodiments, the at least one configuration information may be stored in a table file.
In some optional implementation manners of some embodiments, the at least one piece of configuration information may also be stored in a database file acquired in advance. Because of the programmable editing nature of the database file, these embodiments employing this implementation may more easily locate the configuration information.
In some embodiments, the processing manner may include: and (4) data filtering rules.
In some embodiments, the processing manner may further include: field naming rules, data index criteria.
And 203, processing the data to be processed by using the processing mode to obtain the processed data.
In some optional implementation manners of some embodiments, the executing main body processes the data to be processed by using the processing manner, and may add a new field determined according to an existing field of the data to be processed to the data to be processed.
In some optional implementation manners of some embodiments, the execution main body processes the to-be-processed data by using the processing manner, and may also delete a to-be-deleted field preset in the to-be-processed data.
In some embodiments, the processing mode comprises a field naming rule and a data index rule. On this basis, the processing of the to-be-processed data by the execution main body includes: and carrying out numerical calculation on some existing fields to obtain a calculation result as a value of a new field, and naming the new field according to a field naming rule. And judging the data index criteria of some existing fields to obtain new fields, and naming the new fields according to the field naming rules. As an example, the above-mentioned data to be processed includes fields of "total viewing time" and "number of views", whose field values are 15s and 3 times, respectively. The execution body may regard a ratio "5 s/time" of the value of the "total viewing time" field to the value of the "number of viewing times" field as a value of a new field, and designate the new field as "average viewing time". Then, the executing body may further perform data index criterion judgment on the "average viewing time" field. For example, if the value of the above-mentioned "average viewing duration" field is greater than or equal to "3 s/time", the piece of data is "good data", and otherwise "bad data". Thus, a new field named "data property" is generated.
Step 204, determining the data type of the processed data based on the field information in the processed data.
In some embodiments, the processed data includes a field characterizing the data source of the processed data, and on the basis, the execution subject may determine a value of the field as the data type information. For example, the above field may be "data type: viewing data ".
Step 205, adding the processed data into a data queue corresponding to the data type.
Some embodiments of the present disclosure provide methods that improve the efficiency of data processing for multiple data sources by using configuration information to determine the manner in which data from different data sources is processed. And the realization of data source extension is more convenient.
With further reference to FIG. 3, a flow 300 of further embodiments of a data processing method is shown. The flow 300 of the data processing method includes the following steps:
step 301, in response to receiving the data to be processed, determining a data source of the data to be processed based on field information in the data to be processed.
In some embodiments, the specific implementation of step 301 and the technical effect thereof may refer to step 201 in the embodiment corresponding to fig. 2, and are not described herein again.
Step 302, based on the data sources, determining a combination of data source information and processing mode information from combinations of at least one data source information and processing mode information in the configuration information.
In some embodiments, the data source information may be a preset number for different data sources. On this basis, the execution main body may determine a combination of one data source information and processing method information from combinations of at least one data source information and processing method information in the configuration information by using preset numbers of different data sources.
In some embodiments, the data source information may also be names for different data sources. On this basis, the execution subject may determine a combination of the data source information and the processing method information from among combinations of at least one of the data source information and the processing method information in the configuration information by names of different data sources.
Step 303, determining the processing mode represented by the data source information, the processing mode information and the processing mode information in the combination as the processing mode of the data to be processed.
And 304, processing the data to be processed by using a processing mode to obtain processed data.
Step 305, determining the data type of the processed data based on the field information in the processed data.
Step 306, adding the processed data into a data queue corresponding to the data type.
In some embodiments, the specific implementation of steps 304 and 306 and the technical effects thereof can refer to steps 203 and 205 in the embodiment corresponding to fig. 2, which are not described herein again.
Step 307, in response to receiving the updated configuration information input by the user, determining the updated configuration information as the configuration information.
As can be seen from fig. 3, compared with the description of some embodiments corresponding to fig. 2, the flow 300 of the data processing method in some embodiments corresponding to fig. 3 embodies the step of updating the configuration information. Therefore, the solutions described in the embodiments can adjust the processing modes of different data sources at any time according to actual needs by updating the configuration information.
With further reference to fig. 4, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a data processing apparatus, which correspond to those of the method embodiments shown in fig. 2, and which may be applied in particular in various electronic devices.
As shown in fig. 4, the data processing apparatus 400 of some embodiments includes: a first determining unit 401, a second determining unit 402, a processing unit 403, a third determining unit 404 and a joining unit 405. The first determining unit 401 is configured to, in response to receiving the data to be processed, determine a data source of the data to be processed based on field information in the data to be processed; a second determining unit 402, configured to determine a processing manner of the data to be processed based on configuration information and a data source, wherein the configuration information includes a combination of at least one data source information and processing manner information; a processing unit 403, configured to process data to be processed by using a processing manner, so as to obtain processed data; a third determining unit 404 configured to determine a data category to which the processed data belongs based on field information in the processed data; and an adding unit 405 configured to add the processed data to a data queue corresponding to the data category.
In an optional implementation of some embodiments, the second determining unit 402 is further configured to: determining a combination of data source information and processing mode information from combinations of at least one of the data source information and the processing mode information in the configuration information based on the data source; and determining the processing mode represented by the data source information, the processing mode information and the processing mode information in the combination as the processing mode of the data to be processed.
In an optional implementation of some embodiments, the processing unit 403 is further configured to: and adding a new field determined according to the existing field of the data to be processed into the data to be processed.
In an optional implementation of some embodiments, the processing unit 403 is further configured to: deleting the fields to be deleted preset in the data to be processed.
In an optional implementation of some embodiments, the apparatus further comprises: a fourth determining unit configured to determine the updated configuration information as the configuration information in response to receiving the updated configuration information input by the user.
In an alternative implementation of some embodiments, the configuration information is stored in a database file.
It will be understood that the elements described in the apparatus 400 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 400 and the units included therein, and will not be described herein again.
Referring now to fig. 5, a schematic diagram of an electronic device (e.g., the server or terminal device of fig. 1) 500 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device in some embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 5 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some 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 some such embodiments, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program, when executed by the processing device 501, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may 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 some embodiments of the disclosure, 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 some embodiments of the present disclosure, 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to receiving the data to be processed, determining a data source of the data to be processed based on field information in the data to be processed; determining a processing mode of data to be processed based on configuration information and a data source, wherein the configuration information comprises a combination of at least one data source information and processing mode information; processing the data to be processed by using a processing mode to obtain processed data; determining the data type of the processed data based on the field information in the processed data; and adding the processed data into a data queue corresponding to the data type.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
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 disclosure. 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 and/or flowchart illustration, and combinations of blocks in the block diagrams and/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 units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first determining unit, a second determining unit, a processing unit, a third determining unit, and a joining unit. The names of these units do not in some cases constitute a limitation on the units themselves, and for example, a processing unit may also be described as a "unit that processes data".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
According to one or more embodiments of the present disclosure, there is provided a data processing method including: in response to receiving the data to be processed, determining a data source of the data to be processed based on field information in the data to be processed; determining a processing mode of data to be processed based on configuration information and a data source, wherein the configuration information comprises a combination of at least one data source information and processing mode information; processing the data to be processed by using a processing mode to obtain processed data; determining the data type of the processed data based on the field information in the processed data; and adding the processed data into a data queue corresponding to the data type.
According to one or more embodiments of the present disclosure, determining a processing manner of the to-be-processed data based on the configuration information and the data source includes: determining a combination of data source information and processing mode information from combinations of at least one of the data source information and the processing mode information in the configuration information based on the data source; and determining the processing mode represented by the data source information, the processing mode information and the processing mode information in the combination as the processing mode of the data to be processed.
According to one or more embodiments of the present disclosure, the processing the data to be processed by using the processing method includes: and adding a new field determined according to the existing field of the data to be processed into the data to be processed.
According to one or more embodiments of the present disclosure, the processing the data to be processed by using the processing method includes: deleting the fields to be deleted preset in the data to be processed.
In accordance with one or more embodiments of the present disclosure, a method further comprises: and determining the updated configuration information as the configuration information in response to receiving the updated configuration information input by the user.
According to one or more embodiments of the present disclosure, the above configuration information is stored in a database file.
According to one or more embodiments of the present disclosure, there is provided a data processing apparatus including: the first determining unit is configured to respond to the received data to be processed and determine a data source of the data to be processed based on field information in the data to be processed; the second determining unit is configured to determine a processing mode of the data to be processed based on configuration information and a data source, wherein the configuration information comprises at least one combination of data source information and processing mode information; the processing unit is configured to process the data to be processed by using a processing mode to obtain processed data; a third determining unit configured to determine a data category to which the processed data belongs based on field information in the processed data; and the adding unit is configured to add the processed data into a data queue corresponding to the data type.
According to one or more embodiments of the present disclosure, the second determining unit is further configured to: determining a combination of data source information and processing mode information from combinations of at least one of the data source information and the processing mode information in the configuration information based on the data source; and determining the processing mode represented by the data source information, the processing mode information and the processing mode information in the combination as the processing mode of the data to be processed.
In accordance with one or more embodiments of the present disclosure, the processing unit is further configured to: and adding a new field determined according to the existing field of the data to be processed into the data to be processed.
In accordance with one or more embodiments of the present disclosure, the processing unit is further configured to: deleting the fields to be deleted preset in the data to be processed.
According to one or more embodiments of the present disclosure, an apparatus further comprises: a fourth determining unit configured to determine the updated configuration information as the configuration information in response to receiving the updated configuration information input by the user.
According to one or more embodiments of the present disclosure, the above configuration information is stored in a database file.
According to one or more embodiments of the present disclosure, there is provided an electronic device including: one or more processors; a storage device having one or more programs stored thereon which, when executed by one or more processors, cause the one or more processors to implement a method as in any above.
According to one or more embodiments of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the method as any one of the above.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A method of data processing, comprising:
in response to receiving data to be processed, determining a data source of the data to be processed based on field information in the data to be processed;
determining a processing mode of the data to be processed based on configuration information and the data source, wherein the configuration information comprises a combination of at least one data source information and processing mode information;
processing the data to be processed by using the processing mode to obtain processed data;
determining the data category to which the processed data belongs based on field information in the processed data;
and adding the processed data into a data queue corresponding to the data type.
2. The method of claim 1, wherein the determining a processing manner of the data to be processed based on the configuration information and the data source comprises:
determining a combination of data source information and processing mode information from combinations of at least one of the data source information and the processing mode information in the configuration information based on the data source;
and determining the processing mode represented by the data source information, the processing mode information and the processing mode information in the combination as the processing mode of the data to be processed.
3. The method according to claim 1, wherein the processing the data to be processed by using the processing manner includes:
adding a new field determined according to the existing field of the data to be processed into the data to be processed.
4. The method according to claim 1, wherein the processing the data to be processed by using the processing manner includes:
deleting the preset fields to be deleted in the data to be processed.
5. The method of claim 1, wherein the method further comprises:
in response to receiving updated configuration information input by a user, determining the updated configuration information as the configuration information.
6. The method of claim 1, wherein the configuration information is stored in a database file.
7. A data processing apparatus comprising:
the device comprises a first determination unit and a second determination unit, wherein the first determination unit is configured to respond to the reception of data to be processed and determine a data source of the data to be processed based on field information in the data to be processed;
a second determining unit configured to determine a processing manner of the data to be processed based on configuration information and the data source, wherein the configuration information includes a combination of at least one data source information and processing manner information;
the processing unit is configured to process the data to be processed by using the processing mode to obtain processed data;
a third determining unit configured to determine a data category to which the processed data belongs based on field information in the processed data;
and the adding unit is configured to add the processed data into a data queue corresponding to the data type.
8. The apparatus of claim 7, wherein the second determining unit is further configured to:
determining a combination of data source information and processing mode information from combinations of at least one of the data source information and the processing mode information in the configuration information based on the data source;
and determining the processing mode represented by the data source information, the processing mode information and the processing mode information in the combination as the processing mode of the data to be processed.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-6.
CN202011034715.0A 2020-09-27 2020-09-27 Data processing method, device, equipment and computer readable medium Pending CN112100205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011034715.0A CN112100205A (en) 2020-09-27 2020-09-27 Data processing method, device, equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011034715.0A CN112100205A (en) 2020-09-27 2020-09-27 Data processing method, device, equipment and computer readable medium

Publications (1)

Publication Number Publication Date
CN112100205A true CN112100205A (en) 2020-12-18

Family

ID=73782366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011034715.0A Pending CN112100205A (en) 2020-09-27 2020-09-27 Data processing method, device, equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN112100205A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821546A (en) * 2021-07-29 2021-12-21 北京金玖银玖数字科技有限公司 Real-time early warning method and device based on multivariate data layering

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818120A (en) * 2016-09-14 2018-03-20 博雅网络游戏开发(深圳)有限公司 Data processing method and device based on big data
CN109597912A (en) * 2018-12-05 2019-04-09 上海碳蓝网络科技有限公司 Method for handling picture
CN110618988A (en) * 2019-09-20 2019-12-27 中国银行股份有限公司 Data processing method and device based on big data platform
CN110909061A (en) * 2019-11-27 2020-03-24 恩亿科(北京)数据科技有限公司 Data source processing method and device, electronic equipment and storage medium
CN111400408A (en) * 2020-04-13 2020-07-10 上海东普信息科技有限公司 Data synchronization method, device, equipment and storage medium
CN111580890A (en) * 2020-05-18 2020-08-25 北京字节跳动网络技术有限公司 Method, apparatus, electronic device, and computer-readable medium for processing features

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818120A (en) * 2016-09-14 2018-03-20 博雅网络游戏开发(深圳)有限公司 Data processing method and device based on big data
CN109597912A (en) * 2018-12-05 2019-04-09 上海碳蓝网络科技有限公司 Method for handling picture
CN110618988A (en) * 2019-09-20 2019-12-27 中国银行股份有限公司 Data processing method and device based on big data platform
CN110909061A (en) * 2019-11-27 2020-03-24 恩亿科(北京)数据科技有限公司 Data source processing method and device, electronic equipment and storage medium
CN111400408A (en) * 2020-04-13 2020-07-10 上海东普信息科技有限公司 Data synchronization method, device, equipment and storage medium
CN111580890A (en) * 2020-05-18 2020-08-25 北京字节跳动网络技术有限公司 Method, apparatus, electronic device, and computer-readable medium for processing features

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821546A (en) * 2021-07-29 2021-12-21 北京金玖银玖数字科技有限公司 Real-time early warning method and device based on multivariate data layering

Similar Documents

Publication Publication Date Title
CN112311656B (en) Message aggregation and display method and device, electronic equipment and computer readable medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN110390493B (en) Task management method and device, storage medium and electronic equipment
CN111784712B (en) Image processing method, device, equipment and computer readable medium
CN110909521A (en) Synchronous processing method and device for online document information and electronic equipment
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111163324A (en) Information processing method and device and electronic equipment
CN111857720A (en) Method and device for generating user interface state information, electronic equipment and medium
CN110852720A (en) Document processing method, device, equipment and storage medium
CN111262907B (en) Service instance access method and device and electronic equipment
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN112100205A (en) Data processing method, device, equipment and computer readable medium
CN111596992A (en) Navigation bar display method and device and electronic equipment
CN111355784A (en) Method, device, medium and electronic equipment for processing request information
CN112507676B (en) Method and device for generating energy report, electronic equipment and computer readable medium
CN111580890A (en) Method, apparatus, electronic device, and computer-readable medium for processing features
CN113760929A (en) Data synchronization method and device, electronic equipment and computer readable medium
CN112685075A (en) Gray scale distribution method and device, electronic equipment and computer readable medium
CN113064704A (en) Task processing method and device, electronic equipment and computer readable medium
CN112100211A (en) Data storage method and device, electronic equipment and computer readable medium
CN112464039A (en) Data display method and device of tree structure, electronic equipment and medium
CN112488947A (en) Model training and image processing method, device, equipment and computer readable medium
CN111597439A (en) Information processing method and device and electronic equipment
CN111581246A (en) Method, device, electronic equipment and computer readable medium for generating data
CN111460020A (en) Method, apparatus, electronic device and medium for parsing message

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