Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments, which can be determined by one skilled in the art based on the embodiments in the present specification without any creative effort, shall fall within the protection scope of the present specification.
Embodiments of the present specification provide a method, a system, and a server for sensing a change of a business activity, so as to solve the problem that a change of a configuration item of a marketing link cannot be sensed and monitored in time at present. The embodiment of the present specification provides a business activity change perception method, and an execution subject of the method may be, but is not limited to, a server or an apparatus or system capable of being configured to execute the method provided by the embodiment of the present specification.
For convenience of description, the following description will be made of an embodiment of the method, taking an execution subject of the method as a server capable of executing the method as an example. It is understood that the implementation of the method by the server is merely an exemplary illustration and should not be construed as a limitation of the method.
Fig. 1 is a flowchart of a business activity change awareness method provided in an embodiment of the present specification, where the method in fig. 1 may be executed by a server, and as shown in fig. 1, the method may include:
step 110, monitoring the change of at least one target field of the target service field model in at least one target monitoring data table corresponding to the target data platform.
The target business field model is used for representing the incidence relation between the at least one target monitoring data table.
It should be understood that the target business field model may be used to characterize an association relationship between the at least one target monitoring data table, that is, at least one target monitoring data table is a correlated data table, for example, the target business field model may be a directed acyclic graph model, where one node of the target business field model corresponds to one target monitoring data table in the target data platform, and an edge in the directed acyclic graph model is used to represent an association relationship between two nodes connected by the edge and the corresponding target monitoring data table. For example, if there is an association between the field a1 of table a and the field B1 of table B, the target business domain model characterizes the association between table a and table B.
It is to be understood that the target business domain model may be used to characterize at least one target monitoring data table independently of each other, i.e. at least one target monitoring data table is a mutually independent data table. Illustratively, if table a, table B, and table C are independent data tables, the target business domain model characterizes the model formed by table a, table B, and table C.
It should be understood that the target business domain model may be used to characterize a target monitoring data table, for example, the a table is an activity rule table, the status field of the a table represents that the activity is in a gray level state, an outer gray state, a full amount state, etc., the sceneCode scan code of the a table represents a scene code, and the scene code uniquely corresponds to a certain card of the pay treasure tab.
Of course, the target business field model may be composed of a plurality of target business field sub-models, for example, the target business field model is a pay Bao Xinchun red packet, and the plurality of target business field sub-models may be a pay Bao Xinchun red packet of a pay Bao, a pay Bao Xinchun red packet of a Taobao, a pay Bao Xinchun red packet of a public praise, and a pay Bao Xinchun red packet of a UC browser, respectively.
And the target monitoring data table in the target data platform is obtained by synchronizing from at least one source database. The data in the target monitoring data table may be full data in at least one source database, or may be incremental data in at least one source database.
The at least one target field is used for configuring a parameter interval of the business activity behavior, that is, the target field belongs to a configuration item of the business activity behavior.
The steps can be realized as follows: and scanning at least one target field in at least one target monitoring data table in the target data platform according to a preset time interval so as to monitor whether the at least one target field in the at least one target monitoring data table is changed. Of course, other monitoring methods in the prior art may also be adopted, and the embodiments of the present description are not specifically limited.
Step 120, determining at least one business activity behavior of the data with changed at least one target field in the at least one target monitoring data table in the business data related to the target business field model based on the target business field model.
Wherein one of the service activity behaviors corresponds to a set of value ranges of at least one designated field in the target service domain model, and the value range may be a specific numerical value or a value interval. That is, the business activity behavior is a mapping of at least one specified field in the target business domain model.
Illustratively, for a certain target business domain model, when the value of field a in the target business domain model is a1, the corresponding business activity behavior is H1; when the value of field A in the target business domain model is A2, the corresponding business activity behavior is H2.
Exemplary, user age: 60 years old and older, 60 years old and younger; and (4) normal consumption: 0-1500 years old and older, 60 years old; 0-5000 below 60 years old; abnormal consumption: 60 years old and older, 1500 or older; 5000 or more under 60 years old; consumption: 3000, age: the age of 59 became 60.
In the embodiment of the present specification, a change of at least one target field in at least one target monitoring data table corresponding to a target data platform is monitored through a target service field model, and based on the target service field model, at least one service activity behavior to which service data associated in the target service field model belongs is determined for data in which the at least one target field in the at least one target monitoring data table has changed. Since the target monitoring data table in the target data platform is obtained by synchronizing from at least one source database, one of the business activity behaviors corresponds to a set of value ranges of at least one specified field in the target business domain model. Therefore, when the target field in at least one target monitoring data table changes, at least one business activity behavior of the data with the changed target field, to which the associated business data belongs, in the target business field model changes, so that the change of the configuration items of each marketing link in the business activity can be sensed, and the timely sensing and monitoring can be further realized.
Optionally, as an embodiment, the method for sensing a change of a business activity provided by the embodiment of the present specification may further include:
determining a changed business activity behavior of the at least one business activity behavior.
Optionally, as an embodiment, the method for sensing a change of a business activity provided by the embodiment of the present specification may further include:
and determining the processing operation matched with the changed business activity behavior.
The processing operation for determining the matching of the changed business activity behaviors may specifically be implemented as:
visually displaying the target monitoring data table corresponding to the changed business activity behavior; or,
displaying a target field corresponding to the changed business activity behavior and historical parameter data of the target field in a form of a list; or,
and sending alarm information aiming at the changed business activity behavior.
In the embodiment of the present specification, a target monitoring data table corresponding to a changed business activity behavior is visually displayed, or a target field corresponding to the changed business activity behavior and historical data of the target field are displayed in a list form, or alarm information is sent for the changed business activity behavior, so that a user can set or subscribe change perception and/or alarm of a certain target business field model, can set alarm rules, and the like, and can conveniently perceive and monitor in time.
Optionally, as an embodiment, the method for sensing a change of a business activity provided by the embodiment of the present specification may further include:
and determining a record corresponding to the changed data in the target monitoring data table corresponding to the vertex of the target service field model based on the changed data in at least one target field of the at least one target monitoring data table.
And the data corresponding to the vertex is the focus data of the service of the target service field model.
Optionally, as an embodiment, the method for sensing a change of a business activity provided by the embodiment of the present specification may further include:
and if the at least one changed target parameter exceeds the range of the change threshold, generating early warning prompt information of the failure of the change of the business activity behavior.
The range of the change threshold needs to be selected according to actual requirements, and the embodiment of the present specification is not particularly limited.
Illustratively, taking a value of which the change threshold range is greater than a value, for each business activity behavior, if a fund that is passed through a client is filtered according to a preset condition that status is released as negative, generating early warning prompt information that the change of the business activity behavior is invalid.
Optionally, as an embodiment, step 120 may specifically be implemented as:
inquiring first-layer service data of at least one target field in the at least one target monitoring data table in the target service field model based on a first-layer filtering condition;
splicing a second-layer filtering condition of the associated second-layer service data in the target service field model based on the first-layer service data and the target service field model; by analogy, obtaining an Nth layer of filtering conditions, wherein N is a positive integer greater than or equal to 1;
and determining at least one business activity behavior of the data with changed at least one target field in the at least one target monitoring data table, wherein the business data related to the data in the target business field model belongs to the data based on the filtering conditions from the first layer to the Nth layer and the target business field model.
For example, as shown in fig. 4, a schematic diagram of a target service domain model in an application scenario is shown, and the step may specifically be: the method comprises the steps of filtering change data A1 of a target business field model in the past time period of a node A based on a first layer of filtering conditions, connecting second layer filtering conditions of related second layer business data (B and C) in the target business field model based on the data A1 and the target business field model, filtering change data B1 and C1 in the past time period of the node B and the node C based on the second layer of filtering conditions, and the like to obtain an N layer of filtering conditions, filtering change data in the past time period of the node N based on the N layer of filtering conditions, and finally obtaining at least one business activity behavior of the related business data of the changed data in the target business field model.
In the embodiment of the present specification, a change of at least one target field in at least one target monitoring data table corresponding to a target data platform is monitored through a target service field model, and based on the target service field model, at least one service activity behavior to which service data associated in the target service field model belongs is determined for data in which the at least one target field in the at least one target monitoring data table has changed. Since the target monitoring data table in the target data platform is obtained by synchronizing from at least one source database, one of the business activity behaviors corresponds to a set of value ranges of at least one specified field in the target business domain model. Therefore, when the target field in at least one target monitoring data table changes, at least one business activity behavior of the data with the changed target field, to which the associated business data belongs, in the target business field model changes, so that the change of the configuration items of each marketing link in the business activity can be sensed, and the timely sensing and monitoring can be further realized.
Optionally, as an embodiment, the table data stored in the target data platform is stored in a predetermined data structure. For example, the table data stored in the target data platform may be stored in a Jason data structure, or the table data stored in the target data platform may be stored in an XML data structure, and so on.
The target data platform may be a ZSearch retrieval storage platform developed based on an open source system based on the money of amoeba. The Zsearch retrieval storage platform can establish indexes according to original column information, retrieval is conveniently carried out according to the column information, and the system is high in retrieval and query speed and good in expandability.
By adopting the target data platform for storing the table data in the preset data structure, the embodiment of the specification can store the data of different types of databases in a uniform mode, and can shield the difference of the storage structure of the underlying data.
The method of the embodiments of the present invention will be further described with reference to specific embodiments.
Fig. 2 and 3 are flowcharts illustrating a business activity change perception method provided by an embodiment of the present invention in an actual application scenario;
illustratively, as shown in fig. 2, the target data platform is a ZSearch retrieval storage platform, the at least one target monitoring data table is table 1, table 2, and table 3 … … table N, the at least one target business domain model is business domain model 1, business domain model 2, and business domain model 3 … … business domain model N, the business activity behaviors are business activity behavior 1, business activity behavior 2, and business activity behavior 3 … … business activity behavior N, and the monitoring for each business activity behavior is change monitoring 1, change monitoring 2, and change monitoring 3 … … change monitoring N, where the business domain model 2 is defined by table 1, table 2, and table N, and the business domain model 2 corresponds to the business activity behavior 1, the business activity behavior 2, and the business activity behavior 3 … … business activity behavior N.
Specifically, as shown in fig. 3, at 310, the data of the system 1 source database, the system 2 source database, the system 3 source database, the system 4 source database … … source database of system N are stored in the ZSearch storage platform in the form of json character strings.
At 320, monitoring the change of at least one target field in table 1, table 2, table 3 … … table N corresponding to the storage platform by the service domain model 2 or the service domain model 3 in the ZSearch.
At 330, based on the target business domain model, at least one business activity behavior (e.g., business activity behavior 1, business activity behavior 2, business activity behavior 3 … … business activity behavior N) to which the data associated with the business data in the target business domain model belongs is determined, wherein the data is changed in at least one target field of at least one target monitoring data table.
At 340, a changed business activity behavior of the at least one business activity behavior is determined, and a processing operation matching the changed business activity behavior (e.g., business activity behavior 1, business activity behavior 2, business activity behavior 3 … … business activity behavior N) is determined.
For example, the target monitoring data table corresponding to the changed business activity behavior is visually displayed, i.e., the change data table visualization shown in fig. 3.
For another example, the target field corresponding to the changed business activity behavior and the history data of the target field are displayed in a list form, that is, the change history large disk shown in fig. 3.
As another example, an alarm message, i.e. the monitoring subscription shown in fig. 3, is sent for the changed traffic activity behavior.
For details, reference is made to relevant contents in the embodiments of the present specification, and details are not described herein again.
In the embodiment of the present specification, a change of at least one target field in at least one target monitoring data table corresponding to a target data platform is monitored through a target service field model, and based on the target service field model, at least one service activity behavior to which service data associated in the target service field model belongs is determined for data in which the at least one target field in the at least one target monitoring data table has changed. Since the target monitoring data table in the target data platform is obtained by synchronizing from at least one source database, one of the business activity behaviors corresponds to a set of value ranges of at least one specified field in the target business domain model. Therefore, when the target field in at least one target monitoring data table changes, at least one business activity behavior of the data with the changed target field, to which the associated business data belongs, in the target business field model changes, so that the change of the configuration items of each marketing link in the business activity can be sensed, and the timely sensing and monitoring can be further realized.
The business activity change sensing method according to the embodiment of the present disclosure is described in detail above with reference to fig. 1 to 4, and the business activity change sensing system according to the embodiment of the present disclosure is described in detail below with reference to fig. 5.
Fig. 5 is a schematic structural diagram of a business activity change awareness system provided by an embodiment of the present specification, and as shown in fig. 5, the business activity change awareness system 400 may include:
a monitoring module 510, configured to monitor a change of at least one target field of a target service domain model in at least one target monitoring data table corresponding to a target data platform, where the target service domain model is used to represent an association relationship between the at least one target monitoring data table, and the target monitoring data table in the target data platform is obtained from at least one source database synchronously;
a first determining module 520, configured to determine, based on the target service domain model, at least one service activity behavior to which service data associated in the target service domain model belongs, of data in which at least one target field in the at least one target monitoring data table changes, where one service activity behavior corresponds to a set of value ranges of at least one specified field in the target service domain model.
In one embodiment, the business activity change awareness system 500 may include:
a second determining module 530, configured to determine a changed business activity behavior of the at least one business activity behavior.
In one embodiment, the business activity change awareness system 500 may include:
a generating module 540, configured to generate an early warning prompt message that the change of the business activity behavior is invalid if the value range of the changed at least one specified field exceeds the change threshold range.
In an embodiment, the target service domain model is a directed acyclic graph model, one node of the target service domain model corresponds to one target monitoring data table in the target data platform, and an edge in the directed acyclic graph model is used for representing an association relationship between the target monitoring data tables corresponding to two nodes connected by the edge.
In an embodiment, based on data that changes in at least one target field of the at least one target monitoring data table, a record corresponding to the changed data in a target monitoring data table corresponding to a vertex of the target business domain model is determined, where the data corresponding to the vertex is focus data of a business of the target business domain model.
In one embodiment, the first determining module 520 includes:
the query unit is used for querying first-layer service data of at least one target field in the at least one target monitoring data table in the target service field model based on a first-layer filtering condition;
the splicing unit is used for splicing a second layer of filtering conditions of the associated second layer of service data in the target service field model based on the first layer of service data and the target service field model; by analogy, obtaining an Nth layer of filtering conditions, wherein N is a positive integer greater than or equal to 1;
a determining unit, configured to determine, based on the first to nth filtering conditions and the target service domain model, at least one service activity behavior to which service data associated in the target service domain model belongs, of data in which at least one target field in the at least one target monitoring data table changes.
In one embodiment, the table data stored in the target data platform is stored in a predetermined data structure.
In one embodiment, the business activity change awareness system 500 may include:
a third determining module 550, configured to determine a processing operation that matches the changed business activity behavior.
In one embodiment, the second determining module 550 comprises:
the visual display unit is used for visually displaying the target monitoring data table corresponding to the changed business activity behavior; or,
the list display unit is used for displaying the target parameters corresponding to the changed business activity behaviors and the historical parameters of the target parameters in a list form; or,
and the generating unit is used for sending alarm information aiming at the changed business activity behavior.
In the embodiment of the present specification, a change of at least one target field in at least one target monitoring data table corresponding to a target data platform is monitored through a target service field model, and based on the target service field model, at least one service activity behavior to which service data associated in the target service field model belongs is determined for data in which the at least one target field in the at least one target monitoring data table has changed. Since the target monitoring data table in the target data platform is obtained by synchronizing from at least one source database, one of the business activity behaviors corresponds to a set of value ranges of at least one specified field in the target business domain model. Therefore, when the target field in at least one target monitoring data table changes, at least one business activity behavior of the data with the changed target field, to which the associated business data belongs, in the target business field model changes, so that the change of the configuration items of each marketing link in the business activity can be sensed, and the timely sensing and monitoring can be further realized.
Fig. 6 is a schematic structural diagram of a server provided in an embodiment of the present specification. Referring to fig. 6, at the hardware level, the server includes a processor, and optionally an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the server may also include hardware needed for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (peripheral component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 6, but that does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory to the memory and then runs the computer program to form the association device of the resource value-added object and the resource object on the logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:
monitoring the change of at least one target field of a target service field model in at least one target monitoring data table corresponding to a target data platform, wherein the target service field model is used for representing the incidence relation between the at least one target monitoring data table, and the target monitoring data table in the target data platform is synchronously obtained from at least one source database;
and determining at least one business activity behavior to which the business data related to the data with the changed at least one target field in the at least one target monitoring data table belongs in the target business field model based on the target business field model, wherein one business activity behavior corresponds to a group of value ranges of at least one specified field in the target business field model.
In the embodiment of the present specification, a change of at least one target field in at least one target monitoring data table corresponding to a target data platform is monitored through a target service field model, and based on the target service field model, at least one service activity behavior to which service data associated in the target service field model belongs is determined for data in which the at least one target field in the at least one target monitoring data table has changed. Since the target monitoring data table in the target data platform is obtained by synchronizing from at least one source database, one of the business activity behaviors corresponds to a set of value ranges of at least one specified field in the target business domain model. Therefore, when the target field in at least one target monitoring data table changes, at least one business activity behavior of the data with the changed target field, to which the associated business data belongs, in the target business field model changes, so that the change of the configuration items of each marketing link in the business activity can be sensed, and the timely sensing and monitoring can be further realized.
The business activity change awareness method disclosed in the embodiment of fig. 1 in this specification may be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in one or more embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with one or more embodiments of the present disclosure may be embodied directly in hardware, in a software module executed by a hardware decoding processor, or in a combination of the hardware and software modules executed by a hardware decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The server may further execute the service activity change sensing method of fig. 1 executed by the service activity change sensing system of fig. 5, which is not described herein again.
Of course, besides the software implementation, the server in this specification does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to a plurality of logic units, and may also be hardware or a logic device.
Embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a system for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction system which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
The foregoing description describes certain embodiments of the specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.