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

Data processing method and device and data processing device Download PDF

Info

Publication number
CN110866153A
CN110866153A CN201810911931.5A CN201810911931A CN110866153A CN 110866153 A CN110866153 A CN 110866153A CN 201810911931 A CN201810911931 A CN 201810911931A CN 110866153 A CN110866153 A CN 110866153A
Authority
CN
China
Prior art keywords
data
user
target
browser
target data
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
CN201810911931.5A
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 CN201810911931.5A priority Critical patent/CN110866153A/en
Publication of CN110866153A publication Critical patent/CN110866153A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a data processing method and device and a device for data processing. The method specifically comprises the following steps: receiving a character string of a user; determining a target intention of the character string for browser data; determining target data corresponding to the target intention from browser data of the user; and displaying the target data. The embodiment of the invention can simplify the process of accessing the collected network data by the user and improve the access efficiency.

Description

Data processing method and device and data processing device
Technical Field
The present invention relates to the field of network technologies, and in particular, to a data processing method and apparatus, and an apparatus for data processing.
Background
With the rapid development of network technology, the amount of network data increases dramatically, and users usually spend a lot of time looking up the required network data.
At present, a browser is usually provided with a favorite, a user can log in a browser account in the process of browsing a webpage by using the browser, and a website of a commonly used webpage is added into the favorite of the browser account, so that the commonly used webpage can be quickly accessed through the favorite in the following process, and further the searching time can be saved.
However, a user typically needs to first log into a browser account through a browser and then look up the favorite network data in the browser account's favorites. It can be seen that the process of accessing the favorites by the user is complicated, which results in low efficiency of accessing the favorites. In addition, if the user replaces the device, the browser needs to be downloaded and installed again in a new device, which causes inconvenience to the user.
Disclosure of Invention
Embodiments of the present invention provide a data processing method and apparatus, and an apparatus for data processing, which can simplify a process of a user accessing collected network data, and improve access efficiency.
In order to solve the above problem, an embodiment of the present invention discloses a data processing method, which is applied to a non-browser program, and includes:
receiving a character string of a user;
determining a target intention of the character string for browser data;
determining target data corresponding to the target intention from browser data of the user;
and displaying the target data.
On the other hand, the embodiment of the invention discloses a data processing device, which is applied to a non-browser program and comprises the following components:
the receiving module is used for receiving a character string of a user;
a first determination module for determining a target intention of the character string for browser data;
a second determining module, configured to determine, from browser data of the user, target data corresponding to the target intention;
and the first display module is used for displaying the target data.
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:
receiving a character string of a user;
determining a target intention of the character string for browser data;
determining target data corresponding to the target intention from browser data of the user;
and displaying the target data.
In yet another aspect, an embodiment of the invention discloses a machine-readable medium having stored thereon instructions, which, when executed by one or more processors, cause an apparatus to perform a data processing method as described in one or more of the preceding.
The embodiment of the invention has the following advantages:
the data processing method provided by the embodiment of the invention is applied to a non-browser program, when the non-browser program receives a character string input by a user, the target intention of the character string on browser data can be determined, the target data corresponding to the target intention is determined from the browser data of the user, and the target data, such as collected data in the browser data of the user, is displayed, so that the user can quickly access the network data collected by the user in the environment without a browser, and the access efficiency is improved.
For example, in the case that the user changes the device, even if the browser is not installed in the new device, the embodiment of the present invention can still enable the user to access the network data collected by the user, so that the convenience of the user in accessing the network data can be increased, and the user experience can be 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 the steps of one data processing method embodiment of the present invention;
FIG. 2 is a schematic diagram of an application environment of a data processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of displaying target data in a candidate display area of an input method program according to the present invention;
FIG. 4 is a flow chart of steps in another data processing method embodiment of the present invention;
FIG. 5 is a flow chart of steps in another data processing method embodiment of the present invention;
FIG. 6 is a block diagram of an embodiment of a data processing apparatus according to the present invention;
FIG. 7 is a block diagram of an apparatus 800 for data processing of the present invention; and
fig. 8 is a schematic diagram of a server in some embodiments of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Method embodiment
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a data processing method according to the present invention is shown, where the method may be applied to a non-browser program, and specifically may include the following steps:
step 101, receiving a character string of a user;
step 102, determining the target intention of the character string to the browser data;
step 103, determining target data corresponding to the target intention from browser data of the user;
and 104, displaying the target data.
The data processing method provided by the embodiment of the invention can be applied to non-browser programs, so that a user can quickly access the network data collected by the user in a browser-free environment, and the access efficiency is improved. The non-browser program may be any application program such as an input method program and a text editing program, and the specific type of the non-browser program is not limited in the embodiment of the present invention. For convenience of description, the embodiment of the present invention is described by taking an input method program as an example, and other non-browser programs may be referred to each other.
The data processing method provided by the embodiment of the present invention can be applied to the application environment shown in fig. 2, as shown in fig. 2, the client 100 and the server 200 are located in a wired or wireless network, and the client 100 and the server 200 perform data interaction through the wired or wireless network.
In an embodiment of the present invention, the client 100 may receive a character string of a user, and send the character string to the server 200, so that the server 200 may determine a target intention of the character string for browser data, determine target data corresponding to the target intention from the browser data of the user, and the server 200 returns the target data to the client 100, so that the client 100 presents the target data to the user.
Optionally, the client 100 may run on a terminal, which 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.
In practical applications, network data, such as favorite data, generated by a user using a browser is usually stored in a database of a browser server, and the network data of each user corresponds to a browser account of the user, so that, optionally, the network data that the user favorite in a favorite of the browser can be queried and obtained in the database of the browser server according to the browser account of the user.
The target intent may represent a user's intent for the desired browser data. For example, the target data that the user wants to acquire is data in a favorite, or historical search data, or the like, or which data in browser data, or the like.
In an alternative embodiment of the invention, the target intent may specifically include: a target type;
the target type may specifically include: the collection type, the target data may specifically include: collection data in the browser data; or
The target type may specifically include: the search type may specifically include: search data in the browser data; or
The target type may specifically include: a type of interest; the target data may specifically include: data of interest in the browser data.
According to the embodiment of the invention, the target type corresponding to the character string can be determined according to the character string input by the user. Specifically, a preset character string used for representing the target type may be set, and the character string input by the user is analyzed, and if the character string input by the user includes the preset character string, the target type corresponding to the character string of the user may be determined according to the target type corresponding to the preset character string.
The preset character string may specifically be a preset character combination, such as a combination of letters, numbers, words, symbols, and the like, for example, assuming that the preset character string whose target type is a collection type is set as "collection", if the character string received by the input method program and input by the user includes the preset character string "collection", it may be determined that the target data includes: favorite data in the user's browser data. The collection data may specifically include: and adding network data such as a website, a webpage name, a document name and the like in the favorite of the browser by the user.
For another example, the pinyin strings "shoucang" and "shouc" are respectively a full pinyin and a simple pinyin of "favorite", so that the pinyin strings "shoucang" and "shouc" may also be used as preset character strings corresponding to the favorite types, and if the input method program receives the pinyin string "shoucang" or "shouc" input by the user, the user may also be considered to want to obtain favorite data in the browser data of the user. It can be understood that the embodiment of the present invention does not limit the specific manner of setting the preset character string and the specific content of the preset character string.
Optionally, the embodiment of the present invention may also show the search data in the browser data to the user. Specifically, a preset character string indicating that the target type is a search type may be set, for example, the preset character string indicating that the target type is a search type may be set to "search", "souuuo", "sous", or the like, and if the character string input by the input method program received by the user includes the preset character strings "search", "souuuo", "sous", or the like, it may be determined that the target data includes: search data in the user's browser data. The search data may specifically include: historical search terms used by the user, historical search results obtained by the user through historical search term searching, and the like.
Optionally, the embodiment of the present invention may also show the user the data of interest in the browser data. The data of interest may specifically include: the contents of web pages, channels and the like which are concerned by the user in the forum; or the attention data can also comprise comment data, praise data and the like of the user. The embodiment of the present invention does not limit the specific content of the data of interest. Specifically, a preset character string indicating that the target type is the attention type may be set, for example, the preset character string indicating that the target type is the attention type may be set to "attention", "comment", "evaluation", "pingl", or the like, and if the character string input by the input method program received by the user includes the preset character strings "attention", "comment", "evaluation", "pingl", or the like, it may be determined that the target data includes: data of interest in the user's browser data.
It can be understood that the collection type, the search type, and the attention type are only examples of applications of the target type in the embodiment of the present invention, and actually, a person skilled in the art may flexibly set the target type according to needs, for example, the target type may also be set to be an account type, and then the target data may specifically include: personal account information in the user's browser data. Specifically, when receiving a character string input by a user and including a preset character string such as "account", the input method program may display account information corresponding to the browser account of the user, such as information of an account name, a nickname, a mail, or a history.
In an alternative embodiment of the invention, the target intent may include: searching for a keyword; the target data may include: and searching the browser data of the user according to the search keyword to obtain a search result.
In an embodiment of the present invention, the target intention may include: and searching keywords, wherein the character strings can be used as the searching keywords to search in browser data of the user to obtain a searching result.
The embodiment of the invention can play a better effect under the condition that the browser data of the user is huge, and can save the acquisition efficiency of the user on the required browser data. For example, if there are a large number of web pages in the user's favorite, for example, more than 100 web pages, the user can search in the browser data according to the character string, and the user can quickly return the required favorite data.
For example, if a user collects a lot of web pages related to a certain technology, the character string input by the user may be a keyword of the technology, such as "neural network translation", "language model", and the like, and the embodiment of the present invention may search in browser data of the user by using the character string as a search keyword, and return a search result to the user.
In an alternative embodiment of the invention, the browser data of the user may be determined by:
step S11, determining a browser account of the user according to the non-browser account of the user and the mapping relation between the non-browser account and the browser account of the user;
and step S12, determining browser data of the user according to the browser account of the user.
The browser data may specifically be network data generated when a user logs in a browser account, such as browsed web page information, collected network data, an input search term, generated focus data, and the like. Alternatively, the above browser data may be stored in a database of the browser server.
According to the embodiment of the invention, the browser account of the user can be determined according to the non-browser account of the user and the mapping relation between the non-browser account and the browser account of the user.
Taking the non-browser program as an input method program as an example, a mapping relationship between an input method program account of the user and a browser account can be established, and if the user logs in the account of the input method program in the process of using the input method program, the browser account information of the user can be acquired according to the mapping relationship, and then the collection data corresponding to the browser account can be obtained through inquiry according to the browser account of the user.
Of course, determining the browser account through the mapping relationship is only an optional embodiment, and in fact, an input interface of the browser account may be provided for the user to receive the browser account input by the user, and the like.
In an optional embodiment of the present invention, the character string may comprise: and the user sends the character string contained in the instant messaging message to the correspondent node.
In the embodiment of the present invention, the non-browser program may be any type of application program. For example, the non-browser program may specifically be: and (5) an instant messaging program. At present, the application of the instant messaging program is very wide, and the data processing method provided by the embodiment of the invention can also be applied to the instant messaging program, so that a user can more conveniently and quickly access favorite data or historical search data corresponding to a browser account of the user. The instant messaging program may specifically include an application program such as WeChat and QQ. Of course, the input method program is used as a hosted program, and can also be hosted in the environment of the instant messaging program to obtain the instant messaging message of the instant messaging program.
In an application example of the present invention, it is assumed that, during a chat process between a user a and a user B using an instant messaging program, the user a wants to recommend a certain web page of his collection to the user B, but the user a forgets a specific website of the web page, at this time, the user a may send an instant messaging message containing a preset character string to the user B, such as "recommend an i-collected web page to you", and the instant messaging program detects that the instant messaging message sent by the user a to an opposite end contains the preset character string "collection", and may obtain favorite data corresponding to a browser account of the user a and display the favorite data to the user a, so that the user a may quickly view favorite data corresponding to the browser account without opening a browser, and the user a may carry website information of the web page in a next message sent to the user B, therefore, the embodiment of the invention saves the time for the user A to open the browser for searching without interrupting the chatting process of the user A and the user B, and can improve the efficiency of the user for accessing the favorite data.
In step 103, the embodiment of the present invention does not limit the specific manner of displaying the target data and the specific position of the display.
In an optional embodiment of the present invention, the non-browser program may specifically include: the displaying of the target data may specifically include: and displaying the target data in a candidate item display area of the input method program.
The method and the device for displaying the target data can receive the character string input by the user through the input method program, the input method program determines the target intention of the character string on the browser data, the target data corresponding to the target intention is determined from the browser data of the user, and the target data is displayed in a candidate item display area of the input method program.
Referring to fig. 3, an illustration of presenting target data in a candidate presentation area of an input method program according to the present invention is shown. As shown in fig. 3, if the preset character string input by the user is "shoucangjia", the input method program displays the favorite data of the user in the candidate item display area, for example, the title of the web page in the favorite data may be: the four notebook computers, the world cup half-finals England Pair Croya, who is most likely to win, and the like can be selected. Because the frequency of using the input method program by the user is high, the input method program can display the favorite data or the historical search data required by the user in the candidate item display area under the condition of receiving the preset character string input by the user, so that the user can conveniently check the favorite data or the historical search data, and the efficiency of accessing the favorite data or the historical search data by the user can be improved.
In an optional embodiment of the present invention, the non-browser program may specifically include: the text editing program, which displays the target data, may specifically include: and displaying the target data in a text editing area corresponding to the preset character string.
The data processing method provided by the embodiment of the invention can also be applied to text editing programs, such as a notepad program, a Microsoft Office Word (Word processor of Microsoft corporation) program and the like. If the notebook program receives a preset character string input or pasted by a user in a text editing area, target data can be determined from browser data corresponding to a browser account of the user according to the type of the preset character string, and the target data is displayed in the text editing area corresponding to the preset character string input by the user.
Of course, in practical applications, the target data may be displayed in any area of the screen, and is not limited to the candidate display area or the text editing area.
Optionally, after presenting the target data, the user may also perform further operations on the target data. Referring to fig. 4, a flowchart illustrating steps of another embodiment of a data processing method according to the present invention is shown, where the method may be applied to a non-browser program, and specifically may include the following steps:
step 401, receiving a character string input by a user;
step 402, determining the target intention of the character string to the browser data;
step 403, determining target data corresponding to the target intention from browser data of the user;
step 404, displaying the target data;
step 405, responding to an operation instruction of the user for the target data, and executing corresponding operation on the target data.
In an optional embodiment of the present invention, the operation instruction may specifically be a view instruction, and the executing a corresponding operation on the target data may specifically include: loading a page corresponding to the website according to the website corresponding to the target data; or
The operation instruction may specifically be a delete instruction, and the executing the corresponding operation on the target data may specifically include: and deleting the target data selected by the user from a display area displaying the target data, wherein the target data in the display area does not comprise the selected target data in a preset time period.
In an application example of the present invention, assuming that the target type is a collection type, the input method program displays, in a candidate item display area, collection data corresponding to a browser account of the user, for example, the displayed collection data includes a web page name "easy news", if the user wants to view the web page, the user may trigger a view instruction by clicking the web page name, and the input method program responds to the view instruction of the user, and loads a page corresponding to the web page name "easy news" according to the web page name "easy news", that is, loads a main page of the "easy news".
In another application example of the present invention, it is assumed that the target type is a search type, the input method program displays, in the candidate item display area, search data corresponding to a browser account of the user, for example, the displayed search data includes a search word that the user used once is a "hit movie", the user can trigger a view instruction by clicking the search word, the input method program responds to the view instruction of the user, searches in the search engine by using the search word "hit movie", and loads the search result page.
Optionally, according to the embodiment of the present invention, in addition to checking the target data, the user may select target data that is not required to be displayed from a display area in which the target data is displayed and perform a deletion operation on the target data, so that the input method program deletes the target data selected by the user in the display area, and when a preset character string input by the user is received later by the input method program, the deleted target data is not displayed in the display area. Or, a preset time period may be set, for example, 3 days, and if the user executes the delete instruction on the selected target data, the input method program does not display the deleted target data in the display area within 3 days.
In order to prevent the user from deleting useful data by mistake, in the embodiment of the present invention, when the deletion instruction is executed, only the target data selected by the user is deleted from the display area, but the target data selected by the user is not deleted from the database, and the user can still see the deleted target data in the display area in the favorite of the browser, or the deleted target data can be continuously displayed in the display area after a preset time period is exceeded.
In an alternative embodiment of the present invention, the method may further comprise the steps of: and deleting the target data selected by the user from the browser data corresponding to the browser account of the user.
Optionally, when the user deletes the selected target data in the display area, a query message may be further sent to the user to query whether the user needs to permanently delete the selected target data, if a confirmation message returned by the user for the query message is received, the user may be considered to no longer need the data, and then the target data selected by the user may be deleted from the browser data corresponding to the browser account of the user, so that the user may delete the favorite data or the historical search data in the browser account without opening the browser.
In an application example of the present invention, after the target data is displayed, if a deletion instruction triggered by a user for the selected target data is received, the target data selected by the user may be deleted in the display area, and an inquiry message is further sent to the user to inquire whether the user needs to permanently delete the selected target data, and if a confirmation message returned by the user for the inquiry message is received, the target data selected by the user is also deleted from the browser data corresponding to the browser account of the user; and if a rejection message returned by the user for the inquiry message is received, the target data selected by the user is still reserved in the database.
Certainly, in practical application, the operation instruction may further include an operation instruction for addition, modification, and the like, and the input method program may add or modify the corresponding target data in the browser data corresponding to the browser account of the user in response to the operation instruction for addition, modification, and the like triggered by the user for the target data. Therefore, the user can add or modify the favorite data or the historical search data corresponding to the browser account of the user without opening the browser, and great convenience is brought to the user.
In the embodiment of the invention, besides showing the target data to the user, the input method program can also recommend the recommendation data related to the target data content to the user. Referring to fig. 5, a flowchart illustrating steps of another embodiment of a data processing method according to the present invention is shown, where the method may be applied to a non-browser program, and specifically may include the following steps:
step 501, receiving a character string input by a user;
step 502, determining the target intention of the character string on browser data;
step 503, determining target data corresponding to the target intention from the browser data of the user;
step 504, displaying the target data;
and 505, displaying recommendation data related to the content of the target data.
The embodiment of the invention can acquire the recommendation data related to the target data content and display the recommendation data to the user while displaying the target data to the user. For example, assuming that the target type is a search type, the input method program presents search data corresponding to a browser account of the user to the user, wherein the search data includes a historical search word "apple", and most users usually search for "mobile phones" when searching for "apple" because the contents of the search word "apple" and "mobile phones" are related, so that the search word "mobile phones" can be presented to the user as recommendation data to facilitate the selection of the user.
It can be understood that the embodiment of the present invention does not limit the specific content of the recommendation data, and the recommendation data may be data related to the content of the target data, such as text-related data, meaning-related data, and the like; or, if the target data is a favorite web page of the user or a browsed historical web page, the recommendation data may include: the similar web pages of the collected web pages or the similar web pages in the historical web pages and the like.
In an alternative embodiment of the present invention, the method may further comprise the steps of: and if the user does not select the recommended data or the user deletes the recommended data, the recommended data is not displayed to the user any more.
And if the user does not click the displayed recommended data or the user deletes the recommended data in the display area for displaying the recommended data, which indicates that the user is not interested in the recommended data, the recommended data is not displayed to the user any more.
To sum up, the data processing method of the embodiment of the present invention is applied to a non-browser program, and when the non-browser program receives a character string input by a user, the target intention of the character string with respect to browser data may be determined, target data corresponding to the target intention may be determined from the browser data of the user, and the target data, such as collected data in the browser data of the user, may be displayed, so that the user may quickly access network data collected by the user in an environment without a browser, and the access efficiency may be improved.
For example, in the case that the user changes the device, even if the browser is not installed in the new device, the embodiment of the present invention can still enable the user to access the network data collected by the user, so that the convenience of the user in accessing the network data can be increased, and the user experience can be improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Device embodiment
Referring to fig. 6, a block diagram of an embodiment of a data processing apparatus according to the present invention is shown, where the apparatus is applied to a non-browser program, and the apparatus may specifically include: a receiving module 601, a first determining module 602, a second determining module 603, and a first presenting module 604.
The receiving module 601 is configured to receive a character string of a user;
the first determination module 602 is configured to determine a target intention of the character string for browser data;
the second determining module 603 is configured to determine target data corresponding to the target intention from browser data of the user;
the first display module 604 is configured to display the target data.
Optionally, the target intent may specifically include: a target type;
the target type may specifically include: the collection type, the target data may specifically include: collection data in the browser data; or
The target type may specifically include: the search type may specifically include: search data in the browser data; or
The target type may specifically include: a type of interest; the target data may specifically include: data of interest in the browser data.
Optionally, the target intent may specifically include: searching for a keyword; the target data may specifically include: and searching the browser data of the user according to the search keyword to obtain a search result.
Optionally, the apparatus may further include:
and the operation module is used for responding to an operation instruction of the user aiming at the target data and executing corresponding operation on the target data.
Optionally, the operation instruction may be a viewing instruction, and the operation module may be configured to load a page corresponding to the website according to the website corresponding to the target data;
or
The operation instruction may specifically be a deletion instruction, and the operation module may specifically be configured to delete the target data selected by the user from a display area in which the target data is displayed, and within a preset time period, the target data in the display area does not include the selected target data.
Optionally, the character string may specifically include: and the user sends the character string contained in the instant messaging message to the correspondent node.
Optionally, the apparatus may further include:
and the second display module is used for displaying the recommended data related to the content of the target data.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present invention provides an apparatus for data processing, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include instructions for: receiving a preset character string of a user; determining a target intention of the character string for browser data; determining target data corresponding to the target intention from browser data of the user; and displaying the target data.
Fig. 7 is a block diagram illustrating an apparatus 800 for data processing in accordance with an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice data processing mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on radio frequency data processing (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 8 is a schematic diagram of a server in some embodiments of the invention. The server 1900, which may vary widely in configuration or performance, may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be provided in communication with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus (server or terminal), enable the apparatus to perform the data processing method shown in fig. 1 or fig. 2 or fig. 3 or fig. 4 or fig. 5.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus (server or terminal), enable the apparatus to perform a data processing method, the method comprising: receiving a character string of a user; determining a target intention of the character string for browser data; determining target data corresponding to the target intention from browser data of the user; and displaying the target data.
The embodiment of the invention discloses A1 and a data processing method, wherein the method is applied to a non-browser program and comprises the following steps:
receiving a character string of a user;
determining a target intention of the character string for browser data;
determining target data corresponding to the target intention from browser data of the user;
and displaying the target data.
A2, the method of claim A1, the target intent comprising: a target type;
the target types include: a collection type, the target data comprising: collection data in the browser data; or
The target types include: a search type, the target data comprising: search data in the browser data; or
The target types include: a type of interest; the target data includes: comment data in the browser data.
A3, the method of claim A1, the target intent comprising: searching for a keyword; the target data includes: and searching the browser data of the user according to the search keyword to obtain a search result.
A4, the method of claim A1, determining the user's browser data by:
determining a browser account of a user according to a non-browser account of the user and a mapping relation between the non-browser account of the user and the browser account;
and determining browser data of the user according to the browser account of the user.
A5, the method of claim a1, the method further comprising:
responding to an operation instruction of the user for the target data, and executing corresponding operation on the target data.
A6, the method of claim A5,
the operation instruction is a viewing instruction, and the corresponding operation is executed on the target data, including: loading a page corresponding to the website according to the website corresponding to the target data;
or
The operation instruction is a delete instruction, and the corresponding operation is executed on the target data, including: and deleting the target data selected by the user from a display area displaying the target data, wherein the target data in the display area does not comprise the selected target data in a preset time period.
A7, the method of claim a1, the string comprising: and the user sends the character string contained in the instant messaging message to the correspondent node.
A8, the method of claim a1, the method further comprising:
and displaying recommendation data related to the content of the target data.
The embodiment of the invention discloses B9 and a data processing device, wherein the device is applied to a non-browser program and comprises:
the receiving module is used for receiving a character string of a user;
a first determination module for determining a target intention of the character string for browser data;
a second determining module, configured to determine, from browser data of the user, target data corresponding to the target intention;
and the first display module is used for displaying the target data.
B10, the apparatus of claim B9, the target intent comprising: a target type;
the target types include: a collection type, the target data comprising: collection data in the browser data; or
The target types include: a search type, the target data comprising: search data in the browser data; or
The target types include: a type of interest; the target data includes: comment data in the browser data.
B11, the apparatus of claim B9, the target intent comprising: searching for a keyword; the target data includes: and searching the browser data of the user according to the search keyword to obtain a search result.
B12, the apparatus of claim B9, the apparatus further comprising a third determining module for determining browser data of the user, the third determining module comprising:
the first determining submodule is used for determining a browser account of a user according to a non-browser account of the user and a mapping relation between the non-browser account of the user and the browser account;
and the second determining submodule is used for determining the browser data of the user according to the browser account of the user.
B13, the apparatus of claim B9, the apparatus further comprising:
and the operation module is used for responding to an operation instruction of the user aiming at the target data and executing corresponding operation on the target data.
B14, the device of claim B13,
the operation instruction is a viewing instruction, and the operation module is used for loading a page corresponding to the website according to the website corresponding to the target data;
or
The operation instruction is a deletion instruction, the operation module is used for deleting the target data selected by the user from the display area displaying the target data, and in a preset time period, the target data in the display area does not include the selected target data.
B15, the apparatus of claim B9, the string comprising: and the user sends the character string contained in the instant messaging message to the correspondent node.
B16, the apparatus of claim B9, the apparatus further comprising:
and the second display module is used for displaying the recommended data related to the content of the target data.
The embodiment of the invention discloses C17, an apparatus for data processing, the apparatus is applied to a non-browser program, the apparatus comprises a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors comprise instructions for:
receiving a character string of a user;
determining a target intention of the character string for browser data;
determining target data corresponding to the target intention from browser data of the user;
and displaying the target data.
C18, the apparatus of claim C17, the target intent comprising: a target type;
the target types include: a collection type, the target data comprising: collection data in the browser data; or
The target types include: a search type, the target data comprising: search data in the browser data; or
The target types include: a type of interest; the target data includes: comment data in the browser data.
C19, the apparatus of claim C17, the target intent comprising: searching for a keyword; the target data includes: and searching the browser data of the user according to the search keyword to obtain a search result.
C20, the device of claim C17, the device also configured to execute the one or more programs by one or more processors including instructions for:
determining a browser account of a user according to a non-browser account of the user and a mapping relation between the non-browser account of the user and the browser account;
and determining browser data of the user according to the browser account of the user.
C21, the device of claim C17, the device also configured to execute the one or more programs by one or more processors including instructions for:
responding to an operation instruction of the user for the target data, and executing corresponding operation on the target data.
C22, the device of claim C21,
the operation instruction is a viewing instruction, and the corresponding operation is executed on the target data, including: loading a page corresponding to the website according to the website corresponding to the target data;
or
The operation instruction is a delete instruction, and the corresponding operation is executed on the target data, including: and deleting the target data selected by the user from a display area displaying the target data, wherein the target data in the display area does not comprise the selected target data in a preset time period.
C23, the apparatus of claim C17, the string comprising: and the user sends the character string contained in the instant messaging message to the correspondent node.
C24, the device of claim C17, the device also configured to execute the one or more programs by one or more processors including instructions for:
and displaying recommendation data related to the content of the target data.
The embodiment of the invention discloses D25, a machine readable medium with instructions stored thereon, which when executed by one or more processors, causes an apparatus to perform the data processing method described in one or more of A1-A8.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
The data processing method, the data processing apparatus and the apparatus for data processing provided by the present invention are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present invention, and the description of the above embodiments is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A data processing method applied to a non-browser program, the method comprising:
receiving a character string of a user;
determining a target intention of the character string for browser data;
determining target data corresponding to the target intention from browser data of the user;
and displaying the target data.
2. The method of claim 1, wherein the target intent comprises: a target type;
the target types include: a collection type, the target data comprising: collection data in the browser data; or
The target types include: a search type, the target data comprising: search data in the browser data; or
The target types include: a type of interest; the target data includes: data of interest in the browser data.
3. The method of claim 1, wherein the target intent comprises: searching for a keyword; the target data includes: and searching the browser data of the user according to the search keyword to obtain a search result.
4. The method of claim 1, wherein the user's browser data is determined by:
determining a browser account of a user according to a non-browser account of the user and a mapping relation between the non-browser account of the user and the browser account;
and determining browser data of the user according to the browser account of the user.
5. The method of claim 1, further comprising:
responding to an operation instruction of the user for the target data, and executing corresponding operation on the target data.
6. The method of claim 5,
the operation instruction is a viewing instruction, and the corresponding operation is executed on the target data, including: loading a page corresponding to the website according to the website corresponding to the target data;
or
The operation instruction is a delete instruction, and the corresponding operation is executed on the target data, including: and deleting the target data selected by the user from a display area displaying the target data, wherein the target data in the display area does not comprise the selected target data in a preset time period.
7. The method of claim 1, wherein the string comprises: and the user sends the character string contained in the instant messaging message to the correspondent node.
8. A data processing apparatus, wherein the apparatus is applied to a non-browser program, the apparatus comprising:
the receiving module is used for receiving a character string of a user;
a first determination module for determining a target intention of the character string for browser data;
a second determining module, configured to determine, from browser data of the user, target data corresponding to the target intention;
and the first display module is used for displaying the target data.
9. An apparatus for data processing, the apparatus being applied to a non-browser program, the apparatus 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 the one or more processors comprises instructions for:
receiving a character string of a user;
determining a target intention of the character string for browser data;
determining target data corresponding to the target intention from browser data of the user;
and displaying the target data.
10. A machine-readable medium having stored thereon instructions which, when executed by one or more processors, cause an apparatus to perform a data processing method as claimed in one or more of claims 1 to 7.
CN201810911931.5A 2018-08-10 2018-08-10 Data processing method and device and data processing device Pending CN110866153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810911931.5A CN110866153A (en) 2018-08-10 2018-08-10 Data processing method and device and data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810911931.5A CN110866153A (en) 2018-08-10 2018-08-10 Data processing method and device and data processing device

Publications (1)

Publication Number Publication Date
CN110866153A true CN110866153A (en) 2020-03-06

Family

ID=69650932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810911931.5A Pending CN110866153A (en) 2018-08-10 2018-08-10 Data processing method and device and data processing device

Country Status (1)

Country Link
CN (1) CN110866153A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799585A (en) * 2011-05-24 2012-11-28 腾讯科技(深圳)有限公司 Website address sharing method and device based on input system
CN102982117A (en) * 2012-11-09 2013-03-20 北京奇虎科技有限公司 Information search method and device
CN103995830A (en) * 2014-04-17 2014-08-20 广东明创软件科技有限公司 Method and mobile terminal for fast switching application program based on input method
CN105308590A (en) * 2013-05-29 2016-02-03 微软技术许可有限责任公司 Centralized management of link data for multiple applications, computers and resources, through operating systems and networked storage services
CN107622074A (en) * 2016-07-15 2018-01-23 北京搜狗科技发展有限公司 A kind of data processing method, device and computing device
CN107943398A (en) * 2017-11-28 2018-04-20 珠海格力电器股份有限公司 A kind of information acquisition method and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799585A (en) * 2011-05-24 2012-11-28 腾讯科技(深圳)有限公司 Website address sharing method and device based on input system
CN102982117A (en) * 2012-11-09 2013-03-20 北京奇虎科技有限公司 Information search method and device
CN105308590A (en) * 2013-05-29 2016-02-03 微软技术许可有限责任公司 Centralized management of link data for multiple applications, computers and resources, through operating systems and networked storage services
CN103995830A (en) * 2014-04-17 2014-08-20 广东明创软件科技有限公司 Method and mobile terminal for fast switching application program based on input method
CN107622074A (en) * 2016-07-15 2018-01-23 北京搜狗科技发展有限公司 A kind of data processing method, device and computing device
CN107943398A (en) * 2017-11-28 2018-04-20 珠海格力电器股份有限公司 A kind of information acquisition method and equipment

Similar Documents

Publication Publication Date Title
CN107153541B (en) Browsing interaction processing method and device
CN110391966B (en) Message processing method and device and message processing device
CN108073606B (en) News recommendation method and device for news recommendation
CN111382339B (en) Search processing method and device for search processing
CN106815291B (en) Search result item display method and device and search result item display device
CN112784142A (en) Information recommendation method and device
CN109783244B (en) Processing method and device for processing
CN109521888B (en) Input method, device and medium
WO2022088731A1 (en) Data processing method and device
CN107784037B (en) Information processing method and device, and device for information processing
CN112667124A (en) Information processing method and device and information processing device
CN107239462B (en) Searching method and device and browser
CN110020082B (en) Searching method and device
CN109992790B (en) Data processing method and device for data processing
CN108205534B (en) Skin resource display method and device and electronic equipment
CN110020206B (en) Search result ordering method and device
CN110866153A (en) Data processing method and device and data processing device
CN109271615B (en) Entry processing method, apparatus and machine readable medium
CN112015281A (en) Cloud association method and related device
CN111736752B (en) Content recommendation method and device
CN113221030A (en) Recommendation method, device and medium
CN112905023A (en) Input error correction method and device for input error correction
CN111880697B (en) Encyclopedic data processing method and device
CN111880696B (en) Encyclopedic-based data processing method and device
CN112905079B (en) Data 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