CN117633038A - Activity data existence verification method and device - Google Patents

Activity data existence verification method and device Download PDF

Info

Publication number
CN117633038A
CN117633038A CN202311600731.5A CN202311600731A CN117633038A CN 117633038 A CN117633038 A CN 117633038A CN 202311600731 A CN202311600731 A CN 202311600731A CN 117633038 A CN117633038 A CN 117633038A
Authority
CN
China
Prior art keywords
data
activity
service
data information
query
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
CN202311600731.5A
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.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN202311600731.5A priority Critical patent/CN117633038A/en
Publication of CN117633038A publication Critical patent/CN117633038A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for verifying the existence of activity data, and relates to the technical field of Internet electronic commerce. One embodiment of the method comprises the following steps: the mapping relation between the activity and the service dimension is established, the target data source corresponding to the mapping relation is configured, the service mapping relation and the data information are queried for the activity, so that the activity query service is used for verifying the query and the existence of the activity under the service dimension label, the rapid verification of the activity data under different service dimensions is realized, and the data query efficiency is improved.

Description

Activity data existence verification method and device
Technical Field
The invention relates to the technical field of Internet electronic commerce, in particular to a method and a device for verifying the existence of activity data.
Background
Currently, on the internet e-commerce platform, the sales promotion of merchants is not counted, and the forms of sales promotion exist in various business dimensions, such as suppliers, distributors, platform merchants, inventory units (Stock Keeping Unit, SKUs), standardized product units (Standard Product Unit, SPUs), and the like. When commodity activities of the e-commerce platform are inquired, all activities in each dimension need to be traversed for inquiry. The existing internet e-commerce transaction platform has the characteristics of oversized personal user (Customer) end user quantity, oversized enterprise user (Business) end merchant, oversized class level and the like, and when traversing inquiry is carried out, the problems of higher cost and low efficiency can be generated due to excessive data.
Disclosure of Invention
In view of this, the embodiment of the invention provides a method and a device for verifying the existence of active data, which can improve the efficiency of active data query and reduce the query cost.
To achieve the above object, according to a first aspect of an embodiment of the present invention, there is provided an activity data presence verification method, including:
creating active service dimension information and service system information;
configuring a target mapping relation based on the activity service dimension information and the service system information, wherein the target mapping relation is the mapping relation between the activity of the service system and the service dimension;
configuring a target data source of the target mapping relation;
transmitting the target mapping relation and the data information to an activity query service, wherein the activity query service is used for verifying the data information based on a received query request and the target mapping relation; the data information is the target data source or the data corresponding to the target data source.
Optionally, the sending the target mapping relationship and the data information to an active query service for the active query service to verify the data information based on the received query request and the target mapping relationship includes:
when the trigger condition is met, the target mapping relation and the data information are sent to an active query service, so that the active query service can verify the data information based on the received query request and the target mapping relation; the triggering condition comprises any one of the following: and receiving a data query request sent by the activity query service, reaching a preset period time point, and detecting incremental data information of the data information.
Optionally, when the data information is a target data source and the trigger condition is that incremental data information of the data information is detected, the method further includes, before the target mapping relation and the data information are sent to an active query service for the active query service to verify the data information based on the received query request and the target mapping relation:
and configuring a target increment data source of the target mapping relation.
Optionally, the sending the target mapping relation and the data information to the active query service for the active query service to verify the data information based on the received query request and the target mapping relation includes:
and sending the target mapping relation and the increment data information of the data information to an active query service in the form of Message Queue (MQ) asynchronous messages for verifying the increment data information of the data information by the active query service based on the received query request and the target mapping relation.
According to a second aspect of an embodiment of the present invention, there is provided an activity data presence verification method, including:
receiving a query request, wherein the query request comprises a query identifier;
determining data to be verified based on the query identifier;
verifying whether the data to be verified exist in the data information, wherein the data information is data obtained through the activity data existence verification method in the first aspect.
Optionally, whether the data to be verified exists in the verification data information includes:
and verifying the data information according to a preset method, wherein the preset method is at least one of a Bloom filter and a SET SET.
According to a third aspect of the embodiment of the present invention, there is provided an activity data presence verification apparatus including:
the creation module is used for creating the dimension information of the activity service and the service system information;
the configuration module is used for configuring a target mapping relation based on the activity service dimension information and the service system information, wherein the target mapping relation is the mapping relation between the activity of the service system and the service dimension; configuring a target data source of the target mapping relation;
the sending module is used for sending the target mapping relation and the data information to an activity query service, so that the activity query service can verify the data information based on the received query request and the target mapping relation; the data information is the target data source or the data corresponding to the target data source.
According to a fourth aspect of an embodiment of the present invention, there is provided an activity data presence verification apparatus including:
the receiving module is used for receiving a query request, wherein the query request comprises a query identifier;
the determining module is used for determining data to be verified based on the query identifier;
the verification module is configured to verify whether the data to be verified exists in the data information, where the data information is data obtained by any one of the activity data existence verification methods in the first aspect.
According to a fifth aspect of an embodiment of the present invention, there is provided an apparatus for data simulation, including:
one or more processors; storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the methods provided by the first or second aspect of the embodiments of the present invention.
According to a sixth aspect of embodiments of the present invention there is provided a computer readable medium having stored thereon a computer program which when executed by a processor implements the method provided by the first or second aspect of embodiments of the present invention.
One embodiment of the above invention has the following advantages or benefits: the method and the system can configure the corresponding target data source for the established mapping relation between the activities and the business dimensions, and can be used for verifying the mapping relation and the data information of the activity query service for the activity query and the existence of the activities under the business dimension labels by the activity query service, so that the rapid verification of the activity data under different business dimensions is realized, meanwhile, the incremental data is asynchronously sent to the activity query service, the verification of the existence of the activity data is carried out on the incremental data, the verified data quantity is further reduced, and the verification efficiency is improved.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a flow chart of a method for verifying the existence of activity data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of mapping table data stored in a database;
FIG. 3 is a flow chart of a method for verifying the existence of activity data according to an embodiment of the present invention;
FIG. 4 provides a flow chart of activity data presence verification;
FIG. 5 is a schematic diagram of the main modules of an activity data presence verification apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the primary modules of yet another activity data presence verification apparatus, according to an embodiment of the invention;
FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 8 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that, in the technical solution of the present disclosure, the related aspects of collecting, updating, analyzing, processing, using, transmitting, storing, etc. of the personal information of the user all conform to the rules of the related laws and regulations, and are used for legal purposes without violating the public order colloquial. Necessary measures are taken for the personal information of the user, illegal access to the personal information data of the user is prevented, and the personal information security, network security and national security of the user are maintained.
Fig. 1 is a flow chart of a method for verifying existence of activity data according to an embodiment of the present invention, as shown in fig. 1,
step S101, creating active service dimension information and service system information.
Firstly, creating an active service dimension label task at an active service dimension label heterogeneous platform management end, and creating promotion service system information accessed by the active service dimension label heterogeneous platform management end according to the created task; further, an active business dimension supported by the promotional business system is created. The business system information comprises basic information such as sales promotion business system codes, names of the sales promotion business systems, members of the sales promotion business systems and the like, and activity information contained in the business sales promotion systems; the campaign business dimension is the dimension in which the promotional campaign may exist, including, for example, store identification numbers (Identity Document, IDs), SKUs, SPUs, primary merchant numbers, secondary merchant numbers, and the like.
The created active service dimension label task is executed according to the configured execution frequency. The execution frequency is set according to the actual situation, and is not limited thereto.
Step S102, a target mapping relation is configured based on the activity service dimension information and the service system information, wherein the target mapping relation is the mapping relation between the activity of the service system and the service dimension.
Determining a mapping relationship between the activity and the service dimension according to the activity information in the service system information, for example: the business dimension contained in the activity 1 is 001 (store ID), 1001 (first class merchant number). And configuring the mapping relation between the determined activities and the service dimension in the system according to the determined mapping relation and the created activity service dimension. As shown in fig. 2, the configured mapping relationship is stored in a relational database management system (My Structured Query Language, mySQL) database in the form of a mapping relationship table. For example, the active ActNo1 presence service dimension includes Bizid1, bizid2, and Bizid3.syncFlag is an activity flag.
Step 103, configuring a target data source of the target mapping relation.
And configuring a target data source corresponding to the mapping relation table according to the configured target mapping relation, so as to be used for pulling corresponding data through the configured target data source in the later period. The target data source is a data source of a MySQL database or a data source of an ES database.
104, sending target mapping relation and data information to the activity query service, wherein the activity query service is used for verifying the data information based on the received query request and the target mapping relation; the data information is a target data source or data corresponding to the target data source.
And sending the target mapping relation table and the data information to the activity query service. When the data information is a target data source, a target mapping relation table and the target data source are sent to an active query service, the active query service pulls corresponding data according to the received target data source, and the pulled data is verified based on a query request and the target mapping relation table; when the data information is the data corresponding to the target data source, the corresponding data is pulled through the configured target data source, then the target mapping relation table and the pulled data are sent to the active query service, and the active query service directly verifies the pulled data based on the query request and the target mapping relation table.
According to the activity data existence verification method provided by the invention, the mapping relation between the activity and the service dimension can be established, the target data source corresponding to the mapping relation is configured, the service mapping relation and the data information are searched for the activity, so that the activity query service can be used for verifying the activity query and the existence under the service dimension label, the rapid verification of the activity data under different service dimensions is realized, and the data query efficiency is improved.
Optionally, the target mapping relationship and the data information are sent to the active query service, so that the active query service can verify the data information based on the received query request and the target mapping relationship, and the method comprises the following steps: when the trigger condition is met, sending target mapping relation and data information to the activity query service, wherein the activity query service is used for verifying the data information based on the received query request and the target mapping relation; the trigger condition includes any one of the following: and receiving a data query request sent by the activity query service, reaching a preset period time point, and detecting incremental data information of the data information.
When the target mapping relationship and the data information are transmitted to the active query service, the data can be transmitted based on the trigger condition. The method specifically comprises the following steps: the triggering condition is that when a data query request sent by the active query service is received, under the condition that the data query request sent by the active query service is received, the corresponding target mapping relation and data information are determined according to the identification of the query request, and the corresponding target mapping relation and data information are sent to the active query service. And when the triggering condition is that the time point of the preset period is reached, sending data to the activity query service according to the preset period, and when the time point of the preset period is reached, triggering to send the target mapping relation and the data information to the activity query service. The preset period is a preset time period, and may be set according to practical situations, which is not limited. And when the trigger condition is that the incremental data information of the data information is detected, if the configured target data source is detected to have the incremental data source or the data corresponding to the target data source has the incremental data, the target mapping relation and the data information are sent to the activity query service. At this time, the data information may be incremental data information or full data information.
Specifically, incremental data is detected by configuring an active business dimension label heterogeneous incremental synchronization task. The execution frequency of the task can be set according to actual conditions, preferably 1 time/min, and a good effect can be obtained. The task pulls the data of the data source at fixed time according to the set execution frequency, detects whether the incremental data exists, and sends the incremental data to the active query service when the incremental data exists.
According to the activity data existence verification method provided by the invention, the corresponding target data source can be configured for the established mapping relation between the activity and the service dimension, and the mapping relation and the data information can be searched for the activity, so that the activity query service can be used for verifying the query and the existence of the activity under the service dimension label, the rapid verification of the activity data under different service dimensions is realized, meanwhile, the incremental data is asynchronously sent to the activity query service, the verification of the existence of the activity data is carried out on the incremental data, the verified data volume is further reduced, and the verification efficiency is improved.
Optionally, when the data information is a target data source and the trigger condition is that incremental data information of the data information is detected, the target mapping relation and the data information are sent to the active query service, so that before the active query service verifies the data information based on the received query request and the target mapping relation, the method further includes: and configuring a target increment data source of the target mapping relation.
Specifically, when the data information is a configured target data source and the trigger condition is that incremental data of the data information is detected, the incremental data source of the target data source needs to be configured for acquiring the incremental data through the configured incremental data source.
Optionally, the target mapping relationship and the data information are sent to the active query service, so that the active query service can verify the data information based on the received query request and the target mapping relationship, and the method comprises the following steps: and sending the target mapping relation and the increment data information of the data information to the activity query service in the form of MQ asynchronous messages, wherein the increment data information is used for verifying the increment data information of the data information by the activity query service based on the received query request and the target mapping relation.
When the target mapping relation and the data information are sent to the active query service, the target mapping relation and the incremental data information can be sent in the form of an MQ asynchronous message when the incremental data exist in the data corresponding to the target data source.
According to the activity data existence verification method provided by the invention, the mapping relation between the activity and the service dimension can be established, the target data source corresponding to the mapping relation is configured, the mapping relation and the data information are mapped to the activity query service, and meanwhile, for incremental data, the incremental data can be sent to the activity query service in the form of asynchronous information to verify, so that the efficiency of activity data existence verification in the service dimension is improved, the data quantity to be verified is reduced, and the cost of activity query is reduced.
Fig. 3 is a flow chart of a method for verifying existence of activity data according to an embodiment of the present invention, as shown in fig. 3,
in step S301, a query request is received, the query request including a query identifier.
And receiving a query request sent by the C-terminal user, wherein the query request comprises a query identifier for indicating data to be queried. The query identifier may be a service system code identifier, a service system name identifier, etc.
Step S302, determining data to be verified based on the query identification.
And determining the to-be-verified activity and business dimension data in the data locally stored by the activity query service according to the query identification.
Step S303, verifying whether the data to be verified exists in the data information, wherein the data information is data obtained through an activity data existence verification method.
And verifying whether the data to be verified exist in the data information locally stored by the activity inquiry service, namely verifying the activity of the promotion service system and the service dimension of the activity in the data information. The data information locally stored by the activity query service is data obtained through the activity data existence verification method, namely the received data information sent by the activity business dimension label heterogeneous platform.
Specifically, the active query service performs data information verification by introducing a software development kit (Software Development Kit, SDK), and after receiving a query request, invokes a verification interface (Application Programming Interface, API) provided by the SDK to perform data information verification.
According to the activity data existence verification method provided by the invention, the corresponding mapping relation data and activity information can be obtained according to the received query request, and the existence verification of the activity data in the activity information is performed based on the query request, so that the rapid verification of the activity data under different service dimensions is realized, and the data query efficiency is improved.
Optionally, verifying whether the data information includes data to be verified includes: and verifying the data information according to a preset method, wherein the preset method is at least one of a Bloom filter and a SET SET. And selecting a preset method according to the number of service dimensions supported by the sales promotion service system. When the number of service dimensions is smaller than a preset threshold, a method for selecting the SET SET is adopted; and selecting a Bloom filter method when the number of service dimensions is not smaller than a preset threshold value.
According to the activity data existence verification method provided by the invention, the corresponding mapping relation data and activity information can be obtained according to the received query request, and the existence verification of the activity data in the activity information is carried out through the SET SET or the Bloom filter based on the query request, so that the quick verification of the activity data under different service dimensions is realized, the data volume of query is reduced, and the data query efficiency is improved.
FIG. 4 is a flowchart of activity data presence verification, where the B end is an executing end of the activity data presence verification method corresponding to FIG. 1; the C end is an execution end of the method for verifying the existence of the activity data corresponding to the figure 2. And creating a promotion activity at the end B, and storing the mapping relation between the created activity and the service dimension in a database MySQL. And the active service dimension label heterogeneous platform synchronizes or acquires data of the database MySQL or increases T+1 data, wherein T+1 is the execution frequency of the active service dimension label task. And performing active service dimension configuration, active service dimension data source configuration and active service dimension active tag data structure configuration on the acquired data, wherein the active service dimension data source configuration comprises a SET structure or a Bloom filter. The active business dimension active tag timing tasks are configured for acquiring active business dimension data. And issuing activity label data of the activity service dimension, and storing the mapping relation between the service dimension and the activity. The C-terminal promotional activity query request is sent to the promotional activity query service, i.e., JVW local. The promotional event query service performs activity presence verification in the business dimension based on the query request, including in particular Bloom filter or SET verification. The data verified by the promotional activity query service is data pulled from the active business dimension tag heterogeneous platform and the active business dimension tag delta change message sent by the heterogeneous platform through the message queue.
Fig. 5 is a schematic block diagram of an activity data presence verification apparatus 500 according to an embodiment of the present invention, where the main block diagram includes:
a creation module 501, configured to create active service dimension information and service system information;
the configuration module 502 is configured to configure a target mapping relationship based on the activity service dimension information and the service system information, where the target mapping relationship is a mapping relationship between the activity of the service system and the service dimension; configuring a target data source of a target mapping relation;
a sending module 503, configured to send the target mapping relationship and the data information to the active query service, so that the active query service verifies the data information based on the received query request and the target mapping relationship; the data information is a target data source or data corresponding to the target data source.
According to the activity data existence verification device provided by the embodiment of the invention, the mapping relation between the activity and the service dimension can be established, the target data source corresponding to the mapping relation is configured, and the service mapping relation and the data information are searched for the activity, so that the activity query service can be used for verifying the activity query and the existence under the service dimension label, the rapid verification of the activity data under different service dimensions is realized, and the data query efficiency is improved.
Optionally, the sending module 503 is configured to send the target mapping relationship and the data information to the active query service, for the active query service to verify the data information based on the received query request and the target mapping relationship, including: a sending module 503, configured to send, when the trigger condition is met, the target mapping relationship and the data information to the active query service, so that the active query service verifies the data information based on the received query request and the target mapping relationship; the trigger condition includes any one of the following: and receiving a data query request sent by the activity query service, reaching a preset period time point, and detecting incremental data information of the data information.
Optionally, the configuration module 502 is further configured to configure the target incremental data source of the target mapping relationship when the data information is the target data source and the trigger condition is the incremental data information of the detected data information.
Optionally, the sending module 503 is configured to send the target mapping relationship and the data information to the active query service, for the active query service to verify the data information based on the received query request and the target mapping relationship, including: a sending module 503, configured to send the incremental data information of the target mapping relationship and the data information to the active query service in the form of an MQ asynchronous message, for the active query service to verify the incremental data information of the data information based on the received query request and the target mapping relationship.
According to the activity data existence verification device provided by the invention, the mapping relation between the activity and the service dimension can be established, the target data source corresponding to the mapping relation is configured, the mapping relation and the data information are mapped to the activity query service, and meanwhile, for incremental data, the incremental data can be sent to the activity query service in the form of asynchronous information to verify, so that the efficiency of activity data existence verification in the service dimension is improved, the data quantity to be verified is reduced, and the cost of activity query is reduced.
Fig. 6 is a schematic diagram of main modules of an activity data presence verification apparatus 600 according to an embodiment of the present invention, as shown in the drawings, including:
a receiving module 601, configured to receive a query request, where the query request includes a query identifier;
a determining module 602, configured to determine data to be verified based on the query identifier;
the verification module 603 is configured to verify whether data to be verified exists in the data information, where the data information is data obtained by an active data existence verification method.
According to the activity data existence verification device provided by the embodiment of the invention, the corresponding mapping relation data and activity information can be obtained according to the received query request, and the existence verification is carried out on the activity data in the activity information based on the query request, so that the rapid verification of the activity data under different service dimensions is realized, and the data query efficiency is improved.
Optionally, the verification module 603 is configured to verify whether data to be verified exists in the data information, including: the verification module is used for verifying the data information according to a preset method, wherein the preset method is at least one of a Bloom filter and a SET SET.
According to the activity data existence verification device provided by the embodiment of the invention, corresponding mapping relation data and activity information can be obtained according to the received query request, and the existence verification of the activity data in the activity information is performed through the SET SET or the Bloom filter based on the query request, so that the quick verification of the activity data under different service dimensions is realized, the data volume of query is reduced, and the data query efficiency is improved.
Fig. 7 illustrates an exemplary system architecture 700 of an activity data presence verification method, an activity data presence verification method apparatus, to which embodiments of the invention may be applied.
As shown in fig. 7, a system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 is the medium used to provide communication links between the terminal devices 701, 702, 703 and the server 705. The network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 705 via the network 704 using the terminal devices 701, 702, 703 to receive or send messages or the like. Various communication client applications such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on the terminal devices 701, 702, 703.
The terminal devices 701, 702, 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 705 may be a server providing various services, such as a background management server (by way of example only) providing support for shopping-type websites browsed by users using the terminal devices 701, 702, 703. The background management server may analyze and process the received data such as the product information query request, and feedback the processing result (e.g., the target push information, the product information—only an example) to the terminal device.
It should be noted that, in the embodiment of the present invention, an activity data presence verification method is generally executed by the server 705, and accordingly, an activity data presence verification device is generally disposed in the server 705.
It should be understood that the number of terminal devices, networks and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, there is illustrated a schematic diagram of a computer system 800 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 8 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU) 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. The drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 801.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor includes a creation module, a configuration module, and a transmission module. The names of these modules do not constitute a limitation on the module itself in some cases, and for example, the creation module may also be described as "a module that creates active business dimension information and business system information".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include:
creating active service dimension information and service system information;
configuring a target mapping relation based on the activity service dimension information and the service system information, wherein the target mapping relation is the mapping relation between the activity of the service system and the service dimension;
configuring a target data source of the target mapping relation;
transmitting the target mapping relation and the data information to an activity query service, wherein the activity query service is used for verifying the data information based on a received query request and the target mapping relation; the data information is the target data source or the data corresponding to the target data source.
According to the technical scheme of the embodiment of the invention, the mapping relation between the activity and the service dimension is established, the target data source corresponding to the mapping relation is configured, the service mapping relation and the data information are inquired to the activity, so that the activity inquiry service can be used for verifying the inquiry and the existence of the activity under the service dimension label, the rapid verification of the activity data under different service dimensions is realized, and the data inquiry efficiency is improved.
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 can occur depending upon 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 activity data presence verification, comprising:
creating active service dimension information and service system information;
configuring a target mapping relation based on the activity service dimension information and the service system information, wherein the target mapping relation is the mapping relation between the activity of the service system and the service dimension;
configuring a target data source of the target mapping relation;
transmitting the target mapping relation and the data information to an activity query service, wherein the activity query service is used for verifying the data information based on a received query request and the target mapping relation; the data information is the target data source or the data corresponding to the target data source.
2. The method of claim 1, wherein the sending the target mapping relationship and the data information to an active query service for the active query service to verify the data information based on the received query request and the target mapping relationship comprises:
when the trigger condition is met, the target mapping relation and the data information are sent to an active query service, so that the active query service can verify the data information based on the received query request and the target mapping relation; the triggering condition comprises any one of the following: and receiving a data query request sent by the activity query service, reaching a preset period time point, and detecting incremental data information of the data information.
3. The method of claim 1 or 2, wherein when the data information is a target data source and the trigger condition is detection of incremental data information of the data information, the sending the target mapping relationship and data information to an active query service for use by the active query service prior to validating the data information based on the received query request and the target mapping relationship, the method further comprising:
and configuring a target increment data source of the target mapping relation.
4. The method of claim 1 or 2, wherein the sending the target mapping relationship and data information to an active query service for the active query service to verify the data information based on the received query request and the target mapping relationship comprises:
and sending the target mapping relation and the incremental data information of the data information to an active query service in the form of a message queue MQ asynchronous message for verifying the incremental data information of the data information by the active query service based on the received query request and the target mapping relation.
5. A method of activity data presence verification, comprising:
receiving a query request, wherein the query request comprises a query identifier;
determining data to be verified based on the query identifier;
verifying whether the data to be verified exists in data information, wherein the data information is data obtained through the activity data existence verification method according to any one of claims 1-4.
6. The method of claim 5, wherein verifying whether the data to be verified is present in the data information comprises:
and verifying the data information according to a preset method, wherein the preset method is at least one of a Bloom filter and a SET SET.
7. An activity data presence verification apparatus, comprising:
the creation module is used for creating the dimension information of the activity service and the service system information;
the configuration module is used for configuring a target mapping relation based on the activity service dimension information and the service system information, wherein the target mapping relation is the mapping relation between the activity of the service system and the service dimension; configuring a target data source of the target mapping relation;
the sending module is used for sending the target mapping relation and the data information to an activity query service, so that the activity query service can verify the data information based on the received query request and the target mapping relation; the data information is the target data source or the data corresponding to the target data source.
8. An activity data presence verification apparatus, comprising:
the receiving module is used for receiving a query request, wherein the query request comprises a query identifier;
the determining module is used for determining data to be verified based on the query identifier;
the verification module is used for verifying whether the data to be verified exist in the data information, wherein the data information is data obtained through the activity data existence verification method according to any one of claims 1-4.
9. An activity data presence verification apparatus, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-6.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-6.
CN202311600731.5A 2023-11-28 2023-11-28 Activity data existence verification method and device Pending CN117633038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311600731.5A CN117633038A (en) 2023-11-28 2023-11-28 Activity data existence verification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311600731.5A CN117633038A (en) 2023-11-28 2023-11-28 Activity data existence verification method and device

Publications (1)

Publication Number Publication Date
CN117633038A true CN117633038A (en) 2024-03-01

Family

ID=90028144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311600731.5A Pending CN117633038A (en) 2023-11-28 2023-11-28 Activity data existence verification method and device

Country Status (1)

Country Link
CN (1) CN117633038A (en)

Similar Documents

Publication Publication Date Title
CN108960691B (en) Method and device for determining article stock for server system
CN108897854B (en) Monitoring method and device for overtime task
CN107302597B (en) Message file pushing method and device
CN110866709A (en) Order combination method and device
CN110473036B (en) Method and device for generating order number
CN111737270A (en) Data processing method and system, computer system and computer readable medium
CN110795315A (en) Method and device for monitoring service
CN112884405A (en) Inquiry system and scheduling method thereof
CN111861745B (en) Service wind control method and device
CN110648089A (en) Method and device for determining delivery timeliness of articles
CN111324786A (en) Method and device for processing consultation problem information
CN111881329A (en) Account balance management method and system
CN112817562A (en) Service processing method and device
CN116450622B (en) Method, apparatus, device and computer readable medium for data warehouse entry
CN110928594A (en) Service development method and platform
CN113780915A (en) Service docking method and device
CN113761565A (en) Data desensitization method and apparatus
CN113112048A (en) Method and device for returning articles to warehouse
CN117633038A (en) Activity data existence verification method and device
CN113704222A (en) Method and device for processing service request
CN110309121B (en) Log processing method and device, computer readable medium and electronic equipment
CN113722193A (en) Method and device for detecting page abnormity
CN112131287A (en) Method and device for reading data
CN112785358A (en) Order fulfillment merchant access method and device
CN111833085A (en) Method and device for calculating price of article

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