Supercharge Your Innovation With Domain-Expert AI Agents!

Session filtering method and apparatus

A technology for filtering conditions and elements, applied in the database field, can solve problems such as waste of resources and complex session process, and achieve the effect of improving performance

Active Publication Date: 2017-07-07
BEIJING GRIDSUM TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for screening conversations, so as to at least solve the technical problem of complicated process of screening conversations according to index and dimension or relational conditions and waste of resources in the prior art distributed database

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Session filtering method and apparatus
  • Session filtering method and apparatus
  • Session filtering method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] According to an embodiment of the present invention, an embodiment of a method for screening sessions is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0026] figure 1 is a flowchart of a method for screening sessions according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0027] Step S102, acquiring a filter condition for filtering sessions, wherein the filter condition includes: an OR relationship between multiple index elements and / or multiple dimension elements.

[0028] Specifically, the above filter condition may be an OR relationship of an index element, may be an OR relationship ...

Embodiment 2

[0088] According to an embodiment of the present invention, an embodiment of an apparatus for screening sessions is provided, such as figure 2 As shown, the device includes the following: an acquisition unit 21 , a judgment unit 23 , a conversion unit 25 and a processing unit 27 .

[0089] Wherein, the obtaining unit 21 is configured to obtain a filter condition for filtering sessions, wherein the filter condition includes: an OR relationship of multiple index elements and / or multiple dimension elements.

[0090] Specifically, the above filter condition may be an OR relationship of an index element, may be an OR relationship of a dimension element, or may be an OR relationship of an index element and a dimension element.

[0091] For example, the above embodiments of the present invention will be described by taking the dimension as city and the index as visits as an example. Filtering conditions for filtering sessions can be set according to the user's needs. If the user ne...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a session filtering method and apparatus. The method comprises: obtaining filtering conditions for filtering a session, wherein the filtering conditions comprise: an or relationship between a plurality of index elements and / or a plurality of dimension elements; determining whether the filtering condition is the or relationship between the plurality of index elements and the plurality of dimension elements; when it is determined that the filtering condition is the or relationship between the plurality of index elements and the plurality of dimension elements, turning the filtering conditions into the index element filtering conditions; and extracting the session with the index elements satisfying the index element filtering conditions from the database, and obtaining the filtered session. According to the method and apparatus disclosed by the present invention, the technical problem of wasting of resources due to that in the distributed database of the prior art, the process of filtering the session according to the or relationship conditions between the indices and the dimensions is complicated is solved.

Description

technical field [0001] The invention relates to the field of databases, in particular to a method and device for screening sessions. Background technique [0002] In a distributed environment, currently commonly used query engines include structured databases with metadata such as Hive and Impala. In these structured databases with metadata, generally, the data of various events are recorded in various fact data tables. In the process of users accessing the Internet, there are generally various fact data tables representing user access behaviors such as session table (Session), page view table (PageView) and order table (Order), and these data tables can be identified by the user's session ID ( SessionID) to form all entities of the entire session. [0003] However, due to the poor correlation between data tables, when users need to obtain data from multiple fact tables that meet the indicators and dimension or relationship conditions from multiple dimensions, for example,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/2453G06F16/2457
Inventor 洪超相利
Owner BEIJING GRIDSUM TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More