CN113313510A - Data processing method, device and medium - Google Patents
Data processing method, device and medium Download PDFInfo
- Publication number
- CN113313510A CN113313510A CN202110450589.5A CN202110450589A CN113313510A CN 113313510 A CN113313510 A CN 113313510A CN 202110450589 A CN202110450589 A CN 202110450589A CN 113313510 A CN113313510 A CN 113313510A
- Authority
- CN
- China
- Prior art keywords
- comment
- input
- tab
- content
- takeaway
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 16
- 230000007613 environmental effect Effects 0.000 claims abstract description 89
- 238000000034 method Methods 0.000 claims abstract description 50
- 238000012545 processing Methods 0.000 claims description 31
- 230000015654 memory Effects 0.000 claims description 19
- 230000008569 process Effects 0.000 claims description 12
- 238000012552 review Methods 0.000 claims description 9
- 238000012549 training Methods 0.000 claims description 8
- 235000012054 meals Nutrition 0.000 description 21
- 235000013305 food Nutrition 0.000 description 18
- 238000004891 communication Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 12
- 230000003190 augmentative effect Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000013178 mathematical model Methods 0.000 description 7
- 241000287828 Gallus gallus Species 0.000 description 6
- 238000013507 mapping Methods 0.000 description 5
- 235000021186 dishes Nutrition 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000005291 magnetic effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 235000013372 meat Nutrition 0.000 description 3
- 238000012015 optical character recognition Methods 0.000 description 3
- 235000013311 vegetables Nutrition 0.000 description 3
- 244000105624 Arachis hypogaea Species 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 2
- 235000007164 Oryza sativa Nutrition 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 238000013135 deep learning Methods 0.000 description 2
- 239000000796 flavoring agent Substances 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 235000020232 peanut Nutrition 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 235000009566 rice Nutrition 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 244000183278 Nephelium litchi Species 0.000 description 1
- 240000000220 Panda oleosa Species 0.000 description 1
- 235000016496 Panda oleosa Nutrition 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001364 causal effect Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003066 decision tree Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 235000019634 flavors Nutrition 0.000 description 1
- 235000015219 food category Nutrition 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012417 linear regression Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012946 outsourcing Methods 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 235000015277 pork Nutrition 0.000 description 1
- 235000021395 porridge Nutrition 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000007637 random forest analysis Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000006403 short-term memory Effects 0.000 description 1
- 235000014347 soups Nutrition 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0282—Rating or review of business operators or products
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a data processing method, a device and a medium, wherein the method specifically comprises the following steps: determining input environmental characteristics; displaying comment recommendation information under the condition that the input environmental characteristics are takeaway comment environmental characteristics; and the comment recommendation information is obtained according to the comment corpus corresponding to the takeaway comment environment characteristics. The embodiment of the invention can save the operation cost of the user and improve the input efficiency of the comment information.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data processing method, a data processing apparatus, an apparatus for data processing, and a machine-readable medium.
Background
With the development of communication technology, services provided through networks are becoming more and more diversified, and O2O (Online to Offline) service is a new service. The user can search for online businesses such as restaurants, hotels and the like near the position specified by the user through the O2O search through the service platform, and can also search for commodities in the online businesses. In the process of purchasing a commodity, a user generally refers to the comment information of the commodity, thereby determining whether the commodity needs to be purchased.
Currently, a comment area is generally set on a service platform to collect comment information of a user for a commodity through the comment area. However, due to the influence of the expressive ability, the user usually does not know how to generate the comment information, and needs to search on the network and input the comment information with reference to the network information obtained by the search.
The inventor finds that the input of the comment information by referring to the network information generally takes much time and operation cost in the process of implementing the embodiment of the invention, so that the input efficiency of the comment information is low.
Disclosure of Invention
Embodiments of the present invention provide a data processing method, a data processing apparatus, an apparatus for data processing, and a machine-readable medium, which can save the operation cost of a user and improve the input efficiency of comment information.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method, including:
determining input environmental characteristics;
displaying comment recommendation information under the condition that the input environmental characteristics are takeaway comment environmental characteristics; and the comment recommendation information is obtained according to the comment corpus corresponding to the takeaway comment environment characteristics.
On the other hand, the embodiment of the invention discloses a data processing device, which comprises:
the environment determining module is used for determining input environment characteristics; and
the comment recommending module is used for displaying comment recommending information under the condition that the input environmental characteristics are takeaway comment environmental characteristics; and the comment recommendation information is obtained according to the comment corpus corresponding to the takeaway comment environment characteristics.
In another aspect, an embodiment of the present invention discloses an apparatus for data processing, which includes a memory and one or more programs, where the one or more programs are stored in the memory, and when the programs are executed by the one or more processors, the steps of the foregoing method are implemented.
In yet another aspect, embodiments of the invention disclose one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform one or more of the data processing methods described above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the comment recommendation information is displayed under the condition that the input environmental characteristics are the takeaway comment environmental characteristics. Because the comment recommendation information can be obtained according to the comment corpus corresponding to the takeaway comment environmental characteristic, the comment corpus corresponding to the takeaway comment environmental characteristic in the embodiment of the present invention can meet the comment requirement corresponding to the takeaway comment environmental characteristic. Therefore, the comment recommendation information corresponding to the takeaway comment environmental characteristics displayed in the embodiment of the invention can be used as comment information in a takeaway scene by the user, so that the time and the operation cost of the user can be saved, and the input efficiency of the comment information can be improved.
In addition, the embodiment of the invention can also provide the virtual resource information of the business corresponding to the presentation comment object or the corresponding service platform, and the virtual resource information can enable the user to enjoy the benefit provided by the business in the consumption process. The embodiment of the invention can provide the virtual resource information in the service of the input method program so as to increase the viscosity and loyalty of the user to the input method program.
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 flow chart of the steps of one data processing method embodiment of the present invention;
FIG. 2 is an illustration of a tab area of an embodiment of the present invention;
FIG. 3 is a block diagram of a data processing apparatus according to the present invention;
FIG. 4 is a block diagram of an apparatus 900 for data processing of the present invention; and
fig. 5 is a schematic structural 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 technical problem of low input efficiency of comment information in the related art, an embodiment of the present invention provides a data processing scheme, which may specifically include: determining input environmental characteristics; displaying comment recommendation information under the condition that the input environmental characteristics are takeaway comment environmental characteristics; and the comment recommendation information is obtained according to the comment corpus corresponding to the takeaway comment environment characteristics.
The embodiment of the invention displays the comment recommendation information under the condition that the input environmental characteristics are the takeaway comment environmental characteristics. Because the comment recommendation information can be obtained according to the comment corpus corresponding to the takeaway comment environmental characteristic, the comment corpus corresponding to the takeaway comment environmental characteristic in the embodiment of the present invention can meet the comment requirement corresponding to the takeaway comment environmental characteristic. Therefore, the comment recommendation information corresponding to the takeaway comment environmental characteristics displayed in the embodiment of the invention can be used as comment information in a takeaway scene by the user, so that the time and the operation cost of the user can be saved, and the input efficiency of the comment information can be improved.
The embodiment of the invention can be applied to a take-away scene and is used for providing comment recommendation information in the take-away scene so as to improve the input efficiency of the comment information in the take-away scene.
The takeaway service is one of the O2O services, which may characterize the sales and delivery services offered by the store. The takeaway service may involve: the services of take-out objects such as food, lodging, water, flowers and home repairs, etc., it is understood that the embodiment of the present invention does not limit the specific take-out objects.
Taking food as an example, the process of taking out the service may include: when a user needs to order on the Internet, the user can obtain an ordering page of a merchant from a server through a terminal, select a food to be reserved on the ordering page, and send a generation request for generating a takeaway order of the food to the server; the server receives the generation request, generates a takeout order of the food, then sends the takeout order to the merchant, and the merchant makes the food and delivers the food to the user by the deliverer after the takeout order is made.
In the process of purchasing a meal, a user generally refers to the comment information of the meal, so as to determine whether the meal needs to be purchased. Therefore, the comment information plays an important role in the shopping of the food. And, for the user submitting the comment information, the user can also obtain corresponding reward information, which may include: virtual resources within the scope of a merchant or service platform, which may include: electronic points, electronic red packs, electronic coupons, and the like. Therefore, the submission of the comment information is completed, and the user can be helped to obtain the reward information.
The data processing method provided by the embodiment of the invention can be applied to application environments corresponding to the client and the server, wherein the client and the server are positioned in a wired or wireless network, and the client and the server perform data interaction through the wired or wireless network.
Optionally, the client may run on a terminal, and the terminal specifically includes but is 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 IV) players, laptop portable computers, car-mounted computers, desktop computers, set-top boxes, smart televisions, wearable devices, and the like. The operating system installed in the terminal may include: the operating system is configured to be installed in the terminal, and the operating system is configured to be installed in the terminal.
The client can correspond to any application program, such as an input method program, a service platform program corresponding to takeout, and the like.
The server side of the embodiment of the invention can be a cloud server side. The cloud server is a simple, efficient, safe and reliable computing service with elastically-stretchable processing capacity. The resource information of the cloud server is dynamic, so that the processing capacity of the cloud server can be elastically stretched. The server can receive the request sent by the client, utilize rich resources, aim at obtaining corresponding comment recommendation information, and issue the comment recommendation information to the client.
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 Interface is a UI (User Interface) that is a medium for interaction and information exchange between the system and the User.
The embodiment of the present invention may be applied to an input method program of an input mode such as keyboard symbol input, handwriting input, voice input, etc., and for convenience of description, the embodiment of the present invention refers to a code character string input by a user in the input mode as an input string. In the field of input methods, for input method programs in, for example, chinese, japanese, korean, or other languages, an input string input by a user may be generally converted into a candidate for a corresponding language. The input process of the embodiment of the invention is mainly explained by taking Chinese as an example, and other languages can be referred to each other. It is to be understood that the above-mentioned chinese input methods may include, but are not limited to, full pinyin, simple pinyin, strokes, five strokes, etc., and the embodiment of the present invention is not limited to a specific input method program corresponding to a certain language.
According to some embodiments, the input string may include, but is not limited to: a key symbol or a combination of a plurality of key symbols input by a user through a key. The key symbol may specifically include: pinyin, strokes, kana, etc.
The embodiment of the invention can respond to the starting operation and start the input method program in any application scene. Alternatively, the call-up operation may be a trigger operation for an input window or the like. The input window may include: an input window for an office scenario, or an input box for an instant messaging scenario, etc. For example, if a click operation for an input box of an instant messaging scenario is received, an input method program is invoked.
Optionally, after the input method program is invoked, an input interface may be displayed, so that the user can input the input content through the input interface. The input interface may include a keyboard, which typically includes a plurality of keys. The above-mentioned key may include: character keys and function keys. The function keys may include: set up button, search button, enter button etc.. The character button may further include: alphabetic keys, numeric keys, symbolic keys, functional keys, and the like.
Method embodiment
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a data processing method according to the present invention is shown, which may specifically include:
102, displaying comment recommendation information under the condition that the input environmental characteristics are takeaway comment environmental characteristics; the comment recommendation information can be obtained according to comment corpora corresponding to the takeaway comment environment characteristics.
The first embodiment of the method shown in fig. 1 may be performed by a client. It is to be understood that embodiments of the present invention are not limited to the particular implementation of the steps included in the method.
In step 101, the input environment characteristics can be used to characterize the environment information where the terminal is located when the user inputs.
In a specific implementation, the input environment feature may include at least one of the following features: application environment features, input box features, and interface content features.
A) Application environment features
In practical applications, the identification characteristics of the current object being serviced by the input method program can be obtained to determine the corresponding environment characteristics of the application program. For example, when the input method program is in operation, the GetModuleFilename is called to find the program path name "C: \ ProgramFiles \ Microsoft OFFICE \ OFFICE11\ WINWORD.EXE", so that the corresponding application environment characteristic can be determined to be "WinWord.exe", that is, the input string is input in the word application program.
In the embodiment of the present invention, the application environment feature may be an application category feature or an application name feature, and it is to be understood that the embodiment of the present invention does not limit the specific application environment feature.
B) Input box characteristics
The input box may be used to make input of content. The input box may or may not have content entered. The types of content that has been entered may include, but are not limited to: characters, or pictures, or audio and video, etc.
The input content may be content input by a user using an input method, or the input content may be content pasted by the user using a clipboard, and it is understood that the embodiment of the present invention does not limit the specific input content.
The embodiment of the invention can provide the following technical scheme for determining the characteristics of the input box:
according to the technical scheme B1, input box category characteristics are determined according to state information of trigger keys in a keyboard; and/or
Technical solution B2, determining the input box pattern feature according to the prompt content in the input box.
In technical solution B1, the trigger button in the keyboard is used to trigger a function corresponding to the input box. The corresponding functions of the input box can comprise: a search function, a send function, a linefeed function, etc.
In practical applications, the state information of the triggering key in the keyboard is usually different for different input boxes. Therefore, the embodiment of the invention can determine the input box type characteristics according to the state information of the trigger keys in the keyboard. For example, in the case where the state information is search state information, the input box category feature is determined to be a search. For another example, in the case where the status information is the transmission status information, the input box category feature is determined to be instant messaging. For another example, in the case where the status information is line feed status information, the input box category feature is determined to be office or the like.
The embodiment of the invention does not limit the acquisition mode of the state information of the trigger key in the keyboard. Optionally, the state information of the trigger key in the keyboard may be determined according to field information of the trigger key in the keyboard provided by the operating system.
In solution B2, the prompt content in the input box may include: and prompting content provided by the application program, wherein the prompting content can be used for guiding the user to input the content in the input box. For example, the prompt content in the input box of the take away comment type environmental feature may include: "taste like, packaged, recommended to everyone" etc.
According to the technical scheme B2 of the embodiment of the invention, the pattern characteristics of the input box are determined according to the prompt content in the input box. The embodiment of the invention can collect the prompt content corresponding to the input box file characteristic in advance, thereby establishing the mapping relation between the prompt content and the input box file characteristic, recording the mapping relation as the first mapping relation, and searching the first mapping relation according to the prompt content to obtain the input box file characteristic. The input box document features may include: take out comments, product comments, microblog comments, and the like.
C) Interface content features
In an embodiment of the present invention, the interface content features include: and the interface text characteristic is used for characterizing the characteristic corresponding to the text contained in the interface. The interface text features may include: an interface title feature, and/or an interface text feature.
In the embodiment of the present invention, optionally, the interface content characteristics may be determined according to a screen image of the interface. The screen image of the interface can be determined by adopting a screen capture mode, the Character corresponding to the screen image is determined by adopting an OCR (Optical Character Recognition) technology, and then the content characteristic of the interface is determined according to the determined Character. The interface content features may include: interface title, or interface body, etc. The interface text may include: text around the input box, etc. For example, the interface headings of a take reviews type interface typically include: and the interface content characteristics can be determined to be the takeaway comment type according to the text related to the evaluation and the submission.
In practical applications, one input environmental characteristic or a plurality of input environmental characteristics from a) to C) may be used. For example, application environment features and input box features, or input box features and interface content features, or application environment features, input box features, interface content features, and the like may be employed.
In step 102, it may be determined whether the input environmental characteristic is a takeaway comment environmental characteristic, and if the determination result is yes, comment recommendation information may be displayed, where the comment recommendation information may be used by a user as comment information in a takeaway scene.
In a specific implementation, the input environmental characteristics may be matched with the takeaway comment environmental characteristics, and if the matching is successful, the input environmental characteristics are the takeaway comment environmental characteristics. For example, the input environmental characteristics include: applying the category feature "take away" and the interface title feature "rating", the input environment feature may be considered as a take away comment environment feature.
The embodiment of the invention can display the distinctive comment recommendation information according to whether the input content exists in the input box.
According to one embodiment, when the input environment feature is a takeaway comment environment feature, if the input content exists in the input box, the augmented content corresponding to the input content may be displayed.
The determination process of the augmented content may include: determining expanded content corresponding to the input content in the input box according to the comment model corresponding to the takeaway comment environmental characteristic; the comment model can be obtained by training according to comment corpora corresponding to the takeaway comment environment characteristics. It will be appreciated that the augmented content may be updated in accordance with updates to the content that has been entered. In other words, in the case of an update of the input content, the updated input content may be input into the comment model to obtain the updated augmented content output by the comment model.
The comment corpus corresponding to the takeaway comment environment characteristics may include: review information submitted by at least one user in a takeaway review environment feature. The comment information may correspond to a comment object. The commenting object may characterize the object being commented on. For example, taking review information a submitted for meal a as an example, the review object corresponding to the review information a may be meal a.
The comment corpus can be provided by a service platform corresponding to takeaway. For example, the comment corpus provided by the service platform may include: comment information and comment objects.
In an alternative embodiment of the invention, the mathematical model may be trained based on training data to derive the review model. The comment model may characterize a mapping relationship between input data (input content) and output data (augmented content). Optionally, the training data may be obtained according to a comment corpus corresponding to the takeaway comment environment feature.
The embodiment of the invention can collect comment corpora corresponding to the takeaway comment environment characteristics. The comment corpus may include: the part corpus may correspond to a part of the whole corpus.
In the input process of the user, the screen-on behavior of the user can be monitored to obtain partial corpora and whole corpora. Considering that a section of whole corpus corresponds to at least one screen-up behavior, one whole corpus can correspond to a plurality of partial corpora. In this way, the comment model can be provided with the ability to expand for any part of the overall corpus.
For example, the overall corpus a corresponding to the takeaway comment environment features includes: "the meal is delivered very timely, it is real, this is that I order the most satisfied once on the takeaway platform, no matter be the delivery speed of rider, the exquisite degree of packing and the tasty degree of meal I all very satisfied, like this economic trade company can be true not much, give the boss a great praise". The whole corpus a may correspond to a plurality of partial corpuses, and the partial corpuses may begin at any position of the whole corpus a. For example, the partial corpora may include "deliver", "deliver timely", "most satisfied one order", "delivery speed by bike", and the like.
In embodiments of the present invention, the input content may be matched to any portion of the augmented content. The matching of the input content and any part of the augmented content may specifically include: string matching, and/or semantic matching, etc. Wherein, semantic matching may include: semantically identical, or semantically similar, semantically related, etc. For example, the entered content may be matched to the beginning or middle portion of the augmented content.
For example, in the case that the input content a is "satisfied", the embodiment of the present invention may obtain the extended content corresponding to the input content a according to the principle of semantic matching, for example, "this is the most satisfactory one-time ordering of food on the takeaway platform, and no matter the delivery speed of the rider, the exquisite degree of the package and the delicious degree of the food are all satisfied, so that economic merchants can really be few, give great praise to the boss," or "eat such a long takeaway, so to say, this is the most satisfactory one-time, the real food is good and delicious, the taste is delicious, and you can continue to visit the shop" and so on.
The embodiment of the invention can apply the characteristics of the comment object to the comment model, thereby improving the accuracy of comment recommendation information. Moreover, the characteristics of different comment objects can correspond to different comment recommendation information, so that the richness and diversity of the comment recommendation information can be improved.
The characteristics of the comment object may include: at least one of merchant characteristics, meal category characteristics, and meal identification characteristics.
In one implementation, the characteristics of the comment object can be used as the input of the comment model, so that the comment recommendation information output by the comment model is matched with the characteristics of the comment object.
In another implementation manner, corresponding comment models can be obtained by training aiming at the features of different comment objects, so that the comment models conform to the features of the comment objects.
Under the condition of adopting the merchant characteristics, the input content of the user B can be expanded according to the comment corpus of the user A to a certain merchant, so that the expanded content conforms to the merchant characteristics.
In specific implementation, the food items can be classified according to the characteristics of the areas, the food materials and the like, so that the food item classification characteristics can be obtained. For example, the meal category characteristics obtained based on the region may include: the corresponding cuisine of the region and the like. For another example, the food category characteristics obtained based on the food material may include: staple food, soup, porridge, drinks, meat dishes, vegetable dishes and the like, wherein the vegetable dishes or meat dishes can also comprise: corresponding to the characteristics of vegetables or meat.
Under the condition of adopting the meal category characteristics, the input content of the user D can be expanded according to the comment corpus of the user C for the certain meal category characteristics, so that the expanded content conforms to the meal category characteristics.
The meal identification feature may include: at least part of the names of the food products, such as 'Gongbao chicken dices', 'egg fried rice', 'fish-flavor shredded pork', 'fermented glutinous rice dumplings' and the like. Under the condition of adopting the meal identification feature, the input content of the user F can be expanded according to the comment corpus of the user E for the meal identification feature, so that the expanded content conforms to the meal identification feature. For example, user E's comment on "Tungbao chicken D" is that "Standard sugar and oil mixture, is Happy! Get down the meal god ware! After a small litchi flavor is eaten, the diced chicken is very tender and not dry, and the peanuts are good, so that the comment corpus E or the similar expression of the comment corpus E can be provided for the user F under the condition that the input content of the user F comprises the diced chicken or the peanuts.
In the embodiment of the invention, the mathematical model is a scientific or engineering model constructed by using a mathematical logic method and a mathematical language, the mathematical model is a mathematical structure which is generally or approximately expressed by using the mathematical language aiming at the characteristic or quantity dependency relationship of a certain object system, and the mathematical structure is a relationship structure which is described by means of mathematical symbols. The mathematical model may be one or a set of algebraic, differential, integral or statistical equations, and combinations thereof, by which the interrelationships or causal relationships between the variables of the system are described quantitatively or qualitatively. In addition to mathematical models described by equations, there are also models described by other mathematical tools, such as algebra, geometry, topology, mathematical logic, etc. Where the mathematical model describes the behavior and characteristics of the system rather than the actual structure of the system. The method can adopt methods such as machine learning and deep learning methods to train the mathematical model, and the machine learning method can comprise the following steps: linear regression, decision trees, random forests, etc., and the deep learning method may include: convolutional Neural Networks (CNN), Long Short-Term Memory Networks (LSTM), Gated cyclic units (GRU), and so on.
In practical application, the server side can obtain the comment model based on training and send the comment model to the client side, so that the client side can obtain the expansion content according to the comment model. Or the server side can obtain the comment model based on training, obtain the extended content according to the comment model, and send the extended content to the client side.
According to another embodiment, when the input environmental characteristic is the takeaway comment environmental characteristic, if the input content does not exist in the input box, the preset comment content corresponding to the comment object can be displayed.
The process of determining the preset comment content may include: and determining the comment corpus matched with the comment object as the preset comment content corresponding to the comment object.
In a specific implementation, the features of the comment object may be matched with the features of the comment object corresponding to the comment corpus to obtain at least one matched comment corpus as the preset comment content corresponding to the comment object.
For example, in the case that the comment object to be commented on currently corresponds to a food name of "chicken bouillon", the existing comment corpus of "chicken bouillon" may be used as the preset comment content.
For another example, in the case that the type of the meal corresponding to the current comment object to be commented is "xiangcai", the existing comment corpus of "xiangcai", such as "having a feeling of xiangcai, hot and spicy, tasty" and the like, may be used as the preset comment content.
The embodiment of the present invention does not limit the determination manner of the feature of the comment object.
According to one embodiment, the characteristics of the comment object may be determined from a screen image of the interface. Specifically, OCR technology may be adopted to determine characters corresponding to the screen image, and extract a target character of the takeout type from the determined characters, where the target character may be a feature of the comment object. For example, if the screen image includes the name of a meal, the embodiment of the present invention may identify the name of the meal from the screen image as the feature of the comment object.
According to another embodiment, the characteristics of the comment object may be determined according to an interface provided by the service platform. Specifically, an interface call request may be sent to the service platform, where the interface call request may include: information such as the address of the interface; and receiving the characteristics of the comment objects returned by the service platform.
In one embodiment of the invention, the expanded content and the preset comment content can be displayed in a switching way by utilizing a plurality of tabs (tab).
The tab may be a module that sets options. One tab represents an active area. Different contents can be displayed by clicking different tabs.
Correspondingly, the step 102 of displaying the comment recommendation information specifically includes: displaying a first tab and a second tab under the condition that the input environmental characteristics are takeaway comment environmental characteristics and meet triggering conditions; the first tab is used for presenting the expanded content corresponding to the input content in the input box; the second tab is used for presenting preset comment content corresponding to the comment object; one of the first tab and the second tab is in a selected state.
The embodiment of the invention provides two functions of expanding content and presetting comment content through the first tab and the second tab for users to select and use, and the diversity of the functions can be increased.
In the embodiment of the present invention, optionally, the closing of the tab may be supported. For example, the tab may be closed via its close control. For another example, after the expanded content of the first tab is displayed on the screen or the preset comment content of the second tab is displayed on the screen, the tabs are closed.
In the embodiment of the present invention, optionally, the triggering condition specifically includes:
triggering condition 1, receiving a starting operation aiming at an input keyboard; or
And triggering condition 2, receiving a triggering operation of a user for a preset key.
For the trigger condition 1, if a call-up operation for the input keyboard is received, the first tab and the second tab may be displayed, in which case, the first tab or the second tab may be set to be in a selected state, for example, the second tab is set to be in a selected state.
For the triggering condition 2, the preset key may be any key in the input keyboard. The preset keys may be located on upper sides of the letter keys in the input keyboard to improve the utilization rate of the preset keys. Of course, the embodiment of the present invention does not limit the specific position of the preset key.
Optionally, the icon corresponding to the preset key may be an icon of a preset object, and the preset object may include: humans, virtual humans, animals, virtual animals, plants, virtual plants, and the like. For example, the preset object may be a virtual animal such as a virtual cat or a virtual dog. The icon of the preset key is a preset object such as a virtual animal, so that the attraction and participation of the preset key to the user can be improved, and the operation accuracy of the preset key can be improved on the basis.
The processing mode corresponding to the trigger condition 2 may include:
the processing method comprises the steps that 1, under the condition that a triggering operation of a user for a preset key is received, if the input content does not exist in an input frame, the second option is set to be in a selected state; or
The processing method 2 is that under the condition that the triggering operation of a user for a preset key is received, if the input content exists in an input frame and the word number of the input content exceeds a threshold value, the second option card is set to be in a selected state; or
And 3, under the condition that the triggering operation of the user on the preset key is received, if the input content exists in the input frame and the word number of the input content does not exceed a threshold value, determining the tab in the selected state according to the historical operation record of the user and/or the processing state of the expanded content.
For the processing mode 3, the tab used last time can be taken as the tab in the selected state according to the historical operation record.
Besides the comment recommendation information, the embodiment of the invention can also provide the virtual resource information of the merchant corresponding to the comment object or the corresponding service platform, and the virtual resource information can enable the user to enjoy the benefit provided by the merchant in the consumption process. The embodiment of the invention can provide the virtual resource information in the service of the input method program so as to increase the viscosity and loyalty of the user to the input method program.
In an optional embodiment of the present invention, the method may further include: displaying a third tab under the condition that the input environmental characteristics are the take-away comment environmental characteristics and meet the triggering conditions; the third tab is used for presenting the virtual resource information of the commercial tenant corresponding to the comment object or the corresponding service platform.
The virtual resource information may correspond to virtual resources of a merchant or a corresponding service platform corresponding to the comment object. For example, the virtual resource information may be a link of the virtual resource, so as to jump to a pickup interface of the virtual resource in response to a triggering operation of the user. The virtual resources may include: electronic points, electronic red packs, electronic coupons, and the like.
According to the embodiment of the invention, functions such as expanding content, presetting comment content, issuing virtual resources and the like are provided through the first tab, the second tab and the third tab, so that a user can select and use the functions, and the diversity of the functions can be increased.
It should be noted that at least one piece of content and a refresh control may be displayed in one tab, and the content displayed in the tab may be switched in response to a trigger operation for the refresh control. For example, switching is performed on the extended content displayed in the first tab, for example, switching is performed on the preset comment content displayed in the second tab, for example, switching is performed on the virtual resource information displayed in the third tab, and so on.
Referring to fig. 2, a schematic diagram of a tab area according to an embodiment of the present invention is shown, where the tab area specifically includes: a first tab 201, a second tab 202, a third tab 203, and a close control 204. Wherein any of the first tab 201, the second tab 202, and the third tab 203 is in a selected state. In fig. 2, the first tab 201 is in a selected state, and the area of the first tab 201 displays the augmented content "xxxxxxxxxxxxxxxxxxxx". If the user is to screen up the augmented content or trigger the close control 204, the tab area may be closed.
In an optional embodiment of the present invention, the method may further include: and displaying the comment recommendation information selected by the user on a screen. The upper screen refers to an operation of displaying the content output in the preview window to the application window. Specifically, in the embodiment of the present invention, the screen-up may refer to an operation of outputting and displaying the extended content or the preset comment content in the tab area to an input box of the takeaway comment type interface. The comment recommendation information selected by the user is displayed on the screen, and the comment recommendation information can be output to an input box of a take-away comment interface, so that the input efficiency of the comment information can be improved.
The embodiment of the invention does not limit the on-screen triggering operation corresponding to the comment recommendation information. For example, the screen-up trigger operation may include: click operation, slide operation, or the like for the comment recommendation information.
In summary, the data processing method of the embodiment of the present invention displays the comment recommendation information when the input environmental characteristic is the takeaway comment environmental characteristic. Because the comment recommendation information can be obtained according to the comment corpus corresponding to the takeaway comment environmental characteristic, the comment corpus corresponding to the takeaway comment environmental characteristic in the embodiment of the present invention can meet the comment requirement corresponding to the takeaway comment environmental characteristic. Therefore, the comment recommendation information corresponding to the takeaway comment environmental characteristics displayed in the embodiment of the invention can be used as comment information in a takeaway scene by the user, so that the time and the operation cost of the user can be saved, and the input efficiency of the comment information can be improved.
To enable those skilled in the art to better understand the embodiments of the present invention, examples of applications of the embodiments of the present invention in an outsourcing scenario are provided herein.
Examples 1, 1,
And under the condition that the input environment characteristic is the takeaway comment environment characteristic and the input frame does not have the input content, if a starting operation aiming at the input keyboard is received, displaying tabs such as a first tab, a second tab and a third tab, wherein the second tab is in a selected state. The user can be supported to switch the tabs. If the screen-up operation of the user for the content in the tab is received, the tab can be closed.
When the content is already input in the input box, the tab may not be displayed if the key-up operation for the input keyboard is received.
Examples 2,
And under the condition that the second option card is in the selected state, if the screen-up operation of the user is detected, sending an expansion request to the server, wherein the expansion request can carry the input content in the input frame.
Examples 3,
And under the condition that the tab is not displayed, if the screen-up operation of the user is detected, sending an expansion request to the server. Further, if the expanded content corresponding to the input content returned by the server is received, the link corresponding to the expanded content can be provided. If the triggering operation of the user for the link corresponding to the extended content is received, the tab can be displayed, and the first tab is set to be in the selected state.
Examples 4,
Under the condition that the tab is not displayed, if the triggering operation of the user for the preset key is received, whether the input content exists in the input frame or not can be judged.
If the input content does not exist in the input box, displaying a tab, and setting the second tab to be in a selected state; or
And if the input content exists in the input box and the word number of the input content exceeds a threshold value, displaying a tab and setting the second tab to be in a selected state.
And if the input content exists in the input box and the word number of the input content does not exceed the threshold value, determining the tab in the selected state according to the historical operation record of the user. For example, the tab that was used last may be taken as the tab in the selected state according to the historical operation record.
In an optional embodiment of the present invention, it may be determined that the comment object corresponds to a word number threshold set by the merchant or the service platform for the comment information, and in a case that the number of characters of the comment information exceeds the word number threshold, corresponding reward information is sent, where the reward information may be the foregoing virtual resource information. In addition, the embodiment of the invention can display the comment recommendation information with the character number exceeding the word number threshold value and the corresponding prompt information under the condition that the input environmental characteristics are the takeaway comment environmental characteristics, and the prompt information can prompt the user to generate the comment recommendation information meeting the reward condition so as to prompt the user to use the comment recommendation information.
In a specific implementation, under the condition that the input environmental characteristic is a takeaway comment environmental characteristic, if comment recommendation information with the number of characters exceeding the word number threshold is obtained, prompt information can be displayed, and besides a text that the comment recommendation information meeting reward conditions is generated and whether the comment recommendation information is used or not, corresponding confirmation controls and cancellation controls can be displayed.
If a trigger operation for the confirmation control is received, the comment recommendation information with the number of characters exceeding the word number threshold value can be displayed on a screen. Or, if a trigger operation for the confirmation control is received, the comment recommendation information of which the number of characters exceeds the word number threshold and the corresponding refresh control can be displayed, and the refresh control is used for switching the comment recommendation information of which the number of characters exceeds the word number threshold.
In practical application, no matter whether the input frame includes the input content or not, the prompt information can be provided under the condition that the comment recommendation information with the number of characters exceeding the word number threshold is obtained, so that the probability of using the comment recommendation information by the user is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of motion combinations, but those skilled in the art should understand that the present invention is not limited by the described motion sequences, because some steps may be performed in other sequences or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no moving act is required as an embodiment of the invention.
Device embodiment
Referring to fig. 3, a block diagram of a data processing apparatus according to an embodiment of the present invention is shown, which may specifically include: an environment determination module 301 and a comment recommendation module 302.
The environment determining module 301 is configured to determine an input environment characteristic;
the comment recommending module 302 is configured to display comment recommending information when the input environmental characteristic is a takeaway comment environmental characteristic; and the comment recommendation information is obtained according to the comment corpus corresponding to the takeaway comment environment characteristics.
Optionally, the comment recommendation module 302 may include:
the first comment recommending module is used for displaying the expanded content corresponding to the input content if the input content exists in the input box under the condition that the input environmental characteristics are takeaway comment environmental characteristics; or
And the second comment recommending module is used for displaying the preset comment content corresponding to the comment object if the input content does not exist in the input box under the condition that the input environment characteristic is the takeaway comment environment characteristic.
Optionally, the comment recommendation module 302 may include:
the third comment recommending module is used for displaying the first tab and the second tab under the condition that the input environmental characteristics are takeaway comment environmental characteristics and meet triggering conditions; the first tab is used for presenting the expanded content corresponding to the input content in the input box; the second tab is used for presenting preset comment content corresponding to the comment object; one of the first tab and the second tab is in a selected state.
Optionally, the trigger condition may include:
receiving a starting operation aiming at an input keyboard; or
And receiving the triggering operation of the user for the preset key.
Optionally, the apparatus may further include:
the display module is used for displaying a third tab under the condition that the input environmental characteristics are takeaway comment environmental characteristics and meet triggering conditions; the third tab is used for presenting the virtual resource information of the commercial tenant corresponding to the comment object or the corresponding service platform.
Optionally, the determining process of the comment recommendation information may include:
determining expanded content corresponding to the input content in the input box according to the comment model corresponding to the takeaway comment environmental characteristic; the comment model is obtained by training according to comment corpora corresponding to the takeaway comment environment characteristics; or
And determining the comment corpus matched with the comment object as the preset comment content corresponding to the comment object.
Optionally, the input environmental characteristics may include at least one of the following characteristics: application environment features, input box features, and interface content features.
Optionally, the apparatus may further include:
and the screen-loading module is used for loading the comment recommendation information selected by the user on a screen.
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 also 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 input environmental characteristics; displaying comment recommendation information under the condition that the input environmental characteristics are takeaway comment environmental characteristics; and the comment recommendation information is obtained according to the comment corpus corresponding to the takeaway comment environment characteristics.
Fig. 4 is a block diagram illustrating a structure of an apparatus 900 for data processing as a terminal according to an exemplary embodiment. For example, the apparatus 900 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. 4, apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 906 provides power to the various components of the device 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia component 908 comprises a screen providing an output interface between the device 900 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 908 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 900 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 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 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 component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, the sensor assembly 914 may detect an open/closed state of the device 900, the relative positioning of the components, such as a display and keypad of the apparatus 900, the sensor assembly 914 may also detect a change in the position of the apparatus 900 or a component of the apparatus 900, the presence or absence of user contact with the apparatus 900, orientation or acceleration/deceleration of the apparatus 900, and a change in the temperature of the apparatus 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 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 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 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 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 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 Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 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 904 comprising instructions, executable by the processor 920 of the apparatus 900 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. 5 is a schematic structural 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) that store 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 sequence of instructions operating on the server. Further, a central processor 1922 may be arranged to communicate 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 (terminal or server), enable the apparatus to perform a data processing method, the method comprising: determining input environmental characteristics; displaying comment recommendation information under the condition that the input environmental characteristics are takeaway comment environmental characteristics; and the comment recommendation information is obtained according to the comment corpus corresponding to the takeaway comment environment characteristics.
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 machine-readable medium according to the embodiments of the present invention are described in detail, and the principles and embodiments of the present invention are explained herein by applying specific examples, and the descriptions of the above embodiments are only used to help understand the method and the core ideas 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 (15)
1. A method of data processing, the method comprising:
determining input environmental characteristics;
displaying comment recommendation information under the condition that the input environmental characteristics are takeaway comment environmental characteristics; and the comment recommendation information is obtained according to the comment corpus corresponding to the takeaway comment environment characteristics.
2. The method of claim 1, wherein said presenting review recommendation information comprises:
under the condition that the input environmental characteristics are the takeaway comment environmental characteristics, if the input content exists in the input box, displaying the expanded content corresponding to the input content; or
And under the condition that the input environmental characteristics are the takeaway comment environmental characteristics, if the input content does not exist in the input box, displaying the preset comment content corresponding to the comment object.
3. The method of claim 1, wherein said presenting review recommendation information comprises:
displaying a first tab and a second tab under the condition that the input environmental characteristics are takeaway comment environmental characteristics and meet triggering conditions; the first tab is used for presenting the expanded content corresponding to the input content in the input box; the second tab is used for presenting preset comment content corresponding to the comment object; one of the first tab and the second tab is in a selected state.
4. The method of claim 3, wherein the trigger condition comprises:
receiving a starting operation aiming at an input keyboard; or
And receiving the triggering operation of the user for the preset key.
5. The method of claim 3, further comprising:
displaying a third tab under the condition that the input environmental characteristics are takeaway comment environmental characteristics and meet triggering conditions; the third tab is used for presenting the virtual resource information of the commercial tenant corresponding to the comment object or the corresponding service platform.
6. The method according to any one of claims 1 to 5, wherein the determination process of the comment recommendation information includes:
determining expanded content corresponding to the input content in the input box according to the comment model corresponding to the takeaway comment environmental characteristic; the comment model is obtained by training according to comment corpora corresponding to the takeaway comment environment characteristics; or
And determining the comment corpus matched with the comment object as the preset comment content corresponding to the comment object.
7. The method of any one of claims 1 to 5, wherein the input environmental characteristics include at least one of: application environment features, input box features, and interface content features.
8. The method according to any one of claims 1 to 5, further comprising:
and displaying the comment recommendation information selected by the user on a screen.
9. A data processing apparatus, characterized in that the apparatus comprises:
the environment determining module is used for determining input environment characteristics; and
the comment recommending module is used for displaying comment recommending information under the condition that the input environmental characteristics are takeaway comment environmental characteristics; and the comment recommendation information is obtained according to the comment corpus corresponding to the takeaway comment environment characteristics.
10. The apparatus of claim 9, wherein the comment recommendation module comprises:
the first comment recommending module is used for displaying the expanded content corresponding to the input content if the input content exists in the input box under the condition that the input environmental characteristics are takeaway comment environmental characteristics; or
And the second comment recommending module is used for displaying the preset comment content corresponding to the comment object if the input content does not exist in the input box under the condition that the input environment characteristic is the takeaway comment environment characteristic.
11. The apparatus of claim 9, wherein the comment recommendation module comprises:
the third comment recommending module is used for displaying the first tab and the second tab under the condition that the input environmental characteristics are takeaway comment environmental characteristics and meet triggering conditions; the first tab is used for presenting the expanded content corresponding to the input content in the input box; the second tab is used for presenting preset comment content corresponding to the comment object; one of the first tab and the second tab is in a selected state.
12. The apparatus of claim 11, wherein the trigger condition comprises:
receiving a starting operation aiming at an input keyboard; or
And receiving the triggering operation of the user for the preset key.
13. The apparatus of claim 11, further comprising:
the display module is used for displaying a third tab under the condition that the input environmental characteristics are takeaway comment environmental characteristics and meet triggering conditions; the third tab is used for presenting the virtual resource information of the commercial tenant corresponding to the comment object or the corresponding service platform.
14. 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 wherein the programs, when executed by the one or more processors, perform the steps of the method of any one of claims 1 to 8.
15. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause an apparatus to perform a data processing method as recited in one or more of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110450589.5A CN113313510A (en) | 2021-04-25 | 2021-04-25 | Data processing method, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110450589.5A CN113313510A (en) | 2021-04-25 | 2021-04-25 | Data processing method, device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113313510A true CN113313510A (en) | 2021-08-27 |
Family
ID=77371029
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110450589.5A Pending CN113313510A (en) | 2021-04-25 | 2021-04-25 | Data processing method, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113313510A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016040660A (en) * | 2014-08-12 | 2016-03-24 | 日本電信電話株式会社 | Content recommendation device, content recommendation method, and content recommendation program |
US20170212883A1 (en) * | 2014-07-31 | 2017-07-27 | Rakuten, Inc. | Information processing device, information processing method, program, and storage medium |
WO2020114324A1 (en) * | 2018-12-04 | 2020-06-11 | 阿里巴巴集团控股有限公司 | Method, apparatus, and system for generating review responses |
CN111340322A (en) * | 2018-12-18 | 2020-06-26 | 诺伯丝聚酿国际贸易(上海)有限公司 | Catering takeout management system and method |
CN112000877A (en) * | 2020-07-15 | 2020-11-27 | 北京搜狗科技发展有限公司 | Data processing method, device and medium |
CN112000766A (en) * | 2020-07-15 | 2020-11-27 | 北京搜狗科技发展有限公司 | Data processing method, device and medium |
CN112541120A (en) * | 2020-12-21 | 2021-03-23 | 北京百度网讯科技有限公司 | Recommendation comment generation method, device, equipment, medium and computer program product |
-
2021
- 2021-04-25 CN CN202110450589.5A patent/CN113313510A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170212883A1 (en) * | 2014-07-31 | 2017-07-27 | Rakuten, Inc. | Information processing device, information processing method, program, and storage medium |
JP2016040660A (en) * | 2014-08-12 | 2016-03-24 | 日本電信電話株式会社 | Content recommendation device, content recommendation method, and content recommendation program |
WO2020114324A1 (en) * | 2018-12-04 | 2020-06-11 | 阿里巴巴集团控股有限公司 | Method, apparatus, and system for generating review responses |
CN111340322A (en) * | 2018-12-18 | 2020-06-26 | 诺伯丝聚酿国际贸易(上海)有限公司 | Catering takeout management system and method |
CN112000877A (en) * | 2020-07-15 | 2020-11-27 | 北京搜狗科技发展有限公司 | Data processing method, device and medium |
CN112000766A (en) * | 2020-07-15 | 2020-11-27 | 北京搜狗科技发展有限公司 | Data processing method, device and medium |
CN112541120A (en) * | 2020-12-21 | 2021-03-23 | 北京百度网讯科技有限公司 | Recommendation comment generation method, device, equipment, medium and computer program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11460983B2 (en) | Method of processing content and electronic device thereof | |
US9990052B2 (en) | Intent-aware keyboard | |
CN108306814B (en) | Information pushing method, device, terminal and storage medium based on instant messaging | |
US11373100B2 (en) | Using various artificial intelligence entities as advertising media | |
US20170344224A1 (en) | Suggesting emojis to users for insertion into text-based messages | |
US10845949B2 (en) | Continuity of experience card for index | |
JP6411388B2 (en) | Context detection application software | |
US20170206194A1 (en) | Determining phrase objects based on received user input context information | |
CN113330475B (en) | Information recommendation method, device, electronic equipment and storage medium | |
CN110390569B (en) | Content promotion method, device and storage medium | |
CN110598098A (en) | Information recommendation method and device and information recommendation device | |
US12086766B2 (en) | Domain-based visualizations of messaging content | |
JP2019016347A (en) | User terminal providing retrieval service using emoticons, retrieval server, and operation method thereof | |
KR102324200B1 (en) | Method for providing emoticons in instant messaging service, user device, server and application implementing the method | |
CN109032374A (en) | A kind of candidate methods of exhibiting, device, medium and equipment for input method | |
CN113411246A (en) | Reply processing method and device and reply processing device | |
CN113313510A (en) | Data processing method, device and medium | |
CN113590750A (en) | Man-machine conversation method, device, electronic equipment and storage medium | |
KR102407110B1 (en) | Method for providing emoticons in instant messaging service, user device, server and application implementing the method | |
US20230334596A1 (en) | Multimedia processing method, apparatus and device, and medium | |
CN112905079B (en) | Data processing method, device and medium | |
CN116800708A (en) | Notification message output method and device and electronic equipment | |
CN114741613A (en) | Data processing method, device and medium | |
CN111708960A (en) | Webpage processing method and device and webpage processing device | |
CN116342160A (en) | Method and device for determining user tag |
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 |