CN106095435B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN106095435B
CN106095435B CN201610405931.9A CN201610405931A CN106095435B CN 106095435 B CN106095435 B CN 106095435B CN 201610405931 A CN201610405931 A CN 201610405931A CN 106095435 B CN106095435 B CN 106095435B
Authority
CN
China
Prior art keywords
information
key information
parameter set
event
business
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.)
Active
Application number
CN201610405931.9A
Other languages
Chinese (zh)
Other versions
CN106095435A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610405931.9A priority Critical patent/CN106095435B/en
Publication of CN106095435A publication Critical patent/CN106095435A/en
Application granted granted Critical
Publication of CN106095435B publication Critical patent/CN106095435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural

Abstract

The invention discloses an information processing method and electronic equipment, comprising the following steps: acquiring input information, wherein the information is used for representing a business target; analyzing the information, and extracting first key information and second key information from the information; generating identification parameters corresponding to the key information according to the first key information and the second key information; generating a parameter set of the business target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the business target; and calling a data acquisition interface to acquire the data of the business target by using the parameter set of the business target.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
Business data is a collection of data associated with a business, and the business data is the basis for business analysis. When acquiring the service data, the following processes are generally required to be performed:
1. the collector puts forward business requirements, such as: to know how the user uses the mouse.
2. The collector manually converts the business requirements into event definitions, such as definition: event _ class1, 2, and 3, respectively, indicate that the number of mouse clicks is collected.
3. And calling a data collection Software Development Kit (SDK) interface according to the defined event to collect the business data.
In the above process, the process of manually converting the service requirement into the event definition is very tedious, and a large amount of acquisition time is consumed.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide an information processing method and an electronic device.
The information processing method provided by the embodiment of the invention comprises the following steps:
acquiring input information, wherein the information is used for representing a business target;
analyzing the information, and extracting first key information and second key information from the information;
generating identification parameters corresponding to the key information according to the first key information and the second key information;
generating a parameter set of the business target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the business target;
and calling a data acquisition interface to acquire the data of the business target by using the parameter set of the business target.
In the embodiment of the present invention, the method further includes:
generating a user-defined identification parameter according to a setting operation after generating the parameter set of the business target;
and adding the user-defined identification parameters into the parameter set of the service target.
In the embodiment of the present invention, the method further includes:
according to one or more key information in the first key information and the second key information, searching a parameter set associated with the one or more key information in a database, wherein the parameter set associated with the one or more key information is used for representing an associated event of the business target;
and outputting the associated event of the business target.
In the embodiment of the present invention, the method further includes:
after a parameter set of the business target is generated, one or more identification parameters in the parameter set are labeled;
and when the information is analyzed, extracting first key information and second key information from the information by combining the marked identification parameters.
In the embodiment of the invention, the number of the second key information is one or more; the method further comprises the following steps:
when the number of the second key information is multiple, matching second key information associated with the first key information from the multiple second key information;
the generating an identification parameter corresponding to each key information according to the first key information and the second key information includes:
and generating identification parameters corresponding to each key information according to the first key information and the matched second key information.
The electronic device provided by the embodiment of the invention comprises:
the input device is used for acquiring input information, and the information is used for representing a business target;
the processing device is used for analyzing the information and extracting first key information and second key information from the information; generating identification parameters corresponding to the key information according to the first key information and the second key information; generating a parameter set of the business target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the business target;
and the communication interface is used for calling a data acquisition interface to acquire the data of the business target by utilizing the parameter set of the business target.
In the embodiment of the invention, the input device is also used for acquiring setting operation;
the processing device is further configured to generate a custom identifier parameter according to a setting operation after generating the parameter set of the service target; and adding the user-defined identification parameters into the parameter set of the service target.
In this embodiment of the present invention, the processing apparatus is further configured to search, according to one or more key information of the first key information and the second key information, a parameter set associated with the one or more key information in a database, where the parameter set associated with the one or more key information is used to characterize an associated event of the business target;
the electronic device further includes: and the output device is used for outputting the associated event of the business target.
In this embodiment of the present invention, the processing device is further configured to label one or more identification parameters in the parameter set after generating the parameter set of the service target; and when the information is analyzed, extracting first key information and second key information from the information by combining the marked identification parameters.
In the embodiment of the invention, the number of the second key information is one or more;
the processing device is further configured to match second key information associated with the first key information from the plurality of pieces of second key information when the number of pieces of second key information is multiple; and generating identification parameters corresponding to each key information according to the first key information and the matched second key information.
According to the technical scheme of the embodiment of the invention, input information is obtained, and the information is used for representing a business target; analyzing the information, and extracting first key information and second key information from the information; generating identification parameters corresponding to the key information according to the first key information and the second key information; generating a parameter set of the business target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the business target; and calling a data acquisition interface to acquire the data of the business target by using the parameter set of the business target. Therefore, the identification parameters of the events are automatically generated according to the key information in the input information, so that the events are automatically defined, the event definition process is simplified, and the overall time of data acquisition is saved.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a scenario application according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating an information processing method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating an information processing method according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention;
fig. 6 is a schematic frame diagram of an electronic device according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
The following is a definition description of keywords in the examples of the present invention
Definition 1: event: the event is an information carrier for describing service acquisition requirements, describes behaviors which occur at a certain place (physical/virtual) and are triggered by people/objects or automatically and have certain information meanings, and can be uniquely determined by three-layer classification, and is defined as follows:
Event={class1,class2,class3,value,time,place,otherInfo}
any one business requirement may be translated into one or more events.
Definition 2: object keywords: collection subject in business demand.
Definition 3: action keywords: the action body in the business requirement.
Fig. 1 is a flowchart illustrating an information processing method according to a first embodiment of the present invention, where the information processing method is applied to an electronic device. As shown in fig. 1, the information processing method includes the steps of:
step 101: input information is obtained, and the information is used for representing a business target.
In the embodiment of the invention, the electronic equipment can be notebook computers, desktop computers, all-in-one machines, servers and other electronic equipment.
In the embodiment of the present invention, when the acquirer proposes a service requirement, information related to the service requirement is input into the electronic device (refer to fig. 2), and the information input manner is various, for example, text information is input in a keyboard manner, voice information is input in a recording manner, video information is input in a camera manner, and the like. This example will be explained by taking the example of inputting text information by means of a keyboard.
In one example, the input information is: knowing how the user uses the mouse, it can be seen that the input information characterizes the business objective, i.e. the business objective is: to know how the user uses the mouse.
In another example, the input information is: knowing the use frequency of the front camera, it can be seen that the business objective is: and knowing the use frequency of the front camera.
The acquirer can input corresponding information representing the business target according to the business requirement. This information may be text information or other types of information such as voice information.
Step 102: and analyzing the information, and extracting first key information and second key information from the information.
In the embodiment of the present invention, the purpose of analyzing the information is to extract first key information and second key information from the information.
Here, the first key information refers to an object keyword, and the service keyword is an acquisition subject in the service requirement. The second key information refers to action keywords, and the event keywords are action subjects in the business requirements.
For example, the input information is: knowing how the user uses the mouse, after analyzing the information, the first key information is: a mouse; the second key information is: how to use.
For another example, the input information is: knowing the use frequency of the front camera, after analyzing the information, the first key information is: a front camera; the second key information is: the frequency is used.
In the embodiment of the invention, the information is analyzed in various modes, the analysis mode is related to the specific form of the information, and when the information is text information, the information input by an acquirer is subjected to text analysis, and the object keywords and the action keywords in the information are automatically identified. When the information is voice information, the voice information can be converted into corresponding text information, and then object keywords and action keywords in the text information are automatically identified; or object keywords and action keywords in the voice information are automatically recognized directly.
Step 103: and generating identification parameters corresponding to the key information according to the first key information and the second key information.
In the embodiment of the invention, after the first key information and the second key information are automatically identified from the information, the identification parameters corresponding to the key information are also automatically generated according to the first key information and the second key information.
For example, the first key information is: a mouse; the second key information is: how to use. The identification parameter corresponding to the first key information is: the event _ class1 is equal to "mouse", and the identification parameter corresponding to the second key information is: event _ class2 is "click" and event _ class3 is "times".
Step 104: and generating a parameter set of the service target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the service target.
In the embodiment of the present invention, the parameter set of the service target represents an event corresponding to the service target, and the parameter set of the service target is generated according to each identification parameter, that is, the event is defined, for example, when each identification parameter is: when event _ class1 is "mouse", event _ class2 is "click", and event _ class3 is "times", the event is defined as:
Event={mouse,click,times,value,time,place,null}
wherein, mouse is a mouse corresponding to the identification parameter event _ class 1; click is a click, corresponding to the identification parameter event _ class 2; time is a number of times, corresponding to identification parameter event _ class 3. Place is the Place and null is the custom identification parameter field.
Therefore, according to the technical scheme of the embodiment of the invention, the input information is automatically identified, each piece of key information is extracted from the information, and then the corresponding identification parameter is generated according to each piece of key information, and finally the event definition is formed.
Step 105: and calling a data acquisition interface to acquire the data of the business target by using the parameter set of the business target.
In the embodiment of the present invention, a data acquisition interface may be invoked to acquire data of a service target by using a parameter set of the service target (refer to fig. 2). Here, the data acquisition interface may be, but is not limited to, an SDK interface.
According to the technical scheme of the embodiment of the invention, the most complicated event definition link with the strongest specialty is automatically identified through the electronic equipment, so that the data acquisition work is changed from the original work of needing professional personnel to be completed by common service personnel, the acquisition efficiency is improved, and the acquisition time is shortened.
Fig. 3 is a flowchart illustrating an information processing method according to a second embodiment of the present invention, where the information processing method is applied to an electronic device. As shown in fig. 3, the information processing method includes the steps of:
step 301: input information is obtained, and the information is used for representing a business target.
In the embodiment of the invention, the electronic equipment can be notebook computers, desktop computers, all-in-one machines, servers and other electronic equipment.
In the embodiment of the present invention, when the acquirer proposes a service requirement, information related to the service requirement is input into the electronic device (refer to fig. 2), and the information input manner is various, for example, text information is input in a keyboard manner, voice information is input in a recording manner, video information is input in a camera manner, and the like. This example will be explained by taking the example of inputting text information by means of a keyboard.
In one example, the input information is: knowing how the user uses the mouse, it can be seen that the input information characterizes the business objective, i.e. the business objective is: to know how the user uses the mouse.
In another example, the input information is: knowing the use frequency of the front camera, it can be seen that the business objective is: and knowing the use frequency of the front camera.
The acquirer can input corresponding information representing the business target according to the business requirement. This information may be text information or other types of information such as voice information.
Step 302: and analyzing the information, and extracting first key information and second key information from the information.
In the embodiment of the present invention, the purpose of analyzing the information is to extract first key information and second key information from the information.
Here, the first key information refers to an object keyword, and the service keyword is an acquisition subject in the service requirement. The second key information refers to action keywords, and the event keywords are action subjects in the business requirements.
For example, the input information is: knowing how the user uses the mouse, after analyzing the information, the first key information is: a mouse; the second key information is: how to use.
For another example, the input information is: knowing the use frequency of the front camera, after analyzing the information, the first key information is: a front camera; the second key information is: the frequency is used.
In the embodiment of the invention, the information is analyzed in various modes, the analysis mode is related to the specific form of the information, and when the information is text information, the information input by an acquirer is subjected to text analysis, and the object keywords and the action keywords in the information are automatically identified. When the information is voice information, the voice information can be converted into corresponding text information, and then object keywords and action keywords in the text information are automatically identified; or object keywords and action keywords in the voice information are automatically recognized directly.
Step 303: and generating identification parameters corresponding to the key information according to the first key information and the second key information.
In the embodiment of the invention, after the first key information and the second key information are automatically identified from the information, the identification parameters corresponding to the key information are also automatically generated according to the first key information and the second key information.
For example, the first key information is: a mouse; the second key information is: how to use. The identification parameter corresponding to the first key information is: the event _ class1 is equal to "mouse", and the identification parameter corresponding to the second key information is: event _ class2 is "click" and event _ class3 is "times".
Step 304: and generating a parameter set of the service target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the service target.
In the embodiment of the present invention, the parameter set of the service target represents an event corresponding to the service target, and the parameter set of the service target is generated according to each identification parameter, that is, the event is defined, for example, when each identification parameter is: when event _ class1 is "mouse", event _ class2 is "click", and event _ class3 is "times", the event is defined as:
Event={mouse,click,times,value,time,place,null}
wherein, mouse is a mouse corresponding to the identification parameter event _ class 1; click is a click, corresponding to the identification parameter event _ class 2; time is a number of times, corresponding to identification parameter event _ class 3. Place is the Place and null is the custom identification parameter field.
Therefore, according to the technical scheme of the embodiment of the invention, the input information is automatically identified, each piece of key information is extracted from the information, and then the corresponding identification parameter is generated according to each piece of key information, and finally the event definition is formed.
Step 305: generating a user-defined identification parameter according to a setting operation after generating the parameter set of the business target; and adding the user-defined identification parameters into the parameter set of the service target.
In the embodiment of the present invention, the user may modify the event definition, for example, modify the event definition in step 304 to:
Event={mouse,click,times,value,time,place,{“user_id”:”userA”}}
namely: the collector adds additional self-defined information of the event { "user _ id": user A "}according to the need
The additional customization information indicates that the collector wants to know about a specific user. For example, the word "user" in "knowing how the user uses the mouse" is labeled and described for the business requirement mentioned by the collector.
Step 306: and calling a data acquisition interface to acquire the data of the business target by using the parameter set of the business target.
In the embodiment of the present invention, a data acquisition interface may be invoked to acquire data of a service target by using a parameter set of the service target (refer to fig. 2). Here, the data acquisition interface may be, but is not limited to, an SDK interface.
According to the technical scheme of the embodiment of the invention, the most complicated event definition link with the strongest specialty is automatically identified through the electronic equipment, so that the data acquisition work is changed from the original work of needing professional personnel to be completed by common service personnel, the acquisition efficiency is improved, and the acquisition time is shortened.
Fig. 4 is a flowchart illustrating an information processing method according to a third embodiment of the present invention, where the information processing method is applied to an electronic device. As shown in fig. 4, the information processing method includes the steps of:
step 401: input information is obtained, and the information is used for representing a business target.
In the embodiment of the invention, the electronic equipment can be notebook computers, desktop computers, all-in-one machines, servers and other electronic equipment.
In the embodiment of the present invention, when the acquirer proposes a service requirement, information related to the service requirement is input into the electronic device (refer to fig. 2), and the information input manner is various, for example, text information is input in a keyboard manner, voice information is input in a recording manner, video information is input in a camera manner, and the like. This example will be explained by taking the example of inputting text information by means of a keyboard.
In one example, the input information is: knowing how the user uses the mouse, it can be seen that the input information characterizes the business objective, i.e. the business objective is: to know how the user uses the mouse.
In another example, the input information is: knowing the use frequency of the front camera, it can be seen that the business objective is: and knowing the use frequency of the front camera.
The acquirer can input corresponding information representing the business target according to the business requirement. This information may be text information or other types of information such as voice information.
Step 402: and analyzing the information, and extracting first key information and second key information from the information.
In the embodiment of the present invention, the purpose of analyzing the information is to extract first key information and second key information from the information.
Here, the first key information refers to an object keyword, and the service keyword is an acquisition subject in the service requirement. The second key information refers to action keywords, and the event keywords are action subjects in the business requirements.
For example, the input information is: knowing how the user uses the mouse, after analyzing the information, the first key information is: a mouse; the second key information is: how to use.
For another example, the input information is: knowing the use frequency of the front camera, after analyzing the information, the first key information is: a front camera; the second key information is: the frequency is used.
In the embodiment of the invention, the information is analyzed in various modes, the analysis mode is related to the specific form of the information, and when the information is text information, the information input by an acquirer is subjected to text analysis, and the object keywords and the action keywords in the information are automatically identified. When the information is voice information, the voice information can be converted into corresponding text information, and then object keywords and action keywords in the text information are automatically identified; or object keywords and action keywords in the voice information are automatically recognized directly.
Step 403: and generating identification parameters corresponding to the key information according to the first key information and the second key information.
In the embodiment of the invention, after the first key information and the second key information are automatically identified from the information, the identification parameters corresponding to the key information are also automatically generated according to the first key information and the second key information.
For example, the first key information is: a mouse; the second key information is: how to use. The identification parameter corresponding to the first key information is: the event _ class1 is equal to "mouse", and the identification parameter corresponding to the second key information is: event _ class2 is "click" and event _ class3 is "times".
Step 404: and generating a parameter set of the service target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the service target.
In the embodiment of the present invention, the parameter set of the service target represents an event corresponding to the service target, and the parameter set of the service target is generated according to each identification parameter, that is, the event is defined, for example, when each identification parameter is: when event _ class1 is "mouse", event _ class2 is "click", and event _ class3 is "times", the event is defined as:
Event={mouse,click,times,value,time,place,null}
wherein, mouse is a mouse corresponding to the identification parameter event _ class 1; click is a click, corresponding to the identification parameter event _ class 2; time is a number of times, corresponding to identification parameter event _ class 3. Place is the Place and null is the custom identification parameter field.
Therefore, according to the technical scheme of the embodiment of the invention, the input information is automatically identified, each piece of key information is extracted from the information, and then the corresponding identification parameter is generated according to each piece of key information, and finally the event definition is formed.
Step 405: and calling a data acquisition interface to acquire the data of the business target by using the parameter set of the business target.
In the embodiment of the present invention, a data acquisition interface may be invoked to acquire data of a service target by using a parameter set of the service target (refer to fig. 2). Here, the data acquisition interface may be, but is not limited to, an SDK interface.
According to the technical scheme of the embodiment of the invention, the most complicated event definition link with the strongest specialty is automatically identified through the electronic equipment, so that the data acquisition work is changed from the original work of needing professional personnel to be completed by common service personnel, the acquisition efficiency is improved, and the acquisition time is shortened.
Step 406: according to one or more key information in the first key information and the second key information, searching a parameter set associated with the one or more key information in a database, wherein the parameter set associated with the one or more key information is used for representing an associated event of the business target; and outputting the associated event of the business target.
In the embodiment of the present invention, after an event is defined according to input information, a parameter set (also referred to as another event) associated with the key information of the event may be searched in another database (also referred to as a data source) according to the first key information and/or the second key information of the event, and then the associated event is input to a user. Therefore, the embodiment of the invention carries out more in-depth analysis on the service requirements proposed by the collector, combines big data search, searches and matches the events which are related to the events and exist in various application scenes of other various information sources, recommends various extended collection events for the collector from the big data perspective, and promotes the development of the data collection industry.
Fig. 5 is a flowchart illustrating an information processing method according to a fourth embodiment of the present invention, where the information processing method is applied to an electronic device. As shown in fig. 5, the information processing method includes the steps of:
step 501: input information is obtained, and the information is used for representing a business target.
In the embodiment of the invention, the electronic equipment can be notebook computers, desktop computers, all-in-one machines, servers and other electronic equipment.
In the embodiment of the present invention, when the acquirer proposes a service requirement, information related to the service requirement is input into the electronic device (refer to fig. 2), and the information input manner is various, for example, text information is input in a keyboard manner, voice information is input in a recording manner, video information is input in a camera manner, and the like. This example will be explained by taking the example of inputting text information by means of a keyboard.
In one example, the input information is: knowing how the user uses the mouse, it can be seen that the input information characterizes the business objective, i.e. the business objective is: to know how the user uses the mouse.
In another example, the input information is: knowing the use frequency of the front camera, it can be seen that the business objective is: and knowing the use frequency of the front camera.
The acquirer can input corresponding information representing the business target according to the business requirement. This information may be text information or other types of information such as voice information.
Step 502: and when the information is analyzed, extracting first key information and second key information from the information by combining the marked identification parameters.
In the embodiment of the present invention, the purpose of analyzing the information is to extract first key information and second key information from the information.
Here, the first key information refers to an object keyword, and the service keyword is an acquisition subject in the service requirement. The second key information refers to action keywords, and the event keywords are action subjects in the business requirements.
For example, the input information is: knowing how the user uses the mouse, after analyzing the information, the first key information is: a mouse; the second key information is: how to use.
For another example, the input information is: knowing the use frequency of the front camera, after analyzing the information, the first key information is: a front camera; the second key information is: the frequency is used.
In the embodiment of the invention, the information is analyzed in various modes, the analysis mode is related to the specific form of the information, and when the information is text information, the information input by an acquirer is subjected to text analysis, and the object keywords and the action keywords in the information are automatically identified. When the information is voice information, the voice information can be converted into corresponding text information, and then object keywords and action keywords in the text information are automatically identified; or object keywords and action keywords in the voice information are automatically recognized directly.
Step 503: and generating identification parameters corresponding to the key information according to the first key information and the second key information.
In the embodiment of the invention, after the first key information and the second key information are automatically identified from the information, the identification parameters corresponding to the key information are also automatically generated according to the first key information and the second key information.
For example, the first key information is: a mouse; the second key information is: how to use. The identification parameter corresponding to the first key information is: the event _ class1 is equal to "mouse", and the identification parameter corresponding to the second key information is: event _ class2 is "click" and event _ class3 is "times".
In addition, the number of the second key information is one or more; when the number of the second key information is multiple, matching second key information associated with the first key information from the multiple second key information; and generating identification parameters corresponding to each key information according to the first key information and the matched second key information.
For example: identifying that the object keyword is 'mouse', matching the object keyword as 'mouse'; the action keyword 'use' is recognized, the object keyword needs to be matched, the behavior of the object keyword is precisely defined, for example, if the behavior of the mouse is 'click', the action keyword is matched with 'click', and if the behavior of the touch screen is 'touch', the action keyword is matched with 'touch'. And the action key words can be multiple and are determined according to semantic analysis on business requirements. Here, the object keyword classification level is higher than the action keyword.
Step 504: and generating a parameter set of the service target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the service target.
In the embodiment of the present invention, the parameter set of the service target represents an event corresponding to the service target, and the parameter set of the service target is generated according to each identification parameter, that is, the event is defined, for example, when each identification parameter is: when event _ class1 is "mouse", event _ class2 is "click", and event _ class3 is "times", the event is defined as:
Event={mouse,click,times,value,time,place,null}
wherein, mouse is a mouse corresponding to the identification parameter event _ class 1; click is a click, corresponding to the identification parameter event _ class 2; time is a number of times, corresponding to identification parameter event _ class 3. Place is the Place and null is the custom identification parameter field.
Therefore, according to the technical scheme of the embodiment of the invention, the input information is automatically identified, each piece of key information is extracted from the information, and then the corresponding identification parameter is generated according to each piece of key information, and finally the event definition is formed.
Step 505: and after the parameter set of the business target is generated, marking one or more identification parameters in the parameter set.
In the embodiment of the invention, a self-learning feedback mechanism is provided: a self-learning feedback mechanism is added in the automatic identification process, namely: after the event is automatically identified according to the business requirement input by the collector, the collector can label and change the automatically converted event, the label and the change are recorded in the system in turn, and then the analysis algorithm in the step 502 is corrected, so that the accuracy of analysis is improved.
Step 506: and calling a data acquisition interface to acquire the data of the business target by using the parameter set of the business target.
In the embodiment of the present invention, a data acquisition interface may be invoked to acquire data of a service target by using a parameter set of the service target (refer to fig. 2). Here, the data acquisition interface may be, but is not limited to, an SDK interface.
According to the technical scheme of the embodiment of the invention, the most complicated event definition link with the strongest specialty is automatically identified through the electronic equipment, so that the data acquisition work is changed from the original work of needing professional personnel to be completed by common service personnel, the acquisition efficiency is improved, and the acquisition time is shortened.
The automatic identification and acquisition event and the self-learning mechanism provided by the embodiment of the invention can ensure that the automatic identification of the event is in a self-improvement cycle with continuously improved accuracy. The higher the recognition accuracy, the higher the practicality and effectiveness.
Fig. 6 is a schematic frame diagram of an electronic device according to a fifth embodiment of the present invention, and as shown in fig. 6, the electronic device includes:
the recording module 61: recording all key information in the process of automatically generating the event, including: original business requirements, object keywords extracted and analyzed, action keywords converted, complete event definition formed by automatic organization and final event definition obtained by correcting events by users.
The automatic recognition module 62: the automatic identification module acts on the business requirements, carries out semantic analysis on the business requirements, and extracts all object keywords and action keywords in the business requirements.
Keyword matching module 63: performing keyword conversion on the object keywords and the action keywords identified by the automatic identification module, and if the object keywords are identified as a mouse, matching the object keywords with the mouse; the action keyword 'use' is recognized, semantic analysis needs to be performed on the object keyword, the behavior of the object keyword is precisely defined, for example, if the behavior of the mouse is 'click', the action keyword is matched with 'click', and if the behavior of the touch screen is 'touch', the action keyword is matched with 'touch'. And the action key words can be multiple and are determined according to semantic analysis on business requirements. The object keyword classification level is higher than the action keyword.
The event organization module 64: the event organization module organizes the results output by the automatic identification module and the keyword matching module into a complete event definition.
The intelligent recommendation module 65: the module has two functions: (1) objective data aspect: the method can automatically match recommended events according to input events of users, for example, if an acquirer inputs 'acquisition computer startup time', the events 'acquisition computer shutdown time' are automatically matched and recommended to the acquirer after automatic conversion is finished. (2) Subjective data aspect: according to the analyzed keywords, by utilizing a big data search technology, the focus point and the application scene of the user can be captured from other information sources (such as e-commerce platforms, forums and the like), so that the collection event is expanded to other application scenes, for example, if a collector inputs 'understanding how the user uses a mouse', the information containing the keyword 'mouse' in other information sources can be automatically found out: the evaluation and the use condition of the mouse in the scenes of playing games, listening to music, instant messaging and the like are provided for a user, so that the collection event can be expanded to other use scenes from the point of only paying attention to the mouse: scene information of a user such as playing games, listening to music, instant messaging and the like is collected, so that the use condition of the mouse in a specific scene is expanded.
The self-learning module 66: and performing self-learning optimization according to the automatically generated event definition and the event definition corrected by the user, and continuously improving the accuracy of the event definition.
When the information processing method according to the embodiment of the present invention is executed by the electronic device shown in fig. 6, in one example, the method includes:
1) assume that the service requirements of the collector are: "know how the user uses the mouse".
Service requirement for knowing how a user uses a mouse "
2) After the recording module records the service requirement, the automatic identification module performs semantic analysis on the service requirement to analyze the object keywords and the action keywords.
Object keyword is "mouse", action keyword is "use"
3) The keyword matching module can further match and analyze the identified object keywords and action keywords, and converts the object keywords and the action keywords into keyword definitions:
object keyword → event _ class1 ═ mouse ",
action keyword 1 → event _ class2 ═ click ",
action keyword 2 → event _ class3 ═ times "
4) The event organization module organizes all keywords together to form a complete event definition, for example, the event finally generated is:
Event={mouse,click,times,value,time,place,null}
5) if the user receives the event definition, the event definition can be directly used. If the event needs to be modified, the event after the event is directly modified and then submitted, for example, the event is modified as follows:
Event={mouse,click,times,value,time,place,{“user_id”:”userA”}}
namely: the collector adds additional custom information for this event as needed.
6) After the service requirements of the collector 'knowing how the user uses the mouse' are automatically converted into event definitions, the intelligent recommendation module can further extract and analyze the service requirements. After the keywords of the mouse and the use are extracted, matching information of other information sources is carried out according to the keywords, for example, the user can refer to the mouse when playing games, so that the collected game events are recommended to the collector as expansion events, and the collector is helped to clearly determine the requirements and actual use conditions of the user for the mouse in a specific scene.
7) The revision and feedback are transmitted back to the self-generated event codes, and the self-learning module further performs machine learning on the system definition and the manual definition to learn new rules or improve the matching degree of the old rules.
As in this example, the additional custom information added by the collector is the user identifier: user _ id, indicating that the collector wants to know a specific user. Namely, the self-recognition program needs the word "user" in the mouse "to know how the user uses the service requirement mentioned by the collector for marking and describing.
Fig. 7 is a schematic structural composition diagram of an electronic device according to a sixth embodiment of the present invention, and as shown in fig. 7, the electronic device includes:
an input means 71 for obtaining input information, said information being used to characterize a business objective;
a processing device 72, configured to analyze the information and extract first key information and second key information from the information; generating identification parameters corresponding to the key information according to the first key information and the second key information; generating a parameter set of the business target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the business target;
and the communication interface 73 is used for calling a data acquisition interface to acquire the data of the business target by using the parameter set of the business target.
The input device 71 is further used for acquiring a setting operation;
the processing device 72 is further configured to generate a custom identifier parameter according to a setting operation after generating the parameter set of the service target; and adding the user-defined identification parameters into the parameter set of the service target.
The processing device 72 is further configured to search, according to one or more of the first key information and the second key information, a database for a parameter set associated with the one or more key information, where the parameter set associated with the one or more key words is used to characterize an associated event of the business objective;
the electronic device further includes: and an output device 74, configured to output the associated event of the business target.
The processing device 72 is further configured to label one or more identification parameters in the parameter set after generating the parameter set of the service target; and when the information is analyzed, extracting first key information and second key information from the information by combining the marked identification parameters.
The number of the second key information is one or more;
the processing device 72 is further configured to, when the number of the second key information is multiple, match second key information associated with the first key information from the multiple second key information; and generating identification parameters corresponding to each key information according to the first key information and the matched second key information.
The electronic device further includes: the storage device 75 is used for storing all the key information in the event definition process, including: original business requirements, object keywords extracted and analyzed, action keywords converted, complete event definition formed by automatic organization and final event definition obtained by correcting events by users.
Those skilled in the art will understand that the implementation functions of each unit in the electronic device shown in fig. 7 can be understood by referring to the related description of the information processing method.
The technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
In the embodiments provided in the present invention, it should be understood that the disclosed method and intelligent device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
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, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one second processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (8)

1. An information processing method comprising:
acquiring input information, wherein the information is used for representing a business target;
analyzing the information, and extracting first key information and second key information from the information;
generating identification parameters corresponding to the key information according to the first key information and the second key information; when the number of the second key information is multiple, matching second key information associated with the first key information from the multiple second key information, and generating identification parameters corresponding to the key information according to the first key information and the matched second key information;
generating a parameter set of the business target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the business target;
and calling a data acquisition interface to acquire the data of the business target by using the parameter set of the business target.
2. The information processing method according to claim 1, the method further comprising:
generating a user-defined identification parameter according to a setting operation after generating the parameter set of the business target;
and adding the user-defined identification parameters into the parameter set of the service target.
3. The information processing method according to claim 1, the method further comprising:
according to one or more key information in the first key information and the second key information, searching a parameter set associated with the one or more key information in a database, wherein the parameter set associated with the one or more key information is used for characterizing the associated event of the business target;
and outputting the associated event of the business target.
4. The information processing method according to claim 1, the method further comprising:
after a parameter set of the business target is generated, one or more identification parameters in the parameter set are labeled;
and when the information is analyzed, extracting first key information and second key information from the information by combining the marked identification parameters.
5. An electronic device, comprising:
the input device is used for acquiring input information, and the information is used for representing a business target;
the processing device is used for analyzing the information and extracting first key information and second key information from the information; generating identification parameters corresponding to the key information according to the first key information and the second key information; when the number of the second key information is multiple, matching second key information associated with the first key information from the multiple second key information, and generating identification parameters corresponding to the key information according to the first key information and the matched second key information; generating a parameter set of the business target according to each identification parameter, wherein the parameter set is used for representing an event corresponding to the business target;
and the communication interface is used for calling a data acquisition interface to acquire the data of the business target by utilizing the parameter set of the business target.
6. The electronic device of claim 5,
the input device is also used for acquiring setting operation;
the processing device is further configured to generate a custom identifier parameter according to a setting operation after generating the parameter set of the service target; and adding the user-defined identification parameters into the parameter set of the service target.
7. The electronic device of claim 5, wherein the processing apparatus is further configured to look up, in a database, a set of parameters associated with one or more of the first key information and the second key information, wherein the set of parameters associated with the one or more key information is used to characterize an associated event of the business objective;
the electronic device further includes: and the output device is used for outputting the associated event of the business target.
8. The electronic device according to claim 5, wherein the processing apparatus is further configured to label one or more identification parameters in the parameter set after generating the parameter set of the business target; and when the information is analyzed, extracting first key information and second key information from the information by combining the marked identification parameters.
CN201610405931.9A 2016-06-08 2016-06-08 Information processing method and electronic equipment Active CN106095435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610405931.9A CN106095435B (en) 2016-06-08 2016-06-08 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610405931.9A CN106095435B (en) 2016-06-08 2016-06-08 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106095435A CN106095435A (en) 2016-11-09
CN106095435B true CN106095435B (en) 2019-12-24

Family

ID=57228515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610405931.9A Active CN106095435B (en) 2016-06-08 2016-06-08 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106095435B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110472821A (en) * 2019-07-04 2019-11-19 深圳壹账通智能科技有限公司 Roadside assistance worksheet processing method, apparatus, computer equipment and storage medium
CN111553487B (en) * 2020-05-25 2021-04-27 支付宝(杭州)信息技术有限公司 Business object identification method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306281A (en) * 2015-12-03 2016-02-03 腾讯科技(深圳)有限公司 Information processing method and client
CN105488032A (en) * 2015-12-31 2016-04-13 杭州智蚁科技有限公司 Speech recognition input control method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306281A (en) * 2015-12-03 2016-02-03 腾讯科技(深圳)有限公司 Information processing method and client
CN105488032A (en) * 2015-12-31 2016-04-13 杭州智蚁科技有限公司 Speech recognition input control method and system

Also Published As

Publication number Publication date
CN106095435A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN107480162B (en) Search method, device and equipment based on artificial intelligence and computer readable storage medium
JP4654776B2 (en) Question answering system, data retrieval method, and computer program
CN105550206B (en) The edition control method and device of structured query sentence
US20120221656A1 (en) Tracking message topics in an interactive messaging environment
CN112749266B (en) Industrial question and answer method, device, system, equipment and storage medium
Oramas et al. ELMD: An automatically generated entity linking gold standard dataset in the music domain
CN103823811A (en) Method and system for processing journals
CN109492081B (en) Text information searching and information interaction method, device, equipment and storage medium
JP7103496B2 (en) Related score calculation system, method and program
CN105574089A (en) Mapping knowledge domain generation method and device, and object comparison method and device
CN114208135B (en) Information pushing method, device, server and storage medium
CN103838754A (en) Information searching device and method
CN106095435B (en) Information processing method and electronic equipment
CN107748755A (en) Synonym method for digging, device, equipment and computer-readable recording medium
CN110209780B (en) Question template generation method and device, server and storage medium
CN114020960A (en) Music recommendation method, device, server and storage medium
CN112650919B (en) Entity information analysis method, device, equipment and storage medium
Eken et al. Predicting defects with latent and semantic features from commit logs in an industrial setting
CN107622125B (en) Information crawling method and device and electronic equipment
CN112115362B (en) Programming information recommendation method and device based on similar code recognition
Akpınar et al. Heuristic role detection of visual elements of web pages
JP2019128925A (en) Event presentation system and event presentation device
CN103778210A (en) Method and device for judging specific file type of file to be analyzed
CN112650595B (en) Communication content processing method and related device
CN112084111A (en) Data processing method, system and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant