CN112000877A - Data processing method, device and medium - Google Patents
Data processing method, device and medium Download PDFInfo
- Publication number
- CN112000877A CN112000877A CN202010682653.8A CN202010682653A CN112000877A CN 112000877 A CN112000877 A CN 112000877A CN 202010682653 A CN202010682653 A CN 202010682653A CN 112000877 A CN112000877 A CN 112000877A
- Authority
- CN
- China
- Prior art keywords
- content
- input
- tab
- preset
- user
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 238000000034 method Methods 0.000 claims abstract description 92
- 230000007613 environmental effect Effects 0.000 claims abstract description 33
- 238000012545 processing Methods 0.000 claims description 133
- 230000003190 augmentative effect Effects 0.000 claims description 35
- 230000015654 memory Effects 0.000 claims description 21
- 230000008569 process Effects 0.000 claims description 16
- 238000004891 communication Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 8
- 238000013178 mathematical model Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006399 behavior Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000013507 mapping Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 230000005291 magnetic effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000012549 training Methods 0.000 description 4
- 238000011156 evaluation Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000001680 brushing effect 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
- 238000010801 machine learning Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 230000002087 whitening effect Effects 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 235000016496 Panda oleosa Nutrition 0.000 description 1
- 240000000220 Panda oleosa Species 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
- 230000003416 augmentation Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000001364 causal effect Effects 0.000 description 1
- 239000003086 colorant Substances 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
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008451 emotion Effects 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
- 230000008520 organization Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000007637 random forest analysis Methods 0.000 description 1
- 230000006403 short-term memory Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9536—Search customisation based on social or collaborative filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (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: if the input environmental characteristics are social environmental characteristics, determining a plurality of language styles corresponding to the social environmental characteristics; respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style. The embodiment of the invention can save the operation cost of the user and improve the input efficiency of the personalized content.
Description
Technical Field
The present invention relates to the field of computer 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 internet technology, users can publish personalized contents of the users on a social platform. For example, a user publishes personalized comment content on a microblog platform.
At present, a user has an input requirement for personalized content, but the user is influenced by expression ability, and the user usually does not know how to generate the personalized content, so the user often refers to the personalized content of other users to complete the input of the personalized content of the user. For example, the user searches for "full good sentence", or "full microblog good sentence", or "good sentence pickup" or the like in the search engine, and performs input of personalized content of the user by referring to the good sentence obtained by the search.
The inventor finds that, in the process of implementing the embodiment of the present invention, referring to the good sentence obtained by the search, the input of the personalized content of the inventor needs to spend more operation cost, which makes the input efficiency of the personalized content lower.
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 personalized content.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method, including:
if the input environmental characteristics are social environmental characteristics, determining a plurality of language styles corresponding to the social environmental characteristics;
respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
On the other hand, the embodiment of the invention discloses a data processing device, which comprises:
the language style determining module is used for determining a plurality of language styles corresponding to the social environment characteristics if the input environment characteristics are the social environment characteristics;
the first option card display module is used for respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
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:
if the input environmental characteristics are social environmental characteristics, determining a plurality of language styles corresponding to the social environmental characteristics;
respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
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:
according to the embodiment of the invention, under the condition that the input environment characteristic is the social environment characteristic, the multiple language styles corresponding to the social environment characteristic are determined, and the corresponding first option cards are respectively provided for the single language style, so that a user can switch between the different first option cards, and further experience of preset contents in different language styles is obtained.
The preset content of the embodiment of the invention is matched with the social environment characteristics and the language style, and can reflect the language characteristics corresponding to the language style under the condition of the social environment characteristics. The preset content of the embodiment of the invention is convenient for the user to input, for example, the user can screen the required preset content, thereby saving the operation cost of the user and improving the input efficiency of the personalized content.
In addition, the embodiment of the invention can also provide at least one content label of the language style, and the content label can subdivide the preset content of the corresponding language style so as to improve the fineness of the preset content.
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 steps of a first embodiment of a data processing method of the present invention;
FIG. 2 is an illustration of a first tab of an embodiment of the 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 an illustration of a tab of the present invention;
FIG. 5 is a block diagram of an embodiment of a data processing apparatus according to the present invention;
FIG. 6 is a block diagram of an apparatus 900 for data processing of the present invention; and
fig. 7 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 technical problem of low input efficiency of personalized content in the related art, an embodiment of the present invention provides a data processing scheme, which specifically includes: if the input environmental characteristics are social environmental characteristics, determining a plurality of language styles corresponding to the social environmental characteristics; respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab specifically includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
The social environment features of the embodiment of the present invention may correspond to a social platform, such as a microblog platform, a wechat platform, a community platform, and the like.
According to the embodiment of the invention, under the condition that the input environment characteristic is the social environment characteristic, the multiple language styles corresponding to the social environment characteristic are determined, and the corresponding first option cards are respectively provided for the single language style, so that a user can switch between the different first option cards, and further experience of preset contents in different language styles is obtained.
The preset content of the embodiment of the invention is matched with the social environment characteristics and the language style, and can reflect the language characteristics corresponding to the language style under the condition of the social environment characteristics. The preset content of the embodiment of the invention is convenient for the user to input, for example, the user can screen the required preset content, thereby saving the operation cost of the user and improving the input efficiency of the personalized content.
In addition, the embodiment of the invention can also provide at least one content label of the language style, and the content label can subdivide the preset content of the corresponding language style so as to improve the fineness of the preset content.
Those skilled in the art can determine a plurality of language styles corresponding to the social environment features according to the actual application requirements. For example, the above-mentioned linguistic styles may include at least two of the following linguistic styles: positive energy style, control and evaluation style, screen brushing style, whitening style, serious style, humorous style and the like.
Wherein, positive energy refers to healthy optimism, positive power and emotion, and is a positive behavior in social life.
The comment control method is characterized in that comments are controlled and controlled, good comments on a microblog are replied to enable the comments to be popular, bad comments are not set up or reported to avoid the comments appearing in the past, and the comment trend of the fan controlling the comments under the star-related news is mostly described.
The phenomenon that certain repeated information on the internet is concentrated can be represented by screen refreshing.
The expression "exterior white space", or "caucasian white space", means to express the idea or mind of others. In a microblog environment, the whiteout can be used for vermicelli to be announced to a star.
Those skilled in the art can determine the content tag corresponding to the preset content in the language style according to the actual application requirement. For example, a corresponding content tag may be set for the entity word.
In the embodiment of the invention, the entity is a specific thing or concept, and the entity is generally divided into types, such as a character entity, a movie entity and the like; the same entity may correspond to multiple entity instances, which are descriptive pages (content) of an entity in a network (or other medium), such as pages of various encyclopedias, i.e., containing entity instances to which the entity corresponds. Examples of entity words may include, but are not limited to: name of person, place, organization, book, song, film, television, product, brand, etc. In practical application, the entity related data can be captured from the internet, analyzed to obtain the corresponding entity word, and stored in the entity library.
Because the entity words can represent specific objects or concepts, the embodiment of the invention can support setting corresponding content labels aiming at the specific objects or concepts, so that the preset content corresponding to the specific objects or concepts can be extracted, and the fineness of the preset content is improved.
For example, a corresponding content tag may be set for a certain name of a person, so as to quickly provide preset content corresponding to the name of the person. For another example, a corresponding content tag may be set for an entity word corresponding to an event, so as to quickly provide preset content corresponding to the event.
The embodiment of the invention can help the user to quickly input the corresponding personalized content under the condition of social environment characteristics. The personalized content may be a content item published by the user, or the personalized content may be comment content of the user for an existing content item.
In an embodiment of the invention, under a comment scene of social environment characteristics, a first tab corresponding to multiple language styles can be provided, so that a user can obtain preset content of a required language style, and the required preset content is displayed on a screen, thereby realizing quick input of comment content.
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 social program (such as a microblog, a WeChat, a community and the like) and the like. The input method program has a boarder characteristic, can be boarded in a host program environment corresponding to the social program, and provides services for the host program.
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 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 box, etc. For example, if a click operation is received for an input box, the 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 one
Referring to fig. 1, a flowchart illustrating a first step of a data processing method according to a first embodiment of the present invention is shown, which may specifically include:
102, respectively displaying first option cards corresponding to the plurality of language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab specifically includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
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 may include: application environment characteristics, and/or interface content characteristics.
In the embodiment of the invention, the input environment characteristics can be used for representing the environment information of the terminal when the user inputs the information. Because the input environment characteristics are related to the application environment or the interface content, the input environment characteristics can reflect the input requirements of the user for the personalized content to a certain extent.
In the embodiment of the present invention, optionally, the identification feature of the current object being serviced by the input method program may be acquired, so as to determine the corresponding application environment feature. 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 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 Character. The interface content features may include: interface title, or interface body, etc. The interface text may include: text features around the input box, etc. The interface content features may include features related to input requirements (input requirement features for short), so the interface content features may reflect the input requirements of the user to some extent. For example, the interface content features of the microblog rating interface may include: the interface content features can be determined to be the social comment features according to the texts related to the evaluation, sharing and forwarding.
In the embodiment of the present invention, optionally, a mapping relationship between the social environment feature and the language style may be preset, and then a plurality of language styles corresponding to the social environment feature may be determined according to the mapping relationship.
According to one embodiment, a person skilled in the art can determine multiple language styles corresponding to the social environment features according to actual application requirements. For example, the above-mentioned linguistic styles may include at least two of the following linguistic styles: positive energy style, control and evaluation style, screen brushing style, whitening style, serious style, humorous style and the like. It is to be understood that embodiments of the present invention are not limited to a particular language style.
According to another embodiment, the corpus data corresponding to the social environment features may be clustered to obtain a plurality of linguistic styles corresponding to the social environment features. It is understood that the embodiment of the present invention does not limit the specific determination manner of the multiple language styles corresponding to the social environment features.
In step 102, the tab may be a module for setting options. One tab represents an active area. Clicking different tabs can reveal different contents in the content area.
The tab of the embodiment of the invention can comprise: a status area and a content area. The status area may be used to display an identifier of the tab, such as a name of the tab, so that the user can switch the tab according to the identifier of the tab. The content area may be used to display the content of the tab.
According to one embodiment, the content area of the first tab is used to present preset content of a corresponding language style. The preset content may be content set by a person skilled in the art or a user. For example, the preset content of the positive energy style may be "you are rain in spring, wind in summer, clear sky in autumn, warm sun in winter" or the like.
According to another embodiment, the content area of the first tab is used to present content tags in a corresponding language style. The content tag can subdivide the preset content of the corresponding language style so as to improve the fineness of the preset content. For example, content tags of a certain language style may include: the name tag, the event name tag and the like, so that the user can quickly locate the preset content corresponding to the content tag, such as the preset content corresponding to a certain star, according to the content tag.
The embodiment of the invention can support the user to set the content label so as to realize the customization of the content label.
The embodiment of the invention can support operators to set the content tags so as to realize the customization and popularization of the content tags. Optionally, after a preset piece of content corresponding to the content tag is displayed, the corresponding cost information may be deducted for the operator.
Referring to FIG. 2, an illustration of a first tab of an embodiment of the present invention is shown. The first tab in fig. 2 specifically includes: the system comprises a first tab A, a first tab B and a first tab C, wherein the first tab A is in a selected state, and a content area of the first tab A displays: content tab a1, content tab a2, …, etc. for user selection and triggering.
In an optional embodiment of the present invention, the method may further include: and responding to the trigger operation of a user for the target content label, and displaying preset content corresponding to the target content label in the content area.
In an optional embodiment of the present invention, the content area may further include: refreshing the control;
the method may further comprise: and responding to the triggering operation of the user for the refreshing control, and switching the preset content in the content area. For example, the preset content corresponding to the first tab a includes: the method comprises the steps that preset content A1, preset content A2, …, preset content An and the like are provided, and if the preset content A1 is displayed in a content area of a first tab A, the preset content A1 can be switched to the preset content A2 in response to the triggering operation of a user on a refresh control; further, the preset content a2 may be switched to the preset content A3, and so on, in response to a user's trigger operation for the refresh control.
In an alternative embodiment of the present invention, the mapping relationship between the language style and the preset content may be preset. Optionally, the corpus data corresponding to the social environment features may be classified according to a language style to obtain a corpus corresponding to the language style as the preset content corresponding to the language style.
In another optional embodiment of the present invention, the preset content corresponding to the language style may be classified according to the content tag corresponding to the language style, so as to obtain the preset content corresponding to the content tag.
In the embodiment of the present invention, optionally, in response to a trigger operation (e.g., a click operation) of a user for a preset content, the preset content corresponding to the trigger operation is displayed on a screen, so as to implement quick input of personalized content.
To sum up, in the data processing method according to the embodiment of the present invention, when the input environment feature is a social environment feature, multiple language styles corresponding to the social environment feature are determined, and corresponding first tabs are provided for a single language style, so that a user can switch between different first tabs, and experience of preset content in different language styles is obtained.
The preset content of the embodiment of the invention is matched with the social environment characteristics and the language style, and can reflect the language characteristics corresponding to the language style under the condition of the social environment characteristics. The preset content of the embodiment of the invention is convenient for the user to input, for example, the user can screen the required preset content, thereby saving the operation cost of the user and improving the input efficiency of the personalized content.
In addition, the embodiment of the invention can also provide at least one content label of the language style, and the content label can subdivide the preset content of the corresponding language style so as to improve the fineness of the preset content.
Method embodiment two
Referring to fig. 3, a flowchart illustrating steps of a second embodiment of a data processing method according to the present invention is shown, which may specifically include:
With respect to the first embodiment of the method shown in fig. 1, the method of this embodiment may further include:
and the content area of the second tab is used for presenting related information of the extended content, and the extended content is obtained according to the corpus data corresponding to the social environment characteristics.
In an alternative embodiment of the invention, the mathematical model may be trained based on training data to obtain the data analyzer. The data analyzer may characterize a mapping relationship between input data (input content) and output data (augmented content).
The data analyzer of the embodiment of the invention can expand the input content according to the characteristics of the corpus data corresponding to the social environment characteristics, so that the obtained expanded content can meet the user requirements corresponding to the social environment characteristics. Therefore, the embodiment of the invention provides the input content and the extended content corresponding to the social environment characteristics, so that the operation cost of the user can be saved, and the input efficiency of the personalized content can be improved.
In an embodiment of the present invention, the server may receive the extension request sent by the client, utilize rich resources to obtain the corresponding extension content, and issue the extension content to the client. The expansion request may include the input content, or the expansion request may include the input content and the input environment characteristics.
In an alternative embodiment of the invention, the mathematical model may be trained based on training data to obtain the data analyzer. The data analyzer may characterize a mapping relationship between input data (input content) and output data (augmented content).
Optionally, the training data may be obtained according to corpus data corresponding to the social environment features. The embodiment of the invention can collect corpus data corresponding to social environment characteristics. The corpus data may include: the part corpus may correspond to a previous 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 data analyzer can be provided with the capability of expanding for the beginning of the whole corpus.
For example, the overall corpus a corresponding to the social environment features includes: "I happy, not only because of the good weather today, but also because you are seen, you are friends of I forever". The whole corpus a may correspond to a plurality of partial corpuses, and the partial corpuses may be a previous part of the whole corpus a, such as "i'm happy, not only because" and the like.
According to the embodiment of the invention, corresponding data analyzers can be obtained by training aiming at the social environment characteristics respectively, so that the data analyzers reflect the characteristics and the like corresponding to the social environment characteristics. For example, social environment features have media and broad-spread features that can deliver positive energy to increase the aggressiveness of information dissemination.
The mathematical model is a scientific or engineering model constructed by using a mathematical logic method and a mathematical language, and is a mathematical structure which is generally or approximately expressed by adopting the mathematical language aiming at the characteristic or quantity dependency relationship of a certain object system, and the mathematical structure is a relational 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 (LSTM), Gated cyclic units (GRU), and so on.
Referring to FIG. 4, an illustration of a tab of an embodiment of the present invention is shown. The tabs in fig. 4 include: a first tab and a second tab. Wherein, the first option card specifically comprises: the system comprises a first tab A, a first tab B and a first tab C, wherein the second tab is in a selected state, and the content area of the second tab displays: and inputting the expanded content corresponding to the content in the input box.
The input box may be used to make content inputs, and the types of content that has been input 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.
In an optional embodiment of the present invention, the method may further include:
if the first trigger condition is met, determining the expanded content corresponding to the input content;
the first trigger condition specifically includes:
receiving a trigger operation of a user for a preset key; and/or
An update operation of the input content is detected.
Under the condition that a user has an expansion requirement, a request can be generated by triggering a preset key so as to trigger the expansion operation of the embodiment of the invention.
The preset keys may be any keys 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. For example, a preset object of a Virtual animal may function as a Virtual Personal Assistant (VPA).
When the update operation of the input content is detected, it can be considered that the input content is updated, and in this case, the input content can be augmented in real time, so that the accuracy of the augmented content can be improved. The update operation of the inputted content may include: a screen-up operation, for example, the user will "i am happy" to screen up. Of course, the update operation of the inputted content may include: a paste operation, etc.
In an optional embodiment of the present invention, the method may further include: displaying the processing state of the augmented content; the processing state specifically includes: an idle state, an in-process state, or a process complete state. The processing state can prompt the processing state information of the expansion content and help the user to check the expansion content in time. Optionally, the processing status of the augmented content may be displayed via a status area of the second tab.
The idle state may characterize the processing of the augmentation content. The in-process state may characterize the process of augmenting the content being processed. The process complete status may characterize the processing of the augmented content as completed, i.e., the augmented content has been determined or prepared.
Embodiments of the present invention may characterize the processing state according to an icon and/or a text.
For example, the above-described process states may be characterized by the color of the icon, and different colors may characterize different process states. For example, the color of the icon is gray, indicating an idle state; the color of the icon is red, and the state in the process of treatment is represented; the color of the icon is green, representing the processing completion status.
Alternatively, different processing states may be characterized in terms of different text. Further, different idle states may be characterized according to different texts.
For example, in the case where there is no already input content in the input box, the first text corresponding to the first idle state is "try to type some words, and will write your wisdom", to prompt the user to provide the already input content in the input box. For another example, in a case that there is no augmented content corresponding to the already input content, the second text corresponding to the second idle state is "temporarily there is no more augmented suggestion", so as to prompt the user that there is no corresponding augmented content. As another example, in the case where the number of words of the already-input content exceeds the threshold, the third text corresponding to the third idle state is "the number of words exceeds the understanding range of XX", and "XX" may be an identification of a preset object to prompt the user that the number of words of the already-input content has exceeded the range of the input box.
Alternatively, the processing state may be characterized in terms of an animation. For example, the in-process state may be characterized according to a preset animation. The preset animation can be played circularly, after the ith playing of the preset animation is finished (i can be a natural number larger than 0), whether the expanded content corresponding to the input content exists is detected, if yes, the processing state is updated, and otherwise, the (i +1) th playing of the preset animation can be performed. After the ith playing of the preset animation is finished, whether the expanded content corresponding to the input content exists or not is detected, so that the problem of animation flicker caused by detection under the condition that the animation is not played can be avoided.
In an optional embodiment of the present invention, the method may further include: and sending an expansion request to a server side under the condition of meeting the first trigger condition, and setting the processing state as a processing state.
In another optional embodiment of the present invention, the method may further include: and after determining the extended content corresponding to the input content, for example, after receiving the extended content returned by the server, setting the processing state to be a processing completion state.
In yet another optional embodiment of the present invention, the method may further include: and displaying the first tab and the second tab under the condition that the second trigger condition is met.
The embodiment of the invention provides two functions of presetting content and expanding content through the first tab and the second tab for users to select and use, and can increase the diversity of the functions.
It should be noted that, in the case of being applied to the input method program, the first tab and the second tab may be located above the input keyboard, so as to avoid affecting the input behavior of the user according to the input keyboard.
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 content of the second tab is displayed on the screen, the tabs are closed.
In this embodiment of the present invention, optionally, the second trigger condition specifically includes:
triggering condition 1, receiving a starting operation aiming at an input keyboard under the condition that the input content does not exist in an input frame; or
Triggering condition 2, receiving a triggering operation of a user for a preset key; or
And 3, receiving a trigger operation of the user for the link corresponding to the expanded content.
For the trigger condition 1, when there is no content already input in the input box, if a start operation for the input keyboard is received, the first tab and the second tab may be displayed, and in this case, the first tab or the second tab may be set to be in a selected state, for example, the first tab is set to be in a selected state. The first tab of the preset language style may be set to the selected state, or any first tab may be set to the selected state.
For the trigger condition 2, the corresponding processing manner may include:
the method comprises the following 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 first option card 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 first 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.
Or, when the processing state of the extended content is the processing state, the tab used last time is taken as the tab in the selected state according to the historical operation record.
Or, in the case that the processing state of the augmented content is the processing completion state, the second tab is taken as the tab in the selected state, and the augmented content is provided in the content area of the second tab.
Alternatively, when the processing state of the extended content is the leisure state, the first tab is set as the tab in the selected state. It should be noted that, when receiving a trigger operation of a user on a preset key, the method may send an expansion request to the server, and set the processing state to the processing state. In this case, the reason why the treatment state is the leisure state may include: the absence of the input content corresponds to augmented content, or a return timeout of the augmented content, etc.
In the embodiment of the invention, when the processing state of the extended content is the processing completion state, the second tab can be used as the tab in the selected state, and the extended content is displayed in the content area of the second tab, so that the user can display the extended content on the screen. For example, the user can output the augmented content to the input box by clicking the augmented content, so that the input cost of the user can be saved.
In summary, the data processing method according to the embodiment of the present invention provides the augmented content corresponding to the input content in the input box when the input environment feature is the social environment feature. Because the augmented content can be obtained according to the corpus data corresponding to the social environment feature, the embodiment of the invention can enable the obtained augmented content to meet the user requirement corresponding to the social environment feature. Therefore, the embodiment of the invention provides the input content and the extended content corresponding to the social environment characteristics, so that the operation cost of the user can be saved, and the input efficiency of the personalized content can be improved.
To enable those skilled in the art to better understand the embodiments of the present invention, examples of applications of the tabs of the embodiments of the present invention in the context of social environment features are provided herein.
Examples 1, 1,
When the input content does not exist in the input frame, if the starting operation aiming at the input keyboard is received, the tabs are displayed, and the first tab is in a selected state. The user can be supported to switch the tabs. If the user's on-screen operation for the content in the tab's content area is received, the tab may 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 first option card is in the selected state, if the screen-up operation of the user is detected, sending an expansion request to the server side, and setting the processing state as a processing state.
In the case of the in-process state, the preset animation may be played in a loop. After the ith playing of the preset animation is finished, whether the expanded content corresponding to the input content exists is detected, if so, the processing state is updated, specifically, the processing state is updated to the processing finished state, otherwise, the (i +1) th playing of the preset animation can be carried out. When the loop playing is finished (for example, the playing time length exceeds the time length threshold), if there is no extended content corresponding to the input content, the processing state may be updated to the leisure state.
The processing completion state can prompt that the expanded content corresponding to the input content exists, and help the user to switch the option card to the second option card so as to realize screen loading aiming at the expanded content in the second option card.
In the input process of the user, whether the word number of the input content exceeds a threshold value or not can be judged, if yes, the processing state can be updated to a leisure state, otherwise, an expansion request can be sent to the server end in response to the screen-on operation of the user, and the processing state is set to be a processing state.
Examples 3,
In the case where the second tab is in the selected state, if there is no input content in the input box, the processing state may be a leisure state, and the aforementioned first text may be displayed in the content area to prompt the user to provide the input content in the input box.
And if the screen-up operation of the user is detected, sending an expansion request to the server side, and setting the processing state as a processing state.
In the in-process state, the content area may display the first text and may cyclically play the preset animation. After the ith playing of the preset animation is finished, detecting whether the expanded content corresponding to the input content exists, if so, updating the processing state, specifically updating the processing state to the processing finished state, and displaying the expanded content in the content area; otherwise, the (i +1) th playing of the preset animation can be performed. When the loop playing is finished (for example, the playing time length exceeds the time length threshold), if there is no extended content corresponding to the input content, the processing state may be updated to the leisure state, and the second text may be displayed in the content area.
The processing completion state can prompt that the expanded content corresponding to the input content exists, and help the user to switch the option card to the second option card so as to realize screen loading aiming at the expanded content in the second option card.
In the input process of the user, whether the word number of the input content exceeds a threshold value or not can be judged, if yes, the processing state can be updated to a leisure state, and a third text is displayed in the content area; otherwise, responding to the screen-on operation of the user, sending an expansion request to the server, and setting the processing state as the processing state.
Examples 4,
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, and setting the processing state as a processing state.
If the existence of the extended content corresponding to the input content is detected, the link corresponding to the extended 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 second tab is set to be in the selected state. In this case, the processing state of the second tab is a processing completion state, and the content area thereof may display the augmented content, so that the user can conveniently display the augmented content on the screen.
Examples 5,
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, setting the first option card 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, putting the first tab into 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 and/or the processing state of the expanded content.
For example, the tab that was used last may be taken as the tab in the selected state according to the historical operation record.
Or, when the processing state of the extended content is the processing state, the tab used last time is taken as the tab in the selected state according to the historical operation record.
Or, in the case that the processing state of the augmented content is the processing completion state, the second tab is taken as the tab in the selected state, and the augmented content is provided in the content area of the second tab.
Alternatively, when the processing state of the extended content is the leisure state, the first tab is set as the tab in the selected state. It should be noted that, when receiving a trigger operation of a user on a preset key, the method may send an expansion request to the server, and set the processing state to the processing state. In this case, the reason why the treatment state is the leisure state may include: the absence of the input content corresponds to augmented content, or a return timeout of the augmented content, etc.
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. 5, a block diagram of a data processing apparatus according to an embodiment of the present invention is shown, which may specifically include:
a language style determining module 501, configured to determine multiple language styles corresponding to the social environment features if the input environment features are the social environment features;
a first tab display module 502, configured to respectively display first tabs corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab may include: the preset content corresponding to the language style or at least one content label corresponding to the language style.
Optionally, the apparatus may further include:
and the preset content display module is used for responding to the triggering operation of the user for the target content label and displaying the preset content corresponding to the target content label in the content area.
Optionally, the content area may further include: refreshing the control;
the above apparatus may further include:
and the switching module is used for responding to the triggering operation of the user aiming at the refreshing control and switching the preset content in the content area.
Optionally, the apparatus may further include:
the second tab display module is used for displaying a second tab; one of the first tabs and the second tabs is in a selected state;
the content area of the second tab is used for presenting related information of the extended content, and the extended content is obtained according to the corpus data corresponding to the social environment characteristics.
Optionally, the apparatus may further include:
the extended content determining module is used for determining the extended content corresponding to the input content if the first trigger condition is met;
the first trigger condition may include:
receiving a trigger operation of a user for a preset key; and/or
The update operation of the input content is detected.
Optionally, the status area of the second tab is used for displaying the processing status of the augmented content; the processing state may include: an idle state, an in-process state, or a process complete state.
Optionally, the apparatus may further include:
and the first state processing module is used for sending an expansion request to the server side under the condition of meeting the first trigger condition and setting the processing state as a processing state.
Optionally, the apparatus may further include:
and the second state processing module is used for setting the processing state as a processing completion state after the extended content corresponding to the input content is determined.
Optionally, the first tab display module is specifically configured to display the first tab and the second tab under the condition that the second trigger condition is met;
the second trigger condition may include:
receiving a start-up operation for an input keyboard in the case that the input content does not exist in the input frame; or
Receiving a trigger operation of a user for a preset key; or
And receiving the trigger operation of the user aiming at the link corresponding to the extended content.
Optionally, the apparatus may further include:
the first tab processing module is used for setting the second tab to be in a selected state if the input content does not exist in the input frame under the condition that the triggering operation of the user for the preset key is received; or
The second tab processing module is used for setting the second tab to be in a selected state if the input content exists in the input frame and the word number of the input content exceeds a threshold value under the condition that the triggering operation of the user for the preset key is received; or
And the third tab processing module is used for determining a tab in a selected state according to the historical operation record of the user and/or the processing state of the expanded content if the input content exists in the input frame and the word number of the input content does not exceed a threshold value under the condition of receiving the triggering operation of the user on the preset key.
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: if the input environmental characteristics are social environmental characteristics, determining a plurality of language styles corresponding to the social environmental characteristics; respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
Fig. 6 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. 6, 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. 7 is a schematic diagram of a server in some embodiments of the invention. The server 1900 may vary widely by configuration or performance and 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 (terminal or server), enable the apparatus to perform a data processing method, the method comprising: if the input environmental characteristics are social environmental characteristics, determining a plurality of language styles corresponding to the social environmental characteristics; respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
The embodiment of the invention discloses A1 and a data processing method, which comprises the following steps:
if the input environmental characteristics are social environmental characteristics, determining a plurality of language styles corresponding to the social environmental characteristics;
respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
A2, the method of A1, the method further comprising:
and responding to the trigger operation of a user for the target content label, and displaying preset content corresponding to the target content label in the content area.
A3, the method of A1, the content area further comprising: refreshing the control;
the method further comprises the following steps:
and responding to the triggering operation of the user for the refreshing control, and switching the preset content in the content area.
A4, the method of any one of A1 to A3, the method further comprising:
displaying a second tab; one of the plurality of first tabs and the second tab is in a selected state;
and the content area of the second tab is used for presenting related information of the extended content, and the extended content is obtained according to the corpus data corresponding to the social environment characteristics.
A5, the method of A4, the method further comprising:
if the first trigger condition is met, determining the expanded content corresponding to the input content;
the first trigger condition includes:
receiving a trigger operation of a user for a preset key; and/or
An update operation of the input content is detected.
A6, according to the method of A4, the status area of the second tab is used for displaying the processing status of the augmented content; the processing states include: an idle state, an in-process state, or a process complete state.
A7, the method of A6, the method further comprising:
and sending an expansion request to a server side under the condition of meeting the first trigger condition, and setting the processing state as a processing state.
A8, the method of A6, the method further comprising:
and after the extended content corresponding to the input content is determined, setting the processing state as a processing completion state.
A9, the method of A4, the method further comprising:
under the condition that a second trigger condition is met, displaying a first tab and a second tab;
the second trigger condition includes:
receiving a start-up operation for an input keyboard in the case that the input content does not exist in the input frame; or
Receiving a trigger operation of a user for a preset key; or
And receiving a trigger operation of a user for the corresponding link of the augmented content.
A10, the method of A9, the method further comprising:
under the condition that the triggering operation of a user for a preset key is received, if the input content does not exist in the input frame, setting the second option card to be in a selected state; or
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, setting the second option card to be in a selected state; or
Under the condition that the triggering operation of a user for a 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.
The embodiment of the invention discloses B11 and a data processing device, wherein the device comprises:
the language style determining module is used for determining a plurality of language styles corresponding to the social environment characteristics if the input environment characteristics are the social environment characteristics;
the first option card display module is used for respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
B12, the apparatus of B11, the apparatus further comprising:
and the preset content display module is used for responding to the triggering operation of a user for the target content label and displaying the preset content corresponding to the target content label in the content area.
B13, the apparatus of B11, the content area further comprising: refreshing the control;
the device further comprises:
and the switching module is used for responding to the triggering operation of the user for the refreshing control and switching the preset content in the content area.
B14, the apparatus according to any one of B11 to B13, further comprising:
the second tab display module is used for displaying a second tab; one of the plurality of first tabs and the second tab is in a selected state;
and the content area of the second tab is used for presenting related information of the extended content, and the extended content is obtained according to the corpus data corresponding to the social environment characteristics.
B15, the apparatus of B14, the apparatus further comprising:
the extended content determining module is used for determining the extended content corresponding to the input content if the first trigger condition is met;
the first trigger condition includes:
receiving a trigger operation of a user for a preset key; and/or
An update operation of the input content is detected.
B16, according to the device of B14, the status area of the second tab is used for displaying the processing status of the augmented content; the processing states include: an idle state, an in-process state, or a process complete state.
B17, the apparatus of B16, the apparatus further comprising:
and the first state processing module is used for sending an expansion request to the server side under the condition of meeting the first trigger condition and setting the processing state as a processing state.
B18, the apparatus of B16, the apparatus further comprising:
and the second state processing module is used for setting the processing state to be a processing completion state after the extended content corresponding to the input content is determined.
B19, the first tab display module according to the apparatus of B14, specifically configured to display a first tab and a second tab if a second trigger condition is met;
the second trigger condition includes:
receiving a start-up operation for an input keyboard in the case that the input content does not exist in the input frame; or
Receiving a trigger operation of a user for a preset key; or
And receiving a trigger operation of a user for the corresponding link of the augmented content.
B20, the apparatus of B19, the apparatus further comprising:
the first tab processing module is used for setting the second tab to be in a selected state if the input content does not exist in the input frame under the condition that the triggering operation of the user for the preset key is received; or
The second tab processing module is used for setting the second tab to be in a selected state if the input content exists in the input frame and the word number of the input content exceeds a threshold value under the condition that the triggering operation of a user for a preset key is received; or
And the third tab processing module is used for determining a tab in a selected state according to the historical operation record of the user and/or the processing state of the expanded content if the input content exists in the input frame and the word number of the input content does not exceed a threshold value under the condition of receiving the triggering operation of the user on the preset key.
The embodiment of the invention discloses C21, 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 comprise instructions for:
if the input environmental characteristics are social environmental characteristics, determining a plurality of language styles corresponding to the social environmental characteristics;
respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
C22, the device of C21, the device also configured to execute the one or more programs by one or more processors including instructions for:
and responding to the trigger operation of a user for the target content label, and displaying preset content corresponding to the target content label in the content area.
C23, the apparatus of C1, the content area further comprising: refreshing the control;
the device is also configured to execute, by one or more processors, the one or more programs including instructions for:
and responding to the triggering operation of the user for the refreshing control, and switching the preset content in the content area.
C24, the device of any of C21-C23, the device also configured to execute the one or more programs by one or more processors including instructions for:
displaying a second tab; one of the plurality of first tabs and the second tab is in a selected state;
and the content area of the second tab is used for presenting related information of the extended content, and the extended content is obtained according to the corpus data corresponding to the social environment characteristics.
C25, the device of C24, the device also configured to execute the one or more programs by one or more processors including instructions for:
if the first trigger condition is met, determining the expanded content corresponding to the input content;
the first trigger condition includes:
receiving a trigger operation of a user for a preset key; and/or
An update operation of the input content is detected.
C26, the status area of the second tab being used to display the processing status of the augmented content according to the apparatus of C24; the processing states include: an idle state, an in-process state, or a process complete state.
C27, the device of C26, the device also configured to execute the one or more programs by one or more processors including instructions for:
and sending an expansion request to a server side under the condition of meeting the first trigger condition, and setting the processing state as a processing state.
C28, the device of C26, the device also configured to execute the one or more programs by one or more processors including instructions for:
and after the extended content corresponding to the input content is determined, setting the processing state as a processing completion state.
C29, the device of C24, the device also configured to execute the one or more programs by one or more processors including instructions for:
under the condition that a second trigger condition is met, displaying a first tab and a second tab;
the second trigger condition includes:
receiving a start-up operation for an input keyboard in the case that the input content does not exist in the input frame; or
Receiving a trigger operation of a user for a preset key; or
And receiving a trigger operation of a user for the corresponding link of the augmented content.
C30, the device of C29, the device also configured to execute the one or more programs by one or more processors including instructions for:
under the condition that the triggering operation of a user for a preset key is received, if the input content does not exist in the input frame, setting the second option card to be in a selected state; or
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, setting the second option card to be in a selected state; or
Under the condition that the triggering operation of a user for a 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.
Embodiments of the present invention disclose D31, one or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause an apparatus to perform a data processing method as described in one or more of a 1-a 10.
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 provided by the present invention have been described in detail, and specific examples are used herein to explain the principles and embodiments of the present invention, and the descriptions of the above examples are 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:
if the input environmental characteristics are social environmental characteristics, determining a plurality of language styles corresponding to the social environmental characteristics;
respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
2. The method of claim 1, further comprising:
and responding to the trigger operation of a user for the target content label, and displaying preset content corresponding to the target content label in the content area.
3. The method of claim 1, wherein the content area further comprises: refreshing the control;
the method further comprises the following steps:
and responding to the triggering operation of the user for the refreshing control, and switching the preset content in the content area.
4. The method according to any one of claims 1 to 3, further comprising:
displaying a second tab; one of the plurality of first tabs and the second tab is in a selected state;
and the content area of the second tab is used for presenting related information of the extended content, and the extended content is obtained according to the corpus data corresponding to the social environment characteristics.
5. The method of claim 4, further comprising:
if the first trigger condition is met, determining the expanded content corresponding to the input content;
the first trigger condition includes:
receiving a trigger operation of a user for a preset key; and/or
An update operation of the input content is detected.
6. The method of claim 4, wherein the status area of the second tab is used to display the processing status of the augmented content; the processing states include: an idle state, an in-process state, or a process complete state.
7. The method of claim 6, further comprising:
and sending an expansion request to a server side under the condition of meeting the first trigger condition, and setting the processing state as a processing state.
8. A data processing apparatus, characterized in that the apparatus comprises:
the language style determining module is used for determining a plurality of language styles corresponding to the social environment characteristics if the input environment characteristics are the social environment characteristics;
the first option card display module is used for respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
9. 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 execution of the one or more programs by one or more processors comprises instructions for:
if the input environmental characteristics are social environmental characteristics, determining a plurality of language styles corresponding to the social environmental characteristics;
respectively displaying the first option cards corresponding to the multiple language styles; one of the plurality of first tabs is in a selected state; the content area of the first tab includes: the preset content corresponding to the language style or at least one content label corresponding to the language style.
10. 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-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010682653.8A CN112000877B (en) | 2020-07-15 | 2020-07-15 | Data processing method, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010682653.8A CN112000877B (en) | 2020-07-15 | 2020-07-15 | Data processing method, device and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112000877A true CN112000877A (en) | 2020-11-27 |
CN112000877B CN112000877B (en) | 2024-10-01 |
Family
ID=73466613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010682653.8A Active CN112000877B (en) | 2020-07-15 | 2020-07-15 | Data processing method, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112000877B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113313510A (en) * | 2021-04-25 | 2021-08-27 | 北京搜狗科技发展有限公司 | Data processing method, device and medium |
Citations (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6141011A (en) * | 1997-08-04 | 2000-10-31 | Starfish Software, Inc. | User interface methodology supporting light data entry for microprocessor device having limited user input |
JP2001117913A (en) * | 1999-10-19 | 2001-04-27 | Hitachi Ltd | Face mark input device |
US20070156747A1 (en) * | 2005-12-12 | 2007-07-05 | Tegic Communications Llc | Mobile Device Retrieval and Navigation |
CN101013342A (en) * | 2007-01-22 | 2007-08-08 | 魏新成 | Chinese online input method based on Chinese network word base |
CN103076892A (en) * | 2012-12-31 | 2013-05-01 | 百度在线网络技术(北京)有限公司 | Method and equipment for providing input candidate items corresponding to input character string |
CN103376909A (en) * | 2012-04-19 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Method and system of adjusting sequence of candidate characters in use of input methods |
CN104020950A (en) * | 2013-03-01 | 2014-09-03 | 腾讯科技(深圳)有限公司 | Input method based on touch screen and input device with touch screen |
CN104021193A (en) * | 2014-06-13 | 2014-09-03 | 北京奇虎科技有限公司 | Search switching method and search switching device |
CN104035966A (en) * | 2014-05-16 | 2014-09-10 | 百度在线网络技术(北京)有限公司 | Method and device for providing extended search terms |
US20150100537A1 (en) * | 2013-10-03 | 2015-04-09 | Microsoft Corporation | Emoji for Text Predictions |
US9071945B1 (en) * | 2007-09-17 | 2015-06-30 | Google Inc. | Caller feedback in mobile devices |
CN106371711A (en) * | 2015-07-20 | 2017-02-01 | 联想(北京)有限公司 | Information input method and electronic equipment |
CN107609092A (en) * | 2017-09-08 | 2018-01-19 | 北京百度网讯科技有限公司 | Intelligent response method and apparatus |
CN107643833A (en) * | 2016-07-22 | 2018-01-30 | 北京搜狗科技发展有限公司 | A kind of input method and device, a kind of device for being used to input |
CN107690781A (en) * | 2015-04-16 | 2018-02-13 | 三星电子株式会社 | Method and apparatus for recommending answer message |
CN108021572A (en) * | 2016-11-02 | 2018-05-11 | 腾讯科技(深圳)有限公司 | Return information recommends method and apparatus |
CN108541310A (en) * | 2016-06-22 | 2018-09-14 | 华为技术有限公司 | A kind of method, apparatus and graphic user interface of display candidate word |
US20180302350A1 (en) * | 2016-08-03 | 2018-10-18 | Tencent Technology (Shenzhen) Company Limited | Method for determining candidate input, input prompting method and electronic device |
CN108762862A (en) * | 2016-05-18 | 2018-11-06 | 苹果公司 | Equipment, method and graphic user interface for messaging |
CN109144285A (en) * | 2017-06-16 | 2019-01-04 | 北京搜狗科技发展有限公司 | A kind of input method and device |
CN109783244A (en) * | 2017-11-10 | 2019-05-21 | 北京搜狗科技发展有限公司 | Treating method and apparatus, the device for processing |
CN110022258A (en) * | 2018-01-10 | 2019-07-16 | 腾讯科技(深圳)有限公司 | A kind of conversation controlling method and device, electronic equipment of instant messaging |
CN112000766A (en) * | 2020-07-15 | 2020-11-27 | 北京搜狗科技发展有限公司 | Data processing method, device and medium |
-
2020
- 2020-07-15 CN CN202010682653.8A patent/CN112000877B/en active Active
Patent Citations (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6141011A (en) * | 1997-08-04 | 2000-10-31 | Starfish Software, Inc. | User interface methodology supporting light data entry for microprocessor device having limited user input |
JP2001117913A (en) * | 1999-10-19 | 2001-04-27 | Hitachi Ltd | Face mark input device |
US20070156747A1 (en) * | 2005-12-12 | 2007-07-05 | Tegic Communications Llc | Mobile Device Retrieval and Navigation |
CN101013342A (en) * | 2007-01-22 | 2007-08-08 | 魏新成 | Chinese online input method based on Chinese network word base |
US9071945B1 (en) * | 2007-09-17 | 2015-06-30 | Google Inc. | Caller feedback in mobile devices |
CN103376909A (en) * | 2012-04-19 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Method and system of adjusting sequence of candidate characters in use of input methods |
CN103076892A (en) * | 2012-12-31 | 2013-05-01 | 百度在线网络技术(北京)有限公司 | Method and equipment for providing input candidate items corresponding to input character string |
CN104020950A (en) * | 2013-03-01 | 2014-09-03 | 腾讯科技(深圳)有限公司 | Input method based on touch screen and input device with touch screen |
US20150100537A1 (en) * | 2013-10-03 | 2015-04-09 | Microsoft Corporation | Emoji for Text Predictions |
CN104035966A (en) * | 2014-05-16 | 2014-09-10 | 百度在线网络技术(北京)有限公司 | Method and device for providing extended search terms |
CN104021193A (en) * | 2014-06-13 | 2014-09-03 | 北京奇虎科技有限公司 | Search switching method and search switching device |
CN107690781A (en) * | 2015-04-16 | 2018-02-13 | 三星电子株式会社 | Method and apparatus for recommending answer message |
CN106371711A (en) * | 2015-07-20 | 2017-02-01 | 联想(北京)有限公司 | Information input method and electronic equipment |
CN108762862A (en) * | 2016-05-18 | 2018-11-06 | 苹果公司 | Equipment, method and graphic user interface for messaging |
CN108541310A (en) * | 2016-06-22 | 2018-09-14 | 华为技术有限公司 | A kind of method, apparatus and graphic user interface of display candidate word |
CN107643833A (en) * | 2016-07-22 | 2018-01-30 | 北京搜狗科技发展有限公司 | A kind of input method and device, a kind of device for being used to input |
US20180302350A1 (en) * | 2016-08-03 | 2018-10-18 | Tencent Technology (Shenzhen) Company Limited | Method for determining candidate input, input prompting method and electronic device |
CN108021572A (en) * | 2016-11-02 | 2018-05-11 | 腾讯科技(深圳)有限公司 | Return information recommends method and apparatus |
CN109144285A (en) * | 2017-06-16 | 2019-01-04 | 北京搜狗科技发展有限公司 | A kind of input method and device |
CN107609092A (en) * | 2017-09-08 | 2018-01-19 | 北京百度网讯科技有限公司 | Intelligent response method and apparatus |
CN109783244A (en) * | 2017-11-10 | 2019-05-21 | 北京搜狗科技发展有限公司 | Treating method and apparatus, the device for processing |
CN110022258A (en) * | 2018-01-10 | 2019-07-16 | 腾讯科技(深圳)有限公司 | A kind of conversation controlling method and device, electronic equipment of instant messaging |
CN112000766A (en) * | 2020-07-15 | 2020-11-27 | 北京搜狗科技发展有限公司 | Data processing method, device and medium |
Non-Patent Citations (1)
Title |
---|
王艳坤;: "汉字输入法及其专利保护", 中国发明与专利, no. 07, 31 July 2011 (2011-07-31) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113313510A (en) * | 2021-04-25 | 2021-08-27 | 北京搜狗科技发展有限公司 | Data processing method, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN112000877B (en) | 2024-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109783244B (en) | Processing method and device for processing | |
CN112000766B (en) | Data processing method, device and medium | |
CN108073291B (en) | Input method and device and input device | |
CN110929122A (en) | Data processing method and device and data processing device | |
CN112000877B (en) | Data processing method, device and medium | |
CN112948565A (en) | Man-machine conversation method, device, electronic equipment and storage medium | |
CN111708444A (en) | Input method, input device and input device | |
CN113138676B (en) | Expression symbol display method and device | |
CN112363631A (en) | Input method, input device and input device | |
CN112905079B (en) | Data processing method, device and medium | |
CN113407099A (en) | Input method, device and machine readable medium | |
CN109388328B (en) | Input method, device and medium | |
CN113407039A (en) | Input method, device and machine readable medium | |
CN113805707A (en) | Input method, input device and input device | |
CN114816036A (en) | Emotion processing method, device and medium | |
CN114115550A (en) | Method and device for processing association candidate | |
CN113589950A (en) | Input method, input device and input device | |
CN112181163B (en) | Input method, device and device for inputting | |
CN111611030A (en) | Data processing method and device and data processing device | |
CN113625885B (en) | Input method, device and device for inputting | |
CN112306252A (en) | Data processing method and device and data processing device | |
CN114442816B (en) | Association prefetching method and device for association prefetching | |
CN114741613A (en) | Data processing method, device and medium | |
CN112445557B (en) | Interface display method and device for displaying interface | |
CN113220468B (en) | Custom content processing method, device and medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TG01 | Patent term adjustment |