CN112818211A - Data processing method, device and medium - Google Patents

Data processing method, device and medium Download PDF

Info

Publication number
CN112818211A
CN112818211A CN201911122659.3A CN201911122659A CN112818211A CN 112818211 A CN112818211 A CN 112818211A CN 201911122659 A CN201911122659 A CN 201911122659A CN 112818211 A CN112818211 A CN 112818211A
Authority
CN
China
Prior art keywords
input
content
personalized
interface
environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911122659.3A
Other languages
Chinese (zh)
Inventor
冯静静
金权姬
蔡雅莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201911122659.3A priority Critical patent/CN112818211A/en
Publication of CN112818211A publication Critical patent/CN112818211A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

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

Abstract

The embodiment of the invention provides a data processing method, a device and a medium, wherein the method specifically comprises the following steps: determining input environmental characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics; and displaying the personalized content corresponding to the input environment characteristics. The embodiment of the invention can provide the personalized content meeting the input requirement for the user, save the operation cost of the user and improve the acquisition efficiency of the user on the personalized content.

Description

Data processing method, device and medium
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 release their personalized contents on the internet. For example, the user may distribute barrage content for a video, or the user may distribute rating content for a commodity, or the like.
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 needs to input the evaluation content for the product a, but does not know how to express the evaluation content, so the existing evaluation contents of other users are browsed one by one on the evaluation page of the product, and the personalized content of the user is input by referring to the existing evaluation contents.
The inventor finds that browsing the existing evaluation contents of other users one by one on the evaluation page of the commodity generally needs to spend more operation cost in the process of implementing the embodiment of the invention, so that the efficiency of obtaining the personalized contents by the user is 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 provide a user with personalized content meeting an input requirement, save the operation cost of the user, and improve the efficiency of obtaining the personalized content by the user.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method, including:
determining input environmental characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
and displaying the personalized content corresponding to the input environment characteristics.
On the other hand, the embodiment of the invention discloses a data processing device, which comprises:
and completing after finalizing.
In yet another aspect, an embodiment of the present invention discloses an apparatus for data processing, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors includes instructions for:
determining input environmental characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
and displaying the personalized content corresponding to the input environment characteristics.
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:
the embodiment of the invention displays personalized contents corresponding to the input environmental characteristics to a user; wherein inputting the environmental characteristic may include: the input environment characteristics are related to the application environment or the interface content, so that the input environment characteristics can reflect the input requirements of the user on the personalized content to a certain extent, the personalized content corresponding to the input environment characteristics is displayed in the embodiment of the invention, the personalized content meeting the input requirements can be provided for the user, the operation cost of the user can be saved, and the acquisition efficiency of the user on the personalized content is improved.
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 a flow chart of the steps of a data processing method of the present invention;
FIG. 3 is a flowchart illustrating steps of a second embodiment of a data processing method according to the present invention;
FIG. 4 is a flowchart illustrating steps of a second embodiment of a data processing method according to the present invention;
FIG. 5 is a block diagram of an embodiment of a data processing apparatus of the present invention;
FIG. 6 is a block diagram of an 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.
Aiming at the technical problem of low efficiency of obtaining personalized content by a user in the related technology, the embodiment of the invention provides a data processing scheme, which specifically comprises the following steps: determining input environmental characteristics; the input environment features may specifically include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics; and displaying the personalized content corresponding to the input environment characteristics.
In the embodiment of the invention, the personalized content may refer to comment content issued by a user for an object. Objects may include, but are not limited to: video, audio, merchandise, micro-blogs, posts, etc.
The embodiment of the invention displays personalized contents corresponding to the input environmental characteristics to a user; wherein inputting the environmental characteristic may include: the input environment characteristics are related to the application environment or the interface content, so that the input environment characteristics can reflect the input requirements of the user on the personalized content to a certain extent, the personalized content corresponding to the input environment characteristics is displayed in the embodiment of the invention, the personalized content meeting the input requirements can be provided for the user, the operation cost of the user can be saved, and the acquisition efficiency of the user on the personalized content is improved.
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, an instant messaging program and the like.
The input method refers to a coding method adopted for inputting various characters into a computer or other equipment (such as a mobile phone and a tablet computer). The input Interface is a UI (User Interface) that is a medium for interaction and information exchange between the system and the User.
The embodiment of the present invention may be applied to an input method program of an input mode such as keyboard symbol input, handwriting input, voice input, etc., and for convenience of description, the embodiment of the present invention refers to a code character string input by a user in the input mode as an input string. In the field of input methods, for input method programs in, for example, chinese, japanese, korean, or other languages, an input string input by a user may be generally converted into a candidate for a corresponding language. The input process of the embodiment of the invention is mainly explained by taking Chinese as an example, and other languages can be referred to each other. It is to be understood that the above-mentioned chinese input methods may include, but are not limited to, full pinyin, simple pinyin, strokes, five strokes, etc., and the embodiment of the present invention is not limited to a specific input method program corresponding to a certain language.
According to some embodiments, the input string may include, but is not limited to: a key symbol or a combination of a plurality of key symbols input by a user through a key. The key symbol may specifically include: pinyin, strokes, kana, etc.
The embodiment of the invention can respond to the starting operation and start the input method program in any application scene. Alternatively, the call-up operation may be a trigger operation for an input window or the like. The input window may include: an input window for an office scenario, or an input box for an instant messaging scenario, etc. For example, if a click operation for an input box of an instant messaging scenario is received, an input method program is invoked.
Optionally, after the input method program is invoked, an input interface may be displayed, so that the user can input the input content through the input interface. The input interface may include a keyboard, which typically includes a plurality of keys. The above-mentioned key may include: character keys and function keys. The function keys may include: set up button, search button, enter button etc.. The character button may further include: alphabetic keys, numeric keys, symbolic keys, functional keys, and the like.
Method embodiment 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:
step 101, determining input environment characteristics; the input environment characteristics may include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
and 102, displaying personalized contents corresponding to the input environment characteristics.
The embodiment of the method shown in fig. 1 may be executed by a client, and is configured to determine an input environment characteristic and provide personalized content corresponding to the input environment characteristic to a user. 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 features, and/or input box features, and/or interface content features.
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.
The input box may be used to make content inputs, and the types of input content may include, but are not limited to: characters, or pictures, or audio and video, etc.
The embodiment of the invention can provide the following technical scheme for determining the characteristics of the input box:
according to the technical scheme A1, input box category characteristics are determined according to state information of trigger keys in a keyboard; and/or
Technical solution a2, determining the character of the input box document according to the prompt content in the input box.
In technical solution a1, a trigger button in the keyboard is used to trigger a function corresponding to the input box. The corresponding functions of the input box can comprise: a search function, a send function, a linefeed function, etc.
In practical applications, the state information of the triggering key in the keyboard is usually different for different input boxes. Therefore, the embodiment of the invention can determine the input box type characteristics according to the state information of the trigger keys in the keyboard. For example, in the case where the state information is search state information, the input box category feature is determined to be a search. For another example, in the case where the status information is the transmission status information, the input box category feature is determined to be instant messaging. For another example, in the case where the status information is line feed status information, the input box category feature is determined to be office or the like.
The embodiment of the invention does not limit the acquisition mode of the state information of the trigger key in the keyboard. Optionally, the state information of the trigger key in the keyboard may be determined according to field information of the trigger key in the keyboard provided by the operating system.
In solution a2, the prompt content in the input box may include: and prompting content provided by the application program, wherein the prompting content can be used for guiding the user to input the content in the input box. For example, the prompt content in the bullet screen type input box may include: "barrage moves one wave", etc.
The bullet screen refers to a phenomenon that a large amount of comments presented in a subtitle form are on the same picture as a video when the video is watched. A large amount of comments which fly on a video picture are similar to dense cannonballs, so that a bullet screen is obtained. The barrage can be displayed on a video picture in real time along with the playing of the video, so that a viewer can see other viewers and comments of the viewer on the currently played video content through the barrage when watching the video.
According to the technical scheme A2 of the embodiment of the invention, the characteristics of the input box file are determined according to the prompt content in the input box. The embodiment of the invention can collect the prompt content corresponding to the input box file characteristic in advance, thereby establishing the mapping relation between the prompt content and the input box file characteristic, recording the mapping relation as the first mapping relation, and searching the first mapping relation according to the prompt content to obtain the input box file characteristic. The input box document features may include: bullet screen features, commodity comment features, microblog comment features, and the like.
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 merchandise rating interface may include: and the interface content features are determined to be commodity comment features according to the related texts of evaluation and sharing.
In practical applications, one input environment feature or a plurality of input environment features may be employed. For example, application environment features and input box features, or input box features and interface content features, or application environment features, input box features, interface content features, and the like may be employed.
In the embodiment of the present invention, the application environment feature may be an application category feature or an application name feature. For example, application name features may include: love art, you and cool, Taobao, and Tiger teeth direct seeding.
In this embodiment of the present invention, the input box category characteristics may include: comment boxes, bullet screen boxes, baby comment boxes, search boxes and the like.
In step 102, personalized content corresponding to the input environment features may be displayed, so as to save the efficiency of obtaining personalized content by the user.
The embodiment of the invention can provide the following technical scheme for determining the personalized content corresponding to the input environment characteristics:
technical solution B1, matching the input environment feature with a content tag corresponding to personalized content to obtain personalized content corresponding to the input environment feature; or
Technical solution B2, determining an input requirement characteristic according to the input environment characteristic, and matching the input requirement characteristic with a content tag corresponding to personalized content to obtain personalized content corresponding to the input environment characteristic; or
Technical solution B3, according to the input environment characteristics, searching is performed in the mapping relationship between the input environment characteristics and the personalized content to obtain the personalized content corresponding to the input environment characteristics.
According to the technical scheme B1, a content tag corresponding to personalized content can be set according to the input environment characteristics; in this way, the input environmental characteristics and the content tags corresponding to the personalized content can be matched to obtain the personalized content corresponding to the input environmental characteristics.
In the embodiment of the present invention, optionally, the personalized content may be obtained according to an interface provided by a content provider. The content tag corresponding to the personalized content may be provided by a content provider, or the content tag corresponding to the personalized content may be determined by machine tagging or manual tagging.
In practical application, the mapping relationship between the content tag and the personalized content can be searched according to the input environment characteristics, so as to obtain the personalized content corresponding to the input environment characteristics.
For example, inputting the personalized content corresponding to the environmental feature "barrage feature" may include: the input contents of 'airborne success', 'unscientific', 'licking screen' and the like.
For another example, inputting the personalized content corresponding to the environmental characteristic "commodity review characteristic" may include: the input contents of 'particularly satisfying and good comment is required to be good', 'the price is substantial, and the feeling is earned', etc.
Technical solution B2 may first determine the input requirement characteristics according to the input environment characteristics, and then match the input requirement characteristics with the content tags corresponding to the personalized content, so as to obtain the personalized content corresponding to the input environment characteristics.
Taking the application program environment characteristic and the input box characteristic as an example, assuming that the input box characteristic is a bullet screen characteristic, and if the application program environment characteristic is a video characteristic, inputting the demand characteristic as a video bullet screen characteristic; or, if the input box characteristic is a live broadcast characteristic, the input demand characteristic is a live broadcast bullet screen characteristic; or, assuming that the input box feature is a comment feature, if the application program environment feature is a video feature, the input requirement feature is a video comment feature.
Of course, the embodiment of the present invention may obtain the input requirement characteristic according to an input environment characteristic. For example, the input requirement characteristics corresponding to the application environment characteristic "video characteristics" may include: a video bullet screen feature or a video comment feature. For another example, the input requirement characteristics corresponding to the input box category characteristic "bullet screen characteristic" may include: video barrage features or live barrage features, etc.
In the technical means B3, the input content and the input environment feature of the user can be recorded via the input method program, so that the mapping relationship between the input environment feature and the personalized content can be stored. Optionally, the input frequency information corresponding to the input content may be recorded, so that, under the condition that the input environment features correspond to a plurality of personalized contents, the plurality of personalized information may be sorted according to the input frequency information, so as to provide personalized contents with higher use frequency to the user.
Referring to fig. 2, a flowchart illustrating steps of a data processing method according to the present invention may specifically include:
step 201, determining input environment characteristics; the input environment characteristics may include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
step 202, receiving input contents of a user under the input environment characteristics;
step 203, storing the mapping relationship between the input environment characteristics and the personalized content according to the input content of the user under the input environment characteristics.
In practical applications, the corresponding input content may be recorded for a specific input environment feature, for example, the corresponding input content may be recorded for a pop-up feature or a comment feature. Alternatively, the corresponding input features may be recorded for any input environmental features.
In step 102, personalized content corresponding to the input environment features can be automatically displayed; or, the personalized content corresponding to the input environment feature may be displayed under the condition that the trigger condition is met.
One example of a trigger condition may be: and receiving the triggering operation of the user for the preset key. Correspondingly, the personalized content corresponding to the input environment characteristics can be displayed in response to the triggering operation of the user on the preset key.
Under the condition that the user has the input requirement of the personalized content, the query request can be generated by triggering the preset key, so that the input method program can provide the personalized content meeting the input requirement of the user for the user, and the operation cost of obtaining the personalized content by the user can be reduced.
The preset keys can be any keys in the keyboard. Optionally, the icon corresponding to the preset key may be an icon of an object, and the object may include: humans, virtual humans, animals, virtual animals, plants, virtual plants, and the like. For example, the object may be a virtual animal such as a virtual cat or a virtual dog. The icon of the preset key is an object such as a virtual animal, so that the attraction and participation of the preset key to the user can be improved, and the accuracy of the operation of the preset key can be improved on the basis.
In step 102, under the condition that the input environmental characteristics correspond to a plurality of personalized contents, the plurality of personalized information are sequenced according to the use frequency information, so as to provide personalized contents with higher use frequency for the user. Optionally, step 102 may present one or more items of personalized content that are most frequently used.
For example, in the case where a user activates a keyboard in a bullet screen input frame environment of a gel beep APP (Application), embodiments of the present invention may determine that an input environment characteristic is: the beep li APP and the bullet screen frame predict that the user has the requirement of inputting the bullet screen; therefore, under the condition that the user clicks the preset key, personalized contents such as 'airborne success', 'unscientific', 'screen licking' and the like are recommended to the user.
For another example, in the case that the user activates the keyboard in the commodity evaluation input frame environment of the e-commerce APP, the embodiment of the present invention may determine that the input environment characteristics are as follows: e-commerce and comment boxes for predicting the demand of the user for inputting commodity evaluation; therefore, under the condition that the user clicks the preset key, personalized contents such as 'particularly satisfactory, good comment which must be good', 'price is substantial, and feeling of earning' are recommended to the user.
To sum up, the data processing method of the embodiment of the invention displays personalized contents corresponding to the input environmental characteristics to the user; wherein inputting the environmental characteristic may include: the input environment characteristics are related to the application environment or the interface content, so that the input environment characteristics can reflect the input requirements of the user on the personalized content to a certain extent, the personalized content corresponding to the input environment characteristics is displayed in the embodiment of the invention, the personalized content meeting the input requirements can be provided for the user, the operation cost of the user can be saved, and the acquisition efficiency of the user on the personalized content is improved.
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:
step 301, determining input environment characteristics; the input environment characteristics may include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
step 302, displaying personalized contents corresponding to the input environment characteristics;
with respect to the first embodiment of the method shown in fig. 1, the method of this embodiment may further include:
and 303, responding to the triggering operation of the user for the preset key, and switching the personalized content corresponding to the input environment characteristics.
Under the condition that the user is not satisfied with the displayed personalized content, the personalized content can be switched through the preset key, so that the switching efficiency of the personalized content can be improved.
Method embodiment three
Referring to fig. 4, a flowchart illustrating a third step of the data processing method according to the third embodiment of the present invention is shown, which may specifically include:
step 401, determining input environment characteristics; the input environment characteristics may include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
step 402, displaying personalized contents corresponding to the input environment characteristics;
with respect to the first embodiment of the method shown in fig. 1, the method of this embodiment may further include:
and 403, responding to the triggering operation of the user for the personalized content, and displaying or sending the personalized content corresponding to the triggering operation.
In the embodiment of the invention, if the triggering operation of the user aiming at any personalized content is received, the personalized content can be displayed on a screen or sent. Wherein the screen-up can output the personalized content into the input box. Sending may send the personalized content to the correspondent, for example, sending the personalized content clicked by the user to the correspondent in an instant messaging window.
The embodiment of the invention responds to the triggering operation of the user aiming at the personalized content, and screens or sends the personalized content corresponding to the triggering operation, so that the input efficiency or the sending efficiency of the personalized content can be improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of motion combinations, but those skilled in the art should understand that the present invention is not limited by the described motion sequences, because some steps may be performed in other sequences or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no moving act is required as an embodiment of the invention.
Device embodiment
Referring to fig. 5, a block diagram of a data processing apparatus according to an embodiment of the present invention is shown, which may specifically include:
an input environment determination module 501, configured to determine input environment characteristics; the input environmental characteristics may include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
a personalized content display module 502, configured to display personalized content corresponding to the input environment feature.
Alternatively, the input environment determination module 501 may include:
the first input environment determining module is used for determining input frame category characteristics according to state information of trigger keys in the keyboard; and/or
The second input environment determining module is used for determining the file characteristics of the input box according to the prompt content in the input box; and/or
And the third input environment determining module is used for determining the content characteristics of the interface according to the screen image of the interface.
Optionally, the interface content features may include: interface text features, which may include: an interface title feature, and/or an interface text feature.
Optionally, the personalized content presentation module 502 may include:
and the trigger display module is used for responding to the trigger operation of the user for the preset key to display the personalized content corresponding to the input environment characteristics.
Optionally, the apparatus may further include:
the first personalized content determining module is used for matching the input environment characteristics with content tags corresponding to personalized content to obtain personalized content corresponding to the input environment characteristics; or
The second personalized content determining module is used for determining input requirement characteristics according to the input environment characteristics and matching the input requirement characteristics with content labels corresponding to personalized contents to obtain personalized contents corresponding to the input environment characteristics; or
And the third personalized content determining module is used for searching in the mapping relation between the input environment characteristics and the personalized content according to the input environment characteristics so as to obtain the personalized content corresponding to the input environment characteristics.
Optionally, the apparatus may further include:
the receiving module is used for receiving the input content of the user under the input environmental characteristics;
and the storage module is used for storing the mapping relation between the input environment characteristics and the personalized content according to the input content of the user under the input environment characteristics.
Optionally, the apparatus may further include:
and the switching module is used for responding to the triggering operation of the user for the preset key to switch the personalized content corresponding to the input environment characteristic.
Optionally, the apparatus may further include:
and the screen-on sending module is used for responding to the triggering operation of the user aiming at the personalized content and carrying out screen-on or sending on the personalized content corresponding to the triggering operation.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present invention also provides an apparatus for data processing, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include instructions for: determining input environmental characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics; and displaying the personalized content corresponding to the input environment characteristics.
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: determining input environmental characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics; and displaying the personalized content corresponding to the input environment characteristics.
The embodiment of the invention discloses A1 and a data processing method, which comprises the following steps:
determining input environmental characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
and displaying the personalized content corresponding to the input environment characteristics.
A2, the determining input environmental characteristics according to the method of A1, comprising:
determining input frame category characteristics according to state information of trigger keys in a keyboard; and/or
Determining the character and pattern characteristics of the input box according to the prompt content in the input box; and/or
And determining the content characteristics of the interface according to the screen image of the interface.
A3, the method of A1 or A2, the interface content features comprising: interface text features, the interface text features comprising: an interface title feature, and/or an interface text feature.
A4, according to the method in A1, the displaying the personalized content corresponding to the input environment features comprises:
and displaying personalized content corresponding to the input environment characteristics in response to the triggering operation of the user on the preset key.
A5, the method of A1, the method further comprising:
matching the input environment characteristics with content tags corresponding to personalized contents to obtain personalized contents corresponding to the input environment characteristics; or
Determining input requirement characteristics according to the input environment characteristics, and matching the input requirement characteristics with content tags corresponding to personalized contents to obtain personalized contents corresponding to the input environment characteristics; or
And searching in the mapping relation between the input environment characteristics and the personalized contents according to the input environment characteristics to obtain the personalized contents corresponding to the input environment characteristics.
A6, the method of A5, the method further comprising:
receiving input content of a user under the input environmental characteristics;
and storing the mapping relation between the input environment characteristics and the personalized content according to the input content of the user under the input environment characteristics.
A7, the method of A1, the method further comprising:
and responding to the triggering operation of the user for the preset key, and switching the personalized content corresponding to the input environment characteristic.
A8, the method of A1, the method further comprising:
responding to the triggering operation of the user aiming at the personalized content, and displaying or sending the personalized content corresponding to the triggering operation.
The embodiment of the invention discloses B9 and a data processing device, wherein the device comprises:
the input environment determining module is used for determining input environment characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
and the personalized content display module is used for displaying the personalized content corresponding to the input environment characteristics.
B10, the apparatus of B9, the input environment determination module comprising:
the first input environment determining module is used for determining input frame category characteristics according to state information of trigger keys in the keyboard; and/or
The second input environment determining module is used for determining the file characteristics of the input box according to the prompt content in the input box; and/or
And the third input environment determining module is used for determining the content characteristics of the interface according to the screen image of the interface.
B11, the apparatus of B9 or B10, the interface content features comprising: interface text features, the interface text features comprising: an interface title feature, and/or an interface text feature.
B12, the device of B9, the personalized content presentation module comprising:
and the trigger display module is used for responding to the trigger operation of the user for the preset key to display the personalized content corresponding to the input environment characteristic.
B13, the apparatus of B9, the apparatus further comprising:
the first personalized content determining module is used for matching the input environment characteristics with content tags corresponding to personalized content to obtain personalized content corresponding to the input environment characteristics; or
The second personalized content determining module is used for determining input requirement characteristics according to the input environment characteristics and matching the input requirement characteristics with content labels corresponding to personalized contents to obtain personalized contents corresponding to the input environment characteristics; or
And the third personalized content determining module is used for searching in the mapping relation between the input environment characteristics and the personalized content according to the input environment characteristics so as to obtain the personalized content corresponding to the input environment characteristics.
B14, the apparatus of B9, the apparatus further comprising:
the receiving module is used for receiving input contents of a user under the input environmental characteristics;
and the storage module is used for storing the mapping relation between the input environmental characteristics and the personalized content according to the input content of the user under the input environmental characteristics.
B15, the apparatus of B9, the apparatus further comprising:
and the switching module is used for responding to the triggering operation of the user for the preset key to switch the personalized content corresponding to the input environment characteristic.
B16, the apparatus of B9, the apparatus further comprising:
and the screen-on sending module is used for responding to the triggering operation of the user aiming at the personalized content and carrying out screen-on or sending on the personalized content corresponding to the triggering operation.
The embodiment of the invention discloses C17, 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:
determining input environmental characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
and displaying the personalized content corresponding to the input environment characteristics.
C18, the apparatus according to C17, wherein the determining the input environmental characteristics comprises:
determining input frame category characteristics according to state information of trigger keys in a keyboard; and/or
Determining the character and pattern characteristics of the input box according to the prompt content in the input box; and/or
And determining the content characteristics of the interface according to the screen image of the interface.
C19, the apparatus according to C17 or C18, wherein the interface content features include: interface text features, the interface text features comprising: an interface title feature, and/or an interface text feature.
C20, the apparatus according to C17, wherein the displaying of the personalized content corresponding to the input environment features comprises:
and displaying personalized content corresponding to the input environment characteristics in response to the triggering operation of the user on the preset key.
C21, the device of C17, wherein the device is also configured to execute the one or more programs by one or more processors including instructions for:
matching the input environment characteristics with content tags corresponding to personalized contents to obtain personalized contents corresponding to the input environment characteristics; or
Determining input requirement characteristics according to the input environment characteristics, and matching the input requirement characteristics with content tags corresponding to personalized contents to obtain personalized contents corresponding to the input environment characteristics; or
And searching in the mapping relation between the input environment characteristics and the personalized contents according to the input environment characteristics to obtain the personalized contents corresponding to the input environment characteristics.
C22, the device of C21, wherein the device is also configured to execute the one or more programs by one or more processors including instructions for:
receiving input content of a user under the input environmental characteristics;
and storing the mapping relation between the input environment characteristics and the personalized content according to the input content of the user under the input environment characteristics.
C23, the device of C17, wherein the device is also configured to execute the one or more programs by one or more processors including instructions for:
and responding to the triggering operation of the user for the preset key, and switching the personalized content corresponding to the input environment characteristic.
C24, the device of C17, wherein the device is also configured to execute the one or more programs by one or more processors including instructions for:
responding to the triggering operation of the user aiming at the personalized content, and displaying or sending the personalized content corresponding to the triggering operation.
Embodiments of the present invention disclose D25, 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 8.
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:
determining input environmental characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
and displaying the personalized content corresponding to the input environment characteristics.
2. The method of claim 1, wherein determining the input environmental characteristic comprises:
determining input frame category characteristics according to state information of trigger keys in a keyboard; and/or
Determining the character and pattern characteristics of the input box according to the prompt content in the input box; and/or
And determining the content characteristics of the interface according to the screen image of the interface.
3. The method of claim 1 or 2, wherein the interface content features comprise: interface text features, the interface text features comprising: an interface title feature, and/or an interface text feature.
4. The method of claim 1, wherein the presenting of the personalized content corresponding to the input environment feature comprises:
and displaying personalized content corresponding to the input environment characteristics in response to the triggering operation of the user on the preset key.
5. The method of claim 1, further comprising:
matching the input environment characteristics with content tags corresponding to personalized contents to obtain personalized contents corresponding to the input environment characteristics; or
Determining input requirement characteristics according to the input environment characteristics, and matching the input requirement characteristics with content tags corresponding to personalized contents to obtain personalized contents corresponding to the input environment characteristics; or
And searching in the mapping relation between the input environment characteristics and the personalized contents according to the input environment characteristics to obtain the personalized contents corresponding to the input environment characteristics.
6. The method of claim 5, further comprising:
receiving input content of a user under the input environmental characteristics;
and storing the mapping relation between the input environment characteristics and the personalized content according to the input content of the user under the input environment characteristics.
7. The method of claim 1, further comprising:
and responding to the triggering operation of the user for the preset key, and switching the personalized content corresponding to the input environment characteristic.
8. A data processing apparatus, characterized in that the apparatus comprises:
the input environment determining module is used for determining input environment characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
and the personalized content display module is used for displaying the personalized content corresponding to the input environment characteristics.
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:
determining input environmental characteristics; the input environmental characteristics include: application environment characteristics, and/or input box characteristics, and/or interface content characteristics;
and displaying the personalized content corresponding to the input environment characteristics.
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.
CN201911122659.3A 2019-11-15 2019-11-15 Data processing method, device and medium Pending CN112818211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911122659.3A CN112818211A (en) 2019-11-15 2019-11-15 Data processing method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911122659.3A CN112818211A (en) 2019-11-15 2019-11-15 Data processing method, device and medium

Publications (1)

Publication Number Publication Date
CN112818211A true CN112818211A (en) 2021-05-18

Family

ID=75852026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911122659.3A Pending CN112818211A (en) 2019-11-15 2019-11-15 Data processing method, device and medium

Country Status (1)

Country Link
CN (1) CN112818211A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646022A (en) * 2012-04-10 2012-08-22 北京搜狗科技发展有限公司 Method and device for obtaining candidate
CN108733226A (en) * 2017-04-13 2018-11-02 北京搜狗科技发展有限公司 A kind of method and device of information recommendation
US20180336265A1 (en) * 2015-12-02 2018-11-22 Beijing Sogou Technology Development Co., Ltd. A recommendation method and device, a device for formulating recommendations
CN109521888A (en) * 2017-09-19 2019-03-26 北京搜狗科技发展有限公司 A kind of input method, device and medium
CN109783244A (en) * 2017-11-10 2019-05-21 北京搜狗科技发展有限公司 Treating method and apparatus, the device for processing
CN110020106A (en) * 2017-09-08 2019-07-16 北京搜狗科技发展有限公司 A kind of recommended method, recommendation apparatus and the device for recommendation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646022A (en) * 2012-04-10 2012-08-22 北京搜狗科技发展有限公司 Method and device for obtaining candidate
US20180336265A1 (en) * 2015-12-02 2018-11-22 Beijing Sogou Technology Development Co., Ltd. A recommendation method and device, a device for formulating recommendations
CN108733226A (en) * 2017-04-13 2018-11-02 北京搜狗科技发展有限公司 A kind of method and device of information recommendation
CN110020106A (en) * 2017-09-08 2019-07-16 北京搜狗科技发展有限公司 A kind of recommended method, recommendation apparatus and the device for recommendation
CN109521888A (en) * 2017-09-19 2019-03-26 北京搜狗科技发展有限公司 A kind of input method, device and medium
CN109783244A (en) * 2017-11-10 2019-05-21 北京搜狗科技发展有限公司 Treating method and apparatus, the device for processing

Similar Documents

Publication Publication Date Title
CN107153541B (en) Browsing interaction processing method and device
CN106775202B (en) Information transmission method and device
CN110391966B (en) Message processing method and device and message processing device
CN110598098A (en) Information recommendation method and device and information recommendation device
CN111382339A (en) Search processing method and device and search processing device
CN110309324B (en) Searching method and related device
CN109783244B (en) Processing method and device for processing
CN107784037B (en) Information processing method and device, and device for information processing
CN108073291B (en) Input method and device and input device
CN110020082B (en) Searching method and device
CN110020335B (en) Favorite processing method and device
CN112667852B (en) Video-based searching method and device, electronic equipment and storage medium
CN111382367B (en) Search result ordering method and device
CN112667124A (en) Information processing method and device and information processing device
CN109976549B (en) Data processing method, device and machine readable medium
CN112818211A (en) Data processing method, device and medium
CN110147426B (en) Method for determining classification label of query text and related device
CN113221030A (en) Recommendation method, device and medium
CN112181228A (en) Display method and device for displaying
CN112905079B (en) Data processing method, device and medium
CN110851624A (en) Information query method and related device
CN107145314B (en) Display processing method and device for display processing
CN109388328B (en) Input method, device and medium
CN110929122A (en) Data processing method and device and data processing device
CN111736752B (en) Content recommendation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination