CN111611030A - Data processing method and device and data processing device - Google Patents

Data processing method and device and data processing device Download PDF

Info

Publication number
CN111611030A
CN111611030A CN201910134205.1A CN201910134205A CN111611030A CN 111611030 A CN111611030 A CN 111611030A CN 201910134205 A CN201910134205 A CN 201910134205A CN 111611030 A CN111611030 A CN 111611030A
Authority
CN
China
Prior art keywords
answer
question
determining
preset
data processing
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
CN201910134205.1A
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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201910134205.1A priority Critical patent/CN111611030A/en
Publication of CN111611030A publication Critical patent/CN111611030A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a data processing method and device and a device for data processing. The method specifically comprises the following steps: determining a screen image in response to an operation by a user; determining answers corresponding to the questions in the screen images; and displaying the answer. The embodiment of the invention can reduce the time for obtaining the answer and improve the efficiency for obtaining the answer.

Description

Data processing method and device and data processing device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data processing method and apparatus, and an apparatus for data processing.
Background
With the development of communication technology, users have become important means for communication through a network, and IM (Instant Messenger) is also applied more and more widely. At present, a customer service system can solve various problems for a user, for example, the customer service system can provide online customer service, and after a customer service person logs in, the customer service person can consult and communicate with the user in real time in an IM (instant messaging) mode.
Current online customer service is typically performed by customer service personnel. Specifically, the question of the user may be assigned to the corresponding customer service person, and the corresponding customer service person provides the answer corresponding to the question. Customer service personnel provide high-quality answers and need to have rich professional knowledge; in addition, since there are many kinds of problems, it is necessary for a customer service person to have good memory.
However, in practical applications, the limitations of expertise and memory make it impossible for the customer service personnel to provide high quality answers in some cases. In this case, the customer service staff needs to obtain answers corresponding to the questions from others or search for answers corresponding to the questions in the database, which increases the time for obtaining the answers and further affects the efficiency of providing the answers.
Disclosure of Invention
Embodiments of the present invention provide a data processing method and apparatus, and an apparatus for data processing, which can reduce the time for obtaining answers and improve the efficiency for obtaining answers.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method, including:
determining a screen image in response to an operation by a user;
determining answers corresponding to the questions in the screen images;
and displaying the answer.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method, including:
determining a problem in the screen image;
determining a first expression vector corresponding to the problem;
determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem;
determining an answer corresponding to the question according to the answer corresponding to the target preset question
On the other hand, the embodiment of the invention discloses a data processing device, which comprises:
a screen image determination module for determining a screen image in response to an operation by a user;
the answer determining module is used for determining an answer corresponding to the question in the screen image; and
and the answer display module is used for displaying the answer.
On the other hand, the embodiment of the invention discloses a data processing device, which comprises:
a question determination module for determining a question in the screen image;
a first representative vector determining module, configured to determine a first representative vector corresponding to the problem;
the target preset problem determining module is used for determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem; and
and the answer determining module is used for determining the answer corresponding to the question according to the answer corresponding to the target preset question.
In yet another aspect, an embodiment of the present invention discloses an apparatus for data processing, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors includes instructions for:
determining a screen image in response to an operation by a user;
determining answers corresponding to the questions in the screen images;
and displaying the answer.
In yet another aspect, an embodiment of the present invention discloses an apparatus for data processing, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors includes instructions for:
determining a problem in the screen image;
determining a first expression vector corresponding to the problem;
determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem;
and determining an answer corresponding to the question according to the answer corresponding to the target preset question.
In yet another aspect, an embodiment of the invention discloses a machine-readable medium having stored thereon instructions, which, when executed by one or more processors, cause an apparatus to perform a data processing method as described in one or more of the preceding.
The embodiment of the invention has the following advantages:
the embodiment of the invention can respond to the operation of the user, provide the answer corresponding to the question in the screen image for the user, and can reduce the cost of searching the answer by the user through the question, thereby reducing the obtaining time of the answer and improving the obtaining efficiency of the answer.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a schematic representation of an application environment for a data processing method of an embodiment of the present invention;
FIG. 2 is a flow chart of steps of a first embodiment of a data processing method of the present invention;
FIG. 3 is a flowchart illustrating steps of a second embodiment of a data processing method according to the present invention;
FIG. 4 is a flowchart of the third step of a data processing method according to a third embodiment of the present invention;
FIG. 5 is a block diagram of an embodiment of a data processing apparatus of the present invention;
FIG. 6 is a block diagram of an embodiment of a data processing apparatus according to the present invention;
FIG. 7 is a block diagram of an apparatus 800 for data processing of the present invention; and
fig. 8 is a schematic diagram of a server in some embodiments of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
For the problem of long answer obtaining time in the related art, the embodiment of the present invention provides a data processing scheme, which specifically includes: determining a screen image in response to an operation by a user; determining answers corresponding to the questions in the screen images; and displaying the answer.
The embodiment of the invention can respond to the operation of the user, provide the answer corresponding to the question in the screen image for the user, and can reduce the cost of searching the answer by the user through the question, thereby reducing the obtaining time of the answer and improving the obtaining efficiency of the answer.
The applicable scenes of the embodiment of the invention can comprise: question and answer scenes and the like. In the question and answer scenario, the screen content may include questions, and the embodiment of the present invention may automatically detect the questions in the screen content and improve answers corresponding to the questions.
The question-answer scenario may include: and (5) customer service scenes. The user can be used as a customer service person to provide customer service. Alternatively, the question and answer scenario may include: the dialog scene, the user acting as a dialog person, may provide reply content.
It should be noted that the questions in the question and answer scenario may be located in a window, such as a communication window or a browser window. The communication window may include: an instant messaging window, etc. The browser window may present a question in the question-and-answer platform, the question being posted by a first user and an answer to the question being provided by a second user.
The data processing method provided by the embodiment of the present application can be applied to the application environment shown in fig. 1, as shown in fig. 1, the client 100 and the server 200 are located in a wired or wireless network, and the client 100 and the server 200 perform data interaction through the wired or wireless network.
Optionally, the client 100 may operate on a device, for example, the client 100 may be an APP that operates on the device, such as a short message APP, an e-commerce APP, an instant messaging APP, a question and answer APP, an input method APP, or an APP that is carried by an operating system itself, and the specific APP corresponding to the client is not limited in the embodiment of the present application. Alternatively, the client 100 described above may provide a question-and-answer function that can quickly provide answers in response to an operation by the user.
Optionally, the device may include a screen, the screen may be used to display content, and the content may include: answers, etc. The above devices may specifically include but are not limited to: smart phones, tablet computers, electronic book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer 4) players, laptop portable computers, car-mounted computers, desktop computers, set-top boxes, smart televisions, wearable devices, smart stereos, and the like. It is to be understood that the embodiments of the present application are not limited to the specific devices.
Method embodiment one
Referring to fig. 2, a flowchart illustrating steps of a first embodiment of a data processing method according to the present invention is shown, which may specifically include the following steps:
step 201, responding to the operation of a user, and determining a screen image;
step 202, determining answers corresponding to the questions in the screen image;
and step 203, displaying the answer.
At least one step of the embodiment shown in fig. 2 may be performed by a client, which may refer to a client corresponding to a user. The client can correspond to any APP, such as an input method APP. The input method APP is a hosted program, can be hosted in any APP environment, and therefore has a cross-application characteristic. Therefore, in the case of executing the method of the embodiment of the present invention through the input method APP, the embodiment of the present invention may be applied to any application scenario, where the application scenario may include: a customer service scene, an instant messaging scene, and the like, wherein the corresponding field of the customer service scene may include: e-commerce, printers, computers, etc., embodiments of the present invention are not limited to a particular field.
In step 201, a user operation may be used to trigger the method of an embodiment of the present invention. The embodiments of the present invention do not limit the specific operations. For example, the operations may include: touch control operation, gesture operation or voice operation and the like.
In an optional embodiment of the present invention, the operation of the user specifically may include: and triggering operation of a preset control in the input method interface by a user.
The input method refers to a coding method adopted for inputting various characters into a computer or other equipment (such as a mobile phone and a tablet computer). The input method Interface is a UI (User Interface) which is a medium for interaction and information exchange between the system and the User. Controls refer to the encapsulation of data and methods. The control may have its own properties and methods, where properties are simple visitors of the control's data and methods are some simple and visible functions of the control.
The method and the device can set the attribute of the preset control in the input method interface so as to respond to the operation of a user and execute the method.
The preset control is not limited in the embodiment of the present invention, for example, the preset control may be a function control in an input method interface, and the preset control may be a search control, and the like.
Certainly, the triggering operation of the preset control in the input method interface by the user is only an optional embodiment, and actually, the operation of the user may further include: preset gestures, preset key combinations, and the like.
The screen image may refer to an image corresponding to the screen content. The screen image may be acquired according to a screen capture function. In practical application, the screen image can be acquired by calling a screen capture function interface provided by an operating system.
In the embodiment of the invention, the authority of the screen capturing function can be granted by the user. Under the condition that the APP is not unloaded, if the user authorization is obtained once, the permission of the screen capturing function can be continuously obtained.
In this embodiment of the present invention, optionally, the screen image may include: screen content of one screen, or multiple screens.
In practical applications, the content of one screen or the content of multiple screens may correspond to different operations. For example, the trigger operation of the first preset control corresponds to the screen content of one screen; for another example, the triggering operation of the second preset control corresponds to the screen content of the multiple screens, and the like.
In an embodiment of the present invention, the screen content corresponding to the screen image may be determined according to the window content.
According to an embodiment, if the length of the window content does not exceed the length threshold, the screen image may include: screen content of one screen. For example, if only M (M is a natural number) messages are included in the communication window, and the length of the M messages does not exceed the length threshold, the screen image may include: screen content of one screen.
According to another embodiment, if the length of the window content exceeds the length threshold, the screen image may include: screen contents of multiple screens. For example, if a plurality of messages are included in the communication window and the length of the plurality of messages exceeds the length threshold, the screen image may include: screen contents of multiple screens.
Alternatively, in the process of determining the screen image, the publishing time of the window content may be considered, and the screen content may be determined from the window content in the order of the publishing time from near to far. For example, the content of the window whose release time is within a preset time period may be taken as the screen content. The end time of the preset time period may be the current time, and the time length of the preset time period may be determined by those skilled in the art according to the actual application requirement, for example, the time length may be 12 hours, 24 hours, even 8 hours, 1 hour, and the like.
In step 202, optionally, an OCR (Optical character recognition) technique may be used to determine the text in the screen image and determine the problem from the text. OCR technology can find an image area containing text and identify the text in the image area.
In practical applications, the screen image may include: a problem or a plurality of problems. The embodiment of the invention can determine the target problem from a plurality of problems and determine the answer corresponding to the target problem. A target question may refer to a question that has not yet been answered.
For example, in a customer service scenario, a plurality of questions are received, wherein some of the plurality of questions have been answered. Whether the question is replied can be determined by judging whether the text includes an answer corresponding to the question. Alternatively, it may be determined whether the question is answered or not depending on the issue time of the question, e.g., if the issue time of the question is latest and the answer content has not appeared after the question, the question is not answered.
In an alternative embodiment of the present invention, the screen image may include: the multiple questions can be combined and answered under the condition that the correlation degree among the multiple questions exceeds the correlation degree threshold value, namely, one answer can be provided for the multiple questions, so that the number of times that the user checks the answers can be reduced, the redundancy among the multiple answers is avoided, and the user experience is improved.
For example, 2 questions in a screen image include: "printer cannot print" and "display offline", since the 2 questions have a certain correlation, the 2 questions can be combined and answered.
The embodiment of the invention can respectively determine corresponding representations aiming at a plurality of problems in the screen image, wherein the representations can be keywords or word vectors. A degree of correlation between the plurality of questions may be determined based on a similarity between the representations to which the plurality of questions correspond.
The process of merging answers to multiple questions may specifically refer to the embodiment of the method shown in fig. 3, and the process may include: determining a first expression vector corresponding to a plurality of problems; determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem; and determining an answer corresponding to the question according to the answer corresponding to the target preset question.
In the process of carrying out combined answer on a plurality of questions, the plurality of questions can be combined and understood, and one answer is provided according to the combined understanding result.
In the embodiment of the present invention, the client may obtain the answer corresponding to the question in the screen image, or the client may send the screen image to the server, so that the server obtains the answer corresponding to the question in the screen image.
In an optional embodiment of the present invention, the answer may be obtained according to an answer corresponding to a target preset question, and a matching degree between a first expression vector corresponding to the question and a second expression vector corresponding to the target preset question meets a preset condition.
The preset question may refer to an existing question, or a question for which an answer already exists. In practical applications, preset questions and their corresponding answers may be collected. For example, the preset questions and the corresponding answers thereof can be collected through an internet crawling manner. For another example, the preset questions and the corresponding answers may be obtained from the provider in a manner of cooperating with the provider, for example, in a customer service scenario, the provider of the customer service may provide the preset questions and the corresponding answers. It can be understood that the embodiment of the present invention does not limit the specific obtaining manner of the preset question and the corresponding answer.
The embodiment of the invention can determine the target preset problem which meets the preset condition from a plurality of preset problems, wherein the preset condition can be used for constraining a first expression vector corresponding to the problem and a second expression vector corresponding to the target preset problem so as to enable the problem to be matched with the target preset problem. Since the target preset question is an existing question, the corresponding answer of the target preset question is usually reasonable and effective, and the target preset question is matched with the question, the answer corresponding to the target preset question can be used as a basis for determining the answer corresponding to the question.
For example, the question a is "printer off-line and cannot print", the corresponding target preset question a is "printer display off-line and cannot print", and the similarity between the question and the target preset question a is high, so that the answer corresponding to the question a can be determined according to the answer corresponding to the target preset question a. For example, the answer corresponding to the target preset question a may include an operation step of solving the question a for the user to refer to.
It can be understood that the above obtaining the answer corresponding to the question according to the answer corresponding to the target preset question is only an optional embodiment, and in fact, a person skilled in the art may determine the answer corresponding to the question in other manners according to the actual application requirements, for example, in some embodiments, a search result corresponding to a first keyword may be determined according to the first keyword corresponding to the question, and the answer corresponding to the question may be obtained from the search result, where the search result is also a result obtained by searching for the first keyword as a search term, and the type of the search result may include: a web page or a document.
In step 203, the answer may be presented to enable the user to view the answer.
According to one embodiment, the answer may include: an answer, in which case the answer may be presented directly.
According to another embodiment, the answer may include: multiple answers, step 203 shows the answer, which may specifically include: and displaying the first answer and the sliding control in the answer area.
The slide control can be used for performing slide switching of the answers so that the user can view a plurality of answers through sliding.
Optionally, the slide control may include: the answer is switched to the first direction by the sliding control in the first direction, and the answer is switched to the second direction by the sliding control in the second direction. The first direction may be a left direction and the second direction may be a right direction. Alternatively, the first direction may be upward and the second direction may be downward.
In an optional embodiment of the present invention, the presenting the answer may further include: and in response to the operation of the user on the sliding control, presenting a second answer in the answer area. For example, a second answer may be presented within the answer area in response to an operation of the slider control to the right, which may be located to the right of the first answer. For another example, a second answer may be presented within the answer region in response to operation of the slider control to the left, which may be located to the left of the first answer.
In the embodiment of the present invention, optionally, the answer area may be an area of the input method interface. For example, an input method interface may include: a toolbar area and a button area, wherein the toolbar area may include: tool controls, such as preset controls, the button zones may include: a plurality of keys such as letter keys, symbol keys, etc. According to the embodiment of the invention, a covering layer can be arranged on the key area to serve as an answer area, and the answer is displayed through the answer area. The masking layer refers to a layer with a certain transparency value, and the parameters of the masking layer may include a size, a display position, and a transparency value. The covering layer in the embodiment of the invention covers the key area, so that the display elements of the covering layer and the key area can be simultaneously displayed through the parameters of the covering layer.
It is understood that the answer area is located on the key area, which is only an alternative embodiment, and in fact, the answer area may be any interface area, and the embodiment of the present invention does not limit the specific answer area.
In an optional embodiment of the present invention, the method may further include:
responding to a first operation of a user on the answer, and outputting the answer corresponding to the first operation to an input box; or
And responding to a second operation of the user on the answer, and sending the answer corresponding to the first operation to the correspondent node.
The embodiment of the invention can respond to the first operation and output the answer to the input box. The input box may refer to the input box of the host application hosted by the input method. Inputting the answer into the input box can support the user to edit the answer in the input box.
The embodiment of the invention can respond to the second operation and send the answer, and particularly can send the answer corresponding to the first operation to the opposite communication terminal so as to realize quick sending of the answer. For example, in a customer service scenario or an instant messaging scenario, the correspondent may refer to the end that raised the question. For another example, in a question-and-answer scenario, the correspondent node may refer to a server of the question-and-answer platform, and the like.
The embodiment of the present invention does not impose a limitation on the first operation and the second operation. Alternatively, the first operation may be an operation on a control.
For example, a screen-up control may be disposed in the answer area, and the answer in the answer area may be output to the input box in response to an operation on the screen-up control. For another example, a sending control may be disposed in the answer area, and the answer in the answer area may be sent to the correspondent node in response to an operation on the sending control.
Of course, the first operation and the second operation may also correspond to a shortcut key, a gesture, voice, or the like, and the first operation and the second operation are not limited in the embodiment of the present invention.
In summary, the data processing method of the embodiment of the present invention can provide the answer corresponding to the question in the screen image to the user in response to the operation of the user, and can reduce the cost of the user for searching the answer through the question, thereby reducing the time for obtaining the answer and improving the efficiency for obtaining the answer.
In addition, the screen image of the embodiment of the invention can be obtained through the screen capturing function, the authority of the screen capturing function can be granted by the user, and under the condition of not unloading the APP, if the authority of the user is obtained once, the authority of the screen capturing function can be continuously obtained, so that the embodiment of the invention can reduce the difficulty of obtaining the screen image, and further can increase the application range of the scheme.
In addition, the embodiment of the invention can support the editing and sending of answers by the user, and in practical application, the questions are usually from the opposite communication terminal, so that the embodiment of the invention also responds to the trigger of the user on the basis of providing answers corresponding to the questions, and quickly sends the answers corresponding to the questions to the opposite communication terminal, thereby helping the user to conveniently reply the questions.
Method embodiment two
Referring to fig. 3, a flowchart illustrating steps of a second embodiment of the data processing method of the present invention is shown, which may specifically include the following steps:
step 301, determining a problem in a screen image;
step 302, determining a first expression vector corresponding to the problem;
step 303, determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem;
and step 304, determining an answer corresponding to the question according to the answer corresponding to the target preset question.
At least one of the steps of the embodiment shown in fig. 3 may be performed by a client or a server. The embodiment shown in fig. 3 may be used to determine the answer corresponding to the question in the screen image, that is, the process of determining the answer corresponding to the question in the screen image in the embodiment of the present invention may include: determining a problem in the screen image; determining a first expression vector corresponding to the problem; determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem; and determining an answer corresponding to the question according to the answer corresponding to the target preset question.
According to the embodiment of the invention, the target preset problem can be determined according to the matching degree between the first expression vector corresponding to the problem and the second expression vector corresponding to the preset problem, and then the answer corresponding to the problem is determined according to the answer corresponding to the target preset problem.
Because the target preset question is an existing question, the corresponding answer of the target preset question is usually reasonable and effective, and the target preset question is matched with the question, the answer corresponding to the target preset question can be used as the basis for determining the answer corresponding to the question, and the accuracy of the answer corresponding to the question can be improved.
In the embodiment of the present invention, optionally, the preset questions and the corresponding answers thereof may be stored in a knowledge base. Step 303 may match the first representation vector with a second representation vector corresponding to a preset problem in the knowledge base to obtain a corresponding degree of matching.
The embodiment of the invention converts the text into the vector representation with fixed length, thereby facilitating the processing. The first representation vector may be used to represent a question and the second representation vector may be used to represent a pre-set question. The dimensions of the first representation vector or the second representation vector may be one-dimensional or two-dimensional or three-dimensional.
The type of the first representation vector or the second representation vector may comprise: one-hot (one-hot) vectors, word embedding vectors (WordEmbelling), or high-level representation vectors. word embedding is to find a mapping or a function to generate an expression in a new space, and the expression is word representation.
In an alternative embodiment of the present invention, the determining of the first representative vector may comprise: and determining a word embedding vector corresponding to the problem, and processing the word embedding vector by using a neural network to obtain a high-level expression vector corresponding to the problem. The word embedding vector is processed by utilizing the neural network, and the deep-level features of the word embedding vector can be extracted, so that the richness of the first expression vector can be improved. Alternatively, the word embedding vector may be processed by using a neural network such as CNN (Convolutional neural network) or LSTM (Long Short-Term Memory). For the determination process of the second expression vector, since it is similar to the determination process of the first expression vector, it is not repeated herein and it is sufficient to refer to each other.
Similarity measures between the vectors can be adopted to determine matching degrees between the first expression vector and a second expression vector corresponding to a preset problem. The similarity measure may include: cosine of included angle, Euclidean distance, etc.
The embodiment of the invention can take one or more preset problems with the maximum matching degree as target preset problems.
In an optional embodiment of the present invention, the first keyword corresponding to the question is matched with the second keyword corresponding to the preset question. Because the number of preset problems in the knowledge base is usually more, the embodiment of the invention can screen the preset problems in the knowledge base based on the matching between the first keyword and the second keyword; then, step 303 is performed for the preset questions that the filter passes. The screening can reduce the calculation amount and further improve the calculation speed.
In one embodiment, preset questions in the knowledge base can be screened based on matching between the first keyword and the second keyword, and the preset questions which pass the screening are assumed to be the first preset questions; the target preset problem corresponding to the problem can be determined according to the matching degree between the first expression vector and the second expression vector corresponding to the first preset problem. The matching condition of the first preset problem and the problem may include: the domain keywords match, and/or, the intent keywords match, and/or, the slot keywords match.
In this embodiment of the present invention, optionally, the first keyword corresponding to the question may specifically include:
a domain keyword; and/or
An intention keyword; and/or
Slot position key words.
In embodiments of the present invention, a domain may refer to a range of data. Alternatively, a domain may refer to an application scenario or category of data. Areas may include, but are not limited to: printers, computers, encyclopedias, news, music, video, movie, games, sports, e-commerce, educational learning, FM (Frequency Modulation), SMS (Short messaging service), controls, travel, books, weather, galleries, and the like. It is to be appreciated that the domain can be subdivided to obtain subdivided domains. For example, a subdivision of the encyclopedia domain may include: the meaning items corresponding to the encyclopedia meaning words respectively, and the like. Optionally, a domain may be related to a corresponding APP or service, and the embodiment of the present invention does not limit a specific domain.
The embodiment of the invention can identify the domain keywords from the texts corresponding to the problems. Optionally, the text corresponding to the question may be segmented, and the segmentation result may be matched with the domain keyword. Alternatively, a classification model may be utilized to determine the domain to which the problem belongs.
The classification model may be a machine learning model. Broadly speaking, machine learning is a method that can give the machine learning ability to perform functions that cannot be performed by direct programming. However, in a practical sense, machine learning is a method of training a model by using data and then predicting using the model. The machine learning method may include: a decision tree method, a linear regression method, a logistic regression method, a neural network method, a k-nearest neighbor method, and the like, it is to be understood that the specific machine learning method is not limited in the embodiments of the present invention. The classification model described above may have domain classification capabilities.
Intent (Intent) is a determination of a sentence expressed by the user to determine what task the user wishes to accomplish. Optionally, the intent keywords corresponding to the question may be determined using a classification model.
Slot (Slot) is a definition for key information in a user expression. In the expression of an air ticket booking, for example, the slot positions may include: "departure time", "origin", "destination", etc. As another example, in the expression of a computer failure, a slot may include: a "blue screen", etc.
In the embodiment of the present invention, optionally, an intention keyword corresponding to the problem may be determined by using an intention extraction technology. Optionally, a slot filling technique may be used to determine a slot keyword corresponding to the problem. And will not be described in detail herein.
Any one of the domain keyword, the intention keyword and the slot keyword can reflect the information of the problem, so any one or combination of the domain keyword, the intention keyword and the slot keyword can be used as the first keyword corresponding to the problem.
Similarly, the second keyword may specifically include:
a domain keyword; and/or
An intention keyword; and/or
Slot position key words.
The embodiment of the invention can save the corresponding second keyword aiming at the preset problem in the knowledge base.
To sum up, the data processing method according to the embodiment of the present invention determines a target preset problem according to a matching degree between a first expression vector corresponding to the problem and a second expression vector corresponding to a preset problem, and further determines an answer corresponding to the problem according to an answer corresponding to the target preset problem.
Because the target preset question is an existing question, the corresponding answer of the target preset question is usually reasonable and effective, and the target preset question is matched with the question, the answer corresponding to the target preset question can be used as the basis for determining the answer corresponding to the question, and the accuracy of the answer corresponding to the question can be improved.
Method embodiment three
Referring to fig. 4, a flowchart illustrating steps of a third embodiment of the data processing method of the present invention is shown, which may specifically include the following steps:
step 401, the client responds to the operation of a user and determines a screen image;
step 402, the client sends a screen image to the server;
step 403, the server determines a problem in the screen image;
step 404, the server determines a first expression vector corresponding to the problem;
step 405, the server determines a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem;
step 406, the server determines an answer corresponding to the question according to the answer corresponding to the target preset question;
step 407, the server sends an answer corresponding to the question to the client;
and step 408, the client displays the answer corresponding to the question.
In the embodiment of the invention, after the client determines the screen image, the client can send the screen image to the server so that the server determines the answer corresponding to the question in the screen image, thus the advantage of rich computing resources of the server can be exerted, and the obtaining efficiency and accuracy of the answer can be improved. Of course, in other embodiments of the present invention, the client may determine the answer corresponding to the question in the screen image, and the embodiment of the present invention does not limit the specific execution subject corresponding to the answer corresponding to the question in the screen image.
In the embodiment of the invention, the client can respond to the operation of the user and display the answer corresponding to the question. After receiving the operation of the user and before showing the answer corresponding to the question, the corresponding waiting prompt can be provided, and the patience and the user experience of the user can be improved. For example, the waiting prompt may be "load in play, please wait", "please wait, answer comes right now, etc.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Device embodiment
Referring to fig. 5, a block diagram of a data processing apparatus according to an embodiment of the present invention is shown, which may specifically include:
a screen image determination module 501 for determining a screen image in response to an operation by a user;
an answer determining module 502, configured to determine an answer corresponding to the question in the screen image; and
an answer displaying module 503, configured to display the answer.
Optionally, the operation of the user may include:
and triggering operation of a preset control in the input method interface by a user.
Optionally, the answer is obtained according to an answer corresponding to a target preset question, and a matching degree between a first expression vector corresponding to the question and a second expression vector corresponding to the target preset question meets a preset condition.
Optionally, the answer may include: a plurality of answers, the answer presentation module may include:
and the first answer display module is used for displaying the first answer and the sliding control in the answer area.
Optionally, the answer presenting module may further include:
and the second answer display module is used for responding to the operation of the user on the sliding control and displaying a second answer in the answer area.
Optionally, the apparatus may further include:
the answer output module is used for responding to a first operation of the user on the answer and outputting the answer corresponding to the first operation to an input frame; or
And the answer sending module is used for responding to a second operation of the user on the answer and sending the answer corresponding to the first operation to the communication opposite terminal.
Alternatively, the screen image may include: screen content of one screen, or multiple screens.
Referring to fig. 6, a block diagram of a data processing apparatus according to an embodiment of the present invention is shown, which may specifically include:
a question determination module 601 for determining a question in the screen image;
a first representative vector determining module 602, configured to determine a first representative vector corresponding to the problem;
a target preset problem determining module 603, configured to determine a target preset problem corresponding to the problem according to a matching degree between the first expression vector and a second expression vector corresponding to the preset problem; and an answer determining module 604, configured to determine an answer corresponding to the question according to an answer corresponding to the target preset question.
Optionally, the first keyword corresponding to the question is matched with the second keyword corresponding to the preset question.
Optionally, the first keyword corresponding to the question may include:
a domain keyword; and/or
An intention keyword; and/or
Slot position key words.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present invention provides an apparatus for data processing, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include instructions for: determining a screen image in response to an operation by a user; determining answers corresponding to the questions in the screen images; and displaying the answer.
Fig. 7 is a block diagram illustrating an apparatus 800 for data processing in accordance with an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 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.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice data processing mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on radio frequency data processing (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 8 is a schematic diagram of a server in some embodiments of the invention. The server 1900, which may vary widely in configuration or performance, may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus (server or terminal), enable the apparatus to perform the data processing method shown in fig. 2 or fig. 3 or fig. 4.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus (server or terminal), enable the apparatus to perform a data processing method, the method comprising: determining a screen image in response to an operation by a user; determining answers corresponding to the questions in the screen images; and displaying the answer.
The embodiment of the invention discloses A1 and a data processing method, wherein the method comprises the following steps:
determining a screen image in response to an operation by a user;
determining answers corresponding to the questions in the screen images;
and displaying the answer.
A2, the method of A1, the user's actions comprising:
and triggering operation of a preset control in the input method interface by a user.
A3, obtaining the answer according to the method of a1, wherein the answer is obtained according to the answer corresponding to the target preset question, and the matching degree between the first expression vector corresponding to the question and the second expression vector corresponding to the target preset question meets the preset condition.
A4, the method of A1, the answer comprising: a plurality of answers, said presenting said answers, comprising:
and displaying the first answer and the sliding control in the answer area.
A5, the method of A4, the presenting the answer, further comprising:
and in response to the operation of the user on the sliding control, presenting a second answer in the answer area.
A6, the method of any one of A1 to A5, the method further comprising:
responding to a first operation of a user on the answer, and outputting the answer corresponding to the first operation to an input box; or
And responding to a second operation of the user on the answer, and sending the answer corresponding to the first operation to the correspondent node.
A7, the method of any of A1-A5, the screen image comprising: screen content of one screen, or multiple screens.
The embodiment of the invention discloses B8 and a data processing method, wherein the method comprises the following steps:
determining a problem in the screen image;
determining a first expression vector corresponding to the problem;
determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem;
and determining an answer corresponding to the question according to the answer corresponding to the target preset question.
B9, according to the method of B8, the first keywords corresponding to the question are matched with the second keywords corresponding to the preset question.
B10, according to the method of B9, the first keyword corresponding to the question comprises:
a domain keyword; and/or
An intention keyword; and/or
Slot position key words.
The embodiment of the invention discloses C11 and a data processing device, wherein the device comprises:
a screen image determination module for determining a screen image in response to an operation by a user;
the answer determining module is used for determining an answer corresponding to the question in the screen image; and
and the answer display module is used for displaying the answer.
C12, the apparatus of C11, the user's operations comprising:
and triggering operation of a preset control in the input method interface by a user.
And C13, according to the apparatus of C11, the answer is obtained according to the answer corresponding to the target preset question, and the matching degree between the first expression vector corresponding to the question and the second expression vector corresponding to the target preset question meets the preset condition.
C14, the apparatus of C11, the answer comprising: a plurality of answers, the answer presentation module comprising:
and the first answer display module is used for displaying the first answer and the sliding control in the answer area.
C15, the device according to C11, the answer showing module further comprises:
and the second answer display module is used for responding to the operation of the user on the sliding control and displaying a second answer in the answer area.
C16, the apparatus according to any one of C11 to C15, the apparatus further comprising:
the answer output module is used for responding to a first operation of the user on the answer and outputting the answer corresponding to the first operation to an input frame; or
And the answer sending module is used for responding to a second operation of the user on the answer and sending the answer corresponding to the first operation to the communication opposite terminal.
C17, the device of any of C11-C15, the screen image comprising: screen content of one screen, or multiple screens.
The embodiment of the invention discloses D18 and a data processing device, wherein the device comprises:
a question determination module for determining a question in the screen image;
a first representative vector determining module, configured to determine a first representative vector corresponding to the problem;
the target preset problem determining module is used for determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem; and
and the answer determining module is used for determining the answer corresponding to the question according to the answer corresponding to the target preset question.
D19, according to the device of D18, the first keyword corresponding to the question matches the second keyword corresponding to the preset question.
D20, according to the device of D19, the first keyword corresponding to the question includes:
a domain keyword; and/or
An intention keyword; and/or
Slot position key words.
The embodiment of the invention discloses E21, a device for data processing, the device is applied to a server, the device comprises a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs are configured to be executed by one or more processors and comprise instructions for:
determining a screen image in response to an operation by a user;
determining answers corresponding to the questions in the screen images;
and displaying the answer.
E22, the apparatus according to E21, wherein the user's actions include:
and triggering operation of a preset control in the input method interface by a user.
E23, the device according to E21, wherein the answer is obtained according to an answer corresponding to a target preset question, and a matching degree between a first expression vector corresponding to the question and a second expression vector corresponding to the target preset question meets a preset condition.
E24, the device according to E21, characterized in that the answer comprises: a plurality of answers, said presenting said answers, comprising:
and displaying the first answer and the sliding control in the answer area.
E25, the apparatus according to E24, wherein said presenting the answer further comprises:
and in response to the operation of the user on the sliding control, presenting a second answer in the answer area.
E26, the device according to any of E21 to E25, characterized in that it further comprises:
responding to a first operation of a user on the answer, and outputting the answer corresponding to the first operation to an input box; or
And responding to a second operation of the user on the answer, and sending the answer corresponding to the first operation to the correspondent node.
E27, the device according to any of E21 to E25, characterized in that the screen image comprises: screen content of one screen, or multiple screens.
The embodiment of the invention discloses F28, an apparatus for data processing, wherein the apparatus is applied to a server, the apparatus comprises a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors comprise instructions for:
determining a problem in the screen image;
determining a first expression vector corresponding to the problem;
determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem;
and determining an answer corresponding to the question according to the answer corresponding to the target preset question.
F29, the device according to F28, characterized in that the first keyword corresponding to the question matches the second keyword corresponding to the preset question.
F30, the device according to F29, characterized in that the first keyword corresponding to the question includes:
a domain keyword; and/or
An intention keyword; and/or
Slot position key words.
The embodiment of the invention discloses G31, a machine readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform a data processing method as described in one or more of A1-A7.
An embodiment of the invention discloses H32, a machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform a data processing method as described in one or more of B8-B10.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
The data processing method, the data processing apparatus and the apparatus for data processing provided by the present invention are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present invention, and the description of the above embodiments is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of data processing, the method comprising:
determining a screen image in response to an operation by a user;
determining answers corresponding to the questions in the screen images;
and displaying the answer.
2. The method of claim 1, wherein the user action comprises:
and triggering operation of a preset control in the input method interface by a user.
3. The method according to claim 1, wherein the answer is obtained according to an answer corresponding to a target preset question, and a matching degree between a first expression vector corresponding to the question and a second expression vector corresponding to the target preset question meets a preset condition.
4. A method of data processing, the method comprising:
determining a problem in the screen image;
determining a first expression vector corresponding to the problem;
determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem;
and determining an answer corresponding to the question according to the answer corresponding to the target preset question.
5. A data processing apparatus, characterized in that the apparatus comprises:
a screen image determination module for determining a screen image in response to an operation by a user;
the answer determining module is used for determining an answer corresponding to the question in the screen image; and
and the answer display module is used for displaying the answer.
6. A data processing apparatus, characterized in that the apparatus comprises:
a question determination module for determining a question in the screen image;
a first representative vector determining module, configured to determine a first representative vector corresponding to the problem;
the target preset problem determining module is used for determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem; and
and the answer determining module is used for determining the answer corresponding to the question according to the answer corresponding to the target preset question.
7. An apparatus for data processing, the apparatus being applied to a server, the apparatus comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein the one or more programs configured to be executed by the one or more processors comprise instructions for:
determining a screen image in response to an operation by a user;
determining answers corresponding to the questions in the screen images;
and displaying the answer.
8. An apparatus for data processing, the apparatus being applied to a server, the apparatus comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein the one or more programs configured to be executed by the one or more processors comprise instructions for:
determining a problem in the screen image;
determining a first expression vector corresponding to the problem;
determining a target preset problem corresponding to the problem according to the matching degree between the first expression vector and a second expression vector corresponding to the preset problem;
and determining an answer corresponding to the question according to the answer corresponding to the target preset question.
9. A machine-readable medium having stored thereon instructions which, when executed by one or more processors, cause an apparatus to perform a data processing method as claimed in one or more of claims 1 to 3.
10. A machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause an apparatus to perform the data processing method of claim 4.
CN201910134205.1A 2019-02-22 2019-02-22 Data processing method and device and data processing device Pending CN111611030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910134205.1A CN111611030A (en) 2019-02-22 2019-02-22 Data processing method and device and data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910134205.1A CN111611030A (en) 2019-02-22 2019-02-22 Data processing method and device and data processing device

Publications (1)

Publication Number Publication Date
CN111611030A true CN111611030A (en) 2020-09-01

Family

ID=72201940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910134205.1A Pending CN111611030A (en) 2019-02-22 2019-02-22 Data processing method and device and data processing device

Country Status (1)

Country Link
CN (1) CN111611030A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113171609A (en) * 2021-03-24 2021-07-27 北京完美赤金科技有限公司 Game copy display method, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019407A (en) * 2012-11-22 2013-04-03 百度国际科技(深圳)有限公司 Input method application method, automatic question answering method, electronic equipment and server
CN107609056A (en) * 2017-08-25 2018-01-19 百度在线网络技术(北京)有限公司 A kind of question and answer processing method and equipment based on picture recognition
CN108446320A (en) * 2018-02-09 2018-08-24 北京搜狗科技发展有限公司 A kind of data processing method, device and the device for data processing
CN109165285A (en) * 2018-08-24 2019-01-08 北京小米智能科技有限公司 Handle the method, apparatus and storage medium of multi-medium data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019407A (en) * 2012-11-22 2013-04-03 百度国际科技(深圳)有限公司 Input method application method, automatic question answering method, electronic equipment and server
CN107609056A (en) * 2017-08-25 2018-01-19 百度在线网络技术(北京)有限公司 A kind of question and answer processing method and equipment based on picture recognition
CN108446320A (en) * 2018-02-09 2018-08-24 北京搜狗科技发展有限公司 A kind of data processing method, device and the device for data processing
CN109165285A (en) * 2018-08-24 2019-01-08 北京小米智能科技有限公司 Handle the method, apparatus and storage medium of multi-medium data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113171609A (en) * 2021-03-24 2021-07-27 北京完美赤金科技有限公司 Game copy display method, equipment and storage medium
CN113171609B (en) * 2021-03-24 2023-01-03 北京完美赤金科技有限公司 Game copy display method, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108227950B (en) Input method and device
CN111242303B (en) Network training method and device, and image processing method and device
CN108073606B (en) News recommendation method and device for news recommendation
CN110598098A (en) Information recommendation method and device and information recommendation device
CN110391966B (en) Message processing method and device and message processing device
CN105975540A (en) Information display method and device
CN110781813A (en) Image recognition method and device, electronic equipment and storage medium
CN107515870B (en) Searching method and device and searching device
CN110764627A (en) Input method and device and electronic equipment
CN109521888B (en) Input method, device and medium
CN109814730B (en) Input method and device and input device
CN108073291B (en) Input method and device and input device
CN107784037B (en) Information processing method and device, and device for information processing
CN110213062B (en) Method and device for processing message
CN111611030A (en) Data processing method and device and data processing device
CN110781975A (en) Image processing method and device, electronic equipment and storage medium
CN108427508B (en) Input method and device, and method and device for establishing local area network word stock
CN113127613B (en) Chat information processing method and device
CN113807540A (en) Data processing method and device
CN114118278A (en) Image processing method and device, electronic equipment and storage medium
CN112036247A (en) Expression package character generation method and device and storage medium
CN112000877A (en) Data processing method, device and medium
CN109976549B (en) Data processing method, device and machine readable medium
CN110929122A (en) Data processing method and device and data processing device
CN110765338A (en) Data processing method and device and data processing device

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