CN117609625A - Data processing method, device, electronic equipment and storage medium - Google Patents

Data processing method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117609625A
CN117609625A CN202311648477.6A CN202311648477A CN117609625A CN 117609625 A CN117609625 A CN 117609625A CN 202311648477 A CN202311648477 A CN 202311648477A CN 117609625 A CN117609625 A CN 117609625A
Authority
CN
China
Prior art keywords
identifier
data
tag information
target object
identifier sequence
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
CN202311648477.6A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202311648477.6A priority Critical patent/CN117609625A/en
Publication of CN117609625A publication Critical patent/CN117609625A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR 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/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/2431Multiple classes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a data processing method, a data processing device, electronic equipment and a storage medium. The method comprises the following steps: acquiring interaction data of a target object; matching an identifier sequence matched with the interactive data in a memory, wherein the memory stores at least one identifier sequence, and the identifier sequence comprises a preset number of identifiers; for each identifier, determining identifier content corresponding to the identifier according to a corresponding relation between the identifier and the identifier content; and generating tag information of the target object based on the identifier contents, and storing the tag information into a cache. The technical scheme of the embodiment of the invention can rapidly and accurately obtain the label information of the client under the condition of facing mass data, so that the client group analysis has higher performance.

Description

Data processing method, device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data processing method, a data processing device, electronic equipment and a storage medium.
Background
With the development of internet technology, networking of the interaction process is gradually rising, more and more functions are realized by means of the internet, and any interaction action can generate relevant interaction data, so that massive interaction data are generated. In order to provide a more accurate and personalized service, a service provider typically needs to perform a customer group analysis, i.e. obtain a label of a customer according to customer interaction data.
In the related art, manual mode is generally adopted to analyze the interactive data of the client to obtain the label information of the client. However, once the situation of mass guest group analysis occurs, the manual mode has the technical problems of lower processing efficiency and poorer accuracy. Therefore, it is desirable to provide a scheme for obtaining the label information of the customer more quickly and accurately.
Disclosure of Invention
The invention provides a data processing method, a data processing device, electronic equipment and a storage medium, so that label information of a client can be obtained rapidly and accurately under the condition of facing mass data, and the client group analysis has higher performance.
According to an aspect of the present invention, there is provided a data processing method comprising:
acquiring interaction data of a target object;
matching an identifier sequence matched with the interactive data in a memory, wherein the memory stores at least one identifier sequence, and the identifier sequence comprises a preset number of identifiers;
for each identifier, determining identifier content corresponding to the identifier according to a corresponding relation between the identifier and the identifier content;
and generating tag information of the target object based on the identifier contents, and storing the tag information into a cache.
Optionally, after the generating the tag information of the target object, the method further includes: and correspondingly storing the tag information and the interaction data into a first database.
Optionally, the method further comprises: receiving a data query instruction, wherein the data query instruction comprises an identifier to be queried and a query condition corresponding to the identifier to be queried; and reading target data meeting the query conditions from the first database, and performing data processing on the target data according to the query conditions to obtain a data query result corresponding to the data query instruction.
Optionally, the acquiring the interaction data of the target object includes: acquiring interaction data of at least one object to be processed, and publishing the interaction data to a distributed publish-subscribe message system; and selecting interaction data of an object to be processed from the distributed publish-subscribe message system by adopting a Flink technology as interaction data of a target object.
Optionally, the acquiring the interaction data of the at least one object to be processed includes: and acquiring interaction data of at least one object to be processed by adopting a mode of presetting a buried point.
Optionally, the method further comprises: the identifier sequence is stored in the form of a hash table.
Optionally, before the matching in the memory the identifier sequence matched with the interaction data, the method further comprises: reading the at least one identifier sequence from a second database configured with the at least one identifier sequence, and storing the read identifier sequence in memory.
According to another aspect of the present invention, there is provided a data processing apparatus. The device comprises:
the interactive data acquisition module is used for acquiring interactive data of the target object;
the identifier sequence matching module is used for matching the identifier sequence matched with the interactive data in a memory, wherein the memory stores at least one identifier sequence, and the identifier sequence comprises a preset number of identifiers;
an identifier content determining module, configured to determine, for each identifier, identifier content corresponding to the identifier according to a correspondence between the identifier and the identifier content;
and the tag information obtaining module is used for generating tag information of the target object based on the identifier contents and storing the tag information into a cache.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the data processing method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a data processing method according to any one of the embodiments of the present invention.
According to the technical scheme, interaction data of the target object are obtained; matching an identifier sequence matched with the interactive data in a memory, wherein the memory stores at least one identifier sequence, and the identifier sequence comprises a preset number of identifiers; for each identifier, determining identifier content corresponding to the identifier according to a corresponding relation between the identifier and the identifier content; and generating tag information of the target object based on the identifier contents, and storing the tag information into a cache. The technical scheme of the embodiment of the invention can rapidly and accurately obtain the label information of the client under the condition of facing mass data, so that the client group analysis has higher performance.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a data processing method according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of an identifier sequence suitable for a data processing method according to a first embodiment of the present invention.
FIG. 3 is a schematic diagram of a data processing apparatus according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be appreciated that prior to using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed and authorized of the type, usage range, usage scenario, etc. of the personal information related to the present disclosure in an appropriate manner according to the relevant legal regulations.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server or a storage medium for executing the operation of the technical scheme of the present disclosure according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
It will be appreciated that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
Example 1
Fig. 1 is a schematic flow chart of a data processing method according to a first embodiment of the present invention, where the method may be performed by a data processing device, and the data processing device may be implemented in hardware and/or software, and the data processing device may be configured in an electronic device such as a computer or a server, where the tag information of a target interaction object is obtained based on interaction data of the target interaction object.
As shown in fig. 1, the method of the present embodiment includes:
s110, acquiring interaction data of the target object.
The target object may be understood as an object that is currently required to perform a guest group analysis. By way of example, a target object may be understood as a client, such as a person or business. It should be noted that the customer group analysis may be used to obtain label information of the customer according to the interaction data of the customer. Interaction data may be understood as data generated based on the interaction. The interaction data may include user behavior and/or transaction data. Interaction data of a target object may be understood as data generated from interaction of the target object.
In an embodiment of the present invention, the obtaining the interaction data of the target object may include: acquiring interaction data of at least one object to be processed, and publishing the interaction data to a distributed publish-subscribe message system; and selecting interaction data of an object to be processed from the distributed publish-subscribe message system by adopting a Flink technology as interaction data of a target object.
The object to be processed may be understood as an object that needs to be subjected to guest group analysis. The number of objects to be processed may be one or more. In practical applications, the number of objects to be processed is typically a plurality. In the embodiment of the invention, the interactive data of the object to be processed is stored by adopting a distributed publish-subscribe message system (Kafka), so that the decoupling effect can be realized in the generation and processing of the interactive data. The interaction data of the target object can be determined more quickly by adopting the Flink technology, and the processing efficiency is improved.
Specifically, interactive data of at least one object to be processed is obtained. After the interaction data is obtained, the interaction data can be published into a distributed publish-subscribe message system. After the storage is completed, a link technology may be adopted to select interaction data of an object to be processed from interaction data of at least one object to be processed in the distributed publish-subscribe message system, that is, determine interaction data of the selected object to be processed. And then the interaction data of the selected object to be processed can be used as the interaction data of the target object. It is understood that the object to be processed corresponding to the selected interaction data is a target object.
In an embodiment of the present invention, the obtaining interaction data of at least one object to be processed may include: and acquiring interaction data of at least one object to be processed by adopting a mode of presetting a buried point. Specifically, the buried point is preset, that is, the buried point is preset. The number of the preset buried points may be one, two or more. For each object to be processed, interaction data generated by the object to be processed at the preset buried point can be acquired through at least one preset buried point.
S120, matching an identifier sequence matched with the interaction data in a memory, wherein the memory stores at least one identifier sequence, and the identifier sequence comprises a preset number of identifiers.
In the embodiment of the present invention, the storage location of the identifier sequence may be a memory. An identifier sequence is understood to be a sequence consisting of a preset number of identifiers. The preset number may be set according to practical requirements, and is not limited herein, for example, 100, 256, 512, or the like. The single identifier may be represented by a preset character, wherein the preset character may be expressed in the form of letters, numbers, or the like. Alternatively, a single identifier may be represented by a single digit. In an embodiment of the invention, identifiers at different positions in the identifier sequence correspond to different attributes. By way of example, the identifier sequence may be a 256-bit string consisting of 0 and 1. Wherein 0 may be characterized as not having the corresponding attribute. 1 may be characterized as having corresponding properties.
Illustratively, FIG. 2 is a schematic structural diagram of an identifier sequence that includes a plurality of sub-sequences, i.e., a plurality of tag classes. Tag major class 1, tag major class 2, tag major class 3, tag major class 4, tag major class 5, tag major class 6, tag major class 7, tag major class 8, tag major class 9, tag major class 10, tag major class 11, tag major class 12, tag major class 13, tag major class 14, tag major class 15, tag major class 16, and tag major class 17 as in fig. 2.
Along the above example, in order to quickly determine whether a customer is an important customer, a tag attribute may be set for the tag class, i.e., the tag class is set as an important tag. For example, tag major class 1, tag major class 2, tag major class 3, tag major class 4, tag major class 13, tag major class 14, tag major class 5, and tag major class 17 are set as important tags.
Specifically, after the interactive data of the target object is obtained, the interactive data can be analyzed, so that an analysis result can be obtained. And then the identifier sequence corresponding to the analysis result can be matched from the memory for storing the identifier sequence according to the analysis result, so as to obtain the identifier sequence matched with the interaction data.
In an embodiment of the present invention, before matching the identifier sequence corresponding to the interaction data from the memory for storing the identifier sequence, the method may further include: and analyzing the interactive data of the target object to obtain a preset number of identifiers corresponding to the interactive data. And further, each of the identifiers may be combined according to a constituent structure of the identifier sequence, thereby generating an identifier sequence corresponding to the interaction data. After the identifier sequence is generated, the identifier sequence may be stored in memory.
In the above embodiment of the present invention, before the matching in the memory of the identifier sequence matched with the interaction data, the method may further include: reading the at least one identifier sequence from a second database configured with the at least one identifier sequence, and storing the read identifier sequence in memory. Wherein the second database is understood as a database for storing at least one identifier sequence. Alternatively, the distributed storage system may be HBase (distributed storage system).
S130, for each identifier, determining the identifier content corresponding to the identifier according to the corresponding relation between the identifier and the identifier content.
Wherein the identifier content may be understood as the content corresponding to the identifier. For example, the identifier is 1, and the attribute information corresponding to the location where the identifier is located is age. The identification content is provided with attribute information corresponding to the position of the identifier. The correspondence between the identifier and the identifier content is understood to be the relationship between the identifier and the attribute information corresponding to the position index of the identifier in the identifier sequence.
In particular, for each identifier, a position index of the identifier in the identifier sequence may be determined. Further, attribute information corresponding to the identifier at the position index, i.e. identifier content corresponding to the identifier, may be determined based on a relation between the identifier and attribute information corresponding to the position index of the identifier in the identifier sequence.
On the basis of the above embodiment, the method may further include: the identifier sequence is stored in the form of a hash table. In the embodiment of the invention, the field corresponding to the key in the hash table can be used for storing the position index with the identifier of 1, and the field corresponding to the value in the hash table can be used for storing the attribute corresponding to the position index with the identifier of 1 and the sub-attribute subordinate to the attribute.
And S140, generating tag information of the target object based on the identifier contents, and storing the tag information into a cache.
Wherein the tag information can be understood as tag information generated based on each of the identifier contents. In the embodiment of the present invention, the tag information of the target object is generated based on each identifier content, specifically, each identifier content may be subjected to a combination process to obtain combined information, that is, the tag information of the target object. In the embodiment of the present invention, the tag information is stored in a cache, and specifically, the tag information may be written into a dis cache. In the embodiment of the invention, the tag information of the target object is processed by adopting the secondary cache mechanism, so that the guest group analysis can be performed more quickly, and the efficiency of the guest group analysis is improved.
In the embodiment of the invention, when the storage time length of the tag information stored in the cache reaches the preset time length, the tag information can be determined to be the expiration data. The tag information stored in the cache at this time is stale tag information. The preset time period may be set according to actual requirements, and is not specifically limited herein, for example, 8h, 24h, or 32h. Based on the method, the invalid tag information in the cache can be deleted, so that the cache occupation amount is reduced.
In the embodiment of the invention, after the tag information is stored in the cache, the tag information can be read from the cache after receiving the tag information inquiry operation for the target object. The tag information inquiry operation may be understood as an operation for inquiring tag information of a target object.
On the basis of the above embodiment, after the generating of the tag information of the target object, the method may further include: the tag information and the interaction data may be correspondingly stored to a first database. The first database is understood to be a database for storing tag information amount interaction data. Alternatively, the first database may be a clickHouse (column database management system).
On the basis of the above embodiment, the method may further include: receiving a data query instruction, wherein the data query instruction comprises an identifier to be queried and a query condition corresponding to the identifier to be queried; and reading target data meeting the query conditions from the first database, and performing data processing on the target data according to the query conditions to obtain a data query result corresponding to the data query instruction.
Where a data query instruction may be understood as an instruction for conducting a data query. In the embodiment of the invention, the data query instruction can comprise a query condition that an identifier to be queried corresponds to the identifier to be queried. The number of the identifiers to be queried may be one, two or more. The target data may be understood as data in the first database that meets the query conditions corresponding to the identifier to be queried. Alternatively, the target data may be derived from at least one of the interaction data, the sequence of identifiers, and the at least one identifier. The data query result can be understood as a query result obtained after the target data is subjected to data processing according to the query condition. In the embodiment of the invention, the query condition comprises a processing mode aiming at the target data.
Specifically, a data query instruction is received. After receiving the data query instruction, the data query instruction can be analyzed, so that a query condition of an identifier to be queried in the data query instruction and a query condition corresponding to the identifier to be queried is obtained. After determining the query condition, target data meeting the query condition can be read from the first database. After the target data is determined, the target data can be subjected to data processing according to the query conditions, so that a data query result corresponding to the data query instruction is obtained. Illustratively, performing data processing on the target data may include: and carrying out data aggregation processing on the target data.
On the basis of the above embodiment, whether or not the identifier corresponding to the specified position index in the identifier sequence of the target object is 1 may be determined in a loop manner. If yes, the target object can be determined to be an object needing to be focused on.
In the embodiment of the invention, the tag information is obtained by adopting a two-level cache mode, namely, the identifier sequence is stored in the memory, the tag information is stored in the cache, and the tag information is processed, so that frequent interaction with the database can be avoided, and the response speed is improved.
According to the technical scheme, interaction data of the target object are obtained; matching an identifier sequence matched with the interactive data in a memory, wherein the memory stores at least one identifier sequence, and the identifier sequence comprises a preset number of identifiers; for each identifier, determining identifier content corresponding to the identifier according to a corresponding relation between the identifier and the identifier content; and generating tag information of the target object based on the identifier contents, and storing the tag information into a cache. The technical scheme of the embodiment of the invention can rapidly and accurately obtain the label information of the client under the condition of facing mass data, so that the client group analysis has higher performance.
Example two
Fig. 3 is a schematic structural diagram of a data processing apparatus according to a second embodiment of the present invention. As shown in fig. 3, the apparatus includes: an interaction data acquisition module 210, an identifier sequence matching module 220, an identifier content determination module 230, and a tag information obtaining module 240.
The interaction data obtaining module 210 is configured to obtain interaction data of a target object; an identifier sequence matching module 220, configured to match an identifier sequence matched with the interaction data in a memory, where the memory stores at least one identifier sequence, and the identifier sequence includes a preset number of identifiers; an identifier content determining module 230, configured to determine, for each identifier, identifier content corresponding to the identifier according to a correspondence between the identifier and the identifier content; the tag information obtaining module 240 is configured to generate tag information of the target object based on each identifier content, and store the tag information in a cache.
According to the technical scheme, interaction data of the target object are acquired through the interaction data acquisition module; matching an identifier sequence matched with the interactive data in a memory through an identifier sequence matching module, wherein at least one identifier sequence is stored in the memory, and the identifier sequence comprises a preset number of identifiers; determining, by an identifier content determining module, for each identifier, identifier content corresponding to the identifier according to a correspondence between the identifier and the identifier content; and generating tag information of the target object based on the identifier contents through a tag information obtaining module, and storing the tag information into a cache. The technical scheme of the embodiment of the invention can rapidly and accurately obtain the label information of the client under the condition of facing mass data, so that the client group analysis has higher performance.
Optionally, the apparatus further comprises a data storage module; wherein, data storage module is used for:
and after generating the label information of the target object, correspondingly storing the label information and the interaction data into a first database.
Optionally, the apparatus further comprises: the data query module is used for:
receiving a data query instruction, wherein the data query instruction comprises an identifier to be queried and a query condition corresponding to the identifier to be queried;
and reading target data meeting the query conditions from the first database, and performing data processing on the target data according to the query conditions to obtain a data query result corresponding to the data query instruction.
Optionally, the interaction data acquisition module 210 is specifically configured to:
acquiring interaction data of at least one object to be processed, and publishing the interaction data to a distributed publish-subscribe message system;
and selecting interaction data of an object to be processed from the distributed publish-subscribe message system by adopting a Flink technology as interaction data of a target object.
Optionally, the interaction data acquisition module 210 is configured to:
and acquiring interaction data of at least one object to be processed by adopting a mode of presetting a buried point.
Optionally, the device further comprises a hash table establishment module; the hash table establishing module is used for:
the identifier sequence is stored in the form of a hash table.
Optionally, the apparatus further comprises an identifier sequence storage module; wherein, identifier sequence storage module is used for: reading at least one identifier sequence from a second database configured with the at least one identifier sequence before matching the identifier sequence matched with the interactive data in the memory, and storing the read identifier sequence in the memory.
The data processing device provided by the embodiment of the invention can execute the data processing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that each unit and module included in the data processing apparatus are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present invention.
Example III
Fig. 4 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as data processing methods.
In some embodiments, the data processing method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. One or more of the steps of the data processing method described above may be performed when the computer program is loaded into RAM 13 and executed by processor 11. Alternatively, in other embodiments, the processor 11 may be configured to perform the data processing method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of data processing, comprising:
acquiring interaction data of a target object;
matching an identifier sequence matched with the interactive data in a memory, wherein the memory stores at least one identifier sequence, and the identifier sequence comprises a preset number of identifiers;
for each identifier, determining identifier content corresponding to the identifier according to a corresponding relation between the identifier and the identifier content;
and generating tag information of the target object based on the identifier contents, and storing the tag information into a cache.
2. The method of claim 1, wherein after the generating tag information of the target object, the method further comprises:
and correspondingly storing the tag information and the interaction data into a first database.
3. The method according to claim 2, wherein the method further comprises:
receiving a data query instruction, wherein the data query instruction comprises an identifier to be queried and a query condition corresponding to the identifier to be queried;
and reading target data meeting the query conditions from the first database, and performing data processing on the target data according to the query conditions to obtain a data query result corresponding to the data query instruction.
4. The method of claim 1, wherein the obtaining interaction data for the target object comprises:
acquiring interaction data of at least one object to be processed, and publishing the interaction data to a distributed publish-subscribe message system;
and selecting interaction data of an object to be processed from the distributed publish-subscribe message system by adopting a Flink technology as interaction data of a target object.
5. The method of claim 4, wherein the obtaining interaction data for at least one object to be processed comprises:
and acquiring interaction data of at least one object to be processed by adopting a mode of presetting a buried point.
6. The method according to claim 1, wherein the method further comprises:
the identifier sequence is stored in the form of a hash table.
7. The method of claim 1, wherein prior to said matching in memory the identifier sequence that matches the interaction data, the method further comprises:
reading the at least one identifier sequence from a second database configured with the at least one identifier sequence, and storing the read identifier sequence in memory.
8. A data processing apparatus, comprising:
the interactive data acquisition module is used for acquiring interactive data of the target object;
the identifier sequence matching module is used for matching the identifier sequence matched with the interactive data in a memory, wherein the memory stores at least one identifier sequence, and the identifier sequence comprises a preset number of identifiers;
an identifier content determining module, configured to determine, for each identifier, identifier content corresponding to the identifier according to a correspondence between the identifier and the identifier content;
and the tag information obtaining module is used for generating tag information of the target object based on the identifier contents and storing the tag information into a cache.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the data processing method of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions for causing a processor to implement the data processing method of any one of claims 1-7 when executed.
CN202311648477.6A 2023-12-04 2023-12-04 Data processing method, device, electronic equipment and storage medium Pending CN117609625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311648477.6A CN117609625A (en) 2023-12-04 2023-12-04 Data processing method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311648477.6A CN117609625A (en) 2023-12-04 2023-12-04 Data processing method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117609625A true CN117609625A (en) 2024-02-27

Family

ID=89947823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311648477.6A Pending CN117609625A (en) 2023-12-04 2023-12-04 Data processing method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117609625A (en)

Similar Documents

Publication Publication Date Title
CN115145587A (en) Product parameter checking method and device, electronic equipment and storage medium
CN116881156A (en) Automatic test method, device, equipment and storage medium
CN116611411A (en) Business system report generation method, device, equipment and storage medium
CN114816578A (en) Method, device and equipment for generating program configuration file based on configuration table
CN114244795A (en) Information pushing method, device, equipment and medium
CN116955856A (en) Information display method, device, electronic equipment and storage medium
CN113761565A (en) Data desensitization method and apparatus
CN112887426B (en) Information stream pushing method and device, electronic equipment and storage medium
CN117609625A (en) Data processing method, device, electronic equipment and storage medium
CN117271840B (en) Data query method and device of graph database and electronic equipment
CN112948246B (en) AB test control method, device and equipment of data platform and storage medium
CN117150215B (en) Assessment result determining method and device, electronic equipment and storage medium
CN117492822B (en) Change contrast method, device, electronic equipment and storage medium
CN116401410B (en) Method, device, storage medium and equipment for accessing map data to multi-scene graph database
CN116628167B (en) Response determination method and device, electronic equipment and storage medium
CN117272970B (en) Document generation method, device, equipment and storage medium
CN116089459B (en) Data retrieval method, device, electronic equipment and storage medium
CN117272151A (en) Data processing method, device, equipment and storage medium
CN116796711A (en) Information summarizing method, device, equipment and medium based on vehicle parts
CN118093958A (en) Control method, device, equipment, storage medium and program product for data query
CN118012936A (en) Data extraction method, device, equipment and storage medium
CN116401269A (en) Data query method and device, electronic equipment and storage medium
CN115695542A (en) Target information determination method and device, electronic equipment and storage medium
CN117669570A (en) Information matching method and device, electronic equipment and storage medium
CN116204441A (en) Performance test method, device, equipment and storage medium of index data structure

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