CN112306312A - Data processing method, data processing system, information creating method and device - Google Patents

Data processing method, data processing system, information creating method and device Download PDF

Info

Publication number
CN112306312A
CN112306312A CN201910690742.4A CN201910690742A CN112306312A CN 112306312 A CN112306312 A CN 112306312A CN 201910690742 A CN201910690742 A CN 201910690742A CN 112306312 A CN112306312 A CN 112306312A
Authority
CN
China
Prior art keywords
chart
user
intention
data set
acquiring
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
CN201910690742.4A
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910690742.4A priority Critical patent/CN112306312A/en
Publication of CN112306312A publication Critical patent/CN112306312A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a data processing method, a data processing system, an information creating method and equipment. The data processing method comprises the following steps: responding to an interactive event triggered by a user through a session interface, and acquiring first session information generated in the interactive event; acquiring a first data set according to the first session information; generating a first visualization chart based on the first data set; and displaying the first visual chart on the conversation interface. According to the technical scheme provided by the embodiment of the application, a conversation interface is provided for a user, and the user can view a desired visual chart through simple conversation; the chart can be obtained more conveniently and quickly without using a professional tool or finding a professional data analyzer.

Description

Data processing method, data processing system, information creating method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method, a data processing system, an information creating method, and an information creating apparatus.
Background
In the big data era, important data can help users or enterprises to make scientific decisions, reduce decision risks and accelerate the entrance into the intelligent society.
Currently, if a user wants to view data (such as sales of a certain product) generated in a certain period (such as today or this week), the server will feed back all data meeting the requirement in the period. These data are not intuitive to the user and are of limited help for the user to work subsequently. To obtain an intuitive visual chart, a professional data analyst needs to be found to generate the visual chart.
Disclosure of Invention
In order to solve or improve the problems in the prior art, embodiments of the present application provide a data processing method, a data processing system, an information creating method, and an information creating apparatus.
In one embodiment of the present application, a data processing method is provided. The method comprises the following steps:
responding to an interactive event triggered by a user through a session interface, and acquiring first session information generated in the interactive event;
acquiring a first data set according to the first session information;
generating a first visualization chart based on the first data set;
and displaying the first visual chart on the conversation interface.
In another embodiment of the present application, a data processing system is provided. The data processing system includes:
the client is used for responding to an interactive event triggered by a user through a session interface and acquiring first session information generated in the interactive event; acquiring a first data set from a server or locally according to the first session information; generating a first visualization chart based on the first data set; displaying the first visual chart on the conversation interface;
and the server side maintains at least one database and is used for providing the required data set for the client side.
In yet another embodiment of the present application, a data processing method is provided. The method comprises the following steps:
acquiring session information;
determining user intention according to the session information;
determining a data set to be displayed as a visualization chart and available chart types according to the user intent.
In yet another embodiment of the present application, a data processing system is provided. The system comprises:
the client is used for responding to an interactive event triggered by a user through a session interface and sending session information generated in the interactive event to the server;
the server is used for acquiring session information; determining user intention according to the session information; determining a data set to be displayed as a visual chart and available chart types according to the user intention; sending the data set and the chart type to a client;
and the client is used for displaying the data set as a visual chart corresponding to the chart type in the session interface.
In yet another embodiment of the present application, an information creation method is provided. The method comprises the following steps:
creating an intention and its corresponding attributes;
configuring at least one chart type matched with the intention for the intention according to the attribute corresponding to the intention;
associating the intent with the at least one chart type.
In yet another embodiment of the present application, an electronic device is provided. The electronic equipment comprises a memory, a processor and a display; wherein the content of the first and second substances,
the memory is used for storing programs;
the processor, coupled with the memory, to execute the program stored in the memory to:
responding to an interactive event triggered by a user through the session interface, and acquiring first session information generated in the interactive event;
acquiring a first data set according to the first session information;
generating a first visualization chart based on the first data set;
controlling the display to present the first visual chart on a conversation interface.
In yet another embodiment of the present application, an electronic device is provided. The electronic device comprises a memory and a processor; wherein the content of the first and second substances,
the memory is used for storing programs;
the processor, coupled with the memory, to execute the program stored in the memory to:
acquiring session information;
determining user intention according to the session information;
determining a data set to be displayed as a visualization chart and available chart types according to the user intent.
In yet another embodiment of the present application, an electronic device is provided. The electronic device comprises a memory and a processor; wherein the content of the first and second substances,
the memory is used for storing programs;
the processor, coupled with the memory, to execute the program stored in the memory to:
creating an intention and its corresponding attributes;
configuring at least one chart type matched with the intention for the intention according to the attribute corresponding to the intention;
associating the intent with the at least one chart type.
According to the technical scheme provided by the embodiment of the application, a session interface is provided for a user, an interactive event triggered by the user through the session interface is responded, and a visual chart which the user wants to view is provided for the user according to session information generated in the interactive event; the chart can be obtained more conveniently and quickly without using a professional tool or finding a professional data analyzer.
According to the technical scheme provided by the other embodiment of the application, the user intention is determined according to the session information, and the data set to be displayed as the visual chart and the available chart type are determined according to the user intention; the data set which is more suitable for the real requirements of the user and a more suitable chart representation form are provided for the user.
In the technical scheme provided by another embodiment of the application, an intention and an attribute corresponding to the intention are created in advance; and then configuring at least one chart type matched with the intention so as to be convenient for inquiring an appropriate chart type based on the user intention subsequently, wherein the aim is to provide a more appropriate icon expression form for the user aiming at the user intention.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic view of an interface provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
FIG. 3 is a schematic view of another interface provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of intent and graph type relationships provided in accordance with an embodiment of the present application;
FIG. 5 is a schematic view of yet another interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an interface operation according to an embodiment of the present application;
FIG. 7 is a block diagram of a data processing system according to an embodiment of the present application;
fig. 8 is a schematic flowchart of a data processing method according to another embodiment of the present application;
fig. 9 is a schematic flowchart of a data processing method according to another embodiment of the present application;
fig. 10 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a data processing apparatus according to another embodiment of the present application;
fig. 12 is a schematic structural diagram of a data processing apparatus according to yet another embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The embodiments of the application provide a simple and fast chart generation scheme, and a user can obtain a required visual chart only through a simple conversation process.
To this end, embodiments of the present application provide a solution that is simpler to implement and more flexible in deployment. In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In some of the flows described in the specification, claims, and above-described figures of the present application, a number of operations are included that occur in a particular order, which operations may be performed out of order or in parallel as they occur herein. The sequence numbers of the operations, e.g., 101, 102, etc., are used merely to distinguish between the various operations, and do not represent any order of execution per se. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different. In addition, the embodiments described below are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 and fig. 2 are schematic flowcharts illustrating a data processing method according to an embodiment of the present application. As shown in fig. 1, the method includes:
101. and responding to an interactive event triggered by a user through a session interface, and acquiring first session information generated in the interactive event.
102. And acquiring a first data set according to the first session information.
103. Based on the first data set, a first visualization chart is generated.
104. And displaying the first visual chart on the conversation interface.
The execution subject of the method provided by this embodiment may be: can be an application installed in the terminal or an intelligent response function unit embedded in the application; the intelligent response system can also be a webpage version application opened through a browser or an intelligent response functional unit embedded in the webpage version application. FIG. 1 illustrates an example of a session interface presented by a user after opening the application. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an intelligent wearable device, a conversation robot, and the like.
In the foregoing 101, the interaction event may be triggered after the user inputs text information (such as a query statement or an answer statement) on the session interface, or triggered after the user inputs voice information through the session interface, and the like, which is not limited in this embodiment. The first session information generated in the interaction event may comprise one-turn session information or multiple-turn session information. For example, as shown in fig. 1, after the user successfully logs in and enters the session interface, "good morning, i is a word, and is happy to recognize you-"; the user inputs ' I want to view the payment amount of the woman's clothing ', namely a round of conversation is completed. Wherein the user input "i want to view the payment amount for the woman's clothing" is included in the first session information.
In the above 102, the user's intention can be analyzed according to the first session information, and the data set that the user wants to view can be located according to the intention, such as: yesterday's sales data for various periods, today's sales for various types of clothing, etc. The first data set may be obtained locally or from a server. The server may include, but is not limited to, at least one of the following: a physical server, a virtual server, or a cloud server. The server may maintain at least one database.
For example, the first session information contains a statement "i want to view the payment report of today's women's dress", and several keywords reflecting the user's intention, such as "today", "women's dress" and "payment amount", are obtained by analyzing the statement. Based on these several keywords, corresponding data can be obtained from local or server side to obtain the first data set.
In 103, the chart type of the first visual chart may include, but is not limited to: histograms, word clouds, pie charts, ring charts, radar maps, scatter plots, line graphs, graph graphs, bubble graphs, and the like. In particular implementations, the type of visualization chart that more suitably expresses the first data set may be determined based on user intent. For example, if the user's intent is to see the trend of the data, then the types suitable for presenting the trend of the data in the first data set over time may include histograms, line graphs, and graphs. In particular, a suitable type may be selected from the plurality of types, and the first visualization chart of the type may be generated from the first data set.
Referring to the page display effect shown in fig. 1, the user asks "i want to view payment data of women's clothing today", and feeds back a corresponding visual chart.
According to the technical scheme provided by the embodiment, a session interface is provided for a user, an interactive event triggered by the user through the session interface is responded, and a visual chart which the user wants to view is provided for the user according to session information generated in the interactive event; the chart can be obtained more conveniently and quickly without using a professional tool or finding a professional data analyzer.
In an implementation solution, the step 102 "obtaining the first data set according to the first session information" can be implemented by the following steps:
1021. and determining the user intention according to the first session information.
1022. Based on the user intent, a target database is located.
1023. And acquiring the first data set which accords with the user intention from the target database.
In an implementation solution, 1021 may be based on a neural network technology, and an intention recognition model is obtained by training with a large sample set. The intent recognition model may automatically extract keywords from the first session information. User intent is then determined based on the extracted keywords. The intention recognition model can be realized by using an LSTM-CNN (Long Short-Term Memory-Convolutional Neural Networks) model and the like. Namely, the step 1021 "determining the user intention according to the first session information" includes:
s1, processing the first session information to obtain at least one data type keyword;
s2, determining the user intention according to the keywords of the at least one data type.
Among other data types, data types may include, but are not limited to: time type, business domain type, dimension type, index type, equipment type, etc.
The above processing procedure of the first session information can be simply understood as follows: deconstructing the first session information using an intent recognition model as: and the data combination is formed by the data corresponding to the data types. For example, the first session information includes "business today" payment data for branded goods "deconstructed as: today + business + brand + combination of payment data. In particular, the above-described process of deconstructing session information may be accomplished by an intent recognition model. Namely, the first session information is used as the input of the intention recognition model, and the intention recognition model is executed to obtain the at least one keyword.
In the specific implementation, there is also a case where the first session information input by the user is missing. For example, the payment report of the product "platform" is the combination of the following components: platform + commodity + payment data. Wherein, the keyword corresponding to the time type is missing. In specific implementation, default values corresponding to the data types may be filled in for the missing keywords. For example, the time type, with a default value of "today". However, if not all data types have data missing, the completion can be filled by default. For example, the service domain type, the index type, etc. cannot be missing. In the absence of this type of data, a multi-turn dialog mechanism may be initiated, leading the user to complete the missing portion.
In S2, the user intention may be at least one keyword directly, or an intention attribute may be determined based on the at least one keyword, and then the at least one keyword and the intention attribute may be used together as the user intention. In specific implementation, the corresponding relationship between the deconstruction combination and the intention attribute can be configured in advance. For example, the corresponding relationship table of the deconstructed combinations and the intention attributes is shown in table 1 below.
TABLE 1 deconstructing combinations and user intention mapping tables
Deconstructing combination Intention Properties
Platform + commodity + payment data See data overview
Platform + goods/store + row Rows and lines of sight
…… ……
Platform + provinces + payment data See distribution
1022 and 1023, the user intention includes at least one data type of keyword, for example, a target database can be located by a service type and/or a dimension type; and determining the data collection range in the target database according to the time type and the index type.
Furthermore, in the process of determining the user intention, the attribute information of the user can be taken into account, so that the accuracy of determining the user intention is improved. That is, the method provided by this embodiment may further include the following steps:
105. and acquiring user attribute information.
Correspondingly, the step 1021 "determining the user intention according to the first session information" may specifically be:
s2', the user intention is determined according to the user attribute information and the first session information.
Wherein the user attribute information may include: user login name, user position, user business department, user portrait information, etc. For example, management level people may want to see trending charts to help them make more informed decisions. While for a general employee he may want to see a data summary chart or the like. In specific implementation, the user attribute information can also be used as a reference of an intention recognition model, and the intention recognition model is executed to obtain the at least one keyword; then, the user intention is determined again from the at least one keyword. Here, it should be noted that: the intention recognition model can be realized by selecting the existing Neural network model in the prior art, such as Convolutional Neural Networks (CNN), Long Short-Term Memory Networks (LSTM), LSTM-CNN and the like; this embodiment is not particularly limited thereto. In addition, the training process of the intention recognition model can be referred to in the related art, and is not described in detail herein.
Further, as shown in fig. 3, the method provided in the embodiment of the present application may further include the following steps:
106. and obtaining the chart type matched with the user intention.
Correspondingly, the step 103 "generating a first visualization chart based on the first data set" specifically includes: and generating the first visual chart according to the first data set and the chart type.
Further, the above 106 "obtaining the chart type matching the user's intention", wherein the snapping includes:
acquiring data analysis attributes corresponding to each chart type in a plurality of chart types; searching a chart type with data analysis attributes matched with the user intention from the plurality of chart types; or
Acquiring a corresponding relation between the intention and the chart type; and inquiring the chart type corresponding to the user intention according to the corresponding relation between the intention and the chart type.
For example, FIG. 4 shows the correspondence of intent to chart type. Of course, the map shown in the figure can also be characterized as the following table 2.
TABLE 2 correspondence table of intents and chart types
Intention to User intention
Overview of the see-through index Index card
To see the keyWord Heat overview Word cloud
See business overview Pointer card, bar chart
…… ……
In practical applications, the following may occur: the chart types matched with the user intention are multiple. For example, the user intent is to see the distribution of the various types of products of the platform, and the types of charts that can correspond to the user intent are: histograms, pie charts, ring charts, and radar charts. At this time, the method provided in this embodiment further includes:
107. and acquiring the associated information related to the user.
108. And selecting one chart type from a plurality of chart types matched with the user intention according to the associated information.
In 107, the association information related to the user may include: a record of a chart type selected historically by the user or a default chart type corresponding to the user's intent, etc. By selecting a chart type record on the user history, the user's preference for the chart type can be analyzed, for example, the preference of looking at the histogram and the graph is compared.
In the above 108, one user-preferred chart type or default chart type is selected from the plurality of chart types.
In order to better provide the chart for the user, the method provided by the embodiment may further include:
109. determining derived requirements based on the user intent.
110. And acquiring a second data set according to the derivation requirements.
Accordingly, the step 104 "generating a first visual chart based on the first data set" may specifically be: and generating the first visual chart according to the first data set and the second data set.
For example, the user's intent is to view today's platform woman payment amount, and its derivative demand may be "last year's same date's platform woman payment amount". See fig. 5 for a first visual chart showing platform woman payment today and the same year round platform woman payment.
In 109, the correspondence between the derived requirement and the user's intention may be configured in advance. In specific implementation, the derived requirement corresponding to a certain user intention can be queried by querying the corresponding relation between the derived requirement of the pre-configuration number and the user intention. Of course, in particular implementations, inference models may also be used. The inference model may be implemented by using a neural network model or an expert system in the prior art, which is not specifically limited in this embodiment.
When the first visual chart fed back cannot meet the user requirement, further, the method provided by this embodiment may further include:
111. second session information for the first visualization chart is obtained.
112. And re-determining the user intention according to the second session information.
113. Acquiring a third data set according to the re-determined user intention;
114. based on the third data set, a second visualization chart is generated.
The multi-turn dialogue mechanism is provided for the user, and the user can complement the information capable of really expressing the intention of the user through the multi-turn dialogue mechanism so as to generate a visual chart which is more fit with the real intention of the user.
Further, the method provided by this embodiment further includes:
115. and responding to a chart type switching event triggered by a user aiming at the first visual chart, and acquiring a target chart type pointed by the switching event.
116. And generating a fourth visual chart according to the first data set and the type of the target chart.
117. And switching and displaying the first visual chart into the fourth visual chart.
For example, as shown in FIG. 6, a user may touch the conversation interface
Figure BDA0002147794500000111
The control switches to the chart type of the current chart presentation. In one implementation, the user clicks
Figure BDA0002147794500000112
Thereafter, a drop down menu may appear. At least one switchable chart type is displayed in the pull-down menu, and when a user clicks a certain chart type, a visual chart with the switched chart types is displayed on the conversation interface.
Further, the method provided by this embodiment further includes:
118. and under the condition that the first session information does not meet the preset condition, outputting guide information to guide a user to input session information.
The preset condition in 118 is to determine whether there is a missing first session information, and if no useful information is obtained based on the first session information, a guidance question may be outputted to guide the user to input useful information.
The data processing method provided by the above embodiment can be implemented under the following system architecture. Specifically, as shown in fig. 6, the data processing system includes:
the client 201 is used for responding to an interactive event triggered by a user through a session interface and acquiring first session information generated in the interactive event; acquiring a first data set from a server or locally according to the first session information; generating a first visualization chart based on the first data set; displaying the first visual chart on the conversation interface;
the server 202 maintains at least one database for providing the client with the required data set.
Wherein the server comprises at least one of the following: cloud server, physical server and virtual server. The client can be any device such as a notebook computer, a desktop computer, a smart phone, a tablet computer, an intelligent wearable device (such as an intelligent watch), a conversation robot and the like. Client applications, such as an intelligent robot response application, an intelligent graph robot application, and the like, are installed on the client. The client can establish communication connection with the server in a wireless network mode or a wired network mode.
According to the technical scheme provided by the embodiment, a session interface is provided for a user, an interactive event triggered by the user through the session interface is responded, and a visual chart which the user wants to view is provided for the user according to session information generated in the interactive event; the chart can be obtained more conveniently and quickly without using a professional tool or finding a professional data analyzer.
The client may also implement the functions in the above method embodiments, which may be referred to in detail herein and will not be described in detail herein.
Fig. 8 is a flowchart illustrating a data processing method according to another embodiment of the present application. As shown, the method comprises:
301. and acquiring the session information.
302. And determining the user intention according to the session information.
303. Determining a data set to be displayed as a visualization chart and available chart types according to the user intent.
According to the technical scheme provided by the embodiment, the user intention is determined according to the session information, and the data set to be displayed as the visual chart and the available chart type are determined according to the user intention; the data set which is more suitable for the real requirements of the user and a more suitable chart representation form are provided for the user.
Further, the step 303 "determining the data set to be displayed as the visual chart and the available chart types according to the user intention" includes:
3031. and positioning target data according to the user intention.
3032. And acquiring the data set which accords with the user intention from the target data.
3033. And acquiring the chart type matched with the user intention as the available icon type.
Further, the aforementioned 3033 "obtaining the chart type matched with the user's intention" may include:
acquiring data analysis attributes corresponding to each chart type in a plurality of chart types; searching a chart type with data analysis attributes matched with the user intention from the plurality of chart types; or
Acquiring a corresponding relation between the intention and the chart type; and inquiring the chart type corresponding to the user intention according to the corresponding relation between the intention and the chart type.
Here, it should be noted that: for the above steps 3031 to 3033, reference may be made to the corresponding contents in the above embodiments, which are not described herein again.
Another embodiment provides a data processing system. The structure is the same as the structure shown in fig. 7, and the difference is that the functions of the client and the server are different. Specifically, the data processing system includes:
the client 201 is used for responding to an interactive event triggered by a user through a session interface and sending session information generated in the interactive event to the server 202;
the server 202 is used for acquiring session information; determining user intention according to the session information; determining a data set to be displayed as a visual chart and available chart types according to the user intention; sending the data set and the chart type to a client;
the client 201 is configured to display the data set as a visualization chart corresponding to the chart type in the session interface.
According to the technical scheme provided by the embodiment, the user intention is determined according to the session information, and the data set to be displayed as the visual chart and the available chart type are determined according to the user intention; the data set which is more suitable for the real requirements of the user and a more suitable chart representation form are provided for the user.
Similarly, the server may also implement the functions in the foregoing method embodiments, which may be referred to in detail herein, and details are not described here.
Fig. 9 is a schematic flowchart illustrating an information creating method according to an embodiment of the present application, where as shown in the drawing, the information creating method includes:
401. an intent and a property corresponding to the intent are created.
402. And configuring at least one chart type matched with the intention for the intention according to the attribute corresponding to the intention.
403. Associating the intent with the at least one chart type.
In the technical scheme provided by the embodiment, an intention and an attribute corresponding to the intention are created in advance; and then configuring at least one chart type matched with the intention so as to be convenient for inquiring an appropriate chart type based on the user intention subsequently, wherein the aim is to provide a more appropriate icon expression form for the user aiming at the user intention.
Further, the step 402 "configuring at least one chart type matched with the intention according to the attribute corresponding to the intention", includes:
4021. and acquiring a plurality of chart types and data analysis attributes corresponding to the chart types.
4022. And comparing the attribute corresponding to the intention with the data analysis attribute corresponding to each chart type.
4023. And configuring at least one chart type with a comparison result meeting preset requirements for the intention.
Fig. 10 shows a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. As shown, the data processing apparatus includes: the device comprises an acquisition module 11, a generation module 12 and a display module 13. The obtaining module 11 is configured to obtain first session information generated in an interactive event in response to the interactive event triggered by a user through a session interface; and acquiring a first data set according to the first session information. The generating module 12 is configured to generate a first visualization chart based on the first data set. The display module 13 is configured to display the first visual chart on the session interface.
According to the technical scheme provided by the embodiment, a session interface is provided for a user, an interactive event triggered by the user through the session interface is responded, and a visual chart which the user wants to view is provided for the user according to session information generated in the interactive event; the chart can be obtained more conveniently and quickly without using a professional tool or finding a professional data analyzer.
Further, the obtaining module 11 is further configured to:
determining user intention according to the first session information;
locating a target database based on the user intent;
and acquiring the first data set which accords with the user intention from the target database.
Further, the obtaining module 11 is further configured to:
processing the first session information to obtain at least one data type keyword;
and determining the user intention according to the keywords of the at least one data type.
Further, the obtaining module 11 is further configured to: acquiring user attribute information; and determining the user intention according to the user attribute information and the keywords of the at least one data type.
Further, the obtaining module 11 is further configured to: obtaining a chart type matched with the user intention; correspondingly, the generating module 12 is further configured to: and generating the first visual chart according to the first data set and the chart type.
Further, the obtaining module 11 is further configured to:
acquiring data analysis attributes corresponding to each chart type in a plurality of chart types; searching a chart type with data analysis attributes matched with the user intention from the plurality of chart types; or
Acquiring a corresponding relation between the intention and the chart type; and inquiring the chart type corresponding to the user intention according to the corresponding relation between the intention and the chart type.
Further, when there are a plurality of chart types matching the user intention, the data processing apparatus further includes:
the obtaining module 11 is further configured to obtain associated information related to the user;
and the selection module is used for selecting one chart type from a plurality of chart types matched with the user intention according to the associated information.
Further, the data processing apparatus provided in this embodiment further includes:
the determining module is used for determining the derived demand according to the user intention;
the obtaining module 11 is further configured to obtain a second data set according to the derived demand;
the generating module 12 is further configured to generate the first visualization chart according to the first data set and the second data set.
Further, the data processing apparatus provided in this embodiment further includes:
the obtaining module 11 is further configured to obtain second session information for the first visual chart;
the determining module is further used for re-determining the user intention according to the second session information;
the obtaining module 11 is further configured to obtain a third data set according to the re-determined user intention;
the generating module 12 is further configured to generate a second visualization chart based on the third data set.
Further, the data processing apparatus provided in this embodiment further includes:
the obtaining module 11 is further configured to, in response to a chart type switching event triggered by a user for the first visual chart, obtain a target chart type pointed by the switching event;
the generating module 12 is further configured to generate a fourth visualization chart according to the first data set and the type of the target chart;
the display module 13 is further configured to switch and display the first visual chart to the fourth visual chart.
Further, the data processing apparatus provided in this embodiment further includes:
the display module 13 is further configured to output guidance information to guide a user to input session information when the first session information does not meet a preset condition.
Here, it should be noted that: the data processing apparatus provided in the foregoing embodiments may implement the technical solutions described in the foregoing method embodiments, and the specific implementation principle of each module or unit may refer to the corresponding content in the foregoing method embodiments, which is not described herein again.
Fig. 11 shows a schematic structural diagram of the data processing apparatus according to another embodiment of the present application. As shown, the data processing apparatus includes: an acquisition module 21 and a determination module 22. The obtaining module 21 is configured to obtain session information. The determining module 22 is configured to determine a user intention according to the session information; determining a data set to be displayed as a visualization chart and available chart types according to the user intent.
According to the technical scheme provided by the embodiment, the user intention is determined according to the session information, and the data set to be displayed as the visual chart and the available chart type are determined according to the user intention; the data set which is more suitable for the real requirements of the user and a more suitable chart representation form are provided for the user.
Further, the determining module 22 is further configured to:
positioning target data according to the user intention;
acquiring the data set which accords with the user intention from the target data;
and acquiring the chart type matched with the user intention as the available icon type.
Further, the determining module 22 is further configured to:
acquiring data analysis attributes corresponding to each chart type in a plurality of chart types; searching a chart type with data analysis attributes matched with the user intention from the plurality of chart types; or
Acquiring a corresponding relation between the intention and the chart type; and inquiring the chart type corresponding to the user intention according to the corresponding relation between the intention and the chart type.
Here, it should be noted that: the data processing apparatus provided in the foregoing embodiments may implement the technical solutions described in the foregoing method embodiments, and the specific implementation principle of each module or unit may refer to the corresponding content in the foregoing method embodiments, which is not described herein again.
Fig. 12 is a schematic structural diagram illustrating an information creating apparatus according to another embodiment of the present application. As shown in the figure, the information creating apparatus includes: a creation module 31, a configuration module 32 and an association module 33. The creating module 31 is configured to create an intention and an attribute corresponding to the intention. The configuration module 32 is configured to configure at least one chart type matched with the intention according to the attribute corresponding to the intention. The association module 33 is for associating the intent with the at least one chart type.
In the technical scheme provided by the embodiment, an intention and an attribute corresponding to the intention are created in advance; and then configuring at least one chart type matched with the intention so as to be convenient for inquiring an appropriate chart type based on the user intention subsequently, wherein the aim is to provide a more appropriate icon expression form for the user aiming at the user intention.
Further, the configuration module 32 is further configured to:
acquiring a plurality of chart types and data analysis attributes corresponding to the chart types;
comparing the attribute corresponding to the intention with the data analysis attribute corresponding to each chart type;
and configuring at least one chart type with a comparison result meeting preset requirements for the intention.
Here, it should be noted that: the information creating apparatus provided in the foregoing embodiments may implement the technical solutions described in the foregoing method embodiments, and the specific implementation principle of each module or unit may refer to the corresponding content in the foregoing method embodiments, which is not described herein again.
Fig. 13 shows a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 13, the electronic device includes a memory 41, a processor 42, and a display 44; wherein the content of the first and second substances,
the memory 41 is used for storing programs;
the processor 42, coupled to the memory 41, is configured to execute the program stored in the memory 41 to:
responding to an interactive event triggered by a user through the session interface, and acquiring first session information generated in the interactive event;
acquiring a first data set according to the first session information;
generating a first visualization chart based on the first data set;
controlling the display to present the first visual chart on a conversation interface.
The memory 41 described above may be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device. The memory 41 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The processor 42 may also implement other functions besides the above functions when executing the program in the memory 41, which may be specifically referred to the description of the foregoing embodiments.
Further, as shown in fig. 13, the electronic apparatus further includes: communication components 43, display 44, power components 45, audio components 46, and the like. Only some of the components are schematically shown in fig. 13, and the electronic device is not meant to include only the components shown in fig. 13.
Yet another embodiment of the present application provides an electronic device. The structure of the electronic device is similar to the above-mentioned electronic device embodiment, and can be seen from fig. 13. The electronic device comprises a memory and a processor; wherein the content of the first and second substances,
the memory is used for storing programs;
the processor, coupled with the memory, to execute the program stored in the memory to:
acquiring session information;
determining user intention according to the session information;
determining a data set to be displayed as a visualization chart and available chart types according to the user intent.
When the processor executes the program in the memory, the processor may implement other functions in addition to the above functions, which may be specifically referred to the description of the foregoing embodiments.
Accordingly, the present application further provides a computer-readable storage medium storing a computer program, where the computer program can implement the steps or functions of the data processing method provided in the foregoing embodiments when executed by a computer.
Yet another embodiment of the present application provides an electronic device. The structure of the electronic device is similar to the above-mentioned electronic device embodiment, and can be seen from fig. 13. The electronic device comprises a memory and a processor; wherein the content of the first and second substances,
the memory is used for storing programs;
the processor, coupled with the memory, to execute the program stored in the memory to:
creating an intention and its corresponding attributes;
configuring at least one chart type matched with the intention for the intention according to the attribute corresponding to the intention;
associating the intent with the at least one chart type.
When the processor executes the program in the memory, the processor may implement other functions in addition to the above functions, which may be specifically referred to the description of the foregoing embodiments.
Accordingly, embodiments of the present application also provide a computer-readable storage medium storing a computer program, where the computer program can implement the steps or functions of the information creating method provided in the foregoing embodiments when executed by a computer.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (22)

1. A data processing method, comprising:
responding to an interactive event triggered by a user through a session interface, and acquiring first session information generated in the interactive event;
acquiring a first data set according to the first session information;
generating a first visualization chart based on the first data set;
and displaying the first visual chart on the conversation interface.
2. The method of claim 1, wherein obtaining a first data set based on the first session information comprises:
determining user intention according to the first session information;
locating a target database based on the user intent;
and acquiring the first data set which accords with the user intention from the target database.
3. The method of claim 2, wherein determining a user intent based on the first session information comprises:
processing the first session information to obtain at least one data type keyword;
and determining the user intention according to the keywords of the at least one data type.
4. The method of claim 2, further comprising:
acquiring user attribute information;
and determining a user intention according to the first session information, including:
and determining the user intention according to the user attribute information and the first session information.
5. The method of claim 2, further comprising:
obtaining a chart type matched with the user intention;
and, based on the first data set, generating a first visualization chart comprising:
and generating the first visual chart according to the first data set and the chart type.
6. The method of claim 5, wherein obtaining a chart type that matches the user intent comprises:
acquiring data analysis attributes corresponding to each chart type in a plurality of chart types; searching a chart type with data analysis attributes matched with the user intention from the plurality of chart types; or
Acquiring a corresponding relation between the intention and the chart type; and inquiring the chart type corresponding to the user intention according to the corresponding relation between the intention and the chart type.
7. The method according to claim 6, wherein the chart type matching the user's intention is plural, and
the method further comprises the following steps:
acquiring associated information related to the user;
and selecting one chart type from a plurality of chart types matched with the user intention according to the associated information.
8. The method of any one of claims 1 to 7, further comprising:
determining derived requirements according to the user intention;
acquiring a second data set according to the derivation requirements;
and, based on the first data set, generating a first visualization chart comprising:
and generating the first visual chart according to the first data set and the second data set.
9. The method of any one of claims 1 to 7, further comprising:
obtaining second session information for the first visual chart;
re-determining the user intention according to the second session information;
acquiring a third data set according to the re-determined user intention;
based on the third data set, a second visualization chart is generated.
10. The method of any one of claims 1 to 7, further comprising:
responding to a chart type switching event triggered by a user aiming at the first visual chart, and acquiring a target chart type pointed by the switching event;
generating a fourth visual chart according to the first data set and the type of the target chart;
and switching and displaying the first visual chart into the fourth visual chart.
11. The method of any one of claims 1 to 7, further comprising:
and under the condition that the first session information does not meet the preset condition, outputting guide information to guide a user to input session information.
12. A data processing system, comprising:
the client is used for responding to an interactive event triggered by a user through a session interface and acquiring first session information generated in the interactive event; acquiring a first data set from a server or locally according to the first session information; generating a first visualization chart based on the first data set; displaying the first visual chart on the conversation interface;
and the server side maintains at least one database and is used for providing the required data set for the client side.
13. The system of claim 12, wherein the server comprises at least one of: cloud server, physical server and virtual server.
14. A data processing method, comprising:
acquiring session information;
determining user intention according to the session information;
determining a data set to be displayed as a visualization chart and available chart types according to the user intent.
15. The method of claim 14, wherein determining the data set to be presented as a visual chart and the types of charts available according to the user intent comprises:
positioning target data according to the user intention;
acquiring the data set which accords with the user intention from the target data;
and acquiring the chart type matched with the user intention as the available icon type.
16. The method of claim 15, wherein obtaining a chart type that matches a user intent comprises:
acquiring data analysis attributes corresponding to each chart type in a plurality of chart types; searching a chart type with data analysis attributes matched with the user intention from the plurality of chart types; or
Acquiring a corresponding relation between the intention and the chart type; and inquiring the chart type corresponding to the user intention according to the corresponding relation between the intention and the chart type.
17. A data processing system, comprising:
the client is used for responding to an interactive event triggered by a user through a session interface and sending session information generated in the interactive event to the server;
the server is used for acquiring session information; determining user intention according to the session information; determining a data set to be displayed as a visual chart and available chart types according to the user intention; sending the data set and the chart type to a client;
and the client is used for displaying the data set as a visual chart corresponding to the chart type in the session interface.
18. An information creating method, comprising:
creating an intention and an attribute corresponding to the intention;
configuring at least one chart type matched with the intention for the intention according to the attribute corresponding to the intention;
associating the intent with the at least one chart type.
19. The method of claim 18, wherein configuring at least one chart type for the intent according to the attribute corresponding to the intent comprises:
acquiring a plurality of chart types and data analysis attributes corresponding to the chart types;
comparing the attribute corresponding to the intention with the data analysis attribute corresponding to each chart type;
and configuring at least one chart type with a comparison result meeting preset requirements for the intention.
20. An electronic device comprising a memory, a processor, and a display; wherein the content of the first and second substances,
the memory is used for storing programs;
the processor, coupled with the memory, to execute the program stored in the memory to:
responding to an interactive event triggered by a user through the session interface, and acquiring first session information generated in the interactive event;
acquiring a first data set according to the first session information;
generating a first visualization chart based on the first data set;
controlling the display to present the first visual chart on a conversation interface.
21. An electronic device comprising a memory and a processor; wherein the content of the first and second substances,
the memory is used for storing programs;
the processor, coupled with the memory, to execute the program stored in the memory to:
acquiring session information;
determining user intention according to the session information;
determining a data set to be displayed as a visualization chart and available chart types according to the user intent.
22. An electronic device comprising a memory and a processor; wherein the content of the first and second substances,
the memory is used for storing programs;
the processor, coupled with the memory, to execute the program stored in the memory to:
creating an intention and its corresponding attributes;
configuring at least one chart type matched with the intention for the intention according to the attribute corresponding to the intention;
associating the intent with the at least one chart type.
CN201910690742.4A 2019-07-29 2019-07-29 Data processing method, data processing system, information creating method and device Pending CN112306312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910690742.4A CN112306312A (en) 2019-07-29 2019-07-29 Data processing method, data processing system, information creating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910690742.4A CN112306312A (en) 2019-07-29 2019-07-29 Data processing method, data processing system, information creating method and device

Publications (1)

Publication Number Publication Date
CN112306312A true CN112306312A (en) 2021-02-02

Family

ID=74328953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910690742.4A Pending CN112306312A (en) 2019-07-29 2019-07-29 Data processing method, data processing system, information creating method and device

Country Status (1)

Country Link
CN (1) CN112306312A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113139102A (en) * 2021-05-18 2021-07-20 北京深演智能科技股份有限公司 Data processing method, data processing device, nonvolatile storage medium and processor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598988A (en) * 2015-10-16 2017-04-26 阿里巴巴集团控股有限公司 Data processing method and device
CN108241735A (en) * 2017-12-05 2018-07-03 新华智云科技有限公司 A kind of data analysing method and equipment
CN109388462A (en) * 2018-09-28 2019-02-26 中国平安财产保险股份有限公司 Report sharing method, device, computer equipment and storage medium
CN109947857A (en) * 2017-07-26 2019-06-28 北京国双科技有限公司 Method for exhibiting data and device, storage medium, processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598988A (en) * 2015-10-16 2017-04-26 阿里巴巴集团控股有限公司 Data processing method and device
CN109947857A (en) * 2017-07-26 2019-06-28 北京国双科技有限公司 Method for exhibiting data and device, storage medium, processor
CN108241735A (en) * 2017-12-05 2018-07-03 新华智云科技有限公司 A kind of data analysing method and equipment
CN109388462A (en) * 2018-09-28 2019-02-26 中国平安财产保险股份有限公司 Report sharing method, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113139102A (en) * 2021-05-18 2021-07-20 北京深演智能科技股份有限公司 Data processing method, data processing device, nonvolatile storage medium and processor
CN113139102B (en) * 2021-05-18 2024-06-11 北京深演智能科技股份有限公司 Data processing method, device, nonvolatile storage medium and processor

Similar Documents

Publication Publication Date Title
JP7283067B2 (en) A system and method for detangling interrupted conversations in a communication platform, a method, a program, and a computer device for parsing unstructured messages
EP3244312B1 (en) A personal digital assistant
CN109873745B (en) Communication control method, communication control device and storage medium
CN111666401B (en) Document recommendation method, device, computer equipment and medium based on graph structure
US8620934B2 (en) Systems and methods for selecting data elements, such as population members, from a data source
CN107992523B (en) Function option searching method of mobile application and terminal equipment
CN113157947A (en) Knowledge graph construction method, tool, device and server
US11481733B2 (en) Automated interfaces with interactive keywords between employment postings and candidate profiles
CN108920543A (en) query and interaction method and device, computer device and storage medium
CN110990445A (en) Data processing method, device, equipment and medium
CN114253990A (en) Database query method and device, computer equipment and storage medium
CN114186024A (en) Recommendation method and device
CN114205177A (en) Communication message display method and device
CN114116997A (en) Knowledge question answering method, knowledge question answering device, electronic equipment and storage medium
US20150363803A1 (en) Business introduction interface
CN113129155A (en) Multi-type personnel information processing method, equipment and storage medium
CN112306312A (en) Data processing method, data processing system, information creating method and device
CN109284423A (en) Business option card lookup method and device
CN109120783A (en) Information acquisition method and device, mobile terminal and computer readable storage medium
CN104850608A (en) Method for searching keywords on information exhibiting page
CN110442615B (en) Resource information processing method and device, electronic equipment and storage medium
CN114416772A (en) Data query method and device, electronic equipment and storage medium
CN110471586B (en) Project recommendation method, apparatus, computer device and storage medium
CN114036391A (en) Data pushing method and device, electronic equipment and storage medium
CN113239177A (en) Knowledge point query method, knowledge point query device, knowledge point query server, knowledge point query medium and product

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